@dskripchenko/ui 1.11.0 → 1.12.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
@@ -244,6 +244,16 @@ var Oe = [
244
244
  label: "Палитра команд"
245
245
  },
246
246
  anchor: { label: "Содержание" },
247
+ markdown: {
248
+ toc: "На этой странице",
249
+ note: "Примечание",
250
+ tip: "Совет",
251
+ important: "Важно",
252
+ warning: "Внимание",
253
+ caution: "Осторожно",
254
+ blockPending: "Отрисовка…",
255
+ blockError: "Не удалось отрисовать блок"
256
+ },
247
257
  heatmap: {
248
258
  summary: (e) => `Тепловая карта активности: ${e} событий`,
249
259
  less: "Меньше",
@@ -6228,19 +6238,461 @@ var Lc = {
6228
6238
  class: "uid-code__line-number"
6229
6239
  }, P(t + 1), 1))), 128))])) : s("", !0), l("pre", Uc, [l("code", { "data-language": n.language || void 0 }, [A(i.$slots, "default", {}, () => [h.value ? (T(), o(g, { key: 0 })) : (T(), c(t, { key: 1 }, [u(P(n.code), 1)], 64))])], 8, Wc)])])], 6));
6230
6240
  }
6231
- }), Kc = ["data-status"], qc = ["aria-label"], Jc = {
6241
+ }), Kc = {
6242
+ "&": "&",
6243
+ "<": "&lt;",
6244
+ ">": "&gt;",
6245
+ "\"": "&quot;",
6246
+ "'": "&#39;"
6247
+ };
6248
+ function qc(e) {
6249
+ return e.replace(/[&<>"']/g, (e) => Kc[e] ?? e);
6250
+ }
6251
+ function Jc(e) {
6252
+ return e.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, "\"").replace(/&#39;/g, "'").replace(/&amp;/g, "&");
6253
+ }
6254
+ function Yc() {
6255
+ let e = /* @__PURE__ */ new Map();
6256
+ return (t) => {
6257
+ let n = t.toLowerCase().trim().replace(/[^\p{L}\p{N}\s_-]/gu, "").replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "") || "section", r = e.get(n) ?? 0;
6258
+ return e.set(n, r + 1), r === 0 ? n : `${n}-${r}`;
6259
+ };
6260
+ }
6261
+ var Xc = {
6262
+ note: "Note",
6263
+ tip: "Tip",
6264
+ important: "Important",
6265
+ warning: "Warning",
6266
+ caution: "Caution"
6267
+ };
6268
+ function Zc(e) {
6269
+ let t = e.trim(), n = t.replace(/&#0*58;|&colon;/gi, ":").replace(/\s+/g, "").toLowerCase(), r = /^([a-z][a-z0-9+.-]*):/.exec(n);
6270
+ return r && ![
6271
+ "http",
6272
+ "https",
6273
+ "mailto"
6274
+ ].includes(r[1] ?? "") ? null : t;
6275
+ }
6276
+ function Qc(e) {
6277
+ return !/^([a-z][a-z0-9+.-]*:|\/|#|\?)/i.test(e);
6278
+ }
6279
+ function $c(e, t, n = !1) {
6280
+ let r = Jc(e);
6281
+ n && (r = r.replace(/\.md(?=$|[?#])/i, ""));
6282
+ try {
6283
+ let e = /^[a-z][a-z0-9+.-]*:\/\//i.test(t), n = new URL(r, e ? t : `http://base.invalid${t.startsWith("/") ? "" : "/"}${t}`);
6284
+ return qc(e ? n.href : n.pathname + n.search + n.hash);
6285
+ } catch {
6286
+ return e;
6287
+ }
6288
+ }
6289
+ function el(e, t = {}) {
6290
+ let n = [], r = (e) => `${n.push(e) - 1}`, i = e.replace(/`([^`]+)`/g, (e, t) => r(`<code>${t}</code>`));
6291
+ return i = i.replace(/!\[([^\]]*)\]\(([^)\s]+)(?:\s+&quot;[^)]*&quot;)?\)/g, (e, n, i) => {
6292
+ let a = Zc(i);
6293
+ return a === null ? e : (t.imageBase && Qc(a) && (a = $c(a, t.imageBase)), r(`<img src="${a}" alt="${n}" loading="lazy">`));
6294
+ }), i = i.replace(/\[([^\]]+)\]\(([^)\s]+)(?:\s+&quot;[^)]*&quot;)?\)/g, (e, n, i) => {
6295
+ let a = Zc(i);
6296
+ if (a === null) return e;
6297
+ let o = Qc(a);
6298
+ t.linkBase && o && (a = $c(a, t.linkBase, t.stripMdExtension ?? !1));
6299
+ let s = /^(https?:)?\/\//i.test(a) || /^mailto:/i.test(a);
6300
+ return r(t.internalLinksInPlace === !0 && !s ? `<a href="${a}">${n}</a>` : `<a href="${a}" target="_blank" rel="noopener noreferrer">${n}</a>`);
6301
+ }), i = i.replace(/\*\*(?=\S)(.+?)(?<=\S)\*\*/g, "<strong>$1</strong>").replace(/(?<!\w)__(?=\S)(.+?)(?<=\S)__(?!\w)/g, "<strong>$1</strong>").replace(/\*(?=\S)(.+?)(?<=\S)\*/g, "<em>$1</em>").replace(/(?<!\w)_(?=\S)(.+?)(?<=\S)_(?!\w)/g, "<em>$1</em>").replace(/~~(?=\S)(.+?)(?<=\S)~~/g, "<del>$1</del>"), i.replace(/(\d+)/g, (e, t) => n[Number(t)] ?? "");
6302
+ }
6303
+ function tl(e) {
6304
+ return Jc(e.replace(/<[^>]+>/g, ""));
6305
+ }
6306
+ var nl = /^(\s*)([-*+]|\d+[.)])\s+(.*)$/, rl = /^\s*\|?\s*:?-+:?\s*(\|\s*:?-+:?\s*)*\|?\s*$/;
6307
+ function il(e) {
6308
+ let t = e.trim();
6309
+ return t.startsWith("|") && (t = t.slice(1)), t.endsWith("|") && !t.endsWith("\\|") && (t = t.slice(0, -1)), t.split(/(?<!\\)\|/).map((e) => e.trim().replace(/\\\|/g, "|"));
6310
+ }
6311
+ var al = {
6312
+ note: "note",
6313
+ info: "note",
6314
+ tip: "tip",
6315
+ hint: "tip",
6316
+ important: "important",
6317
+ warning: "warning",
6318
+ caution: "caution",
6319
+ danger: "caution",
6320
+ примечание: "note",
6321
+ заметка: "note",
6322
+ совет: "tip",
6323
+ важно: "important",
6324
+ внимание: "warning",
6325
+ предупреждение: "warning",
6326
+ осторожно: "caution"
6327
+ };
6328
+ function ol(e, t) {
6329
+ let n = e;
6330
+ return t.calloutTitles?.[n] ?? Xc[n] ?? Xc.note;
6331
+ }
6332
+ function sl(e, t = {}) {
6333
+ if (!e) return "";
6334
+ let n = qc(e.replace(/\r\n?/g, "\n")).split("\n"), r = [], i = [], a = (e) => el(e, t), o = () => {
6335
+ i.length > 0 && (r.push(`<p>${a(i.join("\n"))}</p>`), i = []);
6336
+ };
6337
+ for (let e = 0; e < n.length; e++) {
6338
+ let s = n[e] ?? "", c = /^\s*(```|~~~)\s*([\w+#.-]*)[^`]*$/.exec(s);
6339
+ if (c) {
6340
+ o();
6341
+ let t = [];
6342
+ for (e++; e < n.length && !(n[e] ?? "").trim().startsWith(c[1] ?? "```");) t.push(n[e] ?? ""), e++;
6343
+ let i = c[2] ? ` class="language-${c[2]}"` : "";
6344
+ r.push(`<pre><code${i}>${t.join("\n")}</code></pre>`);
6345
+ continue;
6346
+ }
6347
+ if (s.trim() === "") {
6348
+ o();
6349
+ continue;
6350
+ }
6351
+ let l = /^(#{1,6})\s+(.*?)\s*#*\s*$/.exec(s);
6352
+ if (l) {
6353
+ o();
6354
+ let e = l[1]?.length ?? 1, n = a(l[2] ?? "");
6355
+ if (t.slugger) {
6356
+ let i = tl(n), a = t.slugger(i);
6357
+ t.onHeading?.({
6358
+ level: e,
6359
+ text: i,
6360
+ id: a
6361
+ }), r.push(`<h${e} id="${qc(a)}">${n}</h${e}>`);
6362
+ } else r.push(`<h${e}>${n}</h${e}>`);
6363
+ continue;
6364
+ }
6365
+ if (/^\s*([-*_])(\s*\1){2,}\s*$/.test(s)) {
6366
+ o(), r.push("<hr>");
6367
+ continue;
6368
+ }
6369
+ if (s.includes("|") && rl.test(n[e + 1] ?? "") && (n[e + 1] ?? "").includes("|")) {
6370
+ o();
6371
+ let t = il(s), i = il(n[e + 1] ?? "").map((e) => {
6372
+ let t = e.startsWith(":"), n = e.endsWith(":");
6373
+ return t && n ? "center" : n ? "right" : t ? "left" : "";
6374
+ }), c = (e, t, n) => `<${e}${i[n] ? ` style="text-align:${i[n]}"` : ""}>${a(t)}</${e}>`, l = [];
6375
+ for (e += 2; e < n.length && (n[e] ?? "").includes("|") && (n[e] ?? "").trim() !== "";) {
6376
+ let r = il(n[e] ?? "");
6377
+ l.push(`<tr>${t.map((e, t) => c("td", r[t] ?? "", t)).join("")}</tr>`), e++;
6378
+ }
6379
+ e--, r.push(`<div class="uid-markdown__table"><table><thead><tr>${t.map((e, t) => c("th", e, t)).join("")}</tr></thead><tbody>${l.join("")}</tbody></table></div>`);
6380
+ continue;
6381
+ }
6382
+ if (/^\s*&gt;/.test(s)) {
6383
+ o();
6384
+ let i = [];
6385
+ for (; e < n.length && /^\s*&gt;/.test(n[e] ?? "");) i.push((n[e] ?? "").replace(/^\s*&gt;\s?/, "")), e++;
6386
+ e--, r.push(dl(i, t));
6387
+ continue;
6388
+ }
6389
+ if (nl.test(s)) {
6390
+ o();
6391
+ let i = ul(n, e, t);
6392
+ r.push(i.html), e = i.next - 1;
6393
+ continue;
6394
+ }
6395
+ i.push(s);
6396
+ }
6397
+ return o(), r.join("\n");
6398
+ }
6399
+ function cl(e) {
6400
+ return (/^[ \t]*/.exec(e)?.[0] ?? "").replace(/\t/g, " ").length;
6401
+ }
6402
+ function ll(e) {
6403
+ return /^\s*(#{1,6}\s|&gt;|```|~~~|\|)/.test(e) || /^\s*([-*_])(\s*\1){2,}\s*$/.test(e);
6404
+ }
6405
+ function ul(e, t, n) {
6406
+ let r = nl.exec(e[t] ?? ""), i = cl(r?.[1] ?? ""), a = /\d/.test(r?.[2] ?? ""), o = [], s = t;
6407
+ for (; s < e.length;) {
6408
+ let t = nl.exec(e[s] ?? "");
6409
+ if (!t || cl(t[1] ?? "") > i + 1 || cl(t[1] ?? "") < i || /\d/.test(t[2] ?? "") !== a) break;
6410
+ let r = [t[3] ?? ""], c = [];
6411
+ for (s++; s < e.length;) {
6412
+ let t = e[s] ?? "";
6413
+ if (t.trim() === "") {
6414
+ let t = s + 1;
6415
+ for (; t < e.length && (e[t] ?? "").trim() === "";) t++;
6416
+ if (t < e.length && cl(e[t] ?? "") > i + 1) {
6417
+ for (; s < t; s++) c.push("");
6418
+ continue;
6419
+ }
6420
+ break;
6421
+ }
6422
+ if (cl(t) > i + 1) {
6423
+ c.push(t), s++;
6424
+ continue;
6425
+ }
6426
+ if (c.length === 0 && !nl.test(t) && !ll(t)) {
6427
+ r.push(t.trim()), s++;
6428
+ continue;
6429
+ }
6430
+ break;
6431
+ }
6432
+ let l = el(r.join("\n"), n);
6433
+ if (c.some((e) => e.trim() !== "")) {
6434
+ let e = Math.min(...c.filter((e) => e.trim() !== "").map(cl)), t = c.map((t) => t.replace(/\t/g, " ").slice(e));
6435
+ l += fl(t, n);
6436
+ }
6437
+ o.push(`<li>${l}</li>`);
6438
+ let u = s;
6439
+ for (; u < e.length && (e[u] ?? "").trim() === "";) u++;
6440
+ let d = nl.exec(e[u] ?? "");
6441
+ u > s && d && cl(d[1] ?? "") <= i + 1 && cl(d[1] ?? "") >= i && /\d/.test(d[2] ?? "") === a && (s = u);
6442
+ }
6443
+ let c = a ? "ol" : "ul", l = a ? Number.parseInt(r?.[2] ?? "1", 10) : 1;
6444
+ return {
6445
+ html: `<${c}${a && l !== 1 && Number.isFinite(l) ? ` start="${l}"` : ""}>${o.join("")}</${c}>`,
6446
+ next: s
6447
+ };
6448
+ }
6449
+ function dl(e, t) {
6450
+ let n = (e[0] ?? "").trim(), r = /^\[!(\w+)\]\s*$/.exec(n);
6451
+ if (r) {
6452
+ let n = al[(r[1] ?? "").toLowerCase()];
6453
+ if (n) return `<blockquote class="uid-markdown__callout uid-markdown__callout--${n}">${`<p class="uid-markdown__callout-title">${qc(ol(n, t))}</p>`}${fl(e.slice(1), t)}</blockquote>`;
6454
+ }
6455
+ let i = /^\*\*([^*]+?):?\*\*:?/.exec(n);
6456
+ if (i) {
6457
+ let n = al[(i[1] ?? "").trim().toLowerCase()];
6458
+ if (n) return `<blockquote class="uid-markdown__callout uid-markdown__callout--${n}">${fl(e, t)}</blockquote>`;
6459
+ }
6460
+ return `<blockquote>${fl(e, t)}</blockquote>`;
6461
+ }
6462
+ function fl(e, t) {
6463
+ return sl(Jc(e.join("\n")), t);
6464
+ }
6465
+ function pl(e) {
6466
+ if (!e) return [];
6467
+ let t = e.replace(/\r\n?/g, "\n").split("\n"), n = [], r = [], i = () => {
6468
+ r.some((e) => e.trim() !== "") && n.push({
6469
+ kind: "text",
6470
+ source: r.join("\n")
6471
+ }), r = [];
6472
+ };
6473
+ for (let e = 0; e < t.length; e++) {
6474
+ let a = t[e] ?? "", o = /^ {0,3}(`{3,}|~{3,})\s*([\w+#.-]*)[^`]*$/.exec(a);
6475
+ if (!o) {
6476
+ r.push(a);
6477
+ continue;
6478
+ }
6479
+ i();
6480
+ let s = o[1] ?? "```", c = [];
6481
+ for (e++; e < t.length && !(t[e] ?? "").trim().startsWith(s);) c.push(t[e] ?? ""), e++;
6482
+ n.push({
6483
+ kind: "code",
6484
+ code: c.join("\n"),
6485
+ language: (o[2] ?? "").toLowerCase()
6486
+ });
6487
+ }
6488
+ return i(), n;
6489
+ }
6490
+ //#endregion
6491
+ //#region src/components/Markdown/blockRenderers.ts
6492
+ var ml = Symbol("UidMarkdownBlockRenderers");
6493
+ function hl(e) {
6494
+ E(ml, e);
6495
+ }
6496
+ function gl() {
6497
+ return h(ml, {});
6498
+ }
6499
+ //#endregion
6500
+ //#region src/components/Markdown/UidMarkdown.vue?vue&type=script&setup=true&lang.ts
6501
+ var _l = ["innerHTML"], vl = ["data-language", "innerHTML"], yl = ["data-language"], bl = ["data-language"], xl = {
6502
+ class: "uid-markdown__block-error-message",
6503
+ role: "alert"
6504
+ }, Sl = ["aria-label"], Cl = { class: "uid-markdown__toc-title" }, wl = ["href", "onClick"], Tl = /* @__PURE__ */ f({
6505
+ __name: "UidMarkdown",
6506
+ props: {
6507
+ source: { default: "" },
6508
+ toc: {
6509
+ type: Boolean,
6510
+ default: !1
6511
+ },
6512
+ tocDepth: { default: 3 },
6513
+ tocLabel: { default: void 0 },
6514
+ linkBase: { default: void 0 },
6515
+ stripMdExtension: {
6516
+ type: Boolean,
6517
+ default: void 0
6518
+ },
6519
+ imageBase: { default: void 0 },
6520
+ internalLinksInPlace: {
6521
+ type: Boolean,
6522
+ default: !0
6523
+ },
6524
+ calloutTitles: { default: void 0 },
6525
+ blockRenderers: { default: void 0 }
6526
+ },
6527
+ setup(e) {
6528
+ let n = e, r = $(), i = gl(), u = {
6529
+ blade: "html",
6530
+ console: "bash",
6531
+ env: "bash",
6532
+ dotenv: "bash",
6533
+ terminal: "bash",
6534
+ ps1: "bash",
6535
+ jsonc: "json",
6536
+ json5: "json"
6537
+ }, f = N([]), p = N([]), m = 0;
6538
+ function h(e, t, n) {
6539
+ if (t !== m) return;
6540
+ let r = f.value[e];
6541
+ if (!r || r.kind !== "custom") return;
6542
+ let i = f.value.slice();
6543
+ i[e] = n.error !== void 0 || n.html === void 0 ? {
6544
+ ...r,
6545
+ state: "error",
6546
+ error: n.error ?? ""
6547
+ } : {
6548
+ ...r,
6549
+ state: "done",
6550
+ html: n.html
6551
+ }, f.value = i;
6552
+ }
6553
+ function g(e) {
6554
+ return e instanceof Error ? e.message : String(e);
6555
+ }
6556
+ function _() {
6557
+ let e = ++m, t = {
6558
+ ...i,
6559
+ ...n.blockRenderers ?? {}
6560
+ }, a = Yc(), o = [], s = {
6561
+ ...r.value.markdown,
6562
+ ...n.calloutTitles ?? {}
6563
+ }, c = [], l = 0;
6564
+ f.value = pl(n.source).map((e, r) => {
6565
+ if (e.kind === "text") return {
6566
+ kind: "html",
6567
+ html: sl(e.source, {
6568
+ slugger: a,
6569
+ onHeading: (e) => o.push(e),
6570
+ linkBase: n.linkBase ?? null,
6571
+ stripMdExtension: n.stripMdExtension ?? !!n.linkBase,
6572
+ imageBase: n.imageBase ?? null,
6573
+ internalLinksInPlace: n.internalLinksInPlace,
6574
+ calloutTitles: s
6575
+ })
6576
+ };
6577
+ let i = e.language ? t[e.language] : void 0, d = {
6578
+ language: e.language,
6579
+ index: l++
6580
+ };
6581
+ return i ? (c.push({
6582
+ index: r,
6583
+ run: () => i(e.code, d)
6584
+ }), {
6585
+ kind: "custom",
6586
+ code: e.code,
6587
+ language: e.language,
6588
+ state: "pending"
6589
+ }) : {
6590
+ kind: "code",
6591
+ code: e.code,
6592
+ language: u[e.language] ?? e.language
6593
+ };
6594
+ }), p.value = o;
6595
+ for (let { index: t, run: n } of c) {
6596
+ let r;
6597
+ try {
6598
+ r = n();
6599
+ } catch (n) {
6600
+ h(t, e, { error: g(n) });
6601
+ continue;
6602
+ }
6603
+ r && typeof r.then == "function" ? r.then((n) => h(t, e, n ?? { error: "" }), (n) => h(t, e, { error: g(n) })) : h(t, e, r ?? { error: "" });
6604
+ }
6605
+ }
6606
+ G(() => [
6607
+ n.source,
6608
+ n.linkBase,
6609
+ n.stripMdExtension,
6610
+ n.imageBase,
6611
+ n.internalLinksInPlace,
6612
+ n.calloutTitles,
6613
+ n.blockRenderers,
6614
+ r.value
6615
+ ], _, { immediate: !0 });
6616
+ let b = a(() => Math.min(6, Math.max(2, n.tocDepth))), x = a(() => n.tocLabel || r.value.markdown.toc), C = a(() => n.toc ? p.value.filter((e) => e.level >= 2 && e.level <= b.value) : []), w = N(null);
6617
+ function E(e, t = !0) {
6618
+ if (!e || !w.value) return !1;
6619
+ let n = Array.from(w.value.querySelectorAll("[id]")).find((t) => t.id === e);
6620
+ return n ? (n.scrollIntoView?.({
6621
+ behavior: t ? "smooth" : "auto",
6622
+ block: "start"
6623
+ }), !0) : !1;
6624
+ }
6625
+ function D(e) {
6626
+ E(e) && typeof history < "u" && history.replaceState(history.state, "", `#${encodeURIComponent(e)}`);
6627
+ }
6628
+ function O(e) {
6629
+ if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return;
6630
+ let t = (e.target?.closest?.("a"))?.getAttribute("href") ?? "";
6631
+ t.startsWith("#") && (e.preventDefault(), D(decodeURIComponent(t.slice(1))));
6632
+ }
6633
+ return S(() => {
6634
+ typeof window > "u" || !window.location.hash || v(() => E(decodeURIComponent(window.location.hash.slice(1)), !1));
6635
+ }), (e, n) => (T(), c("div", {
6636
+ ref_key: "root",
6637
+ ref: w,
6638
+ class: y(["uid-markdown", { "uid-markdown--toc": C.value.length > 0 }])
6639
+ }, [l("div", {
6640
+ class: "uid-markdown__body",
6641
+ onClick: O
6642
+ }, [(T(!0), c(t, null, k(f.value, (e, n) => (T(), c(t, { key: n }, [e.kind === "html" ? (T(), c("div", {
6643
+ key: 0,
6644
+ class: "uid-markdown__html",
6645
+ innerHTML: e.html
6646
+ }, null, 8, _l)) : e.kind === "code" ? (T(), o(Gc, {
6647
+ key: 1,
6648
+ class: "uid-markdown__code",
6649
+ code: e.code,
6650
+ language: e.language || void 0,
6651
+ copy: ""
6652
+ }, null, 8, ["code", "language"])) : e.state === "done" ? (T(), c("div", {
6653
+ key: 2,
6654
+ class: "uid-markdown__block",
6655
+ "data-language": e.language,
6656
+ innerHTML: e.html
6657
+ }, null, 8, vl)) : e.state === "pending" ? (T(), c("div", {
6658
+ key: 3,
6659
+ class: "uid-markdown__block uid-markdown__block--pending",
6660
+ "data-language": e.language,
6661
+ "aria-busy": "true"
6662
+ }, P(L(r).markdown.blockPending), 9, yl)) : (T(), c("div", {
6663
+ key: 4,
6664
+ class: "uid-markdown__block-error",
6665
+ "data-language": e.language
6666
+ }, [l("p", xl, P(e.error ? `${L(r).markdown.blockError}: ${e.error}` : L(r).markdown.blockError), 1), d(Gc, {
6667
+ class: "uid-markdown__code",
6668
+ code: e.code,
6669
+ language: e.language || void 0,
6670
+ copy: ""
6671
+ }, null, 8, ["code", "language"])], 8, bl))], 64))), 128))]), C.value.length > 0 ? (T(), c("nav", {
6672
+ key: 0,
6673
+ class: "uid-markdown__toc",
6674
+ "aria-label": x.value
6675
+ }, [l("div", Cl, P(x.value), 1), l("ul", null, [(T(!0), c(t, null, k(C.value, (e) => (T(), c("li", {
6676
+ key: e.id,
6677
+ class: y(["uid-markdown__toc-item", `uid-markdown__toc-item--l${e.level}`])
6678
+ }, [l("a", {
6679
+ href: `#${e.id}`,
6680
+ onClick: X((t) => D(e.id), ["prevent"])
6681
+ }, P(e.text), 9, wl)], 2))), 128))])], 8, Sl)) : s("", !0)], 2));
6682
+ }
6683
+ }), El = ["data-status"], Dl = ["aria-label"], Ol = {
6232
6684
  key: 0,
6233
6685
  class: "uid-image__placeholder",
6234
6686
  "aria-hidden": "true"
6235
- }, Yc = ["aria-label"], Xc = [
6687
+ }, kl = ["aria-label"], Al = [
6236
6688
  "src",
6237
6689
  "alt",
6238
6690
  "loading"
6239
- ], Zc = [
6691
+ ], jl = [
6240
6692
  "src",
6241
6693
  "alt",
6242
6694
  "loading"
6243
- ], Qc = { class: "uid-image__preview" }, $c = ["src", "alt"], el = /* @__PURE__ */ f({
6695
+ ], Ml = { class: "uid-image__preview" }, Nl = ["src", "alt"], Pl = /* @__PURE__ */ f({
6244
6696
  __name: "UidImage",
6245
6697
  props: {
6246
6698
  src: {},
@@ -6310,7 +6762,7 @@ var Lc = {
6310
6762
  }, [A(r.$slots, "fallback", {}, () => [d(e, {
6311
6763
  icon: L(_e),
6312
6764
  size: 24
6313
- }, null, 8, ["icon"])])], 8, qc)) : (T(), c(t, { key: 1 }, [p.value === "loading" ? (T(), c("div", Jc, [A(r.$slots, "placeholder")])) : s("", !0), _.value ? (T(), c("button", {
6765
+ }, null, 8, ["icon"])])], 8, Dl)) : (T(), c(t, { key: 1 }, [p.value === "loading" ? (T(), c("div", Ol, [A(r.$slots, "placeholder")])) : s("", !0), _.value ? (T(), c("button", {
6314
6766
  key: 1,
6315
6767
  type: "button",
6316
6768
  class: "uid-image__trigger",
@@ -6325,7 +6777,7 @@ var Lc = {
6325
6777
  decoding: "async",
6326
6778
  onLoad: C,
6327
6779
  onError: w
6328
- }, null, 40, Xc)], 8, Yc)) : (T(), c("img", {
6780
+ }, null, 40, Al)], 8, kl)) : (T(), c("img", {
6329
6781
  key: 2,
6330
6782
  class: "uid-image__img",
6331
6783
  src: g.value,
@@ -6334,40 +6786,40 @@ var Lc = {
6334
6786
  decoding: "async",
6335
6787
  onLoad: C,
6336
6788
  onError: w
6337
- }, null, 40, Zc))], 64)), n.preview ? (T(), o(Gn, {
6789
+ }, null, 40, jl))], 64)), n.preview ? (T(), o(Gn, {
6338
6790
  key: 2,
6339
6791
  modelValue: h.value,
6340
6792
  "onUpdate:modelValue": i[0] ||= (e) => h.value = e,
6341
6793
  size: "full",
6342
6794
  title: n.alt
6343
6795
  }, {
6344
- default: q(() => [l("div", Qc, [l("img", {
6796
+ default: q(() => [l("div", Ml, [l("img", {
6345
6797
  class: "uid-image__preview-img",
6346
6798
  src: n.previewSrc || g.value,
6347
6799
  alt: n.alt
6348
- }, null, 8, $c)])]),
6800
+ }, null, 8, Nl)])]),
6349
6801
  _: 1
6350
- }, 8, ["modelValue", "title"])) : s("", !0)], 14, Kc));
6802
+ }, 8, ["modelValue", "title"])) : s("", !0)], 14, El));
6351
6803
  }
