@dskripchenko/ui 1.16.0 → 1.17.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
@@ -284,6 +284,11 @@ var ne = [
284
284
  slide: (e) => `Slide ${e}`
285
285
  },
286
286
  stepper: { label: (e, t) => `Steps (current: ${e} of ${t})` },
287
+ board: {
288
+ label: "Board",
289
+ empty: "Empty",
290
+ wipExceeded: "Work-in-progress limit exceeded"
291
+ },
287
292
  transfer: {
288
293
  available: "Available",
289
294
  selected: "Selected",
@@ -10875,35 +10880,209 @@ var vd = ["aria-label"], yd = [
10875
10880
  }, null, 10, Rp))), 128))])) : s("", !0)
10876
10881
  ], 34));
10877
10882
  }
10878
- }), Bp = { class: "uid-transfer__panel" }, Vp = { class: "uid-transfer__header" }, Hp = { class: "uid-transfer__title" }, Up = ["aria-checked"], Wp = { class: "uid-transfer__count" }, Gp = {
10883
+ }), Bp = ["aria-label", "aria-busy"], Vp = {
10884
+ key: 0,
10885
+ class: "uid-board__lane-title"
10886
+ }, Hp = { class: "uid-board__columns" }, Up = [
10887
+ "aria-label",
10888
+ "onDragover",
10889
+ "onDrop"
10890
+ ], Wp = {
10891
+ key: 0,
10892
+ class: "uid-board__header"
10893
+ }, Gp = { class: "uid-board__title" }, Kp = ["title"], qp = {
10894
+ class: "uid-board__cards",
10895
+ role: "list"
10896
+ }, Jp = [
10897
+ "draggable",
10898
+ "onDragstart",
10899
+ "onDragover",
10900
+ "onDrop",
10901
+ "onClick",
10902
+ "onKeydown"
10903
+ ], Yp = { class: "uid-board__card-title" }, Xp = {
10904
+ key: 0,
10905
+ class: "uid-board__card-subtitle"
10906
+ }, Zp = {
10907
+ key: 1,
10908
+ class: "uid-board__card-tags"
10909
+ }, Qp = {
10910
+ key: 0,
10911
+ class: "uid-board__empty",
10912
+ "aria-hidden": "true"
10913
+ }, $p = /* @__PURE__ */ f({
10914
+ __name: "UidBoard",
10915
+ props: {
10916
+ columns: {},
10917
+ lanes: { default: () => [] },
10918
+ busy: {
10919
+ type: Boolean,
10920
+ default: !1
10921
+ }
10922
+ },
10923
+ emits: ["move", "open"],
10924
+ setup(e, { emit: n }) {
10925
+ let r = e, i = n, o = Q(), d = A(null), f = A(null), p = a(() => r.lanes.length > 0 ? r.lanes : [null]);
10926
+ function m(e, t) {
10927
+ return t === null ? e.cards : e.cards.filter((e) => e.lane === t.key);
10928
+ }
10929
+ function h(e) {
10930
+ return e.cards.length;
10931
+ }
10932
+ function g(e) {
10933
+ return e.wip != null && e.wip > 0 && h(e) > e.wip;
10934
+ }
10935
+ function _(e, t, n) {
10936
+ return t.key === n ? !0 : e.targets === void 0 || e.targets.includes(t.key);
10937
+ }
10938
+ function v(e, t, n) {
10939
+ if (r.busy) {
10940
+ e.preventDefault();
10941
+ return;
10942
+ }
10943
+ d.value = {
10944
+ card: t,
10945
+ from: n.key
10946
+ }, e.dataTransfer?.setData("text/plain", String(t.key)), e.dataTransfer && (e.dataTransfer.effectAllowed = "move");
10947
+ }
10948
+ function y() {
10949
+ d.value = null, f.value = null;
10950
+ }
10951
+ function x(e, t, n, r) {
10952
+ let i = d.value;
10953
+ i === null || !_(i.card, t, i.from) || (e.preventDefault(), e.dataTransfer && (e.dataTransfer.dropEffect = "move"), f.value = {
10954
+ column: t.key,
10955
+ lane: n?.key ?? null,
10956
+ beforeKey: r
10957
+ });
10958
+ }
10959
+ function S(e, t, n) {
10960
+ let r = d.value;
10961
+ if (r === null || !_(r.card, t, r.from)) return;
10962
+ e.preventDefault();
10963
+ let i = f.value?.column === t.key ? f.value.beforeKey : null;
10964
+ C(r.card, r.from, t, n, i), y();
10965
+ }
10966
+ function C(e, t, n, r, a) {
10967
+ let o = m(n, r).filter((t) => t.key !== e.key), s = a === null ? o.length : o.findIndex((e) => e.key === a), c = s < 0 ? o.length : s, l = c > 0 ? o[c - 1] : void 0, u = o[c];
10968
+ t === n.key && o.length === m(n, r).length - 1 && m(n, r).findIndex((t) => t.key === e.key) === c || i("move", {
10969
+ card: e,
10970
+ from: t,
10971
+ to: n.key,
10972
+ beforeKey: u?.key ?? null,
10973
+ afterKey: l?.key ?? null,
10974
+ lane: r?.key ?? e.lane ?? null
10975
+ });
10976
+ }
10977
+ function w(e, t, n, a) {
10978
+ if (e.key === "Enter") {
10979
+ i("open", t);
10980
+ return;
10981
+ }
10982
+ if (!e.altKey || e.key !== "ArrowRight" && e.key !== "ArrowLeft" || r.busy) return;
10983
+ e.preventDefault();
10984
+ let o = e.key === "ArrowRight" ? 1 : -1, s = r.columns.findIndex((e) => e.key === n.key);
10985
+ for (let e = s + o; e >= 0 && e < r.columns.length; e += o) {
10986
+ let i = r.columns[e];
10987
+ if (i !== void 0 && _(t, i, n.key)) {
10988
+ C(t, n.key, i, a, null);
10989
+ return;
10990
+ }
10991
+ }
10992
+ }
10993
+ function T(e) {
10994
+ let t = d.value;
10995
+ return t !== null && e.key !== t.from && _(t.card, e, t.from);
10996
+ }
10997
+ function D(e) {
10998
+ let t = d.value;
10999
+ return t !== null && !_(t.card, e, t.from);
11000
+ }
11001
+ return (n, r) => (E(), c("div", {
11002
+ class: b(["uid-board", {
11003
+ "uid-board--busy": e.busy,
11004
+ "uid-board--dragging": d.value !== null
11005
+ }]),
11006
+ role: "region",
11007
+ "aria-label": z(o).board.label,
11008
+ "aria-busy": e.busy
11009
+ }, [(E(!0), c(t, null, j(p.value, (r, a) => (E(), c("div", {
11010
+ key: r?.key ?? `lane-${a}`,
11011
+ class: "uid-board__lane"
11012
+ }, [r ? (E(), c("div", Vp, I(r.title), 1)) : s("", !0), l("div", Hp, [(E(!0), c(t, null, j(e.columns, (p) => (E(), c("section", {
11013
+ key: p.key,
11014
+ class: b(["uid-board__column", {
11015
+ "uid-board__column--over": g(p),
11016
+ "uid-board__column--target": T(p),
11017
+ "uid-board__column--blocked": D(p)
11018
+ }]),
11019
+ "aria-label": p.title,
11020
+ onDragover: (e) => x(e, p, r, null),
11021
+ onDrop: (e) => S(e, p, r)
11022
+ }, [a === 0 ? (E(), c("header", Wp, [M(n.$slots, "column-header", {
11023
+ column: p,
11024
+ count: h(p),
11025
+ over: g(p)
11026
+ }, () => [l("span", Gp, I(p.title), 1), l("span", {
11027
+ class: "uid-board__count",
11028
+ title: g(p) ? z(o).board.wipExceeded : void 0
11029
+ }, [u(I(h(p)), 1), p.wip ? (E(), c(t, { key: 0 }, [u("/" + I(p.wip), 1)], 64)) : s("", !0)], 8, Kp)])])) : s("", !0), l("ul", qp, [(E(!0), c(t, null, j(m(p, r), (a) => (E(), c("li", {
11030
+ key: a.key,
11031
+ class: b(["uid-board__card", {
11032
+ "uid-board__card--dragging": d.value?.card.key === a.key,
11033
+ "uid-board__card--drop-before": f.value?.beforeKey === a.key && f.value?.column === p.key
11034
+ }]),
11035
+ draggable: !e.busy,
11036
+ tabindex: "0",
11037
+ role: "listitem",
11038
+ "aria-keyshortcuts": "Alt+ArrowLeft Alt+ArrowRight Enter",
11039
+ onDragstart: (e) => v(e, a, p),
11040
+ onDragend: y,
11041
+ onDragover: te((e) => x(e, p, r, a.key), ["stop"]),
11042
+ onDrop: te((e) => S(e, p, r), ["stop"]),
11043
+ onClick: (e) => i("open", a),
11044
+ onKeydown: (e) => w(e, a, p, r)
11045
+ }, [M(n.$slots, "card", {
11046
+ card: a,
11047
+ column: p
11048
+ }, () => [
11049
+ l("div", Yp, I(a.title), 1),
11050
+ a.subtitle ? (E(), c("div", Xp, I(a.subtitle), 1)) : s("", !0),
11051
+ a.tags?.length ? (E(), c("div", Zp, [(E(!0), c(t, null, j(a.tags, (e) => (E(), c("span", {
11052
+ key: e.label,
11053
+ class: b(["uid-board__tag", `uid-board__tag--${e.tone ?? "default"}`])
11054
+ }, I(e.label), 3))), 128))])) : s("", !0)
11055
+ ])], 42, Jp))), 128)), m(p, r).length === 0 ? (E(), c("li", Qp, I(z(o).board.empty), 1)) : s("", !0)])], 42, Up))), 128))])]))), 128))], 10, Bp));
11056
+ }
11057
+ }), em = { class: "uid-transfer__panel" }, tm = { class: "uid-transfer__header" }, nm = { class: "uid-transfer__title" }, rm = ["aria-checked"], im = { class: "uid-transfer__count" }, am = {
10879
11058
  key: 0,
10880
11059
  class: "uid-transfer__search"
10881
- }, Kp = ["placeholder"], qp = {
11060
+ }, om = ["placeholder"], sm = {
10882
11061
  class: "uid-transfer__list",
10883
11062
  role: "listbox",
10884
11063
  "aria-multiselectable": "true"
10885
- }, Jp = [
11064
+ }, cm = [
10886
11065
  "aria-selected",
10887
11066
  "aria-disabled",
10888
11067
  "onClick"
10889
- ], Yp = { class: "uid-transfer__label" }, Xp = {
11068
+ ], lm = { class: "uid-transfer__label" }, um = {
10890
11069
  key: 0,
10891
11070
  class: "uid-transfer__empty"
10892
- }, Zp = { class: "uid-transfer__ops" }, Qp = ["disabled", "aria-label"], $p = ["disabled", "aria-label"], em = { class: "uid-transfer__panel" }, tm = { class: "uid-transfer__header" }, nm = { class: "uid-transfer__title" }, rm = ["aria-checked"], im = { class: "uid-transfer__count" }, am = {
11071
+ }, dm = { class: "uid-transfer__ops" }, fm = ["disabled", "aria-label"], pm = ["disabled", "aria-label"], mm = { class: "uid-transfer__panel" }, hm = { class: "uid-transfer__header" }, gm = { class: "uid-transfer__title" }, _m = ["aria-checked"], vm = { class: "uid-transfer__count" }, ym = {
10893
11072
  key: 0,
10894
11073
  class: "uid-transfer__search"
10895
- }, om = ["placeholder"], sm = {
11074
+ }, bm = ["placeholder"], xm = {
10896
11075
  class: "uid-transfer__list",
10897
11076
  role: "listbox",
10898
11077
  "aria-multiselectable": "true"
10899
- }, cm = [
11078
+ }, Sm = [
10900
11079
  "aria-selected",
10901
11080
  "aria-disabled",
10902
11081
  "onClick"
10903
- ], lm = { class: "uid-transfer__label" }, um = {
11082
+ ], Cm = { class: "uid-transfer__label" }, wm = {
10904
11083
  key: 0,
10905
11084
  class: "uid-transfer__empty"
10906
- }, dm = /* @__PURE__ */ f({
11085
+ }, Tm = /* @__PURE__ */ f({
10907
11086
  __name: "UidTransfer",
10908
11087
  props: /* @__PURE__ */ _({
10909
11088
  items: {},
@@ -10954,8 +11133,8 @@ var vd = ["aria-label"], yd = [
10954
11133
  p.value = e, g.value = /* @__PURE__ */ new Set(), f("change", e);
10955
11134
  }
10956
11135
  return (r, i) => (E(), c("div", { class: b(["uid-transfer", { "uid-transfer--disabled": n.disabled }]) }, [
10957
- l("div", Bp, [
10958
- l("div", Vp, [l("span", Hp, [l("span", {
11136
+ l("div", em, [
11137
+ l("div", tm, [l("span", nm, [l("span", {
10959
11138
  class: b(["uid-transfer__check", { "uid-transfer__check--checked": k.value }]),
10960
11139
  role: "checkbox",
10961
11140
  "aria-checked": k.value,
@@ -10966,14 +11145,14 @@ var vd = ["aria-label"], yd = [
10966
11145
  key: 0,
10967
11146
  icon: z(Jt),
10968
11147
  size: 10
10969
- }, null, 8, ["icon"])) : s("", !0)], 42, Up), u(" " + I(y.value[0]), 1)]), l("span", Wp, I(h.value.size) + " / " + I(w.value.length), 1)]),
10970
- n.searchable ? (E(), c("div", Gp, [ee(l("input", {
11148
+ }, null, 8, ["icon"])) : s("", !0)], 42, rm), u(" " + I(y.value[0]), 1)]), l("span", im, I(h.value.size) + " / " + I(w.value.length), 1)]),
11149
+ n.searchable ? (E(), c("div", am, [ee(l("input", {
10971
11150
  "onUpdate:modelValue": i[3] ||= (e) => _.value = e,
10972
11151
  class: "uid-transfer__search-input",
10973
11152
  type: "text",
10974
11153
  placeholder: z(m).common.search
10975
- }, null, 8, Kp), [[G, _.value]])])) : s("", !0),
10976
- l("ul", qp, [(E(!0), c(t, null, j(w.value, (t) => (E(), c("li", {
11154
+ }, null, 8, om), [[G, _.value]])])) : s("", !0),
11155
+ l("ul", sm, [(E(!0), c(t, null, j(w.value, (t) => (E(), c("li", {
10977
11156
  key: t.key,
10978
11157
  class: b(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
10979
11158
  role: "option",
@@ -10987,9 +11166,9 @@ var vd = ["aria-label"], yd = [
10987
11166
  key: 0,
10988
11167
  icon: z(Jt),
10989
11168
  size: 10
10990
- }, null, 8, ["icon"])) : s("", !0)], 2), l("span", Yp, I(t.label), 1)], 10, Jp))), 128)), w.value.length === 0 ? (E(), c("li", Xp, I(z(m).common.noResults), 1)) : s("", !0)])
11169
+ }, null, 8, ["icon"])) : s("", !0)], 2), l("span", lm, I(t.label), 1)], 10, cm))), 128)), w.value.length === 0 ? (E(), c("li", um, I(z(m).common.noResults), 1)) : s("", !0)])
10991
11170
  ]),
