@dskripchenko/ui 1.13.0 → 1.14.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/components/Markdown/UidMarkdownLiveBlock.vue.d.ts +10 -0
- package/dist/components/Markdown/blockRenderers.d.ts +21 -0
- package/dist/components/Markdown/index.d.ts +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.mjs +519 -462
- package/dist/styles/all.css +1 -1
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6326,34 +6326,70 @@ var qc = {
|
|
|
6326
6326
|
class: "uid-code__line-number"
|
|
6327
6327
|
}, P(t + 1), 1))), 128))])) : s("", !0), l("pre", $c, [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, el)])])], 6));
|
|
6328
6328
|
}
|
|
6329
|
-
}), nl = {
|
|
6329
|
+
}), nl = /* @__PURE__ */ f({
|
|
6330
|
+
__name: "UidMarkdownLiveBlock",
|
|
6331
|
+
props: {
|
|
6332
|
+
code: {},
|
|
6333
|
+
language: {},
|
|
6334
|
+
mount: { type: Function }
|
|
6335
|
+
},
|
|
6336
|
+
setup(e) {
|
|
6337
|
+
let t = e, n = N(null), r = null;
|
|
6338
|
+
function i() {
|
|
6339
|
+
if (!n.value) return;
|
|
6340
|
+
n.value.replaceChildren();
|
|
6341
|
+
let e = t.mount(n.value, {
|
|
6342
|
+
code: t.code,
|
|
6343
|
+
language: t.language,
|
|
6344
|
+
editable: !1,
|
|
6345
|
+
setCode: () => {}
|
|
6346
|
+
});
|
|
6347
|
+
r = typeof e == "function" ? { destroy: e } : e ?? {};
|
|
6348
|
+
}
|
|
6349
|
+
function a() {
|
|
6350
|
+
r?.destroy?.(), r = null;
|
|
6351
|
+
}
|
|
6352
|
+
return S(i), x(a), G(() => t.code, (e) => {
|
|
6353
|
+
if (r?.update) {
|
|
6354
|
+
r.update(e);
|
|
6355
|
+
return;
|
|
6356
|
+
}
|
|
6357
|
+
a(), i();
|
|
6358
|
+
}), G(() => t.mount, () => {
|
|
6359
|
+
a(), i();
|
|
6360
|
+
}), (e, t) => (T(), c("div", {
|
|
6361
|
+
ref_key: "el",
|
|
6362
|
+
ref: n
|
|
6363
|
+
}, null, 512));
|
|
6364
|
+
}
|
|
6365
|
+
}), rl = {
|
|
6330
6366
|
"&": "&",
|
|
6331
6367
|
"<": "<",
|
|
6332
6368
|
">": ">",
|
|
6333
6369
|
"\"": """,
|
|
6334
6370
|
"'": "'"
|
|
6335
6371
|
};
|
|
6336
|
-
function rl(e) {
|
|
6337
|
-
return e.replace(/[&<>"']/g, (e) => nl[e] ?? e);
|
|
6338
|
-
}
|
|
6339
6372
|
function il(e) {
|
|
6373
|
+
return e.replace(/[&<>"']/g, (e) => rl[e] ?? e);
|
|
6374
|
+
}
|
|
6375
|
+
function al(e) {
|
|
6340
6376
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, "\"").replace(/'/g, "'").replace(/&/g, "&");
|
|
6341
6377
|
}
|
|
6342
|
-
function
|
|
6378
|
+
function ol() {
|
|
6343
6379
|
let e = /* @__PURE__ */ new Map();
|
|
6344
6380
|
return (t) => {
|
|
6345
6381
|
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;
|
|
6346
6382
|
return e.set(n, r + 1), r === 0 ? n : `${n}-${r}`;
|
|
6347
6383
|
};
|
|
6348
6384
|
}
|
|
6349
|
-
var
|
|
6385
|
+
var sl = {
|
|
6350
6386
|
note: "Note",
|
|
6351
6387
|
tip: "Tip",
|
|
6352
6388
|
important: "Important",
|
|
6353
6389
|
warning: "Warning",
|
|
6354
6390
|
caution: "Caution"
|
|
6355
6391
|
};
|
|
6356
|
-
function
|
|
6392
|
+
function cl(e) {
|
|
6357
6393
|
let t = e.trim(), n = t.replace(/�*58;|:/gi, ":").replace(/\s+/g, "").toLowerCase(), r = /^([a-z][a-z0-9+.-]*):/.exec(n);
|
|
6358
6394
|
return r && ![
|
|
6359
6395
|
"http",
|
|
@@ -6361,42 +6397,42 @@ function sl(e) {
|
|
|
6361
6397
|
"mailto"
|
|
6362
6398
|
].includes(r[1] ?? "") ? null : t;
|
|
6363
6399
|
}
|
|
6364
|
-
function
|
|
6400
|
+
function ll(e) {
|
|
6365
6401
|
return !/^([a-z][a-z0-9+.-]*:|\/|#|\?)/i.test(e);
|
|
6366
6402
|
}
|
|
6367
|
-
function
|
|
6368
|
-
let r =
|
|
6403
|
+
function ul(e, t, n = !1) {
|
|
6404
|
+
let r = al(e);
|
|
6369
6405
|
n && (r = r.replace(/\.md(?=$|[?#])/i, ""));
|
|
6370
6406
|
try {
|
|
6371
6407
|
let e = /^[a-z][a-z0-9+.-]*:\/\//i.test(t), n = new URL(r, e ? t : `http://base.invalid${t.startsWith("/") ? "" : "/"}${t}`);
|
|
6372
|
-
return
|
|
6408
|
+
return il(e ? n.href : n.pathname + n.search + n.hash);
|
|
6373
6409
|
} catch {
|
|
6374
6410
|
return e;
|
|
6375
6411
|
}
|
|
6376
6412
|
}
|
|
6377
|
-
function
|
|
6413
|
+
function dl(e, t = {}) {
|
|
6378
6414
|
let n = [], r = (e) => `${n.push(e) - 1}`, i = e.replace(/`([^`]+)`/g, (e, t) => r(`<code>${t}</code>`));
|
|
6379
6415
|
return i = i.replace(/!\[([^\]]*)\]\(([^)\s]+)(?:\s+"[^)]*")?\)/g, (e, n, i) => {
|
|
6380
|
-
let a =
|
|
6381
|
-
return a === null ? e : (t.imageBase &&
|
|
6416
|
+
let a = cl(i);
|
|
6417
|
+
return a === null ? e : (t.imageBase && ll(a) && (a = ul(a, t.imageBase)), r(`<img src="${a}" alt="${n}" loading="lazy">`));
|
|
6382
6418
|
}), i = i.replace(/\[([^\]]+)\]\(([^)\s]+)(?:\s+"[^)]*")?\)/g, (e, n, i) => {
|
|
6383
|
-
let a =
|
|
6419
|
+
let a = cl(i);
|
|
6384
6420
|
if (a === null) return e;
|
|
6385
|
-
let o =
|
|
6386
|
-
t.linkBase && o && (a =
|
|
6421
|
+
let o = ll(a);
|
|
6422
|
+
t.linkBase && o && (a = ul(a, t.linkBase, t.stripMdExtension ?? !1));
|
|
6387
6423
|
let s = /^(https?:)?\/\//i.test(a) || /^mailto:/i.test(a);
|
|
6388
6424
|
return r(t.internalLinksInPlace === !0 && !s ? `<a href="${a}">${n}</a>` : `<a href="${a}" target="_blank" rel="noopener noreferrer">${n}</a>`);
|
|
6389
6425
|
}), 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)] ?? "");
|
|
6390
6426
|
}
|
|
6391
|
-
function
|
|
6392
|
-
return
|
|
6427
|
+
function fl(e) {
|
|
6428
|
+
return al(e.replace(/<[^>]+>/g, ""));
|
|
6393
6429
|
}
|
|
6394
|
-
var
|
|
6395
|
-
function
|
|
6430
|
+
var pl = /^(\s*)([-*+]|\d+[.)])\s+(.*)$/, ml = /^\s*\|?\s*:?-+:?\s*(\|\s*:?-+:?\s*)*\|?\s*$/;
|
|
6431
|
+
function hl(e) {
|
|
6396
6432
|
let t = e.trim();
|
|
6397
6433
|
return t.startsWith("|") && (t = t.slice(1)), t.endsWith("|") && !t.endsWith("\\|") && (t = t.slice(0, -1)), t.split(/(?<!\\)\|/).map((e) => e.trim().replace(/\\\|/g, "|"));
|
|
6398
6434
|
}
|
|
6399
|
-
var
|
|
6435
|
+
var gl = {
|
|
6400
6436
|
note: "note",
|
|
6401
6437
|
info: "note",
|
|
6402
6438
|
tip: "tip",
|
|
@@ -6413,13 +6449,13 @@ var hl = {
|
|
|
6413
6449
|
предупреждение: "warning",
|
|
6414
6450
|
осторожно: "caution"
|
|
6415
6451
|
};
|
|
6416
|
-
function
|
|
6452
|
+
function _l(e, t) {
|
|
6417
6453
|
let n = e;
|
|
6418
|
-
return t.calloutTitles?.[n] ??
|
|
6454
|
+
return t.calloutTitles?.[n] ?? sl[n] ?? sl.note;
|
|
6419
6455
|
}
|
|
6420
|
-
function
|
|
6456
|
+
function vl(e, t = {}) {
|
|
6421
6457
|
if (!e) return "";
|
|
6422
|
-
let n =
|
|
6458
|
+
let n = il(e.replace(/\r\n?/g, "\n")).split("\n"), r = [], i = [], a = (e) => dl(e, t), o = () => {
|
|
6423
6459
|
i.length > 0 && (r.push(`<p>${a(i.join("\n"))}</p>`), i = []);
|
|
6424
6460
|
};
|
|
6425
6461
|
for (let e = 0; e < n.length; e++) {
|
|
@@ -6441,12 +6477,12 @@ function _l(e, t = {}) {
|
|
|
6441
6477
|
o();
|
|
6442
6478
|
let e = l[1]?.length ?? 1, n = a(l[2] ?? "");
|
|
6443
6479
|
if (t.slugger) {
|
|
6444
|
-
let i =
|
|
6480
|
+
let i = fl(n), a = t.slugger(i);
|
|
6445
6481
|
t.onHeading?.({
|
|
6446
6482
|
level: e,
|
|
6447
6483
|
text: i,
|
|
6448
6484
|
id: a
|
|
6449
|
-
}), r.push(`<h${e} id="${
|
|
6485
|
+
}), r.push(`<h${e} id="${il(a)}">${n}</h${e}>`);
|
|
6450
6486
|
} else r.push(`<h${e}>${n}</h${e}>`);
|
|
6451
6487
|
continue;
|
|
6452
6488
|
}
|
|
@@ -6454,14 +6490,14 @@ function _l(e, t = {}) {
|
|
|
6454
6490
|
o(), r.push("<hr>");
|
|
6455
6491
|
continue;
|
|
6456
6492
|
}
|
|
6457
|
-
if (s.includes("|") &&
|
|
6493
|
+
if (s.includes("|") && ml.test(n[e + 1] ?? "") && (n[e + 1] ?? "").includes("|")) {
|
|
6458
6494
|
o();
|
|
6459
|
-
let t =
|
|
6495
|
+
let t = hl(s), i = hl(n[e + 1] ?? "").map((e) => {
|
|
6460
6496
|
let t = e.startsWith(":"), n = e.endsWith(":");
|
|
6461
6497
|
return t && n ? "center" : n ? "right" : t ? "left" : "";
|
|
6462
6498
|
}), c = (e, t, n) => `<${e}${i[n] ? ` style="text-align:${i[n]}"` : ""}>${a(t)}</${e}>`, l = [];
|
|
6463
6499
|
for (e += 2; e < n.length && (n[e] ?? "").includes("|") && (n[e] ?? "").trim() !== "";) {
|
|
6464
|
-
let r =
|
|
6500
|
+
let r = hl(n[e] ?? "");
|
|
6465
6501
|
l.push(`<tr>${t.map((e, t) => c("td", r[t] ?? "", t)).join("")}</tr>`), e++;
|
|
6466
6502
|
}
|
|
6467
6503
|
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>`);
|
|
@@ -6471,12 +6507,12 @@ function _l(e, t = {}) {
|
|
|
6471
6507
|
o();
|
|
6472
6508
|
let i = [];
|
|
6473
6509
|
for (; e < n.length && /^\s*>/.test(n[e] ?? "");) i.push((n[e] ?? "").replace(/^\s*>\s?/, "")), e++;
|
|
6474
|
-
e--, r.push(
|
|
6510
|
+
e--, r.push(Sl(i, t));
|
|
6475
6511
|
continue;
|
|
6476
6512
|
}
|
|
6477
|
-
if (
|
|
6513
|
+
if (pl.test(s)) {
|
|
6478
6514
|
o();
|
|
6479
|
-
let i =
|
|
6515
|
+
let i = xl(n, e, t);
|
|
6480
6516
|
r.push(i.html), e = i.next - 1;
|
|
6481
6517
|
continue;
|
|
6482
6518
|
}
|
|
@@ -6484,49 +6520,49 @@ function _l(e, t = {}) {
|
|
|
6484
6520
|
}
|
|
6485
6521
|
return o(), r.join("\n");
|
|
6486
6522
|
}
|
|
6487
|
-
function
|
|
6523
|
+
function yl(e) {
|
|
6488
6524
|
return (/^[ \t]*/.exec(e)?.[0] ?? "").replace(/\t/g, " ").length;
|
|
6489
6525
|
}
|
|
6490
|
-
function
|
|
6526
|
+
function bl(e) {
|
|
6491
6527
|
return /^\s*(#{1,6}\s|>|```|~~~|\|)/.test(e) || /^\s*([-*_])(\s*\1){2,}\s*$/.test(e);
|
|
6492
6528
|
}
|
|
6493
|
-
function
|
|
6494
|
-
let r =
|
|
6529
|
+
function xl(e, t, n) {
|
|
6530
|
+
let r = pl.exec(e[t] ?? ""), i = yl(r?.[1] ?? ""), a = /\d/.test(r?.[2] ?? ""), o = [], s = t;
|
|
6495
6531
|
for (; s < e.length;) {
|
|
6496
|
-
let t =
|
|
6497
|
-
if (!t ||
|
|
6532
|
+
let t = pl.exec(e[s] ?? "");
|
|
6533
|
+
if (!t || yl(t[1] ?? "") > i + 1 || yl(t[1] ?? "") < i || /\d/.test(t[2] ?? "") !== a) break;
|
|
6498
6534
|
let r = [t[3] ?? ""], c = [];
|
|
6499
6535
|
for (s++; s < e.length;) {
|
|
6500
6536
|
let t = e[s] ?? "";
|
|
6501
6537
|
if (t.trim() === "") {
|
|
6502
6538
|
let t = s + 1;
|
|
6503
6539
|
for (; t < e.length && (e[t] ?? "").trim() === "";) t++;
|
|
6504
|
-
if (t < e.length &&
|
|
6540
|
+
if (t < e.length && yl(e[t] ?? "") > i + 1) {
|
|
6505
6541
|
for (; s < t; s++) c.push("");
|
|
6506
6542
|
continue;
|
|
6507
6543
|
}
|
|
6508
6544
|
break;
|
|
6509
6545
|
}
|
|
6510
|
-
if (
|
|
6546
|
+
if (yl(t) > i + 1) {
|
|
6511
6547
|
c.push(t), s++;
|
|
6512
6548
|
continue;
|
|
6513
6549
|
}
|
|
6514
|
-
if (c.length === 0 && !
|
|
6550
|
+
if (c.length === 0 && !pl.test(t) && !bl(t)) {
|
|
6515
6551
|
r.push(t.trim()), s++;
|
|
6516
6552
|
continue;
|
|
6517
6553
|
}
|
|
6518
6554
|
break;
|
|
6519
6555
|
}
|
|
6520
|
-
let l =
|
|
6556
|
+
let l = dl(r.join("\n"), n);
|
|
6521
6557
|
if (c.some((e) => e.trim() !== "")) {
|
|
6522
|
-
let e = Math.min(...c.filter((e) => e.trim() !== "").map(
|
|
6523
|
-
l +=
|
|
6558
|
+
let e = Math.min(...c.filter((e) => e.trim() !== "").map(yl)), t = c.map((t) => t.replace(/\t/g, " ").slice(e));
|
|
6559
|
+
l += Cl(t, n);
|
|
6524
6560
|
}
|
|
6525
6561
|
o.push(`<li>${l}</li>`);
|
|
6526
6562
|
let u = s;
|
|
6527
6563
|
for (; u < e.length && (e[u] ?? "").trim() === "";) u++;
|
|
6528
|
-
let d =
|
|
6529
|
-
u > s && d &&
|
|
6564
|
+
let d = pl.exec(e[u] ?? "");
|
|
6565
|
+
u > s && d && yl(d[1] ?? "") <= i + 1 && yl(d[1] ?? "") >= i && /\d/.test(d[2] ?? "") === a && (s = u);
|
|
6530
6566
|
}
|
|
6531
6567
|
let c = a ? "ol" : "ul", l = a ? Number.parseInt(r?.[2] ?? "1", 10) : 1;
|
|
6532
6568
|
return {
|
|
@@ -6534,23 +6570,23 @@ function bl(e, t, n) {
|
|
|
6534
6570
|
next: s
|
|
6535
6571
|
};
|
|
6536
6572
|
}
|
|
6537
|
-
function
|
|
6573
|
+
function Sl(e, t) {
|
|
6538
6574
|
let n = (e[0] ?? "").trim(), r = /^\[!(\w+)\]\s*$/.exec(n);
|
|
6539
6575
|
if (r) {
|
|
6540
|
-
let n =
|
|
6541
|
-
if (n) return `<blockquote class="uid-markdown__callout uid-markdown__callout--${n}">${`<p class="uid-markdown__callout-title">${
|
|
6576
|
+
let n = gl[(r[1] ?? "").toLowerCase()];
|
|
6577
|
+
if (n) return `<blockquote class="uid-markdown__callout uid-markdown__callout--${n}">${`<p class="uid-markdown__callout-title">${il(_l(n, t))}</p>`}${Cl(e.slice(1), t)}</blockquote>`;
|
|
6542
6578
|
}
|
|
6543
6579
|
let i = /^\*\*([^*]+?):?\*\*:?/.exec(n);
|
|
6544
6580
|
if (i) {
|
|
6545
|
-
let n =
|
|
6546
|
-
if (n) return `<blockquote class="uid-markdown__callout uid-markdown__callout--${n}">${
|
|
6581
|
+
let n = gl[(i[1] ?? "").trim().toLowerCase()];
|
|
6582
|
+
if (n) return `<blockquote class="uid-markdown__callout uid-markdown__callout--${n}">${Cl(e, t)}</blockquote>`;
|
|
6547
6583
|
}
|
|
6548
|
-
return `<blockquote>${
|
|
6584
|
+
return `<blockquote>${Cl(e, t)}</blockquote>`;
|
|
6549
6585
|
}
|
|
6550
|
-
function
|
|
6551
|
-
return
|
|
6586
|
+
function Cl(e, t) {
|
|
6587
|
+
return vl(al(e.join("\n")), t);
|
|
6552
6588
|
}
|
|
6553
|
-
function
|
|
6589
|
+
function wl(e) {
|
|
6554
6590
|
if (!e) return [];
|
|
6555
6591
|
let t = e.replace(/\r\n?/g, "\n").split("\n"), n = [], r = [], i = () => {
|
|
6556
6592
|
r.some((e) => e.trim() !== "") && n.push({
|
|
@@ -6577,19 +6613,19 @@ function Cl(e) {
|
|
|
6577
6613
|
}
|
|
6578
6614
|
//#endregion
|
|
6579
6615
|
//#region src/components/Markdown/blockRenderers.ts
|
|
6580
|
-
var
|
|
6581
|
-
function
|
|
6582
|
-
E(
|
|
6616
|
+
var Tl = Symbol("UidMarkdownBlockRenderers");
|
|
6617
|
+
function El(e) {
|
|
6618
|
+
E(Tl, e);
|
|
6583
6619
|
}
|
|
6584
|
-
function
|
|
6585
|
-
return h(
|
|
6620
|
+
function Dl() {
|
|
6621
|
+
return h(Tl, {});
|
|
6586
6622
|
}
|
|
6587
6623
|
//#endregion
|
|
6588
6624
|
//#region src/components/Markdown/UidMarkdown.vue?vue&type=script&setup=true&lang.ts
|
|
6589
|
-
var
|
|
6625
|
+
var Ol = ["innerHTML"], kl = ["data-language", "innerHTML"], Al = ["data-language"], jl = ["data-language"], Ml = {
|
|
6590
6626
|
class: "uid-markdown__block-error-message",
|
|
6591
6627
|
role: "alert"
|
|
6592
|
-
},
|
|
6628
|
+
}, Nl = ["aria-label"], Pl = { class: "uid-markdown__toc-title" }, Fl = ["href", "onClick"], Il = /* @__PURE__ */ f({
|
|
6593
6629
|
__name: "UidMarkdown",
|
|
6594
6630
|
props: {
|
|
6595
6631
|
source: { default: "" },
|
|
@@ -6613,7 +6649,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
6613
6649
|
blockRenderers: { default: void 0 }
|
|
6614
6650
|
},
|
|
6615
6651
|
setup(e) {
|
|
6616
|
-
let n = e, r = $(), i =
|
|
6652
|
+
let n = e, r = $(), i = Dl(), u = {
|
|
6617
6653
|
blade: "html",
|
|
6618
6654
|
console: "bash",
|
|
6619
6655
|
env: "bash",
|
|
@@ -6628,7 +6664,11 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
6628
6664
|
let r = f.value[e];
|
|
6629
6665
|
if (!r || r.kind !== "custom") return;
|
|
6630
6666
|
let i = f.value.slice();
|
|
6631
|
-
i[e] = n.
|
|
6667
|
+
i[e] = n.mount ? {
|
|
6668
|
+
...r,
|
|
6669
|
+
state: "live",
|
|
6670
|
+
mount: n.mount
|
|
6671
|
+
} : n.error !== void 0 || n.html === void 0 ? {
|
|
6632
6672
|
...r,
|
|
6633
6673
|
state: "error",
|
|
6634
6674
|
error: n.error ?? ""
|
|
@@ -6645,14 +6685,14 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
6645
6685
|
let e = ++m, t = {
|
|
6646
6686
|
...i,
|
|
6647
6687
|
...n.blockRenderers ?? {}
|
|
6648
|
-
}, a =
|
|
6688
|
+
}, a = ol(), o = [], s = {
|
|
6649
6689
|
...r.value.markdown,
|
|
6650
6690
|
...n.calloutTitles ?? {}
|
|
6651
|
-
}, c = [], l = 0;
|
|
6652
|
-
f.value =
|
|
6691
|
+
}, c = [], l = 0, d = f.value;
|
|
6692
|
+
f.value = wl(n.source).map((e, r) => {
|
|
6653
6693
|
if (e.kind === "text") return {
|
|
6654
6694
|
kind: "html",
|
|
6655
|
-
html:
|
|
6695
|
+
html: vl(e.source, {
|
|
6656
6696
|
slugger: a,
|
|
6657
6697
|
onHeading: (e) => o.push(e),
|
|
6658
6698
|
linkBase: n.linkBase ?? null,
|
|
@@ -6662,23 +6702,28 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
6662
6702
|
calloutTitles: s
|
|
6663
6703
|
})
|
|
6664
6704
|
};
|
|
6665
|
-
let i = e.language ? t[e.language] : void 0,
|
|
6705
|
+
let i = e.language ? t[e.language] : void 0, f = {
|
|
6666
6706
|
language: e.language,
|
|
6667
6707
|
index: l++
|
|
6668
6708
|
};
|
|
6669
|
-
|
|
6709
|
+
if (!i) return {
|
|
6710
|
+
kind: "code",
|
|
6711
|
+
code: e.code,
|
|
6712
|
+
language: u[e.language] ?? e.language
|
|
6713
|
+
};
|
|
6714
|
+
let p = d[r];
|
|
6715
|
+
return p?.kind === "custom" && p.state === "live" && p.language === e.language ? {
|
|
6716
|
+
...p,
|
|
6717
|
+
code: e.code
|
|
6718
|
+
} : (c.push({
|
|
6670
6719
|
index: r,
|
|
6671
|
-
run: () => i(e.code,
|
|
6720
|
+
run: () => i(e.code, f)
|
|
6672
6721
|
}), {
|
|
6673
6722
|
kind: "custom",
|
|
6674
6723
|
code: e.code,
|
|
6675
6724
|
language: e.language,
|
|
6676
6725
|
state: "pending"
|
|
6677
|
-
})
|
|
6678
|
-
kind: "code",
|
|
6679
|
-
code: e.code,
|
|
6680
|
-
language: u[e.language] ?? e.language
|
|
6681
|
-
};
|
|
6726
|
+
});
|
|
6682
6727
|
}), p.value = o;
|
|
6683
6728
|
for (let { index: t, run: n } of c) {
|
|
6684
6729
|
let r;
|
|
@@ -6731,7 +6776,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
6731
6776
|
key: 0,
|
|
6732
6777
|
class: "uid-markdown__html",
|
|
6733
6778
|
innerHTML: e.html
|
|
6734
|
-
}, null, 8,
|
|
6779
|
+
}, null, 8, Ol)) : e.kind === "code" ? (T(), o(tl, {
|
|
6735
6780
|
key: 1,
|
|
6736
6781
|
class: "uid-markdown__code",
|
|
6737
6782
|
code: e.code,
|
|
@@ -6742,45 +6787,57 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
6742
6787
|
class: "uid-markdown__block",
|
|
6743
6788
|
"data-language": e.language,
|
|
6744
6789
|
innerHTML: e.html
|
|
6745
|
-
}, null, 8,
|
|
6790
|
+
}, null, 8, kl)) : e.state === "live" && e.mount ? (T(), o(nl, {
|
|
6746
6791
|
key: 3,
|
|
6792
|
+
class: "uid-markdown__block uid-markdown__block--live",
|
|
6793
|
+
"data-language": e.language,
|
|
6794
|
+
code: e.code,
|
|
6795
|
+
language: e.language,
|
|
6796
|
+
mount: e.mount
|
|
6797
|
+
}, null, 8, [
|
|
6798
|
+
"data-language",
|
|
6799
|
+
"code",
|
|
6800
|
+
"language",
|
|
6801
|
+
"mount"
|
|
6802
|
+
])) : e.state === "pending" ? (T(), c("div", {
|
|
6803
|
+
key: 4,
|
|
6747
6804
|
class: "uid-markdown__block uid-markdown__block--pending",
|
|
6748
6805
|
"data-language": e.language,
|
|
6749
6806
|
"aria-busy": "true"
|
|
6750
|
-
}, P(L(r).markdown.blockPending), 9,
|
|
6751
|
-
key:
|
|
6807
|
+
}, P(L(r).markdown.blockPending), 9, Al)) : (T(), c("div", {
|
|
6808
|
+
key: 5,
|
|
6752
6809
|
class: "uid-markdown__block-error",
|
|
6753
6810
|
"data-language": e.language
|
|
6754
|
-
}, [l("p",
|
|
6811
|
+
}, [l("p", Ml, P(e.error ? `${L(r).markdown.blockError}: ${e.error}` : L(r).markdown.blockError), 1), d(tl, {
|
|
6755
6812
|
class: "uid-markdown__code",
|
|
6756
6813
|
code: e.code,
|
|
6757
6814
|
language: e.language || void 0,
|
|
6758
6815
|
copy: ""
|
|
6759
|
-
}, null, 8, ["code", "language"])], 8,
|
|
6816
|
+
}, null, 8, ["code", "language"])], 8, jl))], 64))), 128))]), C.value.length > 0 ? (T(), c("nav", {
|
|
6760
6817
|
key: 0,
|
|
6761
6818
|
class: "uid-markdown__toc",
|
|
6762
6819
|
"aria-label": x.value
|
|
6763
|
-
}, [l("div",
|
|
6820
|
+
}, [l("div", Pl, P(x.value), 1), l("ul", null, [(T(!0), c(t, null, k(C.value, (e) => (T(), c("li", {
|
|
6764
6821
|
key: e.id,
|
|
6765
6822
|
class: y(["uid-markdown__toc-item", `uid-markdown__toc-item--l${e.level}`])
|
|
6766
6823
|
}, [l("a", {
|
|
6767
6824
|
href: `#${e.id}`,
|
|
6768
6825
|
onClick: X((t) => D(e.id), ["prevent"])
|
|
6769
|
-
}, P(e.text), 9,
|
|
6826
|
+
}, P(e.text), 9, Fl)], 2))), 128))])], 8, Nl)) : s("", !0)], 2));
|
|
6770
6827
|
}
|
|
6771
|
-
}),
|
|
6828
|
+
}), Ll = ["data-status"], Rl = ["aria-label"], zl = {
|
|
6772
6829
|
key: 0,
|
|
6773
6830
|
class: "uid-image__placeholder",
|
|
6774
6831
|
"aria-hidden": "true"
|
|
6775
|
-
},
|
|
6832
|
+
}, Bl = ["aria-label"], Vl = [
|
|
6776
6833
|
"src",
|
|
6777
6834
|
"alt",
|
|
6778
6835
|
"loading"
|
|
6779
|
-
],
|
|
6836
|
+
], Hl = [
|
|
6780
6837
|
"src",
|
|
6781
6838
|
"alt",
|
|
6782
6839
|
"loading"
|
|
6783
|
-
],
|
|
6840
|
+
], Ul = { class: "uid-image__preview" }, Wl = ["src", "alt"], Gl = /* @__PURE__ */ f({
|
|
6784
6841
|
__name: "UidImage",
|
|
6785
6842
|
props: {
|
|
6786
6843
|
src: {},
|
|
@@ -6850,7 +6907,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
6850
6907
|
}, [A(r.$slots, "fallback", {}, () => [d(e, {
|
|
6851
6908
|
icon: L(_e),
|
|
6852
6909
|
size: 24
|
|
6853
|
-
}, null, 8, ["icon"])])], 8,
|
|
6910
|
+
}, null, 8, ["icon"])])], 8, Rl)) : (T(), c(t, { key: 1 }, [p.value === "loading" ? (T(), c("div", zl, [A(r.$slots, "placeholder")])) : s("", !0), _.value ? (T(), c("button", {
|
|
6854
6911
|
key: 1,
|
|
6855
6912
|
type: "button",
|
|
6856
6913
|
class: "uid-image__trigger",
|
|
@@ -6865,7 +6922,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
6865
6922
|
decoding: "async",
|
|
6866
6923
|
onLoad: C,
|
|
6867
6924
|
onError: w
|
|
6868
|
-
}, null, 40,
|
|
6925
|
+
}, null, 40, Vl)], 8, Bl)) : (T(), c("img", {
|
|
6869
6926
|
key: 2,
|
|
6870
6927
|
class: "uid-image__img",
|
|
6871
6928
|
src: g.value,
|
|
@@ -6874,40 +6931,40 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
6874
6931
|
decoding: "async",
|
|
6875
6932
|
onLoad: C,
|
|
6876
6933
|
onError: w
|
|
6877
|
-
}, null, 40,
|
|
6934
|
+
}, null, 40, Hl))], 64)), n.preview ? (T(), o(Gn, {
|
|
6878
6935
|
key: 2,
|
|
6879
6936
|
modelValue: h.value,
|
|
6880
6937
|
"onUpdate:modelValue": i[0] ||= (e) => h.value = e,
|
|
6881
6938
|
size: "full",
|
|
6882
6939
|
title: n.alt
|
|
6883
6940
|
}, {
|
|
6884
|
-
default: q(() => [l("div",
|
|
6941
|
+
default: q(() => [l("div", Ul, [l("img", {
|
|
6885
6942
|
class: "uid-image__preview-img",
|
|
6886
6943
|
src: n.previewSrc || g.value,
|
|
6887
6944
|
alt: n.alt
|
|
6888
|
-
}, null, 8,
|
|
6945
|
+
}, null, 8, Wl)])]),
|
|
6889
6946
|
_: 1
|
|
6890
|
-
}, 8, ["modelValue", "title"])) : s("", !0)], 14,
|
|
6947
|
+
}, 8, ["modelValue", "title"])) : s("", !0)], 14, Ll));
|
|
6891
6948
|
}
|
|
6892
|
-
}),
|
|
6949
|
+
}), Kl = [
|
|
6893
6950
|
"aria-valuemax",
|
|
6894
6951
|
"aria-valuenow",
|
|
6895
6952
|
"aria-readonly",
|
|
6896
6953
|
"aria-disabled",
|
|
6897
6954
|
"aria-label"
|
|
6898
|
-
],
|
|
6955
|
+
], ql = [
|
|
6899
6956
|
"tabindex",
|
|
6900
6957
|
"aria-label",
|
|
6901
6958
|
"onClick",
|
|
6902
6959
|
"onMousemove",
|
|
6903
6960
|
"onKeydown"
|
|
6904
|
-
],
|
|
6961
|
+
], Jl = {
|
|
6905
6962
|
class: "uid-rating__icon",
|
|
6906
6963
|
"aria-hidden": "true"
|
|
6907
|
-
},
|
|
6964
|
+
}, Yl = ["data-half"], Xl = {
|
|
6908
6965
|
key: 0,
|
|
6909
6966
|
class: "uid-rating__label"
|
|
6910
|
-
},
|
|
6967
|
+
}, Zl = /* @__PURE__ */ f({
|
|
6911
6968
|
__name: "UidRating",
|
|
6912
6969
|
props: /* @__PURE__ */ g({
|
|
6913
6970
|
max: { default: 5 },
|
|
@@ -7012,21 +7069,21 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7012
7069
|
onClick: (e) => x(e, t),
|
|
7013
7070
|
onMousemove: (e) => S(e, t),
|
|
7014
7071
|
onKeydown: (e) => w(e, t)
|
|
7015
|
-
}, [l("span",
|
|
7072
|
+
}, [l("span", Jl, [d(e, { icon: _.value }, null, 8, ["icon"])]), v(t).full ? (T(), c("span", {
|
|
7016
7073
|
key: 0,
|
|
7017
7074
|
class: "uid-rating__icon uid-rating__icon--filled",
|
|
7018
7075
|
"data-half": v(t).half ? "true" : "false",
|
|
7019
7076
|
"aria-hidden": "true"
|
|
7020
|
-
}, [d(e, { icon: _.value }, null, 8, ["icon"])], 8,
|
|
7077
|
+
}, [d(e, { icon: _.value }, null, 8, ["icon"])], 8, Yl)) : s("", !0)], 40, ql))), 128)), n.showLabel ? (T(), c("span", Xl, P(L($s)(p.value, u.value, +!!n.allowHalf)) + " / " + P(n.max), 1)) : s("", !0)], 42, Kl));
|
|
7021
7078
|
}
|
|
7022
|
-
}),
|
|
7079
|
+
}), Ql = [
|
|
7023
7080
|
"tabindex",
|
|
7024
7081
|
"aria-orientation",
|
|
7025
7082
|
"aria-valuemin",
|
|
7026
7083
|
"aria-valuemax",
|
|
7027
7084
|
"aria-valuenow",
|
|
7028
7085
|
"aria-disabled"
|
|
7029
|
-
],
|
|
7086
|
+
], $l = { class: "uid-splitter__pane uid-splitter__pane--end" }, eu = /* @__PURE__ */ f({
|
|
7030
7087
|
__name: "UidSplitter",
|
|
7031
7088
|
props: /* @__PURE__ */ g({
|
|
7032
7089
|
direction: { default: "horizontal" },
|
|
@@ -7104,27 +7161,27 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7104
7161
|
l("span", { class: "uid-splitter__grip-dot" }),
|
|
7105
7162
|
l("span", { class: "uid-splitter__grip-dot" }),
|
|
7106
7163
|
l("span", { class: "uid-splitter__grip-dot" })
|
|
7107
|
-
], -1)]], 40,
|
|
7108
|
-
l("div",
|
|
7164
|
+
], -1)]], 40, Ql),
|
|
7165
|
+
l("div", $l, [A(t.$slots, "end")])
|
|
7109
7166
|
], 2));
|
|
7110
7167
|
}
|
|
7111
|
-
}),
|
|
7168
|
+
}), tu = {
|
|
7112
7169
|
key: 0,
|
|
7113
7170
|
class: "uid-stat__icon",
|
|
7114
7171
|
"aria-hidden": "true"
|
|
7115
|
-
},
|
|
7172
|
+
}, nu = { class: "uid-stat__body" }, ru = {
|
|
7116
7173
|
key: 0,
|
|
7117
7174
|
class: "uid-stat__title"
|
|
7118
|
-
},
|
|
7175
|
+
}, iu = { class: "uid-stat__value-row" }, au = { class: "uid-stat__value" }, ou = {
|
|
7119
7176
|
key: 0,
|
|
7120
7177
|
class: "uid-stat__prefix"
|
|
7121
|
-
},
|
|
7178
|
+
}, su = {
|
|
7122
7179
|
key: 1,
|
|
7123
7180
|
class: "uid-stat__suffix"
|
|
7124
|
-
},
|
|
7181
|
+
}, cu = {
|
|
7125
7182
|
key: 1,
|
|
7126
7183
|
class: "uid-stat__footer"
|
|
7127
|
-
},
|
|
7184
|
+
}, lu = /* @__PURE__ */ f({
|
|
7128
7185
|
__name: "UidStat",
|
|
7129
7186
|
props: {
|
|
7130
7187
|
title: {},
|
|
@@ -7153,16 +7210,16 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7153
7210
|
t.variant === "ghost" && "uid-stat--ghost",
|
|
7154
7211
|
t.trendPlacement === "below" && "uid-stat--trend-below",
|
|
7155
7212
|
t.loading && "uid-stat--loading"
|
|
7156
|
-
]]) }, [t.icon || n.$slots.icon ? (T(), c("span",
|
|
7213
|
+
]]) }, [t.icon || n.$slots.icon ? (T(), c("span", tu, [A(n.$slots, "icon", {}, () => [t.icon ? (T(), o(e, {
|
|
7157
7214
|
key: 0,
|
|
7158
7215
|
icon: t.icon,
|
|
7159
7216
|
size: 20
|
|
7160
|
-
}, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div",
|
|
7161
|
-
t.title ? (T(), c("p",
|
|
7162
|
-
l("div",
|
|
7163
|
-
t.prefix ? (T(), c("span",
|
|
7217
|
+
}, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div", nu, [
|
|
7218
|
+
t.title ? (T(), c("p", ru, P(t.title), 1)) : s("", !0),
|
|
7219
|
+
l("div", iu, [l("span", au, [A(n.$slots, "value", {}, () => [
|
|
7220
|
+
t.prefix ? (T(), c("span", ou, P(t.prefix), 1)) : s("", !0),
|
|
7164
7221
|
l("span", null, P(d.value), 1),
|
|
7165
|
-
t.suffix ? (T(), c("span",
|
|
7222
|
+
t.suffix ? (T(), c("span", su, P(t.suffix), 1)) : s("", !0)
|
|
7166
7223
|
])]), t.trend !== void 0 || n.$slots.trend ? (T(), c("span", {
|
|
7167
7224
|
key: 0,
|
|
7168
7225
|
class: y(["uid-stat__trend", f.value && `uid-stat__trend--${f.value}`])
|
|
@@ -7171,13 +7228,13 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7171
7228
|
icon: p.value,
|
|
7172
7229
|
size: 12
|
|
7173
7230
|
}, null, 8, ["icon"])) : s("", !0), l("span", null, P(m.value), 1)])], 2)) : s("", !0)]),
|
|
7174
|
-
t.footer || n.$slots.footer ? (T(), c("p",
|
|
7231
|
+
t.footer || n.$slots.footer ? (T(), c("p", cu, [A(n.$slots, "footer", {}, () => [u(P(t.footer), 1)])])) : s("", !0)
|
|
7175
7232
|
])], 2));
|
|
7176
7233
|
}
|
|
7177
|
-
}),
|
|
7234
|
+
}), uu = Symbol("UidDescriptionList"), du = {
|
|
7178
7235
|
key: 0,
|
|
7179
7236
|
class: "uid-description-list__title"
|
|
7180
|
-
},
|
|
7237
|
+
}, fu = /* @__PURE__ */ f({
|
|
7181
7238
|
__name: "UidDescriptionList",
|
|
7182
7239
|
props: {
|
|
7183
7240
|
title: {},
|
|
@@ -7192,7 +7249,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7192
7249
|
},
|
|
7193
7250
|
setup(e) {
|
|
7194
7251
|
let t = e;
|
|
7195
|
-
E(
|
|
7252
|
+
E(uu, {
|
|
7196
7253
|
direction: a(() => t.direction),
|
|
7197
7254
|
bordered: a(() => t.bordered)
|
|
7198
7255
|
});
|
|
@@ -7204,12 +7261,12 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7204
7261
|
`uid-description-list--${e.direction}`,
|
|
7205
7262
|
`uid-description-list--${e.size}`,
|
|
7206
7263
|
e.bordered && "uid-description-list--bordered"
|
|
7207
|
-
]]) }, [e.title || t.$slots.title ? (T(), c("h3",
|
|
7264
|
+
]]) }, [e.title || t.$slots.title ? (T(), c("h3", du, [A(t.$slots, "title", {}, () => [u(P(e.title), 1)])])) : s("", !0), l("dl", {
|
|
7208
7265
|
class: "uid-description-list__grid",
|
|
7209
7266
|
style: b(n.value)
|
|
7210
7267
|
}, [A(t.$slots, "default")], 4)], 2));
|
|
7211
7268
|
}
|
|
7212
|
-
}),
|
|
7269
|
+
}), pu = { class: "uid-description-item__label" }, mu = { class: "uid-description-item__value" }, hu = ["aria-label"], gu = /* @__PURE__ */ f({
|
|
7213
7270
|
__name: "UidDescriptionItem",
|
|
7214
7271
|
props: {
|
|
7215
7272
|
label: {},
|
|
@@ -7222,7 +7279,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7222
7279
|
},
|
|
7223
7280
|
setup(t) {
|
|
7224
7281
|
let n = $(), r = t;
|
|
7225
|
-
h(
|
|
7282
|
+
h(uu, null);
|
|
7226
7283
|
let i = O(null), o = O(!1), f = a(() => ({ "--uid-desc-span": r.span }));
|
|
7227
7284
|
async function p() {
|
|
7228
7285
|
let e = r.copyValue ?? i.value?.querySelector(".uid-description-item__value")?.textContent?.trim() ?? "";
|
|
@@ -7237,7 +7294,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7237
7294
|
ref: i,
|
|
7238
7295
|
class: "uid-description-item",
|
|
7239
7296
|
style: b(f.value)
|
|
7240
|
-
}, [l("dt",
|
|
7297
|
+
}, [l("dt", pu, [A(r.$slots, "label", {}, () => [u(P(t.label), 1)])]), l("dd", mu, [A(r.$slots, "default"), t.copyable ? (T(), c("button", {
|
|
7241
7298
|
key: 0,
|
|
7242
7299
|
type: "button",
|
|
7243
7300
|
class: y(["uid-description-item__copy", { "uid-description-item__copy--copied": o.value }]),
|
|
@@ -7246,24 +7303,24 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7246
7303
|
}, [d(e, {
|
|
7247
7304
|
icon: o.value ? L(Q) : L(fe),
|
|
7248
7305
|
size: 12
|
|
7249
|
-
}, null, 8, ["icon"])], 10,
|
|
7306
|
+
}, null, 8, ["icon"])], 10, hu)) : s("", !0)])], 4));
|
|
7250
7307
|
}
|
|
7251
|
-
}),
|
|
7308
|
+
}), _u = {
|
|
7252
7309
|
class: "uid-pattern-result__icon",
|
|
7253
7310
|
"aria-hidden": "true"
|
|
7254
|
-
},
|
|
7311
|
+
}, vu = {
|
|
7255
7312
|
key: 0,
|
|
7256
7313
|
class: "uid-pattern-result__title"
|
|
7257
|
-
},
|
|
7314
|
+
}, yu = {
|
|
7258
7315
|
key: 1,
|
|
7259
7316
|
class: "uid-pattern-result__description"
|
|
7260
|
-
},
|
|
7317
|
+
}, bu = {
|
|
7261
7318
|
key: 2,
|
|
7262
7319
|
class: "uid-pattern-result__content"
|
|
7263
|
-
},
|
|
7320
|
+
}, xu = {
|
|
7264
7321
|
key: 3,
|
|
7265
7322
|
class: "uid-pattern-result__actions"
|
|
7266
|
-
},
|
|
7323
|
+
}, Su = /* @__PURE__ */ f({
|
|
7267
7324
|
__name: "UidResult",
|
|
7268
7325
|
props: {
|
|
7269
7326
|
status: { default: "success" },
|
|
@@ -7285,17 +7342,17 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7285
7342
|
class: y(["uid-pattern-result", [`uid-pattern-result--${t.status}`, t.compact && "uid-pattern-result--compact"]]),
|
|
7286
7343
|
role: "status"
|
|
7287
7344
|
}, [
|
|
7288
|
-
l("div",
|
|
7345
|
+
l("div", _u, [A(n.$slots, "icon", {}, () => [d(e, {
|
|
7289
7346
|
icon: i.value,
|
|
7290
7347
|
size: t.compact ? 32 : 40
|
|
7291
7348
|
}, null, 8, ["icon", "size"])])]),
|
|
7292
|
-
t.title || n.$slots.title ? (T(), c("h2",
|
|
7293
|
-
t.description || n.$slots.description ? (T(), c("p",
|
|
7294
|
-
n.$slots.default ? (T(), c("div",
|
|
7295
|
-
n.$slots.actions ? (T(), c("div",
|
|
7349
|
+
t.title || n.$slots.title ? (T(), c("h2", vu, [A(n.$slots, "title", {}, () => [u(P(t.title), 1)])])) : s("", !0),
|
|
7350
|
+
t.description || n.$slots.description ? (T(), c("p", yu, [A(n.$slots, "description", {}, () => [u(P(t.description), 1)])])) : s("", !0),
|
|
7351
|
+
n.$slots.default ? (T(), c("div", bu, [A(n.$slots, "default")])) : s("", !0),
|
|
7352
|
+
n.$slots.actions ? (T(), c("div", xu, [A(n.$slots, "actions")])) : s("", !0)
|
|
7296
7353
|
], 2));
|
|
7297
7354
|
}
|
|
7298
|
-
}),
|
|
7355
|
+
}), Cu = ["aria-label"], wu = /* @__PURE__ */ f({
|
|
7299
7356
|
__name: "UidBackTop",
|
|
7300
7357
|
props: {
|
|
7301
7358
|
visibleAfter: { default: 200 },
|
|
@@ -7343,11 +7400,11 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7343
7400
|
}, [A(t.$slots, "default", {}, () => [d(e, {
|
|
7344
7401
|
icon: L(re),
|
|
7345
7402
|
size: 20
|
|
7346
|
-
}, null, 8, ["icon"])])], 8,
|
|
7403
|
+
}, null, 8, ["icon"])])], 8, Cu), [[W, f.value]])]),
|
|
7347
7404
|
_: 3
|
|
7348
7405
|
}));
|
|
7349
7406
|
}
|
|
7350
|
-
}),
|
|
7407
|
+
}), Tu = { class: "uid-affix__content" }, Eu = /* @__PURE__ */ f({
|
|
7351
7408
|
__name: "UidAffix",
|
|
7352
7409
|
props: {
|
|
7353
7410
|
offsetTop: {},
|
|
@@ -7377,9 +7434,9 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7377
7434
|
ref: o,
|
|
7378
7435
|
class: "uid-affix__sentinel",
|
|
7379
7436
|
"aria-hidden": "true"
|
|
7380
|
-
}, null, 512), l("div",
|
|
7437
|
+
}, null, 512), l("div", Tu, [A(e.$slots, "default")])], 6));
|
|
7381
7438
|
}
|
|
7382
|
-
}),
|
|
7439
|
+
}), Du = { class: "uid-watermark" }, Ou = { class: "uid-watermark__content" }, ku = /* @__PURE__ */ f({
|
|
7383
7440
|
__name: "UidWatermark",
|
|
7384
7441
|
props: {
|
|
7385
7442
|
content: { default: "" },
|
|
@@ -7426,24 +7483,24 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7426
7483
|
i();
|
|
7427
7484
|
}), C(() => {
|
|
7428
7485
|
n.value = "";
|
|
7429
|
-
}), (e, t) => (T(), c("div",
|
|
7486
|
+
}), (e, t) => (T(), c("div", Du, [l("div", {
|
|
7430
7487
|
class: "uid-watermark__overlay",
|
|
7431
7488
|
style: b(o.value),
|
|
7432
7489
|
"aria-hidden": "true"
|
|
7433
|
-
}, null, 4), l("div",
|
|
7490
|
+
}, null, 4), l("div", Ou, [A(e.$slots, "default")])]));
|
|
7434
7491
|
}
|
|
7435
|
-
}),
|
|
7492
|
+
}), Au = ["aria-label"], ju = { class: "uid-anchor__list" }, Mu = [
|
|
7436
7493
|
"href",
|
|
7437
7494
|
"aria-current",
|
|
7438
7495
|
"onClick"
|
|
7439
|
-
],
|
|
7496
|
+
], Nu = {
|
|
7440
7497
|
key: 0,
|
|
7441
7498
|
class: "uid-anchor__sublist"
|
|
7442
|
-
},
|
|
7499
|
+
}, Pu = [
|
|
7443
7500
|
"href",
|
|
7444
7501
|
"aria-current",
|
|
7445
7502
|
"onClick"
|
|
7446
|
-
],
|
|
7503
|
+
], Fu = /* @__PURE__ */ f({
|
|
7447
7504
|
__name: "UidAnchor",
|
|
7448
7505
|
props: /* @__PURE__ */ g({
|
|
7449
7506
|
items: {},
|
|
@@ -7510,7 +7567,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7510
7567
|
return (n, r) => (T(), c("nav", {
|
|
7511
7568
|
class: "uid-anchor",
|
|
7512
7569
|
"aria-label": L(i).anchor.label
|
|
7513
|
-
}, [l("ul",
|
|
7570
|
+
}, [l("ul", ju, [(T(!0), c(t, null, k(e.items, (e) => (T(), c("li", {
|
|
7514
7571
|
key: e.key,
|
|
7515
7572
|
class: "uid-anchor__item"
|
|
7516
7573
|
}, [l("a", {
|
|
@@ -7518,7 +7575,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7518
7575
|
class: y(["uid-anchor__link", { "uid-anchor__link--active": o.value === e.key }]),
|
|
7519
7576
|
"aria-current": o.value === e.key ? "location" : void 0,
|
|
7520
7577
|
onClick: (t) => h(t, e)
|
|
7521
|
-
}, P(e.title), 11,
|
|
7578
|
+
}, P(e.title), 11, Mu), e.children?.length ? (T(), c("ul", Nu, [(T(!0), c(t, null, k(e.children, (e) => (T(), c("li", {
|
|
7522
7579
|
key: e.key,
|
|
7523
7580
|
class: "uid-anchor__item"
|
|
7524
7581
|
}, [l("a", {
|
|
@@ -7526,18 +7583,18 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7526
7583
|
class: y(["uid-anchor__link", { "uid-anchor__link--active": o.value === e.key }]),
|
|
7527
7584
|
"aria-current": o.value === e.key ? "location" : void 0,
|
|
7528
7585
|
onClick: (t) => h(t, e)
|
|
7529
|
-
}, P(e.title), 11,
|
|
7586
|
+
}, P(e.title), 11, Pu)]))), 128))])) : s("", !0)]))), 128))])], 8, Au));
|
|
7530
7587
|
}
|
|
7531
|
-
}),
|
|
7588
|
+
}), Iu = ["aria-label"], Lu = {
|
|
7532
7589
|
key: 0,
|
|
7533
7590
|
class: "uid-tour__title"
|
|
7534
|
-
},
|
|
7591
|
+
}, Ru = {
|
|
7535
7592
|
key: 1,
|
|
7536
7593
|
class: "uid-tour__description"
|
|
7537
|
-
},
|
|
7594
|
+
}, zu = { class: "uid-tour__footer" }, Bu = {
|
|
7538
7595
|
key: 0,
|
|
7539
7596
|
class: "uid-tour__progress"
|
|
7540
|
-
},
|
|
7597
|
+
}, Vu = { key: 1 }, Hu = { class: "uid-tour__actions" }, Uu = /* @__PURE__ */ f({
|
|
7541
7598
|
__name: "UidTour",
|
|
7542
7599
|
props: /* @__PURE__ */ g({
|
|
7543
7600
|
steps: {},
|
|
@@ -7676,9 +7733,9 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7676
7733
|
class: y(["uid-tour__popover", { "uid-tour__popover--center": N.value }]),
|
|
7677
7734
|
style: b(N.value ? void 0 : M.value)
|
|
7678
7735
|
}, [
|
|
7679
|
-
E.value.title ? (T(), c("h3",
|
|
7680
|
-
E.value.description ? (T(), c("p",
|
|
7681
|
-
l("div",
|
|
7736
|
+
E.value.title ? (T(), c("h3", Lu, P(E.value.title), 1)) : s("", !0),
|
|
7737
|
+
E.value.description ? (T(), c("p", Ru, P(E.value.description), 1)) : s("", !0),
|
|
7738
|
+
l("div", zu, [e.showProgress ? (T(), c("span", Bu, P(g.value + 1) + " / " + P(e.steps.length), 1)) : (T(), c("span", Vu)), l("div", Hu, [
|
|
7682
7739
|
e.showSkip && g.value < e.steps.length - 1 ? (T(), c("button", {
|
|
7683
7740
|
key: 0,
|
|
7684
7741
|
type: "button",
|
|
@@ -7698,21 +7755,21 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7698
7755
|
}, P(g.value === e.steps.length - 1 ? f.value : u.value), 1)
|
|
7699
7756
|
])])
|
|
7700
7757
|
], 6)
|
|
7701
|
-
], 8,
|
|
7758
|
+
], 8, Iu)) : s("", !0)]));
|
|
7702
7759
|
}
|
|
7703
|
-
}),
|
|
7760
|
+
}), Wu = ["for"], Gu = [
|
|
7704
7761
|
"id",
|
|
7705
7762
|
"value",
|
|
7706
7763
|
"placeholder",
|
|
7707
7764
|
"rows",
|
|
7708
7765
|
"disabled"
|
|
7709
|
-
],
|
|
7766
|
+
], Ku = ["onMousedown", "onMouseenter"], qu = { class: "uid-mention__option-label" }, Ju = {
|
|
7710
7767
|
key: 0,
|
|
7711
7768
|
class: "uid-mention__option-hint"
|
|
7712
|
-
},
|
|
7769
|
+
}, Yu = {
|
|
7713
7770
|
key: 0,
|
|
7714
7771
|
class: "uid-mention__empty"
|
|
7715
|
-
},
|
|
7772
|
+
}, Xu = /* @__PURE__ */ f({
|
|
7716
7773
|
inheritAttrs: !1,
|
|
7717
7774
|
__name: "UidMention",
|
|
7718
7775
|
props: /* @__PURE__ */ g({
|
|
@@ -7777,7 +7834,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7777
7834
|
key: 0,
|
|
7778
7835
|
for: L(x),
|
|
7779
7836
|
class: "uid-mention__label"
|
|
7780
|
-
}, P(e.label), 9,
|
|
7837
|
+
}, P(e.label), 9, Wu)) : s("", !0),
|
|
7781
7838
|
l("textarea", _(L(u)(), {
|
|
7782
7839
|
id: L(x),
|
|
7783
7840
|
ref_key: "fieldRef",
|
|
@@ -7792,7 +7849,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7792
7849
|
onKeydown: H,
|
|
7793
7850
|
onKeyup: F,
|
|
7794
7851
|
onBlur: a[0] ||= (e) => S.value = !1
|
|
7795
|
-
}), null, 16,
|
|
7852
|
+
}), null, 16, Gu),
|
|
7796
7853
|
(T(), o(n, { to: "body" }, [S.value ? (T(), c("div", {
|
|
7797
7854
|
key: 0,
|
|
7798
7855
|
ref_key: "panelRef",
|
|
@@ -7805,30 +7862,30 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7805
7862
|
class: y(["uid-mention__option", { "uid-mention__option--active": t === w.value }]),
|
|
7806
7863
|
onMousedown: X((t) => I(e), ["prevent"]),
|
|
7807
7864
|
onMouseenter: (e) => w.value = t
|
|
7808
|
-
}, [l("span",
|
|
7865
|
+
}, [l("span", qu, P(e.label), 1), e.hint ? (T(), c("span", Ju, P(e.hint), 1)) : s("", !0)], 42, Ku))), 128)), N.value.length === 0 ? (T(), c("div", Yu, P(p.value), 1)) : s("", !0)], 4)) : s("", !0)]))
|
|
7809
7866
|
], 16));
|
|
7810
7867
|
}
|
|
7811
|
-
}),
|
|
7868
|
+
}), Zu = ["for"], Qu = {
|
|
7812
7869
|
key: 0,
|
|
7813
7870
|
class: "uid-tree-select__required",
|
|
7814
7871
|
"aria-hidden": "true"
|
|
7815
|
-
},
|
|
7872
|
+
}, $u = [
|
|
7816
7873
|
"id",
|
|
7817
7874
|
"aria-expanded",
|
|
7818
7875
|
"aria-controls",
|
|
7819
7876
|
"aria-label",
|
|
7820
7877
|
"aria-disabled",
|
|
7821
7878
|
"aria-invalid"
|
|
7822
|
-
],
|
|
7879
|
+
], ed = { class: "uid-tree-select__value" }, td = ["aria-label", "onClick"], nd = {
|
|
7823
7880
|
key: 0,
|
|
7824
7881
|
class: "uid-tree-select__chip"
|
|
7825
|
-
},
|
|
7882
|
+
}, rd = {
|
|
7826
7883
|
key: 1,
|
|
7827
7884
|
class: "uid-tree-select__placeholder"
|
|
7828
|
-
},
|
|
7885
|
+
}, id = { key: 0 }, ad = {
|
|
7829
7886
|
key: 1,
|
|
7830
7887
|
class: "uid-tree-select__placeholder"
|
|
7831
|
-
},
|
|
7888
|
+
}, od = { class: "uid-tree-select__suffix" }, sd = ["aria-label"], cd = ["id"], ld = /* @__PURE__ */ f({
|
|
7832
7889
|
__name: "UidTreeSelect",
|
|
7833
7890
|
props: /* @__PURE__ */ g({
|
|
7834
7891
|
size: { default: "md" },
|
|
@@ -7957,7 +8014,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7957
8014
|
key: 0,
|
|
7958
8015
|
for: L(A),
|
|
7959
8016
|
class: "uid-tree-select__label"
|
|
7960
|
-
}, [u(P(r.label) + " ", 1), r.required ? (T(), c("span",
|
|
8017
|
+
}, [u(P(r.label) + " ", 1), r.required ? (T(), c("span", Qu, "*")) : s("", !0)], 8, Zu)) : s("", !0),
|
|
7961
8018
|
l("div", {
|
|
7962
8019
|
id: L(A),
|
|
7963
8020
|
ref_key: "triggerRef",
|
|
@@ -7973,7 +8030,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7973
8030
|
"aria-invalid": M.value ? "true" : void 0,
|
|
7974
8031
|
onClick: Y,
|
|
7975
8032
|
onKeydown: ae
|
|
7976
|
-
}, [l("div",
|
|
8033
|
+
}, [l("div", ed, [R.value ? (T(), c(t, { key: 0 }, [
|
|
7977
8034
|
(T(!0), c(t, null, k(W.value, (e) => (T(), c("span", {
|
|
7978
8035
|
key: e.key,
|
|
7979
8036
|
class: "uid-tree-select__chip"
|
|
@@ -7982,10 +8039,10 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7982
8039
|
class: "uid-tree-select__chip-remove",
|
|
7983
8040
|
"aria-label": L(p).treeSelect.removeTag(e.label),
|
|
7984
8041
|
onClick: X((t) => ie(t, e.key), ["stop"])
|
|
7985
|
-
}, "×", 8,
|
|
7986
|
-
K.value > 0 ? (T(), c("span",
|
|
7987
|
-
U.value.length === 0 ? (T(), c("span",
|
|
7988
|
-
], 64)) : (T(), c(t, { key: 1 }, [U.value.length > 0 ? (T(), c("span",
|
|
8042
|
+
}, "×", 8, td)]))), 128)),
|
|
8043
|
+
K.value > 0 ? (T(), c("span", nd, "+" + P(K.value), 1)) : s("", !0),
|
|
8044
|
+
U.value.length === 0 ? (T(), c("span", rd, P(m.value), 1)) : s("", !0)
|
|
8045
|
+
], 64)) : (T(), c(t, { key: 1 }, [U.value.length > 0 ? (T(), c("span", id, P(U.value[0].label), 1)) : (T(), c("span", ad, P(m.value), 1))], 64))]), l("div", od, [r.clearable && H.value.length > 0 ? (T(), c("button", {
|
|
7989
8046
|
key: 0,
|
|
7990
8047
|
type: "button",
|
|
7991
8048
|
class: "uid-tree-select__clear",
|
|
@@ -7994,12 +8051,12 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
7994
8051
|
}, [d(e, {
|
|
7995
8052
|
icon: L(Ee),
|
|
7996
8053
|
size: 14
|
|
7997
|
-
}, null, 8, ["icon"])], 8,
|
|
8054
|
+
}, null, 8, ["icon"])], 8, sd)) : s("", !0), d(e, {
|
|
7998
8055
|
icon: L(se),
|
|
7999
8056
|
size: 16,
|
|
8000
8057
|
class: y(["uid-tree-select__chevron", { "uid-tree-select__chevron--open": v.value }]),
|
|
8001
8058
|
"aria-hidden": "true"
|
|
8002
|
-
}, null, 8, ["icon", "class"])])], 40,
|
|
8059
|
+
}, null, 8, ["icon", "class"])])], 40, $u),
|
|
8003
8060
|
(T(), o(n, { to: "body" }, [v.value ? (T(), c("div", {
|
|
8004
8061
|
key: 0,
|
|
8005
8062
|
id: L(j),
|
|
@@ -8043,19 +8100,19 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8043
8100
|
"selectable",
|
|
8044
8101
|
"default-expand-all",
|
|
8045
8102
|
"show-guides"
|
|
8046
|
-
]))], 12,
|
|
8103
|
+
]))], 12, cd)) : s("", !0)])),
|
|
8047
8104
|
N.value ? (T(), c("p", {
|
|
8048
8105
|
key: 1,
|
|
8049
8106
|
class: y(["uid-tree-select__hint", M.value && "uid-tree-select__hint--error"])
|
|
8050
8107
|
}, P(N.value), 3)) : s("", !0)
|
|
8051
8108
|
], 2));
|
|
8052
8109
|
}
|
|
8053
|
-
}),
|
|
8110
|
+
}), ud = {
|
|
8054
8111
|
key: 0,
|
|
8055
8112
|
class: "uid-notification-badge__dot",
|
|
8056
8113
|
role: "status",
|
|
8057
8114
|
"aria-hidden": "true"
|
|
8058
|
-
},
|
|
8115
|
+
}, dd = ["aria-label"], fd = /* @__PURE__ */ f({
|
|
8059
8116
|
__name: "UidNotificationBadge",
|
|
8060
8117
|
props: {
|
|
8061
8118
|
count: { default: 0 },
|
|
@@ -8082,22 +8139,22 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8082
8139
|
return (t, a) => (T(), c("span", {
|
|
8083
8140
|
class: y(["uid-notification-badge", [`uid-notification-badge--${e.placement}`, e.tone !== "danger" && `uid-notification-badge--${e.tone}`]]),
|
|
8084
8141
|
style: b(i.value)
|
|
8085
|
-
}, [A(t.$slots, "default"), n.value && e.dot ? (T(), c("span",
|
|
8142
|
+
}, [A(t.$slots, "default"), n.value && e.dot ? (T(), c("span", ud)) : n.value ? (T(), c("span", {
|
|
8086
8143
|
key: 1,
|
|
8087
8144
|
class: "uid-notification-badge__count",
|
|
8088
8145
|
role: "status",
|
|
8089
8146
|
"aria-label": `${e.count}`
|
|
8090
|
-
}, P(r.value), 9,
|
|
8147
|
+
}, P(r.value), 9, dd)) : s("", !0)], 6));
|
|
8091
8148
|
}
|
|
8092
|
-
}),
|
|
8149
|
+
}), pd = ["aria-hidden", "aria-label"], md = ["disabled", "aria-label"], hd = ["disabled", "aria-label"], gd = {
|
|
8093
8150
|
key: 2,
|
|
8094
8151
|
class: "uid-carousel__indicators",
|
|
8095
8152
|
role: "tablist"
|
|
8096
|
-
},
|
|
8153
|
+
}, _d = [
|
|
8097
8154
|
"aria-selected",
|
|
8098
8155
|
"aria-label",
|
|
8099
8156
|
"onClick"
|
|
8100
|
-
],
|
|
8157
|
+
], vd = /* @__PURE__ */ f({
|
|
8101
8158
|
__name: "UidCarousel",
|
|
8102
8159
|
props: /* @__PURE__ */ g({
|
|
8103
8160
|
items: {},
|
|
@@ -8189,7 +8246,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8189
8246
|
}, [A(r.$slots, "default", {
|
|
8190
8247
|
item: e,
|
|
8191
8248
|
index: t
|
|
8192
|
-
})], 8,
|
|
8249
|
+
})], 8, pd))), 128))], 4),
|
|
8193
8250
|
n.showArrows && _.value > 1 ? (T(), c("button", {
|
|
8194
8251
|
key: 0,
|
|
8195
8252
|
type: "button",
|
|
@@ -8200,7 +8257,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8200
8257
|
}, [d(e, {
|
|
8201
8258
|
icon: n.direction === "vertical" ? L(ue) : L(ce),
|
|
8202
8259
|
size: 20
|
|
8203
|
-
}, null, 8, ["icon"])], 8,
|
|
8260
|
+
}, null, 8, ["icon"])], 8, md)) : s("", !0),
|
|
8204
8261
|
n.showArrows && _.value > 1 ? (T(), c("button", {
|
|
8205
8262
|
key: 1,
|
|
8206
8263
|
type: "button",
|
|
@@ -8211,8 +8268,8 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8211
8268
|
}, [d(e, {
|
|
8212
8269
|
icon: n.direction === "vertical" ? L(se) : L(le),
|
|
8213
8270
|
size: 20
|
|
8214
|
-
}, null, 8, ["icon"])], 8,
|
|
8215
|
-
n.showIndicators && _.value > 1 ? (T(), c("div",
|
|
8271
|
+
}, null, 8, ["icon"])], 8, hd)) : s("", !0),
|
|
8272
|
+
n.showIndicators && _.value > 1 ? (T(), c("div", gd, [(T(!0), c(t, null, k(n.items, (e, t) => (T(), c("button", {
|
|
8216
8273
|
key: t,
|
|
8217
8274
|
type: "button",
|
|
8218
8275
|
class: y(["uid-carousel__indicator", { "uid-carousel__indicator--active": t === p.value }]),
|
|
@@ -8220,38 +8277,38 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8220
8277
|
"aria-selected": t === p.value,
|
|
8221
8278
|
"aria-label": L(u).carousel.slide(t + 1),
|
|
8222
8279
|
onClick: (e) => x(t)
|
|
8223
|
-
}, null, 10,
|
|
8280
|
+
}, null, 10, _d))), 128))])) : s("", !0)
|
|
8224
8281
|
], 34));
|
|
8225
8282
|
}
|
|
8226
|
-
}),
|
|
8283
|
+
}), yd = { class: "uid-transfer__panel" }, bd = { class: "uid-transfer__header" }, xd = { class: "uid-transfer__title" }, Sd = ["aria-checked"], Cd = { class: "uid-transfer__count" }, wd = {
|
|
8227
8284
|
key: 0,
|
|
8228
8285
|
class: "uid-transfer__search"
|
|
8229
|
-
},
|
|
8286
|
+
}, Td = ["placeholder"], Ed = {
|
|
8230
8287
|
class: "uid-transfer__list",
|
|
8231
8288
|
role: "listbox",
|
|
8232
8289
|
"aria-multiselectable": "true"
|
|
8233
|
-
},
|
|
8290
|
+
}, Dd = [
|
|
8234
8291
|
"aria-selected",
|
|
8235
8292
|
"aria-disabled",
|
|
8236
8293
|
"onClick"
|
|
8237
|
-
],
|
|
8294
|
+
], Od = { class: "uid-transfer__label" }, kd = {
|
|
8238
8295
|
key: 0,
|
|
8239
8296
|
class: "uid-transfer__empty"
|
|
8240
|
-
},
|
|
8297
|
+
}, Ad = { class: "uid-transfer__ops" }, jd = ["disabled", "aria-label"], Md = ["disabled", "aria-label"], Nd = { class: "uid-transfer__panel" }, Pd = { class: "uid-transfer__header" }, Fd = { class: "uid-transfer__title" }, Id = ["aria-checked"], Ld = { class: "uid-transfer__count" }, Rd = {
|
|
8241
8298
|
key: 0,
|
|
8242
8299
|
class: "uid-transfer__search"
|
|
8243
|
-
},
|
|
8300
|
+
}, zd = ["placeholder"], Bd = {
|
|
8244
8301
|
class: "uid-transfer__list",
|
|
8245
8302
|
role: "listbox",
|
|
8246
8303
|
"aria-multiselectable": "true"
|
|
8247
|
-
},
|
|
8304
|
+
}, Vd = [
|
|
8248
8305
|
"aria-selected",
|
|
8249
8306
|
"aria-disabled",
|
|
8250
8307
|
"onClick"
|
|
8251
|
-
],
|
|
8308
|
+
], Hd = { class: "uid-transfer__label" }, Ud = {
|
|
8252
8309
|
key: 0,
|
|
8253
8310
|
class: "uid-transfer__empty"
|
|
8254
|
-
},
|
|
8311
|
+
}, Wd = /* @__PURE__ */ f({
|
|
8255
8312
|
__name: "UidTransfer",
|
|
8256
8313
|
props: /* @__PURE__ */ g({
|
|
8257
8314
|
items: {},
|
|
@@ -8302,8 +8359,8 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8302
8359
|
p.value = e, g.value = /* @__PURE__ */ new Set(), f("change", e);
|
|
8303
8360
|
}
|
|
8304
8361
|
return (r, i) => (T(), c("div", { class: y(["uid-transfer", { "uid-transfer--disabled": n.disabled }]) }, [
|
|
8305
|
-
l("div",
|
|
8306
|
-
l("div",
|
|
8362
|
+
l("div", yd, [
|
|
8363
|
+
l("div", bd, [l("span", xd, [l("span", {
|
|
8307
8364
|
class: y(["uid-transfer__check", { "uid-transfer__check--checked": j.value }]),
|
|
8308
8365
|
role: "checkbox",
|
|
8309
8366
|
"aria-checked": j.value,
|
|
@@ -8314,14 +8371,14 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8314
8371
|
key: 0,
|
|
8315
8372
|
icon: L(Q),
|
|
8316
8373
|
size: 10
|
|
8317
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
8318
|
-
n.searchable ? (T(), c("div",
|
|
8374
|
+
}, null, 8, ["icon"])) : s("", !0)], 42, Sd), u(" " + P(b.value[0]), 1)]), l("span", Cd, P(h.value.size) + " / " + P(w.value.length), 1)]),
|
|
8375
|
+
n.searchable ? (T(), c("div", wd, [J(l("input", {
|
|
8319
8376
|
"onUpdate:modelValue": i[3] ||= (e) => _.value = e,
|
|
8320
8377
|
class: "uid-transfer__search-input",
|
|
8321
8378
|
type: "text",
|
|
8322
8379
|
placeholder: L(m).common.search
|
|
8323
|
-
}, null, 8,
|
|
8324
|
-
l("ul",
|
|
8380
|
+
}, null, 8, Td), [[U, _.value]])])) : s("", !0),
|
|
8381
|
+
l("ul", Ed, [(T(!0), c(t, null, k(w.value, (t) => (T(), c("li", {
|
|
8325
8382
|
key: t.key,
|
|
8326
8383
|
class: y(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
|
|
8327
8384
|
role: "option",
|
|
@@ -8335,9 +8392,9 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8335
8392
|
key: 0,
|
|
8336
8393
|
icon: L(Q),
|
|
8337
8394
|
size: 10
|
|
8338
|
-
}, null, 8, ["icon"])) : s("", !0)], 2), l("span",
|
|
8395
|
+
}, null, 8, ["icon"])) : s("", !0)], 2), l("span", Od, P(t.label), 1)], 10, Dd))), 128)), w.value.length === 0 ? (T(), c("li", kd, P(L(m).common.noResults), 1)) : s("", !0)])
|
|
8339
8396
|
]),
|
|
8340
|
-
l("div",
|
|
8397
|
+
l("div", Ad, [l("button", {
|
|
8341
8398
|
type: "button",
|
|
8342
8399
|
class: "uid-transfer__op",
|
|
8343
8400
|
disabled: h.value.size === 0 || n.disabled,
|
|
@@ -8346,7 +8403,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8346
8403
|
}, [d(e, {
|
|
8347
8404
|
icon: L(le),
|
|
8348
8405
|
size: 16
|
|
8349
|
-
}, null, 8, ["icon"])], 8,
|
|
8406
|
+
}, null, 8, ["icon"])], 8, jd), l("button", {
|
|
8350
8407
|
type: "button",
|
|
8351
8408
|
class: "uid-transfer__op",
|
|
8352
8409
|
disabled: g.value.size === 0 || n.disabled,
|
|
@@ -8355,9 +8412,9 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8355
8412
|
}, [d(e, {
|
|
8356
8413
|
icon: L(ce),
|
|
8357
8414
|
size: 16
|
|
8358
|
-
}, null, 8, ["icon"])], 8,
|
|
8359
|
-
l("div",
|
|
8360
|
-
l("div",
|
|
8415
|
+
}, null, 8, ["icon"])], 8, Md)]),
|
|
8416
|
+
l("div", Nd, [
|
|
8417
|
+
l("div", Pd, [l("span", Fd, [l("span", {
|
|
8361
8418
|
class: y(["uid-transfer__check", { "uid-transfer__check--checked": M.value }]),
|
|
8362
8419
|
role: "checkbox",
|
|
8363
8420
|
"aria-checked": M.value,
|
|
@@ -8368,14 +8425,14 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8368
8425
|
key: 0,
|
|
8369
8426
|
icon: L(Q),
|
|
8370
8427
|
size: 10
|
|
8371
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
8372
|
-
n.searchable ? (T(), c("div",
|
|
8428
|
+
}, null, 8, ["icon"])) : s("", !0)], 42, Id), u(" " + P(b.value[1]), 1)]), l("span", Ld, P(g.value.size) + " / " + P(E.value.length), 1)]),
|
|
8429
|
+
n.searchable ? (T(), c("div", Rd, [J(l("input", {
|
|
8373
8430
|
"onUpdate:modelValue": i[7] ||= (e) => v.value = e,
|
|
8374
8431
|
class: "uid-transfer__search-input",
|
|
8375
8432
|
type: "text",
|
|
8376
8433
|
placeholder: L(m).common.search
|
|
8377
|
-
}, null, 8,
|
|
8378
|
-
l("ul",
|
|
8434
|
+
}, null, 8, zd), [[U, v.value]])])) : s("", !0),
|
|
8435
|
+
l("ul", Bd, [(T(!0), c(t, null, k(E.value, (t) => (T(), c("li", {
|
|
8379
8436
|
key: t.key,
|
|
8380
8437
|
class: y(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
|
|
8381
8438
|
role: "option",
|
|
@@ -8389,60 +8446,60 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8389
8446
|
key: 0,
|
|
8390
8447
|
icon: L(Q),
|
|
8391
8448
|
size: 10
|
|
8392
|
-
}, null, 8, ["icon"])) : s("", !0)], 2), l("span",
|
|
8449
|
+
}, null, 8, ["icon"])) : s("", !0)], 2), l("span", Hd, P(t.label), 1)], 10, Vd))), 128)), E.value.length === 0 ? (T(), c("li", Ud, P(L(m).common.noResults), 1)) : s("", !0)])
|
|
8393
8450
|
])
|
|
8394
8451
|
], 2));
|
|
8395
8452
|
}
|
|
8396
|
-
}),
|
|
8453
|
+
}), Gd = {
|
|
8397
8454
|
key: 0,
|
|
8398
8455
|
class: "uid-cascader__label"
|
|
8399
|
-
},
|
|
8456
|
+
}, Kd = [
|
|
8400
8457
|
"aria-expanded",
|
|
8401
8458
|
"aria-disabled",
|
|
8402
8459
|
"aria-label"
|
|
8403
|
-
],
|
|
8460
|
+
], qd = { class: "uid-cascader__value" }, Jd = {
|
|
8404
8461
|
key: 0,
|
|
8405
8462
|
class: "uid-cascader__separator"
|
|
8406
|
-
},
|
|
8463
|
+
}, Yd = {
|
|
8407
8464
|
key: 1,
|
|
8408
8465
|
class: "uid-cascader__placeholder"
|
|
8409
|
-
},
|
|
8466
|
+
}, Xd = { class: "uid-cascader__suffix" }, Zd = ["aria-label"], Qd = {
|
|
8410
8467
|
key: 0,
|
|
8411
8468
|
class: "uid-cascader__search"
|
|
8412
|
-
},
|
|
8469
|
+
}, $d = [
|
|
8413
8470
|
"aria-expanded",
|
|
8414
8471
|
"aria-controls",
|
|
8415
8472
|
"aria-activedescendant",
|
|
8416
8473
|
"aria-label",
|
|
8417
8474
|
"placeholder"
|
|
8418
|
-
],
|
|
8475
|
+
], ef = ["id"], tf = [
|
|
8419
8476
|
"id",
|
|
8420
8477
|
"aria-selected",
|
|
8421
8478
|
"onMouseenter",
|
|
8422
8479
|
"onClick"
|
|
8423
|
-
],
|
|
8480
|
+
], nf = {
|
|
8424
8481
|
key: 0,
|
|
8425
8482
|
class: "uid-cascader__separator"
|
|
8426
|
-
},
|
|
8483
|
+
}, rf = {
|
|
8427
8484
|
key: 0,
|
|
8428
8485
|
class: "uid-cascader__highlight"
|
|
8429
|
-
},
|
|
8486
|
+
}, af = {
|
|
8430
8487
|
key: 0,
|
|
8431
8488
|
class: "uid-cascader__empty",
|
|
8432
8489
|
role: "presentation"
|
|
8433
|
-
},
|
|
8490
|
+
}, of = {
|
|
8434
8491
|
key: 2,
|
|
8435
8492
|
class: "uid-cascader__columns"
|
|
8436
|
-
},
|
|
8493
|
+
}, sf = [
|
|
8437
8494
|
"aria-haspopup",
|
|
8438
8495
|
"aria-expanded",
|
|
8439
8496
|
"aria-disabled",
|
|
8440
8497
|
"onClick",
|
|
8441
8498
|
"onMouseenter"
|
|
8442
|
-
],
|
|
8499
|
+
], cf = { class: "uid-cascader__option-label" }, lf = {
|
|
8443
8500
|
key: 1,
|
|
8444
8501
|
class: "uid-cascader__hint"
|
|
8445
|
-
},
|
|
8502
|
+
}, uf = /* @__PURE__ */ f({
|
|
8446
8503
|
__name: "UidCascader",
|
|
8447
8504
|
props: /* @__PURE__ */ g({
|
|
8448
8505
|
size: { default: "md" },
|
|
@@ -8621,7 +8678,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8621
8678
|
"uid-cascader--disabled": r.disabled
|
|
8622
8679
|
}]])
|
|
8623
8680
|
}, [
|
|
8624
|
-
r.label ? (T(), c("label",
|
|
8681
|
+
r.label ? (T(), c("label", Gd, P(r.label), 1)) : s("", !0),
|
|
8625
8682
|
l("div", {
|
|
8626
8683
|
ref_key: "triggerRef",
|
|
8627
8684
|
ref: E,
|
|
@@ -8634,7 +8691,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8634
8691
|
"aria-label": g.value,
|
|
8635
8692
|
onClick: ae,
|
|
8636
8693
|
onKeydown: pe
|
|
8637
|
-
}, [l("div",
|
|
8694
|
+
}, [l("div", qd, [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", Jd, P(r.separator), 1)) : s("", !0)], 64))), 128)) : (T(), c("span", Yd, P(g.value), 1))]), l("div", Xd, [r.clearable && m.value.length > 0 ? (T(), c("button", {
|
|
8638
8695
|
key: 0,
|
|
8639
8696
|
type: "button",
|
|
8640
8697
|
class: "uid-cascader__clear",
|
|
@@ -8643,18 +8700,18 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8643
8700
|
}, [d(e, {
|
|
8644
8701
|
icon: L(Ee),
|
|
8645
8702
|
size: 14
|
|
8646
|
-
}, null, 8, ["icon"])], 8,
|
|
8703
|
+
}, null, 8, ["icon"])], 8, Zd)) : s("", !0), d(e, {
|
|
8647
8704
|
icon: L(se),
|
|
8648
8705
|
size: 16,
|
|
8649
8706
|
class: y(["uid-cascader__chevron", { "uid-cascader__chevron--open": _.value }])
|
|
8650
|
-
}, null, 8, ["icon", "class"])])], 40,
|
|
8707
|
+
}, null, 8, ["icon", "class"])])], 40, Kd),
|
|
8651
8708
|
(T(), o(n, { to: "body" }, [_.value ? (T(), c("div", {
|
|
8652
8709
|
key: 0,
|
|
8653
8710
|
ref_key: "panelRef",
|
|
8654
8711
|
ref: D,
|
|
8655
8712
|
class: "uid-cascader__dropdown",
|
|
8656
8713
|
style: b(L(A))
|
|
8657
|
-
}, [r.searchable ? (T(), c("div",
|
|
8714
|
+
}, [r.searchable ? (T(), c("div", Qd, [J(l("input", {
|
|
8658
8715
|
ref_key: "searchRef",
|
|
8659
8716
|
ref: w,
|
|
8660
8717
|
"onUpdate:modelValue": a[0] ||= (e) => M.value = e,
|
|
@@ -8669,7 +8726,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8669
8726
|
"aria-label": r.searchPlaceholder ?? L(h).common.search,
|
|
8670
8727
|
placeholder: r.searchPlaceholder ?? L(h).common.search,
|
|
8671
8728
|
onKeydown: Y
|
|
8672
|
-
}, null, 40,
|
|
8729
|
+
}, null, 40, $d), [[U, M.value]])])) : s("", !0), H.value ? (T(), c("ul", {
|
|
8673
8730
|
key: 1,
|
|
8674
8731
|
id: L(F),
|
|
8675
8732
|
class: "uid-cascader__results",
|
|
@@ -8683,7 +8740,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8683
8740
|
onMousedown: a[1] ||= X(() => {}, ["prevent"]),
|
|
8684
8741
|
onMouseenter: (e) => N.value = n,
|
|
8685
8742
|
onClick: (t) => q(e)
|
|
8686
|
-
}, [(T(!0), c(t, null, k(e.path, (e, n) => (T(), c(t, { key: n }, [n > 0 ? (T(), c("span",
|
|
8743
|
+
}, [(T(!0), c(t, null, k(e.path, (e, n) => (T(), c(t, { key: n }, [n > 0 ? (T(), c("span", nf, 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", rf, P(e.text), 1)) : (T(), c(t, { key: 1 }, [u(P(e.text), 1)], 64))], 64))), 128))])], 64))), 128))], 42, tf))), 128)), V.value.length === 0 ? (T(), c("li", af, P(L(h).common.noResults), 1)) : s("", !0)], 8, ef)) : (T(), c("div", of, [(T(!0), c(t, null, k(ee.value, (n, i) => (T(), c("div", {
|
|
8687
8744
|
key: i,
|
|
8688
8745
|
class: "uid-cascader__column"
|
|
8689
8746
|
}, [(T(!0), c(t, null, k(n, (t) => (T(), c("button", {
|
|
@@ -8699,27 +8756,27 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8699
8756
|
"aria-disabled": t.disabled ? "true" : void 0,
|
|
8700
8757
|
onClick: (e) => ce(t, i),
|
|
8701
8758
|
onMouseenter: (e) => ue(t, i)
|
|
8702
|
-
}, [l("span",
|
|
8759
|
+
}, [l("span", cf, P(t.label), 1), t.children?.length ? (T(), o(e, {
|
|
8703
8760
|
key: 0,
|
|
8704
8761
|
icon: L(le),
|
|
8705
8762
|
size: 14,
|
|
8706
8763
|
class: "uid-cascader__option-arrow",
|
|
8707
8764
|
"aria-hidden": "true"
|
|
8708
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
8709
|
-
r.hint ? (T(), c("p",
|
|
8765
|
+
}, null, 8, ["icon"])) : s("", !0)], 42, sf))), 128))]))), 128))]))], 4)) : s("", !0)])),
|
|
8766
|
+
r.hint ? (T(), c("p", lf, P(r.hint), 1)) : s("", !0)
|
|
8710
8767
|
], 2));
|
|
8711
8768
|
}
|
|
8712
|
-
}),
|
|
8769
|
+
}), df = { class: "uid-calendar__header" }, ff = { class: "uid-calendar__title" }, pf = { class: "uid-calendar__nav" }, mf = ["aria-label"], hf = ["aria-label"], gf = { class: "uid-calendar__weekdays" }, _f = { class: "uid-calendar__grid" }, vf = [
|
|
8713
8770
|
"tabindex",
|
|
8714
8771
|
"aria-current",
|
|
8715
8772
|
"aria-selected",
|
|
8716
8773
|
"aria-label",
|
|
8717
8774
|
"onClick",
|
|
8718
8775
|
"onKeydown"
|
|
8719
|
-
],
|
|
8776
|
+
], yf = { class: "uid-calendar__date" }, bf = { class: "uid-calendar__events" }, xf = ["title", "onClick"], Sf = { class: "uid-calendar__event-label" }, Cf = {
|
|
8720
8777
|
key: 0,
|
|
8721
8778
|
class: "uid-calendar__more"
|
|
8722
|
-
},
|
|
8779
|
+
}, wf = /* @__PURE__ */ f({
|
|
8723
8780
|
__name: "UidCalendar",
|
|
8724
8781
|
props: /* @__PURE__ */ g({
|
|
8725
8782
|
events: { default: () => [] },
|
|
@@ -8806,7 +8863,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8806
8863
|
e.stopPropagation(), o("event-click", t);
|
|
8807
8864
|
}
|
|
8808
8865
|
return (r, i) => (T(), c("div", { class: y(["uid-calendar", { "uid-calendar--compact": n.compact }]) }, [
|
|
8809
|
-
l("div",
|
|
8866
|
+
l("div", df, [l("span", ff, P(x.value), 1), l("div", pf, [
|
|
8810
8867
|
l("button", {
|
|
8811
8868
|
type: "button",
|
|
8812
8869
|
class: "uid-calendar__btn uid-calendar__btn--icon",
|
|
@@ -8815,7 +8872,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8815
8872
|
}, [d(e, {
|
|
8816
8873
|
icon: L(ce),
|
|
8817
8874
|
size: 14
|
|
8818
|
-
}, null, 8, ["icon"])], 8,
|
|
8875
|
+
}, null, 8, ["icon"])], 8, mf),
|
|
8819
8876
|
l("button", {
|
|
8820
8877
|
type: "button",
|
|
8821
8878
|
class: "uid-calendar__btn",
|
|
@@ -8829,13 +8886,13 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8829
8886
|
}, [d(e, {
|
|
8830
8887
|
icon: L(le),
|
|
8831
8888
|
size: 14
|
|
8832
|
-
}, null, 8, ["icon"])], 8,
|
|
8889
|
+
}, null, 8, ["icon"])], 8, hf)
|
|
8833
8890
|
])]),
|
|
8834
|
-
l("div",
|
|
8891
|
+
l("div", gf, [(T(!0), c(t, null, k(L(f).datePicker.weekdaysShort, (e) => (T(), c("span", {
|
|
8835
8892
|
key: e,
|
|
8836
8893
|
class: "uid-calendar__weekday"
|
|
8837
8894
|
}, P(e), 1))), 128))]),
|
|
8838
|
-
l("div",
|
|
8895
|
+
l("div", _f, [(T(!0), c(t, null, k(w.value, (e) => (T(), c("div", {
|
|
8839
8896
|
key: e.iso,
|
|
8840
8897
|
class: y(["uid-calendar__day", {
|
|
8841
8898
|
"uid-calendar__day--other": !e.current,
|
|
@@ -8850,30 +8907,30 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8850
8907
|
"aria-label": e.iso,
|
|
8851
8908
|
onClick: (t) => M(e),
|
|
8852
8909
|
onKeydown: [Y(X((t) => M(e), ["prevent"]), ["enter"]), Y(X((t) => M(e), ["prevent"]), ["space"])]
|
|
8853
|
-
}, [l("span",
|
|
8910
|
+
}, [l("span", yf, P(e.date.getDate()), 1), l("div", bf, [(T(!0), c(t, null, k(e.events.slice(0, n.maxEventsPerDay), (t, n) => (T(), c("button", {
|
|
8854
8911
|
key: t.id ?? `${e.iso}-${n}`,
|
|
8855
8912
|
type: "button",
|
|
8856
8913
|
class: "uid-calendar__event",
|
|
8857
8914
|
style: b(t.color ? { "--uid-event-color": t.color } : void 0),
|
|
8858
8915
|
title: t.title,
|
|
8859
8916
|
onClick: (e) => N(e, t)
|
|
8860
|
-
}, [l("span",
|
|
8917
|
+
}, [l("span", Sf, P(t.title), 1)], 12, xf))), 128)), e.events.length > n.maxEventsPerDay ? (T(), c("span", Cf, "+" + P(e.events.length - n.maxEventsPerDay), 1)) : s("", !0)])], 42, vf))), 128))])
|
|
8861
8918
|
], 2));
|
|
8862
8919
|
}
|
|
8863
|
-
}),
|
|
8920
|
+
}), Tf = ["aria-label"], Ef = [
|
|
8864
8921
|
"viewBox",
|
|
8865
8922
|
"width",
|
|
8866
8923
|
"height"
|
|
8867
|
-
],
|
|
8924
|
+
], Df = [
|
|
8868
8925
|
"x2",
|
|
8869
8926
|
"y1",
|
|
8870
8927
|
"y2"
|
|
8871
|
-
],
|
|
8928
|
+
], Of = [
|
|
8872
8929
|
"x",
|
|
8873
8930
|
"y",
|
|
8874
8931
|
"width",
|
|
8875
8932
|
"height"
|
|
8876
|
-
],
|
|
8933
|
+
], kf = ["d"], Af = ["d"], jf = ["cx", "cy"], Mf = ["cx", "cy"], Nf = 2, Pf = /* @__PURE__ */ f({
|
|
8877
8934
|
__name: "UidSparkline",
|
|
8878
8935
|
props: {
|
|
8879
8936
|
data: {},
|
|
@@ -8916,11 +8973,11 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8916
8973
|
};
|
|
8917
8974
|
});
|
|
8918
8975
|
function o(e, t) {
|
|
8919
|
-
return t <= 1 ? n.width / 2 :
|
|
8976
|
+
return t <= 1 ? n.width / 2 : Nf + e / (t - 1) * (n.width - Nf * 2);
|
|
8920
8977
|
}
|
|
8921
8978
|
function u(e) {
|
|
8922
8979
|
let t = i.value, r = (e - t.min) / (t.max - t.min);
|
|
8923
|
-
return n.height -
|
|
8980
|
+
return n.height - Nf - r * (n.height - Nf * 2);
|
|
8924
8981
|
}
|
|
8925
8982
|
let d = a(() => n.data.map((e, t) => ({
|
|
8926
8983
|
x: o(t, n.data.length),
|
|
@@ -8939,14 +8996,14 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8939
8996
|
}), p = a(() => {
|
|
8940
8997
|
let e = d.value;
|
|
8941
8998
|
if (e.length === 0) return "";
|
|
8942
|
-
let t = n.height -
|
|
8999
|
+
let t = n.height - Nf;
|
|
8943
9000
|
return `${f.value} L ${e[e.length - 1].x.toFixed(2)} ${t.toFixed(2)} L ${e[0].x.toFixed(2)} ${t.toFixed(2)} Z`;
|
|
8944
9001
|
}), m = a(() => {
|
|
8945
9002
|
let e = d.value, t = e.length;
|
|
8946
9003
|
if (t === 0) return [];
|
|
8947
|
-
let r = n.width -
|
|
9004
|
+
let r = n.width - Nf * 2, i = Math.max(1, r / t * .7), a = u(0);
|
|
8948
9005
|
return e.map((e, n) => {
|
|
8949
|
-
let o =
|
|
9006
|
+
let o = Nf + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
|
|
8950
9007
|
return {
|
|
8951
9008
|
x: o,
|
|
8952
9009
|
y: c,
|
|
@@ -8983,59 +9040,59 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
8983
9040
|
x2: e.width,
|
|
8984
9041
|
y1: h.value,
|
|
8985
9042
|
y2: h.value
|
|
8986
|
-
}, null, 8,
|
|
9043
|
+
}, null, 8, Df)) : s("", !0), e.type === "bar" ? (T(!0), c(t, { key: 1 }, k(m.value, (e, t) => (T(), c("rect", {
|
|
8987
9044
|
key: t,
|
|
8988
9045
|
class: y(["uid-sparkline__bar", { "uid-sparkline__bar--negative": e.negative }]),
|
|
8989
9046
|
x: e.x,
|
|
8990
9047
|
y: e.y,
|
|
8991
9048
|
width: e.width,
|
|
8992
9049
|
height: e.height
|
|
8993
|
-
}, null, 10,
|
|
9050
|
+
}, null, 10, Of))), 128)) : (T(), c(t, { key: 2 }, [
|
|
8994
9051
|
e.type === "area" ? (T(), c("path", {
|
|
8995
9052
|
key: 0,
|
|
8996
9053
|
class: "uid-sparkline__area",
|
|
8997
9054
|
d: p.value
|
|
8998
|
-
}, null, 8,
|
|
9055
|
+
}, null, 8, kf)) : s("", !0),
|
|
8999
9056
|
l("path", {
|
|
9000
9057
|
class: "uid-sparkline__line",
|
|
9001
9058
|
d: f.value
|
|
9002
|
-
}, null, 8,
|
|
9059
|
+
}, null, 8, Af),
|
|
9003
9060
|
e.showDots ? (T(!0), c(t, { key: 1 }, k(d.value, (e, t) => (T(), c("circle", {
|
|
9004
9061
|
key: t,
|
|
9005
9062
|
class: "uid-sparkline__dot",
|
|
9006
9063
|
cx: e.x,
|
|
9007
9064
|
cy: e.y,
|
|
9008
9065
|
r: "2.5"
|
|
9009
|
-
}, null, 8,
|
|
9066
|
+
}, null, 8, jf))), 128)) : s("", !0),
|
|
9010
9067
|
e.showLast && _.value && !e.showDots ? (T(), c("circle", {
|
|
9011
9068
|
key: 2,
|
|
9012
9069
|
class: "uid-sparkline__dot uid-sparkline__dot--last",
|
|
9013
9070
|
cx: _.value.x,
|
|
9014
9071
|
cy: _.value.y,
|
|
9015
9072
|
r: "2.5"
|
|
9016
|
-
}, null, 8,
|
|
9017
|
-
], 64))], 8,
|
|
9073
|
+
}, null, 8, Mf)) : s("", !0)
|
|
9074
|
+
], 64))], 8, Ef))], 12, Tf));
|
|
9018
9075
|
}
|
|
9019
|
-
}),
|
|
9076
|
+
}), Ff = ["aria-valuemax", "aria-valuenow"], If = [
|
|
9020
9077
|
"width",
|
|
9021
9078
|
"height",
|
|
9022
9079
|
"viewBox"
|
|
9023
|
-
],
|
|
9080
|
+
], Lf = [
|
|
9024
9081
|
"cx",
|
|
9025
9082
|
"cy",
|
|
9026
9083
|
"r",
|
|
9027
9084
|
"stroke-width"
|
|
9028
|
-
],
|
|
9085
|
+
], Rf = [
|
|
9029
9086
|
"cx",
|
|
9030
9087
|
"cy",
|
|
9031
9088
|
"r",
|
|
9032
9089
|
"stroke-width",
|
|
9033
9090
|
"stroke-dasharray",
|
|
9034
9091
|
"stroke-dashoffset"
|
|
9035
|
-
],
|
|
9092
|
+
], zf = {
|
|
9036
9093
|
key: 0,
|
|
9037
9094
|
class: "uid-progress-ring__label"
|
|
9038
|
-
},
|
|
9095
|
+
}, Bf = /* @__PURE__ */ f({
|
|
9039
9096
|
__name: "UidProgressRing",
|
|
9040
9097
|
props: {
|
|
9041
9098
|
value: { default: 0 },
|
|
@@ -9080,7 +9137,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
9080
9137
|
cy: i.value,
|
|
9081
9138
|
r: n.value,
|
|
9082
9139
|
"stroke-width": e.strokeWidth
|
|
9083
|
-
}, null, 8,
|
|
9140
|
+
}, null, 8, Lf), l("circle", {
|
|
9084
9141
|
class: "uid-progress-ring__progress",
|
|
9085
9142
|
cx: i.value,
|
|
9086
9143
|
cy: i.value,
|
|
@@ -9088,50 +9145,50 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
9088
9145
|
"stroke-width": e.strokeWidth,
|
|
9089
9146
|
"stroke-dasharray": r.value,
|
|
9090
9147
|
"stroke-dashoffset": f.value
|
|
9091
|
-
}, null, 8,
|
|
9148
|
+
}, null, 8, Rf)], 8, If)), e.showLabel || t.$slots.default ? (T(), c("div", zf, [A(t.$slots, "default", {}, () => [u(P(p.value), 1)])])) : s("", !0)], 14, Ff));
|
|
9092
9149
|
}
|
|
9093
|
-
}),
|
|
9150
|
+
}), Vf = [
|
|
9094
9151
|
"aria-valuemin",
|
|
9095
9152
|
"aria-valuemax",
|
|
9096
9153
|
"aria-valuenow",
|
|
9097
9154
|
"aria-label"
|
|
9098
|
-
],
|
|
9155
|
+
], Hf = [
|
|
9099
9156
|
"width",
|
|
9100
9157
|
"height",
|
|
9101
9158
|
"viewBox"
|
|
9102
|
-
],
|
|
9159
|
+
], Uf = ["d", "stroke-width"], Wf = [
|
|
9103
9160
|
"d",
|
|
9104
9161
|
"stroke",
|
|
9105
9162
|
"stroke-width",
|
|
9106
9163
|
"stroke-dasharray",
|
|
9107
9164
|
"stroke-dashoffset"
|
|
9108
|
-
],
|
|
9165
|
+
], Gf = [
|
|
9109
9166
|
"d",
|
|
9110
9167
|
"stroke-width",
|
|
9111
9168
|
"stroke-dasharray",
|
|
9112
9169
|
"stroke-dashoffset"
|
|
9113
|
-
],
|
|
9170
|
+
], Kf = { key: 2 }, qf = [
|
|
9114
9171
|
"x1",
|
|
9115
9172
|
"y1",
|
|
9116
9173
|
"x2",
|
|
9117
9174
|
"y2",
|
|
9118
9175
|
"transform"
|
|
9119
|
-
],
|
|
9176
|
+
], Jf = ["cx", "cy"], Yf = {
|
|
9120
9177
|
key: 0,
|
|
9121
9178
|
class: "uid-gauge__content"
|
|
9122
|
-
},
|
|
9179
|
+
}, Xf = {
|
|
9123
9180
|
key: 0,
|
|
9124
9181
|
class: "uid-gauge__value"
|
|
9125
|
-
},
|
|
9182
|
+
}, Zf = {
|
|
9126
9183
|
key: 0,
|
|
9127
9184
|
class: "uid-gauge__suffix"
|
|
9128
|
-
},
|
|
9185
|
+
}, Qf = {
|
|
9129
9186
|
key: 1,
|
|
9130
9187
|
class: "uid-gauge__label"
|
|
9131
|
-
},
|
|
9188
|
+
}, $f = {
|
|
9132
9189
|
key: 1,
|
|
9133
9190
|
class: "uid-gauge__limits"
|
|
9134
|
-
},
|
|
9191
|
+
}, ep = 4, tp = /* @__PURE__ */ f({
|
|
9135
9192
|
__name: "UidGauge",
|
|
9136
9193
|
props: {
|
|
9137
9194
|
value: { default: 0 },
|
|
@@ -9161,7 +9218,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
9161
9218
|
locale: { default: void 0 }
|
|
9162
9219
|
},
|
|
9163
9220
|
setup(e) {
|
|
9164
|
-
let n = e, r = $(), i = a(() => n.locale ?? r.value.code), o = a(() => (n.size - n.strokeWidth) / 2 -
|
|
9221
|
+
let n = e, r = $(), i = a(() => n.locale ?? r.value.code), o = a(() => (n.size - n.strokeWidth) / 2 - ep), u = a(() => n.size / 2), d = a(() => n.size / 2), f = a(() => n.size / 2 + n.strokeWidth / 2 + ep), p = a(() => Math.PI * o.value), m = a(() => Math.max(n.min, Math.min(n.max, n.value))), h = a(() => {
|
|
9165
9222
|
let e = n.max - n.min;
|
|
9166
9223
|
return e <= 0 ? 0 : (m.value - n.min) / e;
|
|
9167
9224
|
}), g = a(() => {
|
|
@@ -9199,7 +9256,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
9199
9256
|
class: "uid-gauge__track",
|
|
9200
9257
|
d: g.value,
|
|
9201
9258
|
"stroke-width": e.strokeWidth
|
|
9202
|
-
}, null, 8,
|
|
9259
|
+
}, null, 8, Uf),
|
|
9203
9260
|
e.ranges && e.ranges.length ? (T(!0), c(t, { key: 0 }, k(e.ranges, (t, n) => (T(), c("path", {
|
|
9204
9261
|
key: n,
|
|
9205
9262
|
class: "uid-gauge__range",
|
|
@@ -9208,7 +9265,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
9208
9265
|
"stroke-width": e.strokeWidth,
|
|
9209
9266
|
"stroke-dasharray": v(t).dasharray,
|
|
9210
9267
|
"stroke-dashoffset": v(t).dashoffset
|
|
9211
|
-
}, null, 8,
|
|
9268
|
+
}, null, 8, Wf))), 128)) : s("", !0),
|
|
9212
9269
|
!e.ranges || e.ranges.length === 0 ? (T(), c("path", {
|
|
9213
9270
|
key: 1,
|
|
9214
9271
|
class: "uid-gauge__progress",
|
|
@@ -9216,43 +9273,43 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
9216
9273
|
"stroke-width": e.strokeWidth,
|
|
9217
9274
|
"stroke-dasharray": p.value,
|
|
9218
9275
|
"stroke-dashoffset": _.value
|
|
9219
|
-
}, null, 8,
|
|
9220
|
-
e.showNeedle ? (T(), c("g",
|
|
9276
|
+
}, null, 8, Gf)) : s("", !0),
|
|
9277
|
+
e.showNeedle ? (T(), c("g", Kf, [l("line", {
|
|
9221
9278
|
class: "uid-gauge__needle",
|
|
9222
9279
|
x1: u.value,
|
|
9223
9280
|
y1: d.value,
|
|
9224
9281
|
x2: u.value + o.value - e.strokeWidth,
|
|
9225
9282
|
y2: d.value,
|
|
9226
9283
|
transform: `rotate(${x.value} ${u.value} ${d.value})`
|
|
9227
|
-
}, null, 8,
|
|
9284
|
+
}, null, 8, qf), l("circle", {
|
|
9228
9285
|
class: "uid-gauge__needle-pivot",
|
|
9229
9286
|
cx: u.value,
|
|
9230
9287
|
cy: d.value,
|
|
9231
9288
|
r: "4"
|
|
9232
|
-
}, null, 8,
|
|
9233
|
-
], 8,
|
|
9234
|
-
e.showValue || e.label ? (T(), c("div",
|
|
9235
|
-
e.showLimits ? (T(), c("div",
|
|
9236
|
-
], 14,
|
|
9289
|
+
}, null, 8, Jf)])) : s("", !0)
|
|
9290
|
+
], 8, Hf)),
|
|
9291
|
+
e.showValue || e.label ? (T(), c("div", Yf, [e.showValue ? (T(), c("div", Xf, [l("span", null, P(S.value), 1), e.suffix ? (T(), c("span", Zf, P(e.suffix), 1)) : s("", !0)])) : s("", !0), e.label ? (T(), c("div", Qf, P(e.label), 1)) : s("", !0)])) : s("", !0),
|
|
9292
|
+
e.showLimits ? (T(), c("div", $f, [l("span", null, P(e.min), 1), l("span", null, P(e.max), 1)])) : s("", !0)
|
|
9293
|
+
], 14, Vf));
|
|
9237
9294
|
}
|
|
9238
|
-
}),
|
|
9295
|
+
}), np = ["aria-label"], rp = { class: "uid-heatmap__chart" }, ip = {
|
|
9239
9296
|
key: 0,
|
|
9240
9297
|
class: "uid-heatmap__weekdays",
|
|
9241
9298
|
"aria-hidden": "true"
|
|
9242
|
-
},
|
|
9299
|
+
}, ap = { class: "uid-heatmap__grid-wrapper" }, op = [
|
|
9243
9300
|
"width",
|
|
9244
9301
|
"height",
|
|
9245
9302
|
"viewBox"
|
|
9246
|
-
],
|
|
9303
|
+
], sp = [
|
|
9247
9304
|
"x",
|
|
9248
9305
|
"y",
|
|
9249
9306
|
"width",
|
|
9250
9307
|
"height",
|
|
9251
9308
|
"fill"
|
|
9252
|
-
],
|
|
9309
|
+
], cp = {
|
|
9253
9310
|
key: 0,
|
|
9254
9311
|
class: "uid-heatmap__legend"
|
|
9255
|
-
},
|
|
9312
|
+
}, lp = /* @__PURE__ */ f({
|
|
9256
9313
|
__name: "UidHeatmap",
|
|
9257
9314
|
props: {
|
|
9258
9315
|
data: {},
|
|
@@ -9358,10 +9415,10 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
9358
9415
|
style: b(w.value),
|
|
9359
9416
|
role: "img",
|
|
9360
9417
|
"aria-label": A.value
|
|
9361
|
-
}, [l("div",
|
|
9418
|
+
}, [l("div", rp, [e.showWeekdays ? (T(), c("div", ip, [(T(!0), c(t, null, k(L(r).datePicker.weekdaysShort, (e, t) => (T(), c("span", {
|
|
9362
9419
|
key: e,
|
|
9363
9420
|
class: y(["uid-heatmap__weekday", { "uid-heatmap__weekday--visible": t === 0 || t === 2 || t === 4 }])
|
|
9364
|
-
}, P(e), 3))), 128))])) : s("", !0), l("div",
|
|
9421
|
+
}, P(e), 3))), 128))])) : s("", !0), l("div", ap, [e.showMonths ? (T(), c("div", {
|
|
9365
9422
|
key: 0,
|
|
9366
9423
|
class: "uid-heatmap__months",
|
|
9367
9424
|
style: b({ width: `${S.value}px` }),
|
|
@@ -9384,7 +9441,7 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
9384
9441
|
width: e.cellSize,
|
|
9385
9442
|
height: e.cellSize,
|
|
9386
9443
|
fill: v(t.level)
|
|
9387
|
-
}, [l("title", null, P(D(t)), 1)], 8,
|
|
9444
|
+
}, [l("title", null, P(D(t)), 1)], 8, sp))), 128))], 8, op))])]), e.showLegend ? (T(), c("div", cp, [
|
|
9388
9445
|
l("span", null, P(L(r).heatmap.less), 1),
|
|
9389
9446
|
(T(!0), c(t, null, k(E.value, (e) => (T(), c("span", {
|
|
9390
9447
|
key: e,
|
|
@@ -9392,9 +9449,9 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
9392
9449
|
style: b(e === 0 ? void 0 : { background: v(e) })
|
|
9393
9450
|
}, null, 4))), 128)),
|
|
9394
9451
|
l("span", null, P(L(r).heatmap.more), 1)
|
|
9395
|
-
])) : s("", !0)], 12,
|
|
9452
|
+
])) : s("", !0)], 12, np));
|
|
9396
9453
|
}
|
|
9397
|
-
}),
|
|
9454
|
+
}), up = {
|
|
9398
9455
|
default: ["color-mix(in srgb, var(--uid-heatmap-matrix-color) 14%, var(--uid-color-bg))", "var(--uid-heatmap-matrix-color)"],
|
|
9399
9456
|
viridis: [
|
|
9400
9457
|
"#440154",
|
|
@@ -9474,42 +9531,42 @@ var Dl = ["innerHTML"], Ol = ["data-language", "innerHTML"], kl = ["data-languag
|
|
|
9474
9531
|
"#67000d"
|
|
9475
9532
|
]
|
|
9476
9533
|
};
|
|
9477
|
-
function up(e) {
|
|
9478
|
-
return Object.prototype.hasOwnProperty.call(lp, e);
|
|
9479
|
-
}
|
|
9480
9534
|
function dp(e) {
|
|
9535
|
+
return Object.prototype.hasOwnProperty.call(up, e);
|
|
9536
|
+
}
|
|
9537
|
+
function fp(e) {
|
|
9481
9538
|
if (Array.isArray(e)) {
|
|
9482
9539
|
let t = e.filter((e) => typeof e == "string" && e.trim() !== "");
|
|
9483
|
-
return t.length > 0 ? t : [...
|
|
9540
|
+
return t.length > 0 ? t : [...up.default];
|
|
9484
9541
|
}
|
|
9485
9542
|
let t = typeof e == "string" ? e.trim() : "";
|
|
9486
|
-
if (t === "") return [...
|
|
9543
|
+
if (t === "") return [...up.default];
|
|
9487
9544
|
let n = t.toLowerCase();
|
|
9488
|
-
return
|
|
9545
|
+
return dp(n) ? [...up[n]] : pp(t) ? [`color-mix(in srgb, ${t} 14%, var(--uid-color-bg))`, t] : [...up.default];
|
|
9489
9546
|
}
|
|
9490
|
-
function
|
|
9547
|
+
function pp(e) {
|
|
9491
9548
|
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);
|
|
9492
9549
|
}
|
|
9493
|
-
function
|
|
9550
|
+
function mp(e, t) {
|
|
9494
9551
|
if (e.length === 0) return "transparent";
|
|
9495
9552
|
if (e.length === 1) return e[0];
|
|
9496
9553
|
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;
|
|
9497
9554
|
return i <= 5e-4 ? e[r] : i >= .9995 ? e[r + 1] : `color-mix(in srgb, ${e[r + 1]} ${(i * 100).toFixed(1)}%, ${e[r]})`;
|
|
9498
9555
|
}
|
|
9499
|
-
function
|
|
9556
|
+
function hp(e) {
|
|
9500
9557
|
return e.length === 1 ? e[0] : `linear-gradient(to right, ${e.join(", ")})`;
|
|
9501
9558
|
}
|
|
9502
9559
|
//#endregion
|
|
9503
9560
|
//#region src/components/Heatmap/UidHeatmapMatrix.vue?vue&type=script&setup=true&lang.ts
|
|
9504
|
-
var
|
|
9561
|
+
var gp = { class: "uid-heatmap-matrix__scroll" }, _p = [
|
|
9505
9562
|
"aria-label",
|
|
9506
9563
|
"aria-rowcount",
|
|
9507
9564
|
"aria-colcount"
|
|
9508
|
-
],
|
|
9565
|
+
], vp = {
|
|
9509
9566
|
class: "uid-heatmap-matrix__row uid-heatmap-matrix__row--head",
|
|
9510
9567
|
role: "row",
|
|
9511
9568
|
"aria-rowindex": "1"
|
|
9512
|
-
},
|
|
9569
|
+
}, yp = ["aria-colindex", "aria-label"], bp = ["title"], xp = ["aria-rowindex"], Sp = ["title"], Cp = [
|
|
9513
9570
|
"aria-colindex",
|
|
9514
9571
|
"aria-label",
|
|
9515
9572
|
"tabindex",
|
|
@@ -9517,14 +9574,14 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9517
9574
|
"data-c",
|
|
9518
9575
|
"onMouseenter",
|
|
9519
9576
|
"onFocus"
|
|
9520
|
-
],
|
|
9577
|
+
], wp = { class: "uid-heatmap-matrix__tooltip-label" }, Tp = { class: "uid-heatmap-matrix__tooltip-value" }, Ep = {
|
|
9521
9578
|
key: 1,
|
|
9522
9579
|
class: "uid-heatmap-matrix__legend",
|
|
9523
9580
|
"aria-hidden": "true"
|
|
9524
|
-
},
|
|
9581
|
+
}, Dp = { class: "uid-heatmap-matrix__legend-value" }, Op = { class: "uid-heatmap-matrix__legend-value" }, kp = {
|
|
9525
9582
|
key: 0,
|
|
9526
9583
|
class: "uid-heatmap-matrix__legend-empty"
|
|
9527
|
-
},
|
|
9584
|
+
}, Ap = 11, jp = 96, Mp = 18, Np = /* @__PURE__ */ f({
|
|
9528
9585
|
__name: "UidHeatmapMatrix",
|
|
9529
9586
|
props: {
|
|
9530
9587
|
rows: {},
|
|
@@ -9560,13 +9617,13 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9560
9617
|
min: typeof n.min == "number" ? n.min : e,
|
|
9561
9618
|
max: typeof n.max == "number" ? n.max : t
|
|
9562
9619
|
};
|
|
9563
|
-
}), C = a(() => g.value.some((e) => e.some((e) => e === null))), w = a(() =>
|
|
9620
|
+
}), C = a(() => g.value.some((e) => e.some((e) => e === null))), w = a(() => fp(n.colorScale));
|
|
9564
9621
|
function E(e) {
|
|
9565
9622
|
let { min: t, max: n } = _.value;
|
|
9566
9623
|
return n <= t ? +(e > t) : (e - t) / (n - t);
|
|
9567
9624
|
}
|
|
9568
9625
|
function D(e) {
|
|
9569
|
-
if (e !== null) return
|
|
9626
|
+
if (e !== null) return mp(w.value, E(e));
|
|
9570
9627
|
}
|
|
9571
9628
|
function j(e) {
|
|
9572
9629
|
return n.formatValue ? n.formatValue(e) : new Intl.NumberFormat(r.value.code).format(e);
|
|
@@ -9588,7 +9645,7 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9588
9645
|
return `${n.row} × ${n.col}: ${M(n.value)}`;
|
|
9589
9646
|
}
|
|
9590
9647
|
function I(e) {
|
|
9591
|
-
return Math.min(
|
|
9648
|
+
return Math.min(jp, e.length * Ap * .6);
|
|
9592
9649
|
}
|
|
9593
9650
|
let R = a(() => n.cols.reduce((e, t) => Math.max(e, I(t)), 0)), z = a(() => {
|
|
9594
9651
|
let e = n.cols.length, t = p.value, r = n.colLabels;
|
|
@@ -9597,7 +9654,7 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9597
9654
|
step: 1,
|
|
9598
9655
|
reserve: 0
|
|
9599
9656
|
};
|
|
9600
|
-
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 +
|
|
9657
|
+
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 + Ap) * 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(Mp / u));
|
|
9601
9658
|
return r === "horizontal" ? {
|
|
9602
9659
|
mode: "horizontal",
|
|
9603
9660
|
step: c,
|
|
@@ -9625,7 +9682,7 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9625
9682
|
"--uid-heatmap-matrix-min-cell": `${n.minCellWidth}px`,
|
|
9626
9683
|
"--uid-heatmap-matrix-gap": `${n.gap}px`,
|
|
9627
9684
|
"--uid-heatmap-matrix-header-height": `${V.value}px`
|
|
9628
|
-
})), U = a(() => z.value.reserve > 0 ? { paddingInlineEnd: `${z.value.reserve}px` } : void 0), W = a(() =>
|
|
9685
|
+
})), U = a(() => z.value.reserve > 0 ? { paddingInlineEnd: `${z.value.reserve}px` } : void 0), W = a(() => hp(w.value)), K = a(() => n.ariaLabel ?? r.value.heatmap.matrixSummary(n.rows.length, n.cols.length)), q = O({
|
|
9629
9686
|
r: 0,
|
|
9630
9687
|
c: 0
|
|
9631
9688
|
}), 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({});
|
|
@@ -9723,7 +9780,7 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9723
9780
|
class: y(["uid-heatmap-matrix", `uid-heatmap-matrix--labels-${z.value.mode}`]),
|
|
9724
9781
|
style: b(H.value)
|
|
9725
9782
|
}, [
|
|
9726
|
-
l("div",
|
|
9783
|
+
l("div", gp, [l("div", {
|
|
9727
9784
|
class: "uid-heatmap-matrix__grid",
|
|
9728
9785
|
role: "grid",
|
|
9729
9786
|
style: b(U.value),
|
|
@@ -9732,7 +9789,7 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9732
9789
|
"aria-colcount": e.cols.length + 1,
|
|
9733
9790
|
onMouseleave: re,
|
|
9734
9791
|
onKeydown: oe
|
|
9735
|
-
}, [l("div",
|
|
9792
|
+
}, [l("div", vp, [i[0] ||= l("div", {
|
|
9736
9793
|
class: "uid-heatmap-matrix__corner",
|
|
9737
9794
|
role: "columnheader",
|
|
9738
9795
|
"aria-colindex": "1"
|
|
@@ -9746,7 +9803,7 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9746
9803
|
class: y(["uid-heatmap-matrix__col-label", { "uid-heatmap-matrix__col-label--hidden": !B(t) }]),
|
|
9747
9804
|
title: e,
|
|
9748
9805
|
"aria-hidden": "true"
|
|
9749
|
-
}, P(e), 11,
|
|
9806
|
+
}, P(e), 11, bp)], 8, yp))), 128))]), (T(!0), c(t, null, k(e.rows, (n, r) => (T(), c("div", {
|
|
9750
9807
|
key: `r-${r}`,
|
|
9751
9808
|
class: "uid-heatmap-matrix__row",
|
|
9752
9809
|
role: "row",
|
|
@@ -9759,7 +9816,7 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9759
9816
|
role: "rowheader",
|
|
9760
9817
|
"aria-colindex": "1",
|
|
9761
9818
|
title: n
|
|
9762
|
-
}, P(n), 9,
|
|
9819
|
+
}, P(n), 9, Sp), (T(!0), c(t, null, k(e.cols, (e, t) => (T(), c("div", {
|
|
9763
9820
|
key: `c-${r}-${t}`,
|
|
9764
9821
|
class: y(["uid-heatmap-matrix__cell", {
|
|
9765
9822
|
"uid-heatmap-matrix__cell--empty": g.value[r][t] === null,
|
|
@@ -9775,7 +9832,7 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9775
9832
|
onMouseenter: (e) => ne(r, t),
|
|
9776
9833
|
onFocus: (e) => ie(r, t),
|
|
9777
9834
|
onBlur: ae
|
|
9778
|
-
}, null, 46,
|
|
9835
|
+
}, null, 46, Cp))), 128))], 8, xp))), 128))], 44, _p)]),
|
|
9779
9836
|
Z.value ? (T(), c("div", {
|
|
9780
9837
|
key: 0,
|
|
9781
9838
|
ref_key: "tooltipRef",
|
|
@@ -9786,25 +9843,25 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9786
9843
|
}, [A(n.$slots, "tooltip", {
|
|
9787
9844
|
cell: Z.value,
|
|
9788
9845
|
formatted: M(Z.value.value)
|
|
9789
|
-
}, () => [l("span",
|
|
9790
|
-
e.showLegend && e.rows.length > 0 && e.cols.length > 0 ? (T(), c("div",
|
|
9791
|
-
l("span",
|
|
9846
|
+
}, () => [l("span", wp, P(Z.value.row) + " × " + P(Z.value.col), 1), l("strong", Tp, P(M(Z.value.value)), 1)])], 4)) : s("", !0),
|
|
9847
|
+
e.showLegend && e.rows.length > 0 && e.cols.length > 0 ? (T(), c("div", Ep, [
|
|
9848
|
+
l("span", Dp, P(j(_.value.min)), 1),
|
|
9792
9849
|
l("span", {
|
|
9793
9850
|
class: "uid-heatmap-matrix__legend-bar",
|
|
9794
9851
|
style: b({ background: W.value })
|
|
9795
9852
|
}, null, 4),
|
|
9796
|
-
l("span",
|
|
9797
|
-
C.value ? (T(), c("span",
|
|
9853
|
+
l("span", Op, P(j(_.value.max)), 1),
|
|
9854
|
+
C.value ? (T(), c("span", kp, [i[1] ||= l("span", { class: "uid-heatmap-matrix__legend-swatch" }, null, -1), u(" " + P(L(r).heatmap.noData), 1)])) : s("", !0)
|
|
9798
9855
|
])) : s("", !0)
|
|
9799
9856
|
], 6));
|
|
9800
9857
|
}
|
|
9801
|
-
}),
|
|
9858
|
+
}), Pp = ["aria-label"], Fp = ["aria-current"], Ip = { class: "uid-stepper__indicator" }, Lp = {
|
|
9802
9859
|
key: 1,
|
|
9803
9860
|
"aria-hidden": "true"
|
|
9804
|
-
},
|
|
9861
|
+
}, Rp = { class: "uid-stepper__content" }, zp = { class: "uid-stepper__label" }, Bp = {
|
|
9805
9862
|
key: 0,
|
|
9806
9863
|
class: "uid-stepper__description"
|
|
9807
|
-
},
|
|
9864
|
+
}, Vp = /* @__PURE__ */ f({
|
|
9808
9865
|
__name: "UidStepper",
|
|
9809
9866
|
props: {
|
|
9810
9867
|
steps: {},
|
|
@@ -9833,20 +9890,20 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9833
9890
|
class: y(["uid-stepper__target", { "uid-stepper__target--selectable": d(r) }]),
|
|
9834
9891
|
onClick: (e) => d(r) && u("select", r)
|
|
9835
9892
|
}, {
|
|
9836
|
-
default: q(() => [l("div",
|
|
9893
|
+
default: q(() => [l("div", Ip, [f(r, n.current) === "completed" ? (T(), o(e, {
|
|
9837
9894
|
key: 0,
|
|
9838
9895
|
icon: L(Q),
|
|
9839
9896
|
size: 16,
|
|
9840
9897
|
"aria-hidden": "true"
|
|
9841
|
-
}, null, 8, ["icon"])) : (T(), c("span",
|
|
9898
|
+
}, null, 8, ["icon"])) : (T(), c("span", Lp, P(r + 1), 1))]), l("div", Rp, [l("span", zp, P(t.label), 1), t.description ? (T(), c("span", Bp, P(t.description), 1)) : s("", !0)])]),
|
|
9842
9899
|
_: 2
|
|
9843
9900
|
}, 1032, [
|
|
9844
9901
|
"type",
|
|
9845
9902
|
"class",
|
|
9846
9903
|
"onClick"
|
|
9847
|
-
]))], 10,
|
|
9904
|
+
]))], 10, Fp))), 128))], 10, Pp));
|
|
9848
9905
|
}
|
|
9849
|
-
}),
|
|
9906
|
+
}), Hp = /* @__PURE__ */ f({
|
|
9850
9907
|
__name: "UidStack",
|
|
9851
9908
|
props: {
|
|
9852
9909
|
direction: { default: "column" },
|
|
@@ -9892,7 +9949,7 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9892
9949
|
_: 3
|
|
9893
9950
|
}, 8, ["class", "style"]));
|
|
9894
9951
|
}
|
|
9895
|
-
}),
|
|
9952
|
+
}), Up = /* @__PURE__ */ f({
|
|
9896
9953
|
__name: "UidGrid",
|
|
9897
9954
|
props: {
|
|
9898
9955
|
cols: { default: 12 },
|
|
@@ -9927,7 +9984,7 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9927
9984
|
_: 3
|
|
9928
9985
|
}, 8, ["style"]));
|
|
9929
9986
|
}
|
|
9930
|
-
}),
|
|
9987
|
+
}), Wp = /* @__PURE__ */ f({
|
|
9931
9988
|
__name: "UidContainer",
|
|
9932
9989
|
props: {
|
|
9933
9990
|
size: { default: "lg" },
|
|
@@ -9943,7 +10000,7 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9943
10000
|
_: 3
|
|
9944
10001
|
}, 8, ["class"]));
|
|
9945
10002
|
}
|
|
9946
|
-
}),
|
|
10003
|
+
}), Gp = Symbol("uid-wizard"), Kp = { class: "uid-wizard" }, qp = /* @__PURE__ */ f({
|
|
9947
10004
|
__name: "UidWizard",
|
|
9948
10005
|
props: /* @__PURE__ */ g({ steps: {} }, {
|
|
9949
10006
|
modelValue: { default: 0 },
|
|
@@ -9968,7 +10025,7 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9968
10025
|
function m(e) {
|
|
9969
10026
|
i.delete(e);
|
|
9970
10027
|
}
|
|
9971
|
-
return E(
|
|
10028
|
+
return E(Gp, {
|
|
9972
10029
|
current: r,
|
|
9973
10030
|
steps: o,
|
|
9974
10031
|
isFirst: s,
|
|
@@ -9985,9 +10042,9 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9985
10042
|
goTo: f,
|
|
9986
10043
|
isFirst: s,
|
|
9987
10044
|
isLast: l
|
|
9988
|
-
}), (e, t) => (T(), c("div",
|
|
10045
|
+
}), (e, t) => (T(), c("div", Kp, [A(e.$slots, "default")]));
|
|
9989
10046
|
}
|
|
9990
|
-
}),
|
|
10047
|
+
}), Jp = ["aria-label"], Yp = /* @__PURE__ */ f({
|
|
9991
10048
|
__name: "UidWizardStep",
|
|
9992
10049
|
props: {
|
|
9993
10050
|
index: {},
|
|
@@ -9997,7 +10054,7 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
9997
10054
|
}
|
|
9998
10055
|
},
|
|
9999
10056
|
setup(e) {
|
|
10000
|
-
let t = e, n = $(), r = h(
|
|
10057
|
+
let t = e, n = $(), r = h(Gp);
|
|
10001
10058
|
if (!r) throw Error("UidWizardStep must be inside UidWizard");
|
|
10002
10059
|
G(() => t.validate, (e, n) => {
|
|
10003
10060
|
n !== void 0 && r.unregisterValidator(t.index), e !== void 0 && r.registerValidator(t.index, e);
|
|
@@ -10008,18 +10065,18 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
10008
10065
|
class: "uid-wizard-step",
|
|
10009
10066
|
role: "tabpanel",
|
|
10010
10067
|
"aria-label": L(n).wizard.step(e.index + 1)
|
|
10011
|
-
}, [A(t.$slots, "default")], 8,
|
|
10068
|
+
}, [A(t.$slots, "default")], 8, Jp)) : s("", !0);
|
|
10012
10069
|
}
|
|
10013
|
-
}),
|
|
10070
|
+
}), Xp = { class: "uid-pattern-header__inner" }, Zp = {
|
|
10014
10071
|
key: 0,
|
|
10015
10072
|
class: "uid-pattern-header__logo"
|
|
10016
|
-
},
|
|
10073
|
+
}, Qp = ["aria-label"], $p = {
|
|
10017
10074
|
key: 2,
|
|
10018
10075
|
class: "uid-pattern-header__actions"
|
|
10019
|
-
},
|
|
10076
|
+
}, em = {
|
|
10020
10077
|
key: 3,
|
|
10021
10078
|
class: "uid-pattern-header__mobile"
|
|
10022
|
-
},
|
|
10079
|
+
}, tm = /* @__PURE__ */ f({
|
|
10023
10080
|
__name: "UidHeader",
|
|
10024
10081
|
props: {
|
|
10025
10082
|
sticky: {
|
|
@@ -10041,39 +10098,39 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
10041
10098
|
"uid-pattern-header--sticky": e.sticky,
|
|
10042
10099
|
"uid-pattern-header--bordered": e.bordered,
|
|
10043
10100
|
"uid-pattern-header--transparent": e.transparent
|
|
10044
|
-
}]) }, [l("div",
|
|
10045
|
-
n.$slots.logo ? (T(), c("div",
|
|
10101
|
+
}]) }, [l("div", Xp, [
|
|
10102
|
+
n.$slots.logo ? (T(), c("div", Zp, [A(n.$slots, "logo")])) : s("", !0),
|
|
10046
10103
|
n.$slots.nav ? (T(), c("nav", {
|
|
10047
10104
|
key: 1,
|
|
10048
10105
|
class: "uid-pattern-header__nav",
|
|
10049
10106
|
"aria-label": L(t).header.nav
|
|
10050
|
-
}, [A(n.$slots, "nav")], 8,
|
|
10051
|
-
n.$slots.actions ? (T(), c("div",
|
|
10052
|
-
n.$slots.mobile ? (T(), c("div",
|
|
10107
|
+
}, [A(n.$slots, "nav")], 8, Qp)) : s("", !0),
|
|
10108
|
+
n.$slots.actions ? (T(), c("div", $p, [A(n.$slots, "actions")])) : s("", !0),
|
|
10109
|
+
n.$slots.mobile ? (T(), c("div", em, [A(n.$slots, "mobile")])) : s("", !0)
|
|
10053
10110
|
])], 2));
|
|
10054
10111
|
}
|
|
10055
|
-
}),
|
|
10112
|
+
}), nm = { class: "uid-pattern-footer__inner" }, rm = {
|
|
10056
10113
|
key: 0,
|
|
10057
10114
|
class: "uid-pattern-footer__columns"
|
|
10058
|
-
},
|
|
10115
|
+
}, im = {
|
|
10059
10116
|
key: 1,
|
|
10060
10117
|
class: "uid-pattern-footer__content"
|
|
10061
|
-
},
|
|
10118
|
+
}, am = {
|
|
10062
10119
|
key: 2,
|
|
10063
10120
|
class: "uid-pattern-footer__bottom"
|
|
10064
|
-
},
|
|
10121
|
+
}, om = /* @__PURE__ */ f({
|
|
10065
10122
|
__name: "UidFooter",
|
|
10066
10123
|
props: { variant: { default: "minimal" } },
|
|
10067
10124
|
setup(e) {
|
|
10068
|
-
return (t, n) => (T(), c("footer", { class: y(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div",
|
|
10125
|
+
return (t, n) => (T(), c("footer", { class: y(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", nm, [t.$slots.columns ? (T(), c("div", rm, [A(t.$slots, "columns")])) : t.$slots.default ? (T(), c("div", im, [A(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (T(), c("div", am, [A(t.$slots, "bottom")])) : s("", !0)])], 2));
|
|
10069
10126
|
}
|
|
10070
|
-
}),
|
|
10127
|
+
}), sm = ["aria-label"], cm = {
|
|
10071
10128
|
key: 0,
|
|
10072
10129
|
class: "uid-pattern-sidebar__header"
|
|
10073
|
-
},
|
|
10130
|
+
}, lm = ["aria-label"], um = {
|
|
10074
10131
|
key: 1,
|
|
10075
10132
|
class: "uid-pattern-sidebar__footer"
|
|
10076
|
-
},
|
|
10133
|
+
}, dm = /* @__PURE__ */ f({
|
|
10077
10134
|
__name: "UidSidebar",
|
|
10078
10135
|
props: {
|
|
10079
10136
|
collapsed: {
|
|
@@ -10090,22 +10147,22 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
10090
10147
|
style: b(e.width && !e.collapsed ? { "--uid-sidebar-width": e.width } : void 0),
|
|
10091
10148
|
"aria-label": L(t).sidebar.label
|
|
10092
10149
|
}, [
|
|
10093
|
-
n.$slots.header ? (T(), c("div",
|
|
10150
|
+
n.$slots.header ? (T(), c("div", cm, [A(n.$slots, "header")])) : s("", !0),
|
|
10094
10151
|
l("nav", {
|
|
10095
10152
|
class: "uid-pattern-sidebar__nav",
|
|
10096
10153
|
"aria-label": L(t).sidebar.nav
|
|
10097
|
-
}, [A(n.$slots, "nav")], 8,
|
|
10098
|
-
n.$slots.footer ? (T(), c("div",
|
|
10099
|
-
], 14,
|
|
10154
|
+
}, [A(n.$slots, "nav")], 8, lm),
|
|
10155
|
+
n.$slots.footer ? (T(), c("div", um, [A(n.$slots, "footer")])) : s("", !0)
|
|
10156
|
+
], 14, sm));
|
|
10100
10157
|
}
|
|
10101
|
-
}),
|
|
10158
|
+
}), fm = {
|
|
10102
10159
|
key: 0,
|
|
10103
10160
|
class: "uid-sidebar-item__icon",
|
|
10104
10161
|
"aria-hidden": "true"
|
|
10105
|
-
},
|
|
10162
|
+
}, pm = { class: "uid-sidebar-item__label" }, mm = {
|
|
10106
10163
|
key: 1,
|
|
10107
10164
|
class: "uid-sidebar-item__badge"
|
|
10108
|
-
},
|
|
10165
|
+
}, hm = /* @__PURE__ */ f({
|
|
10109
10166
|
__name: "UidSidebarItem",
|
|
10110
10167
|
props: {
|
|
10111
10168
|
href: { default: void 0 },
|
|
@@ -10132,9 +10189,9 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
10132
10189
|
tabindex: e.disabled ? -1 : void 0
|
|
10133
10190
|
}), {
|
|
10134
10191
|
default: q(() => [
|
|
10135
|
-
t.$slots.icon ? (T(), c("span",
|
|
10136
|
-
l("span",
|
|
10137
|
-
e.badge === void 0 ? s("", !0) : (T(), c("span",
|
|
10192
|
+
t.$slots.icon ? (T(), c("span", fm, [A(t.$slots, "icon")])) : s("", !0),
|
|
10193
|
+
l("span", pm, [A(t.$slots, "default")]),
|
|
10194
|
+
e.badge === void 0 ? s("", !0) : (T(), c("span", mm, P(e.badge), 1))
|
|
10138
10195
|
]),
|
|
10139
10196
|
_: 3
|
|
10140
10197
|
}, 16, [
|
|
@@ -10144,10 +10201,10 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
10144
10201
|
"tabindex"
|
|
10145
10202
|
]));
|
|
10146
10203
|
}
|
|
10147
|
-
}),
|
|
10204
|
+
}), gm = { class: "uid-sidebar-group" }, _m = {
|
|
10148
10205
|
key: 0,
|
|
10149
10206
|
class: "uid-sidebar-group__title"
|
|
10150
|
-
},
|
|
10207
|
+
}, vm = /* @__PURE__ */ f({
|
|
10151
10208
|
__name: "UidSidebarGroup",
|
|
10152
10209
|
props: {
|
|
10153
10210
|
title: { default: void 0 },
|
|
@@ -10157,29 +10214,29 @@ var hp = { class: "uid-heatmap-matrix__scroll" }, gp = [
|
|
|
10157
10214
|
}
|
|
10158
10215
|
},
|
|
10159
10216
|
setup(e) {
|
|
10160
|
-
return (t, n) => (T(), c("div",
|
|
10217
|
+
return (t, n) => (T(), c("div", gm, [e.title ? (T(), c("p", _m, P(e.title), 1)) : s("", !0), A(t.$slots, "default")]));
|
|
10161
10218
|
}
|
|
10162
|
-
}),
|
|
10219
|
+
}), ym = {}, bm = {
|
|
10163
10220
|
class: "uid-sidebar-divider",
|
|
10164
10221
|
role: "separator",
|
|
10165
10222
|
"aria-hidden": "true"
|
|
10166
10223
|
};
|
|
10167
|
-
function
|
|
10168
|
-
return T(), c("div",
|
|
10224
|
+
function xm(e, t) {
|
|
10225
|
+
return T(), c("div", bm);
|
|
10169
10226
|
}
|
|
10170
|
-
var
|
|
10227
|
+
var Sm = /* @__PURE__ */ yr(ym, [["render", xm]]), Cm = { class: "uid-pattern-page-header" }, wm = {
|
|
10171
10228
|
key: 0,
|
|
10172
10229
|
class: "uid-pattern-page-header__breadcrumb"
|
|
10173
|
-
},
|
|
10230
|
+
}, Tm = { class: "uid-pattern-page-header__row" }, Em = { class: "uid-pattern-page-header__heading" }, Dm = ["aria-label"], Om = { class: "uid-pattern-page-header__title" }, km = {
|
|
10174
10231
|
key: 0,
|
|
10175
10232
|
class: "uid-pattern-page-header__description"
|
|
10176
|
-
},
|
|
10233
|
+
}, Am = {
|
|
10177
10234
|
key: 0,
|
|
10178
10235
|
class: "uid-pattern-page-header__actions"
|
|
10179
|
-
},
|
|
10236
|
+
}, jm = {
|
|
10180
10237
|
key: 1,
|
|
10181
10238
|
class: "uid-pattern-page-header__tabs"
|
|
10182
|
-
},
|
|
10239
|
+
}, Mm = /* @__PURE__ */ f({
|
|
10183
10240
|
__name: "UidPageHeader",
|
|
10184
10241
|
props: {
|
|
10185
10242
|
title: { default: void 0 },
|
|
@@ -10192,9 +10249,9 @@ var xm = /* @__PURE__ */ yr(vm, [["render", bm]]), Sm = { class: "uid-pattern-pa
|
|
|
10192
10249
|
emits: ["back"],
|
|
10193
10250
|
setup(t, { emit: n }) {
|
|
10194
10251
|
let r = $(), i = n;
|
|
10195
|
-
return (n, a) => (T(), c("div",
|
|
10196
|
-
n.$slots.breadcrumb ? (T(), c("div",
|
|
10197
|
-
l("div",
|
|
10252
|
+
return (n, a) => (T(), c("div", Cm, [
|
|
10253
|
+
n.$slots.breadcrumb ? (T(), c("div", wm, [A(n.$slots, "breadcrumb")])) : s("", !0),
|
|
10254
|
+
l("div", Tm, [l("div", Em, [t.back ? (T(), c("button", {
|
|
10198
10255
|
key: 0,
|
|
10199
10256
|
type: "button",
|
|
10200
10257
|
class: "uid-pattern-page-header__back",
|
|
@@ -10203,17 +10260,17 @@ var xm = /* @__PURE__ */ yr(vm, [["render", bm]]), Sm = { class: "uid-pattern-pa
|
|
|
10203
10260
|
}, [d(e, {
|
|
10204
10261
|
icon: L(ne),
|
|
10205
10262
|
size: 20
|
|
10206
|
-
}, null, 8, ["icon"])], 8,
|
|
10207
|
-
n.$slots.tabs ? (T(), c("div",
|
|
10263
|
+
}, null, 8, ["icon"])], 8, Dm)) : s("", !0), l("div", null, [l("h1", Om, [A(n.$slots, "title", {}, () => [u(P(t.title), 1)])]), t.description || n.$slots.description ? (T(), c("p", km, [A(n.$slots, "description", {}, () => [u(P(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (T(), c("div", Am, [A(n.$slots, "actions")])) : s("", !0)]),
|
|
10264
|
+
n.$slots.tabs ? (T(), c("div", jm, [A(n.$slots, "tabs")])) : s("", !0)
|
|
10208
10265
|
]));
|
|
10209
10266
|
}
|
|
10210
|
-
}),
|
|
10267
|
+
}), Nm = { class: "uid-pattern-empty-state" }, Pm = { class: "uid-pattern-empty-state__illustration" }, Fm = { class: "uid-pattern-empty-state__content" }, Im = { class: "uid-pattern-empty-state__title" }, Lm = {
|
|
10211
10268
|
key: 0,
|
|
10212
10269
|
class: "uid-pattern-empty-state__description"
|
|
10213
|
-
},
|
|
10270
|
+
}, Rm = {
|
|
10214
10271
|
key: 0,
|
|
10215
10272
|
class: "uid-pattern-empty-state__actions"
|
|
10216
|
-
},
|
|
10273
|
+
}, zm = /* @__PURE__ */ f({
|
|
10217
10274
|
__name: "UidEmptyState",
|
|
10218
10275
|
props: {
|
|
10219
10276
|
title: { default: void 0 },
|
|
@@ -10221,25 +10278,25 @@ var xm = /* @__PURE__ */ yr(vm, [["render", bm]]), Sm = { class: "uid-pattern-pa
|
|
|
10221
10278
|
},
|
|
10222
10279
|
setup(t) {
|
|
10223
10280
|
let n = $();
|
|
10224
|
-
return (r, i) => (T(), c("div",
|
|
10225
|
-
l("div",
|
|
10281
|
+
return (r, i) => (T(), c("div", Nm, [
|
|
10282
|
+
l("div", Pm, [A(r.$slots, "illustration", {}, () => [d(e, {
|
|
10226
10283
|
icon: L(ge),
|
|
10227
10284
|
size: 48
|
|
10228
10285
|
}, null, 8, ["icon"])])]),
|
|
10229
|
-
l("div",
|
|
10230
|
-
r.$slots.actions ? (T(), c("div",
|
|
10286
|
+
l("div", Fm, [l("h2", Im, [A(r.$slots, "title", {}, () => [u(P(t.title ?? L(n).emptyState.title), 1)])]), t.description || r.$slots.description ? (T(), c("p", Lm, [A(r.$slots, "description", {}, () => [u(P(t.description), 1)])])) : s("", !0)]),
|
|
10287
|
+
r.$slots.actions ? (T(), c("div", Rm, [A(r.$slots, "actions")])) : s("", !0)
|
|
10231
10288
|
]));
|
|
10232
10289
|
}
|
|
10233
|
-
}),
|
|
10290
|
+
}), Bm = { class: "uid-pattern-error-state" }, Vm = { class: "uid-pattern-error-state__illustration" }, Hm = {
|
|
10234
10291
|
key: 0,
|
|
10235
10292
|
class: "uid-pattern-error-state__code"
|
|
10236
|
-
},
|
|
10293
|
+
}, Um = { class: "uid-pattern-error-state__content" }, Wm = { class: "uid-pattern-error-state__title" }, Gm = {
|
|
10237
10294
|
key: 0,
|
|
10238
10295
|
class: "uid-pattern-error-state__description"
|
|
10239
|
-
},
|
|
10296
|
+
}, Km = {
|
|
10240
10297
|
key: 1,
|
|
10241
10298
|
class: "uid-pattern-error-state__actions"
|
|
10242
|
-
},
|
|
10299
|
+
}, qm = /* @__PURE__ */ f({
|
|
10243
10300
|
__name: "UidErrorState",
|
|
10244
10301
|
props: {
|
|
10245
10302
|
code: { default: void 0 },
|
|
@@ -10264,23 +10321,23 @@ var xm = /* @__PURE__ */ yr(vm, [["render", bm]]), Sm = { class: "uid-pattern-pa
|
|
|
10264
10321
|
description: r.value.errorState.offlineDescription
|
|
10265
10322
|
}
|
|
10266
10323
|
})), 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);
|
|
10267
|
-
return (n, r) => (T(), c("div",
|
|
10268
|
-
l("div",
|
|
10324
|
+
return (n, r) => (T(), c("div", Bm, [
|
|
10325
|
+
l("div", Vm, [A(n.$slots, "illustration", {}, () => [d(e, {
|
|
10269
10326
|
icon: f.value,
|
|
10270
10327
|
size: 48
|
|
10271
10328
|
}, null, 8, ["icon"])])]),
|
|
10272
|
-
t.code ? (T(), c("div",
|
|
10273
|
-
l("div",
|
|
10274
|
-
n.$slots.actions ? (T(), c("div",
|
|
10329
|
+
t.code ? (T(), c("div", Hm, P(t.code), 1)) : s("", !0),
|
|
10330
|
+
l("div", Um, [l("h2", Wm, [A(n.$slots, "title", {}, () => [u(P(p.value), 1)])]), m.value || n.$slots.description ? (T(), c("p", Gm, [A(n.$slots, "description", {}, () => [u(P(m.value), 1)])])) : s("", !0)]),
|
|
10331
|
+
n.$slots.actions ? (T(), c("div", Km, [A(n.$slots, "actions")])) : s("", !0)
|
|
10275
10332
|
]));
|
|
10276
10333
|
}
|
|
10277
|
-
}),
|
|
10334
|
+
}), Jm = {
|
|
10278
10335
|
key: 0,
|
|
10279
10336
|
class: "uid-layout-simple__header"
|
|
10280
|
-
},
|
|
10337
|
+
}, Ym = { class: "uid-layout-simple__content" }, Xm = {
|
|
10281
10338
|
key: 1,
|
|
10282
10339
|
class: "uid-layout-simple__footer"
|
|
10283
|
-
},
|
|
10340
|
+
}, Zm = /* @__PURE__ */ f({
|
|
10284
10341
|
__name: "UidSimpleLayout",
|
|
10285
10342
|
props: { full: {
|
|
10286
10343
|
type: Boolean,
|
|
@@ -10288,26 +10345,26 @@ var xm = /* @__PURE__ */ yr(vm, [["render", bm]]), Sm = { class: "uid-pattern-pa
|
|
|
10288
10345
|
} },
|
|
10289
10346
|
setup(e) {
|
|
10290
10347
|
return (t, n) => (T(), c("div", { class: y(["uid-layout-simple", { "uid-layout-simple--full": e.full }]) }, [
|
|
10291
|
-
t.$slots.header ? (T(), c("div",
|
|
10292
|
-
l("main",
|
|
10293
|
-
t.$slots.footer ? (T(), c("div",
|
|
10348
|
+
t.$slots.header ? (T(), c("div", Jm, [A(t.$slots, "header")])) : s("", !0),
|
|
10349
|
+
l("main", Ym, [A(t.$slots, "default")]),
|
|
10350
|
+
t.$slots.footer ? (T(), c("div", Xm, [A(t.$slots, "footer")])) : s("", !0)
|
|
10294
10351
|
], 2));
|
|
10295
10352
|
}
|
|
10296
|
-
}),
|
|
10297
|
-
function
|
|
10298
|
-
let e = h(
|
|
10353
|
+
}), Qm = Symbol("uid-sidebar-layout");
|
|
10354
|
+
function $m() {
|
|
10355
|
+
let e = h(Qm);
|
|
10299
10356
|
if (!e) throw Error("useSidebar() must be used inside UidSidebarLayout");
|
|
10300
10357
|
return e;
|
|
10301
10358
|
}
|
|
10302
10359
|
//#endregion
|
|
10303
10360
|
//#region src/layouts/Sidebar/UidSidebarLayout.vue?vue&type=script&setup=true&lang.ts
|
|
10304
|
-
var
|
|
10361
|
+
var eh = { class: "uid-layout-sidebar__sidebar" }, th = { class: "uid-layout-sidebar__main" }, nh = {
|
|
10305
10362
|
key: 0,
|
|
10306
10363
|
class: "uid-layout-sidebar__main-header"
|
|
10307
|
-
},
|
|
10364
|
+
}, rh = { class: "uid-layout-sidebar__main-content" }, ih = {
|
|
10308
10365
|
key: 1,
|
|
10309
10366
|
class: "uid-layout-sidebar__main-footer"
|
|
10310
|
-
},
|
|
10367
|
+
}, ah = /* @__PURE__ */ f({
|
|
10311
10368
|
__name: "UidSidebarLayout",
|
|
10312
10369
|
props: /* @__PURE__ */ g({ sidebarWidth: { default: void 0 } }, {
|
|
10313
10370
|
modelValue: {
|
|
@@ -10325,7 +10382,7 @@ var $m = { class: "uid-layout-sidebar__sidebar" }, eh = { class: "uid-layout-sid
|
|
|
10325
10382
|
}, o = () => {
|
|
10326
10383
|
n.value = !0;
|
|
10327
10384
|
};
|
|
10328
|
-
E(
|
|
10385
|
+
E(Qm, {
|
|
10329
10386
|
collapsed: n,
|
|
10330
10387
|
toggle: r,
|
|
10331
10388
|
open: i,
|
|
@@ -10336,58 +10393,58 @@ var $m = { class: "uid-layout-sidebar__sidebar" }, eh = { class: "uid-layout-sid
|
|
|
10336
10393
|
class: y(["uid-layout-sidebar", { "uid-layout-sidebar--collapsed": n.value }]),
|
|
10337
10394
|
style: b(u.value)
|
|
10338
10395
|
}, [
|
|
10339
|
-
l("aside",
|
|
10396
|
+
l("aside", eh, [A(e.$slots, "sidebar")]),
|
|
10340
10397
|
l("div", {
|
|
10341
10398
|
class: "uid-layout-sidebar__backdrop",
|
|
10342
10399
|
"aria-hidden": "true",
|
|
10343
10400
|
onClick: o
|
|
10344
10401
|
}),
|
|
10345
|
-
l("div",
|
|
10346
|
-
e.$slots.header ? (T(), c("div",
|
|
10347
|
-
l("main",
|
|
10348
|
-
e.$slots.footer ? (T(), c("div",
|
|
10402
|
+
l("div", th, [
|
|
10403
|
+
e.$slots.header ? (T(), c("div", nh, [A(e.$slots, "header")])) : s("", !0),
|
|
10404
|
+
l("main", rh, [A(e.$slots, "default")]),
|
|
10405
|
+
e.$slots.footer ? (T(), c("div", ih, [A(e.$slots, "footer")])) : s("", !0)
|
|
10349
10406
|
])
|
|
10350
10407
|
], 6));
|
|
10351
10408
|
}
|
|
10352
|
-
}),
|
|
10409
|
+
}), oh = {
|
|
10353
10410
|
key: 0,
|
|
10354
10411
|
class: "uid-layout-auth__brand"
|
|
10355
|
-
},
|
|
10412
|
+
}, sh = { class: "uid-layout-auth__main" }, ch = { class: "uid-layout-auth__card" }, lh = {
|
|
10356
10413
|
key: 0,
|
|
10357
10414
|
class: "uid-layout-auth__footer"
|
|
10358
|
-
},
|
|
10415
|
+
}, uh = /* @__PURE__ */ f({
|
|
10359
10416
|
__name: "UidAuthLayout",
|
|
10360
10417
|
props: { variant: { default: "centered" } },
|
|
10361
10418
|
setup(e) {
|
|
10362
|
-
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",
|
|
10419
|
+
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", oh, [A(t.$slots, "brand")])) : s("", !0), l("div", sh, [l("div", ch, [A(t.$slots, "default")]), t.$slots.footer ? (T(), c("div", lh, [A(t.$slots, "footer")])) : s("", !0)])], 2));
|
|
10363
10420
|
}
|
|
10364
|
-
}),
|
|
10421
|
+
}), dh = { class: "uid-layout-wizard" }, fh = {
|
|
10365
10422
|
key: 0,
|
|
10366
10423
|
class: "uid-layout-wizard__header"
|
|
10367
|
-
},
|
|
10424
|
+
}, ph = {
|
|
10368
10425
|
key: 1,
|
|
10369
10426
|
class: "uid-layout-wizard__stepper"
|
|
10370
|
-
},
|
|
10427
|
+
}, mh = { class: "uid-layout-wizard__content" }, hh = {
|
|
10371
10428
|
key: 2,
|
|
10372
10429
|
class: "uid-layout-wizard__nav"
|
|
10373
|
-
},
|
|
10430
|
+
}, gh = /* @__PURE__ */ f({
|
|
10374
10431
|
__name: "UidWizardLayout",
|
|
10375
10432
|
setup(e) {
|
|
10376
|
-
return (e, t) => (T(), c("div",
|
|
10377
|
-
e.$slots.header ? (T(), c("div",
|
|
10378
|
-
e.$slots.stepper ? (T(), c("div",
|
|
10379
|
-
l("main",
|
|
10380
|
-
e.$slots.nav ? (T(), c("div",
|
|
10433
|
+
return (e, t) => (T(), c("div", dh, [
|
|
10434
|
+
e.$slots.header ? (T(), c("div", fh, [A(e.$slots, "header")])) : s("", !0),
|
|
10435
|
+
e.$slots.stepper ? (T(), c("div", ph, [A(e.$slots, "stepper")])) : s("", !0),
|
|
10436
|
+
l("main", mh, [A(e.$slots, "default")]),
|
|
10437
|
+
e.$slots.nav ? (T(), c("div", hh, [A(e.$slots, "nav")])) : s("", !0)
|
|
10381
10438
|
]));
|
|
10382
10439
|
}
|
|
10383
|
-
}),
|
|
10440
|
+
}), _h = /* @__PURE__ */ f({
|
|
10384
10441
|
__name: "UidLocaleProvider",
|
|
10385
10442
|
props: { locale: {} },
|
|
10386
10443
|
setup(e) {
|
|
10387
10444
|
let t = e;
|
|
10388
10445
|
return an(a(() => t.locale)), (e, t) => A(e.$slots, "default");
|
|
10389
10446
|
}
|
|
10390
|
-
}),
|
|
10447
|
+
}), vh = {
|
|
10391
10448
|
code: "en-US",
|
|
10392
10449
|
common: {
|
|
10393
10450
|
clear: "Clear",
|
|
@@ -10596,19 +10653,19 @@ var $m = { class: "uid-layout-sidebar__sidebar" }, eh = { class: "uid-layout-sid
|
|
|
10596
10653
|
sameAs: "The values do not match",
|
|
10597
10654
|
unknown: (e) => `Validation failed: ${e}`
|
|
10598
10655
|
}
|
|
10599
|
-
},
|
|
10600
|
-
function
|
|
10656
|
+
}, yh = O("light");
|
|
10657
|
+
function bh() {
|
|
10601
10658
|
let e = null;
|
|
10602
10659
|
function t(e) {
|
|
10603
|
-
|
|
10660
|
+
yh.value = e, document.documentElement.dataset.theme = e;
|
|
10604
10661
|
}
|
|
10605
10662
|
function n() {
|
|
10606
|
-
t(
|
|
10663
|
+
t(yh.value === "light" ? "dark" : "light");
|
|
10607
10664
|
}
|
|
10608
10665
|
function r() {
|
|
10609
10666
|
let e = document.documentElement.dataset.theme;
|
|
10610
10667
|
if (e === "light" || e === "dark") {
|
|
10611
|
-
|
|
10668
|
+
yh.value = e;
|
|
10612
10669
|
return;
|
|
10613
10670
|
}
|
|
10614
10671
|
let n = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
@@ -10620,7 +10677,7 @@ function yh() {
|
|
|
10620
10677
|
e.addEventListener("change", n), C(() => e?.removeEventListener("change", n));
|
|
10621
10678
|
}
|
|
10622
10679
|
return {
|
|
10623
|
-
theme:
|
|
10680
|
+
theme: yh,
|
|
10624
10681
|
setTheme: t,
|
|
10625
10682
|
toggle: n,
|
|
10626
10683
|
initFromSystem: r,
|
|
@@ -10629,27 +10686,27 @@ function yh() {
|
|
|
10629
10686
|
}
|
|
10630
10687
|
//#endregion
|
|
10631
10688
|
//#region src/composables/useWizard.ts
|
|
10632
|
-
function
|
|
10633
|
-
let e = h(
|
|
10689
|
+
function xh() {
|
|
10690
|
+
let e = h(Gp);
|
|
10634
10691
|
if (!e) throw Error("useWizard() must be used inside UidWizard");
|
|
10635
10692
|
return e;
|
|
10636
10693
|
}
|
|
10637
10694
|
//#endregion
|
|
10638
10695
|
//#region src/composables/useCommandPalette.ts
|
|
10639
|
-
var
|
|
10640
|
-
function
|
|
10696
|
+
var Sh = O(!1);
|
|
10697
|
+
function Ch() {
|
|
10641
10698
|
return {
|
|
10642
|
-
open:
|
|
10699
|
+
open: Sh,
|
|
10643
10700
|
show: () => {
|
|
10644
|
-
|
|
10701
|
+
Sh.value = !0;
|
|
10645
10702
|
},
|
|
10646
10703
|
hide: () => {
|
|
10647
|
-
|
|
10704
|
+
Sh.value = !1;
|
|
10648
10705
|
},
|
|
10649
10706
|
toggle: () => {
|
|
10650
|
-
|
|
10707
|
+
Sh.value = !Sh.value;
|
|
10651
10708
|
}
|
|
10652
10709
|
};
|
|
10653
10710
|
}
|
|
10654
10711
|
//#endregion
|
|
10655
|
-
export { Li as UidAccordion, Ui as UidAccordionItem,
|
|
10712
|
+
export { Li as UidAccordion, Ui as UidAccordionItem, Eu as UidAffix, gn as UidAlert, Fu as UidAnchor, uh as UidAuthLayout, Di as UidAvatar, Ai as UidAvatarGroup, wu as UidBackTop, un as UidBadge, Wr as UidBreadcrumb, Zr as UidBreadcrumbItem, je as UidButton, wf as UidCalendar, wi as UidCard, vd as UidCarousel, uf as UidCascader, Et as UidCheckbox, Mt as UidCheckboxGroup, tl as UidCode, io as UidColorPicker, js as UidCombobox, go as UidCommand, Wp as UidContainer, Ta as UidDatePicker, fs as UidDateRangePicker, gu as UidDescriptionItem, fu as UidDescriptionList, Pi as UidDivider, Qn as UidDrawer, zm as UidEmptyState, qm as UidErrorState, gc as UidFileUpload, om as UidFooter, tn as UidFormField, tp as UidGauge, Up as UidGrid, tm as UidHeader, lp as UidHeatmap, Np as UidHeatmapMatrix, e as UidIcon, Gl as UidImage, mi as UidInfiniteScroll, gt as UidInput, Xt as UidLabel, Qr as UidLink, di as UidLoadMore, _h as UidLocaleProvider, Il as UidMarkdown, Xu as UidMention, gr as UidMenu, vr as UidMenuItem, Cr as UidMenuSeparator, Gn as UidModal, fd as UidNotificationBadge, wo as UidNumberInput, Mm as UidPageHeader, vi as UidPageSize, ii as UidPagination, ci as UidPaginationCursor, sr as UidPopover, Mn as UidProgress, Bf as UidProgressRing, It as UidRadio, Ht as UidRadioGroup, Zl as UidRating, Su as UidResult, pa as UidSelect, dm as UidSidebar, Sm as UidSidebarDivider, vm as UidSidebarGroup, hm as UidSidebarItem, ah as UidSidebarLayout, Zm as UidSimpleLayout, ln as UidSkeleton, Pa as UidSlider, Pf as UidSparkline, sn as UidSpinner, eu as UidSplitter, Hp as UidStack, lu as UidStat, Vp 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, Uu as UidTour, Wd as UidTransfer, Bs as UidTreeItem, ld as UidTreeSelect, Hs as UidTreeView, Ea as UidVirtualList, ku as UidWatermark, qp as UidWizard, gh as UidWizardLayout, Yp as UidWizardStep, ol as createSlugger, Ge as email, vh as en, il as escapeHtml, ze as getMessage, mp as heatmapColorAt, up as heatmapColorScales, et as inList, Je as integer, Gc as isHighlightable, Tl 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, El as provideMarkdownBlockRenderers, $e as regex, vl as renderMarkdown, Ue as required, nt as requiredIf, rt as requiredUnless, ul as resolveAgainst, fp as resolveHeatmapStops, Me as ru, ot as runRules, tt as sameAs, Re as setMessages, Ie as setValidationLocale, wl as splitMarkdown, Kc as tokenize, Ke as url, Ch as useCommandPalette, st as useField, Pn as useFocusTrap, $ as useLocale, Dl as useMarkdownBlockRenderers, tr as usePopover, In as useScrollLock, $m as useSidebar, bh as useTheme, Tn as useToast, xh as useWizard };
|