@dskripchenko/ui 1.0.4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Table/UidTable.vue.d.ts +22 -8
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +576 -523
- package/dist/styles/all.css +1 -1
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2083,19 +2083,23 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2083
2083
|
hidden: !f.value
|
|
2084
2084
|
}, [l("div", ti, [E(n.$slots, "default")])], 8, ei)], 2));
|
|
2085
2085
|
}
|
|
2086
|
-
}), ri = { class: "uid-table-scroll" }, ii = { class: "uid-table__head" }, ai =
|
|
2086
|
+
}), ri = { class: "uid-table-scroll" }, ii = { class: "uid-table__head" }, ai = {
|
|
2087
|
+
key: 0,
|
|
2088
|
+
class: "uid-table__th uid-table__th--select",
|
|
2089
|
+
scope: "col"
|
|
2090
|
+
}, oi = [
|
|
2087
2091
|
"tabindex",
|
|
2088
2092
|
"role",
|
|
2089
2093
|
"aria-sort",
|
|
2090
2094
|
"onClick",
|
|
2091
2095
|
"onKeydown"
|
|
2092
|
-
],
|
|
2096
|
+
], si = { class: "uid-table__th-content" }, ci = { class: "uid-table__body" }, li = { key: 0 }, ui = ["colspan"], di = { key: 1 }, fi = ["colspan"], pi = ["onClick"], mi = /* @__PURE__ */ f({
|
|
2093
2097
|
__name: "UidTable",
|
|
2094
2098
|
props: {
|
|
2095
2099
|
columns: {},
|
|
2096
2100
|
data: {},
|
|
2097
2101
|
sortKey: { default: void 0 },
|
|
2098
|
-
sortDirection: { default:
|
|
2102
|
+
sortDirection: { default: null },
|
|
2099
2103
|
loading: {
|
|
2100
2104
|
type: Boolean,
|
|
2101
2105
|
default: !1
|
|
@@ -2108,73 +2112,122 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2108
2112
|
bordered: {
|
|
2109
2113
|
type: Boolean,
|
|
2110
2114
|
default: !1
|
|
2115
|
+
},
|
|
2116
|
+
selectable: {
|
|
2117
|
+
type: Boolean,
|
|
2118
|
+
default: !1
|
|
2119
|
+
},
|
|
2120
|
+
selection: { default: () => /* @__PURE__ */ new Set() },
|
|
2121
|
+
rowKey: {
|
|
2122
|
+
type: [String, Function],
|
|
2123
|
+
default: "id"
|
|
2111
2124
|
}
|
|
2112
2125
|
},
|
|
2113
|
-
emits: [
|
|
2126
|
+
emits: [
|
|
2127
|
+
"update:sortKey",
|
|
2128
|
+
"update:sortDirection",
|
|
2129
|
+
"update:selection",
|
|
2130
|
+
"row-click"
|
|
2131
|
+
],
|
|
2114
2132
|
setup(n, { emit: r }) {
|
|
2115
2133
|
let i = n, f = r;
|
|
2116
2134
|
function p(e) {
|
|
2117
|
-
|
|
2135
|
+
return typeof i.rowKey == "function" ? i.rowKey(e) : e[i.rowKey] ?? "";
|
|
2118
2136
|
}
|
|
2119
|
-
|
|
2120
|
-
|
|
2137
|
+
let m = a(() => i.columns.length + +!!i.selectable), h = a(() => !i.selectable || i.data.length === 0 ? !1 : i.data.every((e) => i.selection.has(p(e)))), g = a(() => i.selectable ? i.data.some((e) => i.selection.has(p(e))) : !1), y = a(() => i.selectable && g.value && !h.value);
|
|
2138
|
+
function b(e) {
|
|
2139
|
+
e.sortable && (i.sortKey === e.key ? i.sortDirection === "asc" ? f("update:sortDirection", "desc") : i.sortDirection === "desc" ? (f("update:sortKey", null), f("update:sortDirection", null)) : f("update:sortDirection", "asc") : (f("update:sortKey", e.key), f("update:sortDirection", "asc")));
|
|
2140
|
+
}
|
|
2141
|
+
function S(e) {
|
|
2142
|
+
return e.sortable ? i.sortKey === e.key ? i.sortDirection === "asc" ? K : i.sortDirection === "desc" ? G : te : te : null;
|
|
2143
|
+
}
|
|
2144
|
+
function C(e) {
|
|
2145
|
+
if (e.sortable) return i.sortKey === e.key ? i.sortDirection === "asc" ? "ascending" : i.sortDirection === "desc" ? "descending" : "none" : "none";
|
|
2121
2146
|
}
|
|
2122
|
-
|
|
2123
|
-
|
|
2147
|
+
function w(e) {
|
|
2148
|
+
let t = new Set(i.selection);
|
|
2149
|
+
if (e) for (let e of i.data) t.add(p(e));
|
|
2150
|
+
else for (let e of i.data) t.delete(p(e));
|
|
2151
|
+
f("update:selection", t);
|
|
2152
|
+
}
|
|
2153
|
+
function D(e, t) {
|
|
2154
|
+
let n = new Set(i.selection), r = p(e);
|
|
2155
|
+
t ? n.add(r) : n.delete(r), f("update:selection", n);
|
|
2156
|
+
}
|
|
2157
|
+
let O = a(() => !i.loading && i.data.length === 0);
|
|
2158
|
+
return (r, i) => (x(), c("div", { class: _(["uid-table-wrap", { "uid-table-wrap--bordered": n.bordered }]) }, [l("div", ri, [l("table", { class: _(["uid-table", { "uid-table--striped": n.striped }]) }, [l("thead", ii, [l("tr", null, [n.selectable ? (x(), c("th", ai, [d(ut, {
|
|
2159
|
+
"model-value": h.value,
|
|
2160
|
+
indeterminate: y.value,
|
|
2161
|
+
"aria-label": "Выделить всё",
|
|
2162
|
+
"onUpdate:modelValue": w
|
|
2163
|
+
}, null, 8, ["model-value", "indeterminate"])])) : s("", !0), (x(!0), c(t, null, T(n.columns, (t) => (x(), c("th", {
|
|
2124
2164
|
key: t.key,
|
|
2125
2165
|
class: _(["uid-table__th", [
|
|
2126
2166
|
`uid-table__th--${t.align ?? "left"}`,
|
|
2127
2167
|
{ "uid-table__th--sortable": t.sortable },
|
|
2128
|
-
{ "uid-table__th--active": n.sortKey === t.key }
|
|
2168
|
+
{ "uid-table__th--active": n.sortKey === t.key && n.sortDirection !== null }
|
|
2129
2169
|
]]),
|
|
2130
2170
|
style: v(t.width ? { width: t.width } : void 0),
|
|
2131
2171
|
tabindex: t.sortable ? 0 : void 0,
|
|
2132
2172
|
role: t.sortable ? "button" : void 0,
|
|
2133
|
-
"aria-sort":
|
|
2134
|
-
onClick: (e) =>
|
|
2135
|
-
onKeydown: [V(H((e) =>
|
|
2136
|
-
}, [l("span",
|
|
2173
|
+
"aria-sort": C(t),
|
|
2174
|
+
onClick: (e) => b(t),
|
|
2175
|
+
onKeydown: [V(H((e) => b(t), ["prevent"]), ["enter"]), V(H((e) => b(t), ["prevent"]), ["space"])]
|
|
2176
|
+
}, [l("span", si, [u(k(t.label) + " ", 1), t.sortable ? (x(), o(e, {
|
|
2137
2177
|
key: 0,
|
|
2138
|
-
icon:
|
|
2178
|
+
icon: S(t),
|
|
2139
2179
|
size: 14,
|
|
2140
2180
|
class: "uid-table__sort-icon"
|
|
2141
|
-
}, null, 8, ["icon"])) : s("", !0)])], 46,
|
|
2142
|
-
colspan:
|
|
2181
|
+
}, null, 8, ["icon"])) : s("", !0)])], 46, oi))), 128))])]), l("tbody", ci, [n.loading ? (x(), c("tr", li, [l("td", {
|
|
2182
|
+
colspan: m.value,
|
|
2143
2183
|
class: "uid-table__td uid-table__td--center"
|
|
2144
|
-
}, [d(Ft, { size: "md" })], 8,
|
|
2145
|
-
colspan:
|
|
2184
|
+
}, [d(Ft, { size: "md" })], 8, ui)])) : O.value ? (x(), c("tr", di, [l("td", {
|
|
2185
|
+
colspan: m.value,
|
|
2146
2186
|
class: "uid-table__td uid-table__td--empty"
|
|
2147
|
-
}, [E(r.$slots, "empty", {}, () => [u(k(n.emptyText), 1)])], 8,
|
|
2148
|
-
key:
|
|
2149
|
-
class: "uid-table__row"
|
|
2150
|
-
|
|
2187
|
+
}, [E(r.$slots, "empty", {}, () => [u(k(n.emptyText), 1)])], 8, fi)])) : (x(!0), c(t, { key: 2 }, T(n.data, (e, a) => (x(), c("tr", {
|
|
2188
|
+
key: a,
|
|
2189
|
+
class: _(["uid-table__row", { "uid-table__row--selected": n.selectable && n.selection.has(p(e)) }]),
|
|
2190
|
+
onClick: (t) => f("row-click", e)
|
|
2191
|
+
}, [n.selectable ? (x(), c("td", {
|
|
2192
|
+
key: 0,
|
|
2193
|
+
class: "uid-table__td uid-table__td--select",
|
|
2194
|
+
onClick: i[0] ||= H(() => {}, ["stop"])
|
|
2195
|
+
}, [d(ut, {
|
|
2196
|
+
"model-value": n.selection.has(p(e)),
|
|
2197
|
+
"aria-label": `Строка ${p(e)}`,
|
|
2198
|
+
"onUpdate:modelValue": (t) => D(e, t)
|
|
2199
|
+
}, null, 8, [
|
|
2200
|
+
"model-value",
|
|
2201
|
+
"aria-label",
|
|
2202
|
+
"onUpdate:modelValue"
|
|
2203
|
+
])])) : s("", !0), (x(!0), c(t, null, T(n.columns, (t) => (x(), c("td", {
|
|
2151
2204
|
key: t.key,
|
|
2152
2205
|
class: _(["uid-table__td", `uid-table__td--${t.align ?? "left"}`])
|
|
2153
|
-
}, [E(r.$slots, t.key, { row: e }, () => [u(k(e[t.key]), 1)])], 2))), 128))]))), 128))])], 2)])], 2));
|
|
2206
|
+
}, [E(r.$slots, t.key, { row: e }, () => [u(k(e[t.key]), 1)])], 2))), 128))], 10, pi))), 128))])], 2)])], 2));
|
|
2154
2207
|
}
|
|
2155
|
-
}),
|
|
2208
|
+
}), hi = [
|
|
2156
2209
|
"aria-expanded",
|
|
2157
2210
|
"aria-controls",
|
|
2158
2211
|
"aria-disabled"
|
|
2159
|
-
],
|
|
2212
|
+
], gi = { class: "uid-select__suffix" }, _i = ["aria-label"], vi = {
|
|
2160
2213
|
key: 0,
|
|
2161
2214
|
class: "uid-select__dropdown"
|
|
2162
|
-
},
|
|
2215
|
+
}, yi = {
|
|
2163
2216
|
key: 0,
|
|
2164
2217
|
class: "uid-select__search"
|
|
2165
|
-
},
|
|
2218
|
+
}, bi = ["placeholder"], xi = ["id"], Si = {
|
|
2166
2219
|
key: 0,
|
|
2167
2220
|
class: "uid-select__group-label"
|
|
2168
|
-
},
|
|
2221
|
+
}, Ci = [
|
|
2169
2222
|
"data-active",
|
|
2170
2223
|
"aria-selected",
|
|
2171
2224
|
"aria-disabled",
|
|
2172
2225
|
"onClick",
|
|
2173
2226
|
"onMouseenter"
|
|
2174
|
-
],
|
|
2227
|
+
], wi = {
|
|
2175
2228
|
key: 1,
|
|
2176
2229
|
class: "uid-select__empty"
|
|
2177
|
-
},
|
|
2230
|
+
}, Ti = /* @__PURE__ */ f({
|
|
2178
2231
|
__name: "UidSelect",
|
|
2179
2232
|
props: /* @__PURE__ */ m({
|
|
2180
2233
|
options: {},
|
|
@@ -2278,7 +2331,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2278
2331
|
"aria-disabled": n.disabled,
|
|
2279
2332
|
onClick: U,
|
|
2280
2333
|
onKeydown: K
|
|
2281
|
-
}, [l("span", { class: _(["uid-select__value", { "uid-select__value--placeholder": !P.value }]) }, k(P.value?.label ?? p.value), 3), l("div",
|
|
2334
|
+
}, [l("span", { class: _(["uid-select__value", { "uid-select__value--placeholder": !P.value }]) }, k(P.value?.label ?? p.value), 3), l("div", gi, [n.clearable && h.value !== null ? (x(), c("button", {
|
|
2282
2335
|
key: 0,
|
|
2283
2336
|
type: "button",
|
|
2284
2337
|
class: "uid-select__clear",
|
|
@@ -2287,13 +2340,13 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2287
2340
|
}, [d(e, {
|
|
2288
2341
|
icon: j(_e),
|
|
2289
2342
|
size: 12
|
|
2290
|
-
}, null, 8, ["icon"])], 8,
|
|
2343
|
+
}, null, 8, ["icon"])], 8, _i)) : s("", !0), d(e, {
|
|
2291
2344
|
icon: j(Y),
|
|
2292
2345
|
size: 16,
|
|
2293
2346
|
class: _(["uid-select__chevron", { "uid-select__chevron--open": v.value }]),
|
|
2294
2347
|
"aria-hidden": "true"
|
|
2295
|
-
}, null, 8, ["icon", "class"])])], 40,
|
|
2296
|
-
default: z(() => [v.value ? (x(), c("div",
|
|
2348
|
+
}, null, 8, ["icon", "class"])])], 40, hi), d(r, { name: "uid-select-dropdown" }, {
|
|
2349
|
+
default: z(() => [v.value ? (x(), c("div", vi, [n.searchable ? (x(), c("div", yi, [B(l("input", {
|
|
2297
2350
|
ref_key: "searchRef",
|
|
2298
2351
|
ref: O,
|
|
2299
2352
|
"onUpdate:modelValue": a[0] ||= (e) => y.value = e,
|
|
@@ -2302,14 +2355,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2302
2355
|
placeholder: j(f).common.search,
|
|
2303
2356
|
autocomplete: "off",
|
|
2304
2357
|
onKeydown: te
|
|
2305
|
-
}, null, 40,
|
|
2358
|
+
}, null, 40, bi), [[I, y.value]])])) : s("", !0), l("div", {
|
|
2306
2359
|
id: j(A),
|
|
2307
2360
|
ref_key: "listRef",
|
|
2308
2361
|
ref: D,
|
|
2309
2362
|
class: "uid-select__list",
|
|
2310
2363
|
role: "listbox",
|
|
2311
2364
|
onKeydown: te
|
|
2312
|
-
}, [F.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(L.value, ([n, r]) => (x(), c(t, { key: n }, [n ? (x(), c("div",
|
|
2365
|
+
}, [F.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(L.value, ([n, r]) => (x(), c(t, { key: n }, [n ? (x(), c("div", Si, k(n), 1)) : s("", !0), (x(!0), c(t, null, T(r, (t) => (x(), c("button", {
|
|
2313
2366
|
key: t.value,
|
|
2314
2367
|
type: "button",
|
|
2315
2368
|
class: _(["uid-select__option", {
|
|
@@ -2329,27 +2382,27 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2329
2382
|
size: 14,
|
|
2330
2383
|
"aria-hidden": "true",
|
|
2331
2384
|
class: "uid-select__check"
|
|
2332
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
2385
|
+
}, null, 8, ["icon"])) : s("", !0)], 42, Ci))), 128))], 64))), 128)) : (x(), c("div", wi, k(j(f).select.noResults), 1))], 40, xi)])) : s("", !0)]),
|
|
2333
2386
|
_: 1
|
|
2334
2387
|
})], 2));
|
|
2335
2388
|
}
|
|
2336
|
-
}),
|
|
2389
|
+
}), Ei = [
|
|
2337
2390
|
"aria-expanded",
|
|
2338
2391
|
"aria-label",
|
|
2339
2392
|
"aria-disabled"
|
|
2340
|
-
],
|
|
2393
|
+
], Di = { class: "uid-datepicker__suffix" }, Oi = ["aria-label"], ki = {
|
|
2341
2394
|
key: 0,
|
|
2342
2395
|
class: "uid-datepicker__panel",
|
|
2343
2396
|
role: "dialog",
|
|
2344
2397
|
"aria-label": "Выбор даты"
|
|
2345
|
-
},
|
|
2398
|
+
}, Ai = { class: "uid-datepicker__nav" }, ji = ["aria-label"], Mi = { class: "uid-datepicker__month-label" }, Ni = ["aria-label"], Pi = [
|
|
2346
2399
|
"data-iso",
|
|
2347
2400
|
"tabindex",
|
|
2348
2401
|
"disabled",
|
|
2349
2402
|
"aria-current",
|
|
2350
2403
|
"aria-selected",
|
|
2351
2404
|
"onClick"
|
|
2352
|
-
],
|
|
2405
|
+
], Fi = /* @__PURE__ */ f({
|
|
2353
2406
|
__name: "UidDatePicker",
|
|
2354
2407
|
props: /* @__PURE__ */ m({
|
|
2355
2408
|
min: { default: void 0 },
|
|
@@ -2517,19 +2570,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2517
2570
|
"aria-disabled": n.disabled,
|
|
2518
2571
|
onClick: ee,
|
|
2519
2572
|
onKeydown: ie
|
|
2520
|
-
}, [l("span", { class: _(["uid-datepicker__value", { "uid-datepicker__value--placeholder": !m.value }]) }, k(m.value ? F.value : u.value), 3), l("div",
|
|
2573
|
+
}, [l("span", { class: _(["uid-datepicker__value", { "uid-datepicker__value--placeholder": !m.value }]) }, k(m.value ? F.value : u.value), 3), l("div", Di, [m.value ? (x(), c("button", {
|
|
2521
2574
|
key: 0,
|
|
2522
2575
|
type: "button",
|
|
2523
2576
|
class: "uid-datepicker__clear",
|
|
2524
2577
|
"aria-label": j(o).common.clear,
|
|
2525
2578
|
onClick: q
|
|
2526
|
-
}, " × ", 8,
|
|
2579
|
+
}, " × ", 8, Oi)) : s("", !0), d(e, {
|
|
2527
2580
|
icon: j(Y),
|
|
2528
2581
|
size: 16,
|
|
2529
2582
|
class: _(["uid-datepicker__chevron", { "uid-datepicker__chevron--open": h.value }]),
|
|
2530
2583
|
"aria-hidden": "true"
|
|
2531
|
-
}, null, 8, ["icon", "class"])])], 40,
|
|
2532
|
-
default: z(() => [h.value ? (x(), c("div",
|
|
2584
|
+
}, null, 8, ["icon", "class"])])], 40, Ei), d(r, { name: "uid-datepicker-panel" }, {
|
|
2585
|
+
default: z(() => [h.value ? (x(), c("div", ki, [l("div", Ai, [
|
|
2533
2586
|
l("button", {
|
|
2534
2587
|
type: "button",
|
|
2535
2588
|
class: "uid-datepicker__nav-btn",
|
|
@@ -2538,8 +2591,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2538
2591
|
}, [d(e, {
|
|
2539
2592
|
icon: j(re),
|
|
2540
2593
|
size: 16
|
|
2541
|
-
}, null, 8, ["icon"])], 8,
|
|
2542
|
-
l("span",
|
|
2594
|
+
}, null, 8, ["icon"])], 8, ji),
|
|
2595
|
+
l("span", Mi, k(f.value[O.value]) + " " + k(D.value), 1),
|
|
2543
2596
|
l("button", {
|
|
2544
2597
|
type: "button",
|
|
2545
2598
|
class: "uid-datepicker__nav-btn",
|
|
@@ -2548,7 +2601,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2548
2601
|
}, [d(e, {
|
|
2549
2602
|
icon: j(X),
|
|
2550
2603
|
size: 16
|
|
2551
|
-
}, null, 8, ["icon"])], 8,
|
|
2604
|
+
}, null, 8, ["icon"])], 8, Ni)
|
|
2552
2605
|
]), l("div", {
|
|
2553
2606
|
ref_key: "gridRef",
|
|
2554
2607
|
ref: S,
|
|
@@ -2572,11 +2625,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2572
2625
|
"aria-current": e.iso === L.value ? "date" : void 0,
|
|
2573
2626
|
"aria-selected": e.iso === m.value,
|
|
2574
2627
|
onClick: (t) => K(e)
|
|
2575
|
-
}, k(e.date.getDate()), 11,
|
|
2628
|
+
}, k(e.date.getDate()), 11, Pi))), 128))], 544)])) : s("", !0)]),
|
|
2576
2629
|
_: 1
|
|
2577
2630
|
})], 2));
|
|
2578
2631
|
}
|
|
2579
|
-
}),
|
|
2632
|
+
}), Ii = /* @__PURE__ */ f({
|
|
2580
2633
|
__name: "UidVirtualList",
|
|
2581
2634
|
props: {
|
|
2582
2635
|
items: {},
|
|
@@ -2618,17 +2671,17 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2618
2671
|
index: r
|
|
2619
2672
|
})], 4))), 128))], 4)], 4)], 36));
|
|
2620
2673
|
}
|
|
2621
|
-
}),
|
|
2674
|
+
}), Li = {
|
|
2622
2675
|
key: 0,
|
|
2623
2676
|
class: "uid-slider__header"
|
|
2624
|
-
},
|
|
2677
|
+
}, Ri = {
|
|
2625
2678
|
key: 0,
|
|
2626
2679
|
class: "uid-slider__label"
|
|
2627
|
-
},
|
|
2680
|
+
}, zi = {
|
|
2628
2681
|
key: 1,
|
|
2629
2682
|
class: "uid-slider__value",
|
|
2630
2683
|
"aria-live": "polite"
|
|
2631
|
-
},
|
|
2684
|
+
}, Bi = [
|
|
2632
2685
|
"min",
|
|
2633
2686
|
"max",
|
|
2634
2687
|
"step",
|
|
@@ -2637,7 +2690,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2637
2690
|
"aria-valuemin",
|
|
2638
2691
|
"aria-valuemax",
|
|
2639
2692
|
"aria-valuenow"
|
|
2640
|
-
],
|
|
2693
|
+
], Vi = /* @__PURE__ */ f({
|
|
2641
2694
|
__name: "UidSlider",
|
|
2642
2695
|
props: /* @__PURE__ */ m({
|
|
2643
2696
|
min: { default: 0 },
|
|
@@ -2663,7 +2716,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2663
2716
|
emits: ["update:modelValue"],
|
|
2664
2717
|
setup(e) {
|
|
2665
2718
|
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));
|
|
2666
|
-
return (t, a) => (x(), c("div", { class: _(["uid-slider", { "uid-slider--disabled": e.disabled }]) }, [e.label || e.showValue ? (x(), c("div",
|
|
2719
|
+
return (t, a) => (x(), c("div", { class: _(["uid-slider", { "uid-slider--disabled": e.disabled }]) }, [e.label || e.showValue ? (x(), c("div", Li, [e.label ? (x(), c("label", Ri, k(e.label), 1)) : s("", !0), e.showValue ? (x(), c("span", zi, k(i.value), 1)) : s("", !0)])) : s("", !0), B(l("input", {
|
|
2667
2720
|
"onUpdate:modelValue": a[0] ||= (e) => n.value = e,
|
|
2668
2721
|
class: "uid-slider__input",
|
|
2669
2722
|
type: "range",
|
|
@@ -2676,22 +2729,22 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2676
2729
|
"aria-valuemax": e.max,
|
|
2677
2730
|
"aria-valuenow": n.value,
|
|
2678
2731
|
style: v({ "--_fill": `${r.value}%` })
|
|
2679
|
-
}, null, 12,
|
|
2732
|
+
}, null, 12, Bi), [[
|
|
2680
2733
|
I,
|
|
2681
2734
|
n.value,
|
|
2682
2735
|
void 0,
|
|
2683
2736
|
{ number: !0 }
|
|
2684
2737
|
]])], 2));
|
|
2685
2738
|
}
|
|
2686
|
-
}),
|
|
2739
|
+
}), Hi = ["aria-expanded", "aria-disabled"], Ui = {
|
|
2687
2740
|
key: 0,
|
|
2688
2741
|
class: "uid-colorpicker__panel",
|
|
2689
2742
|
role: "dialog",
|
|
2690
2743
|
"aria-label": "Выбор цвета"
|
|
2691
|
-
},
|
|
2744
|
+
}, Wi = { class: "uid-colorpicker__controls" }, Gi = { class: "uid-colorpicker__sliders" }, Ki = ["aria-valuenow"], qi = ["aria-valuenow"], Ji = { class: "uid-colorpicker__inputs" }, Yi = ["value"], Xi = {
|
|
2692
2745
|
key: 0,
|
|
2693
2746
|
class: "uid-colorpicker__presets"
|
|
2694
|
-
},
|
|
2747
|
+
}, Zi = ["aria-label", "onClick"], Qi = /* @__PURE__ */ f({
|
|
2695
2748
|
__name: "UidColorPicker",
|
|
2696
2749
|
props: /* @__PURE__ */ m({
|
|
2697
2750
|
disabled: {
|
|
@@ -2882,8 +2935,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2882
2935
|
}, [l("span", {
|
|
2883
2936
|
class: "uid-colorpicker__swatch",
|
|
2884
2937
|
style: v(u.value ? { background: u.value } : {})
|
|
2885
|
-
}, null, 4), l("span", { class: _(["uid-colorpicker__trigger-label", { "uid-colorpicker__trigger-label--empty": !u.value }]) }, k(u.value ? u.value.toUpperCase() : "Выберите цвет"), 3)], 8,
|
|
2886
|
-
default: z(() => [g.value ? (x(), c("div",
|
|
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, Hi), d(r, { name: "uid-colorpicker-panel" }, {
|
|
2939
|
+
default: z(() => [g.value ? (x(), c("div", Ui, [
|
|
2887
2940
|
l("div", {
|
|
2888
2941
|
ref_key: "gradientRef",
|
|
2889
2942
|
ref: S,
|
|
@@ -2903,7 +2956,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2903
2956
|
top: W.value
|
|
2904
2957
|
})
|
|
2905
2958
|
}, null, 4)], 36),
|
|
2906
|
-
l("div",
|
|
2959
|
+
l("div", Wi, [l("div", Gi, [l("div", {
|
|
2907
2960
|
ref_key: "hueSliderRef",
|
|
2908
2961
|
ref: C,
|
|
2909
2962
|
class: "uid-colorpicker__hue-track",
|
|
@@ -2920,7 +2973,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2920
2973
|
}, [l("div", {
|
|
2921
2974
|
class: "uid-colorpicker__track-thumb",
|
|
2922
2975
|
style: v({ left: G.value })
|
|
2923
|
-
}, null, 4)], 40,
|
|
2976
|
+
}, null, 4)], 40, Ki), e.alpha ? (x(), c("div", {
|
|
2924
2977
|
key: 0,
|
|
2925
2978
|
ref_key: "alphaSliderRef",
|
|
2926
2979
|
ref: E,
|
|
@@ -2939,11 +2992,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2939
2992
|
}, [l("div", {
|
|
2940
2993
|
class: "uid-colorpicker__track-thumb",
|
|
2941
2994
|
style: v({ left: ee.value })
|
|
2942
|
-
}, null, 4)], 44,
|
|
2995
|
+
}, null, 4)], 44, qi)) : s("", !0)]), l("span", {
|
|
2943
2996
|
class: "uid-colorpicker__preview",
|
|
2944
2997
|
style: v({ background: q.value })
|
|
2945
2998
|
}, null, 4)]),
|
|
2946
|
-
l("div",
|
|
2999
|
+
l("div", Ji, [i[0] ||= l("label", { class: "uid-colorpicker__input-label" }, "HEX", -1), l("input", {
|
|
2947
3000
|
class: "uid-colorpicker__hex-input",
|
|
2948
3001
|
type: "text",
|
|
2949
3002
|
value: D.value,
|
|
@@ -2952,37 +3005,37 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
2952
3005
|
onInput: ue,
|
|
2953
3006
|
onBlur: de,
|
|
2954
3007
|
onKeydown: fe
|
|
2955
|
-
}, null, 40,
|
|
2956
|
-
e.presets && e.presets.length ? (x(), c("div",
|
|
3008
|
+
}, null, 40, Yi)]),
|
|
3009
|
+
e.presets && e.presets.length ? (x(), c("div", Xi, [(x(!0), c(t, null, T(e.presets, (e) => (x(), c("button", {
|
|
2957
3010
|
key: e,
|
|
2958
3011
|
type: "button",
|
|
2959
3012
|
class: _(["uid-colorpicker__preset", { "uid-colorpicker__preset--active": u.value === e || u.value === e.toLowerCase() || u.value?.toUpperCase() === e.toUpperCase() }]),
|
|
2960
3013
|
style: v({ background: e }),
|
|
2961
3014
|
"aria-label": e,
|
|
2962
3015
|
onClick: (t) => _e(e)
|
|
2963
|
-
}, null, 14,
|
|
3016
|
+
}, null, 14, Zi))), 128))])) : s("", !0)
|
|
2964
3017
|
])) : s("", !0)]),
|
|
2965
3018
|
_: 1
|
|
2966
3019
|
})], 2));
|
|
2967
3020
|
}
|
|
2968
|
-
}),
|
|
3021
|
+
}), $i = { class: "uid-command__search" }, ea = ["placeholder"], ta = {
|
|
2969
3022
|
key: 0,
|
|
2970
3023
|
class: "uid-command__group-label"
|
|
2971
|
-
},
|
|
3024
|
+
}, na = [
|
|
2972
3025
|
"data-active",
|
|
2973
3026
|
"aria-selected",
|
|
2974
3027
|
"onClick",
|
|
2975
3028
|
"onMouseenter"
|
|
2976
|
-
],
|
|
3029
|
+
], ra = { class: "uid-command__item-text" }, ia = { class: "uid-command__item-label" }, aa = {
|
|
2977
3030
|
key: 0,
|
|
2978
3031
|
class: "uid-command__item-desc"
|
|
2979
|
-
},
|
|
3032
|
+
}, oa = {
|
|
2980
3033
|
key: 0,
|
|
2981
3034
|
class: "uid-command__item-shortcut"
|
|
2982
|
-
},
|
|
3035
|
+
}, sa = {
|
|
2983
3036
|
key: 1,
|
|
2984
3037
|
class: "uid-command__empty"
|
|
2985
|
-
},
|
|
3038
|
+
}, ca = /* @__PURE__ */ f({
|
|
2986
3039
|
__name: "UidCommand",
|
|
2987
3040
|
props: /* @__PURE__ */ m({
|
|
2988
3041
|
commands: {},
|
|
@@ -3052,7 +3105,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3052
3105
|
"aria-modal": "true",
|
|
3053
3106
|
"aria-label": "Палитра команд",
|
|
3054
3107
|
onKeydown: V
|
|
3055
|
-
}, [l("div",
|
|
3108
|
+
}, [l("div", $i, [d(e, {
|
|
3056
3109
|
icon: j(fe),
|
|
3057
3110
|
size: 16,
|
|
3058
3111
|
class: "uid-command__search-icon",
|
|
@@ -3067,12 +3120,12 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3067
3120
|
autocomplete: "off",
|
|
3068
3121
|
spellcheck: "false",
|
|
3069
3122
|
"aria-autocomplete": "list"
|
|
3070
|
-
}, null, 8,
|
|
3123
|
+
}, null, 8, ea), [[I, p.value]])]), l("div", {
|
|
3071
3124
|
ref_key: "listRef",
|
|
3072
3125
|
ref: S,
|
|
3073
3126
|
class: "uid-command__list",
|
|
3074
3127
|
role: "listbox"
|
|
3075
|
-
}, [A.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(M.value, ([e, n]) => (x(), c(t, { key: e }, [e ? (x(), c("div",
|
|
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", ta, k(e), 1)) : s("", !0), (x(!0), c(t, null, T(n, (e) => (x(), c("button", {
|
|
3076
3129
|
key: e.id,
|
|
3077
3130
|
class: _(["uid-command__item", { "uid-command__item--active": A.value.indexOf(e) === m.value }]),
|
|
3078
3131
|
"data-active": A.value.indexOf(e) === m.value ? "true" : void 0,
|
|
@@ -3081,18 +3134,18 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3081
3134
|
type: "button",
|
|
3082
3135
|
onClick: (t) => F(e),
|
|
3083
3136
|
onMouseenter: (t) => m.value = A.value.indexOf(e)
|
|
3084
|
-
}, [l("div",
|
|
3137
|
+
}, [l("div", ra, [l("span", ia, k(e.label), 1), e.description ? (x(), c("span", aa, k(e.description), 1)) : s("", !0)]), e.shortcut ? (x(), c("div", oa, [(x(!0), c(t, null, T(e.shortcut, (e) => (x(), c("kbd", {
|
|
3085
3138
|
key: e,
|
|
3086
3139
|
class: "uid-command__kbd"
|
|
3087
|
-
}, k(e), 1))), 128))])) : s("", !0)], 42,
|
|
3140
|
+
}, k(e), 1))), 128))])) : s("", !0)], 42, na))), 128))], 64))), 128)) : (x(), c("div", sa, k(i.emptyText), 1))], 512)], 544)])) : s("", !0)]),
|
|
3088
3141
|
_: 1
|
|
3089
3142
|
})]));
|
|
3090
3143
|
}
|
|
3091
|
-
}),
|
|
3144
|
+
}), la = ["for"], ua = {
|
|
3092
3145
|
key: 0,
|
|
3093
3146
|
class: "uid-number-input__required",
|
|
3094
3147
|
"aria-hidden": "true"
|
|
3095
|
-
},
|
|
3148
|
+
}, da = { class: "uid-number-input__control" }, fa = ["disabled", "aria-label"], pa = [
|
|
3096
3149
|
"id",
|
|
3097
3150
|
"name",
|
|
3098
3151
|
"placeholder",
|
|
@@ -3105,7 +3158,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3105
3158
|
"value",
|
|
3106
3159
|
"aria-invalid",
|
|
3107
3160
|
"aria-describedby"
|
|
3108
|
-
],
|
|
3161
|
+
], ma = ["disabled", "aria-label"], ha = ["id"], ga = /* @__PURE__ */ f({
|
|
3109
3162
|
__name: "UidNumberInput",
|
|
3110
3163
|
props: /* @__PURE__ */ m({
|
|
3111
3164
|
min: { default: void 0 },
|
|
@@ -3198,8 +3251,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3198
3251
|
key: 0,
|
|
3199
3252
|
for: j(h),
|
|
3200
3253
|
class: "uid-number-input__label"
|
|
3201
|
-
}, [u(k(t.label) + " ", 1), t.required ? (x(), c("span",
|
|
3202
|
-
l("div",
|
|
3254
|
+
}, [u(k(t.label) + " ", 1), t.required ? (x(), c("span", ua, "*")) : s("", !0)], 8, la)) : s("", !0),
|
|
3255
|
+
l("div", da, [
|
|
3203
3256
|
t.controls ? (x(), c("button", {
|
|
3204
3257
|
key: 0,
|
|
3205
3258
|
type: "button",
|
|
@@ -3211,7 +3264,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3211
3264
|
}, [d(e, {
|
|
3212
3265
|
icon: j(ue),
|
|
3213
3266
|
size: 14
|
|
3214
|
-
}, null, 8, ["icon"])], 8,
|
|
3267
|
+
}, null, 8, ["icon"])], 8, fa)) : s("", !0),
|
|
3215
3268
|
l("input", {
|
|
3216
3269
|
id: j(h),
|
|
3217
3270
|
class: "uid-number-input__input",
|
|
@@ -3232,7 +3285,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3232
3285
|
onBlur: O,
|
|
3233
3286
|
onFocus: r[0] ||= (e) => i("focus", e),
|
|
3234
3287
|
onKeydown: A
|
|
3235
|
-
}, null, 40,
|
|
3288
|
+
}, null, 40, pa),
|
|
3236
3289
|
t.controls ? (x(), c("button", {
|
|
3237
3290
|
key: 1,
|
|
3238
3291
|
type: "button",
|
|
@@ -3244,37 +3297,37 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3244
3297
|
}, [d(e, {
|
|
3245
3298
|
icon: j(de),
|
|
3246
3299
|
size: 14
|
|
3247
|
-
}, null, 8, ["icon"])], 8,
|
|
3300
|
+
}, null, 8, ["icon"])], 8, ma)) : s("", !0)
|
|
3248
3301
|
]),
|
|
3249
3302
|
v.value ? (x(), c("p", {
|
|
3250
3303
|
key: 1,
|
|
3251
3304
|
id: `${j(h)}-hint`,
|
|
3252
3305
|
class: _(["uid-number-input__hint", g.value && "uid-number-input__hint--error"])
|
|
3253
|
-
}, k(v.value), 11,
|
|
3306
|
+
}, k(v.value), 11, ha)) : s("", !0)
|
|
3254
3307
|
], 2));
|
|
3255
3308
|
}
|
|
3256
|
-
}),
|
|
3309
|
+
}), _a = [
|
|
3257
3310
|
"aria-expanded",
|
|
3258
3311
|
"aria-label",
|
|
3259
3312
|
"aria-disabled"
|
|
3260
|
-
],
|
|
3313
|
+
], va = ["aria-label"], ya = {
|
|
3261
3314
|
key: 0,
|
|
3262
3315
|
class: "uid-timepicker__panel",
|
|
3263
3316
|
role: "dialog",
|
|
3264
3317
|
"aria-label": "Выбор времени"
|
|
3265
|
-
},
|
|
3318
|
+
}, ba = { class: "uid-timepicker__columns" }, xa = [
|
|
3266
3319
|
"aria-selected",
|
|
3267
3320
|
"tabindex",
|
|
3268
3321
|
"onClick"
|
|
3269
|
-
],
|
|
3322
|
+
], Sa = [
|
|
3270
3323
|
"aria-selected",
|
|
3271
3324
|
"tabindex",
|
|
3272
3325
|
"onClick"
|
|
3273
|
-
],
|
|
3326
|
+
], Ca = [
|
|
3274
3327
|
"aria-selected",
|
|
3275
3328
|
"tabindex",
|
|
3276
3329
|
"onClick"
|
|
3277
|
-
],
|
|
3330
|
+
], wa = { class: "uid-timepicker__footer" }, Ta = /* @__PURE__ */ f({
|
|
3278
3331
|
__name: "UidTimePicker",
|
|
3279
3332
|
props: /* @__PURE__ */ m({
|
|
3280
3333
|
step: { default: 5 },
|
|
@@ -3469,9 +3522,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3469
3522
|
class: "uid-timepicker__clear",
|
|
3470
3523
|
"aria-label": j(u).common.clear,
|
|
3471
3524
|
onClick: te
|
|
3472
|
-
}, " × ", 8,
|
|
3473
|
-
], 40,
|
|
3474
|
-
default: z(() => [h.value ? (x(), c("div",
|
|
3525
|
+
}, " × ", 8, va)) : s("", !0)
|
|
3526
|
+
], 40, _a), d(r, { name: "uid-timepicker-panel" }, {
|
|
3527
|
+
default: z(() => [h.value ? (x(), c("div", ya, [l("div", ba, [
|
|
3475
3528
|
l("div", {
|
|
3476
3529
|
ref_key: "hourColRef",
|
|
3477
3530
|
ref: S,
|
|
@@ -3487,7 +3540,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3487
3540
|
"aria-selected": A.value.h === e,
|
|
3488
3541
|
tabindex: A.value.h === e ? 0 : -1,
|
|
3489
3542
|
onClick: (t) => U(e)
|
|
3490
|
-
}, k(L(e)), 11,
|
|
3543
|
+
}, k(L(e)), 11, xa))), 128))], 544),
|
|
3491
3544
|
l("div", {
|
|
3492
3545
|
ref_key: "minuteColRef",
|
|
3493
3546
|
ref: C,
|
|
@@ -3503,7 +3556,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3503
3556
|
"aria-selected": A.value.m === e,
|
|
3504
3557
|
tabindex: A.value.m === e ? 0 : -1,
|
|
3505
3558
|
onClick: (t) => W(e)
|
|
3506
|
-
}, k(L(e)), 11,
|
|
3559
|
+
}, k(L(e)), 11, Sa))), 128))], 544),
|
|
3507
3560
|
n.withSeconds ? (x(), c("div", {
|
|
3508
3561
|
key: 0,
|
|
3509
3562
|
ref_key: "secondColRef",
|
|
@@ -3520,8 +3573,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3520
3573
|
"aria-selected": A.value.s === e,
|
|
3521
3574
|
tabindex: A.value.s === e ? 0 : -1,
|
|
3522
3575
|
onClick: (t) => G(e)
|
|
3523
|
-
}, k(L(e)), 11,
|
|
3524
|
-
]), l("div",
|
|
3576
|
+
}, k(L(e)), 11, Ca))), 128))], 544)) : s("", !0)
|
|
3577
|
+
]), l("div", wa, [l("button", {
|
|
3525
3578
|
type: "button",
|
|
3526
3579
|
class: "uid-timepicker__btn",
|
|
3527
3580
|
onClick: K
|
|
@@ -3533,24 +3586,24 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3533
3586
|
_: 1
|
|
3534
3587
|
})], 2));
|
|
3535
3588
|
}
|
|
3536
|
-
}),
|
|
3589
|
+
}), Ea = [
|
|
3537
3590
|
"aria-expanded",
|
|
3538
3591
|
"aria-label",
|
|
3539
3592
|
"aria-disabled"
|
|
3540
|
-
],
|
|
3593
|
+
], Da = ["aria-label"], Oa = {
|
|
3541
3594
|
key: 0,
|
|
3542
3595
|
class: "uid-daterange__panel",
|
|
3543
3596
|
role: "dialog",
|
|
3544
3597
|
"aria-label": "Выбор диапазона дат"
|
|
3545
|
-
},
|
|
3598
|
+
}, ka = { class: "uid-daterange__months" }, Aa = { class: "uid-daterange__month" }, ja = { class: "uid-daterange__nav" }, Ma = ["aria-label"], Na = { class: "uid-daterange__month-label" }, Pa = ["aria-label"], Fa = { class: "uid-daterange__grid" }, Ia = [
|
|
3546
3599
|
"disabled",
|
|
3547
3600
|
"onClick",
|
|
3548
3601
|
"onMouseenter"
|
|
3549
|
-
],
|
|
3602
|
+
], La = { class: "uid-daterange__month" }, Ra = { class: "uid-daterange__nav" }, za = ["aria-label"], Ba = { class: "uid-daterange__month-label" }, Va = ["aria-label"], Ha = { class: "uid-daterange__grid" }, Ua = [
|
|
3550
3603
|
"disabled",
|
|
3551
3604
|
"onClick",
|
|
3552
3605
|
"onMouseenter"
|
|
3553
|
-
],
|
|
3606
|
+
], Wa = { class: "uid-daterange__footer" }, Ga = /* @__PURE__ */ f({
|
|
3554
3607
|
__name: "UidDateRangePicker",
|
|
3555
3608
|
props: /* @__PURE__ */ m({
|
|
3556
3609
|
min: { default: void 0 },
|
|
@@ -3745,9 +3798,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3745
3798
|
class: "uid-daterange__clear",
|
|
3746
3799
|
"aria-label": j(u).common.clear,
|
|
3747
3800
|
onClick: ce
|
|
3748
|
-
}, " × ", 8,
|
|
3749
|
-
], 40,
|
|
3750
|
-
default: z(() => [h.value ? (x(), c("div",
|
|
3801
|
+
}, " × ", 8, Da)) : s("", !0)
|
|
3802
|
+
], 40, Ea), d(r, { name: "uid-daterange-panel" }, {
|
|
3803
|
+
default: z(() => [h.value ? (x(), c("div", Oa, [l("div", ka, [l("div", Aa, [l("div", ja, [
|
|
3751
3804
|
l("button", {
|
|
3752
3805
|
type: "button",
|
|
3753
3806
|
class: "uid-daterange__nav-btn uid-daterange__nav-btn--prev",
|
|
@@ -3756,8 +3809,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3756
3809
|
}, [d(e, {
|
|
3757
3810
|
icon: j(re),
|
|
3758
3811
|
size: 16
|
|
3759
|
-
}, null, 8, ["icon"])], 8,
|
|
3760
|
-
l("span",
|
|
3812
|
+
}, null, 8, ["icon"])], 8, Ma),
|
|
3813
|
+
l("span", Na, k(H.value), 1),
|
|
3761
3814
|
l("button", {
|
|
3762
3815
|
type: "button",
|
|
3763
3816
|
class: "uid-daterange__nav-btn uid-daterange__nav-btn--next",
|
|
@@ -3766,8 +3819,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3766
3819
|
}, [d(e, {
|
|
3767
3820
|
icon: j(X),
|
|
3768
3821
|
size: 16
|
|
3769
|
-
}, null, 8, ["icon"])], 8,
|
|
3770
|
-
]), l("div",
|
|
3822
|
+
}, null, 8, ["icon"])], 8, Pa)
|
|
3823
|
+
]), l("div", Fa, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
|
|
3771
3824
|
key: e,
|
|
3772
3825
|
class: "uid-daterange__weekday"
|
|
3773
3826
|
}, k(e), 1))), 128)), (x(!0), c(t, null, T(B.value, (e) => (x(), c("button", {
|
|
@@ -3784,7 +3837,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3784
3837
|
disabled: G(e.iso) || !e.current,
|
|
3785
3838
|
onClick: (t) => ie(e),
|
|
3786
3839
|
onMouseenter: (t) => ae(e.iso)
|
|
3787
|
-
}, k(e.date.getDate()), 43,
|
|
3840
|
+
}, k(e.date.getDate()), 43, Ia))), 128))])]), l("div", La, [l("div", Ra, [
|
|
3788
3841
|
l("button", {
|
|
3789
3842
|
type: "button",
|
|
3790
3843
|
class: "uid-daterange__nav-btn uid-daterange__nav-btn--prev",
|
|
@@ -3793,8 +3846,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3793
3846
|
}, [d(e, {
|
|
3794
3847
|
icon: j(re),
|
|
3795
3848
|
size: 16
|
|
3796
|
-
}, null, 8, ["icon"])], 8,
|
|
3797
|
-
l("span",
|
|
3849
|
+
}, null, 8, ["icon"])], 8, za),
|
|
3850
|
+
l("span", Ba, k(U.value), 1),
|
|
3798
3851
|
l("button", {
|
|
3799
3852
|
type: "button",
|
|
3800
3853
|
class: "uid-daterange__nav-btn uid-daterange__nav-btn--next",
|
|
@@ -3803,8 +3856,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3803
3856
|
}, [d(e, {
|
|
3804
3857
|
icon: j(X),
|
|
3805
3858
|
size: 16
|
|
3806
|
-
}, null, 8, ["icon"])], 8,
|
|
3807
|
-
]), l("div",
|
|
3859
|
+
}, null, 8, ["icon"])], 8, Va)
|
|
3860
|
+
]), l("div", Ha, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
|
|
3808
3861
|
key: e,
|
|
3809
3862
|
class: "uid-daterange__weekday"
|
|
3810
3863
|
}, k(e), 1))), 128)), (x(!0), c(t, null, T(V.value, (e) => (x(), c("button", {
|
|
@@ -3821,7 +3874,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3821
3874
|
disabled: G(e.iso) || !e.current,
|
|
3822
3875
|
onClick: (t) => ie(e),
|
|
3823
3876
|
onMouseenter: (t) => ae(e.iso)
|
|
3824
|
-
}, k(e.date.getDate()), 43,
|
|
3877
|
+
}, k(e.date.getDate()), 43, Ua))), 128))])])]), l("div", Wa, [
|
|
3825
3878
|
l("button", {
|
|
3826
3879
|
type: "button",
|
|
3827
3880
|
class: "uid-daterange__btn",
|
|
@@ -3841,11 +3894,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3841
3894
|
_: 1
|
|
3842
3895
|
})], 2));
|
|
3843
3896
|
}
|
|
3844
|
-
}),
|
|
3897
|
+
}), Ka = ["for"], qa = {
|
|
3845
3898
|
key: 0,
|
|
3846
3899
|
class: "uid-tags-input__required",
|
|
3847
3900
|
"aria-hidden": "true"
|
|
3848
|
-
},
|
|
3901
|
+
}, Ja = ["aria-label", "onClick"], Ya = [
|
|
3849
3902
|
"id",
|
|
3850
3903
|
"placeholder",
|
|
3851
3904
|
"disabled",
|
|
@@ -3853,7 +3906,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3853
3906
|
"value",
|
|
3854
3907
|
"aria-invalid",
|
|
3855
3908
|
"aria-describedby"
|
|
3856
|
-
],
|
|
3909
|
+
], Xa = ["id"], Za = /* @__PURE__ */ f({
|
|
3857
3910
|
__name: "UidTagsInput",
|
|
3858
3911
|
props: /* @__PURE__ */ m({
|
|
3859
3912
|
separators: { default: () => [",", "Enter"] },
|
|
@@ -3954,7 +4007,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3954
4007
|
key: 0,
|
|
3955
4008
|
for: j(p),
|
|
3956
4009
|
class: "uid-tags-input__label"
|
|
3957
|
-
}, [u(k(e.label) + " ", 1), e.required ? (x(), c("span",
|
|
4010
|
+
}, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", qa, "*")) : s("", !0)], 8, Ka)) : s("", !0),
|
|
3958
4011
|
l("div", {
|
|
3959
4012
|
class: "uid-tags-input__control",
|
|
3960
4013
|
role: "list",
|
|
@@ -3969,7 +4022,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3969
4022
|
class: "uid-tags-input__chip-remove",
|
|
3970
4023
|
"aria-label": j(m).tagsInput.remove(t),
|
|
3971
4024
|
onClick: H((e) => S(n), ["stop"])
|
|
3972
|
-
}, "×", 8,
|
|
4025
|
+
}, "×", 8, Ja))], 2))), 128)), l("input", {
|
|
3973
4026
|
id: j(p),
|
|
3974
4027
|
ref_key: "inputRef",
|
|
3975
4028
|
ref: f,
|
|
@@ -3985,19 +4038,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
3985
4038
|
onKeydown: C,
|
|
3986
4039
|
onPaste: D,
|
|
3987
4040
|
onBlur: b
|
|
3988
|
-
}, null, 40,
|
|
4041
|
+
}, null, 40, Ya)]),
|
|
3989
4042
|
g.value ? (x(), c("p", {
|
|
3990
4043
|
key: 1,
|
|
3991
4044
|
id: `${j(p)}-hint`,
|
|
3992
4045
|
class: _(["uid-tags-input__hint", h.value && "uid-tags-input__hint--error"])
|
|
3993
|
-
}, k(g.value), 11,
|
|
4046
|
+
}, k(g.value), 11, Xa)) : s("", !0)
|
|
3994
4047
|
], 2));
|
|
3995
4048
|
}
|
|
3996
|
-
}),
|
|
4049
|
+
}), Qa = ["for"], $a = {
|
|
3997
4050
|
key: 0,
|
|
3998
4051
|
class: "uid-combobox__required",
|
|
3999
4052
|
"aria-hidden": "true"
|
|
4000
|
-
},
|
|
4053
|
+
}, eo = { class: "uid-combobox__control" }, to = [
|
|
4001
4054
|
"id",
|
|
4002
4055
|
"aria-expanded",
|
|
4003
4056
|
"aria-controls",
|
|
@@ -4007,20 +4060,20 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4007
4060
|
"disabled",
|
|
4008
4061
|
"required",
|
|
4009
4062
|
"value"
|
|
4010
|
-
],
|
|
4063
|
+
], no = { class: "uid-combobox__suffix" }, ro = ["aria-label"], io = ["id"], ao = [
|
|
4011
4064
|
"id",
|
|
4012
4065
|
"data-active",
|
|
4013
4066
|
"aria-selected",
|
|
4014
4067
|
"aria-disabled",
|
|
4015
4068
|
"onClick",
|
|
4016
4069
|
"onMouseenter"
|
|
4017
|
-
],
|
|
4070
|
+
], oo = { class: "uid-combobox__option-label" }, so = {
|
|
4018
4071
|
key: 0,
|
|
4019
4072
|
class: "uid-combobox__option-hint"
|
|
4020
|
-
},
|
|
4073
|
+
}, co = ["id", "data-active"], lo = { class: "uid-combobox__option-label" }, uo = {
|
|
4021
4074
|
key: 2,
|
|
4022
4075
|
class: "uid-combobox__empty"
|
|
4023
|
-
},
|
|
4076
|
+
}, fo = /* @__PURE__ */ f({
|
|
4024
4077
|
__name: "UidCombobox",
|
|
4025
4078
|
props: /* @__PURE__ */ m({
|
|
4026
4079
|
options: {},
|
|
@@ -4146,8 +4199,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4146
4199
|
key: 0,
|
|
4147
4200
|
for: j(A),
|
|
4148
4201
|
class: "uid-combobox__label"
|
|
4149
|
-
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span",
|
|
4150
|
-
l("div",
|
|
4202
|
+
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", $a, "*")) : s("", !0)], 8, Qa)) : s("", !0),
|
|
4203
|
+
l("div", eo, [l("input", {
|
|
4151
4204
|
id: j(A),
|
|
4152
4205
|
ref_key: "inputRef",
|
|
4153
4206
|
ref: D,
|
|
@@ -4168,7 +4221,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4168
4221
|
onInput: ee,
|
|
4169
4222
|
onFocus: K,
|
|
4170
4223
|
onKeydown: te
|
|
4171
|
-
}, null, 40,
|
|
4224
|
+
}, null, 40, to), l("div", no, [n.clearable && v.value !== null ? (x(), c("button", {
|
|
4172
4225
|
key: 0,
|
|
4173
4226
|
type: "button",
|
|
4174
4227
|
class: "uid-combobox__clear",
|
|
@@ -4177,7 +4230,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4177
4230
|
}, [d(e, {
|
|
4178
4231
|
icon: j(_e),
|
|
4179
4232
|
size: 12
|
|
4180
|
-
}, null, 8, ["icon"])], 8,
|
|
4233
|
+
}, null, 8, ["icon"])], 8, ro)) : s("", !0), d(e, {
|
|
4181
4234
|
icon: j(Y),
|
|
4182
4235
|
size: 16,
|
|
4183
4236
|
class: _(["uid-combobox__chevron", { "uid-combobox__chevron--open": y.value }]),
|
|
@@ -4208,8 +4261,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4208
4261
|
onClick: (e) => U(t),
|
|
4209
4262
|
onMouseenter: (e) => !t.disabled && (C.value = n)
|
|
4210
4263
|
}, [
|
|
4211
|
-
l("span",
|
|
4212
|
-
t.hint ? (x(), c("span",
|
|
4264
|
+
l("span", oo, k(t.label), 1),
|
|
4265
|
+
t.hint ? (x(), c("span", so, k(t.hint), 1)) : s("", !0),
|
|
4213
4266
|
t.value === v.value ? (x(), o(e, {
|
|
4214
4267
|
key: 1,
|
|
4215
4268
|
icon: j(q),
|
|
@@ -4217,7 +4270,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4217
4270
|
class: "uid-combobox__check",
|
|
4218
4271
|
"aria-hidden": "true"
|
|
4219
4272
|
}, null, 8, ["icon"])) : s("", !0)
|
|
4220
|
-
], 42,
|
|
4273
|
+
], 42, ao))), 128)) : s("", !0),
|
|
4221
4274
|
L.value ? (x(), c("button", {
|
|
4222
4275
|
key: 1,
|
|
4223
4276
|
id: `${j(P)}-${I.value.length}`,
|
|
@@ -4227,38 +4280,38 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4227
4280
|
"data-active": C.value === I.value.length ? "true" : void 0,
|
|
4228
4281
|
onClick: W,
|
|
4229
4282
|
onMouseenter: i[0] ||= (e) => C.value = I.value.length
|
|
4230
|
-
}, [l("span",
|
|
4231
|
-
I.value.length === 0 && !L.value ? (x(), c("div",
|
|
4232
|
-
], 8,
|
|
4283
|
+
}, [l("span", lo, k(j(f).combobox.create(S.value)), 1)], 42, co)) : s("", !0),
|
|
4284
|
+
I.value.length === 0 && !L.value ? (x(), c("div", uo, k(m.value), 1)) : s("", !0)
|
|
4285
|
+
], 8, io)) : s("", !0),
|
|
4233
4286
|
B.value ? (x(), c("p", {
|
|
4234
4287
|
key: 2,
|
|
4235
4288
|
class: _(["uid-combobox__hint", z.value && "uid-combobox__hint--error"])
|
|
4236
4289
|
}, k(B.value), 3)) : s("", !0)
|
|
4237
4290
|
], 2));
|
|
4238
4291
|
}
|
|
4239
|
-
}),
|
|
4292
|
+
}), po = Symbol("UidTree"), mo = [
|
|
4240
4293
|
"aria-expanded",
|
|
4241
4294
|
"aria-selected",
|
|
4242
4295
|
"aria-disabled"
|
|
4243
|
-
],
|
|
4296
|
+
], ho = ["tabindex"], go = ["aria-label"], _o = {
|
|
4244
4297
|
key: 1,
|
|
4245
4298
|
class: "uid-tree-item__chevron uid-tree-item__chevron--placeholder",
|
|
4246
4299
|
"aria-hidden": "true"
|
|
4247
|
-
},
|
|
4300
|
+
}, vo = ["aria-checked"], yo = {
|
|
4248
4301
|
key: 3,
|
|
4249
4302
|
class: "uid-tree-item__icon"
|
|
4250
|
-
},
|
|
4303
|
+
}, bo = { class: "uid-tree-item__label" }, xo = {
|
|
4251
4304
|
key: 0,
|
|
4252
4305
|
class: "uid-tree-item__children",
|
|
4253
4306
|
role: "group"
|
|
4254
|
-
},
|
|
4307
|
+
}, So = /* @__PURE__ */ f({
|
|
4255
4308
|
__name: "UidTreeItem",
|
|
4256
4309
|
props: {
|
|
4257
4310
|
node: {},
|
|
4258
4311
|
level: {}
|
|
4259
4312
|
},
|
|
4260
4313
|
setup(n) {
|
|
4261
|
-
let r = n, i = p(
|
|
4314
|
+
let r = n, i = p(po);
|
|
4262
4315
|
if (!i) throw Error("UidTreeItem must be used inside UidTree");
|
|
4263
4316
|
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);
|
|
4264
4317
|
R(O, (e) => {
|
|
@@ -4320,7 +4373,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4320
4373
|
}, [d(e, {
|
|
4321
4374
|
icon: j(X),
|
|
4322
4375
|
size: 14
|
|
4323
|
-
}, null, 8, ["icon"])], 10,
|
|
4376
|
+
}, null, 8, ["icon"])], 10, go)) : (x(), c("span", _o)),
|
|
4324
4377
|
j(u).checkable.value ? (x(), c("span", {
|
|
4325
4378
|
key: 2,
|
|
4326
4379
|
class: _(["uid-tree-item__check", {
|
|
@@ -4334,20 +4387,20 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4334
4387
|
key: 0,
|
|
4335
4388
|
icon: j(q),
|
|
4336
4389
|
size: 12
|
|
4337
|
-
}, null, 8, ["icon"])) : s("", !0)], 10,
|
|
4338
|
-
n.node.icon ? (x(), c("span",
|
|
4390
|
+
}, null, 8, ["icon"])) : s("", !0)], 10, vo)) : s("", !0),
|
|
4391
|
+
n.node.icon ? (x(), c("span", yo, [d(e, {
|
|
4339
4392
|
icon: n.node.icon,
|
|
4340
4393
|
size: 16
|
|
4341
4394
|
}, null, 8, ["icon"])])) : s("", !0),
|
|
4342
|
-
l("span",
|
|
4343
|
-
], 44,
|
|
4395
|
+
l("span", bo, k(n.node.label), 1)
|
|
4396
|
+
], 44, ho), h.value && y.value ? (x(), c("ul", xo, [(x(!0), c(t, null, T(n.node.children, (e) => (x(), o(a, {
|
|
4344
4397
|
key: e.key,
|
|
4345
4398
|
node: e,
|
|
4346
4399
|
level: n.level + 1
|
|
4347
|
-
}, null, 8, ["node", "level"]))), 128))])) : s("", !0)], 10,
|
|
4400
|
+
}, null, 8, ["node", "level"]))), 128))])) : s("", !0)], 10, mo);
|
|
4348
4401
|
};
|
|
4349
4402
|
}
|
|
4350
|
-
}),
|
|
4403
|
+
}), Co = /* @__PURE__ */ f({
|
|
4351
4404
|
__name: "UidTreeView",
|
|
4352
4405
|
props: /* @__PURE__ */ m({
|
|
4353
4406
|
nodes: {},
|
|
@@ -4490,7 +4543,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4490
4543
|
function P(e) {
|
|
4491
4544
|
return O.value.get(e) ?? null;
|
|
4492
4545
|
}
|
|
4493
|
-
return S(
|
|
4546
|
+
return S(po, {
|
|
4494
4547
|
selectable: a(() => r.selectable),
|
|
4495
4548
|
checkable: a(() => r.checkable),
|
|
4496
4549
|
disabled: a(() => r.disabled),
|
|
@@ -4513,13 +4566,13 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4513
4566
|
}), (n, r) => (x(), c("ul", {
|
|
4514
4567
|
class: _(["uid-tree", { "uid-tree--guides": e.showGuides }]),
|
|
4515
4568
|
role: "tree"
|
|
4516
|
-
}, [(x(!0), c(t, null, T(e.nodes, (e) => (x(), o(
|
|
4569
|
+
}, [(x(!0), c(t, null, T(e.nodes, (e) => (x(), o(So, {
|
|
4517
4570
|
key: e.key,
|
|
4518
4571
|
node: e,
|
|
4519
4572
|
level: 0
|
|
4520
4573
|
}, null, 8, ["node"]))), 128))], 2));
|
|
4521
4574
|
}
|
|
4522
|
-
}),
|
|
4575
|
+
}), wo = /* @__PURE__ */ f({
|
|
4523
4576
|
__name: "UidTimeline",
|
|
4524
4577
|
props: { alternate: {
|
|
4525
4578
|
type: Boolean,
|
|
@@ -4528,19 +4581,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4528
4581
|
setup(e) {
|
|
4529
4582
|
return (t, n) => (x(), c("ol", { class: _(["uid-timeline", { "uid-timeline--alternate": e.alternate }]) }, [E(t.$slots, "default")], 2));
|
|
4530
4583
|
}
|
|
4531
|
-
}),
|
|
4584
|
+
}), To = { class: "uid-timeline-item__rail" }, Eo = { class: "uid-timeline-item__marker" }, Do = { class: "uid-timeline-item__content" }, Oo = {
|
|
4532
4585
|
key: 0,
|
|
4533
4586
|
class: "uid-timeline-item__time"
|
|
4534
|
-
},
|
|
4587
|
+
}, ko = {
|
|
4535
4588
|
key: 1,
|
|
4536
4589
|
class: "uid-timeline-item__title"
|
|
4537
|
-
},
|
|
4590
|
+
}, Ao = {
|
|
4538
4591
|
key: 2,
|
|
4539
4592
|
class: "uid-timeline-item__description"
|
|
4540
|
-
},
|
|
4593
|
+
}, jo = {
|
|
4541
4594
|
key: 3,
|
|
4542
4595
|
class: "uid-timeline-item__description"
|
|
4543
|
-
},
|
|
4596
|
+
}, Mo = /* @__PURE__ */ f({
|
|
4544
4597
|
__name: "UidTimelineItem",
|
|
4545
4598
|
props: {
|
|
4546
4599
|
title: {},
|
|
@@ -4550,37 +4603,37 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4550
4603
|
icon: {}
|
|
4551
4604
|
},
|
|
4552
4605
|
setup(t) {
|
|
4553
|
-
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",
|
|
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", To, [l("div", Eo, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
|
|
4554
4607
|
key: 0,
|
|
4555
4608
|
icon: t.icon,
|
|
4556
4609
|
size: 14
|
|
4557
4610
|
}, null, 8, ["icon"])) : s("", !0)])]), r[0] ||= l("div", {
|
|
4558
4611
|
class: "uid-timeline-item__line",
|
|
4559
4612
|
"aria-hidden": "true"
|
|
4560
|
-
}, null, -1)]), l("div",
|
|
4561
|
-
t.time || n.$slots.time ? (x(), c("p",
|
|
4562
|
-
t.title ? (x(), c("h4",
|
|
4563
|
-
t.description && !n.$slots.default ? (x(), c("p",
|
|
4564
|
-
n.$slots.default ? (x(), c("div",
|
|
4613
|
+
}, null, -1)]), l("div", Do, [
|
|
4614
|
+
t.time || n.$slots.time ? (x(), c("p", Oo, [E(n.$slots, "time", {}, () => [u(k(t.time), 1)])])) : s("", !0),
|
|
4615
|
+
t.title ? (x(), c("h4", ko, k(t.title), 1)) : s("", !0),
|
|
4616
|
+
t.description && !n.$slots.default ? (x(), c("p", Ao, k(t.description), 1)) : s("", !0),
|
|
4617
|
+
n.$slots.default ? (x(), c("div", jo, [E(n.$slots, "default")])) : s("", !0)
|
|
4565
4618
|
])], 2));
|
|
4566
4619
|
}
|
|
4567
|
-
}),
|
|
4620
|
+
}), No = ["for"], Po = {
|
|
4568
4621
|
key: 0,
|
|
4569
4622
|
class: "uid-file-upload__required",
|
|
4570
4623
|
"aria-hidden": "true"
|
|
4571
|
-
},
|
|
4624
|
+
}, Fo = ["aria-disabled", "aria-invalid"], Io = { class: "uid-file-upload__primary-text" }, Lo = ["innerHTML"], Ro = { class: "uid-file-upload__secondary-text" }, zo = [
|
|
4572
4625
|
"id",
|
|
4573
4626
|
"multiple",
|
|
4574
4627
|
"accept",
|
|
4575
4628
|
"disabled",
|
|
4576
4629
|
"required"
|
|
4577
|
-
],
|
|
4630
|
+
], Bo = {
|
|
4578
4631
|
key: 1,
|
|
4579
4632
|
class: "uid-file-upload__list"
|
|
4580
|
-
},
|
|
4633
|
+
}, Vo = { class: "uid-file-upload__file-info" }, Ho = { class: "uid-file-upload__file-name" }, Uo = { class: "uid-file-upload__file-meta" }, Wo = { key: 0 }, Go = { key: 1 }, Ko = {
|
|
4581
4634
|
key: 0,
|
|
4582
4635
|
class: "uid-file-upload__progress"
|
|
4583
|
-
},
|
|
4636
|
+
}, qo = ["aria-label", "onClick"], Jo = /* @__PURE__ */ f({
|
|
4584
4637
|
__name: "UidFileUpload",
|
|
4585
4638
|
props: /* @__PURE__ */ m({
|
|
4586
4639
|
multiple: {
|
|
@@ -4673,7 +4726,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4673
4726
|
key: 0,
|
|
4674
4727
|
for: j(b),
|
|
4675
4728
|
class: "uid-file-upload__label"
|
|
4676
|
-
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span",
|
|
4729
|
+
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", Po, "*")) : s("", !0)], 8, No)) : s("", !0),
|
|
4677
4730
|
l("div", {
|
|
4678
4731
|
class: _(["uid-file-upload__dropzone", { "uid-file-upload__dropzone--active": y.value }]),
|
|
4679
4732
|
role: "button",
|
|
@@ -4692,8 +4745,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4692
4745
|
class: "uid-file-upload__icon",
|
|
4693
4746
|
"aria-hidden": "true"
|
|
4694
4747
|
}, null, 8, ["icon"]),
|
|
4695
|
-
l("p",
|
|
4696
|
-
l("p",
|
|
4748
|
+
l("p", Io, [l("span", { innerHTML: f.value }, null, 8, Lo)]),
|
|
4749
|
+
l("p", Ro, k(p.value), 1),
|
|
4697
4750
|
l("input", {
|
|
4698
4751
|
id: j(b),
|
|
4699
4752
|
ref_key: "inputRef",
|
|
@@ -4707,9 +4760,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4707
4760
|
disabled: n.disabled,
|
|
4708
4761
|
required: n.required,
|
|
4709
4762
|
onChange: A
|
|
4710
|
-
}, null, 40,
|
|
4711
|
-
], 42,
|
|
4712
|
-
h.value.length > 0 ? (x(), c("ul",
|
|
4763
|
+
}, null, 40, zo)
|
|
4764
|
+
], 42, Fo),
|
|
4765
|
+
h.value.length > 0 ? (x(), c("ul", Bo, [(x(!0), c(t, null, T(h.value, (t) => (x(), c("li", {
|
|
4713
4766
|
key: t.id,
|
|
4714
4767
|
class: _(["uid-file-upload__item", { "uid-file-upload__item--error": t.error }])
|
|
4715
4768
|
}, [
|
|
@@ -4719,10 +4772,10 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4719
4772
|
class: "uid-file-upload__file-icon",
|
|
4720
4773
|
"aria-hidden": "true"
|
|
4721
4774
|
}, null, 8, ["icon"]),
|
|
4722
|
-
l("div",
|
|
4723
|
-
l("div",
|
|
4724
|
-
l("div",
|
|
4725
|
-
t.progress !== void 0 && !t.error ? (x(), c("div",
|
|
4775
|
+
l("div", Vo, [
|
|
4776
|
+
l("div", Ho, k(t.file.name), 1),
|
|
4777
|
+
l("div", Uo, [l("span", null, k(E(t.file.size)), 1), t.error ? (x(), c("span", Wo, "— " + k(t.error), 1)) : t.progress === void 0 ? s("", !0) : (x(), c("span", Go, "— " + k(t.progress) + "%", 1))]),
|
|
4778
|
+
t.progress !== void 0 && !t.error ? (x(), c("div", Ko, [l("div", {
|
|
4726
4779
|
class: "uid-file-upload__progress-bar",
|
|
4727
4780
|
style: v({ width: `${t.progress}%` })
|
|
4728
4781
|
}, null, 4)])) : s("", !0)
|
|
@@ -4735,7 +4788,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4735
4788
|
}, [d(e, {
|
|
4736
4789
|
icon: j(_e),
|
|
4737
4790
|
size: 16
|
|
4738
|
-
}, null, 8, ["icon"])], 8,
|
|
4791
|
+
}, null, 8, ["icon"])], 8, qo)
|
|
4739
4792
|
], 2))), 128))])) : s("", !0),
|
|
4740
4793
|
C.value ? (x(), c("p", {
|
|
4741
4794
|
key: 2,
|
|
@@ -4743,17 +4796,17 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4743
4796
|
}, k(C.value), 3)) : s("", !0)
|
|
4744
4797
|
], 2));
|
|
4745
4798
|
}
|
|
4746
|
-
}),
|
|
4799
|
+
}), Yo = {
|
|
4747
4800
|
key: 0,
|
|
4748
4801
|
class: "uid-code uid-code--inline"
|
|
4749
|
-
},
|
|
4802
|
+
}, Xo = {
|
|
4750
4803
|
key: 0,
|
|
4751
4804
|
class: "uid-code__header"
|
|
4752
|
-
},
|
|
4805
|
+
}, Zo = { class: "uid-code__lang" }, Qo = ["aria-label"], $o = { class: "uid-code__body" }, es = {
|
|
4753
4806
|
key: 0,
|
|
4754
4807
|
class: "uid-code__line-numbers",
|
|
4755
4808
|
"aria-hidden": "true"
|
|
4756
|
-
},
|
|
4809
|
+
}, ts = { class: "uid-code__pre" }, ns = /* @__PURE__ */ f({
|
|
4757
4810
|
__name: "UidCode",
|
|
4758
4811
|
props: {
|
|
4759
4812
|
code: { default: "" },
|
|
@@ -4785,14 +4838,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4785
4838
|
}, 1500);
|
|
4786
4839
|
} catch {}
|
|
4787
4840
|
}
|
|
4788
|
-
return (i, a) => n.inline ? (x(), c("code",
|
|
4841
|
+
return (i, a) => n.inline ? (x(), c("code", Yo, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])) : (x(), c("div", {
|
|
4789
4842
|
key: 1,
|
|
4790
4843
|
class: _(["uid-code", {
|
|
4791
4844
|
"uid-code--minimal": !p.value,
|
|
4792
4845
|
"uid-code--wrap": n.wrap
|
|
4793
4846
|
}]),
|
|
4794
4847
|
style: v(n.maxHeight ? { "--uid-code-max-height": n.maxHeight } : void 0)
|
|
4795
|
-
}, [p.value ? (x(), c("div",
|
|
4848
|
+
}, [p.value ? (x(), c("div", Xo, [l("span", Zo, k(n.language || ""), 1), n.copy ? (x(), c("button", {
|
|
4796
4849
|
key: 0,
|
|
4797
4850
|
type: "button",
|
|
4798
4851
|
class: _(["uid-code__copy", { "uid-code__copy--copied": o.value }]),
|
|
@@ -4802,30 +4855,30 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4802
4855
|
icon: o.value ? j(q) : j(oe),
|
|
4803
4856
|
size: 12,
|
|
4804
4857
|
"aria-hidden": "true"
|
|
4805
|
-
}, null, 8, ["icon"]), l("span", null, k(o.value ? j(r).copy.copied : j(r).copy.copy), 1)], 10,
|
|
4858
|
+
}, null, 8, ["icon"]), l("span", null, k(o.value ? j(r).copy.copied : j(r).copy.copy), 1)], 10, Qo)) : s("", !0)])) : s("", !0), l("div", $o, [n.lineNumbers ? (x(), c("div", es, [(x(!0), c(t, null, T(f.value, (e, t) => (x(), c("span", {
|
|
4806
4859
|
key: t,
|
|
4807
4860
|
class: "uid-code__line-number"
|
|
4808
|
-
}, k(t + 1), 1))), 128))])) : s("", !0), l("pre",
|
|
4861
|
+
}, k(t + 1), 1))), 128))])) : s("", !0), l("pre", ts, [l("code", null, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])])])], 6));
|
|
4809
4862
|
}
|
|
4810
|
-
}),
|
|
4863
|
+
}), rs = [
|
|
4811
4864
|
"aria-valuemax",
|
|
4812
4865
|
"aria-valuenow",
|
|
4813
4866
|
"aria-readonly",
|
|
4814
4867
|
"aria-disabled",
|
|
4815
4868
|
"aria-label"
|
|
4816
|
-
],
|
|
4869
|
+
], is = [
|
|
4817
4870
|
"tabindex",
|
|
4818
4871
|
"aria-label",
|
|
4819
4872
|
"onClick",
|
|
4820
4873
|
"onMousemove",
|
|
4821
4874
|
"onKeydown"
|
|
4822
|
-
],
|
|
4875
|
+
], as = {
|
|
4823
4876
|
class: "uid-rating__icon",
|
|
4824
4877
|
"aria-hidden": "true"
|
|
4825
|
-
},
|
|
4878
|
+
}, os = ["data-half"], ss = {
|
|
4826
4879
|
key: 0,
|
|
4827
4880
|
class: "uid-rating__label"
|
|
4828
|
-
},
|
|
4881
|
+
}, cs = /* @__PURE__ */ f({
|
|
4829
4882
|
__name: "UidRating",
|
|
4830
4883
|
props: /* @__PURE__ */ m({
|
|
4831
4884
|
max: { default: 5 },
|
|
@@ -4929,21 +4982,21 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
4929
4982
|
onClick: (e) => y(e, t),
|
|
4930
4983
|
onMousemove: (e) => b(e, t),
|
|
4931
4984
|
onKeydown: (e) => C(e, t)
|
|
4932
|
-
}, [l("span",
|
|
4985
|
+
}, [l("span", as, [d(e, { icon: h.value }, null, 8, ["icon"])]), g(t).full ? (x(), c("span", {
|
|
4933
4986
|
key: 0,
|
|
4934
4987
|
class: "uid-rating__icon uid-rating__icon--filled",
|
|
4935
4988
|
"data-half": g(t).half ? "true" : "false",
|
|
4936
4989
|
"aria-hidden": "true"
|
|
4937
|
-
}, [d(e, { icon: h.value }, null, 8, ["icon"])], 8,
|
|
4990
|
+
}, [d(e, { icon: h.value }, null, 8, ["icon"])], 8, os)) : s("", !0)], 40, is))), 128)), n.showLabel ? (x(), c("span", ss, k(u.value.toFixed(+!!n.allowHalf)) + " / " + k(n.max), 1)) : s("", !0)], 42, rs));
|
|
4938
4991
|
}
|
|
4939
|
-
}),
|
|
4992
|
+
}), ls = [
|
|
4940
4993
|
"tabindex",
|
|
4941
4994
|
"aria-orientation",
|
|
4942
4995
|
"aria-valuemin",
|
|
4943
4996
|
"aria-valuemax",
|
|
4944
4997
|
"aria-valuenow",
|
|
4945
4998
|
"aria-disabled"
|
|
4946
|
-
],
|
|
4999
|
+
], us = { class: "uid-splitter__pane uid-splitter__pane--end" }, ds = /* @__PURE__ */ f({
|
|
4947
5000
|
__name: "UidSplitter",
|
|
4948
5001
|
props: /* @__PURE__ */ m({
|
|
4949
5002
|
direction: { default: "horizontal" },
|
|
@@ -5021,27 +5074,27 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5021
5074
|
l("span", { class: "uid-splitter__grip-dot" }),
|
|
5022
5075
|
l("span", { class: "uid-splitter__grip-dot" }),
|
|
5023
5076
|
l("span", { class: "uid-splitter__grip-dot" })
|
|
5024
|
-
], -1)]], 40,
|
|
5025
|
-
l("div",
|
|
5077
|
+
], -1)]], 40, ls),
|
|
5078
|
+
l("div", us, [E(t.$slots, "end")])
|
|
5026
5079
|
], 2));
|
|
5027
5080
|
}
|
|
5028
|
-
}),
|
|
5081
|
+
}), fs = {
|
|
5029
5082
|
key: 0,
|
|
5030
5083
|
class: "uid-stat__icon",
|
|
5031
5084
|
"aria-hidden": "true"
|
|
5032
|
-
},
|
|
5085
|
+
}, ps = { class: "uid-stat__body" }, ms = {
|
|
5033
5086
|
key: 0,
|
|
5034
5087
|
class: "uid-stat__title"
|
|
5035
|
-
},
|
|
5088
|
+
}, hs = { class: "uid-stat__value-row" }, gs = { class: "uid-stat__value" }, _s = {
|
|
5036
5089
|
key: 0,
|
|
5037
5090
|
class: "uid-stat__prefix"
|
|
5038
|
-
},
|
|
5091
|
+
}, vs = {
|
|
5039
5092
|
key: 1,
|
|
5040
5093
|
class: "uid-stat__suffix"
|
|
5041
|
-
},
|
|
5094
|
+
}, ys = {
|
|
5042
5095
|
key: 1,
|
|
5043
5096
|
class: "uid-stat__footer"
|
|
5044
|
-
},
|
|
5097
|
+
}, bs = /* @__PURE__ */ f({
|
|
5045
5098
|
__name: "UidStat",
|
|
5046
5099
|
props: {
|
|
5047
5100
|
title: {},
|
|
@@ -5067,16 +5120,16 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5067
5120
|
`uid-stat--${t.tone}`,
|
|
5068
5121
|
t.variant === "ghost" && "uid-stat--ghost",
|
|
5069
5122
|
t.loading && "uid-stat--loading"
|
|
5070
|
-
]]) }, [t.icon || n.$slots.icon ? (x(), c("span",
|
|
5123
|
+
]]) }, [t.icon || n.$slots.icon ? (x(), c("span", fs, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
|
|
5071
5124
|
key: 0,
|
|
5072
5125
|
icon: t.icon,
|
|
5073
5126
|
size: 20
|
|
5074
|
-
}, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div",
|
|
5075
|
-
t.title ? (x(), c("p",
|
|
5076
|
-
l("div",
|
|
5077
|
-
t.prefix ? (x(), c("span",
|
|
5127
|
+
}, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div", ps, [
|
|
5128
|
+
t.title ? (x(), c("p", ms, k(t.title), 1)) : s("", !0),
|
|
5129
|
+
l("div", hs, [l("span", gs, [E(n.$slots, "value", {}, () => [
|
|
5130
|
+
t.prefix ? (x(), c("span", _s, k(t.prefix), 1)) : s("", !0),
|
|
5078
5131
|
l("span", null, k(r.value), 1),
|
|
5079
|
-
t.suffix ? (x(), c("span",
|
|
5132
|
+
t.suffix ? (x(), c("span", vs, k(t.suffix), 1)) : s("", !0)
|
|
5080
5133
|
])]), t.trend !== void 0 || n.$slots.trend ? (x(), c("span", {
|
|
5081
5134
|
key: 0,
|
|
5082
5135
|
class: _(["uid-stat__trend", i.value && `uid-stat__trend--${i.value}`])
|
|
@@ -5085,13 +5138,13 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5085
5138
|
icon: d.value,
|
|
5086
5139
|
size: 12
|
|
5087
5140
|
}, null, 8, ["icon"])) : s("", !0), l("span", null, k(f.value), 1)])], 2)) : s("", !0)]),
|
|
5088
|
-
t.footer || n.$slots.footer ? (x(), c("p",
|
|
5141
|
+
t.footer || n.$slots.footer ? (x(), c("p", ys, [E(n.$slots, "footer", {}, () => [u(k(t.footer), 1)])])) : s("", !0)
|
|
5089
5142
|
])], 2));
|
|
5090
5143
|
}
|
|
5091
|
-
}),
|
|
5144
|
+
}), xs = Symbol("UidDescriptionList"), Ss = {
|
|
5092
5145
|
key: 0,
|
|
5093
5146
|
class: "uid-description-list__title"
|
|
5094
|
-
},
|
|
5147
|
+
}, Cs = /* @__PURE__ */ f({
|
|
5095
5148
|
__name: "UidDescriptionList",
|
|
5096
5149
|
props: {
|
|
5097
5150
|
title: {},
|
|
@@ -5106,7 +5159,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5106
5159
|
},
|
|
5107
5160
|
setup(e) {
|
|
5108
5161
|
let t = e;
|
|
5109
|
-
S(
|
|
5162
|
+
S(xs, {
|
|
5110
5163
|
direction: a(() => t.direction),
|
|
5111
5164
|
bordered: a(() => t.bordered)
|
|
5112
5165
|
});
|
|
@@ -5118,12 +5171,12 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5118
5171
|
`uid-description-list--${e.direction}`,
|
|
5119
5172
|
`uid-description-list--${e.size}`,
|
|
5120
5173
|
e.bordered && "uid-description-list--bordered"
|
|
5121
|
-
]]) }, [e.title || t.$slots.title ? (x(), c("h3",
|
|
5174
|
+
]]) }, [e.title || t.$slots.title ? (x(), c("h3", Ss, [E(t.$slots, "title", {}, () => [u(k(e.title), 1)])])) : s("", !0), l("dl", {
|
|
5122
5175
|
class: "uid-description-list__grid",
|
|
5123
5176
|
style: v(n.value)
|
|
5124
5177
|
}, [E(t.$slots, "default")], 4)], 2));
|
|
5125
5178
|
}
|
|
5126
|
-
}),
|
|
5179
|
+
}), ws = { class: "uid-description-item__label" }, Ts = { class: "uid-description-item__value" }, Es = ["aria-label"], Ds = /* @__PURE__ */ f({
|
|
5127
5180
|
__name: "UidDescriptionItem",
|
|
5128
5181
|
props: {
|
|
5129
5182
|
label: {},
|
|
@@ -5136,7 +5189,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5136
5189
|
},
|
|
5137
5190
|
setup(t) {
|
|
5138
5191
|
let n = $(), r = t;
|
|
5139
|
-
P(), p(
|
|
5192
|
+
P(), p(xs, null);
|
|
5140
5193
|
let i = w(null), o = w(!1), f = a(() => ({ "--uid-desc-span": r.span }));
|
|
5141
5194
|
async function m() {
|
|
5142
5195
|
let e = r.copyValue ?? i.value?.querySelector(".uid-description-item__value")?.textContent?.trim() ?? "";
|
|
@@ -5151,7 +5204,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5151
5204
|
ref: i,
|
|
5152
5205
|
class: "uid-description-item",
|
|
5153
5206
|
style: v(f.value)
|
|
5154
|
-
}, [l("dt",
|
|
5207
|
+
}, [l("dt", ws, [E(r.$slots, "label", {}, () => [u(k(t.label), 1)])]), l("dd", Ts, [E(r.$slots, "default"), t.copyable ? (x(), c("button", {
|
|
5155
5208
|
key: 0,
|
|
5156
5209
|
type: "button",
|
|
5157
5210
|
class: _(["uid-description-item__copy", { "uid-description-item__copy--copied": o.value }]),
|
|
@@ -5160,24 +5213,24 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5160
5213
|
}, [d(e, {
|
|
5161
5214
|
icon: o.value ? j(q) : j(oe),
|
|
5162
5215
|
size: 12
|
|
5163
|
-
}, null, 8, ["icon"])], 10,
|
|
5216
|
+
}, null, 8, ["icon"])], 10, Es)) : s("", !0)])], 4));
|
|
5164
5217
|
}
|
|
5165
|
-
}),
|
|
5218
|
+
}), Os = {
|
|
5166
5219
|
class: "uid-pattern-result__icon",
|
|
5167
5220
|
"aria-hidden": "true"
|
|
5168
|
-
},
|
|
5221
|
+
}, ks = {
|
|
5169
5222
|
key: 0,
|
|
5170
5223
|
class: "uid-pattern-result__title"
|
|
5171
|
-
},
|
|
5224
|
+
}, As = {
|
|
5172
5225
|
key: 1,
|
|
5173
5226
|
class: "uid-pattern-result__description"
|
|
5174
|
-
},
|
|
5227
|
+
}, js = {
|
|
5175
5228
|
key: 2,
|
|
5176
5229
|
class: "uid-pattern-result__content"
|
|
5177
|
-
},
|
|
5230
|
+
}, Ms = {
|
|
5178
5231
|
key: 3,
|
|
5179
5232
|
class: "uid-pattern-result__actions"
|
|
5180
|
-
},
|
|
5233
|
+
}, Ns = /* @__PURE__ */ f({
|
|
5181
5234
|
__name: "UidResult",
|
|
5182
5235
|
props: {
|
|
5183
5236
|
status: { default: "success" },
|
|
@@ -5199,17 +5252,17 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5199
5252
|
class: _(["uid-pattern-result", [`uid-pattern-result--${t.status}`, t.compact && "uid-pattern-result--compact"]]),
|
|
5200
5253
|
role: "status"
|
|
5201
5254
|
}, [
|
|
5202
|
-
l("div",
|
|
5255
|
+
l("div", Os, [E(n.$slots, "icon", {}, () => [d(e, {
|
|
5203
5256
|
icon: i.value,
|
|
5204
5257
|
size: t.compact ? 32 : 40
|
|
5205
5258
|
}, null, 8, ["icon", "size"])])]),
|
|
5206
|
-
t.title || n.$slots.title ? (x(), c("h2",
|
|
5207
|
-
t.description || n.$slots.description ? (x(), c("p",
|
|
5208
|
-
n.$slots.default ? (x(), c("div",
|
|
5209
|
-
n.$slots.actions ? (x(), c("div",
|
|
5259
|
+
t.title || n.$slots.title ? (x(), c("h2", ks, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])])) : s("", !0),
|
|
5260
|
+
t.description || n.$slots.description ? (x(), c("p", As, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0),
|
|
5261
|
+
n.$slots.default ? (x(), c("div", js, [E(n.$slots, "default")])) : s("", !0),
|
|
5262
|
+
n.$slots.actions ? (x(), c("div", Ms, [E(n.$slots, "actions")])) : s("", !0)
|
|
5210
5263
|
], 2));
|
|
5211
5264
|
}
|
|
5212
|
-
}),
|
|
5265
|
+
}), Ps = ["aria-label"], Fs = /* @__PURE__ */ f({
|
|
5213
5266
|
__name: "UidBackTop",
|
|
5214
5267
|
props: {
|
|
5215
5268
|
visibleAfter: { default: 200 },
|
|
@@ -5257,11 +5310,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5257
5310
|
}, [E(t.$slots, "default", {}, () => [d(e, {
|
|
5258
5311
|
icon: j(K),
|
|
5259
5312
|
size: 20
|
|
5260
|
-
}, null, 8, ["icon"])])], 8,
|
|
5313
|
+
}, null, 8, ["icon"])])], 8, Ps), [[L, f.value]])]),
|
|
5261
5314
|
_: 3
|
|
5262
5315
|
}));
|
|
5263
5316
|
}
|
|
5264
|
-
}),
|
|
5317
|
+
}), Is = { class: "uid-affix__content" }, Ls = /* @__PURE__ */ f({
|
|
5265
5318
|
__name: "UidAffix",
|
|
5266
5319
|
props: {
|
|
5267
5320
|
offsetTop: {},
|
|
@@ -5291,9 +5344,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5291
5344
|
ref: o,
|
|
5292
5345
|
class: "uid-affix__sentinel",
|
|
5293
5346
|
"aria-hidden": "true"
|
|
5294
|
-
}, null, 512), l("div",
|
|
5347
|
+
}, null, 512), l("div", Is, [E(e.$slots, "default")])], 6));
|
|
5295
5348
|
}
|
|
5296
|
-
}),
|
|
5349
|
+
}), Rs = { class: "uid-watermark" }, zs = { class: "uid-watermark__content" }, Bs = /* @__PURE__ */ f({
|
|
5297
5350
|
__name: "UidWatermark",
|
|
5298
5351
|
props: {
|
|
5299
5352
|
content: { default: "" },
|
|
@@ -5340,27 +5393,27 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5340
5393
|
i();
|
|
5341
5394
|
}), b(() => {
|
|
5342
5395
|
n.value = "";
|
|
5343
|
-
}), (e, t) => (x(), c("div",
|
|
5396
|
+
}), (e, t) => (x(), c("div", Rs, [l("div", {
|
|
5344
5397
|
class: "uid-watermark__overlay",
|
|
5345
5398
|
style: v(o.value),
|
|
5346
5399
|
"aria-hidden": "true"
|
|
5347
|
-
}, null, 4), l("div",
|
|
5400
|
+
}, null, 4), l("div", zs, [E(e.$slots, "default")])]));
|
|
5348
5401
|
}
|
|
5349
|
-
}),
|
|
5402
|
+
}), Vs = {
|
|
5350
5403
|
class: "uid-anchor",
|
|
5351
5404
|
"aria-label": "Содержание"
|
|
5352
|
-
},
|
|
5405
|
+
}, Hs = { class: "uid-anchor__list" }, Us = [
|
|
5353
5406
|
"href",
|
|
5354
5407
|
"aria-current",
|
|
5355
5408
|
"onClick"
|
|
5356
|
-
],
|
|
5409
|
+
], Ws = {
|
|
5357
5410
|
key: 0,
|
|
5358
5411
|
class: "uid-anchor__sublist"
|
|
5359
|
-
},
|
|
5412
|
+
}, Gs = [
|
|
5360
5413
|
"href",
|
|
5361
5414
|
"aria-current",
|
|
5362
5415
|
"onClick"
|
|
5363
|
-
],
|
|
5416
|
+
], Ks = /* @__PURE__ */ f({
|
|
5364
5417
|
__name: "UidAnchor",
|
|
5365
5418
|
props: /* @__PURE__ */ m({
|
|
5366
5419
|
items: {},
|
|
@@ -5424,7 +5477,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5424
5477
|
behavior: r.smooth ? "smooth" : "auto"
|
|
5425
5478
|
});
|
|
5426
5479
|
}
|
|
5427
|
-
return (n, r) => (x(), c("nav",
|
|
5480
|
+
return (n, r) => (x(), c("nav", Vs, [l("ul", Hs, [(x(!0), c(t, null, T(e.items, (e) => (x(), c("li", {
|
|
5428
5481
|
key: e.key,
|
|
5429
5482
|
class: "uid-anchor__item"
|
|
5430
5483
|
}, [l("a", {
|
|
@@ -5432,7 +5485,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5432
5485
|
class: _(["uid-anchor__link", { "uid-anchor__link--active": a.value === e.key }]),
|
|
5433
5486
|
"aria-current": a.value === e.key ? "location" : void 0,
|
|
5434
5487
|
onClick: (t) => m(t, e)
|
|
5435
|
-
}, k(e.title), 11,
|
|
5488
|
+
}, k(e.title), 11, Us), e.children?.length ? (x(), c("ul", Ws, [(x(!0), c(t, null, T(e.children, (e) => (x(), c("li", {
|
|
5436
5489
|
key: e.key,
|
|
5437
5490
|
class: "uid-anchor__item"
|
|
5438
5491
|
}, [l("a", {
|
|
@@ -5440,18 +5493,18 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5440
5493
|
class: _(["uid-anchor__link", { "uid-anchor__link--active": a.value === e.key }]),
|
|
5441
5494
|
"aria-current": a.value === e.key ? "location" : void 0,
|
|
5442
5495
|
onClick: (t) => m(t, e)
|
|
5443
|
-
}, k(e.title), 11,
|
|
5496
|
+
}, k(e.title), 11, Gs)]))), 128))])) : s("", !0)]))), 128))])]));
|
|
5444
5497
|
}
|
|
5445
|
-
}),
|
|
5498
|
+
}), qs = ["aria-label"], Js = {
|
|
5446
5499
|
key: 0,
|
|
5447
5500
|
class: "uid-tour__title"
|
|
5448
|
-
},
|
|
5501
|
+
}, Ys = {
|
|
5449
5502
|
key: 1,
|
|
5450
5503
|
class: "uid-tour__description"
|
|
5451
|
-
},
|
|
5504
|
+
}, Xs = { class: "uid-tour__footer" }, Zs = {
|
|
5452
5505
|
key: 0,
|
|
5453
5506
|
class: "uid-tour__progress"
|
|
5454
|
-
},
|
|
5507
|
+
}, Qs = { key: 1 }, $s = { class: "uid-tour__actions" }, ec = /* @__PURE__ */ f({
|
|
5455
5508
|
__name: "UidTour",
|
|
5456
5509
|
props: /* @__PURE__ */ m({
|
|
5457
5510
|
steps: {},
|
|
@@ -5590,9 +5643,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5590
5643
|
class: _(["uid-tour__popover", { "uid-tour__popover--center": F.value }]),
|
|
5591
5644
|
style: v(F.value ? void 0 : P.value)
|
|
5592
5645
|
}, [
|
|
5593
|
-
D.value.title ? (x(), c("h3",
|
|
5594
|
-
D.value.description ? (x(), c("p",
|
|
5595
|
-
l("div",
|
|
5646
|
+
D.value.title ? (x(), c("h3", Js, k(D.value.title), 1)) : s("", !0),
|
|
5647
|
+
D.value.description ? (x(), c("p", Ys, k(D.value.description), 1)) : s("", !0),
|
|
5648
|
+
l("div", Xs, [e.showProgress ? (x(), c("span", Zs, k(y.value + 1) + " / " + k(e.steps.length), 1)) : (x(), c("span", Qs)), l("div", $s, [
|
|
5596
5649
|
e.showSkip && y.value < e.steps.length - 1 ? (x(), c("button", {
|
|
5597
5650
|
key: 0,
|
|
5598
5651
|
type: "button",
|
|
@@ -5612,21 +5665,21 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5612
5665
|
}, k(y.value === e.steps.length - 1 ? f.value : u.value), 1)
|
|
5613
5666
|
])])
|
|
5614
5667
|
], 6)
|
|
5615
|
-
], 8,
|
|
5668
|
+
], 8, qs)) : s("", !0)]));
|
|
5616
5669
|
}
|
|
5617
|
-
}),
|
|
5670
|
+
}), tc = ["for"], nc = [
|
|
5618
5671
|
"id",
|
|
5619
5672
|
"value",
|
|
5620
5673
|
"placeholder",
|
|
5621
5674
|
"rows",
|
|
5622
5675
|
"disabled"
|
|
5623
|
-
],
|
|
5676
|
+
], rc = ["onMousedown", "onMouseenter"], ic = { class: "uid-mention__option-label" }, ac = {
|
|
5624
5677
|
key: 0,
|
|
5625
5678
|
class: "uid-mention__option-hint"
|
|
5626
|
-
},
|
|
5679
|
+
}, oc = {
|
|
5627
5680
|
key: 0,
|
|
5628
5681
|
class: "uid-mention__empty"
|
|
5629
|
-
},
|
|
5682
|
+
}, sc = /* @__PURE__ */ f({
|
|
5630
5683
|
__name: "UidMention",
|
|
5631
5684
|
props: /* @__PURE__ */ m({
|
|
5632
5685
|
options: {},
|
|
@@ -5704,7 +5757,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5704
5757
|
key: 0,
|
|
5705
5758
|
for: j(p),
|
|
5706
5759
|
class: "uid-mention__label"
|
|
5707
|
-
}, k(e.label), 9,
|
|
5760
|
+
}, k(e.label), 9, tc)) : s("", !0),
|
|
5708
5761
|
l("textarea", {
|
|
5709
5762
|
id: j(p),
|
|
5710
5763
|
ref_key: "fieldRef",
|
|
@@ -5719,7 +5772,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5719
5772
|
onKeydown: L,
|
|
5720
5773
|
onKeyup: O,
|
|
5721
5774
|
onBlur: r[0] ||= (e) => m.value = !1
|
|
5722
|
-
}, null, 40,
|
|
5775
|
+
}, null, 40, nc),
|
|
5723
5776
|
m.value ? (x(), c("div", {
|
|
5724
5777
|
key: 1,
|
|
5725
5778
|
class: "uid-mention__dropdown",
|
|
@@ -5730,30 +5783,30 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5730
5783
|
class: _(["uid-mention__option", { "uid-mention__option--active": t === y.value }]),
|
|
5731
5784
|
onMousedown: H((t) => P(e), ["prevent"]),
|
|
5732
5785
|
onMouseenter: (e) => y.value = t
|
|
5733
|
-
}, [l("span",
|
|
5786
|
+
}, [l("span", ic, k(e.label), 1), e.hint ? (x(), c("span", ac, k(e.hint), 1)) : s("", !0)], 42, rc))), 128)), D.value.length === 0 ? (x(), c("div", oc, k(o.value), 1)) : s("", !0)], 4)) : s("", !0)
|
|
5734
5787
|
], 2));
|
|
5735
5788
|
}
|
|
5736
|
-
}),
|
|
5789
|
+
}), cc = ["for"], lc = {
|
|
5737
5790
|
key: 0,
|
|
5738
5791
|
class: "uid-tree-select__required",
|
|
5739
5792
|
"aria-hidden": "true"
|
|
5740
|
-
},
|
|
5793
|
+
}, uc = [
|
|
5741
5794
|
"id",
|
|
5742
5795
|
"aria-expanded",
|
|
5743
5796
|
"aria-controls",
|
|
5744
5797
|
"aria-label",
|
|
5745
5798
|
"aria-disabled",
|
|
5746
5799
|
"aria-invalid"
|
|
5747
|
-
],
|
|
5800
|
+
], dc = { class: "uid-tree-select__value" }, fc = ["aria-label", "onClick"], pc = {
|
|
5748
5801
|
key: 0,
|
|
5749
5802
|
class: "uid-tree-select__chip"
|
|
5750
|
-
},
|
|
5803
|
+
}, mc = {
|
|
5751
5804
|
key: 1,
|
|
5752
5805
|
class: "uid-tree-select__placeholder"
|
|
5753
|
-
},
|
|
5806
|
+
}, hc = { key: 0 }, gc = {
|
|
5754
5807
|
key: 1,
|
|
5755
5808
|
class: "uid-tree-select__placeholder"
|
|
5756
|
-
},
|
|
5809
|
+
}, _c = { class: "uid-tree-select__suffix" }, vc = ["aria-label"], yc = ["id"], bc = /* @__PURE__ */ f({
|
|
5757
5810
|
__name: "UidTreeSelect",
|
|
5758
5811
|
props: /* @__PURE__ */ m({
|
|
5759
5812
|
nodes: {},
|
|
@@ -5846,7 +5899,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5846
5899
|
key: 0,
|
|
5847
5900
|
for: j(S),
|
|
5848
5901
|
class: "uid-tree-select__label"
|
|
5849
|
-
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span",
|
|
5902
|
+
}, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", lc, "*")) : s("", !0)], 8, cc)) : s("", !0),
|
|
5850
5903
|
l("div", {
|
|
5851
5904
|
id: j(S),
|
|
5852
5905
|
ref_key: "triggerRef",
|
|
@@ -5862,7 +5915,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5862
5915
|
"aria-invalid": E.value ? "true" : void 0,
|
|
5863
5916
|
onClick: V,
|
|
5864
5917
|
onKeydown: ee
|
|
5865
|
-
}, [l("div",
|
|
5918
|
+
}, [l("div", dc, [n.multiple ? (x(), c(t, { key: 0 }, [
|
|
5866
5919
|
(x(!0), c(t, null, T(I.value, (e) => (x(), c("span", {
|
|
5867
5920
|
key: e.key,
|
|
5868
5921
|
class: "uid-tree-select__chip"
|
|
@@ -5871,10 +5924,10 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5871
5924
|
class: "uid-tree-select__chip-remove",
|
|
5872
5925
|
"aria-label": j(o).treeSelect.removeTag(e.label),
|
|
5873
5926
|
onClick: H((t) => G(t, e.key), ["stop"])
|
|
5874
|
-
}, "×", 8,
|
|
5875
|
-
L.value > 0 ? (x(), c("span",
|
|
5876
|
-
F.value.length === 0 ? (x(), c("span",
|
|
5877
|
-
], 64)) : (x(), c(t, { key: 1 }, [F.value.length > 0 ? (x(), c("span",
|
|
5927
|
+
}, "×", 8, fc)]))), 128)),
|
|
5928
|
+
L.value > 0 ? (x(), c("span", pc, "+" + k(L.value), 1)) : s("", !0),
|
|
5929
|
+
F.value.length === 0 ? (x(), c("span", mc, k(f.value), 1)) : s("", !0)
|
|
5930
|
+
], 64)) : (x(), c(t, { key: 1 }, [F.value.length > 0 ? (x(), c("span", hc, k(F.value[0].label), 1)) : (x(), c("span", gc, k(f.value), 1))], 64))]), l("div", _c, [n.clearable && P.value.length > 0 ? (x(), c("button", {
|
|
5878
5931
|
key: 0,
|
|
5879
5932
|
type: "button",
|
|
5880
5933
|
class: "uid-tree-select__clear",
|
|
@@ -5883,17 +5936,17 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5883
5936
|
}, [d(e, {
|
|
5884
5937
|
icon: j(_e),
|
|
5885
5938
|
size: 14
|
|
5886
|
-
}, null, 8, ["icon"])], 8,
|
|
5939
|
+
}, null, 8, ["icon"])], 8, vc)) : s("", !0), d(e, {
|
|
5887
5940
|
icon: j(Y),
|
|
5888
5941
|
size: 16,
|
|
5889
5942
|
class: _(["uid-tree-select__chevron", { "uid-tree-select__chevron--open": g.value }]),
|
|
5890
5943
|
"aria-hidden": "true"
|
|
5891
|
-
}, null, 8, ["icon", "class"])])], 40,
|
|
5944
|
+
}, null, 8, ["icon", "class"])])], 40, uc),
|
|
5892
5945
|
g.value ? (x(), c("div", {
|
|
5893
5946
|
key: 1,
|
|
5894
5947
|
id: j(C),
|
|
5895
5948
|
class: "uid-tree-select__dropdown"
|
|
5896
|
-
}, [d(
|
|
5949
|
+
}, [d(Co, {
|
|
5897
5950
|
nodes: n.nodes,
|
|
5898
5951
|
"expanded-keys": h.value,
|
|
5899
5952
|
"onUpdate:expandedKeys": i[0] ||= (e) => h.value = e,
|
|
@@ -5909,19 +5962,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5909
5962
|
"selectable",
|
|
5910
5963
|
"default-expand-all",
|
|
5911
5964
|
"show-guides"
|
|
5912
|
-
])], 8,
|
|
5965
|
+
])], 8, yc)) : s("", !0),
|
|
5913
5966
|
D.value ? (x(), c("p", {
|
|
5914
5967
|
key: 2,
|
|
5915
5968
|
class: _(["uid-tree-select__hint", E.value && "uid-tree-select__hint--error"])
|
|
5916
5969
|
}, k(D.value), 3)) : s("", !0)
|
|
5917
5970
|
], 2));
|
|
5918
5971
|
}
|
|
5919
|
-
}),
|
|
5972
|
+
}), xc = {
|
|
5920
5973
|
key: 0,
|
|
5921
5974
|
class: "uid-notification-badge__dot",
|
|
5922
5975
|
role: "status",
|
|
5923
5976
|
"aria-hidden": "true"
|
|
5924
|
-
},
|
|
5977
|
+
}, Sc = ["aria-label"], Cc = /* @__PURE__ */ f({
|
|
5925
5978
|
__name: "UidNotificationBadge",
|
|
5926
5979
|
props: {
|
|
5927
5980
|
count: { default: 0 },
|
|
@@ -5948,22 +6001,22 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
5948
6001
|
return (t, a) => (x(), c("span", {
|
|
5949
6002
|
class: _(["uid-notification-badge", [`uid-notification-badge--${e.placement}`, e.tone !== "danger" && `uid-notification-badge--${e.tone}`]]),
|
|
5950
6003
|
style: v(i.value)
|
|
5951
|
-
}, [E(t.$slots, "default"), n.value && e.dot ? (x(), c("span",
|
|
6004
|
+
}, [E(t.$slots, "default"), n.value && e.dot ? (x(), c("span", xc)) : n.value ? (x(), c("span", {
|
|
5952
6005
|
key: 1,
|
|
5953
6006
|
class: "uid-notification-badge__count",
|
|
5954
6007
|
role: "status",
|
|
5955
6008
|
"aria-label": `${e.count}`
|
|
5956
|
-
}, k(r.value), 9,
|
|
6009
|
+
}, k(r.value), 9, Sc)) : s("", !0)], 6));
|
|
5957
6010
|
}
|
|
5958
|
-
}),
|
|
6011
|
+
}), wc = ["aria-hidden", "aria-label"], Tc = ["disabled"], Ec = ["disabled"], Dc = {
|
|
5959
6012
|
key: 2,
|
|
5960
6013
|
class: "uid-carousel__indicators",
|
|
5961
6014
|
role: "tablist"
|
|
5962
|
-
},
|
|
6015
|
+
}, Oc = [
|
|
5963
6016
|
"aria-selected",
|
|
5964
6017
|
"aria-label",
|
|
5965
6018
|
"onClick"
|
|
5966
|
-
],
|
|
6019
|
+
], kc = /* @__PURE__ */ f({
|
|
5967
6020
|
__name: "UidCarousel",
|
|
5968
6021
|
props: /* @__PURE__ */ m({
|
|
5969
6022
|
items: {},
|
|
@@ -6055,7 +6108,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6055
6108
|
}, [E(r.$slots, "default", {
|
|
6056
6109
|
item: e,
|
|
6057
6110
|
index: t
|
|
6058
|
-
})], 8,
|
|
6111
|
+
})], 8, wc))), 128))], 4),
|
|
6059
6112
|
n.showArrows && g.value > 1 ? (x(), c("button", {
|
|
6060
6113
|
key: 0,
|
|
6061
6114
|
type: "button",
|
|
@@ -6066,7 +6119,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6066
6119
|
}, [d(e, {
|
|
6067
6120
|
icon: n.direction === "vertical" ? j(ie) : j(re),
|
|
6068
6121
|
size: 20
|
|
6069
|
-
}, null, 8, ["icon"])], 8,
|
|
6122
|
+
}, null, 8, ["icon"])], 8, Tc)) : s("", !0),
|
|
6070
6123
|
n.showArrows && g.value > 1 ? (x(), c("button", {
|
|
6071
6124
|
key: 1,
|
|
6072
6125
|
type: "button",
|
|
@@ -6077,8 +6130,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6077
6130
|
}, [d(e, {
|
|
6078
6131
|
icon: n.direction === "vertical" ? j(Y) : j(X),
|
|
6079
6132
|
size: 20
|
|
6080
|
-
}, null, 8, ["icon"])], 8,
|
|
6081
|
-
n.showIndicators && g.value > 1 ? (x(), c("div",
|
|
6133
|
+
}, null, 8, ["icon"])], 8, Ec)) : s("", !0),
|
|
6134
|
+
n.showIndicators && g.value > 1 ? (x(), c("div", Dc, [(x(!0), c(t, null, T(n.items, (e, t) => (x(), c("button", {
|
|
6082
6135
|
key: t,
|
|
6083
6136
|
type: "button",
|
|
6084
6137
|
class: _(["uid-carousel__indicator", { "uid-carousel__indicator--active": t === f.value }]),
|
|
@@ -6086,38 +6139,38 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6086
6139
|
"aria-selected": t === f.value,
|
|
6087
6140
|
"aria-label": `Слайд ${t + 1}`,
|
|
6088
6141
|
onClick: (e) => C(t)
|
|
6089
|
-
}, null, 10,
|
|
6142
|
+
}, null, 10, Oc))), 128))])) : s("", !0)
|
|
6090
6143
|
], 34));
|
|
6091
6144
|
}
|
|
6092
|
-
}),
|
|
6145
|
+
}), Ac = { class: "uid-transfer__panel" }, jc = { class: "uid-transfer__header" }, Mc = { class: "uid-transfer__title" }, Nc = ["aria-checked"], Pc = { class: "uid-transfer__count" }, Fc = {
|
|
6093
6146
|
key: 0,
|
|
6094
6147
|
class: "uid-transfer__search"
|
|
6095
|
-
},
|
|
6148
|
+
}, Ic = ["placeholder"], Lc = {
|
|
6096
6149
|
class: "uid-transfer__list",
|
|
6097
6150
|
role: "listbox",
|
|
6098
6151
|
"aria-multiselectable": "true"
|
|
6099
|
-
},
|
|
6152
|
+
}, Rc = [
|
|
6100
6153
|
"aria-selected",
|
|
6101
6154
|
"aria-disabled",
|
|
6102
6155
|
"onClick"
|
|
6103
|
-
],
|
|
6156
|
+
], zc = { class: "uid-transfer__label" }, Bc = {
|
|
6104
6157
|
key: 0,
|
|
6105
6158
|
class: "uid-transfer__empty"
|
|
6106
|
-
},
|
|
6159
|
+
}, Vc = { class: "uid-transfer__ops" }, Hc = ["disabled"], Uc = ["disabled"], Wc = { class: "uid-transfer__panel" }, Gc = { class: "uid-transfer__header" }, Kc = { class: "uid-transfer__title" }, qc = ["aria-checked"], Jc = { class: "uid-transfer__count" }, Yc = {
|
|
6107
6160
|
key: 0,
|
|
6108
6161
|
class: "uid-transfer__search"
|
|
6109
|
-
},
|
|
6162
|
+
}, Xc = ["placeholder"], Zc = {
|
|
6110
6163
|
class: "uid-transfer__list",
|
|
6111
6164
|
role: "listbox",
|
|
6112
6165
|
"aria-multiselectable": "true"
|
|
6113
|
-
},
|
|
6166
|
+
}, Qc = [
|
|
6114
6167
|
"aria-selected",
|
|
6115
6168
|
"aria-disabled",
|
|
6116
6169
|
"onClick"
|
|
6117
|
-
],
|
|
6170
|
+
], $c = { class: "uid-transfer__label" }, el = {
|
|
6118
6171
|
key: 0,
|
|
6119
6172
|
class: "uid-transfer__empty"
|
|
6120
|
-
},
|
|
6173
|
+
}, tl = /* @__PURE__ */ f({
|
|
6121
6174
|
__name: "UidTransfer",
|
|
6122
6175
|
props: /* @__PURE__ */ m({
|
|
6123
6176
|
items: {},
|
|
@@ -6168,8 +6221,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6168
6221
|
p.value = e, g.value = /* @__PURE__ */ new Set(), f("change", e);
|
|
6169
6222
|
}
|
|
6170
6223
|
return (r, i) => (x(), c("div", { class: _(["uid-transfer", { "uid-transfer--disabled": n.disabled }]) }, [
|
|
6171
|
-
l("div",
|
|
6172
|
-
l("div",
|
|
6224
|
+
l("div", Ac, [
|
|
6225
|
+
l("div", jc, [l("span", Mc, [l("span", {
|
|
6173
6226
|
class: _(["uid-transfer__check", { "uid-transfer__check--checked": P.value }]),
|
|
6174
6227
|
role: "checkbox",
|
|
6175
6228
|
"aria-checked": P.value,
|
|
@@ -6180,14 +6233,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6180
6233
|
key: 0,
|
|
6181
6234
|
icon: j(q),
|
|
6182
6235
|
size: 10
|
|
6183
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
6184
|
-
n.searchable ? (x(), c("div",
|
|
6236
|
+
}, null, 8, ["icon"])) : s("", !0)], 42, Nc), u(" " + k(b.value[0]), 1)]), l("span", Pc, k(h.value.size) + " / " + k(D.value.length), 1)]),
|
|
6237
|
+
n.searchable ? (x(), c("div", Fc, [B(l("input", {
|
|
6185
6238
|
"onUpdate:modelValue": i[3] ||= (e) => v.value = e,
|
|
6186
6239
|
class: "uid-transfer__search-input",
|
|
6187
6240
|
type: "text",
|
|
6188
6241
|
placeholder: j(m).common.search
|
|
6189
|
-
}, null, 8,
|
|
6190
|
-
l("ul",
|
|
6242
|
+
}, null, 8, Ic), [[I, v.value]])])) : s("", !0),
|
|
6243
|
+
l("ul", Lc, [(x(!0), c(t, null, T(D.value, (t) => (x(), c("li", {
|
|
6191
6244
|
key: t.key,
|
|
6192
6245
|
class: _(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
|
|
6193
6246
|
role: "option",
|
|
@@ -6201,9 +6254,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6201
6254
|
key: 0,
|
|
6202
6255
|
icon: j(q),
|
|
6203
6256
|
size: 10
|
|
6204
|
-
}, null, 8, ["icon"])) : s("", !0)], 2), l("span",
|
|
6257
|
+
}, null, 8, ["icon"])) : s("", !0)], 2), l("span", zc, k(t.label), 1)], 10, Rc))), 128)), D.value.length === 0 ? (x(), c("li", Bc, k(j(m).common.noResults), 1)) : s("", !0)])
|
|
6205
6258
|
]),
|
|
6206
|
-
l("div",
|
|
6259
|
+
l("div", Vc, [l("button", {
|
|
6207
6260
|
type: "button",
|
|
6208
6261
|
class: "uid-transfer__op",
|
|
6209
6262
|
disabled: h.value.size === 0 || n.disabled,
|
|
@@ -6212,7 +6265,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6212
6265
|
}, [d(e, {
|
|
6213
6266
|
icon: j(X),
|
|
6214
6267
|
size: 16
|
|
6215
|
-
}, null, 8, ["icon"])], 8,
|
|
6268
|
+
}, null, 8, ["icon"])], 8, Hc), l("button", {
|
|
6216
6269
|
type: "button",
|
|
6217
6270
|
class: "uid-transfer__op",
|
|
6218
6271
|
disabled: g.value.size === 0 || n.disabled,
|
|
@@ -6221,9 +6274,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6221
6274
|
}, [d(e, {
|
|
6222
6275
|
icon: j(re),
|
|
6223
6276
|
size: 16
|
|
6224
|
-
}, null, 8, ["icon"])], 8,
|
|
6225
|
-
l("div",
|
|
6226
|
-
l("div",
|
|
6277
|
+
}, null, 8, ["icon"])], 8, Uc)]),
|
|
6278
|
+
l("div", Wc, [
|
|
6279
|
+
l("div", Gc, [l("span", Kc, [l("span", {
|
|
6227
6280
|
class: _(["uid-transfer__check", { "uid-transfer__check--checked": F.value }]),
|
|
6228
6281
|
role: "checkbox",
|
|
6229
6282
|
"aria-checked": F.value,
|
|
@@ -6234,14 +6287,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6234
6287
|
key: 0,
|
|
6235
6288
|
icon: j(q),
|
|
6236
6289
|
size: 10
|
|
6237
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
6238
|
-
n.searchable ? (x(), c("div",
|
|
6290
|
+
}, null, 8, ["icon"])) : s("", !0)], 42, qc), u(" " + k(b.value[1]), 1)]), l("span", Jc, k(g.value.size) + " / " + k(O.value.length), 1)]),
|
|
6291
|
+
n.searchable ? (x(), c("div", Yc, [B(l("input", {
|
|
6239
6292
|
"onUpdate:modelValue": i[7] ||= (e) => y.value = e,
|
|
6240
6293
|
class: "uid-transfer__search-input",
|
|
6241
6294
|
type: "text",
|
|
6242
6295
|
placeholder: j(m).common.search
|
|
6243
|
-
}, null, 8,
|
|
6244
|
-
l("ul",
|
|
6296
|
+
}, null, 8, Xc), [[I, y.value]])])) : s("", !0),
|
|
6297
|
+
l("ul", Zc, [(x(!0), c(t, null, T(O.value, (t) => (x(), c("li", {
|
|
6245
6298
|
key: t.key,
|
|
6246
6299
|
class: _(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
|
|
6247
6300
|
role: "option",
|
|
@@ -6255,30 +6308,30 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6255
6308
|
key: 0,
|
|
6256
6309
|
icon: j(q),
|
|
6257
6310
|
size: 10
|
|
6258
|
-
}, null, 8, ["icon"])) : s("", !0)], 2), l("span",
|
|
6311
|
+
}, null, 8, ["icon"])) : s("", !0)], 2), l("span", $c, k(t.label), 1)], 10, Qc))), 128)), O.value.length === 0 ? (x(), c("li", el, k(j(m).common.noResults), 1)) : s("", !0)])
|
|
6259
6312
|
])
|
|
6260
6313
|
], 2));
|
|
6261
6314
|
}
|
|
6262
|
-
}),
|
|
6315
|
+
}), nl = {
|
|
6263
6316
|
key: 0,
|
|
6264
6317
|
class: "uid-cascader__label"
|
|
6265
|
-
},
|
|
6318
|
+
}, rl = [
|
|
6266
6319
|
"aria-expanded",
|
|
6267
6320
|
"aria-disabled",
|
|
6268
6321
|
"aria-label"
|
|
6269
|
-
],
|
|
6322
|
+
], il = { class: "uid-cascader__value" }, al = {
|
|
6270
6323
|
key: 0,
|
|
6271
6324
|
class: "uid-cascader__separator"
|
|
6272
|
-
},
|
|
6325
|
+
}, ol = {
|
|
6273
6326
|
key: 1,
|
|
6274
6327
|
class: "uid-cascader__placeholder"
|
|
6275
|
-
},
|
|
6328
|
+
}, sl = { class: "uid-cascader__suffix" }, cl = ["aria-label"], ll = {
|
|
6276
6329
|
key: 1,
|
|
6277
6330
|
class: "uid-cascader__dropdown"
|
|
6278
|
-
},
|
|
6331
|
+
}, ul = ["onClick", "onMouseenter"], dl = { class: "uid-cascader__option-label" }, fl = {
|
|
6279
6332
|
key: 2,
|
|
6280
6333
|
class: "uid-cascader__hint"
|
|
6281
|
-
},
|
|
6334
|
+
}, pl = /* @__PURE__ */ f({
|
|
6282
6335
|
__name: "UidCascader",
|
|
6283
6336
|
props: /* @__PURE__ */ m({
|
|
6284
6337
|
options: {},
|
|
@@ -6383,7 +6436,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6383
6436
|
"uid-cascader--disabled": n.disabled
|
|
6384
6437
|
}])
|
|
6385
6438
|
}, [
|
|
6386
|
-
n.label ? (x(), c("label",
|
|
6439
|
+
n.label ? (x(), c("label", nl, k(n.label), 1)) : s("", !0),
|
|
6387
6440
|
l("div", {
|
|
6388
6441
|
class: "uid-cascader__trigger",
|
|
6389
6442
|
tabindex: "0",
|
|
@@ -6394,7 +6447,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6394
6447
|
"aria-label": m.value,
|
|
6395
6448
|
onClick: A,
|
|
6396
6449
|
onKeydown: I
|
|
6397
|
-
}, [l("div",
|
|
6450
|
+
}, [l("div", il, [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", al, k(n.separator), 1)) : s("", !0)], 64))), 128)) : (x(), c("span", ol, k(m.value), 1))]), l("div", sl, [n.clearable && f.value.length > 0 ? (x(), c("button", {
|
|
6398
6451
|
key: 0,
|
|
6399
6452
|
type: "button",
|
|
6400
6453
|
class: "uid-cascader__clear",
|
|
@@ -6403,12 +6456,12 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6403
6456
|
}, [d(e, {
|
|
6404
6457
|
icon: j(_e),
|
|
6405
6458
|
size: 14
|
|
6406
|
-
}, null, 8, ["icon"])], 8,
|
|
6459
|
+
}, null, 8, ["icon"])], 8, cl)) : s("", !0), d(e, {
|
|
6407
6460
|
icon: j(Y),
|
|
6408
6461
|
size: 16,
|
|
6409
6462
|
class: _(["uid-cascader__chevron", { "uid-cascader__chevron--open": h.value }])
|
|
6410
|
-
}, null, 8, ["icon", "class"])])], 40,
|
|
6411
|
-
h.value ? (x(), c("div",
|
|
6463
|
+
}, null, 8, ["icon", "class"])])], 40, rl),
|
|
6464
|
+
h.value ? (x(), c("div", ll, [(x(!0), c(t, null, T(S.value, (r, i) => (x(), c("div", {
|
|
6412
6465
|
key: i,
|
|
6413
6466
|
class: "uid-cascader__column"
|
|
6414
6467
|
}, [(x(!0), c(t, null, T(r, (t) => (x(), c("button", {
|
|
@@ -6420,27 +6473,27 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6420
6473
|
}]),
|
|
6421
6474
|
onClick: (e) => M(t, i),
|
|
6422
6475
|
onMouseenter: (e) => n.expandTrigger === "hover" && t.children && M(t, i)
|
|
6423
|
-
}, [l("span",
|
|
6476
|
+
}, [l("span", dl, k(t.label), 1), t.children?.length ? (x(), o(e, {
|
|
6424
6477
|
key: 0,
|
|
6425
6478
|
icon: j(X),
|
|
6426
6479
|
size: 14,
|
|
6427
6480
|
class: "uid-cascader__option-arrow",
|
|
6428
6481
|
"aria-hidden": "true"
|
|
6429
|
-
}, null, 8, ["icon"])) : s("", !0)], 42,
|
|
6430
|
-
n.hint ? (x(), c("p",
|
|
6482
|
+
}, null, 8, ["icon"])) : s("", !0)], 42, ul))), 128))]))), 128))])) : s("", !0),
|
|
6483
|
+
n.hint ? (x(), c("p", fl, k(n.hint), 1)) : s("", !0)
|
|
6431
6484
|
], 2));
|
|
6432
6485
|
}
|
|
6433
|
-
}),
|
|
6486
|
+
}), ml = { class: "uid-calendar__header" }, hl = { class: "uid-calendar__title" }, gl = { class: "uid-calendar__nav" }, _l = ["aria-label"], vl = ["aria-label"], yl = { class: "uid-calendar__weekdays" }, bl = { class: "uid-calendar__grid" }, xl = [
|
|
6434
6487
|
"tabindex",
|
|
6435
6488
|
"aria-current",
|
|
6436
6489
|
"aria-selected",
|
|
6437
6490
|
"aria-label",
|
|
6438
6491
|
"onClick",
|
|
6439
6492
|
"onKeydown"
|
|
6440
|
-
],
|
|
6493
|
+
], Sl = { class: "uid-calendar__date" }, Cl = { class: "uid-calendar__events" }, wl = ["title", "onClick"], Tl = { class: "uid-calendar__event-label" }, El = {
|
|
6441
6494
|
key: 0,
|
|
6442
6495
|
class: "uid-calendar__more"
|
|
6443
|
-
},
|
|
6496
|
+
}, Dl = /* @__PURE__ */ f({
|
|
6444
6497
|
__name: "UidCalendar",
|
|
6445
6498
|
props: /* @__PURE__ */ m({
|
|
6446
6499
|
events: { default: () => [] },
|
|
@@ -6527,7 +6580,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6527
6580
|
e.stopPropagation(), o("event-click", t);
|
|
6528
6581
|
}
|
|
6529
6582
|
return (r, i) => (x(), c("div", { class: _(["uid-calendar", { "uid-calendar--compact": n.compact }]) }, [
|
|
6530
|
-
l("div",
|
|
6583
|
+
l("div", ml, [l("span", hl, k(S.value), 1), l("div", gl, [
|
|
6531
6584
|
l("button", {
|
|
6532
6585
|
type: "button",
|
|
6533
6586
|
class: "uid-calendar__btn uid-calendar__btn--icon",
|
|
@@ -6536,7 +6589,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6536
6589
|
}, [d(e, {
|
|
6537
6590
|
icon: j(re),
|
|
6538
6591
|
size: 14
|
|
6539
|
-
}, null, 8, ["icon"])], 8,
|
|
6592
|
+
}, null, 8, ["icon"])], 8, _l),
|
|
6540
6593
|
l("button", {
|
|
6541
6594
|
type: "button",
|
|
6542
6595
|
class: "uid-calendar__btn",
|
|
@@ -6550,13 +6603,13 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6550
6603
|
}, [d(e, {
|
|
6551
6604
|
icon: j(X),
|
|
6552
6605
|
size: 14
|
|
6553
|
-
}, null, 8, ["icon"])], 8,
|
|
6606
|
+
}, null, 8, ["icon"])], 8, vl)
|
|
6554
6607
|
])]),
|
|
6555
|
-
l("div",
|
|
6608
|
+
l("div", yl, [(x(!0), c(t, null, T(j(f).datePicker.weekdaysShort, (e) => (x(), c("span", {
|
|
6556
6609
|
key: e,
|
|
6557
6610
|
class: "uid-calendar__weekday"
|
|
6558
6611
|
}, k(e), 1))), 128))]),
|
|
6559
|
-
l("div",
|
|
6612
|
+
l("div", bl, [(x(!0), c(t, null, T(D.value, (e) => (x(), c("div", {
|
|
6560
6613
|
key: e.iso,
|
|
6561
6614
|
class: _(["uid-calendar__day", {
|
|
6562
6615
|
"uid-calendar__day--other": !e.current,
|
|
@@ -6571,30 +6624,30 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6571
6624
|
"aria-label": e.iso,
|
|
6572
6625
|
onClick: (t) => F(e),
|
|
6573
6626
|
onKeydown: [V(H((t) => F(e), ["prevent"]), ["enter"]), V(H((t) => F(e), ["prevent"]), ["space"])]
|
|
6574
|
-
}, [l("span",
|
|
6627
|
+
}, [l("span", Sl, k(e.date.getDate()), 1), l("div", Cl, [(x(!0), c(t, null, T(e.events.slice(0, n.maxEventsPerDay), (t, n) => (x(), c("button", {
|
|
6575
6628
|
key: t.id ?? `${e.iso}-${n}`,
|
|
6576
6629
|
type: "button",
|
|
6577
6630
|
class: "uid-calendar__event",
|
|
6578
6631
|
style: v(t.color ? { "--uid-event-color": t.color } : void 0),
|
|
6579
6632
|
title: t.title,
|
|
6580
6633
|
onClick: (e) => I(e, t)
|
|
6581
|
-
}, [l("span",
|
|
6634
|
+
}, [l("span", Tl, k(t.title), 1)], 12, wl))), 128)), e.events.length > n.maxEventsPerDay ? (x(), c("span", El, "+" + k(e.events.length - n.maxEventsPerDay), 1)) : s("", !0)])], 42, xl))), 128))])
|
|
6582
6635
|
], 2));
|
|
6583
6636
|
}
|
|
6584
|
-
}),
|
|
6637
|
+
}), Ol = ["aria-label"], kl = [
|
|
6585
6638
|
"viewBox",
|
|
6586
6639
|
"width",
|
|
6587
6640
|
"height"
|
|
6588
|
-
],
|
|
6641
|
+
], Al = [
|
|
6589
6642
|
"x2",
|
|
6590
6643
|
"y1",
|
|
6591
6644
|
"y2"
|
|
6592
|
-
],
|
|
6645
|
+
], jl = [
|
|
6593
6646
|
"x",
|
|
6594
6647
|
"y",
|
|
6595
6648
|
"width",
|
|
6596
6649
|
"height"
|
|
6597
|
-
],
|
|
6650
|
+
], Ml = ["d"], Nl = ["d"], Pl = ["cx", "cy"], Fl = ["cx", "cy"], Il = 2, Ll = /* @__PURE__ */ f({
|
|
6598
6651
|
__name: "UidSparkline",
|
|
6599
6652
|
props: {
|
|
6600
6653
|
data: {},
|
|
@@ -6637,11 +6690,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6637
6690
|
};
|
|
6638
6691
|
});
|
|
6639
6692
|
function i(e, t) {
|
|
6640
|
-
return t <= 1 ? n.width / 2 :
|
|
6693
|
+
return t <= 1 ? n.width / 2 : Il + e / (t - 1) * (n.width - Il * 2);
|
|
6641
6694
|
}
|
|
6642
6695
|
function o(e) {
|
|
6643
6696
|
let t = r.value, i = (e - t.min) / (t.max - t.min);
|
|
6644
|
-
return n.height -
|
|
6697
|
+
return n.height - Il - i * (n.height - Il * 2);
|
|
6645
6698
|
}
|
|
6646
6699
|
let u = a(() => n.data.map((e, t) => ({
|
|
6647
6700
|
x: i(t, n.data.length),
|
|
@@ -6660,14 +6713,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6660
6713
|
}), f = a(() => {
|
|
6661
6714
|
let e = u.value;
|
|
6662
6715
|
if (e.length === 0) return "";
|
|
6663
|
-
let t = n.height -
|
|
6716
|
+
let t = n.height - Il;
|
|
6664
6717
|
return `${d.value} L ${e[e.length - 1].x.toFixed(2)} ${t.toFixed(2)} L ${e[0].x.toFixed(2)} ${t.toFixed(2)} Z`;
|
|
6665
6718
|
}), p = a(() => {
|
|
6666
6719
|
let e = u.value, t = e.length;
|
|
6667
6720
|
if (t === 0) return [];
|
|
6668
|
-
let r = n.width -
|
|
6721
|
+
let r = n.width - Il * 2, i = Math.max(1, r / t * .7), a = o(0);
|
|
6669
6722
|
return e.map((e, n) => {
|
|
6670
|
-
let o =
|
|
6723
|
+
let o = Il + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
|
|
6671
6724
|
return {
|
|
6672
6725
|
x: o,
|
|
6673
6726
|
y: c,
|
|
@@ -6699,59 +6752,59 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6699
6752
|
x2: e.width,
|
|
6700
6753
|
y1: m.value,
|
|
6701
6754
|
y2: m.value
|
|
6702
|
-
}, null, 8,
|
|
6755
|
+
}, null, 8, Al)) : s("", !0), e.type === "bar" ? (x(!0), c(t, { key: 1 }, T(p.value, (e, t) => (x(), c("rect", {
|
|
6703
6756
|
key: t,
|
|
6704
6757
|
class: _(["uid-sparkline__bar", { "uid-sparkline__bar--negative": e.negative }]),
|
|
6705
6758
|
x: e.x,
|
|
6706
6759
|
y: e.y,
|
|
6707
6760
|
width: e.width,
|
|
6708
6761
|
height: e.height
|
|
6709
|
-
}, null, 10,
|
|
6762
|
+
}, null, 10, jl))), 128)) : (x(), c(t, { key: 2 }, [
|
|
6710
6763
|
e.type === "area" ? (x(), c("path", {
|
|
6711
6764
|
key: 0,
|
|
6712
6765
|
class: "uid-sparkline__area",
|
|
6713
6766
|
d: f.value
|
|
6714
|
-
}, null, 8,
|
|
6767
|
+
}, null, 8, Ml)) : s("", !0),
|
|
6715
6768
|
l("path", {
|
|
6716
6769
|
class: "uid-sparkline__line",
|
|
6717
6770
|
d: d.value
|
|
6718
|
-
}, null, 8,
|
|
6771
|
+
}, null, 8, Nl),
|
|
6719
6772
|
e.showDots ? (x(!0), c(t, { key: 1 }, T(u.value, (e, t) => (x(), c("circle", {
|
|
6720
6773
|
key: t,
|
|
6721
6774
|
class: "uid-sparkline__dot",
|
|
6722
6775
|
cx: e.x,
|
|
6723
6776
|
cy: e.y,
|
|
6724
6777
|
r: "2.5"
|
|
6725
|
-
}, null, 8,
|
|
6778
|
+
}, null, 8, Pl))), 128)) : s("", !0),
|
|
6726
6779
|
e.showLast && g.value && !e.showDots ? (x(), c("circle", {
|
|
6727
6780
|
key: 2,
|
|
6728
6781
|
class: "uid-sparkline__dot uid-sparkline__dot--last",
|
|
6729
6782
|
cx: g.value.x,
|
|
6730
6783
|
cy: g.value.y,
|
|
6731
6784
|
r: "2.5"
|
|
6732
|
-
}, null, 8,
|
|
6733
|
-
], 64))], 8,
|
|
6785
|
+
}, null, 8, Fl)) : s("", !0)
|
|
6786
|
+
], 64))], 8, kl))], 12, Ol));
|
|
6734
6787
|
}
|
|
6735
|
-
}),
|
|
6788
|
+
}), Rl = ["aria-valuemax", "aria-valuenow"], zl = [
|
|
6736
6789
|
"width",
|
|
6737
6790
|
"height",
|
|
6738
6791
|
"viewBox"
|
|
6739
|
-
],
|
|
6792
|
+
], Bl = [
|
|
6740
6793
|
"cx",
|
|
6741
6794
|
"cy",
|
|
6742
6795
|
"r",
|
|
6743
6796
|
"stroke-width"
|
|
6744
|
-
],
|
|
6797
|
+
], Vl = [
|
|
6745
6798
|
"cx",
|
|
6746
6799
|
"cy",
|
|
6747
6800
|
"r",
|
|
6748
6801
|
"stroke-width",
|
|
6749
6802
|
"stroke-dasharray",
|
|
6750
6803
|
"stroke-dashoffset"
|
|
6751
|
-
],
|
|
6804
|
+
], Hl = {
|
|
6752
6805
|
key: 0,
|
|
6753
6806
|
class: "uid-progress-ring__label"
|
|
6754
|
-
},
|
|
6807
|
+
}, Ul = /* @__PURE__ */ f({
|
|
6755
6808
|
__name: "UidProgressRing",
|
|
6756
6809
|
props: {
|
|
6757
6810
|
value: { default: 0 },
|
|
@@ -6796,7 +6849,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6796
6849
|
cy: i.value,
|
|
6797
6850
|
r: n.value,
|
|
6798
6851
|
"stroke-width": e.strokeWidth
|
|
6799
|
-
}, null, 8,
|
|
6852
|
+
}, null, 8, Bl), l("circle", {
|
|
6800
6853
|
class: "uid-progress-ring__progress",
|
|
6801
6854
|
cx: i.value,
|
|
6802
6855
|
cy: i.value,
|
|
@@ -6804,50 +6857,50 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6804
6857
|
"stroke-width": e.strokeWidth,
|
|
6805
6858
|
"stroke-dasharray": r.value,
|
|
6806
6859
|
"stroke-dashoffset": f.value
|
|
6807
|
-
}, null, 8,
|
|
6860
|
+
}, null, 8, Vl)], 8, zl)), e.showLabel || t.$slots.default ? (x(), c("div", Hl, [E(t.$slots, "default", {}, () => [u(k(p.value), 1)])])) : s("", !0)], 14, Rl));
|
|
6808
6861
|
}
|
|
6809
|
-
}),
|
|
6862
|
+
}), Wl = [
|
|
6810
6863
|
"aria-valuemin",
|
|
6811
6864
|
"aria-valuemax",
|
|
6812
6865
|
"aria-valuenow",
|
|
6813
6866
|
"aria-label"
|
|
6814
|
-
],
|
|
6867
|
+
], Gl = [
|
|
6815
6868
|
"width",
|
|
6816
6869
|
"height",
|
|
6817
6870
|
"viewBox"
|
|
6818
|
-
],
|
|
6871
|
+
], Kl = ["d", "stroke-width"], ql = [
|
|
6819
6872
|
"d",
|
|
6820
6873
|
"stroke",
|
|
6821
6874
|
"stroke-width",
|
|
6822
6875
|
"stroke-dasharray",
|
|
6823
6876
|
"stroke-dashoffset"
|
|
6824
|
-
],
|
|
6877
|
+
], Jl = [
|
|
6825
6878
|
"d",
|
|
6826
6879
|
"stroke-width",
|
|
6827
6880
|
"stroke-dasharray",
|
|
6828
6881
|
"stroke-dashoffset"
|
|
6829
|
-
],
|
|
6882
|
+
], Yl = { key: 2 }, Xl = [
|
|
6830
6883
|
"x1",
|
|
6831
6884
|
"y1",
|
|
6832
6885
|
"x2",
|
|
6833
6886
|
"y2",
|
|
6834
6887
|
"transform"
|
|
6835
|
-
],
|
|
6888
|
+
], Zl = ["cx", "cy"], Ql = {
|
|
6836
6889
|
key: 0,
|
|
6837
6890
|
class: "uid-gauge__content"
|
|
6838
|
-
},
|
|
6891
|
+
}, $l = {
|
|
6839
6892
|
key: 0,
|
|
6840
6893
|
class: "uid-gauge__value"
|
|
6841
|
-
},
|
|
6894
|
+
}, eu = {
|
|
6842
6895
|
key: 0,
|
|
6843
6896
|
class: "uid-gauge__suffix"
|
|
6844
|
-
},
|
|
6897
|
+
}, tu = {
|
|
6845
6898
|
key: 1,
|
|
6846
6899
|
class: "uid-gauge__label"
|
|
6847
|
-
},
|
|
6900
|
+
}, nu = {
|
|
6848
6901
|
key: 1,
|
|
6849
6902
|
class: "uid-gauge__limits"
|
|
6850
|
-
},
|
|
6903
|
+
}, ru = 4, iu = /* @__PURE__ */ f({
|
|
6851
6904
|
__name: "UidGauge",
|
|
6852
6905
|
props: {
|
|
6853
6906
|
value: { default: 0 },
|
|
@@ -6876,7 +6929,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6876
6929
|
formatValue: {}
|
|
6877
6930
|
},
|
|
6878
6931
|
setup(e) {
|
|
6879
|
-
let n = e, r = a(() => (n.size - n.strokeWidth) / 2 -
|
|
6932
|
+
let n = e, r = a(() => (n.size - n.strokeWidth) / 2 - ru), i = a(() => n.size / 2), o = a(() => n.size / 2), u = a(() => n.size / 2 + n.strokeWidth / 2 + ru), d = a(() => Math.PI * r.value), f = a(() => Math.max(n.min, Math.min(n.max, n.value))), p = a(() => {
|
|
6880
6933
|
let e = n.max - n.min;
|
|
6881
6934
|
return e <= 0 ? 0 : (f.value - n.min) / e;
|
|
6882
6935
|
}), m = a(() => {
|
|
@@ -6914,7 +6967,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6914
6967
|
class: "uid-gauge__track",
|
|
6915
6968
|
d: m.value,
|
|
6916
6969
|
"stroke-width": e.strokeWidth
|
|
6917
|
-
}, null, 8,
|
|
6970
|
+
}, null, 8, Kl),
|
|
6918
6971
|
e.ranges && e.ranges.length ? (x(!0), c(t, { key: 0 }, T(e.ranges, (t, n) => (x(), c("path", {
|
|
6919
6972
|
key: n,
|
|
6920
6973
|
class: "uid-gauge__range",
|
|
@@ -6923,7 +6976,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6923
6976
|
"stroke-width": e.strokeWidth,
|
|
6924
6977
|
"stroke-dasharray": g(t).dasharray,
|
|
6925
6978
|
"stroke-dashoffset": g(t).dashoffset
|
|
6926
|
-
}, null, 8,
|
|
6979
|
+
}, null, 8, ql))), 128)) : s("", !0),
|
|
6927
6980
|
!e.ranges || e.ranges.length === 0 ? (x(), c("path", {
|
|
6928
6981
|
key: 1,
|
|
6929
6982
|
class: "uid-gauge__progress",
|
|
@@ -6931,43 +6984,43 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
6931
6984
|
"stroke-width": e.strokeWidth,
|
|
6932
6985
|
"stroke-dasharray": d.value,
|
|
6933
6986
|
"stroke-dashoffset": h.value
|
|
6934
|
-
}, null, 8,
|
|
6935
|
-
e.showNeedle ? (x(), c("g",
|
|
6987
|
+
}, null, 8, Jl)) : s("", !0),
|
|
6988
|
+
e.showNeedle ? (x(), c("g", Yl, [l("line", {
|
|
6936
6989
|
class: "uid-gauge__needle",
|
|
6937
6990
|
x1: i.value,
|
|
6938
6991
|
y1: o.value,
|
|
6939
6992
|
x2: i.value + r.value - e.strokeWidth,
|
|
6940
6993
|
y2: o.value,
|
|
6941
6994
|
transform: `rotate(${y.value} ${i.value} ${o.value})`
|
|
6942
|
-
}, null, 8,
|
|
6995
|
+
}, null, 8, Xl), l("circle", {
|
|
6943
6996
|
class: "uid-gauge__needle-pivot",
|
|
6944
6997
|
cx: i.value,
|
|
6945
6998
|
cy: o.value,
|
|
6946
6999
|
r: "4"
|
|
6947
|
-
}, null, 8,
|
|
6948
|
-
], 8,
|
|
6949
|
-
e.showValue || e.label ? (x(), c("div",
|
|
6950
|
-
e.showLimits ? (x(), c("div",
|
|
6951
|
-
], 14,
|
|
7000
|
+
}, null, 8, Zl)])) : s("", !0)
|
|
7001
|
+
], 8, Gl)),
|
|
7002
|
+
e.showValue || e.label ? (x(), c("div", Ql, [e.showValue ? (x(), c("div", $l, [l("span", null, k(b.value), 1), e.suffix ? (x(), c("span", eu, k(e.suffix), 1)) : s("", !0)])) : s("", !0), e.label ? (x(), c("div", tu, k(e.label), 1)) : s("", !0)])) : s("", !0),
|
|
7003
|
+
e.showLimits ? (x(), c("div", nu, [l("span", null, k(e.min), 1), l("span", null, k(e.max), 1)])) : s("", !0)
|
|
7004
|
+
], 14, Wl));
|
|
6952
7005
|
}
|
|
6953
|
-
}),
|
|
7006
|
+
}), au = ["aria-label"], ou = { class: "uid-heatmap__chart" }, su = {
|
|
6954
7007
|
key: 0,
|
|
6955
7008
|
class: "uid-heatmap__weekdays",
|
|
6956
7009
|
"aria-hidden": "true"
|
|
6957
|
-
},
|
|
7010
|
+
}, cu = { class: "uid-heatmap__grid-wrapper" }, lu = [
|
|
6958
7011
|
"width",
|
|
6959
7012
|
"height",
|
|
6960
7013
|
"viewBox"
|
|
6961
|
-
],
|
|
7014
|
+
], uu = [
|
|
6962
7015
|
"x",
|
|
6963
7016
|
"y",
|
|
6964
7017
|
"width",
|
|
6965
7018
|
"height",
|
|
6966
7019
|
"fill"
|
|
6967
|
-
],
|
|
7020
|
+
], du = {
|
|
6968
7021
|
key: 0,
|
|
6969
7022
|
class: "uid-heatmap__legend"
|
|
6970
|
-
},
|
|
7023
|
+
}, fu = /* @__PURE__ */ f({
|
|
6971
7024
|
__name: "UidHeatmap",
|
|
6972
7025
|
props: {
|
|
6973
7026
|
data: {},
|
|
@@ -7073,10 +7126,10 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7073
7126
|
style: v(E.value),
|
|
7074
7127
|
role: "img",
|
|
7075
7128
|
"aria-label": M.value
|
|
7076
|
-
}, [l("div",
|
|
7129
|
+
}, [l("div", ou, [e.showWeekdays ? (x(), c("div", su, [(x(!0), c(t, null, T(j(r).datePicker.weekdaysShort, (e, t) => (x(), c("span", {
|
|
7077
7130
|
key: e,
|
|
7078
7131
|
class: _(["uid-heatmap__weekday", { "uid-heatmap__weekday--visible": t === 0 || t === 2 || t === 4 }])
|
|
7079
|
-
}, k(e), 3))), 128))])) : s("", !0), l("div",
|
|
7132
|
+
}, k(e), 3))), 128))])) : s("", !0), l("div", cu, [e.showMonths ? (x(), c("div", {
|
|
7080
7133
|
key: 0,
|
|
7081
7134
|
class: "uid-heatmap__months",
|
|
7082
7135
|
style: v({ width: `${C.value}px` }),
|
|
@@ -7099,7 +7152,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7099
7152
|
width: e.cellSize,
|
|
7100
7153
|
height: e.cellSize,
|
|
7101
7154
|
fill: b(t.level)
|
|
7102
|
-
}, [l("title", null, k(O(t)), 1)], 8,
|
|
7155
|
+
}, [l("title", null, k(O(t)), 1)], 8, uu))), 128))], 8, lu))])]), e.showLegend ? (x(), c("div", du, [
|
|
7103
7156
|
i[0] ||= l("span", null, "Меньше", -1),
|
|
7104
7157
|
(x(!0), c(t, null, T(D.value, (e) => (x(), c("span", {
|
|
7105
7158
|
key: e,
|
|
@@ -7107,15 +7160,15 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7107
7160
|
style: v(e === 0 ? void 0 : { background: b(e) })
|
|
7108
7161
|
}, null, 4))), 128)),
|
|
7109
7162
|
i[1] ||= l("span", null, "Больше", -1)
|
|
7110
|
-
])) : s("", !0)], 12,
|
|
7163
|
+
])) : s("", !0)], 12, au));
|
|
7111
7164
|
}
|
|
7112
|
-
}),
|
|
7165
|
+
}), pu = ["aria-label"], mu = ["aria-current"], hu = { class: "uid-stepper__indicator" }, gu = {
|
|
7113
7166
|
key: 1,
|
|
7114
7167
|
"aria-hidden": "true"
|
|
7115
|
-
},
|
|
7168
|
+
}, _u = { class: "uid-stepper__content" }, vu = { class: "uid-stepper__label" }, yu = {
|
|
7116
7169
|
key: 0,
|
|
7117
7170
|
class: "uid-stepper__description"
|
|
7118
|
-
},
|
|
7171
|
+
}, bu = /* @__PURE__ */ f({
|
|
7119
7172
|
__name: "UidStepper",
|
|
7120
7173
|
props: {
|
|
7121
7174
|
steps: {},
|
|
@@ -7133,14 +7186,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7133
7186
|
key: i,
|
|
7134
7187
|
class: _(["uid-stepper__step", [`uid-stepper__step--${r(i, n.current)}`]]),
|
|
7135
7188
|
"aria-current": i === n.current ? "step" : void 0
|
|
7136
|
-
}, [l("div",
|
|
7189
|
+
}, [l("div", hu, [r(i, n.current) === "completed" ? (x(), o(e, {
|
|
7137
7190
|
key: 0,
|
|
7138
7191
|
icon: j(q),
|
|
7139
7192
|
size: 16,
|
|
7140
7193
|
"aria-hidden": "true"
|
|
7141
|
-
}, null, 8, ["icon"])) : (x(), c("span",
|
|
7194
|
+
}, null, 8, ["icon"])) : (x(), c("span", gu, k(i + 1), 1))]), l("div", _u, [l("span", vu, k(t.label), 1), t.description ? (x(), c("span", yu, k(t.description), 1)) : s("", !0)])], 10, mu))), 128))], 10, pu));
|
|
7142
7195
|
}
|
|
7143
|
-
}),
|
|
7196
|
+
}), xu = /* @__PURE__ */ f({
|
|
7144
7197
|
__name: "UidStack",
|
|
7145
7198
|
props: {
|
|
7146
7199
|
direction: { default: "column" },
|
|
@@ -7186,7 +7239,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7186
7239
|
_: 3
|
|
7187
7240
|
}, 8, ["class", "style"]));
|
|
7188
7241
|
}
|
|
7189
|
-
}),
|
|
7242
|
+
}), Su = /* @__PURE__ */ f({
|
|
7190
7243
|
__name: "UidGrid",
|
|
7191
7244
|
props: {
|
|
7192
7245
|
cols: { default: 12 },
|
|
@@ -7219,7 +7272,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7219
7272
|
_: 3
|
|
7220
7273
|
}, 8, ["style"]));
|
|
7221
7274
|
}
|
|
7222
|
-
}),
|
|
7275
|
+
}), Cu = /* @__PURE__ */ f({
|
|
7223
7276
|
__name: "UidContainer",
|
|
7224
7277
|
props: {
|
|
7225
7278
|
size: { default: "lg" },
|
|
@@ -7235,7 +7288,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7235
7288
|
_: 3
|
|
7236
7289
|
}, 8, ["class"]));
|
|
7237
7290
|
}
|
|
7238
|
-
}),
|
|
7291
|
+
}), wu = Symbol("uid-wizard"), Tu = { class: "uid-wizard" }, Eu = /* @__PURE__ */ f({
|
|
7239
7292
|
__name: "UidWizard",
|
|
7240
7293
|
props: /* @__PURE__ */ m({ steps: {} }, {
|
|
7241
7294
|
modelValue: { default: 0 },
|
|
@@ -7260,7 +7313,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7260
7313
|
function m(e) {
|
|
7261
7314
|
i.delete(e);
|
|
7262
7315
|
}
|
|
7263
|
-
return S(
|
|
7316
|
+
return S(wu, {
|
|
7264
7317
|
current: r,
|
|
7265
7318
|
steps: o,
|
|
7266
7319
|
isFirst: s,
|
|
@@ -7277,9 +7330,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7277
7330
|
goTo: f,
|
|
7278
7331
|
isFirst: s,
|
|
7279
7332
|
isLast: l
|
|
7280
|
-
}), (e, t) => (x(), c("div",
|
|
7333
|
+
}), (e, t) => (x(), c("div", Tu, [E(e.$slots, "default")]));
|
|
7281
7334
|
}
|
|
7282
|
-
}),
|
|
7335
|
+
}), Du = ["aria-label"], Ou = /* @__PURE__ */ f({
|
|
7283
7336
|
__name: "UidWizardStep",
|
|
7284
7337
|
props: {
|
|
7285
7338
|
index: {},
|
|
@@ -7289,7 +7342,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7289
7342
|
}
|
|
7290
7343
|
},
|
|
7291
7344
|
setup(e) {
|
|
7292
|
-
let t = e, n = p(
|
|
7345
|
+
let t = e, n = p(wu);
|
|
7293
7346
|
if (!n) throw Error("UidWizardStep must be inside UidWizard");
|
|
7294
7347
|
R(() => t.validate, (e, r) => {
|
|
7295
7348
|
r !== void 0 && n.unregisterValidator(t.index), e !== void 0 && n.registerValidator(t.index, e);
|
|
@@ -7300,22 +7353,22 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7300
7353
|
class: "uid-wizard-step",
|
|
7301
7354
|
role: "tabpanel",
|
|
7302
7355
|
"aria-label": `Шаг ${e.index + 1}`
|
|
7303
|
-
}, [E(t.$slots, "default")], 8,
|
|
7356
|
+
}, [E(t.$slots, "default")], 8, Du)) : s("", !0);
|
|
7304
7357
|
}
|
|
7305
|
-
}),
|
|
7358
|
+
}), ku = { class: "uid-pattern-header__inner" }, Au = {
|
|
7306
7359
|
key: 0,
|
|
7307
7360
|
class: "uid-pattern-header__logo"
|
|
7308
|
-
},
|
|
7361
|
+
}, ju = {
|
|
7309
7362
|
key: 1,
|
|
7310
7363
|
class: "uid-pattern-header__nav",
|
|
7311
7364
|
"aria-label": "Основная навигация"
|
|
7312
|
-
},
|
|
7365
|
+
}, Mu = {
|
|
7313
7366
|
key: 2,
|
|
7314
7367
|
class: "uid-pattern-header__actions"
|
|
7315
|
-
},
|
|
7368
|
+
}, Nu = {
|
|
7316
7369
|
key: 3,
|
|
7317
7370
|
class: "uid-pattern-header__mobile"
|
|
7318
|
-
},
|
|
7371
|
+
}, Pu = /* @__PURE__ */ f({
|
|
7319
7372
|
__name: "UidHeader",
|
|
7320
7373
|
props: {
|
|
7321
7374
|
sticky: {
|
|
@@ -7336,38 +7389,38 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7336
7389
|
"uid-pattern-header--sticky": e.sticky,
|
|
7337
7390
|
"uid-pattern-header--bordered": e.bordered,
|
|
7338
7391
|
"uid-pattern-header--transparent": e.transparent
|
|
7339
|
-
}]) }, [l("div",
|
|
7340
|
-
t.$slots.logo ? (x(), c("div",
|
|
7341
|
-
t.$slots.nav ? (x(), c("nav",
|
|
7342
|
-
t.$slots.actions ? (x(), c("div",
|
|
7343
|
-
t.$slots.mobile ? (x(), c("div",
|
|
7392
|
+
}]) }, [l("div", ku, [
|
|
7393
|
+
t.$slots.logo ? (x(), c("div", Au, [E(t.$slots, "logo")])) : s("", !0),
|
|
7394
|
+
t.$slots.nav ? (x(), c("nav", ju, [E(t.$slots, "nav")])) : s("", !0),
|
|
7395
|
+
t.$slots.actions ? (x(), c("div", Mu, [E(t.$slots, "actions")])) : s("", !0),
|
|
7396
|
+
t.$slots.mobile ? (x(), c("div", Nu, [E(t.$slots, "mobile")])) : s("", !0)
|
|
7344
7397
|
])], 2));
|
|
7345
7398
|
}
|
|
7346
|
-
}),
|
|
7399
|
+
}), Fu = { class: "uid-pattern-footer__inner" }, Iu = {
|
|
7347
7400
|
key: 0,
|
|
7348
7401
|
class: "uid-pattern-footer__columns"
|
|
7349
|
-
},
|
|
7402
|
+
}, Lu = {
|
|
7350
7403
|
key: 1,
|
|
7351
7404
|
class: "uid-pattern-footer__content"
|
|
7352
|
-
},
|
|
7405
|
+
}, Ru = {
|
|
7353
7406
|
key: 2,
|
|
7354
7407
|
class: "uid-pattern-footer__bottom"
|
|
7355
|
-
},
|
|
7408
|
+
}, zu = /* @__PURE__ */ f({
|
|
7356
7409
|
__name: "UidFooter",
|
|
7357
7410
|
props: { variant: { default: "minimal" } },
|
|
7358
7411
|
setup(e) {
|
|
7359
|
-
return (t, n) => (x(), c("footer", { class: _(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div",
|
|
7412
|
+
return (t, n) => (x(), c("footer", { class: _(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", Fu, [t.$slots.columns ? (x(), c("div", Iu, [E(t.$slots, "columns")])) : t.$slots.default ? (x(), c("div", Lu, [E(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (x(), c("div", Ru, [E(t.$slots, "bottom")])) : s("", !0)])], 2));
|
|
7360
7413
|
}
|
|
7361
|
-
}),
|
|
7414
|
+
}), Bu = {
|
|
7362
7415
|
key: 0,
|
|
7363
7416
|
class: "uid-pattern-sidebar__header"
|
|
7364
|
-
},
|
|
7417
|
+
}, Vu = {
|
|
7365
7418
|
class: "uid-pattern-sidebar__nav",
|
|
7366
7419
|
"aria-label": "Навигация"
|
|
7367
|
-
},
|
|
7420
|
+
}, Hu = {
|
|
7368
7421
|
key: 1,
|
|
7369
7422
|
class: "uid-pattern-sidebar__footer"
|
|
7370
|
-
},
|
|
7423
|
+
}, Uu = /* @__PURE__ */ f({
|
|
7371
7424
|
__name: "UidSidebar",
|
|
7372
7425
|
props: {
|
|
7373
7426
|
collapsed: {
|
|
@@ -7383,19 +7436,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7383
7436
|
style: v(e.width && !e.collapsed ? { "--uid-sidebar-width": e.width } : void 0),
|
|
7384
7437
|
"aria-label": "Боковая навигация"
|
|
7385
7438
|
}, [
|
|
7386
|
-
t.$slots.header ? (x(), c("div",
|
|
7387
|
-
l("nav",
|
|
7388
|
-
t.$slots.footer ? (x(), c("div",
|
|
7439
|
+
t.$slots.header ? (x(), c("div", Bu, [E(t.$slots, "header")])) : s("", !0),
|
|
7440
|
+
l("nav", Vu, [E(t.$slots, "nav")]),
|
|
7441
|
+
t.$slots.footer ? (x(), c("div", Hu, [E(t.$slots, "footer")])) : s("", !0)
|
|
7389
7442
|
], 6));
|
|
7390
7443
|
}
|
|
7391
|
-
}),
|
|
7444
|
+
}), Wu = {
|
|
7392
7445
|
key: 0,
|
|
7393
7446
|
class: "uid-sidebar-item__icon",
|
|
7394
7447
|
"aria-hidden": "true"
|
|
7395
|
-
},
|
|
7448
|
+
}, Gu = { class: "uid-sidebar-item__label" }, Ku = {
|
|
7396
7449
|
key: 1,
|
|
7397
7450
|
class: "uid-sidebar-item__badge"
|
|
7398
|
-
},
|
|
7451
|
+
}, qu = /* @__PURE__ */ f({
|
|
7399
7452
|
__name: "UidSidebarItem",
|
|
7400
7453
|
props: {
|
|
7401
7454
|
href: { default: void 0 },
|
|
@@ -7430,9 +7483,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7430
7483
|
tabindex: e.disabled ? -1 : void 0
|
|
7431
7484
|
}), {
|
|
7432
7485
|
default: z(() => [
|
|
7433
|
-
t.$slots.icon ? (x(), c("span",
|
|
7434
|
-
l("span",
|
|
7435
|
-
e.badge === void 0 ? s("", !0) : (x(), c("span",
|
|
7486
|
+
t.$slots.icon ? (x(), c("span", Wu, [E(t.$slots, "icon")])) : s("", !0),
|
|
7487
|
+
l("span", Gu, [E(t.$slots, "default")]),
|
|
7488
|
+
e.badge === void 0 ? s("", !0) : (x(), c("span", Ku, k(e.badge), 1))
|
|
7436
7489
|
]),
|
|
7437
7490
|
_: 3
|
|
7438
7491
|
}, 16, [
|
|
@@ -7442,10 +7495,10 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7442
7495
|
"tabindex"
|
|
7443
7496
|
]));
|
|
7444
7497
|
}
|
|
7445
|
-
}),
|
|
7498
|
+
}), Ju = { class: "uid-sidebar-group" }, Yu = {
|
|
7446
7499
|
key: 0,
|
|
7447
7500
|
class: "uid-sidebar-group__title"
|
|
7448
|
-
},
|
|
7501
|
+
}, Xu = /* @__PURE__ */ f({
|
|
7449
7502
|
__name: "UidSidebarGroup",
|
|
7450
7503
|
props: {
|
|
7451
7504
|
title: { default: void 0 },
|
|
@@ -7455,29 +7508,29 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
|
|
|
7455
7508
|
}
|
|
7456
7509
|
},
|
|
7457
7510
|
setup(e) {
|
|
7458
|
-
return (t, n) => (x(), c("div",
|
|
7511
|
+
return (t, n) => (x(), c("div", Ju, [e.title ? (x(), c("p", Yu, k(e.title), 1)) : s("", !0), E(t.$slots, "default")]));
|
|
7459
7512
|
}
|
|
7460
|
-
}),
|
|
7513
|
+
}), Zu = {}, Qu = {
|
|
7461
7514
|
class: "uid-sidebar-divider",
|
|
7462
7515
|
role: "separator",
|
|
7463
7516
|
"aria-hidden": "true"
|
|
7464
7517
|
};
|
|
7465
|
-
function
|
|
7466
|
-
return x(), c("div",
|
|
7518
|
+
function $u(e, t) {
|
|
7519
|
+
return x(), c("div", Qu);
|
|
7467
7520
|
}
|
|
7468
|
-
var
|
|
7521
|
+
var ed = /* @__PURE__ */ Gn(Zu, [["render", $u]]), td = { class: "uid-pattern-page-header" }, nd = {
|
|
7469
7522
|
key: 0,
|
|
7470
7523
|
class: "uid-pattern-page-header__breadcrumb"
|
|
7471
|
-
},
|
|
7524
|
+
}, rd = { class: "uid-pattern-page-header__row" }, id = { class: "uid-pattern-page-header__heading" }, ad = { class: "uid-pattern-page-header__title" }, od = {
|
|
7472
7525
|
key: 0,
|
|
7473
7526
|
class: "uid-pattern-page-header__description"
|
|
7474
|
-
},
|
|
7527
|
+
}, sd = {
|
|
7475
7528
|
key: 0,
|
|
7476
7529
|
class: "uid-pattern-page-header__actions"
|
|
7477
|
-
},
|
|
7530
|
+
}, cd = {
|
|
7478
7531
|
key: 1,
|
|
7479
7532
|
class: "uid-pattern-page-header__tabs"
|
|
7480
|
-
},
|
|
7533
|
+
}, ld = /* @__PURE__ */ f({
|
|
7481
7534
|
__name: "UidPageHeader",
|
|
7482
7535
|
props: {
|
|
7483
7536
|
title: { default: void 0 },
|
|
@@ -7490,9 +7543,9 @@ var Qu = /* @__PURE__ */ Gn(Yu, [["render", Zu]]), $u = { class: "uid-pattern-pa
|
|
|
7490
7543
|
emits: ["back"],
|
|
7491
7544
|
setup(t, { emit: n }) {
|
|
7492
7545
|
let r = n;
|
|
7493
|
-
return (n, i) => (x(), c("div",
|
|
7494
|
-
n.$slots.breadcrumb ? (x(), c("div",
|
|
7495
|
-
l("div",
|
|
7546
|
+
return (n, i) => (x(), c("div", td, [
|
|
7547
|
+
n.$slots.breadcrumb ? (x(), c("div", nd, [E(n.$slots, "breadcrumb")])) : s("", !0),
|
|
7548
|
+
l("div", rd, [l("div", id, [t.back ? (x(), c("button", {
|
|
7496
7549
|
key: 0,
|
|
7497
7550
|
type: "button",
|
|
7498
7551
|
class: "uid-pattern-page-header__back",
|
|
@@ -7501,42 +7554,42 @@ var Qu = /* @__PURE__ */ Gn(Yu, [["render", Zu]]), $u = { class: "uid-pattern-pa
|
|
|
7501
7554
|
}, [d(e, {
|
|
7502
7555
|
icon: j(ee),
|
|
7503
7556
|
size: 20
|
|
7504
|
-
}, null, 8, ["icon"])])) : s("", !0), l("div", null, [l("h1",
|
|
7505
|
-
n.$slots.tabs ? (x(), c("div",
|
|
7557
|
+
}, null, 8, ["icon"])])) : s("", !0), l("div", null, [l("h1", ad, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", od, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (x(), c("div", sd, [E(n.$slots, "actions")])) : s("", !0)]),
|
|
7558
|
+
n.$slots.tabs ? (x(), c("div", cd, [E(n.$slots, "tabs")])) : s("", !0)
|
|
7506
7559
|
]));
|
|
7507
7560
|
}
|
|
7508
|
-
}),
|
|
7561
|
+
}), ud = { class: "uid-pattern-empty-state" }, dd = { class: "uid-pattern-empty-state__illustration" }, fd = { class: "uid-pattern-empty-state__content" }, pd = { class: "uid-pattern-empty-state__title" }, md = {
|
|
7509
7562
|
key: 0,
|
|
7510
7563
|
class: "uid-pattern-empty-state__description"
|
|
7511
|
-
},
|
|
7564
|
+
}, hd = {
|
|
7512
7565
|
key: 0,
|
|
7513
7566
|
class: "uid-pattern-empty-state__actions"
|
|
7514
|
-
},
|
|
7567
|
+
}, gd = /* @__PURE__ */ f({
|
|
7515
7568
|
__name: "UidEmptyState",
|
|
7516
7569
|
props: {
|
|
7517
7570
|
title: { default: "Ничего не найдено" },
|
|
7518
7571
|
description: { default: void 0 }
|
|
7519
7572
|
},
|
|
7520
7573
|
setup(t) {
|
|
7521
|
-
return (n, r) => (x(), c("div",
|
|
7522
|
-
l("div",
|
|
7574
|
+
return (n, r) => (x(), c("div", ud, [
|
|
7575
|
+
l("div", dd, [E(n.$slots, "illustration", {}, () => [d(e, {
|
|
7523
7576
|
icon: j(ce),
|
|
7524
7577
|
size: 48
|
|
7525
7578
|
}, null, 8, ["icon"])])]),
|
|
7526
|
-
l("div",
|
|
7527
|
-
n.$slots.actions ? (x(), c("div",
|
|
7579
|
+
l("div", fd, [l("h2", pd, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", md, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)]),
|
|
7580
|
+
n.$slots.actions ? (x(), c("div", hd, [E(n.$slots, "actions")])) : s("", !0)
|
|
7528
7581
|
]));
|
|
7529
7582
|
}
|
|
7530
|
-
}),
|
|
7583
|
+
}), _d = { class: "uid-pattern-error-state" }, vd = { class: "uid-pattern-error-state__illustration" }, yd = {
|
|
7531
7584
|
key: 0,
|
|
7532
7585
|
class: "uid-pattern-error-state__code"
|
|
7533
|
-
},
|
|
7586
|
+
}, bd = { class: "uid-pattern-error-state__content" }, xd = { class: "uid-pattern-error-state__title" }, Sd = {
|
|
7534
7587
|
key: 0,
|
|
7535
7588
|
class: "uid-pattern-error-state__description"
|
|
7536
|
-
},
|
|
7589
|
+
}, Cd = {
|
|
7537
7590
|
key: 1,
|
|
7538
7591
|
class: "uid-pattern-error-state__actions"
|
|
7539
|
-
},
|
|
7592
|
+
}, wd = /* @__PURE__ */ f({
|
|
7540
7593
|
__name: "UidErrorState",
|
|
7541
7594
|
props: {
|
|
7542
7595
|
code: { default: void 0 },
|
|
@@ -7561,23 +7614,23 @@ var Qu = /* @__PURE__ */ Gn(Yu, [["render", Zu]]), $u = { class: "uid-pattern-pa
|
|
|
7561
7614
|
description: "Проверьте подключение к интернету и попробуйте снова."
|
|
7562
7615
|
}
|
|
7563
7616
|
}, 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);
|
|
7564
|
-
return (n, r) => (x(), c("div",
|
|
7565
|
-
l("div",
|
|
7617
|
+
return (n, r) => (x(), c("div", _d, [
|
|
7618
|
+
l("div", vd, [E(n.$slots, "illustration", {}, () => [d(e, {
|
|
7566
7619
|
icon: o.value,
|
|
7567
7620
|
size: 48
|
|
7568
7621
|
}, null, 8, ["icon"])])]),
|
|
7569
|
-
t.code ? (x(), c("div",
|
|
7570
|
-
l("div",
|
|
7571
|
-
n.$slots.actions ? (x(), c("div",
|
|
7622
|
+
t.code ? (x(), c("div", yd, k(t.code), 1)) : s("", !0),
|
|
7623
|
+
l("div", bd, [l("h2", xd, [E(n.$slots, "title", {}, () => [u(k(f.value), 1)])]), p.value || n.$slots.description ? (x(), c("p", Sd, [E(n.$slots, "description", {}, () => [u(k(p.value), 1)])])) : s("", !0)]),
|
|
7624
|
+
n.$slots.actions ? (x(), c("div", Cd, [E(n.$slots, "actions")])) : s("", !0)
|
|
7572
7625
|
]));
|
|
7573
7626
|
}
|
|
7574
|
-
}),
|
|
7627
|
+
}), Td = {
|
|
7575
7628
|
key: 0,
|
|
7576
7629
|
class: "uid-layout-simple__header"
|
|
7577
|
-
},
|
|
7630
|
+
}, Ed = { class: "uid-layout-simple__content" }, Dd = {
|
|
7578
7631
|
key: 1,
|
|
7579
7632
|
class: "uid-layout-simple__footer"
|
|
7580
|
-
},
|
|
7633
|
+
}, Od = /* @__PURE__ */ f({
|
|
7581
7634
|
__name: "UidSimpleLayout",
|
|
7582
7635
|
props: { full: {
|
|
7583
7636
|
type: Boolean,
|
|
@@ -7585,26 +7638,26 @@ var Qu = /* @__PURE__ */ Gn(Yu, [["render", Zu]]), $u = { class: "uid-pattern-pa
|
|
|
7585
7638
|
} },
|
|
7586
7639
|
setup(e) {
|
|
7587
7640
|
return (t, n) => (x(), c("div", { class: _(["uid-layout-simple", { "uid-layout-simple--full": e.full }]) }, [
|
|
7588
|
-
t.$slots.header ? (x(), c("div",
|
|
7589
|
-
l("main",
|
|
7590
|
-
t.$slots.footer ? (x(), c("div",
|
|
7641
|
+
t.$slots.header ? (x(), c("div", Td, [E(t.$slots, "header")])) : s("", !0),
|
|
7642
|
+
l("main", Ed, [E(t.$slots, "default")]),
|
|
7643
|
+
t.$slots.footer ? (x(), c("div", Dd, [E(t.$slots, "footer")])) : s("", !0)
|
|
7591
7644
|
], 2));
|
|
7592
7645
|
}
|
|
7593
|
-
}),
|
|
7594
|
-
function
|
|
7595
|
-
let e = p(
|
|
7646
|
+
}), kd = Symbol("uid-sidebar-layout");
|
|
7647
|
+
function Ad() {
|
|
7648
|
+
let e = p(kd);
|
|
7596
7649
|
if (!e) throw Error("useSidebar() must be used inside UidSidebarLayout");
|
|
7597
7650
|
return e;
|
|
7598
7651
|
}
|
|
7599
7652
|
//#endregion
|
|
7600
7653
|
//#region src/layouts/Sidebar/UidSidebarLayout.vue?vue&type=script&setup=true&lang.ts
|
|
7601
|
-
var
|
|
7654
|
+
var jd = { class: "uid-layout-sidebar__sidebar" }, Md = { class: "uid-layout-sidebar__main" }, Nd = {
|
|
7602
7655
|
key: 0,
|
|
7603
7656
|
class: "uid-layout-sidebar__main-header"
|
|
7604
|
-
},
|
|
7657
|
+
}, Pd = { class: "uid-layout-sidebar__main-content" }, Fd = {
|
|
7605
7658
|
key: 1,
|
|
7606
7659
|
class: "uid-layout-sidebar__main-footer"
|
|
7607
|
-
},
|
|
7660
|
+
}, Id = /* @__PURE__ */ f({
|
|
7608
7661
|
__name: "UidSidebarLayout",
|
|
7609
7662
|
props: /* @__PURE__ */ m({ sidebarWidth: { default: void 0 } }, {
|
|
7610
7663
|
modelValue: {
|
|
@@ -7622,7 +7675,7 @@ var kd = { class: "uid-layout-sidebar__sidebar" }, Ad = { class: "uid-layout-sid
|
|
|
7622
7675
|
}, o = () => {
|
|
7623
7676
|
n.value = !0;
|
|
7624
7677
|
};
|
|
7625
|
-
S(
|
|
7678
|
+
S(kd, {
|
|
7626
7679
|
collapsed: n,
|
|
7627
7680
|
toggle: r,
|
|
7628
7681
|
open: i,
|
|
@@ -7633,58 +7686,58 @@ var kd = { class: "uid-layout-sidebar__sidebar" }, Ad = { class: "uid-layout-sid
|
|
|
7633
7686
|
class: _(["uid-layout-sidebar", { "uid-layout-sidebar--collapsed": n.value }]),
|
|
7634
7687
|
style: v(u.value)
|
|
7635
7688
|
}, [
|
|
7636
|
-
l("aside",
|
|
7689
|
+
l("aside", jd, [E(e.$slots, "sidebar")]),
|
|
7637
7690
|
l("div", {
|
|
7638
7691
|
class: "uid-layout-sidebar__backdrop",
|
|
7639
7692
|
"aria-hidden": "true",
|
|
7640
7693
|
onClick: o
|
|
7641
7694
|
}),
|
|
7642
|
-
l("div",
|
|
7643
|
-
e.$slots.header ? (x(), c("div",
|
|
7644
|
-
l("main",
|
|
7645
|
-
e.$slots.footer ? (x(), c("div",
|
|
7695
|
+
l("div", Md, [
|
|
7696
|
+
e.$slots.header ? (x(), c("div", Nd, [E(e.$slots, "header")])) : s("", !0),
|
|
7697
|
+
l("main", Pd, [E(e.$slots, "default")]),
|
|
7698
|
+
e.$slots.footer ? (x(), c("div", Fd, [E(e.$slots, "footer")])) : s("", !0)
|
|
7646
7699
|
])
|
|
7647
7700
|
], 6));
|
|
7648
7701
|
}
|
|
7649
|
-
}),
|
|
7702
|
+
}), Ld = {
|
|
7650
7703
|
key: 0,
|
|
7651
7704
|
class: "uid-layout-auth__brand"
|
|
7652
|
-
},
|
|
7705
|
+
}, Rd = { class: "uid-layout-auth__main" }, zd = { class: "uid-layout-auth__card" }, Bd = {
|
|
7653
7706
|
key: 0,
|
|
7654
7707
|
class: "uid-layout-auth__footer"
|
|
7655
|
-
},
|
|
7708
|
+
}, Vd = /* @__PURE__ */ f({
|
|
7656
7709
|
__name: "UidAuthLayout",
|
|
7657
7710
|
props: { variant: { default: "centered" } },
|
|
7658
7711
|
setup(e) {
|
|
7659
|
-
return (t, n) => (x(), c("div", { class: _(["uid-layout-auth", [`uid-layout-auth--${e.variant}`]]) }, [e.variant === "split" && t.$slots.brand ? (x(), c("div",
|
|
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", Ld, [E(t.$slots, "brand")])) : s("", !0), l("div", Rd, [l("div", zd, [E(t.$slots, "default")]), t.$slots.footer ? (x(), c("div", Bd, [E(t.$slots, "footer")])) : s("", !0)])], 2));
|
|
7660
7713
|
}
|
|
7661
|
-
}),
|
|
7714
|
+
}), Hd = { class: "uid-layout-wizard" }, Ud = {
|
|
7662
7715
|
key: 0,
|
|
7663
7716
|
class: "uid-layout-wizard__header"
|
|
7664
|
-
},
|
|
7717
|
+
}, Wd = {
|
|
7665
7718
|
key: 1,
|
|
7666
7719
|
class: "uid-layout-wizard__stepper"
|
|
7667
|
-
},
|
|
7720
|
+
}, Gd = { class: "uid-layout-wizard__content" }, Kd = {
|
|
7668
7721
|
key: 2,
|
|
7669
7722
|
class: "uid-layout-wizard__nav"
|
|
7670
|
-
},
|
|
7723
|
+
}, qd = /* @__PURE__ */ f({
|
|
7671
7724
|
__name: "UidWizardLayout",
|
|
7672
7725
|
setup(e) {
|
|
7673
|
-
return (e, t) => (x(), c("div",
|
|
7674
|
-
e.$slots.header ? (x(), c("div",
|
|
7675
|
-
e.$slots.stepper ? (x(), c("div",
|
|
7676
|
-
l("main",
|
|
7677
|
-
e.$slots.nav ? (x(), c("div",
|
|
7726
|
+
return (e, t) => (x(), c("div", Hd, [
|
|
7727
|
+
e.$slots.header ? (x(), c("div", Ud, [E(e.$slots, "header")])) : s("", !0),
|
|
7728
|
+
e.$slots.stepper ? (x(), c("div", Wd, [E(e.$slots, "stepper")])) : s("", !0),
|
|
7729
|
+
l("main", Gd, [E(e.$slots, "default")]),
|
|
7730
|
+
e.$slots.nav ? (x(), c("div", Kd, [E(e.$slots, "nav")])) : s("", !0)
|
|
7678
7731
|
]));
|
|
7679
7732
|
}
|
|
7680
|
-
}),
|
|
7733
|
+
}), Jd = /* @__PURE__ */ f({
|
|
7681
7734
|
__name: "UidLocaleProvider",
|
|
7682
7735
|
props: { locale: {} },
|
|
7683
7736
|
setup(e) {
|
|
7684
7737
|
let t = e;
|
|
7685
7738
|
return Ht(a(() => t.locale)), (e, t) => E(e.$slots, "default");
|
|
7686
7739
|
}
|
|
7687
|
-
}),
|
|
7740
|
+
}), Yd = {
|
|
7688
7741
|
common: {
|
|
7689
7742
|
clear: "Clear",
|
|
7690
7743
|
close: "Close",
|
|
@@ -7783,19 +7836,19 @@ var kd = { class: "uid-layout-sidebar__sidebar" }, Ad = { class: "uid-layout-sid
|
|
|
7783
7836
|
page: (e) => `Page ${e}`,
|
|
7784
7837
|
pageSize: (e) => `${e} per page`
|
|
7785
7838
|
}
|
|
7786
|
-
},
|
|
7787
|
-
function
|
|
7839
|
+
}, Xd = w("light");
|
|
7840
|
+
function Zd() {
|
|
7788
7841
|
let e = null;
|
|
7789
7842
|
function t(e) {
|
|
7790
|
-
|
|
7843
|
+
Xd.value = e, document.documentElement.dataset.theme = e;
|
|
7791
7844
|
}
|
|
7792
7845
|
function n() {
|
|
7793
|
-
t(
|
|
7846
|
+
t(Xd.value === "light" ? "dark" : "light");
|
|
7794
7847
|
}
|
|
7795
7848
|
function r() {
|
|
7796
7849
|
let e = document.documentElement.dataset.theme;
|
|
7797
7850
|
if (e === "light" || e === "dark") {
|
|
7798
|
-
|
|
7851
|
+
Xd.value = e;
|
|
7799
7852
|
return;
|
|
7800
7853
|
}
|
|
7801
7854
|
let n = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
@@ -7807,7 +7860,7 @@ function Yd() {
|
|
|
7807
7860
|
e.addEventListener("change", n), b(() => e?.removeEventListener("change", n));
|
|
7808
7861
|
}
|
|
7809
7862
|
return {
|
|
7810
|
-
theme:
|
|
7863
|
+
theme: Xd,
|
|
7811
7864
|
setTheme: t,
|
|
7812
7865
|
toggle: n,
|
|
7813
7866
|
initFromSystem: r,
|
|
@@ -7816,27 +7869,27 @@ function Yd() {
|
|
|
7816
7869
|
}
|
|
7817
7870
|
//#endregion
|
|
7818
7871
|
//#region src/composables/useWizard.ts
|
|
7819
|
-
function
|
|
7820
|
-
let e = p(
|
|
7872
|
+
function Qd() {
|
|
7873
|
+
let e = p(wu);
|
|
7821
7874
|
if (!e) throw Error("useWizard() must be used inside UidWizard");
|
|
7822
7875
|
return e;
|
|
7823
7876
|
}
|
|
7824
7877
|
//#endregion
|
|
7825
7878
|
//#region src/composables/useCommandPalette.ts
|
|
7826
|
-
var
|
|
7827
|
-
function
|
|
7879
|
+
var $d = w(!1);
|
|
7880
|
+
function ef() {
|
|
7828
7881
|
return {
|
|
7829
|
-
open:
|
|
7882
|
+
open: $d,
|
|
7830
7883
|
show: () => {
|
|
7831
|
-
|
|
7884
|
+
$d.value = !0;
|
|
7832
7885
|
},
|
|
7833
7886
|
hide: () => {
|
|
7834
|
-
|
|
7887
|
+
$d.value = !1;
|
|
7835
7888
|
},
|
|
7836
7889
|
toggle: () => {
|
|
7837
|
-
|
|
7890
|
+
$d.value = !$d.value;
|
|
7838
7891
|
}
|
|
7839
7892
|
};
|
|
7840
7893
|
}
|
|
7841
7894
|
//#endregion
|
|
7842
|
-
export { Xr as UidAccordion, ni as UidAccordionItem,
|
|
7895
|
+
export { Xr as UidAccordion, ni as UidAccordionItem, Ls as UidAffix, Jt as UidAlert, Ks as UidAnchor, Vd as UidAuthLayout, Br as UidAvatar, Ur as UidAvatarGroup, Fs as UidBackTop, Rt as UidBadge, ar as UidBreadcrumb, lr as UidBreadcrumbItem, Se as UidButton, Dl as UidCalendar, Lr as UidCard, kc as UidCarousel, pl as UidCascader, ut as UidCheckbox, ns as UidCode, Qi as UidColorPicker, fo as UidCombobox, ca as UidCommand, Cu as UidContainer, Fi as UidDatePicker, Ga as UidDateRangePicker, Ds as UidDescriptionItem, Cs as UidDescriptionList, qr as UidDivider, kn as UidDrawer, gd as UidEmptyState, wd as UidErrorState, Jo as UidFileUpload, zu as UidFooter, Nt as UidFormField, iu as UidGauge, Su as UidGrid, Pu as UidHeader, fu as UidHeatmap, e as UidIcon, Er as UidInfiniteScroll, et as UidInput, Ot as UidLabel, ur as UidLink, Cr as UidLoadMore, Jd as UidLocaleProvider, sc as UidMention, Hn as UidMenu, Wn as UidMenuItem, Yn as UidMenuSeparator, Sn as UidModal, Cc as UidNotificationBadge, ga as UidNumberInput, ld as UidPageHeader, jr as UidPageSize, gr as UidPagination, br as UidPaginationCursor, Rn as UidPopover, dn as UidProgress, Ul as UidProgressRing, mt as UidRadio, bt as UidRadioGroup, cs as UidRating, Ns as UidResult, Ti as UidSelect, Uu as UidSidebar, ed as UidSidebarDivider, Xu as UidSidebarGroup, qu as UidSidebarItem, Id as UidSidebarLayout, Od as UidSimpleLayout, Lt as UidSkeleton, Vi as UidSlider, Ll as UidSparkline, Ft as UidSpinner, ds as UidSplitter, xu as UidStack, bs as UidStat, bu as UidStepper, Tt as UidSwitch, tr as UidTab, rr as UidTabPanel, mi as UidTable, $n as UidTabs, Gr as UidTag, Za as UidTagsInput, at as UidTextarea, Ta as UidTimePicker, wo as UidTimeline, Mo as UidTimelineItem, en as UidToast, an as UidToastProvider, Fn as UidTooltip, ec as UidTour, tl as UidTransfer, So as UidTreeItem, bc as UidTreeSelect, Co as UidTreeView, Ii as UidVirtualList, Bs as UidWatermark, Eu as UidWizard, qd as UidWizardLayout, Ou as UidWizardStep, Ae as email, Yd 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, ef as useCommandPalette, Ke as useField, pn as useFocusTrap, $ as useLocale, Mn as usePopover, hn as useScrollLock, Ad as useSidebar, Zd as useTheme, rn as useToast, Qd as useWizard };
|