10992
- l("div", Zp, [l("button", {
11171
+ l("div", dm, [l("button", {
10993
11172
  type: "button",
10994
11173
  class: "uid-transfer__op",
10995
11174
  disabled: h.value.size === 0 || n.disabled,
@@ -10998,7 +11177,7 @@ var vd = ["aria-label"], yd = [
10998
11177
  }, [d(e, {
10999
11178
  icon: z(Zt),
11000
11179
  size: 16
11001
- }, null, 8, ["icon"])], 8, Qp), l("button", {
11180
+ }, null, 8, ["icon"])], 8, fm), l("button", {
11002
11181
  type: "button",
11003
11182
  class: "uid-transfer__op",
11004
11183
  disabled: g.value.size === 0 || n.disabled,
@@ -11007,9 +11186,9 @@ var vd = ["aria-label"], yd = [
11007
11186
  }, [d(e, {
11008
11187
  icon: z(Xt),
11009
11188
  size: 16
11010
- }, null, 8, ["icon"])], 8, $p)]),
11011
- l("div", em, [
11012
- l("div", tm, [l("span", nm, [l("span", {
11189
+ }, null, 8, ["icon"])], 8, pm)]),
11190
+ l("div", mm, [
11191
+ l("div", hm, [l("span", gm, [l("span", {
11013
11192
  class: b(["uid-transfer__check", { "uid-transfer__check--checked": M.value }]),
11014
11193
  role: "checkbox",
11015
11194
  "aria-checked": M.value,
@@ -11020,14 +11199,14 @@ var vd = ["aria-label"], yd = [
11020
11199
  key: 0,
11021
11200
  icon: z(Jt),
11022
11201
  size: 10
11023
- }, null, 8, ["icon"])) : s("", !0)], 42, rm), u(" " + I(y.value[1]), 1)]), l("span", im, I(g.value.size) + " / " + I(T.value.length), 1)]),
11024
- n.searchable ? (E(), c("div", am, [ee(l("input", {
11202
+ }, null, 8, ["icon"])) : s("", !0)], 42, _m), u(" " + I(y.value[1]), 1)]), l("span", vm, I(g.value.size) + " / " + I(T.value.length), 1)]),
11203
+ n.searchable ? (E(), c("div", ym, [ee(l("input", {
11025
11204
  "onUpdate:modelValue": i[7] ||= (e) => v.value = e,
11026
11205
  class: "uid-transfer__search-input",
11027
11206
  type: "text",
11028
11207
  placeholder: z(m).common.search
11029
- }, null, 8, om), [[G, v.value]])])) : s("", !0),
11030
- l("ul", sm, [(E(!0), c(t, null, j(T.value, (t) => (E(), c("li", {
11208
+ }, null, 8, bm), [[G, v.value]])])) : s("", !0),
11209
+ l("ul", xm, [(E(!0), c(t, null, j(T.value, (t) => (E(), c("li", {
11031
11210
  key: t.key,
11032
11211
  class: b(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
11033
11212
  role: "option",
@@ -11041,60 +11220,60 @@ var vd = ["aria-label"], yd = [
11041
11220
  key: 0,
11042
11221
  icon: z(Jt),
11043
11222
  size: 10
11044
- }, null, 8, ["icon"])) : s("", !0)], 2), l("span", lm, I(t.label), 1)], 10, cm))), 128)), T.value.length === 0 ? (E(), c("li", um, I(z(m).common.noResults), 1)) : s("", !0)])
11223
+ }, null, 8, ["icon"])) : s("", !0)], 2), l("span", Cm, I(t.label), 1)], 10, Sm))), 128)), T.value.length === 0 ? (E(), c("li", wm, I(z(m).common.noResults), 1)) : s("", !0)])
11045
11224
  ])
11046
11225
  ], 2));
11047
11226
  }