6352
- }), tl = [
6804
+ }), Fl = [
6353
6805
  "aria-valuemax",
6354
6806
  "aria-valuenow",
6355
6807
  "aria-readonly",
6356
6808
  "aria-disabled",
6357
6809
  "aria-label"
6358
- ], nl = [
6810
+ ], Il = [
6359
6811
  "tabindex",
6360
6812
  "aria-label",
6361
6813
  "onClick",
6362
6814
  "onMousemove",
6363
6815
  "onKeydown"
6364
- ], rl = {
6816
+ ], Ll = {
6365
6817
  class: "uid-rating__icon",
6366
6818
  "aria-hidden": "true"
6367
- }, il = ["data-half"], al = {
6819
+ }, Rl = ["data-half"], zl = {
6368
6820
  key: 0,
6369
6821
  class: "uid-rating__label"
6370
- }, ol = /* @__PURE__ */ f({
6822
+ }, Bl = /* @__PURE__ */ f({
6371
6823
  __name: "UidRating",
6372
6824
  props: /* @__PURE__ */ g({
6373
6825
  max: { default: 5 },
@@ -6472,21 +6924,21 @@ var Lc = {
6472
6924
  onClick: (e) => x(e, t),
6473
6925
  onMousemove: (e) => S(e, t),
6474
6926
  onKeydown: (e) => w(e, t)
6475
- }, [l("span", rl, [d(e, { icon: _.value }, null, 8, ["icon"])]), v(t).full ? (T(), c("span", {
6927
+ }, [l("span", Ll, [d(e, { icon: _.value }, null, 8, ["icon"])]), v(t).full ? (T(), c("span", {
6476
6928
  key: 0,
6477
6929
  class: "uid-rating__icon uid-rating__icon--filled",
6478
6930
  "data-half": v(t).half ? "true" : "false",
6479
6931
  "aria-hidden": "true"
6480
- }, [d(e, { icon: _.value }, null, 8, ["icon"])], 8, il)) : s("", !0)], 40, nl))), 128)), n.showLabel ? (T(), c("span", al, P(L($s)(p.value, u.value, +!!n.allowHalf)) + " / " + P(n.max), 1)) : s("", !0)], 42, tl));
6932
+ }, [d(e, { icon: _.value }, null, 8, ["icon"])], 8, Rl)) : s("", !0)], 40, Il))), 128)), n.showLabel ? (T(), c("span", zl, P(L($s)(p.value, u.value, +!!n.allowHalf)) + " / " + P(n.max), 1)) : s("", !0)], 42, Fl));
6481
6933
  }
6482
- }), sl = [
6934
+ }), Vl = [
6483
6935
  "tabindex",
6484
6936
  "aria-orientation",
6485
6937
  "aria-valuemin",
6486
6938
  "aria-valuemax",
6487
6939
  "aria-valuenow",
6488
6940
  "aria-disabled"
6489
- ], cl = { class: "uid-splitter__pane uid-splitter__pane--end" }, ll = /* @__PURE__ */ f({
6941
+ ], Hl = { class: "uid-splitter__pane uid-splitter__pane--end" }, Ul = /* @__PURE__ */ f({
6490
6942
  __name: "UidSplitter",
6491
6943
  props: /* @__PURE__ */ g({
6492
6944
  direction: { default: "horizontal" },
@@ -6564,27 +7016,27 @@ var Lc = {
6564
7016
  l("span", { class: "uid-splitter__grip-dot" }),
6565
7017
  l("span", { class: "uid-splitter__grip-dot" }),
6566
7018
  l("span", { class: "uid-splitter__grip-dot" })
6567
- ], -1)]], 40, sl),
6568
- l("div", cl, [A(t.$slots, "end")])
7019
+ ], -1)]], 40, Vl),
7020
+ l("div", Hl, [A(t.$slots, "end")])
6569
7021
  ], 2));
6570
7022
  }
6571
- }), ul = {
7023
+ }), Wl = {
6572
7024
  key: 0,
6573
7025
  class: "uid-stat__icon",
6574
7026
  "aria-hidden": "true"
6575
- }, dl = { class: "uid-stat__body" }, fl = {
7027
+ }, Gl = { class: "uid-stat__body" }, Kl = {
6576
7028
  key: 0,
6577
7029
  class: "uid-stat__title"
6578
- }, pl = { class: "uid-stat__value-row" }, ml = { class: "uid-stat__value" }, hl = {
7030
+ }, ql = { class: "uid-stat__value-row" }, Jl = { class: "uid-stat__value" }, Yl = {
6579
7031
  key: 0,
6580
7032
  class: "uid-stat__prefix"
6581
- }, gl = {
7033
+ }, Xl = {
6582
7034
  key: 1,
6583
7035
  class: "uid-stat__suffix"
6584
- }, _l = {
7036
+ }, Zl = {
6585
7037
  key: 1,
6586
7038
  class: "uid-stat__footer"
6587
- }, vl = /* @__PURE__ */ f({
7039
+ }, Ql = /* @__PURE__ */ f({
6588
7040
  __name: "UidStat",
6589
7041
  props: {
6590
7042
  title: {},
@@ -6613,16 +7065,16 @@ var Lc = {
6613
7065
  t.variant === "ghost" && "uid-stat--ghost",
6614
7066
  t.trendPlacement === "below" && "uid-stat--trend-below",
6615
7067
  t.loading && "uid-stat--loading"
6616
- ]]) }, [t.icon || n.$slots.icon ? (T(), c("span", ul, [A(n.$slots, "icon", {}, () => [t.icon ? (T(), o(e, {
7068
+ ]]) }, [t.icon || n.$slots.icon ? (T(), c("span", Wl, [A(n.$slots, "icon", {}, () => [t.icon ? (T(), o(e, {
6617
7069
  key: 0,
6618
7070
  icon: t.icon,
6619
7071
  size: 20
6620
- }, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div", dl, [
6621
- t.title ? (T(), c("p", fl, P(t.title), 1)) : s("", !0),
6622
- l("div", pl, [l("span", ml, [A(n.$slots, "value", {}, () => [
6623
- t.prefix ? (T(), c("span", hl, P(t.prefix), 1)) : s("", !0),
7072
+ }, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div", Gl, [
7073
+ t.title ? (T(), c("p", Kl, P(t.title), 1)) : s("", !0),
7074
+ l("div", ql, [l("span", Jl, [A(n.$slots, "value", {}, () => [
7075
+ t.prefix ? (T(), c("span", Yl, P(t.prefix), 1)) : s("", !0),
6624
7076
  l("span", null, P(d.value), 1),
6625
- t.suffix ? (T(), c("span", gl, P(t.suffix), 1)) : s("", !0)
7077
+ t.suffix ? (T(), c("span", Xl, P(t.suffix), 1)) : s("", !0)
6626
7078
  ])]), t.trend !== void 0 || n.$slots.trend ? (T(), c("span", {
6627
7079
  key: 0,
6628
7080
  class: y(["uid-stat__trend", f.value && `uid-stat__trend--${f.value}`])
@@ -6631,13 +7083,13 @@ var Lc = {
6631
7083
  icon: p.value,
6632
7084
  size: 12
6633
7085
  }, null, 8, ["icon"])) : s("", !0), l("span", null, P(m.value), 1)])], 2)) : s("", !0)]),
6634
- t.footer || n.$slots.footer ? (T(), c("p", _l, [A(n.$slots, "footer", {}, () => [u(P(t.footer), 1)])])) : s("", !0)
7086
+ t.footer || n.$slots.footer ? (T(), c("p", Zl, [A(n.$slots, "footer", {}, () => [u(P(t.footer), 1)])])) : s("", !0)
6635
7087
  ])], 2));
6636
7088
  }
6637
- }), yl = Symbol("UidDescriptionList"), bl = {
7089
+ }), $l = Symbol("UidDescriptionList"), eu = {
6638
7090
  key: 0,
6639
7091
  class: "uid-description-list__title"
6640
- }, xl = /* @__PURE__ */ f({
7092
+ }, tu = /* @__PURE__ */ f({
6641
7093
  __name: "UidDescriptionList",
6642
7094
  props: {
6643
7095
  title: {},
@@ -6652,7 +7104,7 @@ var Lc = {
6652
7104
  },
6653
7105
  setup(e) {
6654
7106
  let t = e;
6655
- E(yl, {
7107
+ E($l, {
6656
7108
  direction: a(() => t.direction),
6657
7109
  bordered: a(() => t.bordered)
6658
7110
  });
@@ -6664,12 +7116,12 @@ var Lc = {
6664
7116
  `uid-description-list--${e.direction}`,
6665
7117
  `uid-description-list--${e.size}`,
6666
7118
  e.bordered && "uid-description-list--bordered"
6667
- ]]) }, [e.title || t.$slots.title ? (T(), c("h3", bl, [A(t.$slots, "title", {}, () => [u(P(e.title), 1)])])) : s("", !0), l("dl", {
7119
+ ]]) }, [e.title || t.$slots.title ? (T(), c("h3", eu, [A(t.$slots, "title", {}, () => [u(P(e.title), 1)])])) : s("", !0), l("dl", {
6668
7120
  class: "uid-description-list__grid",
6669
7121
  style: b(n.value)
6670
7122
  }, [A(t.$slots, "default")], 4)], 2));
6671
7123
  }
6672
- }), Sl = { class: "uid-description-item__label" }, Cl = { class: "uid-description-item__value" }, wl = ["aria-label"], Tl = /* @__PURE__ */ f({
7124
+ }), nu = { class: "uid-description-item__label" }, ru = { class: "uid-description-item__value" }, iu = ["aria-label"], au = /* @__PURE__ */ f({
6673
7125
  __name: "UidDescriptionItem",
6674
7126
  props: {
6675
7127
  label: {},
@@ -6682,7 +7134,7 @@ var Lc = {
6682
7134
  },
6683
7135
  setup(t) {
6684
7136
  let n = $(), r = t;
6685
- h(yl, null);
7137
+ h($l, null);
6686
7138
  let i = O(null), o = O(!1), f = a(() => ({ "--uid-desc-span": r.span }));
6687
7139
  async function p() {
6688
7140
  let e = r.copyValue ?? i.value?.querySelector(".uid-description-item__value")?.textContent?.trim() ?? "";
@@ -6697,7 +7149,7 @@ var Lc = {
6697
7149
  ref: i,
6698
7150
  class: "uid-description-item",
6699
7151
  style: b(f.value)
6700
- }, [l("dt", Sl, [A(r.$slots, "label", {}, () => [u(P(t.label), 1)])]), l("dd", Cl, [A(r.$slots, "default"), t.copyable ? (T(), c("button", {
7152
+ }, [l("dt", nu, [A(r.$slots, "label", {}, () => [u(P(t.label), 1)])]), l("dd", ru, [A(r.$slots, "default"), t.copyable ? (T(), c("button", {
6701
7153
  key: 0,
6702
7154
  type: "button",
6703
7155
  class: y(["uid-description-item__copy", { "uid-description-item__copy--copied": o.value }]),
@@ -6706,24 +7158,24 @@ var Lc = {
6706
7158
  }, [d(e, {
6707
7159
  icon: o.value ? L(Q) : L(fe),
6708
7160
  size: 12
6709
- }, null, 8, ["icon"])], 10, wl)) : s("", !0)])], 4));
7161
+ }, null, 8, ["icon"])], 10, iu)) : s("", !0)])], 4));
6710
7162
  }
6711
- }), El = {
7163
+ }), ou = {
6712
7164
  class: "uid-pattern-result__icon",
6713
7165
  "aria-hidden": "true"
6714
- }, Dl = {
7166
+ }, su = {
6715
7167
  key: 0,
6716
7168
  class: "uid-pattern-result__title"
6717
- }, Ol = {
7169
+ }, cu = {
6718
7170
  key: 1,
6719
7171
  class: "uid-pattern-result__description"
6720
- }, kl = {
7172
+ }, lu = {
6721
7173
  key: 2,
6722
7174
  class: "uid-pattern-result__content"
6723
- }, Al = {
7175
+ }, uu = {
6724
7176
  key: 3,
6725
7177
  class: "uid-pattern-result__actions"
6726
- }, jl = /* @__PURE__ */ f({
7178
+ }, du = /* @__PURE__ */ f({
6727
7179
  __name: "UidResult",
6728
7180
  props: {
6729
7181
  status: { default: "success" },
@@ -6745,17 +7197,17 @@ var Lc = {
6745
7197
  class: y(["uid-pattern-result", [`uid-pattern-result--${t.status}`, t.compact && "uid-pattern-result--compact"]]),
6746
7198
  role: "status"
6747
7199
  }, [
6748
- l("div", El, [A(n.$slots, "icon", {}, () => [d(e, {
7200
+ l("div", ou, [A(n.$slots, "icon", {}, () => [d(e, {
6749
7201
  icon: i.value,
6750
7202
  size: t.compact ? 32 : 40
6751
7203
  }, null, 8, ["icon", "size"])])]),
6752
- t.title || n.$slots.title ? (T(), c("h2", Dl, [A(n.$slots, "title", {}, () => [u(P(t.title), 1)])])) : s("", !0),
6753
- t.description || n.$slots.description ? (T(), c("p", Ol, [A(n.$slots, "description", {}, () => [u(P(t.description), 1)])])) : s("", !0),
6754
- n.$slots.default ? (T(), c("div", kl, [A(n.$slots, "default")])) : s("", !0),
6755
- n.$slots.actions ? (T(), c("div", Al, [A(n.$slots, "actions")])) : s("", !0)
7204
+ t.title || n.$slots.title ? (T(), c("h2", su, [A(n.$slots, "title", {}, () => [u(P(t.title), 1)])])) : s("", !0),
7205
+ t.description || n.$slots.description ? (T(), c("p", cu, [A(n.$slots, "description", {}, () => [u(P(t.description), 1)])])) : s("", !0),
7206
+ n.$slots.default ? (T(), c("div", lu, [A(n.$slots, "default")])) : s("", !0),
7207
+ n.$slots.actions ? (T(), c("div", uu, [A(n.$slots, "actions")])) : s("", !0)
6756
7208
  ], 2));
6757
7209
  }
6758
- }), Ml = ["aria-label"], Nl = /* @__PURE__ */ f({
7210
+ }), fu = ["aria-label"], pu = /* @__PURE__ */ f({
6759
7211
  __name: "UidBackTop",
6760
7212
  props: {
6761
7213
  visibleAfter: { default: 200 },
@@ -6803,11 +7255,11 @@ var Lc = {
6803
7255
  }, [A(t.$slots, "default", {}, () => [d(e, {
6804
7256
  icon: L(re),
6805
7257
  size: 20
6806
- }, null, 8, ["icon"])])], 8, Ml), [[W, f.value]])]),
7258
+ }, null, 8, ["icon"])])], 8, fu), [[W, f.value]])]),
6807
7259
  _: 3
