@dskripchenko/ui 1.1.0 → 1.1.2
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/Select/UidSelect.vue.d.ts +1 -0
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +583 -568
- package/dist/styles/all.css +1 -1
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2210,24 +2210,21 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2210
2210
|
"aria-controls",
|
|
2211
2211
|
"aria-disabled"
|
|
2212
2212
|
], gi = { class: "uid-select__suffix" }, _i = ["aria-label"], vi = {
|
|
2213
|
-
key: 0,
|
|
2214
|
-
class: "uid-select__dropdown"
|
|
2215
|
-
}, yi = {
|
|
2216
2213
|
key: 0,
|
|
2217
2214
|
class: "uid-select__search"
|
|
2218
|
-
},
|
|
2215
|
+
}, yi = ["placeholder"], bi = ["id"], xi = {
|
|
2219
2216
|
key: 0,
|
|
2220
2217
|
class: "uid-select__group-label"
|
|
2221
|
-
},
|
|
2218
|
+
}, Si = [
|
|
2222
2219
|
"data-active",
|
|
2223
2220
|
"aria-selected",
|
|
2224
2221
|
"aria-disabled",
|
|
2225
2222
|
"onClick",
|
|
2226
2223
|
"onMouseenter"
|
|
2227
|
-
],
|
|
2224
|
+
], Ci = {
|
|
2228
2225
|
key: 1,
|
|
2229
2226
|
class: "uid-select__empty"
|
|
2230
|
-
},
|
|
2227
|
+
}, wi = /* @__PURE__ */ f({
|
|
2231
2228
|
__name: "UidSelect",
|
|
2232
2229
|
props: /* @__PURE__ */ m({
|
|
2233
2230
|
options: {},
|
|
@@ -2250,159 +2247,177 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2250
2247
|
modelModifiers: {}
|
|
2251
2248
|
}),
|
|
2252
2249
|
emits: /* @__PURE__ */ m(["change"], ["update:modelValue"]),
|
|
2253
|
-
setup(
|
|
2254
|
-
let
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2250
|
+
setup(i, { emit: u }) {
|
|
2251
|
+
let f = i, p = $(), m = a(() => f.placeholder ?? p.value.select.placeholder), h = u, y = N(i, "modelValue"), S = w(!1), C = w(""), E = w(0), D = w(null), O = w(null), A = w(null), P = w(null), F = w(null), L = M(), { floatingStyle: V, update: H } = Mn(O, A, {
|
|
2252
|
+
placement: "bottom-start",
|
|
2253
|
+
offset: 4
|
|
2254
|
+
}), U = w(0);
|
|
2255
|
+
function W() {
|
|
2256
|
+
U.value = O.value?.getBoundingClientRect().width ?? 0;
|
|
2257
|
+
}
|
|
2258
|
+
let G = a(() => ({
|
|
2259
|
+
...V.value,
|
|
2260
|
+
minWidth: U.value > 0 ? `${U.value}px` : "auto"
|
|
2261
|
+
})), ee = a(() => f.options.find((e) => e.value === y.value) ?? null), K = a(() => {
|
|
2262
|
+
if (!f.searchable || !C.value.trim()) return f.options;
|
|
2263
|
+
let e = C.value.toLowerCase();
|
|
2264
|
+
return f.options.filter((t) => t.label.toLowerCase().includes(e));
|
|
2265
|
+
}), te = a(() => {
|
|
2259
2266
|
let e = /* @__PURE__ */ new Map();
|
|
2260
|
-
for (let t of
|
|
2267
|
+
for (let t of K.value) {
|
|
2261
2268
|
let n = t.group ?? "";
|
|
2262
2269
|
e.has(n) || e.set(n, []), e.get(n).push(t);
|
|
2263
2270
|
}
|
|
2264
2271
|
return e;
|
|
2265
2272
|
});
|
|
2266
|
-
R(
|
|
2273
|
+
R(S, async (e) => {
|
|
2267
2274
|
if (e) {
|
|
2268
|
-
|
|
2269
|
-
let e =
|
|
2270
|
-
|
|
2271
|
-
} else document.removeEventListener("pointerdown",
|
|
2272
|
-
}), R(
|
|
2273
|
-
|
|
2275
|
+
C.value = "";
|
|
2276
|
+
let e = K.value.findIndex((e) => e.value === y.value);
|
|
2277
|
+
E.value = e >= 0 ? e : 0, W(), await g(), H(), requestAnimationFrame(() => H()), f.searchable && F.value?.focus(), de(), document.addEventListener("pointerdown", ae), window.addEventListener("resize", H), window.addEventListener("scroll", H, !0);
|
|
2278
|
+
} else document.removeEventListener("pointerdown", ae), window.removeEventListener("resize", H), window.removeEventListener("scroll", H, !0);
|
|
2279
|
+
}), R(C, () => {
|
|
2280
|
+
E.value = 0;
|
|
2274
2281
|
});
|
|
2275
|
-
function
|
|
2276
|
-
|
|
2282
|
+
function ne() {
|
|
2283
|
+
f.disabled || (S.value = !0);
|
|
2277
2284
|
}
|
|
2278
|
-
function
|
|
2279
|
-
|
|
2285
|
+
function J() {
|
|
2286
|
+
S.value = !1;
|
|
2280
2287
|
}
|
|
2281
|
-
function
|
|
2282
|
-
|
|
2288
|
+
function re() {
|
|
2289
|
+
S.value ? J() : ne();
|
|
2283
2290
|
}
|
|
2284
|
-
function
|
|
2285
|
-
e.disabled || (
|
|
2291
|
+
function X(e) {
|
|
2292
|
+
e.disabled || (y.value = e.value, h("change", e.value), J(), O.value?.focus());
|
|
2286
2293
|
}
|
|
2287
|
-
function
|
|
2288
|
-
e.stopPropagation(),
|
|
2294
|
+
function ie(e) {
|
|
2295
|
+
e.stopPropagation(), y.value = null, h("change", null);
|
|
2289
2296
|
}
|
|
2290
|
-
function
|
|
2297
|
+
function ae(e) {
|
|
2291
2298
|
let t = e.target;
|
|
2292
|
-
|
|
2299
|
+
D.value?.contains(t) || A.value?.contains(t) || J();
|
|
2293
2300
|
}
|
|
2294
|
-
function
|
|
2295
|
-
e.key === "ArrowDown" ? (e.preventDefault(),
|
|
2301
|
+
function oe(e) {
|
|
2302
|
+
e.key === "ArrowDown" ? (e.preventDefault(), S.value ? ce() : ne()) : e.key === "ArrowUp" ? (e.preventDefault(), S.value && le()) : e.key === "Enter" || e.key === " " ? (e.preventDefault(), S.value ? ue() : ne()) : e.key === "Escape" && J();
|
|
2296
2303
|
}
|
|
2297
|
-
function
|
|
2298
|
-
e.key === "ArrowDown" ? (e.preventDefault(),
|
|
2304
|
+
function se(e) {
|
|
2305
|
+
e.key === "ArrowDown" ? (e.preventDefault(), ce()) : e.key === "ArrowUp" ? (e.preventDefault(), le()) : e.key === "Enter" ? (e.preventDefault(), ue()) : e.key === "Escape" && (J(), O.value?.focus());
|
|
2299
2306
|
}
|
|
2300
|
-
function
|
|
2301
|
-
|
|
2307
|
+
function ce() {
|
|
2308
|
+
E.value = Math.min(E.value + 1, K.value.length - 1), de();
|
|
2302
2309
|
}
|
|
2303
|
-
function
|
|
2304
|
-
|
|
2310
|
+
function le() {
|
|
2311
|
+
E.value = Math.max(E.value - 1, 0), de();
|
|
2305
2312
|
}
|
|
2306
|
-
function
|
|
2307
|
-
let e =
|
|
2308
|
-
e &&
|
|
2313
|
+
function ue() {
|
|
2314
|
+
let e = K.value[E.value];
|
|
2315
|
+
e && X(e);
|
|
2309
2316
|
}
|
|
2310
|
-
function
|
|
2317
|
+
function de() {
|
|
2311
2318
|
g(() => {
|
|
2312
|
-
(
|
|
2319
|
+
(P.value?.querySelector("[data-active=\"true\"]"))?.scrollIntoView?.({ block: "nearest" });
|
|
2313
2320
|
});
|
|
2314
2321
|
}
|
|
2315
|
-
return b(() =>
|
|
2322
|
+
return b(() => {
|
|
2323
|
+
document.removeEventListener("pointerdown", ae), window.removeEventListener("resize", H), window.removeEventListener("scroll", H, !0);
|
|
2324
|
+
}), (a, u) => (x(), c("div", {
|
|
2316
2325
|
ref_key: "containerRef",
|
|
2317
|
-
ref:
|
|
2318
|
-
class: _(["uid-select", [`uid-select--${
|
|
2319
|
-
"uid-select--open":
|
|
2320
|
-
"uid-select--disabled":
|
|
2326
|
+
ref: D,
|
|
2327
|
+
class: _(["uid-select", [`uid-select--${i.size}`, {
|
|
2328
|
+
"uid-select--open": S.value,
|
|
2329
|
+
"uid-select--disabled": i.disabled
|
|
2321
2330
|
}]])
|
|
2322
2331
|
}, [l("div", {
|
|
2323
2332
|
ref_key: "triggerRef",
|
|
2324
|
-
ref:
|
|
2333
|
+
ref: O,
|
|
2325
2334
|
class: "uid-select__trigger",
|
|
2326
2335
|
role: "combobox",
|
|
2327
2336
|
tabindex: "0",
|
|
2328
|
-
"aria-expanded":
|
|
2337
|
+
"aria-expanded": S.value,
|
|
2329
2338
|
"aria-haspopup": "listbox",
|
|
2330
|
-
"aria-controls": j(
|
|
2331
|
-
"aria-disabled":
|
|
2332
|
-
onClick:
|
|
2333
|
-
onKeydown:
|
|
2334
|
-
}, [l("span", { class: _(["uid-select__value", { "uid-select__value--placeholder": !
|
|
2339
|
+
"aria-controls": j(L),
|
|
2340
|
+
"aria-disabled": i.disabled,
|
|
2341
|
+
onClick: re,
|
|
2342
|
+
onKeydown: oe
|
|
2343
|
+
}, [l("span", { class: _(["uid-select__value", { "uid-select__value--placeholder": !ee.value }]) }, k(ee.value?.label ?? m.value), 3), l("div", gi, [i.clearable && y.value !== null ? (x(), c("button", {
|
|
2335
2344
|
key: 0,
|
|
2336
2345
|
type: "button",
|
|
2337
2346
|
class: "uid-select__clear",
|
|
2338
|
-
"aria-label": j(
|
|
2339
|
-
onClick:
|
|
2347
|
+
"aria-label": j(p).common.clear,
|
|
2348
|
+
onClick: ie
|
|
2340
2349
|
}, [d(e, {
|
|
2341
2350
|
icon: j(_e),
|
|
2342
2351
|
size: 12
|
|
2343
2352
|
}, null, 8, ["icon"])], 8, _i)) : s("", !0), d(e, {
|
|
2344
2353
|
icon: j(Y),
|
|
2345
2354
|
size: 16,
|
|
2346
|
-
class: _(["uid-select__chevron", { "uid-select__chevron--open":
|
|
2355
|
+
class: _(["uid-select__chevron", { "uid-select__chevron--open": S.value }]),
|
|
2347
2356
|
"aria-hidden": "true"
|
|
2348
|
-
}, null, 8, ["icon", "class"])])], 40, hi), d(r, { name: "uid-select-dropdown" }, {
|
|
2349
|
-
default: z(() => [
|
|
2357
|
+
}, null, 8, ["icon", "class"])])], 40, hi), (x(), o(n, { to: "body" }, [d(r, { name: "uid-select-dropdown" }, {
|
|
2358
|
+
default: z(() => [S.value ? (x(), c("div", {
|
|
2359
|
+
key: 0,
|
|
2360
|
+
ref_key: "dropdownRef",
|
|
2361
|
+
ref: A,
|
|
2362
|
+
class: "uid-select__dropdown",
|
|
2363
|
+
style: v(G.value)
|
|
2364
|
+
}, [i.searchable ? (x(), c("div", vi, [B(l("input", {
|
|
2350
2365
|
ref_key: "searchRef",
|
|
2351
|
-
ref:
|
|
2352
|
-
"onUpdate:modelValue":
|
|
2366
|
+
ref: F,
|
|
2367
|
+
"onUpdate:modelValue": u[0] ||= (e) => C.value = e,
|
|
2353
2368
|
class: "uid-select__search-input",
|
|
2354
2369
|
type: "text",
|
|
2355
|
-
placeholder: j(
|
|
2370
|
+
placeholder: j(p).common.search,
|
|
2356
2371
|
autocomplete: "off",
|
|
2357
|
-
onKeydown:
|
|
2358
|
-
}, null, 40,
|
|
2359
|
-
id: j(
|
|
2372
|
+
onKeydown: se
|
|
2373
|
+
}, null, 40, yi), [[I, C.value]])])) : s("", !0), l("div", {
|
|
2374
|
+
id: j(L),
|
|
2360
2375
|
ref_key: "listRef",
|
|
2361
|
-
ref:
|
|
2376
|
+
ref: P,
|
|
2362
2377
|
class: "uid-select__list",
|
|
2363
2378
|
role: "listbox",
|
|
2364
|
-
onKeydown:
|
|
2365
|
-
}, [
|
|
2379
|
+
onKeydown: se
|
|
2380
|
+
}, [K.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(te.value, ([n, r]) => (x(), c(t, { key: n }, [n ? (x(), c("div", xi, k(n), 1)) : s("", !0), (x(!0), c(t, null, T(r, (t) => (x(), c("button", {
|
|
2366
2381
|
key: t.value,
|
|
2367
2382
|
type: "button",
|
|
2368
2383
|
class: _(["uid-select__option", {
|
|
2369
|
-
"uid-select__option--selected": t.value ===
|
|
2370
|
-
"uid-select__option--active":
|
|
2384
|
+
"uid-select__option--selected": t.value === y.value,
|
|
2385
|
+
"uid-select__option--active": K.value.indexOf(t) === E.value,
|
|
2371
2386
|
"uid-select__option--disabled": t.disabled
|
|
2372
2387
|
}]),
|
|
2373
|
-
"data-active":
|
|
2388
|
+
"data-active": K.value.indexOf(t) === E.value ? "true" : void 0,
|
|
2374
2389
|
role: "option",
|
|
2375
|
-
"aria-selected": t.value ===
|
|
2390
|
+
"aria-selected": t.value === y.value,
|
|
2376
2391
|
"aria-disabled": t.disabled,
|
|
2377
|
-
onClick: (e) =>
|
|
2378
|
-
onMouseenter: (e) => !t.disabled && (
|
|
2379
|
-
}, [l("span", null, k(t.label), 1), t.value ===
|
|
2392
|
+
onClick: (e) => X(t),
|
|
2393
|
+
onMouseenter: (e) => !t.disabled && (E.value = K.value.indexOf(t))
|
|
2394
|
+
}, [l("span", null, k(t.label), 1), t.value === y.value ? (x(), o(e, {
|
|
2380
2395
|
key: 0,
|
|
2381
2396
|
icon: j(q),
|
|
2382
2397
|
size: 14,
|
|
2383
2398
|
"aria-hidden": "true",
|
|
2384
2399
|
class: "uid-select__check"
|
|
2385
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
2400
|
+
}, null, 8, ["icon"])) : s("", !0)], 42, Si))), 128))], 64))), 128)) : (x(), c("div", Ci, k(j(p).select.noResults), 1))], 40, bi)], 4)) : s("", !0)]),
|
|
2386
2401
|
_: 1
|
|
2387
|
-
})], 2));
|
|
2402
|
+
})]))], 2));
|
|
2388
2403
|
}
|
|
2389
|
-
}),
|
|
2404
|
+
}), Ti = [
|
|
2390
2405
|
"aria-expanded",
|
|
2391
2406
|
"aria-label",
|
|
2392
2407
|
"aria-disabled"
|
|
2393
|
-
],
|
|
2408
|
+
], Ei = { class: "uid-datepicker__suffix" }, Di = ["aria-label"], Oi = {
|
|
2394
2409
|
key: 0,
|
|
2395
2410
|
class: "uid-datepicker__panel",
|
|
2396
2411
|
role: "dialog",
|
|
2397
2412
|
"aria-label": "Выбор даты"
|
|
2398
|
-
},
|
|
2413
|
+
}, ki = { class: "uid-datepicker__nav" }, Ai = ["aria-label"], ji = { class: "uid-datepicker__month-label" }, Mi = ["aria-label"], Ni = [
|
|
2399
2414
|
"data-iso",
|
|
2400
2415
|
"tabindex",
|
|
2401
2416
|
"disabled",
|
|
2402
2417
|
"aria-current",
|
|
2403
2418
|
"aria-selected",
|
|
2404
2419
|
"onClick"
|
|
2405
|
-
],
|
|
2420
|
+
], Pi = /* @__PURE__ */ f({
|
|
2406
2421
|
__name: "UidDatePicker",
|
|
2407
2422
|
props: /* @__PURE__ */ m({
|
|
2408
2423
|
min: { default: void 0 },
|
|
@@ -2570,19 +2585,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2570
2585
|
"aria-disabled": n.disabled,
|
|
2571
2586
|
onClick: ee,
|
|
2572
2587
|
onKeydown: ie
|
|
2573
|
-
}, [l("span", { class: _(["uid-datepicker__value", { "uid-datepicker__value--placeholder": !m.value }]) }, k(m.value ? F.value : u.value), 3), l("div",
|
|
2588
|
+
}, [l("span", { class: _(["uid-datepicker__value", { "uid-datepicker__value--placeholder": !m.value }]) }, k(m.value ? F.value : u.value), 3), l("div", Ei, [m.value ? (x(), c("button", {
|
|
2574
2589
|
key: 0,
|
|
2575
2590
|
type: "button",
|
|
2576
2591
|
class: "uid-datepicker__clear",
|
|
2577
2592
|
"aria-label": j(o).common.clear,
|
|
2578
2593
|
onClick: q
|
|
2579
|
-
}, " × ", 8,
|
|
2594
|
+
}, " × ", 8, Di)) : s("", !0), d(e, {
|
|
2580
2595
|
icon: j(Y),
|
|
2581
2596
|
size: 16,
|
|
2582
2597
|
class: _(["uid-datepicker__chevron", { "uid-datepicker__chevron--open": h.value }]),
|
|
2583
2598
|
"aria-hidden": "true"
|
|
2584
|
-
}, null, 8, ["icon", "class"])])], 40,
|
|
2585
|
-
default: z(() => [h.value ? (x(), c("div",
|
|
2599
|
+
}, null, 8, ["icon", "class"])])], 40, Ti), d(r, { name: "uid-datepicker-panel" }, {
|
|
2600
|
+
default: z(() => [h.value ? (x(), c("div", Oi, [l("div", ki, [
|
|
2586
2601
|
l("button", {
|
|
2587
2602
|
type: "button",
|
|
2588
2603
|
class: "uid-datepicker__nav-btn",
|
|
@@ -2591,8 +2606,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2591
2606
|
}, [d(e, {
|
|
2592
2607
|
icon: j(re),
|
|
2593
2608
|
size: 16
|
|
2594
|
-
}, null, 8, ["icon"])], 8,
|
|
2595
|
-
l("span",
|
|
2609
|
+
}, null, 8, ["icon"])], 8, Ai),
|
|
2610
|
+
l("span", ji, k(f.value[O.value]) + " " + k(D.value), 1),
|
|
2596
2611
|
l("button", {
|
|
2597
2612
|
type: "button",
|
|
2598
2613
|
class: "uid-datepicker__nav-btn",
|
|
@@ -2601,7 +2616,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2601
2616
|
}, [d(e, {
|
|
2602
2617
|
icon: j(X),
|
|
2603
2618
|
size: 16
|
|
2604
|
-
}, null, 8, ["icon"])], 8,
|
|
2619
|
+
}, null, 8, ["icon"])], 8, Mi)
|
|
2605
2620
|
]), l("div", {
|
|
2606
2621
|
ref_key: "gridRef",
|
|
2607
2622
|
ref: S,
|
|
@@ -2625,11 +2640,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2625
2640
|
"aria-current": e.iso === L.value ? "date" : void 0,
|
|
2626
2641
|
"aria-selected": e.iso === m.value,
|
|
2627
2642
|
onClick: (t) => K(e)
|
|
2628
|
-
}, k(e.date.getDate()), 11,
|
|
2643
|
+
}, k(e.date.getDate()), 11, Ni))), 128))], 544)])) : s("", !0)]),
|
|
2629
2644
|
_: 1
|
|
2630
2645
|
})], 2));
|
|
2631
2646
|
}
|
|
2632
|
-
}),
|
|
2647
|
+
}), Fi = /* @__PURE__ */ f({
|
|
2633
2648
|
__name: "UidVirtualList",
|
|
2634
2649
|
props: {
|
|
2635
2650
|
items: {},
|
|
@@ -2671,17 +2686,17 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2671
2686
|
index: r
|
|
2672
2687
|
})], 4))), 128))], 4)], 4)], 36));
|
|
2673
2688
|
}
|
|
2674
|
-
}),
|
|
2689
|
+
}), Ii = {
|
|
2675
2690
|
key: 0,
|
|
2676
2691
|
class: "uid-slider__header"
|
|
2677
|
-
},
|
|
2692
|
+
}, Li = {
|
|
2678
2693
|
key: 0,
|
|
2679
2694
|
class: "uid-slider__label"
|
|
2680
|
-
},
|
|
2695
|
+
}, Ri = {
|
|
2681
2696
|
key: 1,
|
|
2682
2697
|
class: "uid-slider__value",
|
|
2683
2698
|
"aria-live": "polite"
|
|
2684
|
-
},
|
|
2699
|
+
}, zi = [
|
|
2685
2700
|
"min",
|
|
2686
2701
|
"max",
|
|
2687
2702
|
"step",
|
|
@@ -2690,7 +2705,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2690
2705
|
"aria-valuemin",
|
|
2691
2706
|
"aria-valuemax",
|
|
2692
2707
|
"aria-valuenow"
|
|
2693
|
-
],
|
|
2708
|
+
], Bi = /* @__PURE__ */ f({
|
|
2694
2709
|
__name: "UidSlider",
|
|
2695
2710
|
props: /* @__PURE__ */ m({
|
|
2696
2711
|
min: { default: 0 },
|
|
@@ -2716,7 +2731,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2716
2731
|
emits: ["update:modelValue"],
|
|
2717
2732
|
setup(e) {
|
|
2718
2733
|
let t = e, n = N(e, "modelValue"), r = a(() => (n.value - t.min) / (t.max - t.min) * 100), i = a(() => t.formatValue ? t.formatValue(n.value) : String(n.value));
|
|
2719
|
-
return (t, a) => (x(), c("div", { class: _(["uid-slider", { "uid-slider--disabled": e.disabled }]) }, [e.label || e.showValue ? (x(), c("div",
|
|
2734
|
+
return (t, a) => (x(), c("div", { class: _(["uid-slider", { "uid-slider--disabled": e.disabled }]) }, [e.label || e.showValue ? (x(), c("div", Ii, [e.label ? (x(), c("label", Li, k(e.label), 1)) : s("", !0), e.showValue ? (x(), c("span", Ri, k(i.value), 1)) : s("", !0)])) : s("", !0), B(l("input", {
|
|
2720
2735
|
"onUpdate:modelValue": a[0] ||= (e) => n.value = e,
|
|
2721
2736
|
class: "uid-slider__input",
|
|
2722
2737
|
type: "range",
|
|
@@ -2729,22 +2744,22 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2729
2744
|
"aria-valuemax": e.max,
|
|
2730
2745
|
"aria-valuenow": n.value,
|
|
2731
2746
|
style: v({ "--_fill": `${r.value}%` })
|
|
2732
|
-
}, null, 12,
|
|
2747
|
+
}, null, 12, zi), [[
|
|
2733
2748
|
I,
|
|
2734
2749
|
n.value,
|
|
2735
2750
|
void 0,
|
|
2736
2751
|
{ number: !0 }
|
|
2737
2752
|
]])], 2));
|
|
2738
2753
|
}
|
|
2739
|
-
}),
|
|
2754
|
+
}), Vi = ["aria-expanded", "aria-disabled"], Hi = {
|
|
2740
2755
|
key: 0,
|
|
2741
2756
|
class: "uid-colorpicker__panel",
|
|
2742
2757
|
role: "dialog",
|
|
2743
2758
|
"aria-label": "Выбор цвета"
|
|
2744
|
-
},
|
|
2759
|
+
}, Ui = { class: "uid-colorpicker__controls" }, Wi = { class: "uid-colorpicker__sliders" }, Gi = ["aria-valuenow"], Ki = ["aria-valuenow"], qi = { class: "uid-colorpicker__inputs" }, Ji = ["value"], Yi = {
|
|
2745
2760
|
key: 0,
|
|
2746
2761
|
class: "uid-colorpicker__presets"
|
|
2747
|
-
},
|
|
2762
|
+
}, Xi = ["aria-label", "onClick"], Zi = /* @__PURE__ */ f({
|
|
2748
2763
|
__name: "UidColorPicker",
|
|
2749
2764
|
props: /* @__PURE__ */ m({
|
|
2750
2765
|
disabled: {
|
|
@@ -2935,8 +2950,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2935
2950
|
}, [l("span", {
|
|
2936
2951
|
class: "uid-colorpicker__swatch",
|
|
2937
2952
|
style: v(u.value ? { background: u.value } : {})
|
|
2938
|
-
}, null, 4), l("span", { class: _(["uid-colorpicker__trigger-label", { "uid-colorpicker__trigger-label--empty": !u.value }]) }, k(u.value ? u.value.toUpperCase() : "Выберите цвет"), 3)], 8,
|
|
2939
|
-
default: z(() => [g.value ? (x(), c("div",
|
|
2953
|
+
}, null, 4), l("span", { class: _(["uid-colorpicker__trigger-label", { "uid-colorpicker__trigger-label--empty": !u.value }]) }, k(u.value ? u.value.toUpperCase() : "Выберите цвет"), 3)], 8, Vi), d(r, { name: "uid-colorpicker-panel" }, {
|
|
2954
|
+
default: z(() => [g.value ? (x(), c("div", Hi, [
|
|
2940
2955
|
l("div", {
|
|
2941
2956
|
ref_key: "gradientRef",
|
|
2942
2957
|
ref: S,
|
|
@@ -2956,7 +2971,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2956
2971
|
top: W.value
|
|
2957
2972
|
})
|
|
2958
2973
|
}, null, 4)], 36),
|
|
2959
|
-
l("div",
|
|
2974
|
+
l("div", Ui, [l("div", Wi, [l("div", {
|
|
2960
2975
|
ref_key: "hueSliderRef",
|
|
2961
2976
|
ref: C,
|
|
2962
2977
|
class: "uid-colorpicker__hue-track",
|
|
@@ -2973,7 +2988,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2973
2988
|
}, [l("div", {
|
|
2974
2989
|
class: "uid-colorpicker__track-thumb",
|
|
2975
2990
|
style: v({ left: G.value })
|
|
2976
|
-
}, null, 4)], 40,
|
|
2991
|
+
}, null, 4)], 40, Gi), e.alpha ? (x(), c("div", {
|
|
2977
2992
|
key: 0,
|
|
2978
2993
|
ref_key: "alphaSliderRef",
|
|
2979
2994
|
ref: E,
|
|
@@ -2992,11 +3007,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2992
3007
|
}, [l("div", {
|
|
2993
3008
|
class: "uid-colorpicker__track-thumb",
|
|
2994
3009
|
style: v({ left: ee.value })
|
|
2995
|
-
}, null, 4)], 44,
|
|
3010
|
+
}, null, 4)], 44, Ki)) : s("", !0)]), l("span", {
|
|
2996
3011
|
class: "uid-colorpicker__preview",
|
|
2997
3012
|
style: v({ background: q.value })
|
|
2998
3013
|
}, null, 4)]),
|
|
2999
|
-
l("div",
|
|
3014
|
+
l("div", qi, [i[0] ||= l("label", { class: "uid-colorpicker__input-label" }, "HEX", -1), l("input", {
|
|
3000
3015
|
class: "uid-colorpicker__hex-input",
|
|
3001
3016
|
type: "text",
|
|
3002
3017
|
value: D.value,
|
|
@@ -3005,37 +3020,37 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3005
3020
|
onInput: ue,
|
|
3006
3021
|
onBlur: de,
|
|
3007
3022
|
onKeydown: fe
|
|
3008
|
-
}, null, 40,
|
|
3009
|
-
e.presets && e.presets.length ? (x(), c("div",
|
|
3023
|
+
}, null, 40, Ji)]),
|
|
3024
|
+
e.presets && e.presets.length ? (x(), c("div", Yi, [(x(!0), c(t, null, T(e.presets, (e) => (x(), c("button", {
|
|
3010
3025
|
key: e,
|
|
3011
3026
|
type: "button",
|
|
3012
3027
|
class: _(["uid-colorpicker__preset", { "uid-colorpicker__preset--active": u.value === e || u.value === e.toLowerCase() || u.value?.toUpperCase() === e.toUpperCase() }]),
|
|
3013
3028
|
style: v({ background: e }),
|
|
3014
3029
|
"aria-label": e,
|
|
3015
3030
|
onClick: (t) => _e(e)
|
|
3016
|
-
}, null, 14,
|
|
3031
|
+
}, null, 14, Xi))), 128))])) : s("", !0)
|
|
3017
3032
|
])) : s("", !0)]),
|
|
3018
3033
|
_: 1
|
|
3019
3034
|
})], 2));
|
|
3020
3035
|
}
|
|
3021
|
-
}),
|
|
3036
|
+
}), Qi = { class: "uid-command__search" }, $i = ["placeholder"], ea = {
|
|
3022
3037
|
key: 0,
|
|
3023
3038
|
class: "uid-command__group-label"
|
|
3024
|
-
},
|
|
3039
|
+
}, ta = [
|
|
3025
3040
|
"data-active",
|
|
3026
3041
|
"aria-selected",
|
|
3027
3042
|
"onClick",
|
|
3028
3043
|
"onMouseenter"
|
|
3029
|
-
],
|
|
3044
|
+
], na = { class: "uid-command__item-text" }, ra = { class: "uid-command__item-label" }, ia = {
|
|
3030
3045
|
key: 0,
|
|
3031
3046
|
class: "uid-command__item-desc"
|
|
3032
|
-
},
|
|
3047
|
+
}, aa = {
|
|
3033
3048
|
key: 0,
|
|
3034
3049
|
class: "uid-command__item-shortcut"
|
|
3035
|
-
},
|
|
3050
|
+
}, oa = {
|
|
3036
3051
|
key: 1,
|
|
3037
3052
|
class: "uid-command__empty"
|
|
3038
|
-
},
|
|
3053
|
+
}, sa = /* @__PURE__ */ f({
|
|
3039
3054
|
__name: "UidCommand",
|
|
3040
3055
|
props: /* @__PURE__ */ m({
|
|
3041
3056
|
commands: {},
|
|
@@ -3105,7 +3120,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3105
3120
|
"aria-modal": "true",
|
|
3106
3121
|
"aria-label": "Палитра команд",
|
|
3107
3122
|
onKeydown: V
|
|
3108
|
-
}, [l("div",
|
|
3123
|
+
}, [l("div", Qi, [d(e, {
|
|
3109
3124
|
icon: j(fe),
|
|
3110
3125
|
size: 16,
|
|
3111
3126
|
class: "uid-command__search-icon",
|
|
@@ -3120,12 +3135,12 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3120
3135
|
autocomplete: "off",
|
|
3121
3136
|
spellcheck: "false",
|
|
3122
3137
|
"aria-autocomplete": "list"
|
|
3123
|
-
}, null, 8,
|
|
3138
|
+
}, null, 8, $i), [[I, p.value]])]), l("div", {
|
|
3124
3139
|
ref_key: "listRef",
|
|
3125
3140
|
ref: S,
|
|
3126
3141
|
class: "uid-command__list",
|
|
3127
3142
|
role: "listbox"
|
|
3128
|
-
}, [A.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(M.value, ([e, n]) => (x(), c(t, { key: e }, [e ? (x(), c("div",
|
|
3143
|
+
}, [A.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(M.value, ([e, n]) => (x(), c(t, { key: e }, [e ? (x(), c("div", ea, k(e), 1)) : s("", !0), (x(!0), c(t, null, T(n, (e) => (x(), c("button", {
|
|
3129
3144
|
key: e.id,
|
|
3130
3145
|
class: _(["uid-command__item", { "uid-command__item--active": A.value.indexOf(e) === m.value }]),
|
|
3131
3146
|
"data-active": A.value.indexOf(e) === m.value ? "true" : void 0,
|
|
@@ -3134,18 +3149,18 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3134
3149
|
type: "button",
|
|
3135
3150
|
onClick: (t) => F(e),
|
|
3136
3151
|
onMouseenter: (t) => m.value = A.value.indexOf(e)
|
|
3137
|
-
}, [l("div",
|
|
3152
|
+
}, [l("div", na, [l("span", ra, k(e.label), 1), e.description ? (x(), c("span", ia, k(e.description), 1)) : s("", !0)]), e.shortcut ? (x(), c("div", aa, [(x(!0), c(t, null, T(e.shortcut, (e) => (x(), c("kbd", {
|
|
3138
3153
|
key: e,
|
|
3139
3154
|
class: "uid-command__kbd"
|
|
3140
|
-
}, k(e), 1))), 128))])) : s("", !0)], 42,
|
|
3155
|
+
}, k(e), 1))), 128))])) : s("", !0)], 42, ta))), 128))], 64))), 128)) : (x(), c("div", oa, k(i.emptyText), 1))], 512)], 544)])) : s("", !0)]),
|
|
3141
3156
|
_: 1
|
|
3142
3157
|
})]));
|
|
3143
3158
|
}
|
|
3144
|
-
}),
|
|
3159
|
+
}), ca = ["for"], la = {
|
|
3145
3160
|
key: 0,
|
|
3146
3161
|
class: "uid-number-input__required",
|
|
3147
3162
|
"aria-hidden": "true"
|
|
3148
|
-
},
|
|
3163
|
+
}, ua = { class: "uid-number-input__control" }, da = ["disabled", "aria-label"], fa = [
|
|
3149
3164
|
"id",
|
|
3150
3165
|
"name",
|
|
3151
3166
|
"placeholder",
|
|
@@ -3158,7 +3173,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3158
3173
|
"value",
|
|
3159
3174
|
"aria-invalid",
|
|
3160
3175
|
"aria-describedby"
|
|
3161
|
-
],
|
|
3176
|
+
], pa = ["disabled", "aria-label"], ma = ["id"], ha = /* @__PURE__ */ f({
|
|
3162
3177
|
__name: "UidNumberInput",
|
|
3163
3178
|
props: /* @__PURE__ */ m({
|
|
3164
3179
|
min: { default: void 0 },
|
|
@@ -3251,8 +3266,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3251
3266
|
key: 0,
|
|
3252
3267
|
for: j(h),
|
|
3253
3268
|
class: "uid-number-input__label"
|
|
3254
|
-
}, [u(k(t.label) + " ", 1), t.required ? (x(), c("span",
|
|
3255
|
-
l("div",
|
|
3269
|
+
}, [u(k(t.label) + " ", 1), t.required ? (x(), c("span", la, "*")) : s("", !0)], 8, ca)) : s("", !0),
|
|
3270
|
+
l("div", ua, [
|
|
3256
3271
|
t.controls ? (x(), c("button", {
|
|
3257
3272
|
key: 0,
|
|
3258
3273
|
type: "button",
|
|
@@ -3264,7 +3279,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3264
3279
|
}, [d(e, {
|
|
3265
3280
|
icon: j(ue),
|
|
3266
3281
|
size: 14
|
|
3267
|
-
}, null, 8, ["icon"])], 8,
|
|
3282
|
+
}, null, 8, ["icon"])], 8, da)) : s("", !0),
|
|
3268
3283
|
l("input", {
|
|
3269
3284
|
id: j(h),
|
|
3270
3285
|
class: "uid-number-input__input",
|
|
@@ -3285,7 +3300,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3285
3300
|
onBlur: O,
|
|
3286
3301
|
onFocus: r[0] ||= (e) => i("focus", e),
|
|
3287
3302
|
onKeydown: A
|
|
3288
|
-
}, null, 40,
|
|
3303
|
+
}, null, 40, fa),
|
|
3289
3304
|
t.controls ? (x(), c("button", {
|
|
3290
3305
|
key: 1,
|
|
3291
3306
|
type: "button",
|
|
@@ -3297,37 +3312,37 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3297
3312
|
}, [d(e, {
|
|
3298
3313
|
icon: j(de),
|
|
3299
3314
|
size: 14
|
|
3300
|
-
}, null, 8, ["icon"])], 8,
|
|
3315
|
+
}, null, 8, ["icon"])], 8, pa)) : s("", !0)
|
|
3301
3316
|
]),
|
|
3302
3317
|
v.value ? (x(), c("p", {
|
|
3303
3318
|
key: 1,
|
|
3304
3319
|
id: `${j(h)}-hint`,
|
|
3305
3320
|
class: _(["uid-number-input__hint", g.value && "uid-number-input__hint--error"])
|
|
3306
|
-
}, k(v.value), 11,
|
|
3321
|
+
}, k(v.value), 11, ma)) : s("", !0)
|
|
3307
3322
|
], 2));
|
|
3308
3323
|
}
|
|
3309
|
-
}),
|
|
3324
|
+
}), ga = [
|
|
3310
3325
|
"aria-expanded",
|
|
3311
3326
|
"aria-label",
|
|
3312
3327
|
"aria-disabled"
|
|
3313
|
-
],
|
|
3328
|
+
], _a = ["aria-label"], va = {
|
|
3314
3329
|
key: 0,
|
|
3315
3330
|
class: "uid-timepicker__panel",
|
|
3316
3331
|
role: "dialog",
|
|
3317
3332
|
"aria-label": "Выбор времени"
|
|
3318
|
-
},
|
|
3333
|
+
}, ya = { class: "uid-timepicker__columns" }, ba = [
|
|
3319
3334
|
"aria-selected",
|
|
3320
3335
|
"tabindex",
|
|
3321
3336
|
"onClick"
|
|
3322
|
-
],
|
|
3337
|
+
], xa = [
|
|
3323
3338
|
"aria-selected",
|
|
3324
3339
|
"tabindex",
|
|
3325
3340
|
"onClick"
|
|
3326
|
-
],
|
|
3341
|
+
], Sa = [
|
|
3327
3342
|
"aria-selected",
|
|
3328
3343
|
"tabindex",
|
|
3329
3344
|
"onClick"
|
|
3330
|
-
],
|
|
3345
|
+
], Ca = { class: "uid-timepicker__footer" }, wa = /* @__PURE__ */ f({
|
|
3331
3346
|
__name: "UidTimePicker",
|
|
3332
3347
|
props: /* @__PURE__ */ m({
|
|
3333
3348
|
step: { default: 5 },
|
|
@@ -3522,9 +3537,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3522
3537
|
class: "uid-timepicker__clear",
|
|
3523
3538
|
"aria-label": j(u).common.clear,
|
|
3524
3539
|
onClick: te
|
|
3525
|
-
}, " × ", 8,
|
|
3526
|
-
], 40,
|
|
3527
|
-
default: z(() => [h.value ? (x(), c("div",
|
|
3540
|
+
}, " × ", 8, _a)) : s("", !0)
|
|
3541
|
+
], 40, ga), d(r, { name: "uid-timepicker-panel" }, {
|
|
3542
|
+
default: z(() => [h.value ? (x(), c("div", va, [l("div", ya, [
|
|
3528
3543
|
l("div", {
|
|
3529
3544
|
ref_key: "hourColRef",
|
|
3530
3545
|
ref: S,
|
|
@@ -3540,7 +3555,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3540
3555
|
"aria-selected": A.value.h === e,
|
|
3541
3556
|
tabindex: A.value.h === e ? 0 : -1,
|
|
3542
3557
|
onClick: (t) => U(e)
|
|
3543
|
-
}, k(L(e)), 11,
|
|
3558
|
+
}, k(L(e)), 11, ba))), 128))], 544),
|
|
3544
3559
|
l("div", {
|
|
3545
3560
|
ref_key: "minuteColRef",
|
|
3546
3561
|
ref: C,
|
|
@@ -3556,7 +3571,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3556
3571
|
"aria-selected": A.value.m === e,
|
|
3557
3572
|
tabindex: A.value.m === e ? 0 : -1,
|
|
3558
3573
|
onClick: (t) => W(e)
|
|
3559
|
-
}, k(L(e)), 11,
|
|
3574
|
+
}, k(L(e)), 11, xa))), 128))], 544),
|
|
3560
3575
|
n.withSeconds ? (x(), c("div", {
|
|
3561
3576
|
key: 0,
|
|
3562
3577
|
ref_key: "secondColRef",
|
|
@@ -3573,8 +3588,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3573
3588
|
"aria-selected": A.value.s === e,
|
|
3574
3589
|
tabindex: A.value.s === e ? 0 : -1,
|
|
3575
3590
|
onClick: (t) => G(e)
|
|
3576
|
-
}, k(L(e)), 11,
|
|
3577
|
-
]), l("div",
|
|
3591
|
+
}, k(L(e)), 11, Sa))), 128))], 544)) : s("", !0)
|
|
3592
|
+
]), l("div", Ca, [l("button", {
|
|
3578
3593
|
type: "button",
|
|
3579
3594
|
class: "uid-timepicker__btn",
|
|
3580
3595
|
onClick: K
|
|
@@ -3586,24 +3601,24 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3586
3601
|
_: 1
|
|
3587
3602
|
})], 2));
|
|
3588
3603
|
}
|
|
3589
|
-
}),
|
|
3604
|
+
}), Ta = [
|
|
3590
3605
|
"aria-expanded",
|
|
3591
3606
|
"aria-label",
|
|
3592
3607
|
"aria-disabled"
|
|
3593
|
-
],
|
|
3608
|
+
], Ea = ["aria-label"], Da = {
|
|
3594
3609
|
key: 0,
|
|
3595
3610
|
class: "uid-daterange__panel",
|
|
3596
3611
|
role: "dialog",
|
|
3597
3612
|
"aria-label": "Выбор диапазона дат"
|
|
3598
|
-
},
|
|
3613
|
+
}, Oa = { class: "uid-daterange__months" }, ka = { class: "uid-daterange__month" }, Aa = { class: "uid-daterange__nav" }, ja = ["aria-label"], Ma = { class: "uid-daterange__month-label" }, Na = ["aria-label"], Pa = { class: "uid-daterange__grid" }, Fa = [
|
|
3599
3614
|
"disabled",
|
|
3600
3615
|
"onClick",
|
|
3601
3616
|
"onMouseenter"
|
|
3602
|
-
],
|
|
3617
|
+
], Ia = { class: "uid-daterange__month" }, La = { class: "uid-daterange__nav" }, Ra = ["aria-label"], za = { class: "uid-daterange__month-label" }, Ba = ["aria-label"], Va = { class: "uid-daterange__grid" }, Ha = [
|
|
3603
3618
|
"disabled",
|
|
3604
3619
|
"onClick",
|
|
3605
3620
|
"onMouseenter"
|
|
3606
|
-
],
|
|
3621
|
+
], Ua = { class: "uid-daterange__footer" }, Wa = /* @__PURE__ */ f({
|
|
3607
3622
|
__name: "UidDateRangePicker",
|
|
3608
3623
|
props: /* @__PURE__ */ m({
|
|
3609
3624
|
min: { default: void 0 },
|
|
@@ -3798,9 +3813,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3798
3813
|
class: "uid-daterange__clear",
|
|
3799
3814
|
"aria-label": j(u).common.clear,
|
|
3800
3815
|
onClick: ce
|
|
3801
|
-
}, " × ", 8,
|
|
3802
|
-
], 40,
|
|
3803
|
-
default: z(() => [h.value ? (x(), c("div",
|
|
3816
|
+
}, " × ", 8, Ea)) : s("", !0)
|
|
3817
|
+
], 40, Ta), d(r, { name: "uid-daterange-panel" }, {
|
|
3818
|
+
default: z(() => [h.value ? (x(), c("div", Da, [l("div", Oa, [l("div", ka, [l("div", Aa, [
|
|
3804
3819
|
l("button", {
|
|
3805
3820
|
type: "button",
|
|
3806
3821
|
class: "uid-daterange__nav-btn uid-daterange__nav-btn--prev",
|
|
@@ -3809,8 +3824,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3809
3824
|
}, [d(e, {
|
|
3810
3825
|
icon: j(re),
|
|
3811
3826
|
size: 16
|
|
3812
|
-
}, null, 8, ["icon"])], 8,
|
|
3813
|
-
l("span",
|
|
3827
|
+
}, null, 8, ["icon"])], 8, ja),
|
|
3828
|
+
l("span", Ma, k(H.value), 1),
|
|
3814
3829
|
l("button", {
|
|
3815
3830
|
type: "button",
|
|
3816
3831
|
class: "uid-daterange__nav-btn uid-daterange__nav-btn--next",
|
|
@@ -3819,8 +3834,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3819
3834
|
}, [d(e, {
|
|
3820
3835
|
icon: j(X),
|
|
3821
3836
|
size: 16
|
|
3822
|
-
}, null, 8, ["icon"])], 8,
|
|
3823
|
-
]), l("div",
|
|
3837
|
+
}, null, 8, ["icon"])], 8, Na)
|
|
3838
|
+
]), l("div", Pa, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
|
|
3824
3839
|
key: e,
|
|
3825
3840
|
class: "uid-daterange__weekday"
|
|
3826
3841
|
}, k(e), 1))), 128)), (x(!0), c(t, null, T(B.value, (e) => (x(), c("button", {
|
|
@@ -3837,7 +3852,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3837
3852
|
disabled: G(e.iso) || !e.current,
|
|
3838
3853
|
onClick: (t) => ie(e),
|
|
3839
3854
|
onMouseenter: (t) => ae(e.iso)
|
|
3840
|
-
}, k(e.date.getDate()), 43,
|
|
3855
|
+
}, k(e.date.getDate()), 43, Fa))), 128))])]), l("div", Ia, [l("div", La, [
|
|
3841
3856
|
l("button", {
|
|
3842
3857
|
type: "button",
|
|
3843
3858
|
class: "uid-daterange__nav-btn uid-daterange__nav-btn--prev",
|
|
@@ -3846,8 +3861,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3846
3861
|
}, [d(e, {
|
|
3847
3862
|
icon: j(re),
|
|
3848
3863
|
size: 16
|
|
3849
|
-
}, null, 8, ["icon"])], 8,
|
|
3850
|
-
l("span",
|
|
3864
|
+
}, null, 8, ["icon"])], 8, Ra),
|
|
3865
|
+
l("span", za, k(U.value), 1),
|
|
3851
3866
|
l("button", {
|
|
3852
3867
|
type: "button",
|
|
3853
3868
|
class: "uid-daterange__nav-btn uid-daterange__nav-btn--next",
|
|
@@ -3856,8 +3871,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3856
3871
|
}, [d(e, {
|
|
3857
3872
|
icon: j(X),
|
|
3858
3873
|
size: 16
|
|
3859
|
-
}, null, 8, ["icon"])], 8,
|
|
3860
|
-
]), l("div",
|
|
3874
|
+
}, null, 8, ["icon"])], 8, Ba)
|
|
3875
|
+
]), l("div", Va, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
|
|
3861
3876
|
key: e,
|
|
3862
3877
|
class: "uid-daterange__weekday"
|
|
3863
3878
|
}, k(e), 1))), 128)), (x(!0), c(t, null, T(V.value, (e) => (x(), c("button", {
|
|
@@ -3874,7 +3889,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3874
3889
|
disabled: G(e.iso) || !e.current,
|
|
3875
3890
|
onClick: (t) => ie(e),
|
|
3876
3891
|
onMouseenter: (t) => ae(e.iso)
|
|
3877
|
-
}, k(e.date.getDate()), 43,
|
|
3892
|
+
}, k(e.date.getDate()), 43, Ha))), 128))])])]), l("div", Ua, [
|
|
3878
3893
|
l("button", {
|
|
3879
3894
|
type: "button",
|
|
3880
3895
|
class: "uid-daterange__btn",
|
|
@@ -3894,11 +3909,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3894
3909
|
_: 1
|
|
3895
3910
|
})], 2));
|
|
3896
3911
|
}
|
|
3897
|
-
}),
|
|
3912
|
+
}), Ga = ["for"], Ka = {
|
|
3898
3913
|
key: 0,
|
|
3899
3914
|
class: "uid-tags-input__required",
|
|
3900
3915
|
"aria-hidden": "true"
|
|
3901
|
-
},
|
|
3916
|
+
}, qa = ["aria-label", "onClick"], Ja = [
|
|
3902
3917
|
"id",
|
|
3903
3918
|
"placeholder",
|
|
3904
3919
|
"disabled",
|
|
@@ -3906,7 +3921,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3906
3921
|
"value",
|
|
3907
3922
|
"aria-invalid",
|
|
3908
3923
|
"aria-describedby"
|
|
3909
|
-
],
|
|
3924
|
+
], Ya = ["id"], Xa = /* @__PURE__ */ f({
|
|
3910
3925
|
__name: "UidTagsInput",
|
|
3911
3926
|
props: /* @__PURE__ */ m({
|
|
3912
3927
|
separators: { default: () => [",", "Enter"] },
|
|
@@ -4007,7 +4022,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4007
4022
|
key: 0,
|
|
4008
4023
|
for: j(p),
|
|
4009
4024
|
class: "uid-tags-input__label"
|
|
4010
|
-
}, [u(k(e.label) + " ", 1), e.required ? (x(), c("span",
|
|
4025
|
+
}, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", Ka, "*")) : s("", !0)], 8, Ga)) : s("", !0),
|
|
4011
4026
|
l("div", {
|
|
4012
4027
|
class: "uid-tags-input__control",
|
|
4013
4028
|
role: "list",
|
|
@@ -4022,7 +4037,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4022
4037
|
class: "uid-tags-input__chip-remove",
|
|
4023
4038
|
"aria-label": j(m).tagsInput.remove(t),
|
|
4024
4039
|
onClick: H((e) => S(n), ["stop"])
|
|
4025
|
-
}, "×", 8,
|
|
4040
|
+
}, "×", 8, qa))], 2))), 128)), l("input", {
|
|
4026
4041
|
id: j(p),
|
|
4027
4042
|
ref_key: "inputRef",
|
|
4028
4043
|
ref: f,
|
|
@@ -4038,19 +4053,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4038
4053
|
onKeydown: C,
|
|
4039
4054
|
onPaste: D,
|
|
4040
4055
|
onBlur: b
|
|
4041
|
-
}, null, 40,
|
|
4056
|
+
}, null, 40, Ja)]),
|
|
4042
4057
|
g.value ? (x(), c("p", {
|
|
4043
4058
|
key: 1,
|
|
4044
4059
|
id: `${j(p)}-hint`,
|
|
4045
4060
|
class: _(["uid-tags-input__hint", h.value && "uid-tags-input__hint--error"])
|
|
4046
|
-
}, k(g.value), 11,
|
|
4061
|
+
}, k(g.value), 11, Ya)) : s("", !0)
|
|
4047
4062
|
], 2));
|
|
4048
4063
|
}
|
|
4049
|
-
}),
|
|
4064
|
+
}), Za = ["for"], Qa = {
|
|
4050
4065
|
key: 0,
|
|
4051
4066
|
class: "uid-combobox__required",
|
|
4052
4067
|
"aria-hidden": "true"
|
|
4053
|
-
},
|
|
4068
|
+
}, $a = { class: "uid-combobox__control" }, eo = [
|
|
4054
4069
|
"id",
|
|
4055
4070
|
"aria-expanded",
|
|
4056
4071
|
"aria-controls",
|
|
@@ -4060,20 +4075,20 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4060
4075
|
"disabled",
|
|
4061
4076
|
"required",
|
|
4062
4077
|
"value"
|
|
4063
|
-
],
|
|
4078
|
+
], to = { class: "uid-combobox__suffix" }, no = ["aria-label"], ro = ["id"], io = [
|
|
4064
4079
|
"id",
|
|
4065
4080
|
"data-active",
|
|
4066
4081
|
"aria-selected",
|
|
4067
4082
|
"aria-disabled",
|
|
4068
4083
|
"onClick",
|
|
4069
4084
|
"onMouseenter"
|
|
4070
|
-
],
|
|
4085
|
+
], ao = { class: "uid-combobox__option-label" }, oo = {
|
|
4071
4086
|
key: 0,
|
|
4072
4087
|
class: "uid-combobox__option-hint"
|
|
4073
|
-
},
|
|
4088
|
+
}, so = ["id", "data-active"], co = { class: "uid-combobox__option-label" }, lo = {
|
|
4074
4089
|
key: 2,
|
|
4075
4090
|
class: "uid-combobox__empty"
|
|
4076
|
-
},
|
|
4091
|
+
}, uo = /* @__PURE__ */ f({
|
|
4077
4092
|
__name: "UidCombobox",
|
|
4078
4093
|
props: /* @__PURE__ */ m({
|
|
4079
4094
|
options: {},
|
|
@@ -4199,8 +4214,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4199
4214
|
key: 0,
|
|
4200
4215
|
for: j(A),
|
|
4201
4216
|
class: "uid-combobox__label"
|
|
4202
|
-
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span",
|
|
4203
|
-
l("div",
|
|
4217
|
+
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", Qa, "*")) : s("", !0)], 8, Za)) : s("", !0),
|
|
4218
|
+
l("div", $a, [l("input", {
|
|
4204
4219
|
id: j(A),
|
|
4205
4220
|
ref_key: "inputRef",
|
|
4206
4221
|
ref: D,
|
|
@@ -4221,7 +4236,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4221
4236
|
onInput: ee,
|
|
4222
4237
|
onFocus: K,
|
|
4223
4238
|
onKeydown: te
|
|
4224
|
-
}, null, 40,
|
|
4239
|
+
}, null, 40, eo), l("div", to, [n.clearable && v.value !== null ? (x(), c("button", {
|
|
4225
4240
|
key: 0,
|
|
4226
4241
|
type: "button",
|
|
4227
4242
|
class: "uid-combobox__clear",
|
|
@@ -4230,7 +4245,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4230
4245
|
}, [d(e, {
|
|
4231
4246
|
icon: j(_e),
|
|
4232
4247
|
size: 12
|
|
4233
|
-
}, null, 8, ["icon"])], 8,
|
|
4248
|
+
}, null, 8, ["icon"])], 8, no)) : s("", !0), d(e, {
|
|
4234
4249
|
icon: j(Y),
|
|
4235
4250
|
size: 16,
|
|
4236
4251
|
class: _(["uid-combobox__chevron", { "uid-combobox__chevron--open": y.value }]),
|
|
@@ -4261,8 +4276,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4261
4276
|
onClick: (e) => U(t),
|
|
4262
4277
|
onMouseenter: (e) => !t.disabled && (C.value = n)
|
|
4263
4278
|
}, [
|
|
4264
|
-
l("span",
|
|
4265
|
-
t.hint ? (x(), c("span",
|
|
4279
|
+
l("span", ao, k(t.label), 1),
|
|
4280
|
+
t.hint ? (x(), c("span", oo, k(t.hint), 1)) : s("", !0),
|
|
4266
4281
|
t.value === v.value ? (x(), o(e, {
|
|
4267
4282
|
key: 1,
|
|
4268
4283
|
icon: j(q),
|
|
@@ -4270,7 +4285,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4270
4285
|
class: "uid-combobox__check",
|
|
4271
4286
|
"aria-hidden": "true"
|
|
4272
4287
|
}, null, 8, ["icon"])) : s("", !0)
|
|
4273
|
-
], 42,
|
|
4288
|
+
], 42, io))), 128)) : s("", !0),
|
|
4274
4289
|
L.value ? (x(), c("button", {
|
|
4275
4290
|
key: 1,
|
|
4276
4291
|
id: `${j(P)}-${I.value.length}`,
|
|
@@ -4280,38 +4295,38 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4280
4295
|
"data-active": C.value === I.value.length ? "true" : void 0,
|
|
4281
4296
|
onClick: W,
|
|
4282
4297
|
onMouseenter: i[0] ||= (e) => C.value = I.value.length
|
|
4283
|
-
}, [l("span",
|
|
4284
|
-
I.value.length === 0 && !L.value ? (x(), c("div",
|
|
4285
|
-
], 8,
|
|
4298
|
+
}, [l("span", co, k(j(f).combobox.create(S.value)), 1)], 42, so)) : s("", !0),
|
|
4299
|
+
I.value.length === 0 && !L.value ? (x(), c("div", lo, k(m.value), 1)) : s("", !0)
|
|
4300
|
+
], 8, ro)) : s("", !0),
|
|
4286
4301
|
B.value ? (x(), c("p", {
|
|
4287
4302
|
key: 2,
|
|
4288
4303
|
class: _(["uid-combobox__hint", z.value && "uid-combobox__hint--error"])
|
|
4289
4304
|
}, k(B.value), 3)) : s("", !0)
|
|
4290
4305
|
], 2));
|
|
4291
4306
|
}
|
|
4292
|
-
}),
|
|
4307
|
+
}), fo = Symbol("UidTree"), po = [
|
|
4293
4308
|
"aria-expanded",
|
|
4294
4309
|
"aria-selected",
|
|
4295
4310
|
"aria-disabled"
|
|
4296
|
-
],
|
|
4311
|
+
], mo = ["tabindex"], ho = ["aria-label"], go = {
|
|
4297
4312
|
key: 1,
|
|
4298
4313
|
class: "uid-tree-item__chevron uid-tree-item__chevron--placeholder",
|
|
4299
4314
|
"aria-hidden": "true"
|
|
4300
|
-
},
|
|
4315
|
+
}, _o = ["aria-checked"], vo = {
|
|
4301
4316
|
key: 3,
|
|
4302
4317
|
class: "uid-tree-item__icon"
|
|
4303
|
-
},
|
|
4318
|
+
}, yo = { class: "uid-tree-item__label" }, bo = {
|
|
4304
4319
|
key: 0,
|
|
4305
4320
|
class: "uid-tree-item__children",
|
|
4306
4321
|
role: "group"
|
|
4307
|
-
},
|
|
4322
|
+
}, xo = /* @__PURE__ */ f({
|
|
4308
4323
|
__name: "UidTreeItem",
|
|
4309
4324
|
props: {
|
|
4310
4325
|
node: {},
|
|
4311
4326
|
level: {}
|
|
4312
4327
|
},
|
|
4313
4328
|
setup(n) {
|
|
4314
|
-
let r = n, i = p(
|
|
4329
|
+
let r = n, i = p(fo);
|
|
4315
4330
|
if (!i) throw Error("UidTreeItem must be used inside UidTree");
|
|
4316
4331
|
let u = i, f = $(), m = w(null), h = a(() => !!r.node.children && r.node.children.length > 0), y = a(() => u.isExpanded(r.node.key)), b = a(() => u.isSelected(r.node.key)), S = a(() => u.isChecked(r.node.key)), C = a(() => u.isIndeterminate(r.node.key)), E = a(() => u.disabled.value || !!r.node.disabled), O = a(() => u.focusedKey.value === r.node.key), A = a(() => E.value ? -1 : O.value || u.focusedKey.value === null && u.isFirst(r.node.key) ? 0 : -1);
|
|
4317
4332
|
R(O, (e) => {
|
|
@@ -4373,7 +4388,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4373
4388
|
}, [d(e, {
|
|
4374
4389
|
icon: j(X),
|
|
4375
4390
|
size: 14
|
|
4376
|
-
}, null, 8, ["icon"])], 10,
|
|
4391
|
+
}, null, 8, ["icon"])], 10, ho)) : (x(), c("span", go)),
|
|
4377
4392
|
j(u).checkable.value ? (x(), c("span", {
|
|
4378
4393
|
key: 2,
|
|
4379
4394
|
class: _(["uid-tree-item__check", {
|
|
@@ -4387,20 +4402,20 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4387
4402
|
key: 0,
|
|
4388
4403
|
icon: j(q),
|
|
4389
4404
|
size: 12
|
|
4390
|
-
}, null, 8, ["icon"])) : s("", !0)], 10,
|
|
4391
|
-
n.node.icon ? (x(), c("span",
|
|
4405
|
+
}, null, 8, ["icon"])) : s("", !0)], 10, _o)) : s("", !0),
|
|
4406
|
+
n.node.icon ? (x(), c("span", vo, [d(e, {
|
|
4392
4407
|
icon: n.node.icon,
|
|
4393
4408
|
size: 16
|
|
4394
4409
|
}, null, 8, ["icon"])])) : s("", !0),
|
|
4395
|
-
l("span",
|
|
4396
|
-
], 44,
|
|
4410
|
+
l("span", yo, k(n.node.label), 1)
|
|
4411
|
+
], 44, mo), h.value && y.value ? (x(), c("ul", bo, [(x(!0), c(t, null, T(n.node.children, (e) => (x(), o(a, {
|
|
4397
4412
|
key: e.key,
|
|
4398
4413
|
node: e,
|
|
4399
4414
|
level: n.level + 1
|
|
4400
|
-
}, null, 8, ["node", "level"]))), 128))])) : s("", !0)], 10,
|
|
4415
|
+
}, null, 8, ["node", "level"]))), 128))])) : s("", !0)], 10, po);
|
|
4401
4416
|
};
|
|
4402
4417
|
}
|
|
4403
|
-
}),
|
|
4418
|
+
}), So = /* @__PURE__ */ f({
|
|
4404
4419
|
__name: "UidTreeView",
|
|
4405
4420
|
props: /* @__PURE__ */ m({
|
|
4406
4421
|
nodes: {},
|
|
@@ -4543,7 +4558,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4543
4558
|
function P(e) {
|
|
4544
4559
|
return O.value.get(e) ?? null;
|
|
4545
4560
|
}
|
|
4546
|
-
return S(
|
|
4561
|
+
return S(fo, {
|
|
4547
4562
|
selectable: a(() => r.selectable),
|
|
4548
4563
|
checkable: a(() => r.checkable),
|
|
4549
4564
|
disabled: a(() => r.disabled),
|
|
@@ -4566,13 +4581,13 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4566
4581
|
}), (n, r) => (x(), c("ul", {
|
|
4567
4582
|
class: _(["uid-tree", { "uid-tree--guides": e.showGuides }]),
|
|
4568
4583
|
role: "tree"
|
|
4569
|
-
}, [(x(!0), c(t, null, T(e.nodes, (e) => (x(), o(
|
|
4584
|
+
}, [(x(!0), c(t, null, T(e.nodes, (e) => (x(), o(xo, {
|
|
4570
4585
|
key: e.key,
|
|
4571
4586
|
node: e,
|
|
4572
4587
|
level: 0
|
|
4573
4588
|
}, null, 8, ["node"]))), 128))], 2));
|
|
4574
4589
|
}
|
|
4575
|
-
}),
|
|
4590
|
+
}), Co = /* @__PURE__ */ f({
|
|
4576
4591
|
__name: "UidTimeline",
|
|
4577
4592
|
props: { alternate: {
|
|
4578
4593
|
type: Boolean,
|
|
@@ -4581,19 +4596,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4581
4596
|
setup(e) {
|
|
4582
4597
|
return (t, n) => (x(), c("ol", { class: _(["uid-timeline", { "uid-timeline--alternate": e.alternate }]) }, [E(t.$slots, "default")], 2));
|
|
4583
4598
|
}
|
|
4584
|
-
}),
|
|
4599
|
+
}), wo = { class: "uid-timeline-item__rail" }, To = { class: "uid-timeline-item__marker" }, Eo = { class: "uid-timeline-item__content" }, Do = {
|
|
4585
4600
|
key: 0,
|
|
4586
4601
|
class: "uid-timeline-item__time"
|
|
4587
|
-
},
|
|
4602
|
+
}, Oo = {
|
|
4588
4603
|
key: 1,
|
|
4589
4604
|
class: "uid-timeline-item__title"
|
|
4590
|
-
},
|
|
4605
|
+
}, ko = {
|
|
4591
4606
|
key: 2,
|
|
4592
4607
|
class: "uid-timeline-item__description"
|
|
4593
|
-
},
|
|
4608
|
+
}, Ao = {
|
|
4594
4609
|
key: 3,
|
|
4595
4610
|
class: "uid-timeline-item__description"
|
|
4596
|
-
},
|
|
4611
|
+
}, jo = /* @__PURE__ */ f({
|
|
4597
4612
|
__name: "UidTimelineItem",
|
|
4598
4613
|
props: {
|
|
4599
4614
|
title: {},
|
|
@@ -4603,37 +4618,37 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4603
4618
|
icon: {}
|
|
4604
4619
|
},
|
|
4605
4620
|
setup(t) {
|
|
4606
|
-
return (n, r) => (x(), c("li", { class: _(["uid-timeline-item", [t.tone !== "neutral" && `uid-timeline-item--${t.tone}`, (t.icon || n.$slots.icon) && "uid-timeline-item--with-icon"]]) }, [l("div",
|
|
4621
|
+
return (n, r) => (x(), c("li", { class: _(["uid-timeline-item", [t.tone !== "neutral" && `uid-timeline-item--${t.tone}`, (t.icon || n.$slots.icon) && "uid-timeline-item--with-icon"]]) }, [l("div", wo, [l("div", To, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
|
|
4607
4622
|
key: 0,
|
|
4608
4623
|
icon: t.icon,
|
|
4609
4624
|
size: 14
|
|
4610
4625
|
}, null, 8, ["icon"])) : s("", !0)])]), r[0] ||= l("div", {
|
|
4611
4626
|
class: "uid-timeline-item__line",
|
|
4612
4627
|
"aria-hidden": "true"
|
|
4613
|
-
}, null, -1)]), l("div",
|
|
4614
|
-
t.time || n.$slots.time ? (x(), c("p",
|
|
4615
|
-
t.title ? (x(), c("h4",
|
|
4616
|
-
t.description && !n.$slots.default ? (x(), c("p",
|
|
4617
|
-
n.$slots.default ? (x(), c("div",
|
|
4628
|
+
}, null, -1)]), l("div", Eo, [
|
|
4629
|
+
t.time || n.$slots.time ? (x(), c("p", Do, [E(n.$slots, "time", {}, () => [u(k(t.time), 1)])])) : s("", !0),
|
|
4630
|
+
t.title ? (x(), c("h4", Oo, k(t.title), 1)) : s("", !0),
|
|
4631
|
+
t.description && !n.$slots.default ? (x(), c("p", ko, k(t.description), 1)) : s("", !0),
|
|
4632
|
+
n.$slots.default ? (x(), c("div", Ao, [E(n.$slots, "default")])) : s("", !0)
|
|
4618
4633
|
])], 2));
|
|
4619
4634
|
}
|
|
4620
|
-
}),
|
|
4635
|
+
}), Mo = ["for"], No = {
|
|
4621
4636
|
key: 0,
|
|
4622
4637
|
class: "uid-file-upload__required",
|
|
4623
4638
|
"aria-hidden": "true"
|
|
4624
|
-
},
|
|
4639
|
+
}, Po = ["aria-disabled", "aria-invalid"], Fo = { class: "uid-file-upload__primary-text" }, Io = ["innerHTML"], Lo = { class: "uid-file-upload__secondary-text" }, Ro = [
|
|
4625
4640
|
"id",
|
|
4626
4641
|
"multiple",
|
|
4627
4642
|
"accept",
|
|
4628
4643
|
"disabled",
|
|
4629
4644
|
"required"
|
|
4630
|
-
],
|
|
4645
|
+
], zo = {
|
|
4631
4646
|
key: 1,
|
|
4632
4647
|
class: "uid-file-upload__list"
|
|
4633
|
-
},
|
|
4648
|
+
}, Bo = { class: "uid-file-upload__file-info" }, Vo = { class: "uid-file-upload__file-name" }, Ho = { class: "uid-file-upload__file-meta" }, Uo = { key: 0 }, Wo = { key: 1 }, Go = {
|
|
4634
4649
|
key: 0,
|
|
4635
4650
|
class: "uid-file-upload__progress"
|
|
4636
|
-
},
|
|
4651
|
+
}, Ko = ["aria-label", "onClick"], qo = /* @__PURE__ */ f({
|
|
4637
4652
|
__name: "UidFileUpload",
|
|
4638
4653
|
props: /* @__PURE__ */ m({
|
|
4639
4654
|
multiple: {
|
|
@@ -4726,7 +4741,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4726
4741
|
key: 0,
|
|
4727
4742
|
for: j(b),
|
|
4728
4743
|
class: "uid-file-upload__label"
|
|
4729
|
-
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span",
|
|
4744
|
+
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", No, "*")) : s("", !0)], 8, Mo)) : s("", !0),
|
|
4730
4745
|
l("div", {
|
|
4731
4746
|
class: _(["uid-file-upload__dropzone", { "uid-file-upload__dropzone--active": y.value }]),
|
|
4732
4747
|
role: "button",
|
|
@@ -4745,8 +4760,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4745
4760
|
class: "uid-file-upload__icon",
|
|
4746
4761
|
"aria-hidden": "true"
|
|
4747
4762
|
}, null, 8, ["icon"]),
|
|
4748
|
-
l("p",
|
|
4749
|
-
l("p",
|
|
4763
|
+
l("p", Fo, [l("span", { innerHTML: f.value }, null, 8, Io)]),
|
|
4764
|
+
l("p", Lo, k(p.value), 1),
|
|
4750
4765
|
l("input", {
|
|
4751
4766
|
id: j(b),
|
|
4752
4767
|
ref_key: "inputRef",
|
|
@@ -4760,9 +4775,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4760
4775
|
disabled: n.disabled,
|
|
4761
4776
|
required: n.required,
|
|
4762
4777
|
onChange: A
|
|
4763
|
-
}, null, 40,
|
|
4764
|
-
], 42,
|
|
4765
|
-
h.value.length > 0 ? (x(), c("ul",
|
|
4778
|
+
}, null, 40, Ro)
|
|
4779
|
+
], 42, Po),
|
|
4780
|
+
h.value.length > 0 ? (x(), c("ul", zo, [(x(!0), c(t, null, T(h.value, (t) => (x(), c("li", {
|
|
4766
4781
|
key: t.id,
|
|
4767
4782
|
class: _(["uid-file-upload__item", { "uid-file-upload__item--error": t.error }])
|
|
4768
4783
|
}, [
|
|
@@ -4772,10 +4787,10 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4772
4787
|
class: "uid-file-upload__file-icon",
|
|
4773
4788
|
"aria-hidden": "true"
|
|
4774
4789
|
}, null, 8, ["icon"]),
|
|
4775
|
-
l("div",
|
|
4776
|
-
l("div",
|
|
4777
|
-
l("div",
|
|
4778
|
-
t.progress !== void 0 && !t.error ? (x(), c("div",
|
|
4790
|
+
l("div", Bo, [
|
|
4791
|
+
l("div", Vo, k(t.file.name), 1),
|
|
4792
|
+
l("div", Ho, [l("span", null, k(E(t.file.size)), 1), t.error ? (x(), c("span", Uo, "— " + k(t.error), 1)) : t.progress === void 0 ? s("", !0) : (x(), c("span", Wo, "— " + k(t.progress) + "%", 1))]),
|
|
4793
|
+
t.progress !== void 0 && !t.error ? (x(), c("div", Go, [l("div", {
|
|
4779
4794
|
class: "uid-file-upload__progress-bar",
|
|
4780
4795
|
style: v({ width: `${t.progress}%` })
|
|
4781
4796
|
}, null, 4)])) : s("", !0)
|
|
@@ -4788,7 +4803,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4788
4803
|
}, [d(e, {
|
|
4789
4804
|
icon: j(_e),
|
|
4790
4805
|
size: 16
|
|
4791
|
-
}, null, 8, ["icon"])], 8,
|
|
4806
|
+
}, null, 8, ["icon"])], 8, Ko)
|
|
4792
4807
|
], 2))), 128))])) : s("", !0),
|
|
4793
4808
|
C.value ? (x(), c("p", {
|
|
4794
4809
|
key: 2,
|
|
@@ -4796,17 +4811,17 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4796
4811
|
}, k(C.value), 3)) : s("", !0)
|
|
4797
4812
|
], 2));
|
|
4798
4813
|
}
|
|
4799
|
-
}),
|
|
4814
|
+
}), Jo = {
|
|
4800
4815
|
key: 0,
|
|
4801
4816
|
class: "uid-code uid-code--inline"
|
|
4802
|
-
},
|
|
4817
|
+
}, Yo = {
|
|
4803
4818
|
key: 0,
|
|
4804
4819
|
class: "uid-code__header"
|
|
4805
|
-
},
|
|
4820
|
+
}, Xo = { class: "uid-code__lang" }, Zo = ["aria-label"], Qo = { class: "uid-code__body" }, $o = {
|
|
4806
4821
|
key: 0,
|
|
4807
4822
|
class: "uid-code__line-numbers",
|
|
4808
4823
|
"aria-hidden": "true"
|
|
4809
|
-
},
|
|
4824
|
+
}, es = { class: "uid-code__pre" }, ts = /* @__PURE__ */ f({
|
|
4810
4825
|
__name: "UidCode",
|
|
4811
4826
|
props: {
|
|
4812
4827
|
code: { default: "" },
|
|
@@ -4838,14 +4853,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4838
4853
|
}, 1500);
|
|
4839
4854
|
} catch {}
|
|
4840
4855
|
}
|
|
4841
|
-
return (i, a) => n.inline ? (x(), c("code",
|
|
4856
|
+
return (i, a) => n.inline ? (x(), c("code", Jo, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])) : (x(), c("div", {
|
|
4842
4857
|
key: 1,
|
|
4843
4858
|
class: _(["uid-code", {
|
|
4844
4859
|
"uid-code--minimal": !p.value,
|
|
4845
4860
|
"uid-code--wrap": n.wrap
|
|
4846
4861
|
}]),
|
|
4847
4862
|
style: v(n.maxHeight ? { "--uid-code-max-height": n.maxHeight } : void 0)
|
|
4848
|
-
}, [p.value ? (x(), c("div",
|
|
4863
|
+
}, [p.value ? (x(), c("div", Yo, [l("span", Xo, k(n.language || ""), 1), n.copy ? (x(), c("button", {
|
|
4849
4864
|
key: 0,
|
|
4850
4865
|
type: "button",
|
|
4851
4866
|
class: _(["uid-code__copy", { "uid-code__copy--copied": o.value }]),
|
|
@@ -4855,30 +4870,30 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4855
4870
|
icon: o.value ? j(q) : j(oe),
|
|
4856
4871
|
size: 12,
|
|
4857
4872
|
"aria-hidden": "true"
|
|
4858
|
-
}, null, 8, ["icon"]), l("span", null, k(o.value ? j(r).copy.copied : j(r).copy.copy), 1)], 10,
|
|
4873
|
+
}, null, 8, ["icon"]), l("span", null, k(o.value ? j(r).copy.copied : j(r).copy.copy), 1)], 10, Zo)) : s("", !0)])) : s("", !0), l("div", Qo, [n.lineNumbers ? (x(), c("div", $o, [(x(!0), c(t, null, T(f.value, (e, t) => (x(), c("span", {
|
|
4859
4874
|
key: t,
|
|
4860
4875
|
class: "uid-code__line-number"
|
|
4861
|
-
}, k(t + 1), 1))), 128))])) : s("", !0), l("pre",
|
|
4876
|
+
}, k(t + 1), 1))), 128))])) : s("", !0), l("pre", es, [l("code", null, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])])])], 6));
|
|
4862
4877
|
}
|
|
4863
|
-
}),
|
|
4878
|
+
}), ns = [
|
|
4864
4879
|
"aria-valuemax",
|
|
4865
4880
|
"aria-valuenow",
|
|
4866
4881
|
"aria-readonly",
|
|
4867
4882
|
"aria-disabled",
|
|
4868
4883
|
"aria-label"
|
|
4869
|
-
],
|
|
4884
|
+
], rs = [
|
|
4870
4885
|
"tabindex",
|
|
4871
4886
|
"aria-label",
|
|
4872
4887
|
"onClick",
|
|
4873
4888
|
"onMousemove",
|
|
4874
4889
|
"onKeydown"
|
|
4875
|
-
],
|
|
4890
|
+
], is = {
|
|
4876
4891
|
class: "uid-rating__icon",
|
|
4877
4892
|
"aria-hidden": "true"
|
|
4878
|
-
},
|
|
4893
|
+
}, as = ["data-half"], os = {
|
|
4879
4894
|
key: 0,
|
|
4880
4895
|
class: "uid-rating__label"
|
|
4881
|
-
},
|
|
4896
|
+
}, ss = /* @__PURE__ */ f({
|
|
4882
4897
|
__name: "UidRating",
|
|
4883
4898
|
props: /* @__PURE__ */ m({
|
|
4884
4899
|
max: { default: 5 },
|
|
@@ -4982,21 +4997,21 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4982
4997
|
onClick: (e) => y(e, t),
|
|
4983
4998
|
onMousemove: (e) => b(e, t),
|
|
4984
4999
|
onKeydown: (e) => C(e, t)
|
|
4985
|
-
}, [l("span",
|
|
5000
|
+
}, [l("span", is, [d(e, { icon: h.value }, null, 8, ["icon"])]), g(t).full ? (x(), c("span", {
|
|
4986
5001
|
key: 0,
|
|
4987
5002
|
class: "uid-rating__icon uid-rating__icon--filled",
|
|
4988
5003
|
"data-half": g(t).half ? "true" : "false",
|
|
4989
5004
|
"aria-hidden": "true"
|
|
4990
|
-
}, [d(e, { icon: h.value }, null, 8, ["icon"])], 8,
|
|
5005
|
+
}, [d(e, { icon: h.value }, null, 8, ["icon"])], 8, as)) : s("", !0)], 40, rs))), 128)), n.showLabel ? (x(), c("span", os, k(u.value.toFixed(+!!n.allowHalf)) + " / " + k(n.max), 1)) : s("", !0)], 42, ns));
|
|
4991
5006
|
}
|
|
4992
|
-
}),
|
|
5007
|
+
}), cs = [
|
|
4993
5008
|
"tabindex",
|
|
4994
5009
|
"aria-orientation",
|
|
4995
5010
|
"aria-valuemin",
|
|
4996
5011
|
"aria-valuemax",
|
|
4997
5012
|
"aria-valuenow",
|
|
4998
5013
|
"aria-disabled"
|
|
4999
|
-
],
|
|
5014
|
+
], ls = { class: "uid-splitter__pane uid-splitter__pane--end" }, us = /* @__PURE__ */ f({
|
|
5000
5015
|
__name: "UidSplitter",
|
|
5001
5016
|
props: /* @__PURE__ */ m({
|
|
5002
5017
|
direction: { default: "horizontal" },
|
|
@@ -5074,27 +5089,27 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5074
5089
|
l("span", { class: "uid-splitter__grip-dot" }),
|
|
5075
5090
|
l("span", { class: "uid-splitter__grip-dot" }),
|
|
5076
5091
|
l("span", { class: "uid-splitter__grip-dot" })
|
|
5077
|
-
], -1)]], 40,
|
|
5078
|
-
l("div",
|
|
5092
|
+
], -1)]], 40, cs),
|
|
5093
|
+
l("div", ls, [E(t.$slots, "end")])
|
|
5079
5094
|
], 2));
|
|
5080
5095
|
}
|
|
5081
|
-
}),
|
|
5096
|
+
}), ds = {
|
|
5082
5097
|
key: 0,
|
|
5083
5098
|
class: "uid-stat__icon",
|
|
5084
5099
|
"aria-hidden": "true"
|
|
5085
|
-
},
|
|
5100
|
+
}, fs = { class: "uid-stat__body" }, ps = {
|
|
5086
5101
|
key: 0,
|
|
5087
5102
|
class: "uid-stat__title"
|
|
5088
|
-
},
|
|
5103
|
+
}, ms = { class: "uid-stat__value-row" }, hs = { class: "uid-stat__value" }, gs = {
|
|
5089
5104
|
key: 0,
|
|
5090
5105
|
class: "uid-stat__prefix"
|
|
5091
|
-
},
|
|
5106
|
+
}, _s = {
|
|
5092
5107
|
key: 1,
|
|
5093
5108
|
class: "uid-stat__suffix"
|
|
5094
|
-
},
|
|
5109
|
+
}, vs = {
|
|
5095
5110
|
key: 1,
|
|
5096
5111
|
class: "uid-stat__footer"
|
|
5097
|
-
},
|
|
5112
|
+
}, ys = /* @__PURE__ */ f({
|
|
5098
5113
|
__name: "UidStat",
|
|
5099
5114
|
props: {
|
|
5100
5115
|
title: {},
|
|
@@ -5120,16 +5135,16 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5120
5135
|
`uid-stat--${t.tone}`,
|
|
5121
5136
|
t.variant === "ghost" && "uid-stat--ghost",
|
|
5122
5137
|
t.loading && "uid-stat--loading"
|
|
5123
|
-
]]) }, [t.icon || n.$slots.icon ? (x(), c("span",
|
|
5138
|
+
]]) }, [t.icon || n.$slots.icon ? (x(), c("span", ds, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
|
|
5124
5139
|
key: 0,
|
|
5125
5140
|
icon: t.icon,
|
|
5126
5141
|
size: 20
|
|
5127
|
-
}, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div",
|
|
5128
|
-
t.title ? (x(), c("p",
|
|
5129
|
-
l("div",
|
|
5130
|
-
t.prefix ? (x(), c("span",
|
|
5142
|
+
}, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div", fs, [
|
|
5143
|
+
t.title ? (x(), c("p", ps, k(t.title), 1)) : s("", !0),
|
|
5144
|
+
l("div", ms, [l("span", hs, [E(n.$slots, "value", {}, () => [
|
|
5145
|
+
t.prefix ? (x(), c("span", gs, k(t.prefix), 1)) : s("", !0),
|
|
5131
5146
|
l("span", null, k(r.value), 1),
|
|
5132
|
-
t.suffix ? (x(), c("span",
|
|
5147
|
+
t.suffix ? (x(), c("span", _s, k(t.suffix), 1)) : s("", !0)
|
|
5133
5148
|
])]), t.trend !== void 0 || n.$slots.trend ? (x(), c("span", {
|
|
5134
5149
|
key: 0,
|
|
5135
5150
|
class: _(["uid-stat__trend", i.value && `uid-stat__trend--${i.value}`])
|
|
@@ -5138,13 +5153,13 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5138
5153
|
icon: d.value,
|
|
5139
5154
|
size: 12
|
|
5140
5155
|
}, null, 8, ["icon"])) : s("", !0), l("span", null, k(f.value), 1)])], 2)) : s("", !0)]),
|
|
5141
|
-
t.footer || n.$slots.footer ? (x(), c("p",
|
|
5156
|
+
t.footer || n.$slots.footer ? (x(), c("p", vs, [E(n.$slots, "footer", {}, () => [u(k(t.footer), 1)])])) : s("", !0)
|
|
5142
5157
|
])], 2));
|
|
5143
5158
|
}
|
|
5144
|
-
}),
|
|
5159
|
+
}), bs = Symbol("UidDescriptionList"), xs = {
|
|
5145
5160
|
key: 0,
|
|
5146
5161
|
class: "uid-description-list__title"
|
|
5147
|
-
},
|
|
5162
|
+
}, Ss = /* @__PURE__ */ f({
|
|
5148
5163
|
__name: "UidDescriptionList",
|
|
5149
5164
|
props: {
|
|
5150
5165
|
title: {},
|
|
@@ -5159,7 +5174,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5159
5174
|
},
|
|
5160
5175
|
setup(e) {
|
|
5161
5176
|
let t = e;
|
|
5162
|
-
S(
|
|
5177
|
+
S(bs, {
|
|
5163
5178
|
direction: a(() => t.direction),
|
|
5164
5179
|
bordered: a(() => t.bordered)
|
|
5165
5180
|
});
|
|
@@ -5171,12 +5186,12 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5171
5186
|
`uid-description-list--${e.direction}`,
|
|
5172
5187
|
`uid-description-list--${e.size}`,
|
|
5173
5188
|
e.bordered && "uid-description-list--bordered"
|
|
5174
|
-
]]) }, [e.title || t.$slots.title ? (x(), c("h3",
|
|
5189
|
+
]]) }, [e.title || t.$slots.title ? (x(), c("h3", xs, [E(t.$slots, "title", {}, () => [u(k(e.title), 1)])])) : s("", !0), l("dl", {
|
|
5175
5190
|
class: "uid-description-list__grid",
|
|
5176
5191
|
style: v(n.value)
|
|
5177
5192
|
}, [E(t.$slots, "default")], 4)], 2));
|
|
5178
5193
|
}
|
|
5179
|
-
}),
|
|
5194
|
+
}), Cs = { class: "uid-description-item__label" }, ws = { class: "uid-description-item__value" }, Ts = ["aria-label"], Es = /* @__PURE__ */ f({
|
|
5180
5195
|
__name: "UidDescriptionItem",
|
|
5181
5196
|
props: {
|
|
5182
5197
|
label: {},
|
|
@@ -5189,7 +5204,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5189
5204
|
},
|
|
5190
5205
|
setup(t) {
|
|
5191
5206
|
let n = $(), r = t;
|
|
5192
|
-
P(), p(
|
|
5207
|
+
P(), p(bs, null);
|
|
5193
5208
|
let i = w(null), o = w(!1), f = a(() => ({ "--uid-desc-span": r.span }));
|
|
5194
5209
|
async function m() {
|
|
5195
5210
|
let e = r.copyValue ?? i.value?.querySelector(".uid-description-item__value")?.textContent?.trim() ?? "";
|
|
@@ -5204,7 +5219,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5204
5219
|
ref: i,
|
|
5205
5220
|
class: "uid-description-item",
|
|
5206
5221
|
style: v(f.value)
|
|
5207
|
-
}, [l("dt",
|
|
5222
|
+
}, [l("dt", Cs, [E(r.$slots, "label", {}, () => [u(k(t.label), 1)])]), l("dd", ws, [E(r.$slots, "default"), t.copyable ? (x(), c("button", {
|
|
5208
5223
|
key: 0,
|
|
5209
5224
|
type: "button",
|
|
5210
5225
|
class: _(["uid-description-item__copy", { "uid-description-item__copy--copied": o.value }]),
|
|
@@ -5213,24 +5228,24 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5213
5228
|
}, [d(e, {
|
|
5214
5229
|
icon: o.value ? j(q) : j(oe),
|
|
5215
5230
|
size: 12
|
|
5216
|
-
}, null, 8, ["icon"])], 10,
|
|
5231
|
+
}, null, 8, ["icon"])], 10, Ts)) : s("", !0)])], 4));
|
|
5217
5232
|
}
|
|
5218
|
-
}),
|
|
5233
|
+
}), Ds = {
|
|
5219
5234
|
class: "uid-pattern-result__icon",
|
|
5220
5235
|
"aria-hidden": "true"
|
|
5221
|
-
},
|
|
5236
|
+
}, Os = {
|
|
5222
5237
|
key: 0,
|
|
5223
5238
|
class: "uid-pattern-result__title"
|
|
5224
|
-
},
|
|
5239
|
+
}, ks = {
|
|
5225
5240
|
key: 1,
|
|
5226
5241
|
class: "uid-pattern-result__description"
|
|
5227
|
-
},
|
|
5242
|
+
}, As = {
|
|
5228
5243
|
key: 2,
|
|
5229
5244
|
class: "uid-pattern-result__content"
|
|
5230
|
-
},
|
|
5245
|
+
}, js = {
|
|
5231
5246
|
key: 3,
|
|
5232
5247
|
class: "uid-pattern-result__actions"
|
|
5233
|
-
},
|
|
5248
|
+
}, Ms = /* @__PURE__ */ f({
|
|
5234
5249
|
__name: "UidResult",
|
|
5235
5250
|
props: {
|
|
5236
5251
|
status: { default: "success" },
|
|
@@ -5252,17 +5267,17 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5252
5267
|
class: _(["uid-pattern-result", [`uid-pattern-result--${t.status}`, t.compact && "uid-pattern-result--compact"]]),
|
|
5253
5268
|
role: "status"
|
|
5254
5269
|
}, [
|
|
5255
|
-
l("div",
|
|
5270
|
+
l("div", Ds, [E(n.$slots, "icon", {}, () => [d(e, {
|
|
5256
5271
|
icon: i.value,
|
|
5257
5272
|
size: t.compact ? 32 : 40
|
|
5258
5273
|
}, null, 8, ["icon", "size"])])]),
|
|
5259
|
-
t.title || n.$slots.title ? (x(), c("h2",
|
|
5260
|
-
t.description || n.$slots.description ? (x(), c("p",
|
|
5261
|
-
n.$slots.default ? (x(), c("div",
|
|
5262
|
-
n.$slots.actions ? (x(), c("div",
|
|
5274
|
+
t.title || n.$slots.title ? (x(), c("h2", Os, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])])) : s("", !0),
|
|
5275
|
+
t.description || n.$slots.description ? (x(), c("p", ks, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0),
|
|
5276
|
+
n.$slots.default ? (x(), c("div", As, [E(n.$slots, "default")])) : s("", !0),
|
|
5277
|
+
n.$slots.actions ? (x(), c("div", js, [E(n.$slots, "actions")])) : s("", !0)
|
|
5263
5278
|
], 2));
|
|
5264
5279
|
}
|
|
5265
|
-
}),
|
|
5280
|
+
}), Ns = ["aria-label"], Ps = /* @__PURE__ */ f({
|
|
5266
5281
|
__name: "UidBackTop",
|
|
5267
5282
|
props: {
|
|
5268
5283
|
visibleAfter: { default: 200 },
|
|
@@ -5310,11 +5325,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5310
5325
|
}, [E(t.$slots, "default", {}, () => [d(e, {
|
|
5311
5326
|
icon: j(K),
|
|
5312
5327
|
size: 20
|
|
5313
|
-
}, null, 8, ["icon"])])], 8,
|
|
5328
|
+
}, null, 8, ["icon"])])], 8, Ns), [[L, f.value]])]),
|
|
5314
5329
|
_: 3
|
|
5315
5330
|
}));
|
|
5316
5331
|
}
|
|
5317
|
-
}),
|
|
5332
|
+
}), Fs = { class: "uid-affix__content" }, Is = /* @__PURE__ */ f({
|
|
5318
5333
|
__name: "UidAffix",
|
|
5319
5334
|
props: {
|
|
5320
5335
|
offsetTop: {},
|
|
@@ -5344,9 +5359,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5344
5359
|
ref: o,
|
|
5345
5360
|
class: "uid-affix__sentinel",
|
|
5346
5361
|
"aria-hidden": "true"
|
|
5347
|
-
}, null, 512), l("div",
|
|
5362
|
+
}, null, 512), l("div", Fs, [E(e.$slots, "default")])], 6));
|
|
5348
5363
|
}
|
|
5349
|
-
}),
|
|
5364
|
+
}), Ls = { class: "uid-watermark" }, Rs = { class: "uid-watermark__content" }, zs = /* @__PURE__ */ f({
|
|
5350
5365
|
__name: "UidWatermark",
|
|
5351
5366
|
props: {
|
|
5352
5367
|
content: { default: "" },
|
|
@@ -5393,27 +5408,27 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5393
5408
|
i();
|
|
5394
5409
|
}), b(() => {
|
|
5395
5410
|
n.value = "";
|
|
5396
|
-
}), (e, t) => (x(), c("div",
|
|
5411
|
+
}), (e, t) => (x(), c("div", Ls, [l("div", {
|
|
5397
5412
|
class: "uid-watermark__overlay",
|
|
5398
5413
|
style: v(o.value),
|
|
5399
5414
|
"aria-hidden": "true"
|
|
5400
|
-
}, null, 4), l("div",
|
|
5415
|
+
}, null, 4), l("div", Rs, [E(e.$slots, "default")])]));
|
|
5401
5416
|
}
|
|
5402
|
-
}),
|
|
5417
|
+
}), Bs = {
|
|
5403
5418
|
class: "uid-anchor",
|
|
5404
5419
|
"aria-label": "Содержание"
|
|
5405
|
-
},
|
|
5420
|
+
}, Vs = { class: "uid-anchor__list" }, Hs = [
|
|
5406
5421
|
"href",
|
|
5407
5422
|
"aria-current",
|
|
5408
5423
|
"onClick"
|
|
5409
|
-
],
|
|
5424
|
+
], Us = {
|
|
5410
5425
|
key: 0,
|
|
5411
5426
|
class: "uid-anchor__sublist"
|
|
5412
|
-
},
|
|
5427
|
+
}, Ws = [
|
|
5413
5428
|
"href",
|
|
5414
5429
|
"aria-current",
|
|
5415
5430
|
"onClick"
|
|
5416
|
-
],
|
|
5431
|
+
], Gs = /* @__PURE__ */ f({
|
|
5417
5432
|
__name: "UidAnchor",
|
|
5418
5433
|
props: /* @__PURE__ */ m({
|
|
5419
5434
|
items: {},
|
|
@@ -5477,7 +5492,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5477
5492
|
behavior: r.smooth ? "smooth" : "auto"
|
|
5478
5493
|
});
|
|
5479
5494
|
}
|
|
5480
|
-
return (n, r) => (x(), c("nav",
|
|
5495
|
+
return (n, r) => (x(), c("nav", Bs, [l("ul", Vs, [(x(!0), c(t, null, T(e.items, (e) => (x(), c("li", {
|
|
5481
5496
|
key: e.key,
|
|
5482
5497
|
class: "uid-anchor__item"
|
|
5483
5498
|
}, [l("a", {
|
|
@@ -5485,7 +5500,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5485
5500
|
class: _(["uid-anchor__link", { "uid-anchor__link--active": a.value === e.key }]),
|
|
5486
5501
|
"aria-current": a.value === e.key ? "location" : void 0,
|
|
5487
5502
|
onClick: (t) => m(t, e)
|
|
5488
|
-
}, k(e.title), 11,
|
|
5503
|
+
}, k(e.title), 11, Hs), e.children?.length ? (x(), c("ul", Us, [(x(!0), c(t, null, T(e.children, (e) => (x(), c("li", {
|
|
5489
5504
|
key: e.key,
|
|
5490
5505
|
class: "uid-anchor__item"
|
|
5491
5506
|
}, [l("a", {
|
|
@@ -5493,18 +5508,18 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5493
5508
|
class: _(["uid-anchor__link", { "uid-anchor__link--active": a.value === e.key }]),
|
|
5494
5509
|
"aria-current": a.value === e.key ? "location" : void 0,
|
|
5495
5510
|
onClick: (t) => m(t, e)
|
|
5496
|
-
}, k(e.title), 11,
|
|
5511
|
+
}, k(e.title), 11, Ws)]))), 128))])) : s("", !0)]))), 128))])]));
|
|
5497
5512
|
}
|
|
5498
|
-
}),
|
|
5513
|
+
}), Ks = ["aria-label"], qs = {
|
|
5499
5514
|
key: 0,
|
|
5500
5515
|
class: "uid-tour__title"
|
|
5501
|
-
},
|
|
5516
|
+
}, Js = {
|
|
5502
5517
|
key: 1,
|
|
5503
5518
|
class: "uid-tour__description"
|
|
5504
|
-
},
|
|
5519
|
+
}, Ys = { class: "uid-tour__footer" }, Xs = {
|
|
5505
5520
|
key: 0,
|
|
5506
5521
|
class: "uid-tour__progress"
|
|
5507
|
-
},
|
|
5522
|
+
}, Zs = { key: 1 }, Qs = { class: "uid-tour__actions" }, $s = /* @__PURE__ */ f({
|
|
5508
5523
|
__name: "UidTour",
|
|
5509
5524
|
props: /* @__PURE__ */ m({
|
|
5510
5525
|
steps: {},
|
|
@@ -5643,9 +5658,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5643
5658
|
class: _(["uid-tour__popover", { "uid-tour__popover--center": F.value }]),
|
|
5644
5659
|
style: v(F.value ? void 0 : P.value)
|
|
5645
5660
|
}, [
|
|
5646
|
-
D.value.title ? (x(), c("h3",
|
|
5647
|
-
D.value.description ? (x(), c("p",
|
|
5648
|
-
l("div",
|
|
5661
|
+
D.value.title ? (x(), c("h3", qs, k(D.value.title), 1)) : s("", !0),
|
|
5662
|
+
D.value.description ? (x(), c("p", Js, k(D.value.description), 1)) : s("", !0),
|
|
5663
|
+
l("div", Ys, [e.showProgress ? (x(), c("span", Xs, k(y.value + 1) + " / " + k(e.steps.length), 1)) : (x(), c("span", Zs)), l("div", Qs, [
|
|
5649
5664
|
e.showSkip && y.value < e.steps.length - 1 ? (x(), c("button", {
|
|
5650
5665
|
key: 0,
|
|
5651
5666
|
type: "button",
|
|
@@ -5665,21 +5680,21 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5665
5680
|
}, k(y.value === e.steps.length - 1 ? f.value : u.value), 1)
|
|
5666
5681
|
])])
|
|
5667
5682
|
], 6)
|
|
5668
|
-
], 8,
|
|
5683
|
+
], 8, Ks)) : s("", !0)]));
|
|
5669
5684
|
}
|
|
5670
|
-
}),
|
|
5685
|
+
}), ec = ["for"], tc = [
|
|
5671
5686
|
"id",
|
|
5672
5687
|
"value",
|
|
5673
5688
|
"placeholder",
|
|
5674
5689
|
"rows",
|
|
5675
5690
|
"disabled"
|
|
5676
|
-
],
|
|
5691
|
+
], nc = ["onMousedown", "onMouseenter"], rc = { class: "uid-mention__option-label" }, ic = {
|
|
5677
5692
|
key: 0,
|
|
5678
5693
|
class: "uid-mention__option-hint"
|
|
5679
|
-
},
|
|
5694
|
+
}, ac = {
|
|
5680
5695
|
key: 0,
|
|
5681
5696
|
class: "uid-mention__empty"
|
|
5682
|
-
},
|
|
5697
|
+
}, oc = /* @__PURE__ */ f({
|
|
5683
5698
|
__name: "UidMention",
|
|
5684
5699
|
props: /* @__PURE__ */ m({
|
|
5685
5700
|
options: {},
|
|
@@ -5757,7 +5772,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5757
5772
|
key: 0,
|
|
5758
5773
|
for: j(p),
|
|
5759
5774
|
class: "uid-mention__label"
|
|
5760
|
-
}, k(e.label), 9,
|
|
5775
|
+
}, k(e.label), 9, ec)) : s("", !0),
|
|
5761
5776
|
l("textarea", {
|
|
5762
5777
|
id: j(p),
|
|
5763
5778
|
ref_key: "fieldRef",
|
|
@@ -5772,7 +5787,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5772
5787
|
onKeydown: L,
|
|
5773
5788
|
onKeyup: O,
|
|
5774
5789
|
onBlur: r[0] ||= (e) => m.value = !1
|
|
5775
|
-
}, null, 40,
|
|
5790
|
+
}, null, 40, tc),
|
|
5776
5791
|
m.value ? (x(), c("div", {
|
|
5777
5792
|
key: 1,
|
|
5778
5793
|
class: "uid-mention__dropdown",
|
|
@@ -5783,30 +5798,30 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5783
5798
|
class: _(["uid-mention__option", { "uid-mention__option--active": t === y.value }]),
|
|
5784
5799
|
onMousedown: H((t) => P(e), ["prevent"]),
|
|
5785
5800
|
onMouseenter: (e) => y.value = t
|
|
5786
|
-
}, [l("span",
|
|
5801
|
+
}, [l("span", rc, k(e.label), 1), e.hint ? (x(), c("span", ic, k(e.hint), 1)) : s("", !0)], 42, nc))), 128)), D.value.length === 0 ? (x(), c("div", ac, k(o.value), 1)) : s("", !0)], 4)) : s("", !0)
|
|
5787
5802
|
], 2));
|
|
5788
5803
|
}
|
|
5789
|
-
}),
|
|
5804
|
+
}), sc = ["for"], cc = {
|
|
5790
5805
|
key: 0,
|
|
5791
5806
|
class: "uid-tree-select__required",
|
|
5792
5807
|
"aria-hidden": "true"
|
|
5793
|
-
},
|
|
5808
|
+
}, lc = [
|
|
5794
5809
|
"id",
|
|
5795
5810
|
"aria-expanded",
|
|
5796
5811
|
"aria-controls",
|
|
5797
5812
|
"aria-label",
|
|
5798
5813
|
"aria-disabled",
|
|
5799
5814
|
"aria-invalid"
|
|
5800
|
-
],
|
|
5815
|
+
], uc = { class: "uid-tree-select__value" }, dc = ["aria-label", "onClick"], fc = {
|
|
5801
5816
|
key: 0,
|
|
5802
5817
|
class: "uid-tree-select__chip"
|
|
5803
|
-
},
|
|
5818
|
+
}, pc = {
|
|
5804
5819
|
key: 1,
|
|
5805
5820
|
class: "uid-tree-select__placeholder"
|
|
5806
|
-
},
|
|
5821
|
+
}, mc = { key: 0 }, hc = {
|
|
5807
5822
|
key: 1,
|
|
5808
5823
|
class: "uid-tree-select__placeholder"
|
|
5809
|
-
},
|
|
5824
|
+
}, gc = { class: "uid-tree-select__suffix" }, _c = ["aria-label"], vc = ["id"], yc = /* @__PURE__ */ f({
|
|
5810
5825
|
__name: "UidTreeSelect",
|
|
5811
5826
|
props: /* @__PURE__ */ m({
|
|
5812
5827
|
nodes: {},
|
|
@@ -5899,7 +5914,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5899
5914
|
key: 0,
|
|
5900
5915
|
for: j(S),
|
|
5901
5916
|
class: "uid-tree-select__label"
|
|
5902
|
-
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span",
|
|
5917
|
+
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", cc, "*")) : s("", !0)], 8, sc)) : s("", !0),
|
|
5903
5918
|
l("div", {
|
|
5904
5919
|
id: j(S),
|
|
5905
5920
|
ref_key: "triggerRef",
|
|
@@ -5915,7 +5930,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5915
5930
|
"aria-invalid": E.value ? "true" : void 0,
|
|
5916
5931
|
onClick: V,
|
|
5917
5932
|
onKeydown: ee
|
|
5918
|
-
}, [l("div",
|
|
5933
|
+
}, [l("div", uc, [n.multiple ? (x(), c(t, { key: 0 }, [
|
|
5919
5934
|
(x(!0), c(t, null, T(I.value, (e) => (x(), c("span", {
|
|
5920
5935
|
key: e.key,
|
|
5921
5936
|
class: "uid-tree-select__chip"
|
|
@@ -5924,10 +5939,10 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5924
5939
|
class: "uid-tree-select__chip-remove",
|
|
5925
5940
|
"aria-label": j(o).treeSelect.removeTag(e.label),
|
|
5926
5941
|
onClick: H((t) => G(t, e.key), ["stop"])
|
|
5927
|
-
}, "×", 8,
|
|
5928
|
-
L.value > 0 ? (x(), c("span",
|
|
5929
|
-
F.value.length === 0 ? (x(), c("span",
|
|
5930
|
-
], 64)) : (x(), c(t, { key: 1 }, [F.value.length > 0 ? (x(), c("span",
|
|
5942
|
+
}, "×", 8, dc)]))), 128)),
|
|
5943
|
+
L.value > 0 ? (x(), c("span", fc, "+" + k(L.value), 1)) : s("", !0),
|
|
5944
|
+
F.value.length === 0 ? (x(), c("span", pc, k(f.value), 1)) : s("", !0)
|
|
5945
|
+
], 64)) : (x(), c(t, { key: 1 }, [F.value.length > 0 ? (x(), c("span", mc, k(F.value[0].label), 1)) : (x(), c("span", hc, k(f.value), 1))], 64))]), l("div", gc, [n.clearable && P.value.length > 0 ? (x(), c("button", {
|
|
5931
5946
|
key: 0,
|
|
5932
5947
|
type: "button",
|
|
5933
5948
|
class: "uid-tree-select__clear",
|
|
@@ -5936,17 +5951,17 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5936
5951
|
}, [d(e, {
|
|
5937
5952
|
icon: j(_e),
|
|
5938
5953
|
size: 14
|
|
5939
|
-
}, null, 8, ["icon"])], 8,
|
|
5954
|
+
}, null, 8, ["icon"])], 8, _c)) : s("", !0), d(e, {
|
|
5940
5955
|
icon: j(Y),
|
|
5941
5956
|
size: 16,
|
|
5942
5957
|
class: _(["uid-tree-select__chevron", { "uid-tree-select__chevron--open": g.value }]),
|
|
5943
5958
|
"aria-hidden": "true"
|
|
5944
|
-
}, null, 8, ["icon", "class"])])], 40,
|
|
5959
|
+
}, null, 8, ["icon", "class"])])], 40, lc),
|
|
5945
5960
|
g.value ? (x(), c("div", {
|
|
5946
5961
|
key: 1,
|
|
5947
5962
|
id: j(C),
|
|
5948
5963
|
class: "uid-tree-select__dropdown"
|
|
5949
|
-
}, [d(
|
|
5964
|
+
}, [d(So, {
|
|
5950
5965
|
nodes: n.nodes,
|
|
5951
5966
|
"expanded-keys": h.value,
|
|
5952
5967
|
"onUpdate:expandedKeys": i[0] ||= (e) => h.value = e,
|
|
@@ -5962,19 +5977,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5962
5977
|
"selectable",
|
|
5963
5978
|
"default-expand-all",
|
|
5964
5979
|
"show-guides"
|
|
5965
|
-
])], 8,
|
|
5980
|
+
])], 8, vc)) : s("", !0),
|
|
5966
5981
|
D.value ? (x(), c("p", {
|
|
5967
5982
|
key: 2,
|
|
5968
5983
|
class: _(["uid-tree-select__hint", E.value && "uid-tree-select__hint--error"])
|
|
5969
5984
|
}, k(D.value), 3)) : s("", !0)
|
|
5970
5985
|
], 2));
|
|
5971
5986
|
}
|
|
5972
|
-
}),
|
|
5987
|
+
}), bc = {
|
|
5973
5988
|
key: 0,
|
|
5974
5989
|
class: "uid-notification-badge__dot",
|
|
5975
5990
|
role: "status",
|
|
5976
5991
|
"aria-hidden": "true"
|
|
5977
|
-
},
|
|
5992
|
+
}, xc = ["aria-label"], Sc = /* @__PURE__ */ f({
|
|
5978
5993
|
__name: "UidNotificationBadge",
|
|
5979
5994
|
props: {
|
|
5980
5995
|
count: { default: 0 },
|
|
@@ -6001,22 +6016,22 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6001
6016
|
return (t, a) => (x(), c("span", {
|
|
6002
6017
|
class: _(["uid-notification-badge", [`uid-notification-badge--${e.placement}`, e.tone !== "danger" && `uid-notification-badge--${e.tone}`]]),
|
|
6003
6018
|
style: v(i.value)
|
|
6004
|
-
}, [E(t.$slots, "default"), n.value && e.dot ? (x(), c("span",
|
|
6019
|
+
}, [E(t.$slots, "default"), n.value && e.dot ? (x(), c("span", bc)) : n.value ? (x(), c("span", {
|
|
6005
6020
|
key: 1,
|
|
6006
6021
|
class: "uid-notification-badge__count",
|
|
6007
6022
|
role: "status",
|
|
6008
6023
|
"aria-label": `${e.count}`
|
|
6009
|
-
}, k(r.value), 9,
|
|
6024
|
+
}, k(r.value), 9, xc)) : s("", !0)], 6));
|
|
6010
6025
|
}
|
|
6011
|
-
}),
|
|
6026
|
+
}), Cc = ["aria-hidden", "aria-label"], wc = ["disabled"], Tc = ["disabled"], Ec = {
|
|
6012
6027
|
key: 2,
|
|
6013
6028
|
class: "uid-carousel__indicators",
|
|
6014
6029
|
role: "tablist"
|
|
6015
|
-
},
|
|
6030
|
+
}, Dc = [
|
|
6016
6031
|
"aria-selected",
|
|
6017
6032
|
"aria-label",
|
|
6018
6033
|
"onClick"
|
|
6019
|
-
],
|
|
6034
|
+
], Oc = /* @__PURE__ */ f({
|
|
6020
6035
|
__name: "UidCarousel",
|
|
6021
6036
|
props: /* @__PURE__ */ m({
|
|
6022
6037
|
items: {},
|
|
@@ -6108,7 +6123,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6108
6123
|
}, [E(r.$slots, "default", {
|
|
6109
6124
|
item: e,
|
|
6110
6125
|
index: t
|
|
6111
|
-
})], 8,
|
|
6126
|
+
})], 8, Cc))), 128))], 4),
|
|
6112
6127
|
n.showArrows && g.value > 1 ? (x(), c("button", {
|
|
6113
6128
|
key: 0,
|
|
6114
6129
|
type: "button",
|
|
@@ -6119,7 +6134,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6119
6134
|
}, [d(e, {
|
|
6120
6135
|
icon: n.direction === "vertical" ? j(ie) : j(re),
|
|
6121
6136
|
size: 20
|
|
6122
|
-
}, null, 8, ["icon"])], 8,
|
|
6137
|
+
}, null, 8, ["icon"])], 8, wc)) : s("", !0),
|
|
6123
6138
|
n.showArrows && g.value > 1 ? (x(), c("button", {
|
|
6124
6139
|
key: 1,
|
|
6125
6140
|
type: "button",
|
|
@@ -6130,8 +6145,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6130
6145
|
}, [d(e, {
|
|
6131
6146
|
icon: n.direction === "vertical" ? j(Y) : j(X),
|
|
6132
6147
|
size: 20
|
|
6133
|
-
}, null, 8, ["icon"])], 8,
|
|
6134
|
-
n.showIndicators && g.value > 1 ? (x(), c("div",
|
|
6148
|
+
}, null, 8, ["icon"])], 8, Tc)) : s("", !0),
|
|
6149
|
+
n.showIndicators && g.value > 1 ? (x(), c("div", Ec, [(x(!0), c(t, null, T(n.items, (e, t) => (x(), c("button", {
|
|
6135
6150
|
key: t,
|
|
6136
6151
|
type: "button",
|
|
6137
6152
|
class: _(["uid-carousel__indicator", { "uid-carousel__indicator--active": t === f.value }]),
|
|
@@ -6139,38 +6154,38 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6139
6154
|
"aria-selected": t === f.value,
|
|
6140
6155
|
"aria-label": `Слайд ${t + 1}`,
|
|
6141
6156
|
onClick: (e) => C(t)
|
|
6142
|
-
}, null, 10,
|
|
6157
|
+
}, null, 10, Dc))), 128))])) : s("", !0)
|
|
6143
6158
|
], 34));
|
|
6144
6159
|
}
|
|
6145
|
-
}),
|
|
6160
|
+
}), kc = { class: "uid-transfer__panel" }, Ac = { class: "uid-transfer__header" }, jc = { class: "uid-transfer__title" }, Mc = ["aria-checked"], Nc = { class: "uid-transfer__count" }, Pc = {
|
|
6146
6161
|
key: 0,
|
|
6147
6162
|
class: "uid-transfer__search"
|
|
6148
|
-
},
|
|
6163
|
+
}, Fc = ["placeholder"], Ic = {
|
|
6149
6164
|
class: "uid-transfer__list",
|
|
6150
6165
|
role: "listbox",
|
|
6151
6166
|
"aria-multiselectable": "true"
|
|
6152
|
-
},
|
|
6167
|
+
}, Lc = [
|
|
6153
6168
|
"aria-selected",
|
|
6154
6169
|
"aria-disabled",
|
|
6155
6170
|
"onClick"
|
|
6156
|
-
],
|
|
6171
|
+
], Rc = { class: "uid-transfer__label" }, zc = {
|
|
6157
6172
|
key: 0,
|
|
6158
6173
|
class: "uid-transfer__empty"
|
|
6159
|
-
},
|
|
6174
|
+
}, Bc = { class: "uid-transfer__ops" }, Vc = ["disabled"], Hc = ["disabled"], Uc = { class: "uid-transfer__panel" }, Wc = { class: "uid-transfer__header" }, Gc = { class: "uid-transfer__title" }, Kc = ["aria-checked"], qc = { class: "uid-transfer__count" }, Jc = {
|
|
6160
6175
|
key: 0,
|
|
6161
6176
|
class: "uid-transfer__search"
|
|
6162
|
-
},
|
|
6177
|
+
}, Yc = ["placeholder"], Xc = {
|
|
6163
6178
|
class: "uid-transfer__list",
|
|
6164
6179
|
role: "listbox",
|
|
6165
6180
|
"aria-multiselectable": "true"
|
|
6166
|
-
},
|
|
6181
|
+
}, Zc = [
|
|
6167
6182
|
"aria-selected",
|
|
6168
6183
|
"aria-disabled",
|
|
6169
6184
|
"onClick"
|
|
6170
|
-
],
|
|
6185
|
+
], Qc = { class: "uid-transfer__label" }, $c = {
|
|
6171
6186
|
key: 0,
|
|
6172
6187
|
class: "uid-transfer__empty"
|
|
6173
|
-
},
|
|
6188
|
+
}, el = /* @__PURE__ */ f({
|
|
6174
6189
|
__name: "UidTransfer",
|
|
6175
6190
|
props: /* @__PURE__ */ m({
|
|
6176
6191
|
items: {},
|
|
@@ -6221,8 +6236,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6221
6236
|
p.value = e, g.value = /* @__PURE__ */ new Set(), f("change", e);
|
|
6222
6237
|
}
|
|
6223
6238
|
return (r, i) => (x(), c("div", { class: _(["uid-transfer", { "uid-transfer--disabled": n.disabled }]) }, [
|
|
6224
|
-
l("div",
|
|
6225
|
-
l("div",
|
|
6239
|
+
l("div", kc, [
|
|
6240
|
+
l("div", Ac, [l("span", jc, [l("span", {
|
|
6226
6241
|
class: _(["uid-transfer__check", { "uid-transfer__check--checked": P.value }]),
|
|
6227
6242
|
role: "checkbox",
|
|
6228
6243
|
"aria-checked": P.value,
|
|
@@ -6233,14 +6248,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6233
6248
|
key: 0,
|
|
6234
6249
|
icon: j(q),
|
|
6235
6250
|
size: 10
|
|
6236
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
6237
|
-
n.searchable ? (x(), c("div",
|
|
6251
|
+
}, null, 8, ["icon"])) : s("", !0)], 42, Mc), u(" " + k(b.value[0]), 1)]), l("span", Nc, k(h.value.size) + " / " + k(D.value.length), 1)]),
|
|
6252
|
+
n.searchable ? (x(), c("div", Pc, [B(l("input", {
|
|
6238
6253
|
"onUpdate:modelValue": i[3] ||= (e) => v.value = e,
|
|
6239
6254
|
class: "uid-transfer__search-input",
|
|
6240
6255
|
type: "text",
|
|
6241
6256
|
placeholder: j(m).common.search
|
|
6242
|
-
}, null, 8,
|
|
6243
|
-
l("ul",
|
|
6257
|
+
}, null, 8, Fc), [[I, v.value]])])) : s("", !0),
|
|
6258
|
+
l("ul", Ic, [(x(!0), c(t, null, T(D.value, (t) => (x(), c("li", {
|
|
6244
6259
|
key: t.key,
|
|
6245
6260
|
class: _(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
|
|
6246
6261
|
role: "option",
|
|
@@ -6254,9 +6269,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6254
6269
|
key: 0,
|
|
6255
6270
|
icon: j(q),
|
|
6256
6271
|
size: 10
|
|
6257
|
-
}, null, 8, ["icon"])) : s("", !0)], 2), l("span",
|
|
6272
|
+
}, null, 8, ["icon"])) : s("", !0)], 2), l("span", Rc, k(t.label), 1)], 10, Lc))), 128)), D.value.length === 0 ? (x(), c("li", zc, k(j(m).common.noResults), 1)) : s("", !0)])
|
|
6258
6273
|
]),
|
|
6259
|
-
l("div",
|
|
6274
|
+
l("div", Bc, [l("button", {
|
|
6260
6275
|
type: "button",
|
|
6261
6276
|
class: "uid-transfer__op",
|
|
6262
6277
|
disabled: h.value.size === 0 || n.disabled,
|
|
@@ -6265,7 +6280,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6265
6280
|
}, [d(e, {
|
|
6266
6281
|
icon: j(X),
|
|
6267
6282
|
size: 16
|
|
6268
|
-
}, null, 8, ["icon"])], 8,
|
|
6283
|
+
}, null, 8, ["icon"])], 8, Vc), l("button", {
|
|
6269
6284
|
type: "button",
|
|
6270
6285
|
class: "uid-transfer__op",
|
|
6271
6286
|
disabled: g.value.size === 0 || n.disabled,
|
|
@@ -6274,9 +6289,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6274
6289
|
}, [d(e, {
|
|
6275
6290
|
icon: j(re),
|
|
6276
6291
|
size: 16
|
|
6277
|
-
}, null, 8, ["icon"])], 8,
|
|
6278
|
-
l("div",
|
|
6279
|
-
l("div",
|
|
6292
|
+
}, null, 8, ["icon"])], 8, Hc)]),
|
|
6293
|
+
l("div", Uc, [
|
|
6294
|
+
l("div", Wc, [l("span", Gc, [l("span", {
|
|
6280
6295
|
class: _(["uid-transfer__check", { "uid-transfer__check--checked": F.value }]),
|
|
6281
6296
|
role: "checkbox",
|
|
6282
6297
|
"aria-checked": F.value,
|
|
@@ -6287,14 +6302,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6287
6302
|
key: 0,
|
|
6288
6303
|
icon: j(q),
|
|
6289
6304
|
size: 10
|
|
6290
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
6291
|
-
n.searchable ? (x(), c("div",
|
|
6305
|
+
}, null, 8, ["icon"])) : s("", !0)], 42, Kc), u(" " + k(b.value[1]), 1)]), l("span", qc, k(g.value.size) + " / " + k(O.value.length), 1)]),
|
|
6306
|
+
n.searchable ? (x(), c("div", Jc, [B(l("input", {
|
|
6292
6307
|
"onUpdate:modelValue": i[7] ||= (e) => y.value = e,
|
|
6293
6308
|
class: "uid-transfer__search-input",
|
|
6294
6309
|
type: "text",
|
|
6295
6310
|
placeholder: j(m).common.search
|
|
6296
|
-
}, null, 8,
|
|
6297
|
-
l("ul",
|
|
6311
|
+
}, null, 8, Yc), [[I, y.value]])])) : s("", !0),
|
|
6312
|
+
l("ul", Xc, [(x(!0), c(t, null, T(O.value, (t) => (x(), c("li", {
|
|
6298
6313
|
key: t.key,
|
|
6299
6314
|
class: _(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
|
|
6300
6315
|
role: "option",
|
|
@@ -6308,30 +6323,30 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6308
6323
|
key: 0,
|
|
6309
6324
|
icon: j(q),
|
|
6310
6325
|
size: 10
|
|
6311
|
-
}, null, 8, ["icon"])) : s("", !0)], 2), l("span",
|
|
6326
|
+
}, null, 8, ["icon"])) : s("", !0)], 2), l("span", Qc, k(t.label), 1)], 10, Zc))), 128)), O.value.length === 0 ? (x(), c("li", $c, k(j(m).common.noResults), 1)) : s("", !0)])
|
|
6312
6327
|
])
|
|
6313
6328
|
], 2));
|
|
6314
6329
|
}
|
|
6315
|
-
}),
|
|
6330
|
+
}), tl = {
|
|
6316
6331
|
key: 0,
|
|
6317
6332
|
class: "uid-cascader__label"
|
|
6318
|
-
},
|
|
6333
|
+
}, nl = [
|
|
6319
6334
|
"aria-expanded",
|
|
6320
6335
|
"aria-disabled",
|
|
6321
6336
|
"aria-label"
|
|
6322
|
-
],
|
|
6337
|
+
], rl = { class: "uid-cascader__value" }, il = {
|
|
6323
6338
|
key: 0,
|
|
6324
6339
|
class: "uid-cascader__separator"
|
|
6325
|
-
},
|
|
6340
|
+
}, al = {
|
|
6326
6341
|
key: 1,
|
|
6327
6342
|
class: "uid-cascader__placeholder"
|
|
6328
|
-
},
|
|
6343
|
+
}, ol = { class: "uid-cascader__suffix" }, sl = ["aria-label"], cl = {
|
|
6329
6344
|
key: 1,
|
|
6330
6345
|
class: "uid-cascader__dropdown"
|
|
6331
|
-
},
|
|
6346
|
+
}, ll = ["onClick", "onMouseenter"], ul = { class: "uid-cascader__option-label" }, dl = {
|
|
6332
6347
|
key: 2,
|
|
6333
6348
|
class: "uid-cascader__hint"
|
|
6334
|
-
},
|
|
6349
|
+
}, fl = /* @__PURE__ */ f({
|
|
6335
6350
|
__name: "UidCascader",
|
|
6336
6351
|
props: /* @__PURE__ */ m({
|
|
6337
6352
|
options: {},
|
|
@@ -6436,7 +6451,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6436
6451
|
"uid-cascader--disabled": n.disabled
|
|
6437
6452
|
}])
|
|
6438
6453
|
}, [
|
|
6439
|
-
n.label ? (x(), c("label",
|
|
6454
|
+
n.label ? (x(), c("label", tl, k(n.label), 1)) : s("", !0),
|
|
6440
6455
|
l("div", {
|
|
6441
6456
|
class: "uid-cascader__trigger",
|
|
6442
6457
|
tabindex: "0",
|
|
@@ -6447,7 +6462,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6447
6462
|
"aria-label": m.value,
|
|
6448
6463
|
onClick: A,
|
|
6449
6464
|
onKeydown: I
|
|
6450
|
-
}, [l("div",
|
|
6465
|
+
}, [l("div", rl, [E.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(E.value, (e, r) => (x(), c(t, { key: r }, [l("span", null, k(e), 1), r < E.value.length - 1 ? (x(), c("span", il, k(n.separator), 1)) : s("", !0)], 64))), 128)) : (x(), c("span", al, k(m.value), 1))]), l("div", ol, [n.clearable && f.value.length > 0 ? (x(), c("button", {
|
|
6451
6466
|
key: 0,
|
|
6452
6467
|
type: "button",
|
|
6453
6468
|
class: "uid-cascader__clear",
|
|
@@ -6456,12 +6471,12 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6456
6471
|
}, [d(e, {
|
|
6457
6472
|
icon: j(_e),
|
|
6458
6473
|
size: 14
|
|
6459
|
-
}, null, 8, ["icon"])], 8,
|
|
6474
|
+
}, null, 8, ["icon"])], 8, sl)) : s("", !0), d(e, {
|
|
6460
6475
|
icon: j(Y),
|
|
6461
6476
|
size: 16,
|
|
6462
6477
|
class: _(["uid-cascader__chevron", { "uid-cascader__chevron--open": h.value }])
|
|
6463
|
-
}, null, 8, ["icon", "class"])])], 40,
|
|
6464
|
-
h.value ? (x(), c("div",
|
|
6478
|
+
}, null, 8, ["icon", "class"])])], 40, nl),
|
|
6479
|
+
h.value ? (x(), c("div", cl, [(x(!0), c(t, null, T(S.value, (r, i) => (x(), c("div", {
|
|
6465
6480
|
key: i,
|
|
6466
6481
|
class: "uid-cascader__column"
|
|
6467
6482
|
}, [(x(!0), c(t, null, T(r, (t) => (x(), c("button", {
|
|
@@ -6473,27 +6488,27 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6473
6488
|
}]),
|
|
6474
6489
|
onClick: (e) => M(t, i),
|
|
6475
6490
|
onMouseenter: (e) => n.expandTrigger === "hover" && t.children && M(t, i)
|
|
6476
|
-
}, [l("span",
|
|
6491
|
+
}, [l("span", ul, k(t.label), 1), t.children?.length ? (x(), o(e, {
|
|
6477
6492
|
key: 0,
|
|
6478
6493
|
icon: j(X),
|
|
6479
6494
|
size: 14,
|
|
6480
6495
|
class: "uid-cascader__option-arrow",
|
|
6481
6496
|
"aria-hidden": "true"
|
|
6482
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
6483
|
-
n.hint ? (x(), c("p",
|
|
6497
|
+
}, null, 8, ["icon"])) : s("", !0)], 42, ll))), 128))]))), 128))])) : s("", !0),
|
|
6498
|
+
n.hint ? (x(), c("p", dl, k(n.hint), 1)) : s("", !0)
|
|
6484
6499
|
], 2));
|
|
6485
6500
|
}
|
|
6486
|
-
}),
|
|
6501
|
+
}), pl = { class: "uid-calendar__header" }, ml = { class: "uid-calendar__title" }, hl = { class: "uid-calendar__nav" }, gl = ["aria-label"], _l = ["aria-label"], vl = { class: "uid-calendar__weekdays" }, yl = { class: "uid-calendar__grid" }, bl = [
|
|
6487
6502
|
"tabindex",
|
|
6488
6503
|
"aria-current",
|
|
6489
6504
|
"aria-selected",
|
|
6490
6505
|
"aria-label",
|
|
6491
6506
|
"onClick",
|
|
6492
6507
|
"onKeydown"
|
|
6493
|
-
],
|
|
6508
|
+
], xl = { class: "uid-calendar__date" }, Sl = { class: "uid-calendar__events" }, Cl = ["title", "onClick"], wl = { class: "uid-calendar__event-label" }, Tl = {
|
|
6494
6509
|
key: 0,
|
|
6495
6510
|
class: "uid-calendar__more"
|
|
6496
|
-
},
|
|
6511
|
+
}, El = /* @__PURE__ */ f({
|
|
6497
6512
|
__name: "UidCalendar",
|
|
6498
6513
|
props: /* @__PURE__ */ m({
|
|
6499
6514
|
events: { default: () => [] },
|
|
@@ -6580,7 +6595,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6580
6595
|
e.stopPropagation(), o("event-click", t);
|
|
6581
6596
|
}
|
|
6582
6597
|
return (r, i) => (x(), c("div", { class: _(["uid-calendar", { "uid-calendar--compact": n.compact }]) }, [
|
|
6583
|
-
l("div",
|
|
6598
|
+
l("div", pl, [l("span", ml, k(S.value), 1), l("div", hl, [
|
|
6584
6599
|
l("button", {
|
|
6585
6600
|
type: "button",
|
|
6586
6601
|
class: "uid-calendar__btn uid-calendar__btn--icon",
|
|
@@ -6589,7 +6604,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6589
6604
|
}, [d(e, {
|
|
6590
6605
|
icon: j(re),
|
|
6591
6606
|
size: 14
|
|
6592
|
-
}, null, 8, ["icon"])], 8,
|
|
6607
|
+
}, null, 8, ["icon"])], 8, gl),
|
|
6593
6608
|
l("button", {
|
|
6594
6609
|
type: "button",
|
|
6595
6610
|
class: "uid-calendar__btn",
|
|
@@ -6603,13 +6618,13 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6603
6618
|
}, [d(e, {
|
|
6604
6619
|
icon: j(X),
|
|
6605
6620
|
size: 14
|
|
6606
|
-
}, null, 8, ["icon"])], 8,
|
|
6621
|
+
}, null, 8, ["icon"])], 8, _l)
|
|
6607
6622
|
])]),
|
|
6608
|
-
l("div",
|
|
6623
|
+
l("div", vl, [(x(!0), c(t, null, T(j(f).datePicker.weekdaysShort, (e) => (x(), c("span", {
|
|
6609
6624
|
key: e,
|
|
6610
6625
|
class: "uid-calendar__weekday"
|
|
6611
6626
|
}, k(e), 1))), 128))]),
|
|
6612
|
-
l("div",
|
|
6627
|
+
l("div", yl, [(x(!0), c(t, null, T(D.value, (e) => (x(), c("div", {
|
|
6613
6628
|
key: e.iso,
|
|
6614
6629
|
class: _(["uid-calendar__day", {
|
|
6615
6630
|
"uid-calendar__day--other": !e.current,
|
|
@@ -6624,30 +6639,30 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6624
6639
|
"aria-label": e.iso,
|
|
6625
6640
|
onClick: (t) => F(e),
|
|
6626
6641
|
onKeydown: [V(H((t) => F(e), ["prevent"]), ["enter"]), V(H((t) => F(e), ["prevent"]), ["space"])]
|
|
6627
|
-
}, [l("span",
|
|
6642
|
+
}, [l("span", xl, k(e.date.getDate()), 1), l("div", Sl, [(x(!0), c(t, null, T(e.events.slice(0, n.maxEventsPerDay), (t, n) => (x(), c("button", {
|
|
6628
6643
|
key: t.id ?? `${e.iso}-${n}`,
|
|
6629
6644
|
type: "button",
|
|
6630
6645
|
class: "uid-calendar__event",
|
|
6631
6646
|
style: v(t.color ? { "--uid-event-color": t.color } : void 0),
|
|
6632
6647
|
title: t.title,
|
|
6633
6648
|
onClick: (e) => I(e, t)
|
|
6634
|
-
}, [l("span",
|
|
6649
|
+
}, [l("span", wl, k(t.title), 1)], 12, Cl))), 128)), e.events.length > n.maxEventsPerDay ? (x(), c("span", Tl, "+" + k(e.events.length - n.maxEventsPerDay), 1)) : s("", !0)])], 42, bl))), 128))])
|
|
6635
6650
|
], 2));
|
|
6636
6651
|
}
|
|
6637
|
-
}),
|
|
6652
|
+
}), Dl = ["aria-label"], Ol = [
|
|
6638
6653
|
"viewBox",
|
|
6639
6654
|
"width",
|
|
6640
6655
|
"height"
|
|
6641
|
-
],
|
|
6656
|
+
], kl = [
|
|
6642
6657
|
"x2",
|
|
6643
6658
|
"y1",
|
|
6644
6659
|
"y2"
|
|
6645
|
-
],
|
|
6660
|
+
], Al = [
|
|
6646
6661
|
"x",
|
|
6647
6662
|
"y",
|
|
6648
6663
|
"width",
|
|
6649
6664
|
"height"
|
|
6650
|
-
],
|
|
6665
|
+
], jl = ["d"], Ml = ["d"], Nl = ["cx", "cy"], Pl = ["cx", "cy"], Fl = 2, Il = /* @__PURE__ */ f({
|
|
6651
6666
|
__name: "UidSparkline",
|
|
6652
6667
|
props: {
|
|
6653
6668
|
data: {},
|
|
@@ -6690,11 +6705,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6690
6705
|
};
|
|
6691
6706
|
});
|
|
6692
6707
|
function i(e, t) {
|
|
6693
|
-
return t <= 1 ? n.width / 2 :
|
|
6708
|
+
return t <= 1 ? n.width / 2 : Fl + e / (t - 1) * (n.width - Fl * 2);
|
|
6694
6709
|
}
|
|
6695
6710
|
function o(e) {
|
|
6696
6711
|
let t = r.value, i = (e - t.min) / (t.max - t.min);
|
|
6697
|
-
return n.height -
|
|
6712
|
+
return n.height - Fl - i * (n.height - Fl * 2);
|
|
6698
6713
|
}
|
|
6699
6714
|
let u = a(() => n.data.map((e, t) => ({
|
|
6700
6715
|
x: i(t, n.data.length),
|
|
@@ -6713,14 +6728,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6713
6728
|
}), f = a(() => {
|
|
6714
6729
|
let e = u.value;
|
|
6715
6730
|
if (e.length === 0) return "";
|
|
6716
|
-
let t = n.height -
|
|
6731
|
+
let t = n.height - Fl;
|
|
6717
6732
|
return `${d.value} L ${e[e.length - 1].x.toFixed(2)} ${t.toFixed(2)} L ${e[0].x.toFixed(2)} ${t.toFixed(2)} Z`;
|
|
6718
6733
|
}), p = a(() => {
|
|
6719
6734
|
let e = u.value, t = e.length;
|
|
6720
6735
|
if (t === 0) return [];
|
|
6721
|
-
let r = n.width -
|
|
6736
|
+
let r = n.width - Fl * 2, i = Math.max(1, r / t * .7), a = o(0);
|
|
6722
6737
|
return e.map((e, n) => {
|
|
6723
|
-
let o =
|
|
6738
|
+
let o = Fl + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
|
|
6724
6739
|
return {
|
|
6725
6740
|
x: o,
|
|
6726
6741
|
y: c,
|
|
@@ -6752,59 +6767,59 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6752
6767
|
x2: e.width,
|
|
6753
6768
|
y1: m.value,
|
|
6754
6769
|
y2: m.value
|
|
6755
|
-
}, null, 8,
|
|
6770
|
+
}, null, 8, kl)) : s("", !0), e.type === "bar" ? (x(!0), c(t, { key: 1 }, T(p.value, (e, t) => (x(), c("rect", {
|
|
6756
6771
|
key: t,
|
|
6757
6772
|
class: _(["uid-sparkline__bar", { "uid-sparkline__bar--negative": e.negative }]),
|
|
6758
6773
|
x: e.x,
|
|
6759
6774
|
y: e.y,
|
|
6760
6775
|
width: e.width,
|
|
6761
6776
|
height: e.height
|
|
6762
|
-
}, null, 10,
|
|
6777
|
+
}, null, 10, Al))), 128)) : (x(), c(t, { key: 2 }, [
|
|
6763
6778
|
e.type === "area" ? (x(), c("path", {
|
|
6764
6779
|
key: 0,
|
|
6765
6780
|
class: "uid-sparkline__area",
|
|
6766
6781
|
d: f.value
|
|
6767
|
-
}, null, 8,
|
|
6782
|
+
}, null, 8, jl)) : s("", !0),
|
|
6768
6783
|
l("path", {
|
|
6769
6784
|
class: "uid-sparkline__line",
|
|
6770
6785
|
d: d.value
|
|
6771
|
-
}, null, 8,
|
|
6786
|
+
}, null, 8, Ml),
|
|
6772
6787
|
e.showDots ? (x(!0), c(t, { key: 1 }, T(u.value, (e, t) => (x(), c("circle", {
|
|
6773
6788
|
key: t,
|
|
6774
6789
|
class: "uid-sparkline__dot",
|
|
6775
6790
|
cx: e.x,
|
|
6776
6791
|
cy: e.y,
|
|
6777
6792
|
r: "2.5"
|
|
6778
|
-
}, null, 8,
|
|
6793
|
+
}, null, 8, Nl))), 128)) : s("", !0),
|
|
6779
6794
|
e.showLast && g.value && !e.showDots ? (x(), c("circle", {
|
|
6780
6795
|
key: 2,
|
|
6781
6796
|
class: "uid-sparkline__dot uid-sparkline__dot--last",
|
|
6782
6797
|
cx: g.value.x,
|
|
6783
6798
|
cy: g.value.y,
|
|
6784
6799
|
r: "2.5"
|
|
6785
|
-
}, null, 8,
|
|
6786
|
-
], 64))], 8,
|
|
6800
|
+
}, null, 8, Pl)) : s("", !0)
|
|
6801
|
+
], 64))], 8, Ol))], 12, Dl));
|
|
6787
6802
|
}
|
|
6788
|
-
}),
|
|
6803
|
+
}), Ll = ["aria-valuemax", "aria-valuenow"], Rl = [
|
|
6789
6804
|
"width",
|
|
6790
6805
|
"height",
|
|
6791
6806
|
"viewBox"
|
|
6792
|
-
],
|
|
6807
|
+
], zl = [
|
|
6793
6808
|
"cx",
|
|
6794
6809
|
"cy",
|
|
6795
6810
|
"r",
|
|
6796
6811
|
"stroke-width"
|
|
6797
|
-
],
|
|
6812
|
+
], Bl = [
|
|
6798
6813
|
"cx",
|
|
6799
6814
|
"cy",
|
|
6800
6815
|
"r",
|
|
6801
6816
|
"stroke-width",
|
|
6802
6817
|
"stroke-dasharray",
|
|
6803
6818
|
"stroke-dashoffset"
|
|
6804
|
-
],
|
|
6819
|
+
], Vl = {
|
|
6805
6820
|
key: 0,
|
|
6806
6821
|
class: "uid-progress-ring__label"
|
|
6807
|
-
},
|
|
6822
|
+
}, Hl = /* @__PURE__ */ f({
|
|
6808
6823
|
__name: "UidProgressRing",
|
|
6809
6824
|
props: {
|
|
6810
6825
|
value: { default: 0 },
|
|
@@ -6849,7 +6864,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6849
6864
|
cy: i.value,
|
|
6850
6865
|
r: n.value,
|
|
6851
6866
|
"stroke-width": e.strokeWidth
|
|
6852
|
-
}, null, 8,
|
|
6867
|
+
}, null, 8, zl), l("circle", {
|
|
6853
6868
|
class: "uid-progress-ring__progress",
|
|
6854
6869
|
cx: i.value,
|
|
6855
6870
|
cy: i.value,
|
|
@@ -6857,50 +6872,50 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6857
6872
|
"stroke-width": e.strokeWidth,
|
|
6858
6873
|
"stroke-dasharray": r.value,
|
|
6859
6874
|
"stroke-dashoffset": f.value
|
|
6860
|
-
}, null, 8,
|
|
6875
|
+
}, null, 8, Bl)], 8, Rl)), e.showLabel || t.$slots.default ? (x(), c("div", Vl, [E(t.$slots, "default", {}, () => [u(k(p.value), 1)])])) : s("", !0)], 14, Ll));
|
|
6861
6876
|
}
|
|
6862
|
-
}),
|
|
6877
|
+
}), Ul = [
|
|
6863
6878
|
"aria-valuemin",
|
|
6864
6879
|
"aria-valuemax",
|
|
6865
6880
|
"aria-valuenow",
|
|
6866
6881
|
"aria-label"
|
|
6867
|
-
],
|
|
6882
|
+
], Wl = [
|
|
6868
6883
|
"width",
|
|
6869
6884
|
"height",
|
|
6870
6885
|
"viewBox"
|
|
6871
|
-
],
|
|
6886
|
+
], Gl = ["d", "stroke-width"], Kl = [
|
|
6872
6887
|
"d",
|
|
6873
6888
|
"stroke",
|
|
6874
6889
|
"stroke-width",
|
|
6875
6890
|
"stroke-dasharray",
|
|
6876
6891
|
"stroke-dashoffset"
|
|
6877
|
-
],
|
|
6892
|
+
], ql = [
|
|
6878
6893
|
"d",
|
|
6879
6894
|
"stroke-width",
|
|
6880
6895
|
"stroke-dasharray",
|
|
6881
6896
|
"stroke-dashoffset"
|
|
6882
|
-
],
|
|
6897
|
+
], Jl = { key: 2 }, Yl = [
|
|
6883
6898
|
"x1",
|
|
6884
6899
|
"y1",
|
|
6885
6900
|
"x2",
|
|
6886
6901
|
"y2",
|
|
6887
6902
|
"transform"
|
|
6888
|
-
],
|
|
6903
|
+
], Xl = ["cx", "cy"], Zl = {
|
|
6889
6904
|
key: 0,
|
|
6890
6905
|
class: "uid-gauge__content"
|
|
6891
|
-
},
|
|
6906
|
+
}, Ql = {
|
|
6892
6907
|
key: 0,
|
|
6893
6908
|
class: "uid-gauge__value"
|
|
6894
|
-
},
|
|
6909
|
+
}, $l = {
|
|
6895
6910
|
key: 0,
|
|
6896
6911
|
class: "uid-gauge__suffix"
|
|
6897
|
-
},
|
|
6912
|
+
}, eu = {
|
|
6898
6913
|
key: 1,
|
|
6899
6914
|
class: "uid-gauge__label"
|
|
6900
|
-
},
|
|
6915
|
+
}, tu = {
|
|
6901
6916
|
key: 1,
|
|
6902
6917
|
class: "uid-gauge__limits"
|
|
6903
|
-
},
|
|
6918
|
+
}, nu = 4, ru = /* @__PURE__ */ f({
|
|
6904
6919
|
__name: "UidGauge",
|
|
6905
6920
|
props: {
|
|
6906
6921
|
value: { default: 0 },
|
|
@@ -6929,7 +6944,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6929
6944
|
formatValue: {}
|
|
6930
6945
|
},
|
|
6931
6946
|
setup(e) {
|
|
6932
|
-
let n = e, r = a(() => (n.size - n.strokeWidth) / 2 -
|
|
6947
|
+
let n = e, r = a(() => (n.size - n.strokeWidth) / 2 - nu), i = a(() => n.size / 2), o = a(() => n.size / 2), u = a(() => n.size / 2 + n.strokeWidth / 2 + nu), d = a(() => Math.PI * r.value), f = a(() => Math.max(n.min, Math.min(n.max, n.value))), p = a(() => {
|
|
6933
6948
|
let e = n.max - n.min;
|
|
6934
6949
|
return e <= 0 ? 0 : (f.value - n.min) / e;
|
|
6935
6950
|
}), m = a(() => {
|
|
@@ -6967,7 +6982,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6967
6982
|
class: "uid-gauge__track",
|
|
6968
6983
|
d: m.value,
|
|
6969
6984
|
"stroke-width": e.strokeWidth
|
|
6970
|
-
}, null, 8,
|
|
6985
|
+
}, null, 8, Gl),
|
|
6971
6986
|
e.ranges && e.ranges.length ? (x(!0), c(t, { key: 0 }, T(e.ranges, (t, n) => (x(), c("path", {
|
|
6972
6987
|
key: n,
|
|
6973
6988
|
class: "uid-gauge__range",
|
|
@@ -6976,7 +6991,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6976
6991
|
"stroke-width": e.strokeWidth,
|
|
6977
6992
|
"stroke-dasharray": g(t).dasharray,
|
|
6978
6993
|
"stroke-dashoffset": g(t).dashoffset
|
|
6979
|
-
}, null, 8,
|
|
6994
|
+
}, null, 8, Kl))), 128)) : s("", !0),
|
|
6980
6995
|
!e.ranges || e.ranges.length === 0 ? (x(), c("path", {
|
|
6981
6996
|
key: 1,
|
|
6982
6997
|
class: "uid-gauge__progress",
|
|
@@ -6984,43 +6999,43 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6984
6999
|
"stroke-width": e.strokeWidth,
|
|
6985
7000
|
"stroke-dasharray": d.value,
|
|
6986
7001
|
"stroke-dashoffset": h.value
|
|
6987
|
-
}, null, 8,
|
|
6988
|
-
e.showNeedle ? (x(), c("g",
|
|
7002
|
+
}, null, 8, ql)) : s("", !0),
|
|
7003
|
+
e.showNeedle ? (x(), c("g", Jl, [l("line", {
|
|
6989
7004
|
class: "uid-gauge__needle",
|
|
6990
7005
|
x1: i.value,
|
|
6991
7006
|
y1: o.value,
|
|
6992
7007
|
x2: i.value + r.value - e.strokeWidth,
|
|
6993
7008
|
y2: o.value,
|
|
6994
7009
|
transform: `rotate(${y.value} ${i.value} ${o.value})`
|
|
6995
|
-
}, null, 8,
|
|
7010
|
+
}, null, 8, Yl), l("circle", {
|
|
6996
7011
|
class: "uid-gauge__needle-pivot",
|
|
6997
7012
|
cx: i.value,
|
|
6998
7013
|
cy: o.value,
|
|
6999
7014
|
r: "4"
|
|
7000
|
-
}, null, 8,
|
|
7001
|
-
], 8,
|
|
7002
|
-
e.showValue || e.label ? (x(), c("div",
|
|
7003
|
-
e.showLimits ? (x(), c("div",
|
|
7004
|
-
], 14,
|
|
7015
|
+
}, null, 8, Xl)])) : s("", !0)
|
|
7016
|
+
], 8, Wl)),
|
|
7017
|
+
e.showValue || e.label ? (x(), c("div", Zl, [e.showValue ? (x(), c("div", Ql, [l("span", null, k(b.value), 1), e.suffix ? (x(), c("span", $l, k(e.suffix), 1)) : s("", !0)])) : s("", !0), e.label ? (x(), c("div", eu, k(e.label), 1)) : s("", !0)])) : s("", !0),
|
|
7018
|
+
e.showLimits ? (x(), c("div", tu, [l("span", null, k(e.min), 1), l("span", null, k(e.max), 1)])) : s("", !0)
|
|
7019
|
+
], 14, Ul));
|
|
7005
7020
|
}
|
|
7006
|
-
}),
|
|
7021
|
+
}), iu = ["aria-label"], au = { class: "uid-heatmap__chart" }, ou = {
|
|
7007
7022
|
key: 0,
|
|
7008
7023
|
class: "uid-heatmap__weekdays",
|
|
7009
7024
|
"aria-hidden": "true"
|
|
7010
|
-
},
|
|
7025
|
+
}, su = { class: "uid-heatmap__grid-wrapper" }, cu = [
|
|
7011
7026
|
"width",
|
|
7012
7027
|
"height",
|
|
7013
7028
|
"viewBox"
|
|
7014
|
-
],
|
|
7029
|
+
], lu = [
|
|
7015
7030
|
"x",
|
|
7016
7031
|
"y",
|
|
7017
7032
|
"width",
|
|
7018
7033
|
"height",
|
|
7019
7034
|
"fill"
|
|
7020
|
-
],
|
|
7035
|
+
], uu = {
|
|
7021
7036
|
key: 0,
|
|
7022
7037
|
class: "uid-heatmap__legend"
|
|
7023
|
-
},
|
|
7038
|
+
}, du = /* @__PURE__ */ f({
|
|
7024
7039
|
__name: "UidHeatmap",
|
|
7025
7040
|
props: {
|
|
7026
7041
|
data: {},
|
|
@@ -7126,10 +7141,10 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7126
7141
|
style: v(E.value),
|
|
7127
7142
|
role: "img",
|
|
7128
7143
|
"aria-label": M.value
|
|
7129
|
-
}, [l("div",
|
|
7144
|
+
}, [l("div", au, [e.showWeekdays ? (x(), c("div", ou, [(x(!0), c(t, null, T(j(r).datePicker.weekdaysShort, (e, t) => (x(), c("span", {
|
|
7130
7145
|
key: e,
|
|
7131
7146
|
class: _(["uid-heatmap__weekday", { "uid-heatmap__weekday--visible": t === 0 || t === 2 || t === 4 }])
|
|
7132
|
-
}, k(e), 3))), 128))])) : s("", !0), l("div",
|
|
7147
|
+
}, k(e), 3))), 128))])) : s("", !0), l("div", su, [e.showMonths ? (x(), c("div", {
|
|
7133
7148
|
key: 0,
|
|
7134
7149
|
class: "uid-heatmap__months",
|
|
7135
7150
|
style: v({ width: `${C.value}px` }),
|
|
@@ -7152,7 +7167,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7152
7167
|
width: e.cellSize,
|
|
7153
7168
|
height: e.cellSize,
|
|
7154
7169
|
fill: b(t.level)
|
|
7155
|
-
}, [l("title", null, k(O(t)), 1)], 8,
|
|
7170
|
+
}, [l("title", null, k(O(t)), 1)], 8, lu))), 128))], 8, cu))])]), e.showLegend ? (x(), c("div", uu, [
|
|
7156
7171
|
i[0] ||= l("span", null, "Меньше", -1),
|
|
7157
7172
|
(x(!0), c(t, null, T(D.value, (e) => (x(), c("span", {
|
|
7158
7173
|
key: e,
|
|
@@ -7160,15 +7175,15 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7160
7175
|
style: v(e === 0 ? void 0 : { background: b(e) })
|
|
7161
7176
|
}, null, 4))), 128)),
|
|
7162
7177
|
i[1] ||= l("span", null, "Больше", -1)
|
|
7163
|
-
])) : s("", !0)], 12,
|
|
7178
|
+
])) : s("", !0)], 12, iu));
|
|
7164
7179
|
}
|
|
7165
|
-
}),
|
|
7180
|
+
}), fu = ["aria-label"], pu = ["aria-current"], mu = { class: "uid-stepper__indicator" }, hu = {
|
|
7166
7181
|
key: 1,
|
|
7167
7182
|
"aria-hidden": "true"
|
|
7168
|
-
},
|
|
7183
|
+
}, gu = { class: "uid-stepper__content" }, _u = { class: "uid-stepper__label" }, vu = {
|
|
7169
7184
|
key: 0,
|
|
7170
7185
|
class: "uid-stepper__description"
|
|
7171
|
-
},
|
|
7186
|
+
}, yu = /* @__PURE__ */ f({
|
|
7172
7187
|
__name: "UidStepper",
|
|
7173
7188
|
props: {
|
|
7174
7189
|
steps: {},
|
|
@@ -7186,18 +7201,18 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7186
7201
|
key: i,
|
|
7187
7202
|
class: _(["uid-stepper__step", [`uid-stepper__step--${r(i, n.current)}`]]),
|
|
7188
7203
|
"aria-current": i === n.current ? "step" : void 0
|
|
7189
|
-
}, [l("div",
|
|
7204
|
+
}, [l("div", mu, [r(i, n.current) === "completed" ? (x(), o(e, {
|
|
7190
7205
|
key: 0,
|
|
7191
7206
|
icon: j(q),
|
|
7192
7207
|
size: 16,
|
|
7193
7208
|
"aria-hidden": "true"
|
|
7194
|
-
}, null, 8, ["icon"])) : (x(), c("span",
|
|
7209
|
+
}, null, 8, ["icon"])) : (x(), c("span", hu, k(i + 1), 1))]), l("div", gu, [l("span", _u, k(t.label), 1), t.description ? (x(), c("span", vu, k(t.description), 1)) : s("", !0)])], 10, pu))), 128))], 10, fu));
|
|
7195
7210
|
}
|
|
7196
|
-
}),
|
|
7211
|
+
}), bu = /* @__PURE__ */ f({
|
|
7197
7212
|
__name: "UidStack",
|
|
7198
7213
|
props: {
|
|
7199
7214
|
direction: { default: "column" },
|
|
7200
|
-
gap: { default: "var(--uid-space-
|
|
7215
|
+
gap: { default: "var(--uid-space-md)" },
|
|
7201
7216
|
align: { default: void 0 },
|
|
7202
7217
|
justify: { default: void 0 },
|
|
7203
7218
|
wrap: {
|
|
@@ -7239,11 +7254,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7239
7254
|
_: 3
|
|
7240
7255
|
}, 8, ["class", "style"]));
|
|
7241
7256
|
}
|
|
7242
|
-
}),
|
|
7257
|
+
}), xu = /* @__PURE__ */ f({
|
|
7243
7258
|
__name: "UidGrid",
|
|
7244
7259
|
props: {
|
|
7245
7260
|
cols: { default: 12 },
|
|
7246
|
-
gap: { default: "var(--uid-space-
|
|
7261
|
+
gap: { default: "var(--uid-space-md)" },
|
|
7247
7262
|
rowGap: { default: void 0 },
|
|
7248
7263
|
colGap: { default: void 0 },
|
|
7249
7264
|
align: { default: void 0 },
|
|
@@ -7272,7 +7287,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7272
7287
|
_: 3
|
|
7273
7288
|
}, 8, ["style"]));
|
|
7274
7289
|
}
|
|
7275
|
-
}),
|
|
7290
|
+
}), Su = /* @__PURE__ */ f({
|
|
7276
7291
|
__name: "UidContainer",
|
|
7277
7292
|
props: {
|
|
7278
7293
|
size: { default: "lg" },
|
|
@@ -7288,7 +7303,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7288
7303
|
_: 3
|
|
7289
7304
|
}, 8, ["class"]));
|
|
7290
7305
|
}
|
|
7291
|
-
}),
|
|
7306
|
+
}), Cu = Symbol("uid-wizard"), wu = { class: "uid-wizard" }, Tu = /* @__PURE__ */ f({
|
|
7292
7307
|
__name: "UidWizard",
|
|
7293
7308
|
props: /* @__PURE__ */ m({ steps: {} }, {
|
|
7294
7309
|
modelValue: { default: 0 },
|
|
@@ -7313,7 +7328,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7313
7328
|
function m(e) {
|
|
7314
7329
|
i.delete(e);
|
|
7315
7330
|
}
|
|
7316
|
-
return S(
|
|
7331
|
+
return S(Cu, {
|
|
7317
7332
|
current: r,
|
|
7318
7333
|
steps: o,
|
|
7319
7334
|
isFirst: s,
|
|
@@ -7330,9 +7345,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7330
7345
|
goTo: f,
|
|
7331
7346
|
isFirst: s,
|
|
7332
7347
|
isLast: l
|
|
7333
|
-
}), (e, t) => (x(), c("div",
|
|
7348
|
+
}), (e, t) => (x(), c("div", wu, [E(e.$slots, "default")]));
|
|
7334
7349
|
}
|
|
7335
|
-
}),
|
|
7350
|
+
}), Eu = ["aria-label"], Du = /* @__PURE__ */ f({
|
|
7336
7351
|
__name: "UidWizardStep",
|
|
7337
7352
|
props: {
|
|
7338
7353
|
index: {},
|
|
@@ -7342,7 +7357,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7342
7357
|
}
|
|
7343
7358
|
},
|
|
7344
7359
|
setup(e) {
|
|
7345
|
-
let t = e, n = p(
|
|
7360
|
+
let t = e, n = p(Cu);
|
|
7346
7361
|
if (!n) throw Error("UidWizardStep must be inside UidWizard");
|
|
7347
7362
|
R(() => t.validate, (e, r) => {
|
|
7348
7363
|
r !== void 0 && n.unregisterValidator(t.index), e !== void 0 && n.registerValidator(t.index, e);
|
|
@@ -7353,22 +7368,22 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7353
7368
|
class: "uid-wizard-step",
|
|
7354
7369
|
role: "tabpanel",
|
|
7355
7370
|
"aria-label": `Шаг ${e.index + 1}`
|
|
7356
|
-
}, [E(t.$slots, "default")], 8,
|
|
7371
|
+
}, [E(t.$slots, "default")], 8, Eu)) : s("", !0);
|
|
7357
7372
|
}
|
|
7358
|
-
}),
|
|
7373
|
+
}), Ou = { class: "uid-pattern-header__inner" }, ku = {
|
|
7359
7374
|
key: 0,
|
|
7360
7375
|
class: "uid-pattern-header__logo"
|
|
7361
|
-
},
|
|
7376
|
+
}, Au = {
|
|
7362
7377
|
key: 1,
|
|
7363
7378
|
class: "uid-pattern-header__nav",
|
|
7364
7379
|
"aria-label": "Основная навигация"
|
|
7365
|
-
},
|
|
7380
|
+
}, ju = {
|
|
7366
7381
|
key: 2,
|
|
7367
7382
|
class: "uid-pattern-header__actions"
|
|
7368
|
-
},
|
|
7383
|
+
}, Mu = {
|
|
7369
7384
|
key: 3,
|
|
7370
7385
|
class: "uid-pattern-header__mobile"
|
|
7371
|
-
},
|
|
7386
|
+
}, Nu = /* @__PURE__ */ f({
|
|
7372
7387
|
__name: "UidHeader",
|
|
7373
7388
|
props: {
|
|
7374
7389
|
sticky: {
|
|
@@ -7389,38 +7404,38 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7389
7404
|
"uid-pattern-header--sticky": e.sticky,
|
|
7390
7405
|
"uid-pattern-header--bordered": e.bordered,
|
|
7391
7406
|
"uid-pattern-header--transparent": e.transparent
|
|
7392
|
-
}]) }, [l("div",
|
|
7393
|
-
t.$slots.logo ? (x(), c("div",
|
|
7394
|
-
t.$slots.nav ? (x(), c("nav",
|
|
7395
|
-
t.$slots.actions ? (x(), c("div",
|
|
7396
|
-
t.$slots.mobile ? (x(), c("div",
|
|
7407
|
+
}]) }, [l("div", Ou, [
|
|
7408
|
+
t.$slots.logo ? (x(), c("div", ku, [E(t.$slots, "logo")])) : s("", !0),
|
|
7409
|
+
t.$slots.nav ? (x(), c("nav", Au, [E(t.$slots, "nav")])) : s("", !0),
|
|
7410
|
+
t.$slots.actions ? (x(), c("div", ju, [E(t.$slots, "actions")])) : s("", !0),
|
|
7411
|
+
t.$slots.mobile ? (x(), c("div", Mu, [E(t.$slots, "mobile")])) : s("", !0)
|
|
7397
7412
|
])], 2));
|
|
7398
7413
|
}
|
|
7399
|
-
}),
|
|
7414
|
+
}), Pu = { class: "uid-pattern-footer__inner" }, Fu = {
|
|
7400
7415
|
key: 0,
|
|
7401
7416
|
class: "uid-pattern-footer__columns"
|
|
7402
|
-
},
|
|
7417
|
+
}, Iu = {
|
|
7403
7418
|
key: 1,
|
|
7404
7419
|
class: "uid-pattern-footer__content"
|
|
7405
|
-
},
|
|
7420
|
+
}, Lu = {
|
|
7406
7421
|
key: 2,
|
|
7407
7422
|
class: "uid-pattern-footer__bottom"
|
|
7408
|
-
},
|
|
7423
|
+
}, Ru = /* @__PURE__ */ f({
|
|
7409
7424
|
__name: "UidFooter",
|
|
7410
7425
|
props: { variant: { default: "minimal" } },
|
|
7411
7426
|
setup(e) {
|
|
7412
|
-
return (t, n) => (x(), c("footer", { class: _(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div",
|
|
7427
|
+
return (t, n) => (x(), c("footer", { class: _(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", Pu, [t.$slots.columns ? (x(), c("div", Fu, [E(t.$slots, "columns")])) : t.$slots.default ? (x(), c("div", Iu, [E(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (x(), c("div", Lu, [E(t.$slots, "bottom")])) : s("", !0)])], 2));
|
|
7413
7428
|
}
|
|
7414
|
-
}),
|
|
7429
|
+
}), zu = {
|
|
7415
7430
|
key: 0,
|
|
7416
7431
|
class: "uid-pattern-sidebar__header"
|
|
7417
|
-
},
|
|
7432
|
+
}, Bu = {
|
|
7418
7433
|
class: "uid-pattern-sidebar__nav",
|
|
7419
7434
|
"aria-label": "Навигация"
|
|
7420
|
-
},
|
|
7435
|
+
}, Vu = {
|
|
7421
7436
|
key: 1,
|
|
7422
7437
|
class: "uid-pattern-sidebar__footer"
|
|
7423
|
-
},
|
|
7438
|
+
}, Hu = /* @__PURE__ */ f({
|
|
7424
7439
|
__name: "UidSidebar",
|
|
7425
7440
|
props: {
|
|
7426
7441
|
collapsed: {
|
|
@@ -7436,19 +7451,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7436
7451
|
style: v(e.width && !e.collapsed ? { "--uid-sidebar-width": e.width } : void 0),
|
|
7437
7452
|
"aria-label": "Боковая навигация"
|
|
7438
7453
|
}, [
|
|
7439
|
-
t.$slots.header ? (x(), c("div",
|
|
7440
|
-
l("nav",
|
|
7441
|
-
t.$slots.footer ? (x(), c("div",
|
|
7454
|
+
t.$slots.header ? (x(), c("div", zu, [E(t.$slots, "header")])) : s("", !0),
|
|
7455
|
+
l("nav", Bu, [E(t.$slots, "nav")]),
|
|
7456
|
+
t.$slots.footer ? (x(), c("div", Vu, [E(t.$slots, "footer")])) : s("", !0)
|
|
7442
7457
|
], 6));
|
|
7443
7458
|
}
|
|
7444
|
-
}),
|
|
7459
|
+
}), Uu = {
|
|
7445
7460
|
key: 0,
|
|
7446
7461
|
class: "uid-sidebar-item__icon",
|
|
7447
7462
|
"aria-hidden": "true"
|
|
7448
|
-
},
|
|
7463
|
+
}, Wu = { class: "uid-sidebar-item__label" }, Gu = {
|
|
7449
7464
|
key: 1,
|
|
7450
7465
|
class: "uid-sidebar-item__badge"
|
|
7451
|
-
},
|
|
7466
|
+
}, Ku = /* @__PURE__ */ f({
|
|
7452
7467
|
__name: "UidSidebarItem",
|
|
7453
7468
|
props: {
|
|
7454
7469
|
href: { default: void 0 },
|
|
@@ -7483,9 +7498,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7483
7498
|
tabindex: e.disabled ? -1 : void 0
|
|
7484
7499
|
}), {
|
|
7485
7500
|
default: z(() => [
|
|
7486
|
-
t.$slots.icon ? (x(), c("span",
|
|
7487
|
-
l("span",
|
|
7488
|
-
e.badge === void 0 ? s("", !0) : (x(), c("span",
|
|
7501
|
+
t.$slots.icon ? (x(), c("span", Uu, [E(t.$slots, "icon")])) : s("", !0),
|
|
7502
|
+
l("span", Wu, [E(t.$slots, "default")]),
|
|
7503
|
+
e.badge === void 0 ? s("", !0) : (x(), c("span", Gu, k(e.badge), 1))
|
|
7489
7504
|
]),
|
|
7490
7505
|
_: 3
|
|
7491
7506
|
}, 16, [
|
|
@@ -7495,10 +7510,10 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7495
7510
|
"tabindex"
|
|
7496
7511
|
]));
|
|
7497
7512
|
}
|
|
7498
|
-
}),
|
|
7513
|
+
}), qu = { class: "uid-sidebar-group" }, Ju = {
|
|
7499
7514
|
key: 0,
|
|
7500
7515
|
class: "uid-sidebar-group__title"
|
|
7501
|
-
},
|
|
7516
|
+
}, Yu = /* @__PURE__ */ f({
|
|
7502
7517
|
__name: "UidSidebarGroup",
|
|
7503
7518
|
props: {
|
|
7504
7519
|
title: { default: void 0 },
|
|
@@ -7508,29 +7523,29 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7508
7523
|
}
|
|
7509
7524
|
},
|
|
7510
7525
|
setup(e) {
|
|
7511
|
-
return (t, n) => (x(), c("div",
|
|
7526
|
+
return (t, n) => (x(), c("div", qu, [e.title ? (x(), c("p", Ju, k(e.title), 1)) : s("", !0), E(t.$slots, "default")]));
|
|
7512
7527
|
}
|
|
7513
|
-
}),
|
|
7528
|
+
}), Xu = {}, Zu = {
|
|
7514
7529
|
class: "uid-sidebar-divider",
|
|
7515
7530
|
role: "separator",
|
|
7516
7531
|
"aria-hidden": "true"
|
|
7517
7532
|
};
|
|
7518
|
-
function
|
|
7519
|
-
return x(), c("div",
|
|
7533
|
+
function Qu(e, t) {
|
|
7534
|
+
return x(), c("div", Zu);
|
|
7520
7535
|
}
|
|
7521
|
-
var
|
|
7536
|
+
var $u = /* @__PURE__ */ Gn(Xu, [["render", Qu]]), ed = { class: "uid-pattern-page-header" }, td = {
|
|
7522
7537
|
key: 0,
|
|
7523
7538
|
class: "uid-pattern-page-header__breadcrumb"
|
|
7524
|
-
},
|
|
7539
|
+
}, nd = { class: "uid-pattern-page-header__row" }, rd = { class: "uid-pattern-page-header__heading" }, id = { class: "uid-pattern-page-header__title" }, ad = {
|
|
7525
7540
|
key: 0,
|
|
7526
7541
|
class: "uid-pattern-page-header__description"
|
|
7527
|
-
},
|
|
7542
|
+
}, od = {
|
|
7528
7543
|
key: 0,
|
|
7529
7544
|
class: "uid-pattern-page-header__actions"
|
|
7530
|
-
},
|
|
7545
|
+
}, sd = {
|
|
7531
7546
|
key: 1,
|
|
7532
7547
|
class: "uid-pattern-page-header__tabs"
|
|
7533
|
-
},
|
|
7548
|
+
}, cd = /* @__PURE__ */ f({
|
|
7534
7549
|
__name: "UidPageHeader",
|
|
7535
7550
|
props: {
|
|
7536
7551
|
title: { default: void 0 },
|
|
@@ -7543,9 +7558,9 @@ var ed = /* @__PURE__ */ Gn(Zu, [["render", $u]]), td = { class: "uid-pattern-pa
|
|
|
7543
7558
|
emits: ["back"],
|
|
7544
7559
|
setup(t, { emit: n }) {
|
|
7545
7560
|
let r = n;
|
|
7546
|
-
return (n, i) => (x(), c("div",
|
|
7547
|
-
n.$slots.breadcrumb ? (x(), c("div",
|
|
7548
|
-
l("div",
|
|
7561
|
+
return (n, i) => (x(), c("div", ed, [
|
|
7562
|
+
n.$slots.breadcrumb ? (x(), c("div", td, [E(n.$slots, "breadcrumb")])) : s("", !0),
|
|
7563
|
+
l("div", nd, [l("div", rd, [t.back ? (x(), c("button", {
|
|
7549
7564
|
key: 0,
|
|
7550
7565
|
type: "button",
|
|
7551
7566
|
class: "uid-pattern-page-header__back",
|
|
@@ -7554,42 +7569,42 @@ var ed = /* @__PURE__ */ Gn(Zu, [["render", $u]]), td = { class: "uid-pattern-pa
|
|
|
7554
7569
|
}, [d(e, {
|
|
7555
7570
|
icon: j(ee),
|
|
7556
7571
|
size: 20
|
|
7557
|
-
}, null, 8, ["icon"])])) : s("", !0), l("div", null, [l("h1",
|
|
7558
|
-
n.$slots.tabs ? (x(), c("div",
|
|
7572
|
+
}, null, 8, ["icon"])])) : s("", !0), l("div", null, [l("h1", id, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", ad, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (x(), c("div", od, [E(n.$slots, "actions")])) : s("", !0)]),
|
|
7573
|
+
n.$slots.tabs ? (x(), c("div", sd, [E(n.$slots, "tabs")])) : s("", !0)
|
|
7559
7574
|
]));
|
|
7560
7575
|
}
|
|
7561
|
-
}),
|
|
7576
|
+
}), ld = { class: "uid-pattern-empty-state" }, ud = { class: "uid-pattern-empty-state__illustration" }, dd = { class: "uid-pattern-empty-state__content" }, fd = { class: "uid-pattern-empty-state__title" }, pd = {
|
|
7562
7577
|
key: 0,
|
|
7563
7578
|
class: "uid-pattern-empty-state__description"
|
|
7564
|
-
},
|
|
7579
|
+
}, md = {
|
|
7565
7580
|
key: 0,
|
|
7566
7581
|
class: "uid-pattern-empty-state__actions"
|
|
7567
|
-
},
|
|
7582
|
+
}, hd = /* @__PURE__ */ f({
|
|
7568
7583
|
__name: "UidEmptyState",
|
|
7569
7584
|
props: {
|
|
7570
7585
|
title: { default: "Ничего не найдено" },
|
|
7571
7586
|
description: { default: void 0 }
|
|
7572
7587
|
},
|
|
7573
7588
|
setup(t) {
|
|
7574
|
-
return (n, r) => (x(), c("div",
|
|
7575
|
-
l("div",
|
|
7589
|
+
return (n, r) => (x(), c("div", ld, [
|
|
7590
|
+
l("div", ud, [E(n.$slots, "illustration", {}, () => [d(e, {
|
|
7576
7591
|
icon: j(ce),
|
|
7577
7592
|
size: 48
|
|
7578
7593
|
}, null, 8, ["icon"])])]),
|
|
7579
|
-
l("div",
|
|
7580
|
-
n.$slots.actions ? (x(), c("div",
|
|
7594
|
+
l("div", dd, [l("h2", fd, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", pd, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)]),
|
|
7595
|
+
n.$slots.actions ? (x(), c("div", md, [E(n.$slots, "actions")])) : s("", !0)
|
|
7581
7596
|
]));
|
|
7582
7597
|
}
|
|
7583
|
-
}),
|
|
7598
|
+
}), gd = { class: "uid-pattern-error-state" }, _d = { class: "uid-pattern-error-state__illustration" }, vd = {
|
|
7584
7599
|
key: 0,
|
|
7585
7600
|
class: "uid-pattern-error-state__code"
|
|
7586
|
-
},
|
|
7601
|
+
}, yd = { class: "uid-pattern-error-state__content" }, bd = { class: "uid-pattern-error-state__title" }, xd = {
|
|
7587
7602
|
key: 0,
|
|
7588
7603
|
class: "uid-pattern-error-state__description"
|
|
7589
|
-
},
|
|
7604
|
+
}, Sd = {
|
|
7590
7605
|
key: 1,
|
|
7591
7606
|
class: "uid-pattern-error-state__actions"
|
|
7592
|
-
},
|
|
7607
|
+
}, Cd = /* @__PURE__ */ f({
|
|
7593
7608
|
__name: "UidErrorState",
|
|
7594
7609
|
props: {
|
|
7595
7610
|
code: { default: void 0 },
|
|
@@ -7614,23 +7629,23 @@ var ed = /* @__PURE__ */ Gn(Zu, [["render", $u]]), td = { class: "uid-pattern-pa
|
|
|
7614
7629
|
description: "Проверьте подключение к интернету и попробуйте снова."
|
|
7615
7630
|
}
|
|
7616
7631
|
}, i = a(() => n.code ? r[n.code] ?? null : null), o = a(() => i.value?.icon ?? U), f = a(() => n.title ?? i.value?.title ?? "Что-то пошло не так"), p = a(() => n.description ?? i.value?.description);
|
|
7617
|
-
return (n, r) => (x(), c("div",
|
|
7618
|
-
l("div",
|
|
7632
|
+
return (n, r) => (x(), c("div", gd, [
|
|
7633
|
+
l("div", _d, [E(n.$slots, "illustration", {}, () => [d(e, {
|
|
7619
7634
|
icon: o.value,
|
|
7620
7635
|
size: 48
|
|
7621
7636
|
}, null, 8, ["icon"])])]),
|
|
7622
|
-
t.code ? (x(), c("div",
|
|
7623
|
-
l("div",
|
|
7624
|
-
n.$slots.actions ? (x(), c("div",
|
|
7637
|
+
t.code ? (x(), c("div", vd, k(t.code), 1)) : s("", !0),
|
|
7638
|
+
l("div", yd, [l("h2", bd, [E(n.$slots, "title", {}, () => [u(k(f.value), 1)])]), p.value || n.$slots.description ? (x(), c("p", xd, [E(n.$slots, "description", {}, () => [u(k(p.value), 1)])])) : s("", !0)]),
|
|
7639
|
+
n.$slots.actions ? (x(), c("div", Sd, [E(n.$slots, "actions")])) : s("", !0)
|
|
7625
7640
|
]));
|
|
7626
7641
|
}
|
|
7627
|
-
}),
|
|
7642
|
+
}), wd = {
|
|
7628
7643
|
key: 0,
|
|
7629
7644
|
class: "uid-layout-simple__header"
|
|
7630
|
-
},
|
|
7645
|
+
}, Td = { class: "uid-layout-simple__content" }, Ed = {
|
|
7631
7646
|
key: 1,
|
|
7632
7647
|
class: "uid-layout-simple__footer"
|
|
7633
|
-
},
|
|
7648
|
+
}, Dd = /* @__PURE__ */ f({
|
|
7634
7649
|
__name: "UidSimpleLayout",
|
|
7635
7650
|
props: { full: {
|
|
7636
7651
|
type: Boolean,
|
|
@@ -7638,26 +7653,26 @@ var ed = /* @__PURE__ */ Gn(Zu, [["render", $u]]), td = { class: "uid-pattern-pa
|
|
|
7638
7653
|
} },
|
|
7639
7654
|
setup(e) {
|
|
7640
7655
|
return (t, n) => (x(), c("div", { class: _(["uid-layout-simple", { "uid-layout-simple--full": e.full }]) }, [
|
|
7641
|
-
t.$slots.header ? (x(), c("div",
|
|
7642
|
-
l("main",
|
|
7643
|
-
t.$slots.footer ? (x(), c("div",
|
|
7656
|
+
t.$slots.header ? (x(), c("div", wd, [E(t.$slots, "header")])) : s("", !0),
|
|
7657
|
+
l("main", Td, [E(t.$slots, "default")]),
|
|
7658
|
+
t.$slots.footer ? (x(), c("div", Ed, [E(t.$slots, "footer")])) : s("", !0)
|
|
7644
7659
|
], 2));
|
|
7645
7660
|
}
|
|
7646
|
-
}),
|
|
7647
|
-
function
|
|
7648
|
-
let e = p(
|
|
7661
|
+
}), Od = Symbol("uid-sidebar-layout");
|
|
7662
|
+
function kd() {
|
|
7663
|
+
let e = p(Od);
|
|
7649
7664
|
if (!e) throw Error("useSidebar() must be used inside UidSidebarLayout");
|
|
7650
7665
|
return e;
|
|
7651
7666
|
}
|
|
7652
7667
|
//#endregion
|
|
7653
7668
|
//#region src/layouts/Sidebar/UidSidebarLayout.vue?vue&type=script&setup=true&lang.ts
|
|
7654
|
-
var
|
|
7669
|
+
var Ad = { class: "uid-layout-sidebar__sidebar" }, jd = { class: "uid-layout-sidebar__main" }, Md = {
|
|
7655
7670
|
key: 0,
|
|
7656
7671
|
class: "uid-layout-sidebar__main-header"
|
|
7657
|
-
},
|
|
7672
|
+
}, Nd = { class: "uid-layout-sidebar__main-content" }, Pd = {
|
|
7658
7673
|
key: 1,
|
|
7659
7674
|
class: "uid-layout-sidebar__main-footer"
|
|
7660
|
-
},
|
|
7675
|
+
}, Fd = /* @__PURE__ */ f({
|
|
7661
7676
|
__name: "UidSidebarLayout",
|
|
7662
7677
|
props: /* @__PURE__ */ m({ sidebarWidth: { default: void 0 } }, {
|
|
7663
7678
|
modelValue: {
|
|
@@ -7675,7 +7690,7 @@ var jd = { class: "uid-layout-sidebar__sidebar" }, Md = { class: "uid-layout-sid
|
|
|
7675
7690
|
}, o = () => {
|
|
7676
7691
|
n.value = !0;
|
|
7677
7692
|
};
|
|
7678
|
-
S(
|
|
7693
|
+
S(Od, {
|
|
7679
7694
|
collapsed: n,
|
|
7680
7695
|
toggle: r,
|
|
7681
7696
|
open: i,
|
|
@@ -7686,58 +7701,58 @@ var jd = { class: "uid-layout-sidebar__sidebar" }, Md = { class: "uid-layout-sid
|
|
|
7686
7701
|
class: _(["uid-layout-sidebar", { "uid-layout-sidebar--collapsed": n.value }]),
|
|
7687
7702
|
style: v(u.value)
|
|
7688
7703
|
}, [
|
|
7689
|
-
l("aside",
|
|
7704
|
+
l("aside", Ad, [E(e.$slots, "sidebar")]),
|
|
7690
7705
|
l("div", {
|
|
7691
7706
|
class: "uid-layout-sidebar__backdrop",
|
|
7692
7707
|
"aria-hidden": "true",
|
|
7693
7708
|
onClick: o
|
|
7694
7709
|
}),
|
|
7695
|
-
l("div",
|
|
7696
|
-
e.$slots.header ? (x(), c("div",
|
|
7697
|
-
l("main",
|
|
7698
|
-
e.$slots.footer ? (x(), c("div",
|
|
7710
|
+
l("div", jd, [
|
|
7711
|
+
e.$slots.header ? (x(), c("div", Md, [E(e.$slots, "header")])) : s("", !0),
|
|
7712
|
+
l("main", Nd, [E(e.$slots, "default")]),
|
|
7713
|
+
e.$slots.footer ? (x(), c("div", Pd, [E(e.$slots, "footer")])) : s("", !0)
|
|
7699
7714
|
])
|
|
7700
7715
|
], 6));
|
|
7701
7716
|
}
|
|
7702
|
-
}),
|
|
7717
|
+
}), Id = {
|
|
7703
7718
|
key: 0,
|
|
7704
7719
|
class: "uid-layout-auth__brand"
|
|
7705
|
-
},
|
|
7720
|
+
}, Ld = { class: "uid-layout-auth__main" }, Rd = { class: "uid-layout-auth__card" }, zd = {
|
|
7706
7721
|
key: 0,
|
|
7707
7722
|
class: "uid-layout-auth__footer"
|
|
7708
|
-
},
|
|
7723
|
+
}, Bd = /* @__PURE__ */ f({
|
|
7709
7724
|
__name: "UidAuthLayout",
|
|
7710
7725
|
props: { variant: { default: "centered" } },
|
|
7711
7726
|
setup(e) {
|
|
7712
|
-
return (t, n) => (x(), c("div", { class: _(["uid-layout-auth", [`uid-layout-auth--${e.variant}`]]) }, [e.variant === "split" && t.$slots.brand ? (x(), c("div",
|
|
7727
|
+
return (t, n) => (x(), c("div", { class: _(["uid-layout-auth", [`uid-layout-auth--${e.variant}`]]) }, [e.variant === "split" && t.$slots.brand ? (x(), c("div", Id, [E(t.$slots, "brand")])) : s("", !0), l("div", Ld, [l("div", Rd, [E(t.$slots, "default")]), t.$slots.footer ? (x(), c("div", zd, [E(t.$slots, "footer")])) : s("", !0)])], 2));
|
|
7713
7728
|
}
|
|
7714
|
-
}),
|
|
7729
|
+
}), Vd = { class: "uid-layout-wizard" }, Hd = {
|
|
7715
7730
|
key: 0,
|
|
7716
7731
|
class: "uid-layout-wizard__header"
|
|
7717
|
-
},
|
|
7732
|
+
}, Ud = {
|
|
7718
7733
|
key: 1,
|
|
7719
7734
|
class: "uid-layout-wizard__stepper"
|
|
7720
|
-
},
|
|
7735
|
+
}, Wd = { class: "uid-layout-wizard__content" }, Gd = {
|
|
7721
7736
|
key: 2,
|
|
7722
7737
|
class: "uid-layout-wizard__nav"
|
|
7723
|
-
},
|
|
7738
|
+
}, Kd = /* @__PURE__ */ f({
|
|
7724
7739
|
__name: "UidWizardLayout",
|
|
7725
7740
|
setup(e) {
|
|
7726
|
-
return (e, t) => (x(), c("div",
|
|
7727
|
-
e.$slots.header ? (x(), c("div",
|
|
7728
|
-
e.$slots.stepper ? (x(), c("div",
|
|
7729
|
-
l("main",
|
|
7730
|
-
e.$slots.nav ? (x(), c("div",
|
|
7741
|
+
return (e, t) => (x(), c("div", Vd, [
|
|
7742
|
+
e.$slots.header ? (x(), c("div", Hd, [E(e.$slots, "header")])) : s("", !0),
|
|
7743
|
+
e.$slots.stepper ? (x(), c("div", Ud, [E(e.$slots, "stepper")])) : s("", !0),
|
|
7744
|
+
l("main", Wd, [E(e.$slots, "default")]),
|
|
7745
|
+
e.$slots.nav ? (x(), c("div", Gd, [E(e.$slots, "nav")])) : s("", !0)
|
|
7731
7746
|
]));
|
|
7732
7747
|
}
|
|
7733
|
-
}),
|
|
7748
|
+
}), qd = /* @__PURE__ */ f({
|
|
7734
7749
|
__name: "UidLocaleProvider",
|
|
7735
7750
|
props: { locale: {} },
|
|
7736
7751
|
setup(e) {
|
|
7737
7752
|
let t = e;
|
|
7738
7753
|
return Ht(a(() => t.locale)), (e, t) => E(e.$slots, "default");
|
|
7739
7754
|
}
|
|
7740
|
-
}),
|
|
7755
|
+
}), Jd = {
|
|
7741
7756
|
common: {
|
|
7742
7757
|
clear: "Clear",
|
|
7743
7758
|
close: "Close",
|
|
@@ -7836,19 +7851,19 @@ var jd = { class: "uid-layout-sidebar__sidebar" }, Md = { class: "uid-layout-sid
|
|
|
7836
7851
|
page: (e) => `Page ${e}`,
|
|
7837
7852
|
pageSize: (e) => `${e} per page`
|
|
7838
7853
|
}
|
|
7839
|
-
},
|
|
7840
|
-
function
|
|
7854
|
+
}, Yd = w("light");
|
|
7855
|
+
function Xd() {
|
|
7841
7856
|
let e = null;
|
|
7842
7857
|
function t(e) {
|
|
7843
|
-
|
|
7858
|
+
Yd.value = e, document.documentElement.dataset.theme = e;
|
|
7844
7859
|
}
|
|
7845
7860
|
function n() {
|
|
7846
|
-
t(
|
|
7861
|
+
t(Yd.value === "light" ? "dark" : "light");
|
|
7847
7862
|
}
|
|
7848
7863
|
function r() {
|
|
7849
7864
|
let e = document.documentElement.dataset.theme;
|
|
7850
7865
|
if (e === "light" || e === "dark") {
|
|
7851
|
-
|
|
7866
|
+
Yd.value = e;
|
|
7852
7867
|
return;
|
|
7853
7868
|
}
|
|
7854
7869
|
let n = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
@@ -7860,7 +7875,7 @@ function Zd() {
|
|
|
7860
7875
|
e.addEventListener("change", n), b(() => e?.removeEventListener("change", n));
|
|
7861
7876
|
}
|
|
7862
7877
|
return {
|
|
7863
|
-
theme:
|
|
7878
|
+
theme: Yd,
|
|
7864
7879
|
setTheme: t,
|
|
7865
7880
|
toggle: n,
|
|
7866
7881
|
initFromSystem: r,
|
|
@@ -7869,27 +7884,27 @@ function Zd() {
|
|
|
7869
7884
|
}
|
|
7870
7885
|
//#endregion
|
|
7871
7886
|
//#region src/composables/useWizard.ts
|
|
7872
|
-
function
|
|
7873
|
-
let e = p(
|
|
7887
|
+
function Zd() {
|
|
7888
|
+
let e = p(Cu);
|
|
7874
7889
|
if (!e) throw Error("useWizard() must be used inside UidWizard");
|
|
7875
7890
|
return e;
|
|
7876
7891
|
}
|
|
7877
7892
|
//#endregion
|
|
7878
7893
|
//#region src/composables/useCommandPalette.ts
|
|
7879
|
-
var
|
|
7880
|
-
function
|
|
7894
|
+
var Qd = w(!1);
|
|
7895
|
+
function $d() {
|
|
7881
7896
|
return {
|
|
7882
|
-
open:
|
|
7897
|
+
open: Qd,
|
|
7883
7898
|
show: () => {
|
|
7884
|
-
|
|
7899
|
+
Qd.value = !0;
|
|
7885
7900
|
},
|
|
7886
7901
|
hide: () => {
|
|
7887
|
-
|
|
7902
|
+
Qd.value = !1;
|
|
7888
7903
|
},
|
|
7889
7904
|
toggle: () => {
|
|
7890
|
-
|
|
7905
|
+
Qd.value = !Qd.value;
|
|
7891
7906
|
}
|
|
7892
7907
|
};
|
|
7893
7908
|
}
|
|
7894
7909
|
//#endregion
|
|
7895
|
-
export { Xr as UidAccordion, ni as UidAccordionItem,
|
|
7910
|
+
export { Xr as UidAccordion, ni as UidAccordionItem, Is as UidAffix, Jt as UidAlert, Gs as UidAnchor, Bd as UidAuthLayout, Br as UidAvatar, Ur as UidAvatarGroup, Ps as UidBackTop, Rt as UidBadge, ar as UidBreadcrumb, lr as UidBreadcrumbItem, Se as UidButton, El as UidCalendar, Lr as UidCard, Oc as UidCarousel, fl as UidCascader, ut as UidCheckbox, ts as UidCode, Zi as UidColorPicker, uo as UidCombobox, sa as UidCommand, Su as UidContainer, Pi as UidDatePicker, Wa as UidDateRangePicker, Es as UidDescriptionItem, Ss as UidDescriptionList, qr as UidDivider, kn as UidDrawer, hd as UidEmptyState, Cd as UidErrorState, qo as UidFileUpload, Ru as UidFooter, Nt as UidFormField, ru as UidGauge, xu as UidGrid, Nu as UidHeader, du as UidHeatmap, e as UidIcon, Er as UidInfiniteScroll, et as UidInput, Ot as UidLabel, ur as UidLink, Cr as UidLoadMore, qd as UidLocaleProvider, oc as UidMention, Hn as UidMenu, Wn as UidMenuItem, Yn as UidMenuSeparator, Sn as UidModal, Sc as UidNotificationBadge, ha as UidNumberInput, cd as UidPageHeader, jr as UidPageSize, gr as UidPagination, br as UidPaginationCursor, Rn as UidPopover, dn as UidProgress, Hl as UidProgressRing, mt as UidRadio, bt as UidRadioGroup, ss as UidRating, Ms as UidResult, wi as UidSelect, Hu as UidSidebar, $u as UidSidebarDivider, Yu as UidSidebarGroup, Ku as UidSidebarItem, Fd as UidSidebarLayout, Dd as UidSimpleLayout, Lt as UidSkeleton, Bi as UidSlider, Il as UidSparkline, Ft as UidSpinner, us as UidSplitter, bu as UidStack, ys as UidStat, yu as UidStepper, Tt as UidSwitch, tr as UidTab, rr as UidTabPanel, mi as UidTable, $n as UidTabs, Gr as UidTag, Xa as UidTagsInput, at as UidTextarea, wa as UidTimePicker, Co as UidTimeline, jo as UidTimelineItem, en as UidToast, an as UidToastProvider, Fn as UidTooltip, $s as UidTour, el as UidTransfer, xo as UidTreeItem, yc as UidTreeSelect, So as UidTreeView, Fi as UidVirtualList, zs as UidWatermark, Tu as UidWizard, Kd as UidWizardLayout, Du as UidWizardStep, Ae as email, Jd as en, Z as getMessage, ze as inList, Ne as integer, Fe as max, Le as maxValue, Pe as min, Ie as minValue, ke as nullable, Me as numeric, We as parseRules, Ht as provideLocale, Re as regex, Oe as required, Ve as requiredIf, He as requiredUnless, zt as ru, Ge as runRules, Be as sameAs, Te as setMessages, je as url, $d as useCommandPalette, Ke as useField, pn as useFocusTrap, $ as useLocale, Mn as usePopover, hn as useScrollLock, kd as useSidebar, Xd as useTheme, rn as useToast, Zd as useWizard };
|