11048
- }), fm = {
11227
+ }), Em = {
11049
11228
  key: 0,
11050
11229
  class: "uid-cascader__label"
11051
- }, pm = [
11230
+ }, Dm = [
11052
11231
  "aria-expanded",
11053
11232
  "aria-disabled",
11054
11233
  "aria-label"
11055
- ], mm = { class: "uid-cascader__value" }, hm = {
11234
+ ], Om = { class: "uid-cascader__value" }, km = {
11056
11235
  key: 0,
11057
11236
  class: "uid-cascader__separator"
11058
- }, gm = {
11237
+ }, Am = {
11059
11238
  key: 1,
11060
11239
  class: "uid-cascader__placeholder"
11061
- }, _m = { class: "uid-cascader__suffix" }, vm = ["aria-label"], ym = {
11240
+ }, jm = { class: "uid-cascader__suffix" }, Mm = ["aria-label"], Nm = {
11062
11241
  key: 0,
11063
11242
  class: "uid-cascader__search"
11064
- }, bm = [
11243
+ }, Pm = [
11065
11244
  "aria-expanded",
11066
11245
  "aria-controls",
11067
11246
  "aria-activedescendant",
11068
11247
  "aria-label",
11069
11248
  "placeholder"
11070
- ], xm = ["id"], Sm = [
11249
+ ], Fm = ["id"], Im = [
11071
11250
  "id",
11072
11251
  "aria-selected",
11073
11252
  "onMouseenter",
11074
11253
  "onClick"
11075
- ], Cm = {
11254
+ ], Lm = {
11076
11255
  key: 0,
11077
11256
  class: "uid-cascader__separator"
11078
- }, wm = {
11257
+ }, Rm = {
11079
11258
  key: 0,
11080
11259
  class: "uid-cascader__highlight"
11081
- }, Tm = {
11260
+ }, zm = {
11082
11261
  key: 0,
11083
11262
  class: "uid-cascader__empty",
11084
11263
  role: "presentation"
11085
- }, Em = {
11264
+ }, Bm = {
11086
11265
  key: 2,
11087
11266
  class: "uid-cascader__columns"
11088
- }, Dm = [
11267
+ }, Vm = [
11089
11268
  "aria-haspopup",
11090
11269
  "aria-expanded",
11091
11270
  "aria-disabled",
11092
11271
  "onClick",
11093
11272
  "onMouseenter"
11094
- ], Om = { class: "uid-cascader__option-label" }, km = {
11273
+ ], Hm = { class: "uid-cascader__option-label" }, Um = {
11095
11274
  key: 1,
11096
11275
  class: "uid-cascader__hint"
11097
- }, Am = /* @__PURE__ */ f({
11276
+ }, Wm = /* @__PURE__ */ f({
11098
11277
  __name: "UidCascader",
11099
11278
  props: /* @__PURE__ */ _({
11100
11279
  size: { default: "md" },
@@ -11273,7 +11452,7 @@ var vd = ["aria-label"], yd = [
11273
11452
  "uid-cascader--disabled": r.disabled
11274
11453
  }]])
11275
11454
  }, [
11276
- r.label ? (E(), c("label", fm, I(r.label), 1)) : s("", !0),
11455
+ r.label ? (E(), c("label", Em, I(r.label), 1)) : s("", !0),
11277
11456
  l("div", {
11278
11457
  ref_key: "triggerRef",
11279
11458
  ref: T,
@@ -11286,7 +11465,7 @@ var vd = ["aria-label"], yd = [
11286
11465
  "aria-label": g.value,
11287
11466
  onClick: Z,
11288
11467
  onKeydown: fe
11289
- }, [l("div", mm, [re.value.length > 0 ? (E(!0), c(t, { key: 0 }, j(re.value, (e, n) => (E(), c(t, { key: n }, [l("span", null, I(e), 1), n < re.value.length - 1 ? (E(), c("span", hm, I(r.separator), 1)) : s("", !0)], 64))), 128)) : (E(), c("span", gm, I(g.value), 1))]), l("div", _m, [r.clearable && m.value.length > 0 ? (E(), c("button", {
11468
+ }, [l("div", Om, [re.value.length > 0 ? (E(!0), c(t, { key: 0 }, j(re.value, (e, n) => (E(), c(t, { key: n }, [l("span", null, I(e), 1), n < re.value.length - 1 ? (E(), c("span", km, I(r.separator), 1)) : s("", !0)], 64))), 128)) : (E(), c("span", Am, I(g.value), 1))]), l("div", jm, [r.clearable && m.value.length > 0 ? (E(), c("button", {
11290
11469
  key: 0,
11291
11470
  type: "button",
11292
11471
  class: "uid-cascader__clear",
@@ -11295,18 +11474,18 @@ var vd = ["aria-label"], yd = [
11295
11474
  }, [d(e, {
11296
11475
  icon: z(Mn),
11297
11476
  size: 14
11298
- }, null, 8, ["icon"])], 8, vm)) : s("", !0), d(e, {
11477
+ }, null, 8, ["icon"])], 8, Mm)) : s("", !0), d(e, {
11299
11478
  icon: z(Yt),
11300
11479
  size: 16,
11301
11480
  class: b(["uid-cascader__chevron", { "uid-cascader__chevron--open": _.value }])
11302
- }, null, 8, ["icon", "class"])])], 40, pm),
11481
+ }, null, 8, ["icon", "class"])])], 40, Dm),
11303
11482
  (E(), o(n, { to: "body" }, [_.value ? (E(), c("div", {
11304
11483
  key: 0,
11305
11484
  ref_key: "panelRef",
11306
11485
  ref: D,
11307
11486
  class: "uid-cascader__dropdown",
11308
11487
  style: x(z(O))
11309
- }, [r.searchable ? (E(), c("div", ym, [ee(l("input", {
11488
+ }, [r.searchable ? (E(), c("div", Nm, [ee(l("input", {
11310
11489
  ref_key: "searchRef",
11311
11490
  ref: C,
11312
11491
  "onUpdate:modelValue": a[0] ||= (e) => M.value = e,
@@ -11321,7 +11500,7 @@ var vd = ["aria-label"], yd = [
11321
11500
  "aria-label": r.searchPlaceholder ?? z(h).common.search,
11322
11501
  placeholder: r.searchPlaceholder ?? z(h).common.search,
11323
11502
  onKeydown: J
11324
- }, null, 40, bm), [[G, M.value]])])) : s("", !0), B.value ? (E(), c("ul", {
11503
+ }, null, 40, Pm), [[G, M.value]])])) : s("", !0), B.value ? (E(), c("ul", {
11325
11504
  key: 1,
11326
11505
  id: z(P),
11327
11506
  class: "uid-cascader__results",
@@ -11335,7 +11514,7 @@ var vd = ["aria-label"], yd = [
11335
11514
  onMousedown: a[1] ||= te(() => {}, ["prevent"]),
11336
11515
  onMouseenter: (e) => N.value = n,
11337
11516
  onClick: (t) => K(e)
11338
- }, [(E(!0), c(t, null, j(e.path, (e, n) => (E(), c(t, { key: n }, [n > 0 ? (E(), c("span", Cm, I(r.separator), 1)) : s("", !0), l("span", null, [(E(!0), c(t, null, j(U(e.label), (e, n) => (E(), c(t, { key: n }, [e.match ? (E(), c("mark", wm, I(e.text), 1)) : (E(), c(t, { key: 1 }, [u(I(e.text), 1)], 64))], 64))), 128))])], 64))), 128))], 42, Sm))), 128)), R.value.length === 0 ? (E(), c("li", Tm, I(z(h).common.noResults), 1)) : s("", !0)], 8, xm)) : (E(), c("div", Em, [(E(!0), c(t, null, j(X.value, (n, i) => (E(), c("div", {
11517
+ }, [(E(!0), c(t, null, j(e.path, (e, n) => (E(), c(t, { key: n }, [n > 0 ? (E(), c("span", Lm, I(r.separator), 1)) : s("", !0), l("span", null, [(E(!0), c(t, null, j(U(e.label), (e, n) => (E(), c(t, { key: n }, [e.match ? (E(), c("mark", Rm, I(e.text), 1)) : (E(), c(t, { key: 1 }, [u(I(e.text), 1)], 64))], 64))), 128))])], 64))), 128))], 42, Im))), 128)), R.value.length === 0 ? (E(), c("li", zm, I(z(h).common.noResults), 1)) : s("", !0)], 8, Fm)) : (E(), c("div", Bm, [(E(!0), c(t, null, j(X.value, (n, i) => (E(), c("div", {
11339
11518
  key: i,
11340
11519
  class: "uid-cascader__column"
11341
11520
  }, [(E(!0), c(t, null, j(n, (t) => (E(), c("button", {
@@ -11351,27 +11530,27 @@ var vd = ["aria-label"], yd = [
11351
11530
  "aria-disabled": t.disabled ? "true" : void 0,
11352
11531
  onClick: (e) => ce(t, i),
11353
11532
  onMouseenter: (e) => le(t, i)
11354
- }, [l("span", Om, I(t.label), 1), t.children?.length ? (E(), o(e, {
11533
+ }, [l("span", Hm, I(t.label), 1), t.children?.length ? (E(), o(e, {
11355
11534
  key: 0,
11356
11535
  icon: z(Zt),
11357
11536
  size: 14,
11358
11537
  class: "uid-cascader__option-arrow",
11359
11538
  "aria-hidden": "true"
11360
- }, null, 8, ["icon"])) : s("", !0)], 42, Dm))), 128))]))), 128))]))], 4)) : s("", !0)])),
11361
- r.hint ? (E(), c("p", km, I(r.hint), 1)) : s("", !0)
11539
+ }, null, 8, ["icon"])) : s("", !0)], 42, Vm))), 128))]))), 128))]))], 4)) : s("", !0)])),
11540
+ r.hint ? (E(), c("p", Um, I(r.hint), 1)) : s("", !0)
11362
11541
  ], 2));
11363
11542
  }
11364
- }), jm = { class: "uid-calendar__header" }, Mm = { class: "uid-calendar__title" }, Nm = { class: "uid-calendar__nav" }, Pm = ["aria-label"], Fm = ["aria-label"], Im = { class: "uid-calendar__weekdays" }, Lm = { class: "uid-calendar__grid" }, Rm = [
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 = [
11365
11544
  "tabindex",
11366
11545
  "aria-current",
11367
11546
  "aria-selected",
11368
11547
  "aria-label",
11369
11548
  "onClick",
11370
11549
  "onKeydown"
11371
- ], zm = { class: "uid-calendar__date" }, Bm = { class: "uid-calendar__events" }, Vm = ["title", "onClick"], Hm = { class: "uid-calendar__event-label" }, Um = {
11550
+ ], $m = { class: "uid-calendar__date" }, eh = { class: "uid-calendar__events" }, th = ["title", "onClick"], nh = { class: "uid-calendar__event-label" }, rh = {
11372
11551
  key: 0,
11373
11552
  class: "uid-calendar__more"
11374
- }, Wm = /* @__PURE__ */ f({
11553
+ }, ih = /* @__PURE__ */ f({
11375
11554
  __name: "UidCalendar",
11376
11555
  props: /* @__PURE__ */ _({
11377
11556
  events: { default: () => [] },
@@ -11458,7 +11637,7 @@ var vd = ["aria-label"], yd = [
11458
11637
  e.stopPropagation(), o("event-click", t);
11459
11638
  }
11460
11639
  return (r, i) => (E(), c("div", { class: b(["uid-calendar", { "uid-calendar--compact": n.compact }]) }, [
11461
- l("div", jm, [l("span", Mm, I(y.value), 1), l("div", Nm, [
11640
+ l("div", Gm, [l("span", Km, I(y.value), 1), l("div", qm, [
11462
11641
  l("button", {
11463
11642
  type: "button",
11464
11643
  class: "uid-calendar__btn uid-calendar__btn--icon",
@@ -11467,7 +11646,7 @@ var vd = ["aria-label"], yd = [
11467
11646
  }, [d(e, {
11468
11647
  icon: z(Xt),
11469
11648
  size: 14
11470
- }, null, 8, ["icon"])], 8, Pm),
11649
+ }, null, 8, ["icon"])], 8, Jm),
11471
11650
  l("button", {
11472
11651
  type: "button",
11473
11652
  class: "uid-calendar__btn",
@@ -11481,13 +11660,13 @@ var vd = ["aria-label"], yd = [
11481
11660
  }, [d(e, {
11482
11661
  icon: z(Zt),
11483
11662
  size: 14
11484
- }, null, 8, ["icon"])], 8, Fm)
11663
+ }, null, 8, ["icon"])], 8, Ym)
11485
11664
  ])]),
11486
- l("div", Im, [(E(!0), c(t, null, j(z(f).datePicker.weekdaysShort, (e) => (E(), c("span", {
11665
+ l("div", Xm, [(E(!0), c(t, null, j(z(f).datePicker.weekdaysShort, (e) => (E(), c("span", {
11487
11666
  key: e,
11488
11667
  class: "uid-calendar__weekday"
11489
11668
  }, I(e), 1))), 128))]),
11490
- l("div", Lm, [(E(!0), c(t, null, j(w.value, (e) => (E(), c("div", {
11669
+ l("div", Zm, [(E(!0), c(t, null, j(w.value, (e) => (E(), c("div", {
11491
11670
  key: e.iso,
11492
11671
  class: b(["uid-calendar__day", {
11493
11672
  "uid-calendar__day--other": !e.current,
@@ -11502,30 +11681,30 @@ var vd = ["aria-label"], yd = [
11502
11681
  "aria-label": e.iso,
11503
11682
  onClick: (t) => M(e),
11504
11683
  onKeydown: [X(te((t) => M(e), ["prevent"]), ["enter"]), X(te((t) => M(e), ["prevent"]), ["space"])]
11505
- }, [l("span", zm, I(e.date.getDate()), 1), l("div", Bm, [(E(!0), c(t, null, j(e.events.slice(0, n.maxEventsPerDay), (t, n) => (E(), c("button", {
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", {
11506
11685
  key: t.id ?? `${e.iso}-${n}`,
11507
11686
  type: "button",
11508
11687
  class: "uid-calendar__event",
11509
11688
  style: x(t.color ? { "--uid-event-color": t.color } : void 0),
11510
11689
  title: t.title,
11511
11690
  onClick: (e) => N(e, t)
11512
- }, [l("span", Hm, I(t.title), 1)], 12, Vm))), 128)), e.events.length > n.maxEventsPerDay ? (E(), c("span", Um, "+" + I(e.events.length - n.maxEventsPerDay), 1)) : s("", !0)])], 42, Rm))), 128))])
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))])
11513
11692
  ], 2));
11514
11693
  }
11515
- }), Gm = ["aria-label"], Km = [
11694
+ }), ah = ["aria-label"], oh = [
11516
11695
  "viewBox",
11517
11696
  "width",
11518
11697
  "height"
11519
- ], qm = [
11698
+ ], sh = [
11520
11699
  "x2",
11521
11700
  "y1",
11522
11701
  "y2"
11523
- ], Jm = [
11702
+ ], ch = [
11524
11703
  "x",
11525
11704
  "y",
11526
11705
  "width",
11527
11706
  "height"
11528
- ], Ym = ["d"], Xm = ["d"], Zm = ["cx", "cy"], Qm = ["cx", "cy"], $m = 2, eh = /* @__PURE__ */ f({
11707
+ ], lh = ["d"], uh = ["d"], dh = ["cx", "cy"], fh = ["cx", "cy"], ph = 2, mh = /* @__PURE__ */ f({
11529
11708
  __name: "UidSparkline",
11530
11709
  props: {
11531
11710
  data: {},
@@ -11568,11 +11747,11 @@ var vd = ["aria-label"], yd = [
11568
11747
  };
11569
11748
  });
11570
11749
  function o(e, t) {
11571
- return t <= 1 ? n.width / 2 : $m + e / (t - 1) * (n.width - $m * 2);
11750
+ return t <= 1 ? n.width / 2 : ph + e / (t - 1) * (n.width - ph * 2);
11572
11751
  }
11573
11752
  function u(e) {
11574
11753
  let t = i.value, r = (e - t.min) / (t.max - t.min);
11575
- return n.height - $m - r * (n.height - $m * 2);
11754
+ return n.height - ph - r * (n.height - ph * 2);
11576
11755
  }
11577
11756
  let d = a(() => n.data.map((e, t) => ({
11578
11757
  x: o(t, n.data.length),
@@ -11591,14 +11770,14 @@ var vd = ["aria-label"], yd = [
11591
11770
  }), p = a(() => {
11592
11771
  let e = d.value;
11593
11772
  if (e.length === 0) return "";
11594
- let t = n.height - $m;
11773
+ let t = n.height - ph;
11595
11774
  return `${f.value} L ${e[e.length - 1].x.toFixed(2)} ${t.toFixed(2)} L ${e[0].x.toFixed(2)} ${t.toFixed(2)} Z`;
11596
11775
  }), m = a(() => {
11597
11776
  let e = d.value, t = e.length;
11598
11777
  if (t === 0) return [];
11599
- let r = n.width - $m * 2, i = Math.max(1, r / t * .7), a = u(0);
11778
+ let r = n.width - ph * 2, i = Math.max(1, r / t * .7), a = u(0);
11600
11779
  return e.map((e, n) => {
11601
- let o = $m + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
11780
+ let o = ph + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
11602
11781
  return {
11603
11782
  x: o,
11604
11783
  y: c,
@@ -11635,59 +11814,59 @@ var vd = ["aria-label"], yd = [
11635
11814
  x2: e.width,
11636
11815
  y1: h.value,
11637
11816
  y2: h.value
11638
- }, null, 8, qm)) : s("", !0), e.type === "bar" ? (E(!0), c(t, { key: 1 }, j(m.value, (e, t) => (E(), c("rect", {
11817
+ }, null, 8, sh)) : s("", !0), e.type === "bar" ? (E(!0), c(t, { key: 1 }, j(m.value, (e, t) => (E(), c("rect", {
11639
11818
  key: t,
11640
11819
  class: b(["uid-sparkline__bar", { "uid-sparkline__bar--negative": e.negative }]),
11641
11820
  x: e.x,
11642
11821
  y: e.y,
11643
11822
  width: e.width,
11644
11823
  height: e.height
11645
- }, null, 10, Jm))), 128)) : (E(), c(t, { key: 2 }, [
11824
+ }, null, 10, ch))), 128)) : (E(), c(t, { key: 2 }, [
11646
11825
  e.type === "area" ? (E(), c("path", {
11647
11826
  key: 0,
11648
11827
  class: "uid-sparkline__area",
11649
11828
  d: p.value
11650
- }, null, 8, Ym)) : s("", !0),
11829
+ }, null, 8, lh)) : s("", !0),
11651
11830
  l("path", {
11652
11831
  class: "uid-sparkline__line",
11653
11832
  d: f.value
11654
- }, null, 8, Xm),
11833
+ }, null, 8, uh),
11655
11834
  e.showDots ? (E(!0), c(t, { key: 1 }, j(d.value, (e, t) => (E(), c("circle", {
11656
11835
  key: t,
11657
11836
  class: "uid-sparkline__dot",
11658
11837
  cx: e.x,
11659
11838
  cy: e.y,
11660
11839
  r: "2.5"
11661
- }, null, 8, Zm))), 128)) : s("", !0),
11840
+ }, null, 8, dh))), 128)) : s("", !0),
11662
11841
  e.showLast && _.value && !e.showDots ? (E(), c("circle", {
11663
11842
  key: 2,
11664
11843
  class: "uid-sparkline__dot uid-sparkline__dot--last",
11665
11844
  cx: _.value.x,
11666
11845
  cy: _.value.y,
11667
11846
  r: "2.5"
11668
- }, null, 8, Qm)) : s("", !0)
11669
- ], 64))], 8, Km))], 12, Gm));
11847
+ }, null, 8, fh)) : s("", !0)
11848
+ ], 64))], 8, oh))], 12, ah));
11670
11849
  }