6808
7260
  }));
6809
7261
  }
6810
- }), Pl = { class: "uid-affix__content" }, Fl = /* @__PURE__ */ f({
7262
+ }), mu = { class: "uid-affix__content" }, hu = /* @__PURE__ */ f({
6811
7263
  __name: "UidAffix",
6812
7264
  props: {
6813
7265
  offsetTop: {},
@@ -6837,9 +7289,9 @@ var Lc = {
6837
7289
  ref: o,
6838
7290
  class: "uid-affix__sentinel",
6839
7291
  "aria-hidden": "true"
6840
- }, null, 512), l("div", Pl, [A(e.$slots, "default")])], 6));
7292
+ }, null, 512), l("div", mu, [A(e.$slots, "default")])], 6));
6841
7293
  }
6842
- }), Il = { class: "uid-watermark" }, Ll = { class: "uid-watermark__content" }, Rl = /* @__PURE__ */ f({
7294
+ }), gu = { class: "uid-watermark" }, _u = { class: "uid-watermark__content" }, vu = /* @__PURE__ */ f({
6843
7295
  __name: "UidWatermark",
6844
7296
  props: {
6845
7297
  content: { default: "" },
@@ -6886,24 +7338,24 @@ var Lc = {
6886
7338
  i();
6887
7339
  }), C(() => {
6888
7340
  n.value = "";
6889
- }), (e, t) => (T(), c("div", Il, [l("div", {
7341
+ }), (e, t) => (T(), c("div", gu, [l("div", {
6890
7342
  class: "uid-watermark__overlay",
6891
7343
  style: b(o.value),
6892
7344
  "aria-hidden": "true"
6893
- }, null, 4), l("div", Ll, [A(e.$slots, "default")])]));
7345
+ }, null, 4), l("div", _u, [A(e.$slots, "default")])]));
6894
7346
  }
6895
- }), zl = ["aria-label"], Bl = { class: "uid-anchor__list" }, Vl = [
7347
+ }), yu = ["aria-label"], bu = { class: "uid-anchor__list" }, xu = [
6896
7348
  "href",
6897
7349
  "aria-current",
6898
7350
  "onClick"
6899
- ], Hl = {
7351
+ ], Su = {
6900
7352
  key: 0,
6901
7353
  class: "uid-anchor__sublist"
6902
- }, Ul = [
7354
+ }, Cu = [
6903
7355
  "href",
6904
7356
  "aria-current",
6905
7357
  "onClick"
6906
- ], Wl = /* @__PURE__ */ f({
7358
+ ], wu = /* @__PURE__ */ f({
6907
7359
  __name: "UidAnchor",
6908
7360
  props: /* @__PURE__ */ g({
6909
7361
  items: {},
@@ -6970,7 +7422,7 @@ var Lc = {
6970
7422
  return (n, r) => (T(), c("nav", {
6971
7423
  class: "uid-anchor",
6972
7424
  "aria-label": L(i).anchor.label
6973
- }, [l("ul", Bl, [(T(!0), c(t, null, k(e.items, (e) => (T(), c("li", {
7425
+ }, [l("ul", bu, [(T(!0), c(t, null, k(e.items, (e) => (T(), c("li", {
6974
7426
  key: e.key,
6975
7427
  class: "uid-anchor__item"
6976
7428
  }, [l("a", {
@@ -6978,7 +7430,7 @@ var Lc = {
6978
7430
  class: y(["uid-anchor__link", { "uid-anchor__link--active": o.value === e.key }]),
6979
7431
  "aria-current": o.value === e.key ? "location" : void 0,
6980
7432
  onClick: (t) => h(t, e)
6981
- }, P(e.title), 11, Vl), e.children?.length ? (T(), c("ul", Hl, [(T(!0), c(t, null, k(e.children, (e) => (T(), c("li", {
7433
+ }, P(e.title), 11, xu), e.children?.length ? (T(), c("ul", Su, [(T(!0), c(t, null, k(e.children, (e) => (T(), c("li", {
6982
7434
  key: e.key,
6983
7435
  class: "uid-anchor__item"
6984
7436
  }, [l("a", {
@@ -6986,18 +7438,18 @@ var Lc = {
6986
7438
  class: y(["uid-anchor__link", { "uid-anchor__link--active": o.value === e.key }]),
6987
7439
  "aria-current": o.value === e.key ? "location" : void 0,
6988
7440
  onClick: (t) => h(t, e)
6989
- }, P(e.title), 11, Ul)]))), 128))])) : s("", !0)]))), 128))])], 8, zl));
7441
+ }, P(e.title), 11, Cu)]))), 128))])) : s("", !0)]))), 128))])], 8, yu));
6990
7442
  }
6991
- }), Gl = ["aria-label"], Kl = {
7443
+ }), Tu = ["aria-label"], Eu = {
6992
7444
  key: 0,
6993
7445
  class: "uid-tour__title"
6994
- }, ql = {
7446
+ }, Du = {
6995
7447
  key: 1,
6996
7448
  class: "uid-tour__description"
6997
- }, Jl = { class: "uid-tour__footer" }, Yl = {
7449
+ }, Ou = { class: "uid-tour__footer" }, ku = {
6998
7450
  key: 0,
6999
7451
  class: "uid-tour__progress"
7000
- }, Xl = { key: 1 }, Zl = { class: "uid-tour__actions" }, Ql = /* @__PURE__ */ f({
7452
+ }, Au = { key: 1 }, ju = { class: "uid-tour__actions" }, Mu = /* @__PURE__ */ f({
7001
7453
  __name: "UidTour",
7002
7454
  props: /* @__PURE__ */ g({
7003
7455
  steps: {},
@@ -7136,9 +7588,9 @@ var Lc = {
7136
7588
  class: y(["uid-tour__popover", { "uid-tour__popover--center": N.value }]),
7137
7589
  style: b(N.value ? void 0 : M.value)
7138
7590
  }, [
7139
- E.value.title ? (T(), c("h3", Kl, P(E.value.title), 1)) : s("", !0),
7140
- E.value.description ? (T(), c("p", ql, P(E.value.description), 1)) : s("", !0),
7141
- l("div", Jl, [e.showProgress ? (T(), c("span", Yl, P(g.value + 1) + " / " + P(e.steps.length), 1)) : (T(), c("span", Xl)), l("div", Zl, [
7591
+ E.value.title ? (T(), c("h3", Eu, P(E.value.title), 1)) : s("", !0),
7592
+ E.value.description ? (T(), c("p", Du, P(E.value.description), 1)) : s("", !0),
7593
+ l("div", Ou, [e.showProgress ? (T(), c("span", ku, P(g.value + 1) + " / " + P(e.steps.length), 1)) : (T(), c("span", Au)), l("div", ju, [
7142
7594
  e.showSkip && g.value < e.steps.length - 1 ? (T(), c("button", {
7143
7595
  key: 0,
7144
7596
  type: "button",
@@ -7158,21 +7610,21 @@ var Lc = {
7158
7610
  }, P(g.value === e.steps.length - 1 ? f.value : u.value), 1)
7159
7611
  ])])
7160
7612
  ], 6)
7161
- ], 8, Gl)) : s("", !0)]));
7613
+ ], 8, Tu)) : s("", !0)]));
7162
7614
  }
7163
- }), $l = ["for"], eu = [
7615
+ }), Nu = ["for"], Pu = [
7164
7616
  "id",
7165
7617
  "value",
7166
7618
  "placeholder",
7167
7619
  "rows",
7168
7620
  "disabled"
7169
- ], tu = ["onMousedown", "onMouseenter"], nu = { class: "uid-mention__option-label" }, ru = {
7621
+ ], Fu = ["onMousedown", "onMouseenter"], Iu = { class: "uid-mention__option-label" }, Lu = {
7170
7622
  key: 0,
7171
7623
  class: "uid-mention__option-hint"
7172
- }, iu = {
7624
+ }, Ru = {
7173
7625
  key: 0,
7174
7626
  class: "uid-mention__empty"
7175
- }, au = /* @__PURE__ */ f({
7627
+ }, zu = /* @__PURE__ */ f({
7176
7628
  inheritAttrs: !1,
7177
7629
  __name: "UidMention",
7178
7630
  props: /* @__PURE__ */ g({
@@ -7237,7 +7689,7 @@ var Lc = {
7237
7689
  key: 0,
7238
7690
  for: L(x),
7239
7691
  class: "uid-mention__label"
7240
- }, P(e.label), 9, $l)) : s("", !0),
7692
+ }, P(e.label), 9, Nu)) : s("", !0),
7241
7693
  l("textarea", _(L(u)(), {
7242
7694
  id: L(x),
7243
7695
  ref_key: "fieldRef",
@@ -7252,7 +7704,7 @@ var Lc = {
7252
7704
  onKeydown: H,
7253
7705
  onKeyup: F,
7254
7706
  onBlur: a[0] ||= (e) => S.value = !1
7255
- }), null, 16, eu),
7707
+ }), null, 16, Pu),
7256
7708
  (T(), o(n, { to: "body" }, [S.value ? (T(), c("div", {
7257
7709
  key: 0,
7258
7710
  ref_key: "panelRef",
@@ -7265,30 +7717,30 @@ var Lc = {
7265
7717
  class: y(["uid-mention__option", { "uid-mention__option--active": t === w.value }]),
7266
7718
  onMousedown: X((t) => I(e), ["prevent"]),
7267
7719
  onMouseenter: (e) => w.value = t
7268
- }, [l("span", nu, P(e.label), 1), e.hint ? (T(), c("span", ru, P(e.hint), 1)) : s("", !0)], 42, tu))), 128)), N.value.length === 0 ? (T(), c("div", iu, P(p.value), 1)) : s("", !0)], 4)) : s("", !0)]))
7720
+ }, [l("span", Iu, P(e.label), 1), e.hint ? (T(), c("span", Lu, P(e.hint), 1)) : s("", !0)], 42, Fu))), 128)), N.value.length === 0 ? (T(), c("div", Ru, P(p.value), 1)) : s("", !0)], 4)) : s("", !0)]))
7269
7721
  ], 16));
7270
7722
  }
7271
- }), ou = ["for"], su = {
7723
+ }), Bu = ["for"], Vu = {
7272
7724
  key: 0,
7273
7725
  class: "uid-tree-select__required",
7274
7726
  "aria-hidden": "true"
7275
- }, cu = [
7727
+ }, Hu = [
7276
7728
  "id",
7277
7729
  "aria-expanded",
7278
7730
  "aria-controls",
7279
7731
  "aria-label",
7280
7732
  "aria-disabled",
7281
7733
  "aria-invalid"
7282
- ], lu = { class: "uid-tree-select__value" }, uu = ["aria-label", "onClick"], du = {
7734
+ ], Uu = { class: "uid-tree-select__value" }, Wu = ["aria-label", "onClick"], Gu = {
7283
7735
  key: 0,
7284
7736
  class: "uid-tree-select__chip"
7285
- }, fu = {
7737
+ }, Ku = {
7286
7738
  key: 1,
7287
7739
  class: "uid-tree-select__placeholder"
7288
- }, pu = { key: 0 }, mu = {
7740
+ }, qu = { key: 0 }, Ju = {
7289
7741
  key: 1,
7290
7742
  class: "uid-tree-select__placeholder"
7291
- }, hu = { class: "uid-tree-select__suffix" }, gu = ["aria-label"], _u = ["id"], vu = /* @__PURE__ */ f({
7743
+ }, Yu = { class: "uid-tree-select__suffix" }, Xu = ["aria-label"], Zu = ["id"], Qu = /* @__PURE__ */ f({
7292
7744
  __name: "UidTreeSelect",
7293
7745
  props: /* @__PURE__ */ g({
7294
7746
  size: { default: "md" },
@@ -7417,7 +7869,7 @@ var Lc = {
7417
7869
  key: 0,
7418
7870
  for: L(A),
7419
7871
  class: "uid-tree-select__label"
7420
- }, [u(P(r.label) + " ", 1), r.required ? (T(), c("span", su, "*")) : s("", !0)], 8, ou)) : s("", !0),
7872
+ }, [u(P(r.label) + " ", 1), r.required ? (T(), c("span", Vu, "*")) : s("", !0)], 8, Bu)) : s("", !0),
7421
7873
  l("div", {
7422
7874
  id: L(A),
7423
7875
  ref_key: "triggerRef",
@@ -7433,7 +7885,7 @@ var Lc = {
7433
7885
  "aria-invalid": M.value ? "true" : void 0,
7434
7886
  onClick: Y,
7435
7887
  onKeydown: ae
7436
- }, [l("div", lu, [R.value ? (T(), c(t, { key: 0 }, [
7888
+ }, [l("div", Uu, [R.value ? (T(), c(t, { key: 0 }, [
7437
7889
  (T(!0), c(t, null, k(W.value, (e) => (T(), c("span", {
7438
7890
  key: e.key,
7439
7891
  class: "uid-tree-select__chip"
@@ -7442,10 +7894,10 @@ var Lc = {
7442
7894
  class: "uid-tree-select__chip-remove",
7443
7895
  "aria-label": L(p).treeSelect.removeTag(e.label),
7444
7896
  onClick: X((t) => ie(t, e.key), ["stop"])
7445
- }, "×", 8, uu)]))), 128)),
7446
- K.value > 0 ? (T(), c("span", du, "+" + P(K.value), 1)) : s("", !0),
7447
- U.value.length === 0 ? (T(), c("span", fu, P(m.value), 1)) : s("", !0)
7448
- ], 64)) : (T(), c(t, { key: 1 }, [U.value.length > 0 ? (T(), c("span", pu, P(U.value[0].label), 1)) : (T(), c("span", mu, P(m.value), 1))], 64))]), l("div", hu, [r.clearable && H.value.length > 0 ? (T(), c("button", {
7897
+ }, "×", 8, Wu)]))), 128)),
7898
+ K.value > 0 ? (T(), c("span", Gu, "+" + P(K.value), 1)) : s("", !0),
7899
+ U.value.length === 0 ? (T(), c("span", Ku, P(m.value), 1)) : s("", !0)
7900
+ ], 64)) : (T(), c(t, { key: 1 }, [U.value.length > 0 ? (T(), c("span", qu, P(U.value[0].label), 1)) : (T(), c("span", Ju, P(m.value), 1))], 64))]), l("div", Yu, [r.clearable && H.value.length > 0 ? (T(), c("button", {
7449
7901
  key: 0,
7450
7902
  type: "button",
7451
7903
  class: "uid-tree-select__clear",
@@ -7454,12 +7906,12 @@ var Lc = {
7454
7906
  }, [d(e, {
7455
7907
  icon: L(Ee),
7456
7908
  size: 14
7457
- }, null, 8, ["icon"])], 8, gu)) : s("", !0), d(e, {
7909
+ }, null, 8, ["icon"])], 8, Xu)) : s("", !0), d(e, {
7458
7910
  icon: L(se),
7459
7911
  size: 16,
7460
7912
  class: y(["uid-tree-select__chevron", { "uid-tree-select__chevron--open": v.value }]),
7461
7913
  "aria-hidden": "true"
7462
- }, null, 8, ["icon", "class"])])], 40, cu),
7914
+ }, null, 8, ["icon", "class"])])], 40, Hu),
7463
7915
  (T(), o(n, { to: "body" }, [v.value ? (T(), c("div", {
7464
7916
  key: 0,
7465
7917
  id: L(j),
@@ -7503,19 +7955,19 @@ var Lc = {
7503
7955
  "selectable",
7504
7956
  "default-expand-all",
7505
7957
  "show-guides"
7506
- ]))], 12, _u)) : s("", !0)])),
7958
+ ]))], 12, Zu)) : s("", !0)])),
7507
7959
  N.value ? (T(), c("p", {
7508
7960
  key: 1,
7509
7961
  class: y(["uid-tree-select__hint", M.value && "uid-tree-select__hint--error"])
7510
7962
  }, P(N.value), 3)) : s("", !0)
7511
7963
  ], 2));
7512
7964
  }