11671
- }), th = ["aria-valuemax", "aria-valuenow"], nh = [
11850
+ }), hh = ["aria-valuemax", "aria-valuenow"], gh = [
11672
11851
  "width",
11673
11852
  "height",
11674
11853
  "viewBox"
11675
- ], rh = [
11854
+ ], _h = [
11676
11855
  "cx",
11677
11856
  "cy",
11678
11857
  "r",
11679
11858
  "stroke-width"
11680
- ], ih = [
11859
+ ], vh = [
11681
11860
  "cx",
11682
11861
  "cy",
11683
11862
  "r",
11684
11863
  "stroke-width",
11685
11864
  "stroke-dasharray",
11686
11865
  "stroke-dashoffset"
11687
- ], ah = {
11866
+ ], yh = {
11688
11867
  key: 0,
11689
11868
  class: "uid-progress-ring__label"
11690
- }, oh = /* @__PURE__ */ f({
11869
+ }, bh = /* @__PURE__ */ f({
11691
11870
  __name: "UidProgressRing",
11692
11871
  props: {
11693
11872
  value: { default: 0 },
@@ -11732,7 +11911,7 @@ var vd = ["aria-label"], yd = [
11732
11911
  cy: i.value,
11733
11912
  r: n.value,
11734
11913
  "stroke-width": e.strokeWidth
11735
- }, null, 8, rh), l("circle", {
11914
+ }, null, 8, _h), l("circle", {
11736
11915
  class: "uid-progress-ring__progress",
11737
11916
  cx: i.value,
11738
11917
  cy: i.value,
@@ -11740,50 +11919,50 @@ var vd = ["aria-label"], yd = [
11740
11919
  "stroke-width": e.strokeWidth,
11741
11920
  "stroke-dasharray": r.value,
11742
11921
  "stroke-dashoffset": f.value
11743
- }, null, 8, ih)], 8, nh)), e.showLabel || t.$slots.default ? (E(), c("div", ah, [M(t.$slots, "default", {}, () => [u(I(p.value), 1)])])) : s("", !0)], 14, th));
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));
11744
11923
  }
11745
- }), sh = [
11924
+ }), xh = [
11746
11925
  "aria-valuemin",
11747
11926
  "aria-valuemax",
11748
11927
  "aria-valuenow",
11749
11928
  "aria-label"
11750
- ], ch = [
11929
+ ], Sh = [
11751
11930
  "width",
11752
11931
  "height",
11753
11932
  "viewBox"
11754
- ], lh = ["d", "stroke-width"], uh = [
11933
+ ], Ch = ["d", "stroke-width"], wh = [
11755
11934
  "d",
11756
11935
  "stroke",
11757
11936
  "stroke-width",
11758
11937
  "stroke-dasharray",
11759
11938
  "stroke-dashoffset"
11760
- ], dh = [
11939
+ ], Th = [
11761
11940
  "d",
11762
11941
  "stroke-width",
11763
11942
  "stroke-dasharray",
11764
11943
  "stroke-dashoffset"
11765
- ], fh = { key: 2 }, ph = [
11944
+ ], Eh = { key: 2 }, Dh = [
11766
11945
  "x1",
11767
11946
  "y1",
11768
11947
  "x2",
11769
11948
  "y2",
11770
11949
  "transform"
11771
- ], mh = ["cx", "cy"], hh = {
11950
+ ], Oh = ["cx", "cy"], kh = {
11772
11951
  key: 0,
11773
11952
  class: "uid-gauge__content"
11774
- }, gh = {
11953
+ }, Ah = {
11775
11954
  key: 0,
11776
11955
  class: "uid-gauge__value"
11777
- }, _h = {
11956
+ }, jh = {
11778
11957
  key: 0,
11779
11958
  class: "uid-gauge__suffix"
11780
- }, vh = {
11959
+ }, Mh = {
11781
11960
  key: 1,
11782
11961
  class: "uid-gauge__label"
11783
- }, yh = {
11962
+ }, Nh = {
11784
11963
  key: 1,
11785
11964
  class: "uid-gauge__limits"
11786
- }, bh = 4, xh = /* @__PURE__ */ f({
11965
+ }, Ph = 4, Fh = /* @__PURE__ */ f({
11787
11966
  __name: "UidGauge",
11788
11967
  props: {
11789
11968
  value: { default: 0 },
@@ -11813,7 +11992,7 @@ var vd = ["aria-label"], yd = [
11813
11992
  locale: { default: void 0 }
11814
11993
  },
11815
11994
  setup(e) {
11816
- let n = e, r = Q(), i = a(() => n.locale ?? r.value.code), o = a(() => (n.size - n.strokeWidth) / 2 - bh), u = a(() => n.size / 2), d = a(() => n.size / 2), f = a(() => n.size / 2 + n.strokeWidth / 2 + bh), p = a(() => Math.PI * o.value), m = a(() => Math.max(n.min, Math.min(n.max, n.value))), h = a(() => {
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(() => {
11817
11996
  let e = n.max - n.min;
11818
11997
  return e <= 0 ? 0 : (m.value - n.min) / e;
11819
11998
  }), g = a(() => {
@@ -11851,7 +12030,7 @@ var vd = ["aria-label"], yd = [
11851
12030
  class: "uid-gauge__track",
11852
12031
  d: g.value,
11853
12032
  "stroke-width": e.strokeWidth
11854
- }, null, 8, lh),
12033
+ }, null, 8, Ch),
11855
12034
  e.ranges && e.ranges.length ? (E(!0), c(t, { key: 0 }, j(e.ranges, (t, n) => (E(), c("path", {
11856
12035
  key: n,
11857
12036
  class: "uid-gauge__range",
@@ -11860,7 +12039,7 @@ var vd = ["aria-label"], yd = [
11860
12039
  "stroke-width": e.strokeWidth,
11861
12040
  "stroke-dasharray": v(t).dasharray,
11862
12041
  "stroke-dashoffset": v(t).dashoffset
11863
- }, null, 8, uh))), 128)) : s("", !0),
12042
+ }, null, 8, wh))), 128)) : s("", !0),
11864
12043
  !e.ranges || e.ranges.length === 0 ? (E(), c("path", {
11865
12044
  key: 1,
11866
12045
  class: "uid-gauge__progress",
@@ -11868,43 +12047,43 @@ var vd = ["aria-label"], yd = [
11868
12047
  "stroke-width": e.strokeWidth,
11869
12048
  "stroke-dasharray": p.value,
11870
12049
  "stroke-dashoffset": _.value
11871
- }, null, 8, dh)) : s("", !0),
11872
- e.showNeedle ? (E(), c("g", fh, [l("line", {
12050
+ }, null, 8, Th)) : s("", !0),
12051
+ e.showNeedle ? (E(), c("g", Eh, [l("line", {
11873
12052
  class: "uid-gauge__needle",
11874
12053
  x1: u.value,
11875
12054
  y1: d.value,
11876
12055
  x2: u.value + o.value - e.strokeWidth,
11877
12056
  y2: d.value,
11878
12057
  transform: `rotate(${y.value} ${u.value} ${d.value})`
11879
- }, null, 8, ph), l("circle", {
12058
+ }, null, 8, Dh), l("circle", {
11880
12059
  class: "uid-gauge__needle-pivot",
11881
12060
  cx: u.value,
11882
12061
  cy: d.value,
11883
12062
  r: "4"
11884
- }, null, 8, mh)])) : s("", !0)
11885
- ], 8, ch)),
11886
- e.showValue || e.label ? (E(), c("div", hh, [e.showValue ? (E(), c("div", gh, [l("span", null, I(S.value), 1), e.suffix ? (E(), c("span", _h, I(e.suffix), 1)) : s("", !0)])) : s("", !0), e.label ? (E(), c("div", vh, I(e.label), 1)) : s("", !0)])) : s("", !0),
11887
- e.showLimits ? (E(), c("div", yh, [l("span", null, I(e.min), 1), l("span", null, I(e.max), 1)])) : s("", !0)
11888
- ], 14, sh));
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));
11889
12068
  }
11890
- }), Sh = ["aria-label"], Ch = { class: "uid-heatmap__chart" }, wh = {
12069
+ }), Ih = ["aria-label"], Lh = { class: "uid-heatmap__chart" }, Rh = {
11891
12070
  key: 0,
11892
12071
  class: "uid-heatmap__weekdays",
11893
12072
  "aria-hidden": "true"
11894
- }, Th = { class: "uid-heatmap__grid-wrapper" }, Eh = [
12073
+ }, zh = { class: "uid-heatmap__grid-wrapper" }, Bh = [
11895
12074
  "width",
11896
12075
  "height",
11897
12076
  "viewBox"
11898
- ], Dh = [
12077
+ ], Vh = [
11899
12078
  "x",
11900
12079
  "y",
11901
12080
  "width",
11902
12081
  "height",
11903
12082
  "fill"
11904
- ], Oh = {
12083
+ ], Hh = {
11905
12084
  key: 0,
11906
12085
  class: "uid-heatmap__legend"
11907
- }, kh = /* @__PURE__ */ f({
12086
+ }, Uh = /* @__PURE__ */ f({
11908
12087
  __name: "UidHeatmap",
11909
12088
  props: {
11910
12089
  data: {},
@@ -12010,10 +12189,10 @@ var vd = ["aria-label"], yd = [
12010
12189
  style: x(w.value),
12011
12190
  role: "img",
12012
12191
  "aria-label": k.value
12013
- }, [l("div", Ch, [e.showWeekdays ? (E(), c("div", wh, [(E(!0), c(t, null, j(z(r).datePicker.weekdaysShort, (e, t) => (E(), c("span", {
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", {
12014
12193
  key: e,
12015
12194
  class: b(["uid-heatmap__weekday", { "uid-heatmap__weekday--visible": t === 0 || t === 2 || t === 4 }])
12016
- }, I(e), 3))), 128))])) : s("", !0), l("div", Th, [e.showMonths ? (E(), c("div", {
12195
+ }, I(e), 3))), 128))])) : s("", !0), l("div", zh, [e.showMonths ? (E(), c("div", {
12017
12196
  key: 0,
12018
12197
  class: "uid-heatmap__months",
12019
12198
  style: x({ width: `${S.value}px` }),
@@ -12036,7 +12215,7 @@ var vd = ["aria-label"], yd = [
12036
12215
  width: e.cellSize,
12037
12216
  height: e.cellSize,
12038
12217
  fill: v(t.level)
12039
- }, [l("title", null, I(D(t)), 1)], 8, Dh))), 128))], 8, Eh))])]), e.showLegend ? (E(), c("div", Oh, [
12218
+ }, [l("title", null, I(D(t)), 1)], 8, Vh))), 128))], 8, Bh))])]), e.showLegend ? (E(), c("div", Hh, [
12040
12219
  l("span", null, I(z(r).heatmap.less), 1),
12041
12220
  (E(!0), c(t, null, j(T.value, (e) => (E(), c("span", {
12042
12221
  key: e,
@@ -12044,9 +12223,9 @@ var vd = ["aria-label"], yd = [
12044
12223
  style: x(e === 0 ? void 0 : { background: v(e) })
12045
12224
  }, null, 4))), 128)),
12046
12225
  l("span", null, I(z(r).heatmap.more), 1)
12047
- ])) : s("", !0)], 12, Sh));
12226
+ ])) : s("", !0)], 12, Ih));
12048
12227
  }
12049
- }), Ah = {
12228
+ }), Wh = {
12050
12229
  default: ["color-mix(in srgb, var(--uid-heatmap-matrix-color) 14%, var(--uid-color-bg))", "var(--uid-heatmap-matrix-color)"],
12051
12230
  viridis: [
12052
12231
  "#440154",
@@ -12126,42 +12305,42 @@ var vd = ["aria-label"], yd = [
12126
12305
  "#67000d"
12127
12306
  ]
12128
12307
  };
12129
- function jh(e) {
12130
- return Object.prototype.hasOwnProperty.call(Ah, e);
12308
+ function Gh(e) {
12309
+ return Object.prototype.hasOwnProperty.call(Wh, e);
12131
12310
  }
12132
- function Mh(e) {
12311
+ function Kh(e) {
12133
12312
  if (Array.isArray(e)) {
12134
12313
  let t = e.filter((e) => typeof e == "string" && e.trim() !== "");
12135
- return t.length > 0 ? t : [...Ah.default];
12314
+ return t.length > 0 ? t : [...Wh.default];
12136
12315
  }
12137
12316
  let t = typeof e == "string" ? e.trim() : "";
12138
- if (t === "") return [...Ah.default];
12317
+ if (t === "") return [...Wh.default];
12139
12318
  let n = t.toLowerCase();
12140
- return jh(n) ? [...Ah[n]] : Nh(t) ? [`color-mix(in srgb, ${t} 14%, var(--uid-color-bg))`, t] : [...Ah.default];
12319
+ return Gh(n) ? [...Wh[n]] : qh(t) ? [`color-mix(in srgb, ${t} 14%, var(--uid-color-bg))`, t] : [...Wh.default];
12141
12320
  }
12142
- function Nh(e) {
12321
+ function qh(e) {
12143
12322
  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);
12144
12323
  }
12145
- function Ph(e, t) {
12324
+ function Jh(e, t) {
12146
12325
  if (e.length === 0) return "transparent";
12147
12326
  if (e.length === 1) return e[0];
12148
12327
  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;
12149
12328
  return i <= 5e-4 ? e[r] : i >= .9995 ? e[r + 1] : `color-mix(in srgb, ${e[r + 1]} ${(i * 100).toFixed(1)}%, ${e[r]})`;
12150
12329
  }
12151
- function Fh(e) {
12330
+ function Yh(e) {
12152
12331
  return e.length === 1 ? e[0] : `linear-gradient(to right, ${e.join(", ")})`;
12153
12332
  }
12154
12333
  //#endregion
12155
12334
  //#region src/components/Heatmap/UidHeatmapMatrix.vue?vue&type=script&setup=true&lang.ts
12156
- var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12335
+ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12157
12336
  "aria-label",
12158
12337
  "aria-rowcount",
12159
12338
  "aria-colcount"
12160
- ], Rh = {
12339
+ ], Qh = {
12161
12340
  class: "uid-heatmap-matrix__row uid-heatmap-matrix__row--head",
12162
12341
  role: "row",
12163
12342
  "aria-rowindex": "1"
12164
- }, zh = ["aria-colindex", "aria-label"], Bh = ["title"], Vh = ["aria-rowindex"], Hh = ["title"], Uh = [
12343
+ }, $h = ["aria-colindex", "aria-label"], eg = ["title"], tg = ["aria-rowindex"], ng = ["title"], rg = [
12165
12344
  "aria-colindex",
12166
12345
  "aria-label",
12167
12346
  "tabindex",
@@ -12169,14 +12348,14 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12169
12348
  "data-c",
12170
12349
  "onMouseenter",
12171
12350
  "onFocus"
12172
- ], Wh = { class: "uid-heatmap-matrix__tooltip-label" }, Gh = { class: "uid-heatmap-matrix__tooltip-value" }, Kh = {
12351
+ ], ig = { class: "uid-heatmap-matrix__tooltip-label" }, ag = { class: "uid-heatmap-matrix__tooltip-value" }, og = {
12173
12352
  key: 1,
12174
12353
  class: "uid-heatmap-matrix__legend",
12175
12354
  "aria-hidden": "true"
12176
- }, qh = { class: "uid-heatmap-matrix__legend-value" }, Jh = { class: "uid-heatmap-matrix__legend-value" }, Yh = {
12355
+ }, sg = { class: "uid-heatmap-matrix__legend-value" }, cg = { class: "uid-heatmap-matrix__legend-value" }, lg = {
12177
12356
  key: 0,
12178
12357
  class: "uid-heatmap-matrix__legend-empty"
12179
- }, Xh = 11, Zh = 96, Qh = 18, $h = /* @__PURE__ */ f({
12358
+ }, ug = 11, dg = 96, fg = 18, pg = /* @__PURE__ */ f({
12180
12359
  __name: "UidHeatmapMatrix",
12181
12360
  props: {
12182
12361
  rows: {},
@@ -12212,13 +12391,13 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12212
12391
  min: typeof n.min == "number" ? n.min : e,
12213
12392
  max: typeof n.max == "number" ? n.max : t
12214
12393
  };
12215
- }), v = a(() => g.value.some((e) => e.some((e) => e === null))), w = a(() => Mh(n.colorScale));
12394
+ }), v = a(() => g.value.some((e) => e.some((e) => e === null))), w = a(() => Kh(n.colorScale));
12216
12395
  function T(e) {
12217
12396
  let { min: t, max: n } = _.value;
12218
12397
  return n <= t ? +(e > t) : (e - t) / (n - t);
12219
12398
  }
12220
12399
  function D(e) {
12221
- if (e !== null) return Ph(w.value, T(e));
12400
+ if (e !== null) return Jh(w.value, T(e));
12222
12401
  }
12223
12402
  function O(e) {
12224
12403
  return n.formatValue ? n.formatValue(e) : new Intl.NumberFormat(r.value.code).format(e);
@@ -12240,7 +12419,7 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12240
12419
  return `${n.row} × ${n.col}: ${k(n.value)}`;
12241
12420
  }
12242
12421
  function F(e) {
12243
- return Math.min(Zh, e.length * Xh * .6);
12422
+ return Math.min(dg, e.length * ug * .6);
12244
12423
  }
12245
12424
  let L = a(() => n.cols.reduce((e, t) => Math.max(e, F(t)), 0)), R = a(() => {
12246
12425
  let e = n.cols.length, t = p.value, r = n.colLabels;
@@ -12249,7 +12428,7 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12249
12428
  step: 1,
12250
12429
  reserve: 0
12251
12430
  };
12252
- 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 + Xh) * 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(Qh / u));
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));
12253
12432
  return r === "horizontal" ? {
12254
12433
  mode: "horizontal",
12255
12434
  step: c,
@@ -12277,7 +12456,7 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12277
12456
  "--uid-heatmap-matrix-min-cell": `${n.minCellWidth}px`,
12278
12457
  "--uid-heatmap-matrix-gap": `${n.gap}px`,
12279
12458
  "--uid-heatmap-matrix-header-height": `${V.value}px`
12280
- })), U = a(() => R.value.reserve > 0 ? { paddingInlineEnd: `${R.value.reserve}px` } : void 0), W = a(() => Fh(w.value)), G = a(() => n.ariaLabel ?? r.value.heatmap.matrixSummary(n.rows.length, n.cols.length)), K = A({
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({
12281
12460
  r: 0,
12282
12461
  c: 0
12283
12462
  }), 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({});
@@ -12375,7 +12554,7 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12375
12554
  class: b(["uid-heatmap-matrix", `uid-heatmap-matrix--labels-${R.value.mode}`]),
12376
12555
  style: x(H.value)
12377
12556
  }, [
12378
- l("div", Ih, [l("div", {
12557
+ l("div", Xh, [l("div", {
12379
12558
  class: "uid-heatmap-matrix__grid",
12380
12559
  role: "grid",
12381
12560
  style: x(U.value),
@@ -12384,7 +12563,7 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12384
12563
  "aria-colcount": e.cols.length + 1,
12385
12564
  onMouseleave: ie,
12386
12565
  onKeydown: se
12387
- }, [l("div", Rh, [i[0] ||= l("div", {
12566
+ }, [l("div", Qh, [i[0] ||= l("div", {
12388
12567
  class: "uid-heatmap-matrix__corner",
12389
12568
  role: "columnheader",
12390
12569
  "aria-colindex": "1"
@@ -12398,7 +12577,7 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12398
12577
  class: b(["uid-heatmap-matrix__col-label", { "uid-heatmap-matrix__col-label--hidden": !B(t) }]),
12399
12578
  title: e,
12400
12579
  "aria-hidden": "true"
12401
- }, I(e), 11, Bh)], 8, zh))), 128))]), (E(!0), c(t, null, j(e.rows, (n, r) => (E(), c("div", {
12580
+ }, I(e), 11, eg)], 8, $h))), 128))]), (E(!0), c(t, null, j(e.rows, (n, r) => (E(), c("div", {
12402
12581
  key: `r-${r}`,
12403
12582
  class: "uid-heatmap-matrix__row",
12404
12583
  role: "row",
@@ -12411,7 +12590,7 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12411
12590
  role: "rowheader",
12412
12591
  "aria-colindex": "1",
12413
12592
  title: n
12414
- }, I(n), 9, Hh), (E(!0), c(t, null, j(e.cols, (e, t) => (E(), c("div", {
12593
+ }, I(n), 9, ng), (E(!0), c(t, null, j(e.cols, (e, t) => (E(), c("div", {
12415
12594
  key: `c-${r}-${t}`,
12416
12595
  class: b(["uid-heatmap-matrix__cell", {
12417
12596
  "uid-heatmap-matrix__cell--empty": g.value[r][t] === null,
@@ -12427,7 +12606,7 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12427
12606
  onMouseenter: (e) => re(r, t),
12428
12607
  onFocus: (e) => ae(r, t),
12429
12608
  onBlur: Z
12430
- }, null, 46, Uh))), 128))], 8, Vh))), 128))], 44, Lh)]),
12609
+ }, null, 46, rg))), 128))], 8, tg))), 128))], 44, Zh)]),
12431
12610
  X.value ? (E(), c("div", {
12432
12611
  key: 0,
12433
12612
  ref_key: "tooltipRef",
@@ -12438,25 +12617,25 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12438
12617
  }, [M(n.$slots, "tooltip", {
12439
12618
  cell: X.value,
12440
12619
  formatted: k(X.value.value)
12441
- }, () => [l("span", Wh, I(X.value.row) + " × " + I(X.value.col), 1), l("strong", Gh, I(k(X.value.value)), 1)])], 4)) : s("", !0),
12442
- e.showLegend && e.rows.length > 0 && e.cols.length > 0 ? (E(), c("div", Kh, [
12443
- l("span", qh, I(O(_.value.min)), 1),
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),
12444
12623
  l("span", {
12445
12624
  class: "uid-heatmap-matrix__legend-bar",
12446
12625
  style: x({ background: W.value })
12447
12626
  }, null, 4),
12448
- l("span", Jh, I(O(_.value.max)), 1),
12449
- v.value ? (E(), c("span", Yh, [i[1] ||= l("span", { class: "uid-heatmap-matrix__legend-swatch" }, null, -1), u(" " + I(z(r).heatmap.noData), 1)])) : s("", !0)
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)
12450
12629
  ])) : s("", !0)