7513
- }), yu = {
7965
+ }), $u = {
7514
7966
  key: 0,
7515
7967
  class: "uid-notification-badge__dot",
7516
7968
  role: "status",
7517
7969
  "aria-hidden": "true"
7518
- }, bu = ["aria-label"], xu = /* @__PURE__ */ f({
7970
+ }, ed = ["aria-label"], td = /* @__PURE__ */ f({
7519
7971
  __name: "UidNotificationBadge",
7520
7972
  props: {
7521
7973
  count: { default: 0 },
@@ -7542,22 +7994,22 @@ var Lc = {
7542
7994
  return (t, a) => (T(), c("span", {
7543
7995
  class: y(["uid-notification-badge", [`uid-notification-badge--${e.placement}`, e.tone !== "danger" && `uid-notification-badge--${e.tone}`]]),
7544
7996
  style: b(i.value)
7545
- }, [A(t.$slots, "default"), n.value && e.dot ? (T(), c("span", yu)) : n.value ? (T(), c("span", {
7997
+ }, [A(t.$slots, "default"), n.value && e.dot ? (T(), c("span", $u)) : n.value ? (T(), c("span", {
7546
7998
  key: 1,
7547
7999
  class: "uid-notification-badge__count",
7548
8000
  role: "status",
7549
8001
  "aria-label": `${e.count}`
7550
- }, P(r.value), 9, bu)) : s("", !0)], 6));
8002
+ }, P(r.value), 9, ed)) : s("", !0)], 6));
7551
8003
  }
7552
- }), Su = ["aria-hidden", "aria-label"], Cu = ["disabled", "aria-label"], wu = ["disabled", "aria-label"], Tu = {
8004
+ }), nd = ["aria-hidden", "aria-label"], rd = ["disabled", "aria-label"], id = ["disabled", "aria-label"], ad = {
7553
8005
  key: 2,
7554
8006
  class: "uid-carousel__indicators",
7555
8007
  role: "tablist"
7556
- }, Eu = [
8008
+ }, od = [
7557
8009
  "aria-selected",
7558
8010
  "aria-label",
7559
8011
  "onClick"
7560
- ], Du = /* @__PURE__ */ f({
8012
+ ], sd = /* @__PURE__ */ f({
7561
8013
  __name: "UidCarousel",
7562
8014
  props: /* @__PURE__ */ g({
7563
8015
  items: {},
@@ -7649,7 +8101,7 @@ var Lc = {
7649
8101
  }, [A(r.$slots, "default", {
7650
8102
  item: e,
7651
8103
  index: t
7652
- })], 8, Su))), 128))], 4),
8104
+ })], 8, nd))), 128))], 4),
7653
8105
  n.showArrows && _.value > 1 ? (T(), c("button", {
7654
8106
  key: 0,
7655
8107
  type: "button",
@@ -7660,7 +8112,7 @@ var Lc = {
7660
8112
  }, [d(e, {
7661
8113
  icon: n.direction === "vertical" ? L(ue) : L(ce),
7662
8114
  size: 20
7663
- }, null, 8, ["icon"])], 8, Cu)) : s("", !0),
8115
+ }, null, 8, ["icon"])], 8, rd)) : s("", !0),
7664
8116
  n.showArrows && _.value > 1 ? (T(), c("button", {
7665
8117
  key: 1,
7666
8118
  type: "button",
@@ -7671,8 +8123,8 @@ var Lc = {
7671
8123
  }, [d(e, {
7672
8124
  icon: n.direction === "vertical" ? L(se) : L(le),
7673
8125
  size: 20
7674
- }, null, 8, ["icon"])], 8, wu)) : s("", !0),
7675
- n.showIndicators && _.value > 1 ? (T(), c("div", Tu, [(T(!0), c(t, null, k(n.items, (e, t) => (T(), c("button", {
8126
+ }, null, 8, ["icon"])], 8, id)) : s("", !0),
8127
+ n.showIndicators && _.value > 1 ? (T(), c("div", ad, [(T(!0), c(t, null, k(n.items, (e, t) => (T(), c("button", {
7676
8128
  key: t,
7677
8129
  type: "button",
7678
8130
  class: y(["uid-carousel__indicator", { "uid-carousel__indicator--active": t === p.value }]),
@@ -7680,38 +8132,38 @@ var Lc = {
7680
8132
  "aria-selected": t === p.value,
7681
8133
  "aria-label": L(u).carousel.slide(t + 1),
7682
8134
  onClick: (e) => x(t)
7683
- }, null, 10, Eu))), 128))])) : s("", !0)
8135
+ }, null, 10, od))), 128))])) : s("", !0)
7684
8136
  ], 34));
7685
8137
  }
7686
- }), Ou = { class: "uid-transfer__panel" }, ku = { class: "uid-transfer__header" }, Au = { class: "uid-transfer__title" }, ju = ["aria-checked"], Mu = { class: "uid-transfer__count" }, Nu = {
8138
+ }), cd = { class: "uid-transfer__panel" }, ld = { class: "uid-transfer__header" }, ud = { class: "uid-transfer__title" }, dd = ["aria-checked"], fd = { class: "uid-transfer__count" }, pd = {
7687
8139
  key: 0,
7688
8140
  class: "uid-transfer__search"
7689
- }, Pu = ["placeholder"], Fu = {
8141
+ }, md = ["placeholder"], hd = {
7690
8142
  class: "uid-transfer__list",
7691
8143
  role: "listbox",
7692
8144
  "aria-multiselectable": "true"
7693
- }, Iu = [
8145
+ }, gd = [
7694
8146
  "aria-selected",
7695
8147
  "aria-disabled",
7696
8148
  "onClick"
7697
- ], Lu = { class: "uid-transfer__label" }, Ru = {
8149
+ ], _d = { class: "uid-transfer__label" }, vd = {
7698
8150
  key: 0,
7699
8151
  class: "uid-transfer__empty"
7700
- }, zu = { class: "uid-transfer__ops" }, Bu = ["disabled", "aria-label"], Vu = ["disabled", "aria-label"], Hu = { class: "uid-transfer__panel" }, Uu = { class: "uid-transfer__header" }, Wu = { class: "uid-transfer__title" }, Gu = ["aria-checked"], Ku = { class: "uid-transfer__count" }, qu = {
8152
+ }, yd = { class: "uid-transfer__ops" }, bd = ["disabled", "aria-label"], xd = ["disabled", "aria-label"], Sd = { class: "uid-transfer__panel" }, Cd = { class: "uid-transfer__header" }, wd = { class: "uid-transfer__title" }, Td = ["aria-checked"], Ed = { class: "uid-transfer__count" }, Dd = {
7701
8153
  key: 0,
7702
8154
  class: "uid-transfer__search"
7703
- }, Ju = ["placeholder"], Yu = {
8155
+ }, Od = ["placeholder"], kd = {
7704
8156
  class: "uid-transfer__list",
7705
8157
  role: "listbox",
7706
8158
  "aria-multiselectable": "true"
7707
- }, Xu = [
8159
+ }, Ad = [
7708
8160
  "aria-selected",
7709
8161
  "aria-disabled",
7710
8162
  "onClick"
7711
- ], Zu = { class: "uid-transfer__label" }, Qu = {
8163
+ ], jd = { class: "uid-transfer__label" }, Md = {
7712
8164
  key: 0,
7713
8165
  class: "uid-transfer__empty"
7714
- }, $u = /* @__PURE__ */ f({
8166
+ }, Nd = /* @__PURE__ */ f({
7715
8167
  __name: "UidTransfer",
7716
8168
  props: /* @__PURE__ */ g({
7717
8169
  items: {},
@@ -7762,8 +8214,8 @@ var Lc = {
7762
8214
  p.value = e, g.value = /* @__PURE__ */ new Set(), f("change", e);
7763
8215
  }
7764
8216
  return (r, i) => (T(), c("div", { class: y(["uid-transfer", { "uid-transfer--disabled": n.disabled }]) }, [
7765
- l("div", Ou, [
7766
- l("div", ku, [l("span", Au, [l("span", {
8217
+ l("div", cd, [
8218
+ l("div", ld, [l("span", ud, [l("span", {
7767
8219
  class: y(["uid-transfer__check", { "uid-transfer__check--checked": j.value }]),
7768
8220
  role: "checkbox",
7769
8221
  "aria-checked": j.value,
@@ -7774,14 +8226,14 @@ var Lc = {
7774
8226
  key: 0,
7775
8227
  icon: L(Q),
7776
8228
  size: 10
7777
- }, null, 8, ["icon"])) : s("", !0)], 42, ju), u(" " + P(b.value[0]), 1)]), l("span", Mu, P(h.value.size) + " / " + P(w.value.length), 1)]),
7778
- n.searchable ? (T(), c("div", Nu, [J(l("input", {
8229
+ }, null, 8, ["icon"])) : s("", !0)], 42, dd), u(" " + P(b.value[0]), 1)]), l("span", fd, P(h.value.size) + " / " + P(w.value.length), 1)]),
8230
+ n.searchable ? (T(), c("div", pd, [J(l("input", {
7779
8231
  "onUpdate:modelValue": i[3] ||= (e) => _.value = e,
7780
8232
  class: "uid-transfer__search-input",
7781
8233
  type: "text",
7782
8234
  placeholder: L(m).common.search
7783
- }, null, 8, Pu), [[U, _.value]])])) : s("", !0),
7784
- l("ul", Fu, [(T(!0), c(t, null, k(w.value, (t) => (T(), c("li", {
8235
+ }, null, 8, md), [[U, _.value]])])) : s("", !0),
8236
+ l("ul", hd, [(T(!0), c(t, null, k(w.value, (t) => (T(), c("li", {
7785
8237
  key: t.key,
7786
8238
  class: y(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
7787
8239
  role: "option",
@@ -7795,9 +8247,9 @@ var Lc = {
7795
8247
  key: 0,
7796
8248
  icon: L(Q),
7797
8249
  size: 10
7798
- }, null, 8, ["icon"])) : s("", !0)], 2), l("span", Lu, P(t.label), 1)], 10, Iu))), 128)), w.value.length === 0 ? (T(), c("li", Ru, P(L(m).common.noResults), 1)) : s("", !0)])
8250
+ }, null, 8, ["icon"])) : s("", !0)], 2), l("span", _d, P(t.label), 1)], 10, gd))), 128)), w.value.length === 0 ? (T(), c("li", vd, P(L(m).common.noResults), 1)) : s("", !0)])
7799
8251
  ]),
7800
- l("div", zu, [l("button", {
8252
+ l("div", yd, [l("button", {
7801
8253
  type: "button",
7802
8254
  class: "uid-transfer__op",
7803
8255
  disabled: h.value.size === 0 || n.disabled,
@@ -7806,7 +8258,7 @@ var Lc = {
7806
8258
  }, [d(e, {
7807
8259
  icon: L(le),
7808
8260
  size: 16
7809
- }, null, 8, ["icon"])], 8, Bu), l("button", {
8261
+ }, null, 8, ["icon"])], 8, bd), l("button", {
7810
8262
  type: "button",
7811
8263
  class: "uid-transfer__op",
7812
8264
  disabled: g.value.size === 0 || n.disabled,
@@ -7815,9 +8267,9 @@ var Lc = {
7815
8267
  }, [d(e, {
7816
8268
  icon: L(ce),
7817
8269
  size: 16
7818
- }, null, 8, ["icon"])], 8, Vu)]),
7819
- l("div", Hu, [
7820
- l("div", Uu, [l("span", Wu, [l("span", {
8270
+ }, null, 8, ["icon"])], 8, xd)]),
8271
+ l("div", Sd, [
8272
+ l("div", Cd, [l("span", wd, [l("span", {
7821
8273
  class: y(["uid-transfer__check", { "uid-transfer__check--checked": M.value }]),
7822
8274
  role: "checkbox",
7823
8275
  "aria-checked": M.value,
@@ -7828,14 +8280,14 @@ var Lc = {
7828
8280
  key: 0,
7829
8281
  icon: L(Q),
7830
8282
  size: 10
7831
- }, null, 8, ["icon"])) : s("", !0)], 42, Gu), u(" " + P(b.value[1]), 1)]), l("span", Ku, P(g.value.size) + " / " + P(E.value.length), 1)]),
7832
- n.searchable ? (T(), c("div", qu, [J(l("input", {
8283
+ }, null, 8, ["icon"])) : s("", !0)], 42, Td), u(" " + P(b.value[1]), 1)]), l("span", Ed, P(g.value.size) + " / " + P(E.value.length), 1)]),
8284
+ n.searchable ? (T(), c("div", Dd, [J(l("input", {
7833
8285
  "onUpdate:modelValue": i[7] ||= (e) => v.value = e,
7834
8286
  class: "uid-transfer__search-input",
7835
8287
  type: "text",
7836
8288
  placeholder: L(m).common.search
7837
- }, null, 8, Ju), [[U, v.value]])])) : s("", !0),
7838
- l("ul", Yu, [(T(!0), c(t, null, k(E.value, (t) => (T(), c("li", {
8289
+ }, null, 8, Od), [[U, v.value]])])) : s("", !0),
8290
+ l("ul", kd, [(T(!0), c(t, null, k(E.value, (t) => (T(), c("li", {
7839
8291
  key: t.key,
7840
8292
  class: y(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
7841
8293
  role: "option",
@@ -7849,60 +8301,60 @@ var Lc = {
7849
8301
  key: 0,
7850
8302
  icon: L(Q),
7851
8303
  size: 10
7852
- }, null, 8, ["icon"])) : s("", !0)], 2), l("span", Zu, P(t.label), 1)], 10, Xu))), 128)), E.value.length === 0 ? (T(), c("li", Qu, P(L(m).common.noResults), 1)) : s("", !0)])
8304
+ }, null, 8, ["icon"])) : s("", !0)], 2), l("span", jd, P(t.label), 1)], 10, Ad))), 128)), E.value.length === 0 ? (T(), c("li", Md, P(L(m).common.noResults), 1)) : s("", !0)])
7853
8305
  ])
7854
8306
  ], 2));
7855
8307
  }
7856
- }), ed = {
8308
+ }), Pd = {
7857
8309
  key: 0,
7858
8310
  class: "uid-cascader__label"
7859
- }, td = [
8311
+ }, Fd = [
7860
8312
  "aria-expanded",
7861
8313
  "aria-disabled",
7862
8314
  "aria-label"
7863
- ], nd = { class: "uid-cascader__value" }, rd = {
8315
+ ], Id = { class: "uid-cascader__value" }, Ld = {
7864
8316
  key: 0,
7865
8317
  class: "uid-cascader__separator"
7866
- }, id = {
8318
+ }, Rd = {
7867
8319
  key: 1,
7868
8320
  class: "uid-cascader__placeholder"
7869
- }, ad = { class: "uid-cascader__suffix" }, od = ["aria-label"], sd = {
8321
+ }, zd = { class: "uid-cascader__suffix" }, Bd = ["aria-label"], Vd = {
7870
8322
  key: 0,
7871
8323
  class: "uid-cascader__search"
7872
- }, cd = [
8324
+ }, Hd = [
7873
8325
  "aria-expanded",
7874
8326
  "aria-controls",
7875
8327
  "aria-activedescendant",
7876
8328
  "aria-label",
7877
8329
  "placeholder"
7878
- ], ld = ["id"], ud = [
8330
+ ], Ud = ["id"], Wd = [
7879
8331
  "id",
7880
8332
  "aria-selected",
7881
8333
  "onMouseenter",
7882
8334
  "onClick"
7883
- ], dd = {
8335
+ ], Gd = {
7884
8336
  key: 0,
7885
8337
  class: "uid-cascader__separator"
7886
- }, fd = {
8338
+ }, Kd = {
7887
8339
  key: 0,
7888
8340
  class: "uid-cascader__highlight"
7889
- }, pd = {
8341
+ }, qd = {
7890
8342
  key: 0,
7891
8343
  class: "uid-cascader__empty",
7892
8344
  role: "presentation"
7893
- }, md = {
8345
+ }, Jd = {
7894
8346
  key: 2,
7895
8347
  class: "uid-cascader__columns"
7896
- }, hd = [
8348
+ }, Yd = [
7897
8349
  "aria-haspopup",
7898
8350
  "aria-expanded",
7899
8351
  "aria-disabled",
7900
8352
  "onClick",
7901
8353
  "onMouseenter"
7902
- ], gd = { class: "uid-cascader__option-label" }, _d = {
8354
+ ], Xd = { class: "uid-cascader__option-label" }, Zd = {
7903
8355
  key: 1,
7904
8356
  class: "uid-cascader__hint"
7905
- }, vd = /* @__PURE__ */ f({
8357
+ }, Qd = /* @__PURE__ */ f({
7906
8358
  __name: "UidCascader",
7907
8359
  props: /* @__PURE__ */ g({
7908
8360
  size: { default: "md" },
@@ -8081,7 +8533,7 @@ var Lc = {
8081
8533
  "uid-cascader--disabled": r.disabled
8082
8534
  }]])
8083
8535
  }, [
8084
- r.label ? (T(), c("label", ed, P(r.label), 1)) : s("", !0),
8536
+ r.label ? (T(), c("label", Pd, P(r.label), 1)) : s("", !0),
8085
8537
  l("div", {
8086
8538
  ref_key: "triggerRef",
8087
8539
  ref: E,
@@ -8094,7 +8546,7 @@ var Lc = {
8094
8546
  "aria-label": g.value,
8095
8547
  onClick: ae,
8096
8548
  onKeydown: pe
8097
- }, [l("div", nd, [ne.value.length > 0 ? (T(!0), c(t, { key: 0 }, k(ne.value, (e, n) => (T(), c(t, { key: n }, [l("span", null, P(e), 1), n < ne.value.length - 1 ? (T(), c("span", rd, P(r.separator), 1)) : s("", !0)], 64))), 128)) : (T(), c("span", id, P(g.value), 1))]), l("div", ad, [r.clearable && m.value.length > 0 ? (T(), c("button", {
8549
+ }, [l("div", Id, [ne.value.length > 0 ? (T(!0), c(t, { key: 0 }, k(ne.value, (e, n) => (T(), c(t, { key: n }, [l("span", null, P(e), 1), n < ne.value.length - 1 ? (T(), c("span", Ld, P(r.separator), 1)) : s("", !0)], 64))), 128)) : (T(), c("span", Rd, P(g.value), 1))]), l("div", zd, [r.clearable && m.value.length > 0 ? (T(), c("button", {
8098
8550
  key: 0,
8099
8551
  type: "button",
8100
8552
  class: "uid-cascader__clear",
@@ -8103,18 +8555,18 @@ var Lc = {
8103
8555
  }, [d(e, {
8104
8556
  icon: L(Ee),
8105
8557
  size: 14
8106
- }, null, 8, ["icon"])], 8, od)) : s("", !0), d(e, {
8558
+ }, null, 8, ["icon"])], 8, Bd)) : s("", !0), d(e, {
8107
8559
  icon: L(se),
8108
8560
  size: 16,
8109
8561
  class: y(["uid-cascader__chevron", { "uid-cascader__chevron--open": _.value }])
8110
- }, null, 8, ["icon", "class"])])], 40, td),
8562
+ }, null, 8, ["icon", "class"])])], 40, Fd),
8111
8563
  (T(), o(n, { to: "body" }, [_.value ? (T(), c("div", {
8112
8564
  key: 0,
8113
8565
  ref_key: "panelRef",
8114
8566
  ref: D,
8115
8567
  class: "uid-cascader__dropdown",
8116
8568
  style: b(L(A))
8117
- }, [r.searchable ? (T(), c("div", sd, [J(l("input", {
8569
+ }, [r.searchable ? (T(), c("div", Vd, [J(l("input", {
8118
8570
  ref_key: "searchRef",
8119
8571
  ref: w,
8120
8572
  "onUpdate:modelValue": a[0] ||= (e) => M.value = e,
@@ -8129,7 +8581,7 @@ var Lc = {
8129
8581
  "aria-label": r.searchPlaceholder ?? L(h).common.search,
8130
8582
  placeholder: r.searchPlaceholder ?? L(h).common.search,
8131
8583
  onKeydown: Y
8132
- }, null, 40, cd), [[U, M.value]])])) : s("", !0), H.value ? (T(), c("ul", {
8584
+ }, null, 40, Hd), [[U, M.value]])])) : s("", !0), H.value ? (T(), c("ul", {
8133
8585
  key: 1,
8134
8586
  id: L(F),
8135
8587
  class: "uid-cascader__results",
@@ -8143,7 +8595,7 @@ var Lc = {
8143
8595
  onMousedown: a[1] ||= X(() => {}, ["prevent"]),
8144
8596
  onMouseenter: (e) => N.value = n,
8145
8597
  onClick: (t) => q(e)
8146
- }, [(T(!0), c(t, null, k(e.path, (e, n) => (T(), c(t, { key: n }, [n > 0 ? (T(), c("span", dd, P(r.separator), 1)) : s("", !0), l("span", null, [(T(!0), c(t, null, k(W(e.label), (e, n) => (T(), c(t, { key: n }, [e.match ? (T(), c("mark", fd, P(e.text), 1)) : (T(), c(t, { key: 1 }, [u(P(e.text), 1)], 64))], 64))), 128))])], 64))), 128))], 42, ud))), 128)), V.value.length === 0 ? (T(), c("li", pd, P(L(h).common.noResults), 1)) : s("", !0)], 8, ld)) : (T(), c("div", md, [(T(!0), c(t, null, k(ee.value, (n, i) => (T(), c("div", {
8598
+ }, [(T(!0), c(t, null, k(e.path, (e, n) => (T(), c(t, { key: n }, [n > 0 ? (T(), c("span", Gd, P(r.separator), 1)) : s("", !0), l("span", null, [(T(!0), c(t, null, k(W(e.label), (e, n) => (T(), c(t, { key: n }, [e.match ? (T(), c("mark", Kd, P(e.text), 1)) : (T(), c(t, { key: 1 }, [u(P(e.text), 1)], 64))], 64))), 128))])], 64))), 128))], 42, Wd))), 128)), V.value.length === 0 ? (T(), c("li", qd, P(L(h).common.noResults), 1)) : s("", !0)], 8, Ud)) : (T(), c("div", Jd, [(T(!0), c(t, null, k(ee.value, (n, i) => (T(), c("div", {
8147
8599
  key: i,
8148
8600
  class: "uid-cascader__column"
8149
8601
  }, [(T(!0), c(t, null, k(n, (t) => (T(), c("button", {
@@ -8159,27 +8611,27 @@ var Lc = {
8159
8611
  "aria-disabled": t.disabled ? "true" : void 0,
8160
8612
  onClick: (e) => ce(t, i),
8161
8613
  onMouseenter: (e) => ue(t, i)
8162
- }, [l("span", gd, P(t.label), 1), t.children?.length ? (T(), o(e, {
8614
+ }, [l("span", Xd, P(t.label), 1), t.children?.length ? (T(), o(e, {
8163
8615
  key: 0,
8164
8616
  icon: L(le),
8165
8617
  size: 14,
8166
8618
  class: "uid-cascader__option-arrow",
8167
8619
  "aria-hidden": "true"
8168
- }, null, 8, ["icon"])) : s("", !0)], 42, hd))), 128))]))), 128))]))], 4)) : s("", !0)])),
8169
- r.hint ? (T(), c("p", _d, P(r.hint), 1)) : s("", !0)
8620
+ }, null, 8, ["icon"])) : s("", !0)], 42, Yd))), 128))]))), 128))]))], 4)) : s("", !0)])),
8621
+ r.hint ? (T(), c("p", Zd, P(r.hint), 1)) : s("", !0)
8170
8622
  ], 2));