12451
12630
  ], 6));
12452
12631
  }
12453
- }), eg = ["aria-label"], tg = ["aria-current"], ng = { class: "uid-stepper__indicator" }, rg = {
12632
+ }), mg = ["aria-label"], hg = ["aria-current"], gg = { class: "uid-stepper__indicator" }, _g = {
12454
12633
  key: 1,
12455
12634
  "aria-hidden": "true"
12456
- }, ig = { class: "uid-stepper__content" }, ag = { class: "uid-stepper__label" }, og = {
12635
+ }, vg = { class: "uid-stepper__content" }, yg = { class: "uid-stepper__label" }, bg = {
12457
12636
  key: 0,
12458
12637
  class: "uid-stepper__description"
12459
- }, sg = /* @__PURE__ */ f({
12638
+ }, xg = /* @__PURE__ */ f({
12460
12639
  __name: "UidStepper",
12461
12640
  props: {
12462
12641
  steps: {},
@@ -12485,20 +12664,20 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12485
12664
  class: b(["uid-stepper__target", { "uid-stepper__target--selectable": d(r) }]),
12486
12665
  onClick: (e) => d(r) && u("select", r)
12487
12666
  }, {
12488
- default: Y(() => [l("div", ng, [f(r, n.current) === "completed" ? (E(), o(e, {
12667
+ default: Y(() => [l("div", gg, [f(r, n.current) === "completed" ? (E(), o(e, {
12489
12668
  key: 0,
12490
12669
  icon: z(Jt),
12491
12670
  size: 16,
12492
12671
  "aria-hidden": "true"
12493
- }, null, 8, ["icon"])) : (E(), c("span", rg, I(r + 1), 1))]), l("div", ig, [l("span", ag, I(t.label), 1), t.description ? (E(), c("span", og, I(t.description), 1)) : s("", !0)])]),
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)])]),
12494
12673
  _: 2
12495
12674
  }, 1032, [
12496
12675
  "type",
12497
12676
  "class",
12498
12677
  "onClick"
12499
- ]))], 10, tg))), 128))], 10, eg));
12678
+ ]))], 10, hg))), 128))], 10, mg));
12500
12679
  }
12501
- }), cg = /* @__PURE__ */ f({
12680
+ }), Sg = /* @__PURE__ */ f({
12502
12681
  __name: "UidStack",
12503
12682
  props: {
12504
12683
  direction: { default: "column" },
@@ -12544,7 +12723,7 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12544
12723
  _: 3
12545
12724
  }, 8, ["class", "style"]));
12546
12725
  }
12547
- }), lg = /* @__PURE__ */ f({
12726
+ }), Cg = /* @__PURE__ */ f({
12548
12727
  __name: "UidGrid",
12549
12728
  props: {
12550
12729
  cols: { default: 12 },
@@ -12579,7 +12758,7 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12579
12758
  _: 3
12580
12759
  }, 8, ["style"]));
12581
12760
  }
12582
- }), ug = /* @__PURE__ */ f({
12761
+ }), wg = /* @__PURE__ */ f({
12583
12762
  __name: "UidContainer",
12584
12763
  props: {
12585
12764
  size: { default: "lg" },
@@ -12595,7 +12774,7 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12595
12774
  _: 3
12596
12775
  }, 8, ["class"]));
12597
12776
  }
12598
- }), dg = Symbol("uid-wizard"), fg = { class: "uid-wizard" }, pg = /* @__PURE__ */ f({
12777
+ }), Tg = Symbol("uid-wizard"), Eg = { class: "uid-wizard" }, Dg = /* @__PURE__ */ f({
12599
12778
  __name: "UidWizard",
12600
12779
  props: /* @__PURE__ */ _({ steps: {} }, {
12601
12780
  modelValue: { default: 0 },
@@ -12620,7 +12799,7 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12620
12799
  function m(e) {
12621
12800
  i.delete(e);
12622
12801
  }
12623
- return D(dg, {
12802
+ return D(Tg, {
12624
12803
  current: r,
12625
12804
  steps: o,
12626
12805
  isFirst: s,
@@ -12637,9 +12816,9 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12637
12816
  goTo: f,
12638
12817
  isFirst: s,
12639
12818
  isLast: l
12640
- }), (e, t) => (E(), c("div", fg, [M(e.$slots, "default")]));
12819
+ }), (e, t) => (E(), c("div", Eg, [M(e.$slots, "default")]));
12641
12820
  }
12642
- }), mg = ["aria-label"], hg = /* @__PURE__ */ f({
12821
+ }), Og = ["aria-label"], kg = /* @__PURE__ */ f({
12643
12822
  __name: "UidWizardStep",
12644
12823
  props: {
12645
12824
  index: {},
@@ -12649,7 +12828,7 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12649
12828
  }
12650
12829
  },
12651
12830
  setup(e) {
12652
- let t = e, n = Q(), r = g(dg);
12831
+ let t = e, n = Q(), r = g(Tg);
12653
12832
  if (!r) throw Error("UidWizardStep must be inside UidWizard");
12654
12833
  q(() => t.validate, (e, n) => {
12655
12834
  n !== void 0 && r.unregisterValidator(t.index), e !== void 0 && r.registerValidator(t.index, e);
@@ -12660,18 +12839,18 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12660
12839
  class: "uid-wizard-step",
12661
12840
  role: "tabpanel",
12662
12841
  "aria-label": z(n).wizard.step(e.index + 1)
12663
- }, [M(t.$slots, "default")], 8, mg)) : s("", !0);
12842
+ }, [M(t.$slots, "default")], 8, Og)) : s("", !0);
12664
12843
  }
12665
- }), gg = { class: "uid-pattern-header__inner" }, _g = {
12844
+ }), Ag = { class: "uid-pattern-header__inner" }, jg = {
12666
12845
  key: 0,
12667
12846
  class: "uid-pattern-header__logo"
12668
- }, vg = ["aria-label"], yg = {
12847
+ }, Mg = ["aria-label"], Ng = {
12669
12848
  key: 2,
12670
12849
  class: "uid-pattern-header__actions"
12671
- }, bg = {
12850
+ }, Pg = {
12672
12851
  key: 3,
12673
12852
  class: "uid-pattern-header__mobile"
12674
- }, xg = /* @__PURE__ */ f({
12853
+ }, Fg = /* @__PURE__ */ f({
12675
12854
  __name: "UidHeader",
12676
12855
  props: {
12677
12856
  sticky: {
@@ -12693,39 +12872,39 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12693
12872
  "uid-pattern-header--sticky": e.sticky,
12694
12873
  "uid-pattern-header--bordered": e.bordered,
12695
12874
  "uid-pattern-header--transparent": e.transparent
12696
- }]) }, [l("div", gg, [
12697
- n.$slots.logo ? (E(), c("div", _g, [M(n.$slots, "logo")])) : s("", !0),
12875
+ }]) }, [l("div", Ag, [
12876
+ n.$slots.logo ? (E(), c("div", jg, [M(n.$slots, "logo")])) : s("", !0),
12698
12877
  n.$slots.nav ? (E(), c("nav", {
12699
12878
  key: 1,
12700
12879
  class: "uid-pattern-header__nav",
12701
12880
  "aria-label": z(t).header.nav
12702
- }, [M(n.$slots, "nav")], 8, vg)) : s("", !0),
12703
- n.$slots.actions ? (E(), c("div", yg, [M(n.$slots, "actions")])) : s("", !0),
12704
- n.$slots.mobile ? (E(), c("div", bg, [M(n.$slots, "mobile")])) : s("", !0)
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)
12705
12884
  ])], 2));
12706
12885
  }
12707
- }), Sg = { class: "uid-pattern-footer__inner" }, Cg = {
12886
+ }), Ig = { class: "uid-pattern-footer__inner" }, Lg = {
12708
12887
  key: 0,
12709
12888
  class: "uid-pattern-footer__columns"
12710
- }, wg = {
12889
+ }, Rg = {
12711
12890
  key: 1,
12712
12891
  class: "uid-pattern-footer__content"
12713
- }, Tg = {
12892
+ }, zg = {
12714
12893
  key: 2,
12715
12894
  class: "uid-pattern-footer__bottom"
12716
- }, Eg = /* @__PURE__ */ f({
12895
+ }, Bg = /* @__PURE__ */ f({
12717
12896
  __name: "UidFooter",
12718
12897
  props: { variant: { default: "minimal" } },
12719
12898
  setup(e) {
12720
- return (t, n) => (E(), c("footer", { class: b(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", Sg, [t.$slots.columns ? (E(), c("div", Cg, [M(t.$slots, "columns")])) : t.$slots.default ? (E(), c("div", wg, [M(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (E(), c("div", Tg, [M(t.$slots, "bottom")])) : s("", !0)])], 2));
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));
12721
12900
  }
12722
- }), Dg = ["aria-label"], Og = {
12901
+ }), Vg = ["aria-label"], Hg = {
12723
12902
  key: 0,
12724
12903
  class: "uid-pattern-sidebar__header"
12725
- }, kg = ["aria-label"], Ag = {
12904
+ }, Ug = ["aria-label"], Wg = {
12726
12905
  key: 1,
12727
12906
  class: "uid-pattern-sidebar__footer"
12728
- }, jg = /* @__PURE__ */ f({
12907
+ }, Gg = /* @__PURE__ */ f({
12729
12908
  __name: "UidSidebar",
12730
12909
  props: {
12731
12910
  collapsed: {
@@ -12742,22 +12921,22 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12742
12921
  style: x(e.width && !e.collapsed ? { "--uid-sidebar-width": e.width } : void 0),
12743
12922
  "aria-label": z(t).sidebar.label
12744
12923
  }, [
12745
- n.$slots.header ? (E(), c("div", Og, [M(n.$slots, "header")])) : s("", !0),
12924
+ n.$slots.header ? (E(), c("div", Hg, [M(n.$slots, "header")])) : s("", !0),
12746
12925
  l("nav", {
12747
12926
  class: "uid-pattern-sidebar__nav",
12748
12927
  "aria-label": z(t).sidebar.nav
12749
- }, [M(n.$slots, "nav")], 8, kg),
12750
- n.$slots.footer ? (E(), c("div", Ag, [M(n.$slots, "footer")])) : s("", !0)
12751
- ], 14, Dg));
12928
+ }, [M(n.$slots, "nav")], 8, Ug),
12929
+ n.$slots.footer ? (E(), c("div", Wg, [M(n.$slots, "footer")])) : s("", !0)
12930
+ ], 14, Vg));
12752
12931
  }
12753
- }), Mg = {
12932
+ }), Kg = {
12754
12933
  key: 0,
12755
12934
  class: "uid-sidebar-item__icon",
12756
12935
  "aria-hidden": "true"
12757
- }, Ng = { class: "uid-sidebar-item__label" }, Pg = {
12936
+ }, qg = { class: "uid-sidebar-item__label" }, Jg = {
12758
12937
  key: 1,
12759
12938
  class: "uid-sidebar-item__badge"
12760
- }, Fg = /* @__PURE__ */ f({
12939
+ }, Yg = /* @__PURE__ */ f({
12761
12940
  __name: "UidSidebarItem",
12762
12941
  props: {
12763
12942
  href: { default: void 0 },
@@ -12784,9 +12963,9 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12784
12963
  tabindex: e.disabled ? -1 : void 0
12785
12964
  }), {
12786
12965
  default: Y(() => [
12787
- t.$slots.icon ? (E(), c("span", Mg, [M(t.$slots, "icon")])) : s("", !0),
12788
- l("span", Ng, [M(t.$slots, "default")]),
12789
- e.badge === void 0 ? s("", !0) : (E(), c("span", Pg, I(e.badge), 1))
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))
12790
12969
  ]),
12791
12970
  _: 3
12792
12971
  }, 16, [
@@ -12796,10 +12975,10 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12796
12975
  "tabindex"
12797
12976
  ]));
12798
12977
  }
12799
- }), Ig = { class: "uid-sidebar-group" }, Lg = {
12978
+ }), Xg = { class: "uid-sidebar-group" }, Zg = {
12800
12979
  key: 0,
12801
12980
  class: "uid-sidebar-group__title"
12802
- }, Rg = /* @__PURE__ */ f({
12981
+ }, Qg = /* @__PURE__ */ f({
12803
12982
  __name: "UidSidebarGroup",
12804
12983
  props: {
12805
12984
  title: { default: void 0 },
@@ -12809,29 +12988,29 @@ var Ih = { class: "uid-heatmap-matrix__scroll" }, Lh = [
12809
12988
  }
12810
12989
  },
12811
12990
  setup(e) {
12812
- return (t, n) => (E(), c("div", Ig, [e.title ? (E(), c("p", Lg, I(e.title), 1)) : s("", !0), M(t.$slots, "default")]));
12991
+ return (t, n) => (E(), c("div", Xg, [e.title ? (E(), c("p", Zg, I(e.title), 1)) : s("", !0), M(t.$slots, "default")]));
12813
12992
  }
12814
- }), zg = {}, Bg = {
12993
+ }), $g = {}, e_ = {
12815
12994
  class: "uid-sidebar-divider",
12816
12995
  role: "separator",
12817
12996
  "aria-hidden": "true"
12818
12997
  };