8171
8623
  }
8172
- }), yd = { class: "uid-calendar__header" }, bd = { class: "uid-calendar__title" }, xd = { class: "uid-calendar__nav" }, Sd = ["aria-label"], Cd = ["aria-label"], wd = { class: "uid-calendar__weekdays" }, Td = { class: "uid-calendar__grid" }, Ed = [
8624
+ }), $d = { class: "uid-calendar__header" }, ef = { class: "uid-calendar__title" }, tf = { class: "uid-calendar__nav" }, nf = ["aria-label"], rf = ["aria-label"], af = { class: "uid-calendar__weekdays" }, of = { class: "uid-calendar__grid" }, sf = [
8173
8625
  "tabindex",
8174
8626
  "aria-current",
8175
8627
  "aria-selected",
8176
8628
  "aria-label",
8177
8629
  "onClick",
8178
8630
  "onKeydown"
8179
- ], Dd = { class: "uid-calendar__date" }, Od = { class: "uid-calendar__events" }, kd = ["title", "onClick"], Ad = { class: "uid-calendar__event-label" }, jd = {
8631
+ ], cf = { class: "uid-calendar__date" }, lf = { class: "uid-calendar__events" }, uf = ["title", "onClick"], df = { class: "uid-calendar__event-label" }, ff = {
8180
8632
  key: 0,
8181
8633
  class: "uid-calendar__more"
8182
- }, Md = /* @__PURE__ */ f({
8634
+ }, pf = /* @__PURE__ */ f({
8183
8635
  __name: "UidCalendar",
8184
8636
  props: /* @__PURE__ */ g({
8185
8637
  events: { default: () => [] },
@@ -8266,7 +8718,7 @@ var Lc = {
8266
8718
  e.stopPropagation(), o("event-click", t);
8267
8719
  }
8268
8720
  return (r, i) => (T(), c("div", { class: y(["uid-calendar", { "uid-calendar--compact": n.compact }]) }, [
8269
- l("div", yd, [l("span", bd, P(x.value), 1), l("div", xd, [
8721
+ l("div", $d, [l("span", ef, P(x.value), 1), l("div", tf, [
8270
8722
  l("button", {
8271
8723
  type: "button",
8272
8724
  class: "uid-calendar__btn uid-calendar__btn--icon",
@@ -8275,7 +8727,7 @@ var Lc = {
8275
8727
  }, [d(e, {
8276
8728
  icon: L(ce),
8277
8729
  size: 14
8278
- }, null, 8, ["icon"])], 8, Sd),
8730
+ }, null, 8, ["icon"])], 8, nf),
8279
8731
  l("button", {
8280
8732
  type: "button",
8281
8733
  class: "uid-calendar__btn",
@@ -8289,13 +8741,13 @@ var Lc = {
8289
8741
  }, [d(e, {
8290
8742
  icon: L(le),
8291
8743
  size: 14
8292
- }, null, 8, ["icon"])], 8, Cd)
8744
+ }, null, 8, ["icon"])], 8, rf)
8293
8745
  ])]),
8294
- l("div", wd, [(T(!0), c(t, null, k(L(f).datePicker.weekdaysShort, (e) => (T(), c("span", {
8746
+ l("div", af, [(T(!0), c(t, null, k(L(f).datePicker.weekdaysShort, (e) => (T(), c("span", {
8295
8747
  key: e,
8296
8748
  class: "uid-calendar__weekday"
8297
8749
  }, P(e), 1))), 128))]),
8298
- l("div", Td, [(T(!0), c(t, null, k(w.value, (e) => (T(), c("div", {
8750
+ l("div", of, [(T(!0), c(t, null, k(w.value, (e) => (T(), c("div", {
8299
8751
  key: e.iso,
8300
8752
  class: y(["uid-calendar__day", {
8301
8753
  "uid-calendar__day--other": !e.current,
@@ -8310,30 +8762,30 @@ var Lc = {
8310
8762
  "aria-label": e.iso,
8311
8763
  onClick: (t) => M(e),
8312
8764
  onKeydown: [Y(X((t) => M(e), ["prevent"]), ["enter"]), Y(X((t) => M(e), ["prevent"]), ["space"])]
8313
- }, [l("span", Dd, P(e.date.getDate()), 1), l("div", Od, [(T(!0), c(t, null, k(e.events.slice(0, n.maxEventsPerDay), (t, n) => (T(), c("button", {
8765
+ }, [l("span", cf, P(e.date.getDate()), 1), l("div", lf, [(T(!0), c(t, null, k(e.events.slice(0, n.maxEventsPerDay), (t, n) => (T(), c("button", {
8314
8766
  key: t.id ?? `${e.iso}-${n}`,
8315
8767
  type: "button",
8316
8768
  class: "uid-calendar__event",
8317
8769
  style: b(t.color ? { "--uid-event-color": t.color } : void 0),
8318
8770
  title: t.title,
8319
8771
  onClick: (e) => N(e, t)
8320
- }, [l("span", Ad, P(t.title), 1)], 12, kd))), 128)), e.events.length > n.maxEventsPerDay ? (T(), c("span", jd, "+" + P(e.events.length - n.maxEventsPerDay), 1)) : s("", !0)])], 42, Ed))), 128))])
8772
+ }, [l("span", df, P(t.title), 1)], 12, uf))), 128)), e.events.length > n.maxEventsPerDay ? (T(), c("span", ff, "+" + P(e.events.length - n.maxEventsPerDay), 1)) : s("", !0)])], 42, sf))), 128))])
8321
8773
  ], 2));
8322
8774
  }
8323
- }), Nd = ["aria-label"], Pd = [
8775
+ }), mf = ["aria-label"], hf = [
8324
8776
  "viewBox",
8325
8777
  "width",
8326
8778
  "height"
8327
- ], Fd = [
8779
+ ], gf = [
8328
8780
  "x2",
8329
8781
  "y1",
8330
8782
  "y2"
8331
- ], Id = [
8783
+ ], _f = [
8332
8784
  "x",
8333
8785
  "y",
8334
8786
  "width",
8335
8787
  "height"
8336
- ], Ld = ["d"], Rd = ["d"], zd = ["cx", "cy"], Bd = ["cx", "cy"], Vd = 2, Hd = /* @__PURE__ */ f({
8788
+ ], vf = ["d"], yf = ["d"], bf = ["cx", "cy"], xf = ["cx", "cy"], Sf = 2, Cf = /* @__PURE__ */ f({
8337
8789
  __name: "UidSparkline",
8338
8790
  props: {
8339
8791
  data: {},
@@ -8376,11 +8828,11 @@ var Lc = {
8376
8828
  };
8377
8829
  });
8378
8830
  function o(e, t) {
8379
- return t <= 1 ? n.width / 2 : Vd + e / (t - 1) * (n.width - Vd * 2);
8831
+ return t <= 1 ? n.width / 2 : Sf + e / (t - 1) * (n.width - Sf * 2);
8380
8832
  }
8381
8833
  function u(e) {
8382
8834
  let t = i.value, r = (e - t.min) / (t.max - t.min);
8383
- return n.height - Vd - r * (n.height - Vd * 2);
8835
+ return n.height - Sf - r * (n.height - Sf * 2);
8384
8836
  }
8385
8837
  let d = a(() => n.data.map((e, t) => ({
8386
8838
  x: o(t, n.data.length),
@@ -8399,14 +8851,14 @@ var Lc = {
8399
8851
  }), p = a(() => {
8400
8852
  let e = d.value;
8401
8853
  if (e.length === 0) return "";
8402
- let t = n.height - Vd;
8854
+ let t = n.height - Sf;
8403
8855
  return `${f.value} L ${e[e.length - 1].x.toFixed(2)} ${t.toFixed(2)} L ${e[0].x.toFixed(2)} ${t.toFixed(2)} Z`;
8404
8856
  }), m = a(() => {
8405
8857
  let e = d.value, t = e.length;
8406
8858
  if (t === 0) return [];
8407
- let r = n.width - Vd * 2, i = Math.max(1, r / t * .7), a = u(0);
8859
+ let r = n.width - Sf * 2, i = Math.max(1, r / t * .7), a = u(0);
8408
8860
  return e.map((e, n) => {
8409
- let o = Vd + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
8861
+ let o = Sf + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
8410
8862
  return {
8411
8863
  x: o,
8412
8864
  y: c,
@@ -8443,59 +8895,59 @@ var Lc = {
8443
8895
  x2: e.width,
8444
8896
  y1: h.value,
8445
8897
  y2: h.value
8446
- }, null, 8, Fd)) : s("", !0), e.type === "bar" ? (T(!0), c(t, { key: 1 }, k(m.value, (e, t) => (T(), c("rect", {
8898
+ }, null, 8, gf)) : s("", !0), e.type === "bar" ? (T(!0), c(t, { key: 1 }, k(m.value, (e, t) => (T(), c("rect", {
8447
8899
  key: t,
8448
8900
  class: y(["uid-sparkline__bar", { "uid-sparkline__bar--negative": e.negative }]),
8449
8901
  x: e.x,
8450
8902
  y: e.y,
8451
8903
  width: e.width,
8452
8904
  height: e.height
8453
- }, null, 10, Id))), 128)) : (T(), c(t, { key: 2 }, [
8905
+ }, null, 10, _f))), 128)) : (T(), c(t, { key: 2 }, [
8454
8906
  e.type === "area" ? (T(), c("path", {
8455
8907
  key: 0,
8456
8908
  class: "uid-sparkline__area",
8457
8909
  d: p.value
8458
- }, null, 8, Ld)) : s("", !0),
8910
+ }, null, 8, vf)) : s("", !0),
8459
8911
  l("path", {
8460
8912
  class: "uid-sparkline__line",
8461
8913
  d: f.value
8462
- }, null, 8, Rd),
8914
+ }, null, 8, yf),
8463
8915
  e.showDots ? (T(!0), c(t, { key: 1 }, k(d.value, (e, t) => (T(), c("circle", {
8464
8916
  key: t,
8465
8917
  class: "uid-sparkline__dot",
8466
8918
  cx: e.x,
8467
8919
  cy: e.y,
8468
8920
  r: "2.5"
8469
- }, null, 8, zd))), 128)) : s("", !0),
8921
+ }, null, 8, bf))), 128)) : s("", !0),
8470
8922
  e.showLast && _.value && !e.showDots ? (T(), c("circle", {
8471
8923
  key: 2,
8472
8924
  class: "uid-sparkline__dot uid-sparkline__dot--last",
8473
8925
  cx: _.value.x,
8474
8926
  cy: _.value.y,
8475
8927
  r: "2.5"
8476
- }, null, 8, Bd)) : s("", !0)
8477
- ], 64))], 8, Pd))], 12, Nd));
8928
+ }, null, 8, xf)) : s("", !0)
8929
+ ], 64))], 8, hf))], 12, mf));
8478
8930
  }
8479
- }), Ud = ["aria-valuemax", "aria-valuenow"], Wd = [
8931
+ }), wf = ["aria-valuemax", "aria-valuenow"], Tf = [
8480
8932
  "width",
8481
8933
  "height",
8482
8934
  "viewBox"
8483
- ], Gd = [
8935
+ ], Ef = [
8484
8936
  "cx",
8485
8937
  "cy",
8486
8938
  "r",
8487
8939
  "stroke-width"
8488
- ], Kd = [
8940
+ ], Df = [
8489
8941
  "cx",
8490
8942
  "cy",
8491
8943
  "r",
8492
8944
  "stroke-width",
8493
8945
  "stroke-dasharray",
8494
8946
  "stroke-dashoffset"
8495
- ], qd = {
8947
+ ], Of = {
8496
8948
  key: 0,
8497
8949
  class: "uid-progress-ring__label"
8498
- }, Jd = /* @__PURE__ */ f({
8950
+ }, kf = /* @__PURE__ */ f({
8499
8951
  __name: "UidProgressRing",
8500
8952
  props: {
8501
8953
  value: { default: 0 },
@@ -8540,7 +8992,7 @@ var Lc = {
8540
8992
  cy: i.value,
8541
8993
  r: n.value,
8542
8994
  "stroke-width": e.strokeWidth
8543
- }, null, 8, Gd), l("circle", {
8995
+ }, null, 8, Ef), l("circle", {
8544
8996
  class: "uid-progress-ring__progress",
8545
8997
  cx: i.value,
8546
8998
  cy: i.value,
@@ -8548,50 +9000,50 @@ var Lc = {
8548
9000
  "stroke-width": e.strokeWidth,
8549
9001
  "stroke-dasharray": r.value,
8550
9002
  "stroke-dashoffset": f.value
8551
- }, null, 8, Kd)], 8, Wd)), e.showLabel || t.$slots.default ? (T(), c("div", qd, [A(t.$slots, "default", {}, () => [u(P(p.value), 1)])])) : s("", !0)], 14, Ud));
9003
+ }, null, 8, Df)], 8, Tf)), e.showLabel || t.$slots.default ? (T(), c("div", Of, [A(t.$slots, "default", {}, () => [u(P(p.value), 1)])])) : s("", !0)], 14, wf));
8552
9004
  }
8553
- }), Yd = [
9005
+ }), Af = [
8554
9006
  "aria-valuemin",
8555
9007
  "aria-valuemax",
8556
9008
  "aria-valuenow",
8557
9009
  "aria-label"
8558
- ], Xd = [
9010
+ ], jf = [
8559
9011
  "width",
8560
9012
  "height",
8561
9013
  "viewBox"
8562
- ], Zd = ["d", "stroke-width"], Qd = [
9014
+ ], Mf = ["d", "stroke-width"], Nf = [
8563
9015
  "d",
8564
9016
  "stroke",
8565
9017
  "stroke-width",
8566
9018
  "stroke-dasharray",
8567
9019
  "stroke-dashoffset"
8568
- ], $d = [
9020
+ ], Pf = [
8569
9021
  "d",
8570
9022
  "stroke-width",
8571
9023
  "stroke-dasharray",
8572
9024
  "stroke-dashoffset"
8573
- ], ef = { key: 2 }, tf = [
9025
+ ], Ff = { key: 2 }, If = [
8574
9026
  "x1",
8575
9027
  "y1",
8576
9028
  "x2",
8577
9029
  "y2",
8578
9030
  "transform"
8579
- ], nf = ["cx", "cy"], rf = {
9031
+ ], Lf = ["cx", "cy"], Rf = {
8580
9032
  key: 0,
8581
9033
  class: "uid-gauge__content"
8582
- }, af = {
9034
+ }, zf = {
8583
9035
  key: 0,
8584
9036
  class: "uid-gauge__value"
8585
- }, of = {
9037
+ }, Bf = {
8586
9038
  key: 0,
8587
9039
  class: "uid-gauge__suffix"
8588
- }, sf = {
9040
+ }, Vf = {
8589
9041
  key: 1,
8590
9042
  class: "uid-gauge__label"
8591
- }, cf = {
9043
+ }, Hf = {
8592
9044
  key: 1,
8593
9045
  class: "uid-gauge__limits"
8594
- }, lf = 4, uf = /* @__PURE__ */ f({
9046
+ }, Uf = 4, Wf = /* @__PURE__ */ f({
8595
9047
  __name: "UidGauge",
8596
9048
  props: {
8597
9049
  value: { default: 0 },
@@ -8621,7 +9073,7 @@ var Lc = {
8621
9073
  locale: { default: void 0 }
8622
9074
  },
8623
9075
  setup(e) {
8624
- let n = e, r = $(), i = a(() => n.locale ?? r.value.code), o = a(() => (n.size - n.strokeWidth) / 2 - lf), u = a(() => n.size / 2), d = a(() => n.size / 2), f = a(() => n.size / 2 + n.strokeWidth / 2 + lf), p = a(() => Math.PI * o.value), m = a(() => Math.max(n.min, Math.min(n.max, n.value))), h = a(() => {
9076
+ let n = e, r = $(), i = a(() => n.locale ?? r.value.code), o = a(() => (n.size - n.strokeWidth) / 2 - Uf), u = a(() => n.size / 2), d = a(() => n.size / 2), f = a(() => n.size / 2 + n.strokeWidth / 2 + Uf), p = a(() => Math.PI * o.value), m = a(() => Math.max(n.min, Math.min(n.max, n.value))), h = a(() => {
8625
9077
  let e = n.max - n.min;
8626
9078
  return e <= 0 ? 0 : (m.value - n.min) / e;
8627
9079
  }), g = a(() => {
@@ -8659,7 +9111,7 @@ var Lc = {
8659
9111
  class: "uid-gauge__track",
8660
9112
  d: g.value,
8661
9113
  "stroke-width": e.strokeWidth
8662
- }, null, 8, Zd),
9114
+ }, null, 8, Mf),
8663
9115
  e.ranges && e.ranges.length ? (T(!0), c(t, { key: 0 }, k(e.ranges, (t, n) => (T(), c("path", {
8664
9116
  key: n,
8665
9117
  class: "uid-gauge__range",
@@ -8668,7 +9120,7 @@ var Lc = {
8668
9120
  "stroke-width": e.strokeWidth,
8669
9121
  "stroke-dasharray": v(t).dasharray,
8670
9122
  "stroke-dashoffset": v(t).dashoffset
8671
- }, null, 8, Qd))), 128)) : s("", !0),
9123
+ }, null, 8, Nf))), 128)) : s("", !0),
8672
9124
  !e.ranges || e.ranges.length === 0 ? (T(), c("path", {
8673
9125
  key: 1,
8674
9126
  class: "uid-gauge__progress",
@@ -8676,43 +9128,43 @@ var Lc = {
8676
9128
  "stroke-width": e.strokeWidth,
8677
9129
  "stroke-dasharray": p.value,
8678
9130
  "stroke-dashoffset": _.value
8679
- }, null, 8, $d)) : s("", !0),
8680
- e.showNeedle ? (T(), c("g", ef, [l("line", {
9131
+ }, null, 8, Pf)) : s("", !0),
9132
+ e.showNeedle ? (T(), c("g", Ff, [l("line", {
8681
9133
  class: "uid-gauge__needle",
8682
9134
  x1: u.value,
8683
9135
  y1: d.value,
8684
9136
  x2: u.value + o.value - e.strokeWidth,
8685
9137
  y2: d.value,
8686
9138
  transform: `rotate(${x.value} ${u.value} ${d.value})`
8687
- }, null, 8, tf), l("circle", {
9139
+ }, null, 8, If), l("circle", {
8688
9140
  class: "uid-gauge__needle-pivot",
8689
9141
  cx: u.value,
8690
9142
  cy: d.value,
8691
9143
  r: "4"
8692
- }, null, 8, nf)])) : s("", !0)
8693
- ], 8, Xd)),
8694
- e.showValue || e.label ? (T(), c("div", rf, [e.showValue ? (T(), c("div", af, [l("span", null, P(S.value), 1), e.suffix ? (T(), c("span", of, P(e.suffix), 1)) : s("", !0)])) : s("", !0), e.label ? (T(), c("div", sf, P(e.label), 1)) : s("", !0)])) : s("", !0),
8695
- e.showLimits ? (T(), c("div", cf, [l("span", null, P(e.min), 1), l("span", null, P(e.max), 1)])) : s("", !0)
8696
- ], 14, Yd));
9144
+ }, null, 8, Lf)])) : s("", !0)
9145
+ ], 8, jf)),
9146
+ e.showValue || e.label ? (T(), c("div", Rf, [e.showValue ? (T(), c("div", zf, [l("span", null, P(S.value), 1), e.suffix ? (T(), c("span", Bf, P(e.suffix), 1)) : s("", !0)])) : s("", !0), e.label ? (T(), c("div", Vf, P(e.label), 1)) : s("", !0)])) : s("", !0),
9147
+ e.showLimits ? (T(), c("div", Hf, [l("span", null, P(e.min), 1), l("span", null, P(e.max), 1)])) : s("", !0)
9148
+ ], 14, Af));
8697
9149
  }
8698
- }), df = ["aria-label"], ff = { class: "uid-heatmap__chart" }, pf = {
9150
+ }), Gf = ["aria-label"], Kf = { class: "uid-heatmap__chart" }, qf = {
8699
9151
  key: 0,
8700
9152
  class: "uid-heatmap__weekdays",
8701
9153
  "aria-hidden": "true"
8702
- }, mf = { class: "uid-heatmap__grid-wrapper" }, hf = [
9154
+ }, Jf = { class: "uid-heatmap__grid-wrapper" }, Yf = [
8703
9155
  "width",
8704
9156
  "height",
8705
9157
  "viewBox"
8706
- ], gf = [
9158
+ ], Xf = [
8707
9159
  "x",
8708
9160
  "y",
8709
9161
  "width",
8710
9162
  "height",
8711
9163
  "fill"
8712
- ], _f = {
9164
+ ], Zf = {
8713
9165
  key: 0,
8714
9166
  class: "uid-heatmap__legend"
8715
- }, vf = /* @__PURE__ */ f({
9167
+ }, Qf = /* @__PURE__ */ f({
8716
9168
  __name: "UidHeatmap",
8717
9169
  props: {
8718
9170
  data: {},
@@ -8818,10 +9270,10 @@ var Lc = {
8818
9270
  style: b(w.value),
8819
9271
  role: "img",
8820
9272
  "aria-label": A.value
8821
- }, [l("div", ff, [e.showWeekdays ? (T(), c("div", pf, [(T(!0), c(t, null, k(L(r).datePicker.weekdaysShort, (e, t) => (T(), c("span", {
9273
+ }, [l("div", Kf, [e.showWeekdays ? (T(), c("div", qf, [(T(!0), c(t, null, k(L(r).datePicker.weekdaysShort, (e, t) => (T(), c("span", {
8822
9274
  key: e,
8823
9275
  class: y(["uid-heatmap__weekday", { "uid-heatmap__weekday--visible": t === 0 || t === 2 || t === 4 }])
8824
- }, P(e), 3))), 128))])) : s("", !0), l("div", mf, [e.showMonths ? (T(), c("div", {
9276
+ }, P(e), 3))), 128))])) : s("", !0), l("div", Jf, [e.showMonths ? (T(), c("div", {
8825
9277
  key: 0,
8826
9278
  class: "uid-heatmap__months",
8827
9279
  style: b({ width: `${S.value}px` }),
@@ -8844,7 +9296,7 @@ var Lc = {
8844
9296
  width: e.cellSize,
8845
9297
  height: e.cellSize,
8846
9298
  fill: v(t.level)
8847
- }, [l("title", null, P(D(t)), 1)], 8, gf))), 128))], 8, hf))])]), e.showLegend ? (T(), c("div", _f, [
9299
+ }, [l("title", null, P(D(t)), 1)], 8, Xf))), 128))], 8, Yf))])]), e.showLegend ? (T(), c("div", Zf, [
8848
9300
  l("span", null, P(L(r).heatmap.less), 1),
8849
9301
  (T(!0), c(t, null, k(E.value, (e) => (T(), c("span", {
8850
9302
  key: e,
@@ -8852,9 +9304,9 @@ var Lc = {
8852
9304
  style: b(e === 0 ? void 0 : { background: v(e) })
8853
9305
  }, null, 4))), 128)),
8854
9306
  l("span", null, P(L(r).heatmap.more), 1)
8855
- ])) : s("", !0)], 12, df));
9307
+ ])) : s("", !0)], 12, Gf));
8856
9308
  }
8857
- }), yf = {
9309
+ }), $f = {
8858
9310
  default: ["color-mix(in srgb, var(--uid-heatmap-matrix-color) 14%, var(--uid-color-bg))", "var(--uid-heatmap-matrix-color)"],
8859
9311
  viridis: [
8860
9312
  "#440154",
@@ -8934,42 +9386,42 @@ var Lc = {
8934
9386
  "#67000d"
8935
9387
  ]
8936
9388
  };
8937
- function bf(e) {
8938
- return Object.prototype.hasOwnProperty.call(yf, e);
9389
+ function ep(e) {
9390
+ return Object.prototype.hasOwnProperty.call($f, e);
8939
9391
  }
8940
- function xf(e) {
9392
+ function tp(e) {
8941
9393
  if (Array.isArray(e)) {
8942
9394
  let t = e.filter((e) => typeof e == "string" && e.trim() !== "");
8943
- return t.length > 0 ? t : [...yf.default];
9395
+ return t.length > 0 ? t : [...$f.default];
8944
9396
  }
8945
9397
  let t = typeof e == "string" ? e.trim() : "";
8946
- if (t === "") return [...yf.default];
9398
+ if (t === "") return [...$f.default];
8947
9399
  let n = t.toLowerCase();
8948
- return bf(n) ? [...yf[n]] : Sf(t) ? [`color-mix(in srgb, ${t} 14%, var(--uid-color-bg))`, t] : [...yf.default];
9400
+ return ep(n) ? [...$f[n]] : np(t) ? [`color-mix(in srgb, ${t} 14%, var(--uid-color-bg))`, t] : [...$f.default];
8949
9401
  }
8950
- function Sf(e) {
9402
+ function np(e) {
8951
9403
  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);
8952
9404
  }
8953
- function Cf(e, t) {
9405
+ function rp(e, t) {
8954
9406
  if (e.length === 0) return "transparent";
8955
9407
  if (e.length === 1) return e[0];
8956
9408
  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;
8957
9409
  return i <= 5e-4 ? e[r] : i >= .9995 ? e[r + 1] : `color-mix(in srgb, ${e[r + 1]} ${(i * 100).toFixed(1)}%, ${e[r]})`;
8958
9410
  }
8959
- function wf(e) {
9411
+ function ip(e) {
8960
9412
  return e.length === 1 ? e[0] : `linear-gradient(to right, ${e.join(", ")})`;
8961
9413
  }
8962
9414
  //#endregion
8963
9415
  //#region src/components/Heatmap/UidHeatmapMatrix.vue?vue&type=script&setup=true&lang.ts
8964
- var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9416
+ var ap = { class: "uid-heatmap-matrix__scroll" }, op = [
8965
9417
  "aria-label",
8966
9418
  "aria-rowcount",
8967
9419
  "aria-colcount"
8968
- ], Df = {
9420
+ ], sp = {
8969
9421
  class: "uid-heatmap-matrix__row uid-heatmap-matrix__row--head",
8970
9422
  role: "row",
8971
9423
  "aria-rowindex": "1"
8972
- }, Of = ["aria-colindex", "aria-label"], kf = ["title"], Af = ["aria-rowindex"], jf = ["title"], Mf = [
9424
+ }, cp = ["aria-colindex", "aria-label"], lp = ["title"], up = ["aria-rowindex"], dp = ["title"], fp = [
8973
9425
  "aria-colindex",
8974
9426
  "aria-label",
8975
9427
  "tabindex",
@@ -8977,14 +9429,14 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
8977
9429
  "data-c",
8978
9430
  "onMouseenter",
8979
9431
  "onFocus"
8980
- ], Nf = { class: "uid-heatmap-matrix__tooltip-label" }, Pf = { class: "uid-heatmap-matrix__tooltip-value" }, Ff = {
9432
+ ], pp = { class: "uid-heatmap-matrix__tooltip-label" }, mp = { class: "uid-heatmap-matrix__tooltip-value" }, hp = {
8981
9433
  key: 1,
8982
9434
  class: "uid-heatmap-matrix__legend",
8983
9435
  "aria-hidden": "true"
8984
- }, If = { class: "uid-heatmap-matrix__legend-value" }, Lf = { class: "uid-heatmap-matrix__legend-value" }, Rf = {
9436
+ }, gp = { class: "uid-heatmap-matrix__legend-value" }, _p = { class: "uid-heatmap-matrix__legend-value" }, vp = {
8985
9437
  key: 0,
8986
9438
  class: "uid-heatmap-matrix__legend-empty"
8987
- }, zf = 11, Bf = 96, Vf = 18, Hf = /* @__PURE__ */ f({
9439
+ }, yp = 11, bp = 96, xp = 18, Sp = /* @__PURE__ */ f({
8988
9440
  __name: "UidHeatmapMatrix",
8989
9441
  props: {
8990
9442
  rows: {},
@@ -9020,13 +9472,13 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9020
9472
  min: typeof n.min == "number" ? n.min : e,
9021
9473
  max: typeof n.max == "number" ? n.max : t
9022
9474
  };
9023
- }), C = a(() => g.value.some((e) => e.some((e) => e === null))), w = a(() => xf(n.colorScale));
9475
+ }), C = a(() => g.value.some((e) => e.some((e) => e === null))), w = a(() => tp(n.colorScale));
9024
9476
  function E(e) {
9025
9477
  let { min: t, max: n } = _.value;
9026
9478
  return n <= t ? +(e > t) : (e - t) / (n - t);
9027
9479
  }
9028
9480
  function D(e) {
9029
- if (e !== null) return Cf(w.value, E(e));
9481
+ if (e !== null) return rp(w.value, E(e));
9030
9482
  }
9031
9483
  function j(e) {
9032
9484
  return n.formatValue ? n.formatValue(e) : new Intl.NumberFormat(r.value.code).format(e);
@@ -9048,7 +9500,7 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9048
9500
  return `${n.row} × ${n.col}: ${M(n.value)}`;
9049
9501
  }
9050
9502
  function I(e) {
9051
- return Math.min(Bf, e.length * zf * .6);
9503
+ return Math.min(bp, e.length * yp * .6);
9052
9504
  }
9053
9505
  let R = a(() => n.cols.reduce((e, t) => Math.max(e, I(t)), 0)), z = a(() => {
9054
9506
  let e = n.cols.length, t = p.value, r = n.colLabels;
@@ -9057,7 +9509,7 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9057
9509
  step: 1,
9058
9510
  reserve: 0
9059
9511
  };
9060
- let a = t - 4 - m.value - n.gap * e, o = Math.max(n.minCellWidth, a / e), s = R.value, c = Math.max(1, Math.ceil((s + 6) / o)), l = (s + zf) * 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(Vf / u));
9512
+ let a = t - 4 - m.value - n.gap * e, o = Math.max(n.minCellWidth, a / e), s = R.value, c = Math.max(1, Math.ceil((s + 6) / o)), l = (s + yp) * 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(xp / u));
9061
9513
  return r === "horizontal" ? {
9062
9514
  mode: "horizontal",
9063
9515
  step: c,
@@ -9085,7 +9537,7 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9085
9537
  "--uid-heatmap-matrix-min-cell": `${n.minCellWidth}px`,
9086
9538
  "--uid-heatmap-matrix-gap": `${n.gap}px`,
9087
9539
  "--uid-heatmap-matrix-header-height": `${V.value}px`
9088
- })), U = a(() => z.value.reserve > 0 ? { paddingInlineEnd: `${z.value.reserve}px` } : void 0), W = a(() => wf(w.value)), K = a(() => n.ariaLabel ?? r.value.heatmap.matrixSummary(n.rows.length, n.cols.length)), q = O({
9540
+ })), U = a(() => z.value.reserve > 0 ? { paddingInlineEnd: `${z.value.reserve}px` } : void 0), W = a(() => ip(w.value)), K = a(() => n.ariaLabel ?? r.value.heatmap.matrixSummary(n.rows.length, n.cols.length)), q = O({
9089
9541
  r: 0,
9090
9542
  c: 0
9091
9543
  }), J = O(null), Y = O(!1), X = a(() => J.value ?? (Y.value ? q.value : null)), Z = a(() => X.value ? N(X.value.r, X.value.c) : null), ee = O({});
@@ -9183,7 +9635,7 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9183
9635
  class: y(["uid-heatmap-matrix", `uid-heatmap-matrix--labels-${z.value.mode}`]),
9184
9636
  style: b(H.value)
9185
9637
  }, [
9186
- l("div", Tf, [l("div", {
9638
+ l("div", ap, [l("div", {
9187
9639
  class: "uid-heatmap-matrix__grid",
9188
9640
  role: "grid",
9189
9641
  style: b(U.value),
@@ -9192,7 +9644,7 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9192
9644
  "aria-colcount": e.cols.length + 1,
9193
9645
  onMouseleave: re,
9194
9646
  onKeydown: oe
9195
- }, [l("div", Df, [i[0] ||= l("div", {
9647
+ }, [l("div", sp, [i[0] ||= l("div", {
9196
9648
  class: "uid-heatmap-matrix__corner",
9197
9649
  role: "columnheader",
9198
9650
  "aria-colindex": "1"
@@ -9206,7 +9658,7 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9206
9658
  class: y(["uid-heatmap-matrix__col-label", { "uid-heatmap-matrix__col-label--hidden": !B(t) }]),
9207
9659
  title: e,
9208
9660
  "aria-hidden": "true"
9209
- }, P(e), 11, kf)], 8, Of))), 128))]), (T(!0), c(t, null, k(e.rows, (n, r) => (T(), c("div", {
9661
+ }, P(e), 11, lp)], 8, cp))), 128))]), (T(!0), c(t, null, k(e.rows, (n, r) => (T(), c("div", {
9210
9662
  key: `r-${r}`,
9211
9663
  class: "uid-heatmap-matrix__row",
9212
9664
  role: "row",
@@ -9219,7 +9671,7 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9219
9671
  role: "rowheader",
9220
9672
  "aria-colindex": "1",
9221
9673
  title: n
9222
- }, P(n), 9, jf), (T(!0), c(t, null, k(e.cols, (e, t) => (T(), c("div", {
9674
+ }, P(n), 9, dp), (T(!0), c(t, null, k(e.cols, (e, t) => (T(), c("div", {
9223
9675
  key: `c-${r}-${t}`,
9224
9676
  class: y(["uid-heatmap-matrix__cell", {
9225
9677
  "uid-heatmap-matrix__cell--empty": g.value[r][t] === null,
@@ -9235,7 +9687,7 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9235
9687
  onMouseenter: (e) => ne(r, t),
9236
9688
  onFocus: (e) => ie(r, t),
9237
9689
  onBlur: ae
9238
- }, null, 46, Mf))), 128))], 8, Af))), 128))], 44, Ef)]),
9690
+ }, null, 46, fp))), 128))], 8, up))), 128))], 44, op)]),
9239
9691
  Z.value ? (T(), c("div", {
9240
9692
  key: 0,
9241
9693
  ref_key: "tooltipRef",
@@ -9246,25 +9698,25 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9246
9698
  }, [A(n.$slots, "tooltip", {
9247
9699
  cell: Z.value,
9248
9700
  formatted: M(Z.value.value)
9249
- }, () => [l("span", Nf, P(Z.value.row) + " × " + P(Z.value.col), 1), l("strong", Pf, P(M(Z.value.value)), 1)])], 4)) : s("", !0),
9250
- e.showLegend && e.rows.length > 0 && e.cols.length > 0 ? (T(), c("div", Ff, [
9251
- l("span", If, P(j(_.value.min)), 1),
9701
+ }, () => [l("span", pp, P(Z.value.row) + " × " + P(Z.value.col), 1), l("strong", mp, P(M(Z.value.value)), 1)])], 4)) : s("", !0),
9702
+ e.showLegend && e.rows.length > 0 && e.cols.length > 0 ? (T(), c("div", hp, [
9703
+ l("span", gp, P(j(_.value.min)), 1),
9252
9704
  l("span", {
9253
9705
  class: "uid-heatmap-matrix__legend-bar",
9254
9706
  style: b({ background: W.value })
9255
9707
  }, null, 4),
9256
- l("span", Lf, P(j(_.value.max)), 1),
9257
- C.value ? (T(), c("span", Rf, [i[1] ||= l("span", { class: "uid-heatmap-matrix__legend-swatch" }, null, -1), u(" " + P(L(r).heatmap.noData), 1)])) : s("", !0)
9708
+ l("span", _p, P(j(_.value.max)), 1),
9709
+ C.value ? (T(), c("span", vp, [i[1] ||= l("span", { class: "uid-heatmap-matrix__legend-swatch" }, null, -1), u(" " + P(L(r).heatmap.noData), 1)])) : s("", !0)
9258
9710
  ])) : s("", !0)
9259
9711
  ], 6));
9260
9712
  }
9261
- }), Uf = ["aria-label"], Wf = ["aria-current"], Gf = { class: "uid-stepper__indicator" }, Kf = {
9713
+ }), Cp = ["aria-label"], wp = ["aria-current"], Tp = { class: "uid-stepper__indicator" }, Ep = {
9262
9714
  key: 1,
9263
9715
  "aria-hidden": "true"
9264
- }, qf = { class: "uid-stepper__content" }, Jf = { class: "uid-stepper__label" }, Yf = {
9716
+ }, Dp = { class: "uid-stepper__content" }, Op = { class: "uid-stepper__label" }, kp = {
9265
9717
  key: 0,
9266
9718
  class: "uid-stepper__description"
9267
- }, Xf = /* @__PURE__ */ f({
9719
+ }, Ap = /* @__PURE__ */ f({
9268
9720
  __name: "UidStepper",
9269
9721
  props: {
9270
9722
  steps: {},
@@ -9293,20 +9745,20 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9293
9745
  class: y(["uid-stepper__target", { "uid-stepper__target--selectable": d(r) }]),
9294
9746
  onClick: (e) => d(r) && u("select", r)
9295
9747
  }, {
9296
- default: q(() => [l("div", Gf, [f(r, n.current) === "completed" ? (T(), o(e, {
9748
+ default: q(() => [l("div", Tp, [f(r, n.current) === "completed" ? (T(), o(e, {
9297
9749
  key: 0,
9298
9750
  icon: L(Q),
9299
9751
  size: 16,
9300
9752
  "aria-hidden": "true"
9301
- }, null, 8, ["icon"])) : (T(), c("span", Kf, P(r + 1), 1))]), l("div", qf, [l("span", Jf, P(t.label), 1), t.description ? (T(), c("span", Yf, P(t.description), 1)) : s("", !0)])]),
9753
+ }, null, 8, ["icon"])) : (T(), c("span", Ep, P(r + 1), 1))]), l("div", Dp, [l("span", Op, P(t.label), 1), t.description ? (T(), c("span", kp, P(t.description), 1)) : s("", !0)])]),
9302
9754
  _: 2
9303
9755
  }, 1032, [
9304
9756
  "type",
9305
9757
  "class",
9306
9758
  "onClick"
9307
- ]))], 10, Wf))), 128))], 10, Uf));
9759
+ ]))], 10, wp))), 128))], 10, Cp));
9308
9760
  }
9309
- }), Zf = /* @__PURE__ */ f({
9761
+ }), jp = /* @__PURE__ */ f({
9310
9762
  __name: "UidStack",
9311
9763
  props: {
9312
9764
  direction: { default: "column" },
@@ -9352,7 +9804,7 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9352
9804
  _: 3
9353
9805
  }, 8, ["class", "style"]));
9354
9806
  }
9355
- }), Qf = /* @__PURE__ */ f({
9807
+ }), Mp = /* @__PURE__ */ f({
9356
9808
  __name: "UidGrid",
9357
9809
  props: {
9358
9810
  cols: { default: 12 },
@@ -9387,7 +9839,7 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9387
9839
  _: 3
9388
9840
  }, 8, ["style"]));
9389
9841
  }
9390
- }), $f = /* @__PURE__ */ f({
9842
+ }), Np = /* @__PURE__ */ f({
9391
9843
  __name: "UidContainer",
9392
9844
  props: {
9393
9845
  size: { default: "lg" },
@@ -9403,7 +9855,7 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9403
9855
  _: 3
9404
9856
  }, 8, ["class"]));