12819
- function Vg(e, t) {
12820
- return E(), c("div", Bg);
12998
+ function t_(e, t) {
12999
+ return E(), c("div", e_);
12821
13000
  }
12822
- var Hg = /* @__PURE__ */ Vr(zg, [["render", Vg]]), Ug = { class: "uid-pattern-page-header" }, Wg = {
13001
+ var n_ = /* @__PURE__ */ Vr($g, [["render", t_]]), r_ = { class: "uid-pattern-page-header" }, i_ = {
12823
13002
  key: 0,
12824
13003
  class: "uid-pattern-page-header__breadcrumb"
12825
- }, Gg = { class: "uid-pattern-page-header__row" }, Kg = { class: "uid-pattern-page-header__heading" }, qg = ["aria-label"], Jg = { class: "uid-pattern-page-header__title" }, Yg = {
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_ = {
12826
13005
  key: 0,
12827
13006
  class: "uid-pattern-page-header__description"
12828
- }, Xg = {
13007
+ }, u_ = {
12829
13008
  key: 0,
12830
13009
  class: "uid-pattern-page-header__actions"
12831
- }, Zg = {
13010
+ }, d_ = {
12832
13011
  key: 1,
12833
13012
  class: "uid-pattern-page-header__tabs"
12834
- }, Qg = /* @__PURE__ */ f({
13013
+ }, f_ = /* @__PURE__ */ f({
12835
13014
  __name: "UidPageHeader",
12836
13015
  props: {
12837
13016
  title: { default: void 0 },
@@ -12844,9 +13023,9 @@ var Hg = /* @__PURE__ */ Vr(zg, [["render", Vg]]), Ug = { class: "uid-pattern-pa
12844
13023
  emits: ["back"],
12845
13024
  setup(t, { emit: n }) {
12846
13025
  let r = Q(), i = n;
12847
- return (n, a) => (E(), c("div", Ug, [
12848
- n.$slots.breadcrumb ? (E(), c("div", Wg, [M(n.$slots, "breadcrumb")])) : s("", !0),
12849
- l("div", Gg, [l("div", Kg, [t.back ? (E(), c("button", {
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", {
12850
13029
  key: 0,
12851
13030
  type: "button",
12852
13031
  class: "uid-pattern-page-header__back",
@@ -12855,17 +13034,17 @@ var Hg = /* @__PURE__ */ Vr(zg, [["render", Vg]]), Ug = { class: "uid-pattern-pa
12855
13034
  }, [d(e, {
12856
13035
  icon: z(Ut),
12857
13036
  size: 20
12858
- }, null, 8, ["icon"])], 8, qg)) : s("", !0), l("div", null, [l("h1", Jg, [M(n.$slots, "title", {}, () => [u(I(t.title), 1)])]), t.description || n.$slots.description ? (E(), c("p", Yg, [M(n.$slots, "description", {}, () => [u(I(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (E(), c("div", Xg, [M(n.$slots, "actions")])) : s("", !0)]),
12859
- n.$slots.tabs ? (E(), c("div", Zg, [M(n.$slots, "tabs")])) : s("", !0)
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)
12860
13039
  ]));
12861
13040
  }
12862
- }), $g = { class: "uid-pattern-empty-state" }, e_ = { class: "uid-pattern-empty-state__illustration" }, t_ = { class: "uid-pattern-empty-state__content" }, n_ = { class: "uid-pattern-empty-state__title" }, r_ = {
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" }, __ = {
12863
13042
  key: 0,
12864
13043
  class: "uid-pattern-empty-state__description"
12865
- }, i_ = {
13044
+ }, v_ = {
12866
13045
  key: 0,
12867
13046
  class: "uid-pattern-empty-state__actions"
12868
- }, a_ = /* @__PURE__ */ f({
13047
+ }, y_ = /* @__PURE__ */ f({
12869
13048
  __name: "UidEmptyState",
12870
13049
  props: {
12871
13050
  title: { default: void 0 },
@@ -12873,25 +13052,25 @@ var Hg = /* @__PURE__ */ Vr(zg, [["render", Vg]]), Ug = { class: "uid-pattern-pa
12873
13052
  },
12874
13053
  setup(t) {
12875
13054
  let n = Q();
12876
- return (r, i) => (E(), c("div", $g, [
12877
- l("div", e_, [M(r.$slots, "illustration", {}, () => [d(e, {
13055
+ return (r, i) => (E(), c("div", p_, [
13056
+ l("div", m_, [M(r.$slots, "illustration", {}, () => [d(e, {
12878
13057
  icon: z(sn),
12879
13058
  size: 48
12880
13059
  }, null, 8, ["icon"])])]),
12881
- l("div", t_, [l("h2", n_, [M(r.$slots, "title", {}, () => [u(I(t.title ?? z(n).emptyState.title), 1)])]), t.description || r.$slots.description ? (E(), c("p", r_, [M(r.$slots, "description", {}, () => [u(I(t.description), 1)])])) : s("", !0)]),
12882
- r.$slots.actions ? (E(), c("div", i_, [M(r.$slots, "actions")])) : s("", !0)
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)
12883
13062
  ]));
12884
13063
  }
12885
- }), o_ = { class: "uid-pattern-error-state" }, s_ = { class: "uid-pattern-error-state__illustration" }, c_ = {
13064
+ }), b_ = { class: "uid-pattern-error-state" }, x_ = { class: "uid-pattern-error-state__illustration" }, S_ = {
12886
13065
  key: 0,
12887
13066
  class: "uid-pattern-error-state__code"
12888
- }, l_ = { class: "uid-pattern-error-state__content" }, u_ = { class: "uid-pattern-error-state__title" }, d_ = {
13067
+ }, C_ = { class: "uid-pattern-error-state__content" }, w_ = { class: "uid-pattern-error-state__title" }, T_ = {
12889
13068
  key: 0,
12890
13069
  class: "uid-pattern-error-state__description"
12891
- }, f_ = {
13070
+ }, E_ = {
12892
13071
  key: 1,
12893
13072
  class: "uid-pattern-error-state__actions"
12894
- }, p_ = /* @__PURE__ */ f({
13073
+ }, D_ = /* @__PURE__ */ f({
12895
13074
  __name: "UidErrorState",
12896
13075
  props: {
12897
13076
  code: { default: void 0 },
@@ -12916,23 +13095,23 @@ var Hg = /* @__PURE__ */ Vr(zg, [["render", Vg]]), Ug = { class: "uid-pattern-pa
12916
13095
  description: r.value.errorState.offlineDescription
12917
13096
  }
12918
13097
  })), 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);
12919
- return (n, r) => (E(), c("div", o_, [
12920
- l("div", s_, [M(n.$slots, "illustration", {}, () => [d(e, {
13098
+ return (n, r) => (E(), c("div", b_, [
13099
+ l("div", x_, [M(n.$slots, "illustration", {}, () => [d(e, {
12921
13100
  icon: f.value,
12922
13101
  size: 48
12923
13102
  }, null, 8, ["icon"])])]),
12924
- t.code ? (E(), c("div", c_, I(t.code), 1)) : s("", !0),
12925
- l("div", l_, [l("h2", u_, [M(n.$slots, "title", {}, () => [u(I(p.value), 1)])]), m.value || n.$slots.description ? (E(), c("p", d_, [M(n.$slots, "description", {}, () => [u(I(m.value), 1)])])) : s("", !0)]),
12926
- n.$slots.actions ? (E(), c("div", f_, [M(n.$slots, "actions")])) : s("", !0)
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)
12927
13106
  ]));
12928
13107
  }
12929
- }), m_ = {
13108
+ }), O_ = {
12930
13109
  key: 0,
12931
13110
  class: "uid-layout-simple__header"
12932
- }, h_ = { class: "uid-layout-simple__content" }, g_ = {
13111
+ }, k_ = { class: "uid-layout-simple__content" }, A_ = {
12933
13112
  key: 1,
12934
13113
  class: "uid-layout-simple__footer"
12935
- }, __ = /* @__PURE__ */ f({
13114
+ }, j_ = /* @__PURE__ */ f({
12936
13115
  __name: "UidSimpleLayout",
12937
13116
  props: { full: {
12938
13117
  type: Boolean,
@@ -12940,26 +13119,26 @@ var Hg = /* @__PURE__ */ Vr(zg, [["render", Vg]]), Ug = { class: "uid-pattern-pa
12940
13119
  } },
12941
13120
  setup(e) {
12942
13121
  return (t, n) => (E(), c("div", { class: b(["uid-layout-simple", { "uid-layout-simple--full": e.full }]) }, [
12943
- t.$slots.header ? (E(), c("div", m_, [M(t.$slots, "header")])) : s("", !0),
12944
- l("main", h_, [M(t.$slots, "default")]),
12945
- t.$slots.footer ? (E(), c("div", g_, [M(t.$slots, "footer")])) : s("", !0)
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)
12946
13125
  ], 2));
12947
13126
  }
12948
- }), v_ = Symbol("uid-sidebar-layout");
12949
- function y_() {
12950
- let e = g(v_);
13127
+ }), M_ = Symbol("uid-sidebar-layout");
13128
+ function N_() {
13129
+ let e = g(M_);
12951
13130
  if (!e) throw Error("useSidebar() must be used inside UidSidebarLayout");
12952
13131
  return e;
12953
13132
  }
12954
13133
  //#endregion
12955
13134
  //#region src/layouts/Sidebar/UidSidebarLayout.vue?vue&type=script&setup=true&lang.ts
12956
- var b_ = { class: "uid-layout-sidebar__sidebar" }, x_ = { class: "uid-layout-sidebar__main" }, S_ = {
13135
+ var P_ = { class: "uid-layout-sidebar__sidebar" }, F_ = { class: "uid-layout-sidebar__main" }, I_ = {
12957
13136
  key: 0,
12958
13137
  class: "uid-layout-sidebar__main-header"
12959
- }, C_ = { class: "uid-layout-sidebar__main-content" }, w_ = {
13138
+ }, L_ = { class: "uid-layout-sidebar__main-content" }, R_ = {
12960
13139
  key: 1,
12961
13140
  class: "uid-layout-sidebar__main-footer"
12962
- }, T_ = /* @__PURE__ */ f({
13141
+ }, z_ = /* @__PURE__ */ f({
12963
13142
  __name: "UidSidebarLayout",
12964
13143
  props: /* @__PURE__ */ _({ sidebarWidth: { default: void 0 } }, {
12965
13144
  modelValue: {
@@ -12977,7 +13156,7 @@ var b_ = { class: "uid-layout-sidebar__sidebar" }, x_ = { class: "uid-layout-sid
12977
13156
  }, o = () => {
12978
13157
  n.value = !0;
12979
13158
  };
12980
- D(v_, {
13159
+ D(M_, {
12981
13160
  collapsed: n,
12982
13161
  toggle: r,
12983
13162
  open: i,
@@ -12988,58 +13167,58 @@ var b_ = { class: "uid-layout-sidebar__sidebar" }, x_ = { class: "uid-layout-sid
12988
13167
  class: b(["uid-layout-sidebar", { "uid-layout-sidebar--collapsed": n.value }]),
12989
13168
  style: x(u.value)
12990
13169
  }, [
12991
- l("aside", b_, [M(e.$slots, "sidebar")]),
13170
+ l("aside", P_, [M(e.$slots, "sidebar")]),
12992
13171
  l("div", {
12993
13172
  class: "uid-layout-sidebar__backdrop",
12994
13173
  "aria-hidden": "true",
12995
13174
  onClick: o
12996
13175
  }),
12997
- l("div", x_, [
12998
- e.$slots.header ? (E(), c("div", S_, [M(e.$slots, "header")])) : s("", !0),
12999
- l("main", C_, [M(e.$slots, "default")]),
13000
- e.$slots.footer ? (E(), c("div", w_, [M(e.$slots, "footer")])) : s("", !0)
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)
13001
13180
  ])
13002
13181
  ], 6));
13003
13182
  }
13004
- }), E_ = {
13183
+ }), B_ = {
13005
13184
  key: 0,
13006
13185
  class: "uid-layout-auth__brand"
13007
- }, D_ = { class: "uid-layout-auth__main" }, O_ = { class: "uid-layout-auth__card" }, k_ = {
13186
+ }, V_ = { class: "uid-layout-auth__main" }, H_ = { class: "uid-layout-auth__card" }, U_ = {
13008
13187
  key: 0,
13009
13188
  class: "uid-layout-auth__footer"
13010
- }, A_ = /* @__PURE__ */ f({
13189
+ }, W_ = /* @__PURE__ */ f({
13011
13190
  __name: "UidAuthLayout",
13012
13191
  props: { variant: { default: "centered" } },
13013
13192
  setup(e) {
13014
- 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", E_, [M(t.$slots, "brand")])) : s("", !0), l("div", D_, [l("div", O_, [M(t.$slots, "default")]), t.$slots.footer ? (E(), c("div", k_, [M(t.$slots, "footer")])) : s("", !0)])], 2));
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));
13015
13194
  }
13016
- }), j_ = { class: "uid-layout-wizard" }, M_ = {
13195
+ }), G_ = { class: "uid-layout-wizard" }, K_ = {
13017
13196
  key: 0,
13018
13197
  class: "uid-layout-wizard__header"
13019
- }, N_ = {
13198
+ }, q_ = {
13020
13199
  key: 1,
13021
13200
  class: "uid-layout-wizard__stepper"
13022
- }, P_ = { class: "uid-layout-wizard__content" }, F_ = {
13201
+ }, J_ = { class: "uid-layout-wizard__content" }, Y_ = {
13023
13202
  key: 2,
13024
13203
  class: "uid-layout-wizard__nav"
13025
- }, I_ = /* @__PURE__ */ f({
13204
+ }, X_ = /* @__PURE__ */ f({
13026
13205
  __name: "UidWizardLayout",
13027
13206
  setup(e) {
13028
- return (e, t) => (E(), c("div", j_, [
13029
- e.$slots.header ? (E(), c("div", M_, [M(e.$slots, "header")])) : s("", !0),
13030
- e.$slots.stepper ? (E(), c("div", N_, [M(e.$slots, "stepper")])) : s("", !0),
13031
- l("main", P_, [M(e.$slots, "default")]),
13032
- e.$slots.nav ? (E(), c("div", F_, [M(e.$slots, "nav")])) : s("", !0)
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)
13033
13212
  ]));
13034
13213
  }
13035
- }), L_ = /* @__PURE__ */ f({
13214
+ }), Z_ = /* @__PURE__ */ f({
13036
13215
  __name: "UidLocaleProvider",
13037
13216
  props: { locale: {} },
13038
13217
  setup(e) {
13039
13218
  let t = e;
13040
13219
  return Mt(a(() => t.locale)), (e, t) => M(e.$slots, "default");
13041
13220
  }
13042
- }), R_ = {
13221
+ }), Q_ = {
13043
13222
  code: "ru-RU",
13044
13223
  common: {
13045
13224
  clear: "Очистить",
@@ -13239,6 +13418,11 @@ var b_ = { class: "uid-layout-sidebar__sidebar" }, x_ = { class: "uid-layout-sid
13239
13418
  slide: (e) => `Слайд ${e}`
13240
13419
  },
13241
13420
  stepper: { label: (e, t) => `Шаги (текущий: ${e} из ${t})` },
13421
+ board: {
13422
+ label: "Доска",
13423
+ empty: "Пусто",
13424
+ wipExceeded: "Превышен лимит незавершённой работы"
13425
+ },
13242
13426
  transfer: {
13243
13427
  available: "Доступно",
13244
13428
  selected: "Выбрано",
@@ -13291,19 +13475,19 @@ var b_ = { class: "uid-layout-sidebar__sidebar" }, x_ = { class: "uid-layout-sid
13291
13475
  sameAs: "Значения не совпадают",
13292
13476
  unknown: (e) => `Ошибка валидации: ${e}`
13293
13477
  }
13294
- }, z_ = A("light");
13295
- function B_() {
13478
+ }, $_ = A("light");
13479
+ function ev() {
13296
13480
  let e = null;
13297
13481
  function t(e) {
13298
- z_.value = e, document.documentElement.dataset.theme = e;
13482
+ $_.value = e, document.documentElement.dataset.theme = e;
13299
13483
  }
13300
13484
  function n() {
13301
- t(z_.value === "light" ? "dark" : "light");
13485
+ t($_.value === "light" ? "dark" : "light");
13302
13486
  }
13303
13487
  function r() {
13304
13488
  let e = document.documentElement.dataset.theme;
13305
13489
  if (e === "light" || e === "dark") {
13306
- z_.value = e;
13490
+ $_.value = e;
13307
13491
  return;
13308
13492
  }
13309
13493
  let n = window.matchMedia("(prefers-color-scheme: dark)").matches;
@@ -13315,7 +13499,7 @@ function B_() {
13315
13499
  e.addEventListener("change", n), w(() => e?.removeEventListener("change", n));
13316
13500
  }
13317
13501
  return {
13318
- theme: z_,
13502
+ theme: $_,
13319
13503
  setTheme: t,
13320
13504
  toggle: n,
13321
13505
  initFromSystem: r,
@@ -13324,27 +13508,27 @@ function B_() {
13324
13508
  }
13325
13509
  //#endregion
13326
13510
  //#region src/composables/useWizard.ts
13327
- function V_() {
13328
- let e = g(dg);
13511
+ function tv() {
13512
+ let e = g(Tg);
13329
13513
  if (!e) throw Error("useWizard() must be used inside UidWizard");
13330
13514
  return e;
13331
13515
  }
13332
13516
  //#endregion
13333
13517
  //#region src/composables/useCommandPalette.ts
13334
- var H_ = A(!1);
13335
- function U_() {
13518
+ var nv = A(!1);
13519
+ function rv() {
13336
13520
  return {
13337
- open: H_,
13521
+ open: nv,
13338
13522
  show: () => {
13339
- H_.value = !0;
13523
+ nv.value = !0;
13340
13524
  },
13341
13525
  hide: () => {
13342
- H_.value = !1;
13526
+ nv.value = !1;
13343
13527
  },
13344
13528
  toggle: () => {
13345
- H_.value = !H_.value;
13529
+ nv.value = !nv.value;
13346
13530
  }
13347
13531
  };
13348
13532
  }
13349
13533
  //#endregion
13350
- export { Du as PLAYBACK_RATES, aa as UidAccordion, da as UidAccordionItem, qf as UidAffix, Rn as UidAlert, np as UidAnchor, ff as UidAudio, A_ as UidAuthLayout, Yi as UidAvatar, Qi as UidAvatarGroup, Gf as UidBackTop, Rt as UidBadge, fi as UidBreadcrumb, yi as UidBreadcrumbItem, ae as UidButton, Wm as UidCalendar, Ki as UidCard, zp as UidCarousel, Am as UidCascader, $e as UidCheckbox, at as UidCheckboxGroup, Cl as UidCode, Do as UidColorPicker, $s as UidCombobox, Ro as UidCommand, ug as UidContainer, qa as UidDatePicker, Ps as UidDateRangePicker, Lf as UidDescriptionItem, Nf as UidDescriptionList, na as UidDivider, br as UidDrawer, a_ as UidEmptyState, p_ as UidErrorState, Rc as UidFileUpload, Eg as UidFooter, Ot as UidFormField, xh as UidGauge, lg as UidGrid, xg as UidHeader, kh as UidHeatmap, $h as UidHeatmapMatrix, e as UidIcon, pu as UidImage, Ii as UidInfiniteScroll, Ue as UidInput, Ct as UidLabel, bi as UidLink, Ni as UidLoadMore, L_ 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, Qg as UidPageHeader, Bi as UidPageSize, Ei as UidPagination, Ai as UidPaginationCursor, kr as UidPopover, er as UidProgress, oh as UidProgressRing, lt as UidRadio, ht as UidRadioGroup, vf as UidRating, Uf as UidResult, Fa as UidSelect, jg as UidSidebar, Hg as UidSidebarDivider, Rg as UidSidebarGroup, Fg as UidSidebarItem, T_ as UidSidebarLayout, __ as UidSimpleLayout, Lt as UidSkeleton, no as UidSlider, eh as UidSparkline, Ft as UidSpinner, xf as UidSplitter, cg as UidStack, Af as UidStat, sg 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, dm as UidTransfer, cc as UidTreeItem, Ap as UidTreeSelect, uc as UidTreeView, zd as UidVideo, Ja as UidVirtualList, Xf as UidWatermark, pg as UidWizard, I_ as UidWizardLayout, hg 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, Ph as heatmapColorAt, Ah 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, Mh as resolveHeatmapStops, R_ 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, U_ as useCommandPalette, Pe as useField, nr as useFocusTrap, Q as useLocale, Yl as useMarkdownBlockRenderers, gd as useMediaController, Cr as usePopover, ir as useScrollLock, y_ as useSidebar, B_ as useTheme, qn as useToast, V_ as useWizard };
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 };