9405
9857
  }
9406
- }), ep = Symbol("uid-wizard"), tp = { class: "uid-wizard" }, np = /* @__PURE__ */ f({
9858
+ }), Pp = Symbol("uid-wizard"), Fp = { class: "uid-wizard" }, Ip = /* @__PURE__ */ f({
9407
9859
  __name: "UidWizard",
9408
9860
  props: /* @__PURE__ */ g({ steps: {} }, {
9409
9861
  modelValue: { default: 0 },
@@ -9428,7 +9880,7 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9428
9880
  function m(e) {
9429
9881
  i.delete(e);
9430
9882
  }
9431
- return E(ep, {
9883
+ return E(Pp, {
9432
9884
  current: r,
9433
9885
  steps: o,
9434
9886
  isFirst: s,
@@ -9445,9 +9897,9 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9445
9897
  goTo: f,
9446
9898
  isFirst: s,
9447
9899
  isLast: l
9448
- }), (e, t) => (T(), c("div", tp, [A(e.$slots, "default")]));
9900
+ }), (e, t) => (T(), c("div", Fp, [A(e.$slots, "default")]));
9449
9901
  }
9450
- }), rp = ["aria-label"], ip = /* @__PURE__ */ f({
9902
+ }), Lp = ["aria-label"], Rp = /* @__PURE__ */ f({
9451
9903
  __name: "UidWizardStep",
9452
9904
  props: {
9453
9905
  index: {},
@@ -9457,7 +9909,7 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9457
9909
  }
9458
9910
  },
9459
9911
  setup(e) {
9460
- let t = e, n = $(), r = h(ep);
9912
+ let t = e, n = $(), r = h(Pp);
9461
9913
  if (!r) throw Error("UidWizardStep must be inside UidWizard");
9462
9914
  G(() => t.validate, (e, n) => {
9463
9915
  n !== void 0 && r.unregisterValidator(t.index), e !== void 0 && r.registerValidator(t.index, e);
@@ -9468,18 +9920,18 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9468
9920
  class: "uid-wizard-step",
9469
9921
  role: "tabpanel",
9470
9922
  "aria-label": L(n).wizard.step(e.index + 1)
9471
- }, [A(t.$slots, "default")], 8, rp)) : s("", !0);
9923
+ }, [A(t.$slots, "default")], 8, Lp)) : s("", !0);
9472
9924
  }
9473
- }), ap = { class: "uid-pattern-header__inner" }, op = {
9925
+ }), zp = { class: "uid-pattern-header__inner" }, Bp = {
9474
9926
  key: 0,
9475
9927
  class: "uid-pattern-header__logo"
9476
- }, sp = ["aria-label"], cp = {
9928
+ }, Vp = ["aria-label"], Hp = {
9477
9929
  key: 2,
9478
9930
  class: "uid-pattern-header__actions"
9479
- }, lp = {
9931
+ }, Up = {
9480
9932
  key: 3,
9481
9933
  class: "uid-pattern-header__mobile"
9482
- }, up = /* @__PURE__ */ f({
9934
+ }, Wp = /* @__PURE__ */ f({
9483
9935
  __name: "UidHeader",
9484
9936
  props: {
9485
9937
  sticky: {
@@ -9501,39 +9953,39 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9501
9953
  "uid-pattern-header--sticky": e.sticky,
9502
9954
  "uid-pattern-header--bordered": e.bordered,
9503
9955
  "uid-pattern-header--transparent": e.transparent
9504
- }]) }, [l("div", ap, [
9505
- n.$slots.logo ? (T(), c("div", op, [A(n.$slots, "logo")])) : s("", !0),
9956
+ }]) }, [l("div", zp, [
9957
+ n.$slots.logo ? (T(), c("div", Bp, [A(n.$slots, "logo")])) : s("", !0),
9506
9958
  n.$slots.nav ? (T(), c("nav", {
9507
9959
  key: 1,
9508
9960
  class: "uid-pattern-header__nav",
9509
9961
  "aria-label": L(t).header.nav
9510
- }, [A(n.$slots, "nav")], 8, sp)) : s("", !0),
9511
- n.$slots.actions ? (T(), c("div", cp, [A(n.$slots, "actions")])) : s("", !0),
9512
- n.$slots.mobile ? (T(), c("div", lp, [A(n.$slots, "mobile")])) : s("", !0)
9962
+ }, [A(n.$slots, "nav")], 8, Vp)) : s("", !0),
9963
+ n.$slots.actions ? (T(), c("div", Hp, [A(n.$slots, "actions")])) : s("", !0),
9964
+ n.$slots.mobile ? (T(), c("div", Up, [A(n.$slots, "mobile")])) : s("", !0)
9513
9965
  ])], 2));
9514
9966
  }
9515
- }), dp = { class: "uid-pattern-footer__inner" }, fp = {
9967
+ }), Gp = { class: "uid-pattern-footer__inner" }, Kp = {
9516
9968
  key: 0,
9517
9969
  class: "uid-pattern-footer__columns"
9518
- }, pp = {
9970
+ }, qp = {
9519
9971
  key: 1,
9520
9972
  class: "uid-pattern-footer__content"
9521
- }, mp = {
9973
+ }, Jp = {
9522
9974
  key: 2,
9523
9975
  class: "uid-pattern-footer__bottom"
9524
- }, hp = /* @__PURE__ */ f({
9976
+ }, Yp = /* @__PURE__ */ f({
9525
9977
  __name: "UidFooter",
9526
9978
  props: { variant: { default: "minimal" } },
9527
9979
  setup(e) {
9528
- return (t, n) => (T(), c("footer", { class: y(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", dp, [t.$slots.columns ? (T(), c("div", fp, [A(t.$slots, "columns")])) : t.$slots.default ? (T(), c("div", pp, [A(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (T(), c("div", mp, [A(t.$slots, "bottom")])) : s("", !0)])], 2));
9980
+ return (t, n) => (T(), c("footer", { class: y(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", Gp, [t.$slots.columns ? (T(), c("div", Kp, [A(t.$slots, "columns")])) : t.$slots.default ? (T(), c("div", qp, [A(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (T(), c("div", Jp, [A(t.$slots, "bottom")])) : s("", !0)])], 2));
9529
9981
  }
9530
- }), gp = ["aria-label"], _p = {
9982
+ }), Xp = ["aria-label"], Zp = {
9531
9983
  key: 0,
9532
9984
  class: "uid-pattern-sidebar__header"
9533
- }, vp = ["aria-label"], yp = {
9985
+ }, Qp = ["aria-label"], $p = {
9534
9986
  key: 1,
9535
9987
  class: "uid-pattern-sidebar__footer"
9536
- }, bp = /* @__PURE__ */ f({
9988
+ }, em = /* @__PURE__ */ f({
9537
9989
  __name: "UidSidebar",
9538
9990
  props: {
9539
9991
  collapsed: {
@@ -9550,22 +10002,22 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9550
10002
  style: b(e.width && !e.collapsed ? { "--uid-sidebar-width": e.width } : void 0),
9551
10003
  "aria-label": L(t).sidebar.label
9552
10004
  }, [
9553
- n.$slots.header ? (T(), c("div", _p, [A(n.$slots, "header")])) : s("", !0),
10005
+ n.$slots.header ? (T(), c("div", Zp, [A(n.$slots, "header")])) : s("", !0),
9554
10006
  l("nav", {
9555
10007
  class: "uid-pattern-sidebar__nav",
9556
10008
  "aria-label": L(t).sidebar.nav
9557
- }, [A(n.$slots, "nav")], 8, vp),
9558
- n.$slots.footer ? (T(), c("div", yp, [A(n.$slots, "footer")])) : s("", !0)
9559
- ], 14, gp));
10009
+ }, [A(n.$slots, "nav")], 8, Qp),
10010
+ n.$slots.footer ? (T(), c("div", $p, [A(n.$slots, "footer")])) : s("", !0)
10011
+ ], 14, Xp));
9560
10012
  }
9561
- }), xp = {
10013
+ }), tm = {
9562
10014
  key: 0,
9563
10015
  class: "uid-sidebar-item__icon",
9564
10016
  "aria-hidden": "true"
9565
- }, Sp = { class: "uid-sidebar-item__label" }, Cp = {
10017
+ }, nm = { class: "uid-sidebar-item__label" }, rm = {
9566
10018
  key: 1,
9567
10019
  class: "uid-sidebar-item__badge"
9568
- }, wp = /* @__PURE__ */ f({
10020
+ }, im = /* @__PURE__ */ f({
9569
10021
  __name: "UidSidebarItem",
9570
10022
  props: {
9571
10023
  href: { default: void 0 },
@@ -9592,9 +10044,9 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9592
10044
  tabindex: e.disabled ? -1 : void 0
9593
10045
  }), {
9594
10046
  default: q(() => [
9595
- t.$slots.icon ? (T(), c("span", xp, [A(t.$slots, "icon")])) : s("", !0),
9596
- l("span", Sp, [A(t.$slots, "default")]),
9597
- e.badge === void 0 ? s("", !0) : (T(), c("span", Cp, P(e.badge), 1))
10047
+ t.$slots.icon ? (T(), c("span", tm, [A(t.$slots, "icon")])) : s("", !0),
10048
+ l("span", nm, [A(t.$slots, "default")]),
10049
+ e.badge === void 0 ? s("", !0) : (T(), c("span", rm, P(e.badge), 1))
9598
10050
  ]),
9599
10051
  _: 3
9600
10052
  }, 16, [
@@ -9604,10 +10056,10 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9604
10056
  "tabindex"
9605
10057
  ]));
9606
10058
  }
9607
- }), Tp = { class: "uid-sidebar-group" }, Ep = {
10059
+ }), am = { class: "uid-sidebar-group" }, om = {
9608
10060
  key: 0,
9609
10061
  class: "uid-sidebar-group__title"
9610
- }, Dp = /* @__PURE__ */ f({
10062
+ }, sm = /* @__PURE__ */ f({
9611
10063
  __name: "UidSidebarGroup",
9612
10064
  props: {
9613
10065
  title: { default: void 0 },
@@ -9617,29 +10069,29 @@ var Tf = { class: "uid-heatmap-matrix__scroll" }, Ef = [
9617
10069
  }
9618
10070
  },
9619
10071
  setup(e) {
9620
- return (t, n) => (T(), c("div", Tp, [e.title ? (T(), c("p", Ep, P(e.title), 1)) : s("", !0), A(t.$slots, "default")]));
10072
+ return (t, n) => (T(), c("div", am, [e.title ? (T(), c("p", om, P(e.title), 1)) : s("", !0), A(t.$slots, "default")]));
9621
10073
  }
9622
- }), Op = {}, kp = {
10074
+ }), cm = {}, lm = {
9623
10075
  class: "uid-sidebar-divider",
9624
10076
  role: "separator",
9625
10077
  "aria-hidden": "true"
9626
10078
  };
9627
- function Ap(e, t) {
9628
- return T(), c("div", kp);
10079
+ function um(e, t) {
10080
+ return T(), c("div", lm);
9629
10081
  }
9630
- var jp = /* @__PURE__ */ yr(Op, [["render", Ap]]), Mp = { class: "uid-pattern-page-header" }, Np = {
10082
+ var dm = /* @__PURE__ */ yr(cm, [["render", um]]), fm = { class: "uid-pattern-page-header" }, pm = {
9631
10083
  key: 0,
9632
10084
  class: "uid-pattern-page-header__breadcrumb"
9633
- }, Pp = { class: "uid-pattern-page-header__row" }, Fp = { class: "uid-pattern-page-header__heading" }, Ip = ["aria-label"], Lp = { class: "uid-pattern-page-header__title" }, Rp = {
10085
+ }, mm = { class: "uid-pattern-page-header__row" }, hm = { class: "uid-pattern-page-header__heading" }, gm = ["aria-label"], _m = { class: "uid-pattern-page-header__title" }, vm = {
9634
10086
  key: 0,
9635
10087
  class: "uid-pattern-page-header__description"
9636
- }, zp = {
10088
+ }, ym = {
9637
10089
  key: 0,
9638
10090
  class: "uid-pattern-page-header__actions"
9639
- }, Bp = {
10091
+ }, bm = {
9640
10092
  key: 1,
9641
10093
  class: "uid-pattern-page-header__tabs"
9642
- }, Vp = /* @__PURE__ */ f({
10094
+ }, xm = /* @__PURE__ */ f({
9643
10095
  __name: "UidPageHeader",
9644
10096
  props: {
9645
10097
  title: { default: void 0 },
@@ -9652,9 +10104,9 @@ var jp = /* @__PURE__ */ yr(Op, [["render", Ap]]), Mp = { class: "uid-pattern-pa
9652
10104
  emits: ["back"],
9653
10105
  setup(t, { emit: n }) {
9654
10106
  let r = $(), i = n;
9655
- return (n, a) => (T(), c("div", Mp, [
9656
- n.$slots.breadcrumb ? (T(), c("div", Np, [A(n.$slots, "breadcrumb")])) : s("", !0),
9657
- l("div", Pp, [l("div", Fp, [t.back ? (T(), c("button", {
10107
+ return (n, a) => (T(), c("div", fm, [
10108
+ n.$slots.breadcrumb ? (T(), c("div", pm, [A(n.$slots, "breadcrumb")])) : s("", !0),
10109
+ l("div", mm, [l("div", hm, [t.back ? (T(), c("button", {
9658
10110
  key: 0,
9659
10111
  type: "button",
9660
10112
  class: "uid-pattern-page-header__back",
@@ -9663,17 +10115,17 @@ var jp = /* @__PURE__ */ yr(Op, [["render", Ap]]), Mp = { class: "uid-pattern-pa
9663
10115
  }, [d(e, {
9664
10116
  icon: L(ne),
9665
10117
  size: 20
9666
- }, null, 8, ["icon"])], 8, Ip)) : s("", !0), l("div", null, [l("h1", Lp, [A(n.$slots, "title", {}, () => [u(P(t.title), 1)])]), t.description || n.$slots.description ? (T(), c("p", Rp, [A(n.$slots, "description", {}, () => [u(P(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (T(), c("div", zp, [A(n.$slots, "actions")])) : s("", !0)]),
9667
- n.$slots.tabs ? (T(), c("div", Bp, [A(n.$slots, "tabs")])) : s("", !0)
10118
+ }, null, 8, ["icon"])], 8, gm)) : s("", !0), l("div", null, [l("h1", _m, [A(n.$slots, "title", {}, () => [u(P(t.title), 1)])]), t.description || n.$slots.description ? (T(), c("p", vm, [A(n.$slots, "description", {}, () => [u(P(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (T(), c("div", ym, [A(n.$slots, "actions")])) : s("", !0)]),
10119
+ n.$slots.tabs ? (T(), c("div", bm, [A(n.$slots, "tabs")])) : s("", !0)
9668
10120
  ]));
9669
10121
  }
9670
- }), Hp = { class: "uid-pattern-empty-state" }, Up = { class: "uid-pattern-empty-state__illustration" }, Wp = { class: "uid-pattern-empty-state__content" }, Gp = { class: "uid-pattern-empty-state__title" }, Kp = {
10122
+ }), Sm = { class: "uid-pattern-empty-state" }, Cm = { class: "uid-pattern-empty-state__illustration" }, wm = { class: "uid-pattern-empty-state__content" }, Tm = { class: "uid-pattern-empty-state__title" }, Em = {
9671
10123
  key: 0,
9672
10124
  class: "uid-pattern-empty-state__description"
9673
- }, qp = {
10125
+ }, Dm = {
9674
10126
  key: 0,
9675
10127
  class: "uid-pattern-empty-state__actions"
9676
- }, Jp = /* @__PURE__ */ f({
10128
+ }, Om = /* @__PURE__ */ f({
9677
10129
  __name: "UidEmptyState",
9678
10130
  props: {
9679
10131
  title: { default: void 0 },
@@ -9681,25 +10133,25 @@ var jp = /* @__PURE__ */ yr(Op, [["render", Ap]]), Mp = { class: "uid-pattern-pa
9681
10133
  },
9682
10134
  setup(t) {
9683
10135
  let n = $();
9684
- return (r, i) => (T(), c("div", Hp, [
9685
- l("div", Up, [A(r.$slots, "illustration", {}, () => [d(e, {
10136
+ return (r, i) => (T(), c("div", Sm, [
10137
+ l("div", Cm, [A(r.$slots, "illustration", {}, () => [d(e, {
9686
10138
  icon: L(ge),
9687
10139
  size: 48
9688
10140
  }, null, 8, ["icon"])])]),
9689
- l("div", Wp, [l("h2", Gp, [A(r.$slots, "title", {}, () => [u(P(t.title ?? L(n).emptyState.title), 1)])]), t.description || r.$slots.description ? (T(), c("p", Kp, [A(r.$slots, "description", {}, () => [u(P(t.description), 1)])])) : s("", !0)]),
9690
- r.$slots.actions ? (T(), c("div", qp, [A(r.$slots, "actions")])) : s("", !0)
10141
+ l("div", wm, [l("h2", Tm, [A(r.$slots, "title", {}, () => [u(P(t.title ?? L(n).emptyState.title), 1)])]), t.description || r.$slots.description ? (T(), c("p", Em, [A(r.$slots, "description", {}, () => [u(P(t.description), 1)])])) : s("", !0)]),
10142
+ r.$slots.actions ? (T(), c("div", Dm, [A(r.$slots, "actions")])) : s("", !0)
9691
10143
  ]));
9692
10144
  }
9693
- }), Yp = { class: "uid-pattern-error-state" }, Xp = { class: "uid-pattern-error-state__illustration" }, Zp = {
10145
+ }), km = { class: "uid-pattern-error-state" }, Am = { class: "uid-pattern-error-state__illustration" }, jm = {
9694
10146
  key: 0,
9695
10147
  class: "uid-pattern-error-state__code"
9696
- }, Qp = { class: "uid-pattern-error-state__content" }, $p = { class: "uid-pattern-error-state__title" }, em = {
10148
+ }, Mm = { class: "uid-pattern-error-state__content" }, Nm = { class: "uid-pattern-error-state__title" }, Pm = {
9697
10149
  key: 0,
9698
10150
  class: "uid-pattern-error-state__description"
9699
- }, tm = {
10151
+ }, Fm = {
9700
10152
  key: 1,
9701
10153
  class: "uid-pattern-error-state__actions"
9702
- }, nm = /* @__PURE__ */ f({
10154
+ }, Im = /* @__PURE__ */ f({
9703
10155
  __name: "UidErrorState",
9704
10156
  props: {
9705
10157
  code: { default: void 0 },
@@ -9724,23 +10176,23 @@ var jp = /* @__PURE__ */ yr(Op, [["render", Ap]]), Mp = { class: "uid-pattern-pa
9724
10176
  description: r.value.errorState.offlineDescription
9725
10177
  }
9726
10178
  })), o = a(() => n.code ? i.value[n.code] ?? null : null), f = a(() => o.value?.icon ?? Z), p = a(() => n.title ?? o.value?.title ?? r.value.errorState.title), m = a(() => n.description ?? o.value?.description);
9727
- return (n, r) => (T(), c("div", Yp, [
9728
- l("div", Xp, [A(n.$slots, "illustration", {}, () => [d(e, {
10179
+ return (n, r) => (T(), c("div", km, [
10180
+ l("div", Am, [A(n.$slots, "illustration", {}, () => [d(e, {
9729
10181
  icon: f.value,
9730
10182
  size: 48
9731
10183
  }, null, 8, ["icon"])])]),
9732
- t.code ? (T(), c("div", Zp, P(t.code), 1)) : s("", !0),
9733
- l("div", Qp, [l("h2", $p, [A(n.$slots, "title", {}, () => [u(P(p.value), 1)])]), m.value || n.$slots.description ? (T(), c("p", em, [A(n.$slots, "description", {}, () => [u(P(m.value), 1)])])) : s("", !0)]),
9734
- n.$slots.actions ? (T(), c("div", tm, [A(n.$slots, "actions")])) : s("", !0)
10184
+ t.code ? (T(), c("div", jm, P(t.code), 1)) : s("", !0),
10185
+ l("div", Mm, [l("h2", Nm, [A(n.$slots, "title", {}, () => [u(P(p.value), 1)])]), m.value || n.$slots.description ? (T(), c("p", Pm, [A(n.$slots, "description", {}, () => [u(P(m.value), 1)])])) : s("", !0)]),
10186
+ n.$slots.actions ? (T(), c("div", Fm, [A(n.$slots, "actions")])) : s("", !0)
9735
10187
  ]));
9736
10188
  }
9737
- }), rm = {
10189
+ }), Lm = {
9738
10190
  key: 0,
9739
10191
  class: "uid-layout-simple__header"
9740
- }, im = { class: "uid-layout-simple__content" }, am = {
10192
+ }, Rm = { class: "uid-layout-simple__content" }, zm = {
9741
10193
  key: 1,
9742
10194
  class: "uid-layout-simple__footer"
9743
- }, om = /* @__PURE__ */ f({
10195
+ }, Bm = /* @__PURE__ */ f({
9744
10196
  __name: "UidSimpleLayout",
9745
10197
  props: { full: {
9746
10198
  type: Boolean,
@@ -9748,26 +10200,26 @@ var jp = /* @__PURE__ */ yr(Op, [["render", Ap]]), Mp = { class: "uid-pattern-pa
9748
10200
  } },
9749
10201
  setup(e) {
9750
10202
  return (t, n) => (T(), c("div", { class: y(["uid-layout-simple", { "uid-layout-simple--full": e.full }]) }, [
9751
- t.$slots.header ? (T(), c("div", rm, [A(t.$slots, "header")])) : s("", !0),
9752
- l("main", im, [A(t.$slots, "default")]),
9753
- t.$slots.footer ? (T(), c("div", am, [A(t.$slots, "footer")])) : s("", !0)
10203
+ t.$slots.header ? (T(), c("div", Lm, [A(t.$slots, "header")])) : s("", !0),
10204
+ l("main", Rm, [A(t.$slots, "default")]),
10205
+ t.$slots.footer ? (T(), c("div", zm, [A(t.$slots, "footer")])) : s("", !0)
9754
10206
  ], 2));
9755
10207
  }
9756
- }), sm = Symbol("uid-sidebar-layout");
9757
- function cm() {
9758
- let e = h(sm);
10208
+ }), Vm = Symbol("uid-sidebar-layout");
10209
+ function Hm() {
10210
+ let e = h(Vm);
9759
10211
  if (!e) throw Error("useSidebar() must be used inside UidSidebarLayout");
9760
10212
  return e;
9761
10213
  }
9762
10214
  //#endregion
9763
10215
  //#region src/layouts/Sidebar/UidSidebarLayout.vue?vue&type=script&setup=true&lang.ts
9764
- var lm = { class: "uid-layout-sidebar__sidebar" }, um = { class: "uid-layout-sidebar__main" }, dm = {
10216
+ var Um = { class: "uid-layout-sidebar__sidebar" }, Wm = { class: "uid-layout-sidebar__main" }, Gm = {
9765
10217
  key: 0,
9766
10218
  class: "uid-layout-sidebar__main-header"
9767
- }, fm = { class: "uid-layout-sidebar__main-content" }, pm = {
10219
+ }, Km = { class: "uid-layout-sidebar__main-content" }, qm = {
9768
10220
  key: 1,
9769
10221
  class: "uid-layout-sidebar__main-footer"
9770
- }, mm = /* @__PURE__ */ f({
10222
+ }, Jm = /* @__PURE__ */ f({
9771
10223
  __name: "UidSidebarLayout",
9772
10224
  props: /* @__PURE__ */ g({ sidebarWidth: { default: void 0 } }, {
9773
10225
  modelValue: {
@@ -9785,7 +10237,7 @@ var lm = { class: "uid-layout-sidebar__sidebar" }, um = { class: "uid-layout-sid
9785
10237
  }, o = () => {
9786
10238
  n.value = !0;
9787
10239
  };
9788
- E(sm, {
10240
+ E(Vm, {
9789
10241
  collapsed: n,
9790
10242
  toggle: r,
9791
10243
  open: i,
@@ -9796,58 +10248,58 @@ var lm = { class: "uid-layout-sidebar__sidebar" }, um = { class: "uid-layout-sid
9796
10248
  class: y(["uid-layout-sidebar", { "uid-layout-sidebar--collapsed": n.value }]),
9797
10249
  style: b(u.value)
9798
10250
  }, [
9799
- l("aside", lm, [A(e.$slots, "sidebar")]),
10251
+ l("aside", Um, [A(e.$slots, "sidebar")]),
9800
10252
  l("div", {
9801
10253
  class: "uid-layout-sidebar__backdrop",
9802
10254
  "aria-hidden": "true",
9803
10255
  onClick: o
9804
10256
  }),
9805
- l("div", um, [
9806
- e.$slots.header ? (T(), c("div", dm, [A(e.$slots, "header")])) : s("", !0),
9807
- l("main", fm, [A(e.$slots, "default")]),
9808
- e.$slots.footer ? (T(), c("div", pm, [A(e.$slots, "footer")])) : s("", !0)
10257
+ l("div", Wm, [
10258
+ e.$slots.header ? (T(), c("div", Gm, [A(e.$slots, "header")])) : s("", !0),
10259
+ l("main", Km, [A(e.$slots, "default")]),
10260
+ e.$slots.footer ? (T(), c("div", qm, [A(e.$slots, "footer")])) : s("", !0)
9809
10261
  ])
9810
10262
  ], 6));
9811
10263
  }
9812
- }), hm = {
10264
+ }), Ym = {
9813
10265
  key: 0,
9814
10266
  class: "uid-layout-auth__brand"
9815
- }, gm = { class: "uid-layout-auth__main" }, _m = { class: "uid-layout-auth__card" }, vm = {
10267
+ }, Xm = { class: "uid-layout-auth__main" }, Zm = { class: "uid-layout-auth__card" }, Qm = {
9816
10268
  key: 0,
9817
10269
  class: "uid-layout-auth__footer"
9818
- }, ym = /* @__PURE__ */ f({
10270
+ }, $m = /* @__PURE__ */ f({
9819
10271
  __name: "UidAuthLayout",
9820
10272
  props: { variant: { default: "centered" } },
9821
10273
  setup(e) {
9822
- return (t, n) => (T(), c("div", { class: y(["uid-layout-auth", [`uid-layout-auth--${e.variant}`]]) }, [e.variant === "split" && t.$slots.brand ? (T(), c("div", hm, [A(t.$slots, "brand")])) : s("", !0), l("div", gm, [l("div", _m, [A(t.$slots, "default")]), t.$slots.footer ? (T(), c("div", vm, [A(t.$slots, "footer")])) : s("", !0)])], 2));
10274
+ return (t, n) => (T(), c("div", { class: y(["uid-layout-auth", [`uid-layout-auth--${e.variant}`]]) }, [e.variant === "split" && t.$slots.brand ? (T(), c("div", Ym, [A(t.$slots, "brand")])) : s("", !0), l("div", Xm, [l("div", Zm, [A(t.$slots, "default")]), t.$slots.footer ? (T(), c("div", Qm, [A(t.$slots, "footer")])) : s("", !0)])], 2));
9823
10275
  }
9824
- }), bm = { class: "uid-layout-wizard" }, xm = {
10276
+ }), eh = { class: "uid-layout-wizard" }, th = {
9825
10277
  key: 0,
9826
10278
  class: "uid-layout-wizard__header"
9827
- }, Sm = {
10279
+ }, nh = {
9828
10280
  key: 1,
9829
10281
  class: "uid-layout-wizard__stepper"
9830
- }, Cm = { class: "uid-layout-wizard__content" }, wm = {
10282
+ }, rh = { class: "uid-layout-wizard__content" }, ih = {
9831
10283
  key: 2,
9832
10284
  class: "uid-layout-wizard__nav"
9833
- }, Tm = /* @__PURE__ */ f({
10285
+ }, ah = /* @__PURE__ */ f({
9834
10286
  __name: "UidWizardLayout",
9835
10287
  setup(e) {
9836
- return (e, t) => (T(), c("div", bm, [
9837
- e.$slots.header ? (T(), c("div", xm, [A(e.$slots, "header")])) : s("", !0),
9838
- e.$slots.stepper ? (T(), c("div", Sm, [A(e.$slots, "stepper")])) : s("", !0),
9839
- l("main", Cm, [A(e.$slots, "default")]),
9840
- e.$slots.nav ? (T(), c("div", wm, [A(e.$slots, "nav")])) : s("", !0)
10288
+ return (e, t) => (T(), c("div", eh, [
10289
+ e.$slots.header ? (T(), c("div", th, [A(e.$slots, "header")])) : s("", !0),
10290
+ e.$slots.stepper ? (T(), c("div", nh, [A(e.$slots, "stepper")])) : s("", !0),
10291
+ l("main", rh, [A(e.$slots, "default")]),
10292
+ e.$slots.nav ? (T(), c("div", ih, [A(e.$slots, "nav")])) : s("", !0)
9841
10293
  ]));
9842
10294
  }
9843
- }), Em = /* @__PURE__ */ f({
10295
+ }), oh = /* @__PURE__ */ f({
9844
10296
  __name: "UidLocaleProvider",
9845
10297
  props: { locale: {} },
9846
10298
  setup(e) {
9847
10299
  let t = e;
9848
10300
  return an(a(() => t.locale)), (e, t) => A(e.$slots, "default");
9849
10301
  }
9850
- }), Dm = {
10302
+ }), sh = {
9851
10303
  code: "en-US",
9852
10304
  common: {
9853
10305
  clear: "Clear",
@@ -10023,6 +10475,16 @@ var lm = { class: "uid-layout-sidebar__sidebar" }, um = { class: "uid-layout-sid
10023
10475
  label: "Command palette"
10024
10476
  },
10025
10477
  anchor: { label: "Contents" },
10478
+ markdown: {
10479
+ toc: "On this page",
10480
+ note: "Note",
10481
+ tip: "Tip",
10482
+ important: "Important",
10483
+ warning: "Warning",
10484
+ caution: "Caution",
10485
+ blockPending: "Rendering…",
10486
+ blockError: "Could not render this block"
10487
+ },
10026
10488
  heatmap: {
10027
10489
  summary: (e) => `Activity heatmap: ${e} events`,
10028
10490
  less: "Less",
@@ -10046,19 +10508,19 @@ var lm = { class: "uid-layout-sidebar__sidebar" }, um = { class: "uid-layout-sid
10046
10508
  sameAs: "The values do not match",
10047
10509
  unknown: (e) => `Validation failed: ${e}`
10048
10510
  }
10049
- }, Om = O("light");
10050
- function km() {
10511
+ }, ch = O("light");
10512
+ function lh() {
10051
10513
  let e = null;
10052
10514
  function t(e) {
10053
- Om.value = e, document.documentElement.dataset.theme = e;
10515
+ ch.value = e, document.documentElement.dataset.theme = e;
10054
10516
  }
10055
10517
  function n() {
10056
- t(Om.value === "light" ? "dark" : "light");
10518
+ t(ch.value === "light" ? "dark" : "light");
10057
10519
  }
10058
10520
  function r() {
10059
10521
  let e = document.documentElement.dataset.theme;
10060
10522
  if (e === "light" || e === "dark") {
10061
- Om.value = e;
10523
+ ch.value = e;
10062
10524
  return;
10063
10525
  }
10064
10526
  let n = window.matchMedia("(prefers-color-scheme: dark)").matches;
@@ -10070,7 +10532,7 @@ function km() {
10070
10532
  e.addEventListener("change", n), C(() => e?.removeEventListener("change", n));
10071
10533
  }
10072
10534
  return {
10073
- theme: Om,
10535
+ theme: ch,
10074
10536
  setTheme: t,
10075
10537
  toggle: n,
10076
10538
  initFromSystem: r,
@@ -10079,27 +10541,27 @@ function km() {
10079
10541
  }
10080
10542
  //#endregion
10081
10543
  //#region src/composables/useWizard.ts
10082
- function Am() {
10083
- let e = h(ep);
10544
+ function uh() {
10545
+ let e = h(Pp);
10084
10546
  if (!e) throw Error("useWizard() must be used inside UidWizard");
10085
10547
  return e;
10086
10548
  }
10087
10549
  //#endregion
10088
10550
  //#region src/composables/useCommandPalette.ts
10089
- var jm = O(!1);
10090
- function Mm() {
10551
+ var dh = O(!1);
10552
+ function fh() {
10091
10553
  return {
10092
- open: jm,
10554
+ open: dh,
10093
10555
  show: () => {
10094
- jm.value = !0;
10556
+ dh.value = !0;
10095
10557
  },
10096
10558
  hide: () => {
10097
- jm.value = !1;
10559
+ dh.value = !1;
10098
10560
  },
10099
10561
  toggle: () => {
10100
- jm.value = !jm.value;
10562
+ dh.value = !dh.value;
10101
10563
  }
10102
10564
  };
10103
10565
  }
10104
10566
  //#endregion
10105
- export { Li as UidAccordion, Ui as UidAccordionItem, Fl as UidAffix, gn as UidAlert, Wl as UidAnchor, ym as UidAuthLayout, Di as UidAvatar, Ai as UidAvatarGroup, Nl as UidBackTop, un as UidBadge, Wr as UidBreadcrumb, Zr as UidBreadcrumbItem, je as UidButton, Md as UidCalendar, wi as UidCard, Du as UidCarousel, vd as UidCascader, Et as UidCheckbox, Mt as UidCheckboxGroup, Gc as UidCode, io as UidColorPicker, js as UidCombobox, go as UidCommand, $f as UidContainer, Ta as UidDatePicker, fs as UidDateRangePicker, Tl as UidDescriptionItem, xl as UidDescriptionList, Pi as UidDivider, Qn as UidDrawer, Jp as UidEmptyState, nm as UidErrorState, gc as UidFileUpload, hp as UidFooter, tn as UidFormField, uf as UidGauge, Qf as UidGrid, up as UidHeader, vf as UidHeatmap, Hf as UidHeatmapMatrix, e as UidIcon, el as UidImage, mi as UidInfiniteScroll, gt as UidInput, Xt as UidLabel, Qr as UidLink, di as UidLoadMore, Em as UidLocaleProvider, au as UidMention, gr as UidMenu, vr as UidMenuItem, Cr as UidMenuSeparator, Gn as UidModal, xu as UidNotificationBadge, wo as UidNumberInput, Vp as UidPageHeader, vi as UidPageSize, ii as UidPagination, ci as UidPaginationCursor, sr as UidPopover, Mn as UidProgress, Jd as UidProgressRing, It as UidRadio, Ht as UidRadioGroup, ol as UidRating, jl as UidResult, pa as UidSelect, bp as UidSidebar, jp as UidSidebarDivider, Dp as UidSidebarGroup, wp as UidSidebarItem, mm as UidSidebarLayout, om as UidSimpleLayout, ln as UidSkeleton, Pa as UidSlider, Hd as UidSparkline, sn as UidSpinner, ll as UidSplitter, Zf as UidStack, vl as UidStat, Xf as UidStepper, jr as UidSubMenu, qt as UidSwitch, Lr as UidTab, zr as UidTabPanel, $i as UidTable, Fr as UidTabs, Mi as UidTag, vs as UidTagsInput, xt as UidTextarea, Io as UidTimePicker, Us as UidTimeline, Zs as UidTimelineItem, Sn as UidToast, En as UidToastProvider, ir as UidTooltip, Ql as UidTour, $u as UidTransfer, Bs as UidTreeItem, vu as UidTreeSelect, Hs as UidTreeView, Ea as UidVirtualList, Rl as UidWatermark, np as UidWizard, Tm as UidWizardLayout, ip as UidWizardStep, Ge as email, Dm as en, ze as getMessage, Cf as heatmapColorAt, yf as heatmapColorScales, et as inList, Je as integer, Fc as isHighlightable, Xe as max, Qe as maxValue, Ye as min, Ze as minValue, Ka as normalizeColor, We as nullable, qe as numeric, Ua as parseColor, at as parseRules, an as provideLocale, $e as regex, Ue as required, nt as requiredIf, rt as requiredUnless, xf as resolveHeatmapStops, Me as ru, ot as runRules, tt as sameAs, Re as setMessages, Ie as setValidationLocale, Ic as tokenize, Ke as url, Mm as useCommandPalette, st as useField, Pn as useFocusTrap, $ as useLocale, tr as usePopover, In as useScrollLock, cm as useSidebar, km as useTheme, Tn as useToast, Am as useWizard };
10567
+ export { Li as UidAccordion, Ui as UidAccordionItem, hu as UidAffix, gn as UidAlert, wu as UidAnchor, $m as UidAuthLayout, Di as UidAvatar, Ai as UidAvatarGroup, pu as UidBackTop, un as UidBadge, Wr as UidBreadcrumb, Zr as UidBreadcrumbItem, je as UidButton, pf as UidCalendar, wi as UidCard, sd as UidCarousel, Qd as UidCascader, Et as UidCheckbox, Mt as UidCheckboxGroup, Gc as UidCode, io as UidColorPicker, js as UidCombobox, go as UidCommand, Np as UidContainer, Ta as UidDatePicker, fs as UidDateRangePicker, au as UidDescriptionItem, tu as UidDescriptionList, Pi as UidDivider, Qn as UidDrawer, Om as UidEmptyState, Im as UidErrorState, gc as UidFileUpload, Yp as UidFooter, tn as UidFormField, Wf as UidGauge, Mp as UidGrid, Wp as UidHeader, Qf as UidHeatmap, Sp as UidHeatmapMatrix, e as UidIcon, Pl as UidImage, mi as UidInfiniteScroll, gt as UidInput, Xt as UidLabel, Qr as UidLink, di as UidLoadMore, oh as UidLocaleProvider, Tl as UidMarkdown, zu as UidMention, gr as UidMenu, vr as UidMenuItem, Cr as UidMenuSeparator, Gn as UidModal, td as UidNotificationBadge, wo as UidNumberInput, xm as UidPageHeader, vi as UidPageSize, ii as UidPagination, ci as UidPaginationCursor, sr as UidPopover, Mn as UidProgress, kf as UidProgressRing, It as UidRadio, Ht as UidRadioGroup, Bl as UidRating, du as UidResult, pa as UidSelect, em as UidSidebar, dm as UidSidebarDivider, sm as UidSidebarGroup, im as UidSidebarItem, Jm as UidSidebarLayout, Bm as UidSimpleLayout, ln as UidSkeleton, Pa as UidSlider, Cf as UidSparkline, sn as UidSpinner, Ul as UidSplitter, jp as UidStack, Ql as UidStat, Ap as UidStepper, jr as UidSubMenu, qt as UidSwitch, Lr as UidTab, zr as UidTabPanel, $i as UidTable, Fr as UidTabs, Mi as UidTag, vs as UidTagsInput, xt as UidTextarea, Io as UidTimePicker, Us as UidTimeline, Zs as UidTimelineItem, Sn as UidToast, En as UidToastProvider, ir as UidTooltip, Mu as UidTour, Nd as UidTransfer, Bs as UidTreeItem, Qu as UidTreeSelect, Hs as UidTreeView, Ea as UidVirtualList, vu as UidWatermark, Ip as UidWizard, ah as UidWizardLayout, Rp as UidWizardStep, Yc as createSlugger, Ge as email, sh as en, qc as escapeHtml, ze as getMessage, rp as heatmapColorAt, $f as heatmapColorScales, et as inList, Je as integer, Fc as isHighlightable, ml as markdownBlockRenderersKey, Xe as max, Qe as maxValue, Ye as min, Ze as minValue, Ka as normalizeColor, We as nullable, qe as numeric, Ua as parseColor, at as parseRules, an as provideLocale, hl as provideMarkdownBlockRenderers, $e as regex, sl as renderMarkdown, Ue as required, nt as requiredIf, rt as requiredUnless, $c as resolveAgainst, tp as resolveHeatmapStops, Me as ru, ot as runRules, tt as sameAs, Re as setMessages, Ie as setValidationLocale, pl as splitMarkdown, Ic as tokenize, Ke as url, fh as useCommandPalette, st as useField, Pn as useFocusTrap, $ as useLocale, gl as useMarkdownBlockRenderers, tr as usePopover, In as useScrollLock, Hm as useSidebar, lh as useTheme, Tn as useToast, uh as useWizard };