doph-js 0.2.24 → 0.2.25
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/dophJs.js +65 -56
- package/dist/dophJs.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dophJs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useSlots as _e, computed as p, h as Ee, openBlock as d, createBlock as _, unref as I, ref as T, createElementBlock as m, Fragment as te, normalizeClass as E, renderSlot as S, createCommentVNode as k, normalizeStyle as O, resolveDynamicComponent as P, createStaticVNode as Ae, onMounted as ue, toDisplayString as
|
|
1
|
+
import { useSlots as _e, computed as p, h as Ee, openBlock as d, createBlock as _, unref as I, ref as T, createElementBlock as m, Fragment as te, normalizeClass as E, renderSlot as S, createCommentVNode as k, normalizeStyle as O, resolveDynamicComponent as P, createStaticVNode as Ae, onMounted as ue, toDisplayString as M, withDirectives as oe, createElementVNode as x, vModelText as ve, withCtx as D, createTextVNode as U, Transition as Se, withModifiers as q, resolveComponent as st, resolveDirective as Te, createVNode as ne, renderList as fe, pushScopeId as at, popScopeId as it, reactive as we, Teleport as Ve, nextTick as ze, getCurrentInstance as Re, watch as We, onUnmounted as lt, mergeProps as re, useCssVars as be, shallowRef as rt, defineComponent as dt, normalizeProps as ct, guardReactiveProps as ut, TransitionGroup as Fe, vModelCheckbox as ft, vModelSelect as pt, toRef as mt, KeepAlive as ht, toRefs as gt } from "vue";
|
|
2
2
|
const ce = {
|
|
3
3
|
__name: "DIcon",
|
|
4
4
|
props: {
|
|
@@ -159,11 +159,11 @@ const Tt = {
|
|
|
159
159
|
}, It = {
|
|
160
160
|
key: 0,
|
|
161
161
|
class: "label"
|
|
162
|
-
}, Lt = { style: { display: "flex", "align-items": "flex-end", "justify-content": "flex-start" } }, Et = { style: { flex: "1" } }, Bt = ["placeholder"],
|
|
162
|
+
}, Lt = { style: { display: "flex", "align-items": "flex-end", "justify-content": "flex-start" } }, Et = { style: { flex: "1" } }, Bt = ["placeholder"], Nt = {
|
|
163
163
|
key: 2,
|
|
164
164
|
class: "d-input",
|
|
165
165
|
style: { display: "flex", "flex-direction": "column" }
|
|
166
|
-
},
|
|
166
|
+
}, Mt = {
|
|
167
167
|
key: 0,
|
|
168
168
|
class: "label"
|
|
169
169
|
}, Ot = { style: { display: "flex", "align-items": "flex-end", "justify-content": "flex-start" } }, Ht = { style: { flex: "1" } }, At = ["placeholder"], Vt = {
|
|
@@ -195,7 +195,7 @@ const Tt = {
|
|
|
195
195
|
return o({
|
|
196
196
|
focus: r
|
|
197
197
|
}), (i, c) => !n.post && !n.pre ? (d(), m("div", Tt, [
|
|
198
|
-
n.label ? (d(), m("div", wt,
|
|
198
|
+
n.label ? (d(), m("div", wt, M(n.label), 1)) : k("", !0),
|
|
199
199
|
oe(x("input", {
|
|
200
200
|
ref_key: "inputRef",
|
|
201
201
|
ref: s,
|
|
@@ -208,7 +208,7 @@ const Tt = {
|
|
|
208
208
|
[ve, l.value]
|
|
209
209
|
])
|
|
210
210
|
])) : n.post && n.post.click && !n.pre ? (d(), m("div", Ct, [
|
|
211
|
-
n.label ? (d(), m("div", It,
|
|
211
|
+
n.label ? (d(), m("div", It, M(n.label), 1)) : k("", !0),
|
|
212
212
|
x("div", Lt, [
|
|
213
213
|
x("div", Et, [
|
|
214
214
|
oe(x("input", {
|
|
@@ -231,7 +231,7 @@ const Tt = {
|
|
|
231
231
|
icon: n.post.icon
|
|
232
232
|
}, {
|
|
233
233
|
default: D(() => [
|
|
234
|
-
U(
|
|
234
|
+
U(M(n.post.label), 1)
|
|
235
235
|
]),
|
|
236
236
|
_: 1
|
|
237
237
|
}, 8, ["scale", "onClick", "icon", "class"])) : (d(), _(ee, {
|
|
@@ -242,8 +242,8 @@ const Tt = {
|
|
|
242
242
|
icon: n.post.icon
|
|
243
243
|
}, null, 8, ["scale", "onClick", "icon", "class"]))
|
|
244
244
|
])
|
|
245
|
-
])) : !n.post && n.pre && n.pre.click ? (d(), m("div",
|
|
246
|
-
n.label ? (d(), m("div",
|
|
245
|
+
])) : !n.post && n.pre && n.pre.click ? (d(), m("div", Nt, [
|
|
246
|
+
n.label ? (d(), m("div", Mt, M(n.label), 1)) : k("", !0),
|
|
247
247
|
x("div", Ot, [
|
|
248
248
|
n.pre.label ? (d(), _(ee, {
|
|
249
249
|
key: 0,
|
|
@@ -253,7 +253,7 @@ const Tt = {
|
|
|
253
253
|
icon: n.pre.icon
|
|
254
254
|
}, {
|
|
255
255
|
default: D(() => [
|
|
256
|
-
U(
|
|
256
|
+
U(M(n.pre.label), 1)
|
|
257
257
|
]),
|
|
258
258
|
_: 1
|
|
259
259
|
}, 8, ["scale", "onClick", "icon", "class"])) : (d(), _(ee, {
|
|
@@ -370,13 +370,13 @@ const Tt = {
|
|
|
370
370
|
marginBottom: c.marginBottom
|
|
371
371
|
}
|
|
372
372
|
], l = (i, c) => {
|
|
373
|
-
const u = i, h = t(u), b = n(u, h), C = a(b, h),
|
|
374
|
-
s(u, h, c, C,
|
|
373
|
+
const u = i, h = t(u), b = n(u, h), C = a(b, h), N = { duration: o.duration, easing: o.easingEnter };
|
|
374
|
+
s(u, h, c, C, N);
|
|
375
375
|
}, r = (i, c) => {
|
|
376
376
|
const u = i, h = t(u), { height: b } = getComputedStyle(u);
|
|
377
377
|
u.style.height = b, u.style.overflow = "hidden";
|
|
378
|
-
const C = a(b, h).reverse(),
|
|
379
|
-
s(u, h, c, C,
|
|
378
|
+
const C = a(b, h).reverse(), N = { duration: o.duration, easing: o.easingLeave };
|
|
379
|
+
s(u, h, c, C, N);
|
|
380
380
|
};
|
|
381
381
|
return (i, c) => (d(), _(Se, {
|
|
382
382
|
css: !1,
|
|
@@ -486,7 +486,7 @@ const jt = (e) => (at("data-v-d8c92d5e"), e = e(), it(), e), Xt = {
|
|
|
486
486
|
o("nodedrop", L);
|
|
487
487
|
}, b = (L) => {
|
|
488
488
|
o("nodecontext", L);
|
|
489
|
-
}, C = p(() => (g.actions.isItemSelected(t.treeId, t.model.id) ? "selected" : "") + (s.value ? "node-over " : "") + (a.value ? "node-top " : "") + (l.value ? "node-bottom " : "")),
|
|
489
|
+
}, C = p(() => (g.actions.isItemSelected(t.treeId, t.model.id) ? "selected" : "") + (s.value ? "node-over " : "") + (a.value ? "node-top " : "") + (l.value ? "node-bottom " : "")), N = p(() => t.search ? !1 : t.model.draggable === !0), $ = (L) => {
|
|
490
490
|
o("nodedrop", { e: L, model: t.model });
|
|
491
491
|
let y = ye.data;
|
|
492
492
|
if (y === void 0 || y.model === void 0)
|
|
@@ -518,13 +518,13 @@ const jt = (e) => (at("data-v-d8c92d5e"), e = e(), it(), e), Xt = {
|
|
|
518
518
|
return (L, y) => {
|
|
519
519
|
const B = st("d-tree-item", !0), W = Te("touch");
|
|
520
520
|
return I(g).actions.beforeItem(t.treeId, e.model) ? A.value && !J.value ? (d(), m("li", Yt, Gt)) : A.value && J.value ? (d(), m("li", Ut, [
|
|
521
|
-
x("div", Zt,
|
|
521
|
+
x("div", Zt, M(I(g).actions.renderTitle(t.treeId, J.value)), 1)
|
|
522
522
|
])) : (d(), _(Pt, {
|
|
523
523
|
key: 3,
|
|
524
524
|
tag: "li",
|
|
525
525
|
class: "tree-item",
|
|
526
526
|
"transfer-data": { id: t.treeId, model: t.model },
|
|
527
|
-
draggable:
|
|
527
|
+
draggable: N.value,
|
|
528
528
|
onDrop: q($, ["stop"]),
|
|
529
529
|
onDragenter: y[1] || (y[1] = q(() => {
|
|
530
530
|
}, ["prevent"])),
|
|
@@ -564,7 +564,7 @@ const jt = (e) => (at("data-v-d8c92d5e"), e = e(), it(), e), Xt = {
|
|
|
564
564
|
}, null, 8, ["component", "color", "size", "className"])) : k("", !0),
|
|
565
565
|
x("div", Kt, [
|
|
566
566
|
A.value ? (d(), m("div", Jt)) : k("", !0),
|
|
567
|
-
A.value ? k("", !0) : (d(), m("div", Qt,
|
|
567
|
+
A.value ? k("", !0) : (d(), m("div", Qt, M(I(g).actions.renderTitle(t.treeId, t.model.title)), 1))
|
|
568
568
|
])
|
|
569
569
|
]),
|
|
570
570
|
x("div", eo, [
|
|
@@ -573,7 +573,7 @@ const jt = (e) => (at("data-v-d8c92d5e"), e = e(), it(), e), Xt = {
|
|
|
573
573
|
class: E([(v = t.model.badge) == null ? void 0 : v.class, "badge-sm"])
|
|
574
574
|
}, {
|
|
575
575
|
default: D(() => [
|
|
576
|
-
U(
|
|
576
|
+
U(M(t.model.badge.value), 1)
|
|
577
577
|
]),
|
|
578
578
|
_: 1
|
|
579
579
|
}, 8, ["class"])) : k("", !0),
|
|
@@ -825,7 +825,7 @@ const j = so(), g = {
|
|
|
825
825
|
t("select", b), b.model.children || r();
|
|
826
826
|
};
|
|
827
827
|
return (b, C) => {
|
|
828
|
-
const
|
|
828
|
+
const N = Te("click-outside");
|
|
829
829
|
return d(), _(Ve, { to: "body" }, [
|
|
830
830
|
I(a) ? oe((d(), _(Xe, {
|
|
831
831
|
key: 0,
|
|
@@ -839,7 +839,7 @@ const j = so(), g = {
|
|
|
839
839
|
"render-title": n.renderItemTitle,
|
|
840
840
|
"before-item": n.beforeItem
|
|
841
841
|
}, null, 8, ["items", "no-select", "class", "style", "render-title", "before-item"])), [
|
|
842
|
-
[
|
|
842
|
+
[N, () => r()]
|
|
843
843
|
]) : k("", !0)
|
|
844
844
|
]);
|
|
845
845
|
};
|
|
@@ -931,7 +931,7 @@ const j = so(), g = {
|
|
|
931
931
|
t("over", v);
|
|
932
932
|
}, b = (v = null) => {
|
|
933
933
|
t("drop", v);
|
|
934
|
-
}, C = () => s.value.elementSize(),
|
|
934
|
+
}, C = () => s.value.elementSize(), N = () => {
|
|
935
935
|
for (let v = 0; v < n.items.length; v++)
|
|
936
936
|
n.items[v].expanded = !0;
|
|
937
937
|
}, $ = () => {
|
|
@@ -949,7 +949,7 @@ const j = so(), g = {
|
|
|
949
949
|
};
|
|
950
950
|
return o({
|
|
951
951
|
elementSize: C,
|
|
952
|
-
expandAll:
|
|
952
|
+
expandAll: N,
|
|
953
953
|
collapseAll: $,
|
|
954
954
|
getId: R,
|
|
955
955
|
getNode: X,
|
|
@@ -1007,7 +1007,7 @@ const lo = {
|
|
|
1007
1007
|
"render-title": o.renderTitle
|
|
1008
1008
|
}, null, 8, ["items", "no-select", "render-title"]));
|
|
1009
1009
|
}
|
|
1010
|
-
},
|
|
1010
|
+
}, Nn = /* @__PURE__ */ K(lo, [["__scopeId", "data-v-642edace"]]), ro = {
|
|
1011
1011
|
__name: "DLayoutHeader",
|
|
1012
1012
|
props: {
|
|
1013
1013
|
fixed: {
|
|
@@ -1253,7 +1253,7 @@ function mo(e) {
|
|
|
1253
1253
|
i();
|
|
1254
1254
|
}), t;
|
|
1255
1255
|
}
|
|
1256
|
-
const ho = 1001, go = 999, vo = 998,
|
|
1256
|
+
const ho = 1001, go = 999, vo = 998, Mn = {
|
|
1257
1257
|
__name: "DLayoutAdmin",
|
|
1258
1258
|
props: {
|
|
1259
1259
|
mode: {
|
|
@@ -1361,7 +1361,7 @@ const ho = 1001, go = 999, vo = 998, Nn = {
|
|
|
1361
1361
|
function b() {
|
|
1362
1362
|
o("sidebar-mask-click");
|
|
1363
1363
|
}
|
|
1364
|
-
const C = p(() => t.isMobile && !h.value),
|
|
1364
|
+
const C = p(() => t.isMobile && !h.value), N = p(() => {
|
|
1365
1365
|
const { transitionDuration: y, transitionTimingFunction: B } = t;
|
|
1366
1366
|
return `background-color:${t.maskBg};transition-duration:${y}ms;transition-timing-function:${B};`;
|
|
1367
1367
|
}), $ = p(() => {
|
|
@@ -1417,7 +1417,7 @@ const ho = 1001, go = 999, vo = 998, Nn = {
|
|
|
1417
1417
|
C.value ? (d(), m("div", {
|
|
1418
1418
|
key: 3,
|
|
1419
1419
|
class: "d-layout-sidebar-mask",
|
|
1420
|
-
style: O(
|
|
1420
|
+
style: O(N.value),
|
|
1421
1421
|
onClick: b
|
|
1422
1422
|
}, null, 4)) : k("", !0),
|
|
1423
1423
|
ne(po, re(i.value, {
|
|
@@ -1656,10 +1656,10 @@ const Lo = { style: { display: "flex", "flex-direction": "row", "justify-content
|
|
|
1656
1656
|
}), (s, a) => (d(), m("div", null, [
|
|
1657
1657
|
ne(Ye, { show: !0 }, {
|
|
1658
1658
|
"modal-title": D(() => [
|
|
1659
|
-
U(
|
|
1659
|
+
U(M(t.title), 1)
|
|
1660
1660
|
]),
|
|
1661
1661
|
default: D(() => [
|
|
1662
|
-
U(
|
|
1662
|
+
U(M(t.message), 1)
|
|
1663
1663
|
]),
|
|
1664
1664
|
"modal-footer": D(() => [
|
|
1665
1665
|
x("div", Lo, [
|
|
@@ -1677,7 +1677,7 @@ const Lo = { style: { display: "flex", "flex-direction": "row", "justify-content
|
|
|
1677
1677
|
})
|
|
1678
1678
|
]));
|
|
1679
1679
|
}
|
|
1680
|
-
}, Bo = { style: { display: "flex", "flex-direction": "row", "justify-content": "center", gap: "5px" } },
|
|
1680
|
+
}, Bo = { style: { display: "flex", "flex-direction": "row", "justify-content": "center", gap: "5px" } }, No = {
|
|
1681
1681
|
__name: "DConfirmDialog",
|
|
1682
1682
|
props: {
|
|
1683
1683
|
title: String,
|
|
@@ -1690,10 +1690,10 @@ const Lo = { style: { display: "flex", "flex-direction": "row", "justify-content
|
|
|
1690
1690
|
}), (s, a) => (d(), m("div", null, [
|
|
1691
1691
|
ne(Ye, { show: !0 }, {
|
|
1692
1692
|
"modal-title": D(() => [
|
|
1693
|
-
U(
|
|
1693
|
+
U(M(t.title), 1)
|
|
1694
1694
|
]),
|
|
1695
1695
|
default: D(() => [
|
|
1696
|
-
U(
|
|
1696
|
+
U(M(t.message), 1)
|
|
1697
1697
|
]),
|
|
1698
1698
|
"modal-footer": D(() => [
|
|
1699
1699
|
x("div", Bo, [
|
|
@@ -1720,7 +1720,7 @@ const Lo = { style: { display: "flex", "flex-direction": "row", "justify-content
|
|
|
1720
1720
|
})
|
|
1721
1721
|
]));
|
|
1722
1722
|
}
|
|
1723
|
-
},
|
|
1723
|
+
}, Mo = { class: "dropdown" }, Vn = {
|
|
1724
1724
|
__name: "DDropdown",
|
|
1725
1725
|
props: {
|
|
1726
1726
|
class: String,
|
|
@@ -1742,8 +1742,8 @@ const Lo = { style: { display: "flex", "flex-direction": "row", "justify-content
|
|
|
1742
1742
|
return;
|
|
1743
1743
|
}
|
|
1744
1744
|
a.value.show(), ze(() => {
|
|
1745
|
-
const
|
|
1746
|
-
r.value = R - ($.x + $.width) <
|
|
1745
|
+
const N = a.value.elementSize(), $ = l.value.elementSize(), R = window.innerWidth, X = window.innerHeight;
|
|
1746
|
+
r.value = R - ($.x + $.width) < N.width ? $.left - N.width + $.width : $.left, i.value = X - ($.y + $.height) < N.height ? $.top - N.height - 5 : $.height + $.top + 5;
|
|
1747
1747
|
});
|
|
1748
1748
|
}, u = (C) => {
|
|
1749
1749
|
t("select", C);
|
|
@@ -1752,7 +1752,7 @@ const Lo = { style: { display: "flex", "flex-direction": "row", "justify-content
|
|
|
1752
1752
|
show: c
|
|
1753
1753
|
});
|
|
1754
1754
|
const b = (C) => !!s[C];
|
|
1755
|
-
return (C,
|
|
1755
|
+
return (C, N) => (d(), m("div", Mo, [
|
|
1756
1756
|
b("default") ? (d(), _(ee, {
|
|
1757
1757
|
key: 0,
|
|
1758
1758
|
ref_key: "buttonRef",
|
|
@@ -1870,14 +1870,14 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
|
|
|
1870
1870
|
default:
|
|
1871
1871
|
return { type: "", value: e };
|
|
1872
1872
|
}
|
|
1873
|
-
},
|
|
1873
|
+
}, Ne = {
|
|
1874
1874
|
x: /* @__PURE__ */ new Set(["left", "center", "right"]),
|
|
1875
1875
|
y: /* @__PURE__ */ new Set(["top", "bottom"])
|
|
1876
1876
|
}, qo = ((e) => () => e++)(0), Go = (e) => typeof e != "string" ? [] : e.split(/\s+/gi).filter(Boolean), Uo = (e) => {
|
|
1877
1877
|
typeof e == "string" && (e = Go(e));
|
|
1878
1878
|
let o = null, t = null;
|
|
1879
1879
|
return e.forEach((n) => {
|
|
1880
|
-
|
|
1880
|
+
Ne.y.has(n) && (t = n), Ne.x.has(n) && (o = n);
|
|
1881
1881
|
}), { x: o, y: t };
|
|
1882
1882
|
}, $e = {
|
|
1883
1883
|
position: ["top", "right"],
|
|
@@ -2018,7 +2018,7 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
|
|
|
2018
2018
|
return z && (le[z] = "0px"), f && (f === "center" ? le.left = `calc(50% - ${+w / 2}${se})` : le[f] = "0px"), le;
|
|
2019
2019
|
}), b = p(() => "bottom" in h.value), C = (f) => {
|
|
2020
2020
|
o("click", f), t.closeOnClick && L(f);
|
|
2021
|
-
},
|
|
2021
|
+
}, N = () => {
|
|
2022
2022
|
var f;
|
|
2023
2023
|
t.pauseOnHover && ((f = a.value) == null || f.pause());
|
|
2024
2024
|
}, $ = () => {
|
|
@@ -2101,7 +2101,7 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
|
|
|
2101
2101
|
class: "d-notification-wrapper",
|
|
2102
2102
|
style: O(J(w)),
|
|
2103
2103
|
"data-id": w.id,
|
|
2104
|
-
onMouseenter:
|
|
2104
|
+
onMouseenter: N,
|
|
2105
2105
|
onMouseleave: $
|
|
2106
2106
|
}, [
|
|
2107
2107
|
S(f.$slots, "body", {
|
|
@@ -2124,8 +2124,8 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
|
|
|
2124
2124
|
innerHTML: w.text
|
|
2125
2125
|
}, null, 8, tn)
|
|
2126
2126
|
], 64)) : (d(), m(te, { key: 1 }, [
|
|
2127
|
-
w.title ? (d(), m("div", on,
|
|
2128
|
-
x("div", nn,
|
|
2127
|
+
w.title ? (d(), m("div", on, M(w.title), 1)) : k("", !0),
|
|
2128
|
+
x("div", nn, M(w.text), 1)
|
|
2129
2129
|
], 64))
|
|
2130
2130
|
], 10, Qo)
|
|
2131
2131
|
])
|
|
@@ -2209,12 +2209,12 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
|
|
|
2209
2209
|
]),
|
|
2210
2210
|
x("label", {
|
|
2211
2211
|
for: `i-${I(s)}`
|
|
2212
|
-
},
|
|
2212
|
+
}, M(t.label), 9, un)
|
|
2213
2213
|
]));
|
|
2214
2214
|
}
|
|
2215
2215
|
};
|
|
2216
2216
|
async function fn(e, o) {
|
|
2217
|
-
return await qe(
|
|
2217
|
+
return await qe(No, { title: e, message: o });
|
|
2218
2218
|
}
|
|
2219
2219
|
async function pn(e, o) {
|
|
2220
2220
|
return await qe(Eo, { title: e, message: o });
|
|
@@ -2251,7 +2251,7 @@ const Pn = {
|
|
|
2251
2251
|
break;
|
|
2252
2252
|
}
|
|
2253
2253
|
return (a, l) => (d(), m("div", mn, [
|
|
2254
|
-
t.label ? (d(), m("div", hn,
|
|
2254
|
+
t.label ? (d(), m("div", hn, M(t.label), 1)) : k("", !0),
|
|
2255
2255
|
oe(x("select", {
|
|
2256
2256
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
|
|
2257
2257
|
class: E(n.value),
|
|
@@ -2262,7 +2262,7 @@ const Pn = {
|
|
|
2262
2262
|
value: r.value,
|
|
2263
2263
|
selected: r.selected,
|
|
2264
2264
|
disabled: r.disabled
|
|
2265
|
-
},
|
|
2265
|
+
}, M(r.label), 9, gn))), 128))
|
|
2266
2266
|
], 6), [
|
|
2267
2267
|
[pt, s.value]
|
|
2268
2268
|
])
|
|
@@ -2284,7 +2284,7 @@ const vn = { class: "d-tabs" }, yn = ["onClick"], _n = {
|
|
|
2284
2284
|
key: i,
|
|
2285
2285
|
class: E([i === n.value ? "active" : "", "d-tab-title"]),
|
|
2286
2286
|
onClick: (c) => s(i)
|
|
2287
|
-
},
|
|
2287
|
+
}, M(r.label), 11, yn))), 128))
|
|
2288
2288
|
]),
|
|
2289
2289
|
(d(), _(ht, null, [
|
|
2290
2290
|
(d(), _(P(t.value[n.value].component)))
|
|
@@ -2359,7 +2359,7 @@ const bn = { class: "d-grid" }, xn = {
|
|
|
2359
2359
|
const kn = { class: "d-textarea" }, Sn = {
|
|
2360
2360
|
key: 0,
|
|
2361
2361
|
class: "label"
|
|
2362
|
-
}, Tn = ["placeholder"], wn = {
|
|
2362
|
+
}, Tn = ["rows", "cols", "placeholder"], wn = {
|
|
2363
2363
|
__name: "DTextarea",
|
|
2364
2364
|
props: {
|
|
2365
2365
|
label: String,
|
|
@@ -2367,6 +2367,14 @@ const kn = { class: "d-textarea" }, Sn = {
|
|
|
2367
2367
|
scale: String,
|
|
2368
2368
|
// small, large
|
|
2369
2369
|
modelValue: String,
|
|
2370
|
+
rows: {
|
|
2371
|
+
type: Number,
|
|
2372
|
+
default: 3
|
|
2373
|
+
},
|
|
2374
|
+
cols: {
|
|
2375
|
+
type: Number,
|
|
2376
|
+
default: null
|
|
2377
|
+
},
|
|
2370
2378
|
focus: Boolean
|
|
2371
2379
|
},
|
|
2372
2380
|
emits: ["update:modelValue"],
|
|
@@ -2386,12 +2394,13 @@ const kn = { class: "d-textarea" }, Sn = {
|
|
|
2386
2394
|
return o({
|
|
2387
2395
|
focus: r
|
|
2388
2396
|
}), (i, c) => (d(), m("div", kn, [
|
|
2389
|
-
n.label ? (d(), m("div", Sn,
|
|
2397
|
+
n.label ? (d(), m("div", Sn, M(n.label), 1)) : k("", !0),
|
|
2390
2398
|
oe(x("textarea", {
|
|
2391
2399
|
ref_key: "inputRef",
|
|
2392
2400
|
ref: s,
|
|
2393
2401
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => l.value = u),
|
|
2394
|
-
rows:
|
|
2402
|
+
rows: n.rows,
|
|
2403
|
+
cols: n.cols,
|
|
2395
2404
|
placeholder: n.placeholder,
|
|
2396
2405
|
class: E(a.value),
|
|
2397
2406
|
style: { width: "100%" }
|
|
@@ -2400,7 +2409,7 @@ const kn = { class: "d-textarea" }, Sn = {
|
|
|
2400
2409
|
])
|
|
2401
2410
|
]));
|
|
2402
2411
|
}
|
|
2403
|
-
}, Gn = /* @__PURE__ */ K(wn, [["__scopeId", "data-v-
|
|
2412
|
+
}, Gn = /* @__PURE__ */ K(wn, [["__scopeId", "data-v-0e805d5d"]]), Ge = (e) => {
|
|
2404
2413
|
typeof e == "string" && (e = { title: "", text: e }), typeof e == "object" && j.emit("notification-add", e);
|
|
2405
2414
|
};
|
|
2406
2415
|
Ge.close = (e) => {
|
|
@@ -2489,7 +2498,7 @@ function he(e) {
|
|
|
2489
2498
|
(o.touchDragTime == null || r > o.touchDragTime + i) && (o.touchDragTime = r, G(e, this, "drag"));
|
|
2490
2499
|
}
|
|
2491
2500
|
}
|
|
2492
|
-
function
|
|
2501
|
+
function Me() {
|
|
2493
2502
|
var e = this.$$touchObj;
|
|
2494
2503
|
Ie(e), Ce(this), e.touchStarted = e.touchMoved = !1, e.startX = e.startY = 0;
|
|
2495
2504
|
}
|
|
@@ -2576,14 +2585,14 @@ const Qn = {
|
|
|
2576
2585
|
default:
|
|
2577
2586
|
t.callbacks[s] = t.callbacks[s] || [], t.callbacks[s].push(o);
|
|
2578
2587
|
}
|
|
2579
|
-
t.hasBindTouchEvents || (e.addEventListener("touchstart", me, n), e.addEventListener("touchmove", he, n), e.addEventListener("touchcancel",
|
|
2588
|
+
t.hasBindTouchEvents || (e.addEventListener("touchstart", me, n), e.addEventListener("touchmove", he, n), e.addEventListener("touchcancel", Me), e.addEventListener("touchend", ge), t.options.disableClick || (e.addEventListener("mousedown", me), e.addEventListener("mousemove", he), e.addEventListener("mouseup", ge), e.addEventListener("mouseenter", Oe), e.addEventListener("mouseleave", He)), t.hasBindTouchEvents = !0);
|
|
2580
2589
|
},
|
|
2581
2590
|
unmounted: function(e) {
|
|
2582
|
-
e.removeEventListener("touchstart", me), e.removeEventListener("touchmove", he), e.removeEventListener("touchcancel",
|
|
2591
|
+
e.removeEventListener("touchstart", me), e.removeEventListener("touchmove", he), e.removeEventListener("touchcancel", Me), e.removeEventListener("touchend", ge), e.$$touchObj && !e.$$touchObj.options.disableClick && (e.removeEventListener("mousedown", me), e.removeEventListener("mousemove", he), e.removeEventListener("mouseup", ge), e.removeEventListener("mouseenter", Oe), e.removeEventListener("mouseleave", He)), delete e.$$touchObj;
|
|
2583
2592
|
}
|
|
2584
2593
|
};
|
|
2585
2594
|
export {
|
|
2586
|
-
|
|
2595
|
+
Nn as DAccordion,
|
|
2587
2596
|
Eo as DAlertDialog,
|
|
2588
2597
|
zt as DBadge,
|
|
2589
2598
|
ee as DButton,
|
|
@@ -2591,7 +2600,7 @@ export {
|
|
|
2591
2600
|
Fn as DCheckbox,
|
|
2592
2601
|
Rt as DCollapse,
|
|
2593
2602
|
On as DConfigProvider,
|
|
2594
|
-
|
|
2603
|
+
No as DConfirmDialog,
|
|
2595
2604
|
io as DContextMenu,
|
|
2596
2605
|
Pn as DDialogProvider,
|
|
2597
2606
|
Pt as DDrag,
|
|
@@ -2604,7 +2613,7 @@ export {
|
|
|
2604
2613
|
qn as DImage,
|
|
2605
2614
|
Wn as DInfoProgress,
|
|
2606
2615
|
Bn as DInput,
|
|
2607
|
-
|
|
2616
|
+
Mn as DLayoutAdmin,
|
|
2608
2617
|
po as DLayoutContent,
|
|
2609
2618
|
uo as DLayoutFooter,
|
|
2610
2619
|
ro as DLayoutHeader,
|
package/dist/dophJs.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(f,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(f=typeof globalThis<"u"?globalThis:f||self,e(f.DophJs={},f.Vue))})(this,function(f,e){"use strict";const qo="",Uo="",Zo="",Ko="",Jo="",P={__name:"DIcon",props:{component:[Object,String],size:[Number,String],color:String,className:String},setup(t){const n=t,o=e.useSlots(),l=e.computed(()=>{const{className:c}=n;return c===void 0?"icon":["icon",c].join(" ")}),s=e.computed(()=>{const{color:c}=n;return c===void 0?null:c}),a=e.computed(()=>{const c=n.size??null;if(c!==void 0)return typeof c=="number"||/^\d+$/.test(c)?`${c}px`:c}),i=e.computed(()=>e.h("i",{class:l.value,style:{color:s.value,fontSize:a.value}},n.component?e.h(n.component):o));return(c,r)=>(e.openBlock(),e.createBlock(e.unref(i)))}},L={state:{},getters:{getIcon(t){return L.state[t]},getIcons(){return L.state}},mutations:{addIcon(t,n){L.state.name=n},addIcons(t){for(const n in t)t.hasOwnProperty(n)&&(L.state[n]=t[n])}}};function ie(t){const n=t.value.getBoundingClientRect();let o=t.value,l=0,s=0;for(;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)l+=o.offsetLeft-o.scrollLeft,s+=o.offsetTop-o.scrollTop,o=o.offsetParent;return{top:s,left:l,x:n.x,y:n.y,width:n.width,height:n.height}}const Qo="",O=(t,n)=>{const o=t.__vccOpts||t;for(const[l,s]of n)o[l]=s;return o},Oe={key:0,class:"loading-svg rotating",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},He=[e.createStaticVNode('<g fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" data-v-e5cd6ccd><path d="M8.56 3.69a9 9 0 0 0-2.92 1.95" data-v-e5cd6ccd></path><path d="M3.69 8.56A9 9 0 0 0 3 12" data-v-e5cd6ccd></path><path d="M3.69 15.44a9 9 0 0 0 1.95 2.92" data-v-e5cd6ccd></path><path d="M8.56 20.31A9 9 0 0 0 12 21" data-v-e5cd6ccd></path><path d="M15.44 20.31a9 9 0 0 0 2.92-1.95" data-v-e5cd6ccd></path><path d="M20.31 15.44A9 9 0 0 0 21 12" data-v-e5cd6ccd></path><path d="M20.31 8.56a9 9 0 0 0-1.95-2.92" data-v-e5cd6ccd></path><path d="M15.44 3.69A9 9 0 0 0 12 3" data-v-e5cd6ccd></path></g>',1)],Ae={key:1},Fe={key:2,class:"loading-svg rotating",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Re=[e.createStaticVNode('<g fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" data-v-e5cd6ccd><path d="M8.56 3.69a9 9 0 0 0-2.92 1.95" data-v-e5cd6ccd></path><path d="M3.69 8.56A9 9 0 0 0 3 12" data-v-e5cd6ccd></path><path d="M3.69 15.44a9 9 0 0 0 1.95 2.92" data-v-e5cd6ccd></path><path d="M8.56 20.31A9 9 0 0 0 12 21" data-v-e5cd6ccd></path><path d="M15.44 20.31a9 9 0 0 0 2.92-1.95" data-v-e5cd6ccd></path><path d="M20.31 15.44A9 9 0 0 0 21 12" data-v-e5cd6ccd></path><path d="M20.31 8.56a9 9 0 0 0-1.95-2.92" data-v-e5cd6ccd></path><path d="M15.44 3.69A9 9 0 0 0 12 3" data-v-e5cd6ccd></path></g>',1)],H=O({__name:"DButton",props:{class:String,style:[String,Object],icon:String,scale:String,type:String,outline:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click","contextmenu"],setup(t,{expose:n,emit:o}){const l=t,s=e.useSlots(),a=e.ref(null),i=e.computed(()=>l.icon?L.getters.getIcon(l.icon):null),c=k=>{o("click",k)},r=k=>{o("contextmenu",k)},d=e.computed(()=>l.scale==="large"?"button-lg":l.scale==="small"?"button-sm":""),p=e.computed(()=>l.disabled?"disabled":""),u=k=>!!s[k],_=e.computed(()=>u("default")?"":l.scale==="large"?"d-button-lg-icon":l.scale==="small"?"d-button-sm-icon":"d-button-icon"),B=e.computed(()=>{const k=l.outline?"-outline":"";return l.type==="primary"?`button${k}-blue`:l.type==="success"?`button${k}-green`:l.type==="error"?`button${k}-red`:l.type==="warning"?`button${k}-orange`:l.type==="wait"?`button${k}-violet`:l.outline?`button${k}`:""});return n({elementSize:()=>ie(a)}),(k,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"el",ref:a,onClick:c,onContextmenu:r,class:e.normalizeClass(["button",[l.class,d.value,B.value,p.value].join(" ")])},[e.renderSlot(k.$slots,"default",{},void 0,!0),l.loading?(e.openBlock(),e.createElementBlock("svg",Oe,He)):e.createCommentVNode("",!0)],34)),i.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"el",ref:a,onClick:c,onContextmenu:r,class:e.normalizeClass(["button button-ext",[l.class,d.value,_.value,B.value,p.value].join(" ")]),style:e.normalizeStyle(l.style)},[l.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:0,component:i.value,color:"inherit"},null,8,["component"])):e.createCommentVNode("",!0),e.unref(s).default?(e.openBlock(),e.createElementBlock("div",Ae,[e.renderSlot(k.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),l.loading?(e.openBlock(),e.createElementBlock("svg",Fe,Re)):e.createCommentVNode("",!0)],38)):e.createCommentVNode("",!0)],64))}},[["__scopeId","data-v-e5cd6ccd"]]),on="",We={key:0,class:"d-input"},Pe={key:0,class:"label"},je=["placeholder"],Xe={key:1,class:"d-input",style:{display:"flex","flex-direction":"column"}},Ye={key:0,class:"label"},Ge={style:{display:"flex","align-items":"flex-end","justify-content":"flex-start"}},qe={style:{flex:"1"}},Ue=["placeholder"],Ze={key:2,class:"d-input",style:{display:"flex","flex-direction":"column"}},Ke={key:0,class:"label"},Je={style:{display:"flex","align-items":"flex-end","justify-content":"flex-start"}},Qe={style:{flex:"1"}},ve=["placeholder"],et=O({__name:"DInput",props:{label:String,placeholder:String,scale:String,modelValue:String,pre:Object,post:Object,focus:Boolean},emits:["update:modelValue"],setup(t,{expose:n,emit:o}){const l=t,s=e.ref(null),a=e.computed(()=>l.scale==="small"?"d-input-small":l.scale==="large"?"d-input-large":""),i=e.computed({get:()=>l.modelValue,set:r=>{o("update:modelValue",r)}});e.onMounted(()=>{l.focus&&c()});const c=()=>{s.value.focus()};return n({focus:c}),(r,d)=>!l.post&&!l.pre?(e.openBlock(),e.createElementBlock("div",We,[l.label?(e.openBlock(),e.createElementBlock("div",Pe,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:s,"onUpdate:modelValue":d[0]||(d[0]=p=>i.value=p),type:"text",class:e.normalizeClass(a.value),placeholder:l.placeholder,style:{width:"100%"}},null,10,je),[[e.vModelText,i.value]])])):l.post&&l.post.click&&!l.pre?(e.openBlock(),e.createElementBlock("div",Xe,[l.label?(e.openBlock(),e.createElementBlock("div",Ye,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Ge,[e.createElementVNode("div",qe,[e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:s,class:e.normalizeClass(["d-input-post-field",a.value]),"onUpdate:modelValue":d[1]||(d[1]=p=>i.value=p),type:"text",placeholder:l.placeholder,style:{width:"100%"}},null,10,Ue),[[e.vModelText,i.value]])]),l.post.label?(e.openBlock(),e.createBlock(H,{key:0,scale:l.scale,class:e.normalizeClass(["d-input-post-button",l.post.class]),onClick:l.post.click,icon:l.post.icon},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.post.label),1)]),_:1},8,["scale","onClick","icon","class"])):(e.openBlock(),e.createBlock(H,{key:1,scale:l.scale,class:e.normalizeClass(["d-input-post-button",l.post.class]),onClick:l.post.click,icon:l.post.icon},null,8,["scale","onClick","icon","class"]))])])):!l.post&&l.pre&&l.pre.click?(e.openBlock(),e.createElementBlock("div",Ze,[l.label?(e.openBlock(),e.createElementBlock("div",Ke,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Je,[l.pre.label?(e.openBlock(),e.createBlock(H,{key:0,scale:l.scale,class:e.normalizeClass(["d-input-pre-button",l.pre.class]),onClick:l.pre.click,icon:l.pre.icon},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.pre.label),1)]),_:1},8,["scale","onClick","icon","class"])):(e.openBlock(),e.createBlock(H,{key:1,scale:l.scale,class:e.normalizeClass(["d-input-pre-button",l.pre.class]),onClick:l.pre.click,icon:l.pre.icon},null,8,["scale","onClick","icon","class"])),e.createElementVNode("div",Qe,[e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:s,class:e.normalizeClass(["d-input-pre-field",a.value]),"onUpdate:modelValue":d[2]||(d[2]=p=>i.value=p),type:"text",placeholder:l.placeholder,style:{width:"100%"}},null,10,ve),[[e.vModelText,i.value]])])])])):e.createCommentVNode("",!0)}},[["__scopeId","data-v-0b6b3cf1"]]),ce={__name:"DBadge",props:{scale:String,type:String,class:String,stress:{type:Boolean,default:!1}},setup(t){const n=t,o=e.computed(()=>n.scale==="large"?"badge-lg":n.scale==="small"?"badge-sm":""),l=e.computed(()=>{const s=n.stress?"-stress":"";return n.type==="primary"?`badge${s}-blue`:n.type==="success"?`badge${s}-green`:n.type==="error"?`badge${s}-red`:n.type==="warning"?`badge${s}-orange`:n.type==="wait"?`badge${s}-violet`:n.stress?`badge${s}-gray`:""});return(s,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["badge",[n.class,o.value,l.value].join(" ")])},[e.renderSlot(s.$slots,"default")],2))}},F="0px",de={__name:"DCollapse",props:{duration:{type:Number,default:200},easingEnter:{type:String,default:"ease-in-out"},easingLeave:{type:String,default:"ease-in-out"},opacityClosed:{type:Number,default:0},opacityOpened:{type:Number,default:1}},setup(t){const n=t,o=r=>({height:r.style.height,width:r.style.width,position:r.style.position,visibility:r.style.visibility,overflow:r.style.overflow,paddingTop:r.style.paddingTop,paddingBottom:r.style.paddingBottom,borderTopWidth:r.style.borderTopWidth,borderBottomWidth:r.style.borderBottomWidth,marginTop:r.style.marginTop,marginBottom:r.style.marginBottom}),l=(r,d)=>{const{width:p}=getComputedStyle(r);r.style.width=p,r.style.position="absolute",r.style.visibility="hidden",r.style.height="";let{height:u}=getComputedStyle(r);return r.style.width=d.width,r.style.position=d.position,r.style.visibility=d.visibility,r.style.height=F,r.style.overflow="hidden",d.height&&d.height!==F?d.height:u},s=(r,d,p,u,_)=>{const B=r.animate(u,_);r.style.height=d.height,B.onfinish=()=>{r.style.overflow=d.overflow,p()}},a=(r,d)=>[{height:F,opacity:n.opacityClosed,paddingTop:F,paddingBottom:F,borderTopWidth:F,borderBottomWidth:F,marginTop:F,marginBottom:F},{height:r,opacity:n.opacityOpened,paddingTop:d.paddingTop,paddingBottom:d.paddingBottom,borderTopWidth:d.borderTopWidth,borderBottomWidth:d.borderBottomWidth,marginTop:d.marginTop,marginBottom:d.marginBottom}],i=(r,d)=>{const p=r,u=o(p),_=l(p,u),B=a(_,u),D={duration:n.duration,easing:n.easingEnter};s(p,u,d,B,D)},c=(r,d)=>{const p=r,u=o(p),{height:_}=getComputedStyle(p);p.style.height=_,p.style.overflow="hidden";const B=a(_,u).reverse(),D={duration:n.duration,easing:n.easingLeave};s(p,u,d,B,D)};return(r,d)=>(e.openBlock(),e.createBlock(e.Transition,{css:!1,onEnter:i,onLeave:c},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3}))}},q={data:void 0},Q=t=>t.reduce((n,o)=>(n[o]=o)&&n,{}),w=Q(["drag","dragend","dragenter","dragleave","dragstart","dragover","drop"]),tt=Q(["copy","move","link","none"]),ot=Q(["none","copy","copyLink","copyMove","link","linkMove","move","all","uninitialized"]),pe={__name:"DDrag",props:{draggable:{type:Boolean,default:!0},transferData:{},dropEffect:{validator:t=>t in tt},effectAllowed:{validator:t=>t in ot},image:String,imageXOffset:{type:Number,default:0},imageYOffset:{type:Number,default:0},hideImageHtml:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){const n=t,o=e.useSlots(),l=e.ref(!1),s=e.computed(()=>l&&n.transferData),a=e.computed(()=>({position:"fixed",top:"-1000px"})),i=(c,r)=>{const d=r.dataTransfer;if([w.dragenter,w.dragover].includes(c)&&n.dropEffect&&(d.dropEffect=n.dropEffect),c===w.dragstart){if(n.effectAllowed&&(d.effectAllowed=n.effectAllowed),n.image||o.image){let p;n.image?(p=new Image,p.src=n.image):o.image&&(p=o.image[0].elm),d.setDragImage&&d.setDragImage(p,n.imageXOffset,n.imageYOffset)}n.transferData!==void 0&&(q.data=n.transferData,r.dataTransfer.setData("text","")),l.value=!0}};return(c,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{draggable:n.draggable,onDrag:r[0]||(r[0]=d=>i(e.unref(w).drag,d)),onDragstart:r[1]||(r[1]=e.withModifiers(d=>i(e.unref(w).dragstart,d),["stop"])),onDragenter:r[2]||(r[2]=d=>i(e.unref(w).dragenter,d)),onDragleave:r[3]||(r[3]=d=>i(e.unref(w).dragleave,d)),onDragend:r[4]||(r[4]=d=>i(e.unref(w).dragend,d))},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default",{transferData:s.value}),t.hideImageHtml?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(a.value)},[e.renderSlot(c.$slots,"image",{transferData:s.value})],4)):e.renderSlot(c.$slots,"image",{key:1,transferData:s.value})]),_:3},40,["draggable"]))}},ln="",nt=t=>(e.pushScopeId("data-v-d8c92d5e"),t=t(),e.popScopeId(),t),lt={key:0,style:{display:"none"}},st={key:1},at=[nt(()=>e.createElementVNode("div",{class:"tree-divider"},null,-1))],rt={key:2},it={class:"tree-divider-header"},ct={class:"item-title"},dt={key:0,class:"tree-divider"},pt={key:1},mt={style:{display:"flex","flex-direction":"row","justify-content":"flex-end"}},ft={key:0,class:"sub-menu"},me=O({__name:"DTreeItem",props:{model:Object,treeId:[String,Number],items:Array,search:String},emits:["nodedrop","nodedragover","nodedragleave","nodeclick","nodecontext"],setup(t,{emit:n}){const o=t,l=e.ref(null),s=e.ref(!1),a=e.ref(!1),i=e.ref(!1),c=e.computed(()=>o.model.children&&o.model.children.length),r=e.computed(()=>(h.actions.isTreeExpanded(o.treeId)&&(o.model.expanded=o.model.expanded===void 0?!0:o.model.expanded),o.model.expanded)),d=S=>{n("nodeclick",{event:S,model:o.model})},p=S=>{n("nodeclick",S)},u=S=>{n("nodedrop",S)},_=S=>{n("nodecontext",S)},B=e.computed(()=>(h.actions.isItemSelected(o.treeId,o.model.id)?"selected":"")+(s.value?"node-over ":"")+(a.value?"node-top ":"")+(i.value?"node-bottom ":"")),D=e.computed(()=>o.search?!1:o.model.draggable===!0),k=S=>{n("nodedrop",{e:S,model:o.model});let y=q.data;if(y===void 0||y.model===void 0)return s.value=!1,!1;if(y.model.id===o.model.id||h.actions.isChildOfParent(o.treeId,o.items,o.model.id,y.model.id)||h.actions.isParentOfChild(o.treeId,o.items,y.model.id,o.model.id))return s.value=!1,a.value=!1,i.value=!1,!1;if(!h.state.trees[o.treeId].transfer&&y.id!==o.treeId)return!1;let x="";a.value?x="before":i.value?x="after":x="inside",h.actions.moveTreeNode(y.id,o.treeId,o.items,y.model.id,o.model.id,x),s.value=!1,a.value=!1,i.value=!1},N=S=>{n("nodedragover",{e:S,model:o.model});let y=q.data;if(y===void 0||y.model===void 0)return s.value=!0,!1;if(y.model.id===o.model.id||h.actions.isChildOfParent(o.treeId,o.items,o.model.id,y.model.id)||h.actions.isParentOfChild(o.treeId,o.items,y.model.id,o.model.id))return!1;const x=S.y,V=l.value.getBoundingClientRect().top,I=l.value.getBoundingClientRect().height,g=I/3;x>V&&x<=V+g?(s.value=!1,a.value=!0,i.value=!1):x<V+I&&x>=V+I-g?(s.value=!1,a.value=!1,i.value=!0):(s.value=!0,a.value=!1,i.value=!1)},z=()=>{s.value=!1,a.value=!1,i.value=!1},$=e.computed(()=>o.model.title.startsWith("-")),R=e.computed(()=>{if(o.model.title.startsWith("-")){let[S,...y]=o.model.title.split(" ");return y=y.join(" "),y}return null});return(S,y)=>{const x=e.resolveComponent("d-tree-item",!0),V=e.resolveDirective("touch");return e.unref(h).actions.beforeItem(o.treeId,t.model)?$.value&&!R.value?(e.openBlock(),e.createElementBlock("li",st,at)):$.value&&R.value?(e.openBlock(),e.createElementBlock("li",rt,[e.createElementVNode("div",it,e.toDisplayString(e.unref(h).actions.renderTitle(o.treeId,R.value)),1)])):(e.openBlock(),e.createBlock(pe,{key:3,tag:"li",class:"tree-item","transfer-data":{id:o.treeId,model:o.model},draggable:D.value,onDrop:e.withModifiers(k,["stop"]),onDragenter:y[1]||(y[1]=e.withModifiers(()=>{},["prevent"])),onDragover:e.withModifiers(N,["prevent","stop"]),onDragleave:e.withModifiers(z,["prevent"])},{default:e.withCtx(()=>{var I,g;return[e.withDirectives((e.openBlock(),e.createElementBlock("div",{ref_key:"node",ref:l,class:e.normalizeClass(B.value),onContextmenu:y[0]||(y[0]=e.withModifiers(C=>n("nodecontext",{e:C,model:o.model}),["prevent"]))},[e.createElementVNode("div",null,[o.model.icons&&o.model.icons.pre&&c.value&&!o.search&&!$.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:0,component:e.unref(L).getters.getIcon(o.model.icons.pre.component),size:18,color:o.model.icons.pre.color?o.model.icons.pre.color:"inherit",class:e.normalizeClass(r.value?"tree-open-pre":"")},null,8,["component","color","class"])):e.createCommentVNode("",!0),o.model.icons&&o.model.icons.pre&&!c.value&&!o.search&&!$.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:1,component:e.unref(L).getters.getIcon(o.model.icons.pre.component),size:18,color:"rgba(0,0,0,0)",class:e.normalizeClass(r.value?"tree-open-pre":"")},null,8,["component","class"])):e.createCommentVNode("",!0),o.model.icons&&o.model.icons.icon&&!$.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:2,component:e.unref(L).getters.getIcon(o.model.icons.icon.component),color:o.model.icons.icon.color?o.model.icons.icon.color:"inherit",size:o.model.icons.icon.size?o.model.icons.icon.size:null,className:o.model.icons.icon.class?o.model.icons.icon.class:null},null,8,["component","color","size","className"])):e.createCommentVNode("",!0),e.createElementVNode("div",ct,[$.value?(e.openBlock(),e.createElementBlock("div",dt)):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",pt,e.toDisplayString(e.unref(h).actions.renderTitle(o.treeId,o.model.title)),1))])]),e.createElementVNode("div",mt,[((I=o.model.badge)==null?void 0:I.value)!==void 0&&!$.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(ce),{key:0,class:e.normalizeClass([(g=o.model.badge)==null?void 0:g.class,"badge-sm"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.model.badge.value),1)]),_:1},8,["class"])):e.createCommentVNode("",!0),o.model.icons&&o.model.icons.post&&c.value&&!o.search&&!$.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:1,component:e.unref(L).getters.getIcon(o.model.icons.post.component),size:20,color:o.model.icons.post.color?o.model.icons.post.color:"inherit",class:e.normalizeClass(r.value?"tree-open-post":"")},null,8,["component","color","class"])):e.createCommentVNode("",!0)])],34)),[[V,d]]),e.createVNode(de,null,{default:e.withCtx(()=>[c.value&&r.value&&!o.search?(e.openBlock(),e.createElementBlock("ul",ft,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.model.children,C=>(e.openBlock(),e.createBlock(x,{class:"tree-item",key:C.id,model:C,treeId:o.treeId,items:o.items,search:o.search,onNodeclick:p,onNodedrop:u,onNodecontext:_},null,8,["model","treeId","items","search"]))),128))])):e.createCommentVNode("",!0)]),_:1})]}),_:1},8,["transfer-data","draggable","onDrop","onDragover","onDragleave"])):(e.openBlock(),e.createElementBlock("li",lt))}}},[["__scopeId","data-v-d8c92d5e"]]);function fe(t){return t=t||new Map,{all:t,on(n,o){const l=t.get(n);l?l.push(o):t.set(n,[o])},off(n,o){const l=t.get(n);l&&(o?l.splice(l.indexOf(o)>>>0,1):t.set(n,[]))},emit(n,o){let l=t.get(n);l&&l.slice().map(s=>{s(o)}),l=t.get("*"),l&&l.slice().map(s=>{s(n,o)})}}}const E=fe(),h={state:e.reactive({trees:{}}),getters:{getItems(t){return h.state.trees[t].items},getItemsSelect(t){return h.state.trees[t].selected},getParentId(t,n,o,l="id",s="children",a={}){return o&&t&&(t.find(i=>i[l]===o?(a.found=n,i):h.getters.getParentId(i[s],i.id,o,l,s,a)),a.found)?a.found:!1}},mutations:{setTreeItems(t,n){h.state.trees[t].items=n},setItemSelect(t,n){h.state.trees[t].noSelect||(h.state.trees[t].multiSelect?h.state.trees[t].selected.includes(n.id)?h.state.trees[t].selected=h.state.trees[t].selected.filter(function(o){return o!==n.id}):h.state.trees[t].selected=[...h.state.trees[t].selected,n.id]:h.state.trees[t].selected=[n.id])}},actions:{initTreeStore(t,n,o,l,s,a,i){h.state.trees[t]=[],h.state.trees[t].selected=[],h.state.trees[t].noSelect=n,h.state.trees[t].multiSelect=o,h.state.trees[t].expanded=l,h.state.trees[t].transfer=s,h.state.trees[t].renderTitle=a,h.state.trees[t].beforeItem=i},renderTitle(t,n){return h.state.trees[t].renderTitle?h.state.trees[t].renderTitle(n):n},beforeItem(t,n){return h.state.trees[t].beforeItem?h.state.trees[t].beforeItem(n):!0},isItemSelected(t,n){return h.state.trees[t].selected.includes(n)},toggleItem(t,n){n.expanded=n.expanded===void 0||!n.expanded,n.children&&n.children.length&&(n.expanded?E.emit(`expand-${t}`,{id:t,model:n}):E.emit(`collapse-${t}`,{id:t,model:n}))},isTreeExpanded(t){return h.state.trees[t].expanded},isChildOfParent(t,n,o,l){const s=h.actions.deepSearch(n,o);if(s&&s.children){for(let a=0;a<s.children.length;a++)if(s.children[a].id===l)return!0}return!1},isParentOfChild(t,n,o,l){const s=h.actions.deepSearch(n,o);return!!(s&&s.children&&h.actions.deepSearch(s.children,l))},deepSearch(t,n,o="id",l="children",s={}){return n&&t&&(t.find(a=>a[o]===n?(s.found=a,a):h.actions.deepSearch(a[l],n,o,l,s)),s.found)?s.found:!1},deepSearchByTitle(t,n,o="title",l="children",s=[]){if(n&&t&&(t.find(a=>{const i=new RegExp(n,"gi");a[o].toString().toLowerCase().match(i)!==null&&s.push(a),h.actions.deepSearchByTitle(a[l],n,o,l,s)}),s)){for(let a=0;a<s.length;a++);return s}return s},moveTreeNode(t,n,o,l,s,a){const i=h.actions.deleteTreeNode(o,l);h.actions.insertTreeNode(o,s,i,a),E.emit(`move-${n}`,{fromTreeId:t,toTreeId:n,moved:i.id,target:s,position:a})},insertTreeNode(t,n,o,l){if(t)for(let s=0;s<t.length;s++){if(t[s].id===n){let i=s;return l==="after"?(i++,t.splice(i,0,o)):l==="before"?t.splice(i,0,o):l==="inside"&&(Object.hasOwn(t[s],"children")||(t[s].children=[],t[s].opened=!0),t[s].children.splice(0,0,o)),t[s]}const a=this.insertTreeNode(t[s].children,n,o,l);if(a)return a}},deleteTreeNode(t,n){if(t)for(let o=0;o<t.length;o++){if(t[o].id===n){const s=t[o];return t.splice(o,1),s}const l=h.actions.deleteTreeNode(t[o].children,n);if(l)return l}}}},ue={__name:"DDrop",props:{tag:{type:String,default:"div"}},emits:Object.keys(w),setup(t,{expose:n,emit:o}){let l=e.reactive({});const s=e.ref("false"),a=e.ref(null),i=new Set,c=e.computed(()=>s.value&&l),r=(p,u)=>{l=q.data,o(p,u,l),p===w.dragenter&&(i.size||u.target===a.value)&&i.add(u.target),p===w.dragleave&&i.delete(u.target),p===w.drop&&i.clear(),s.value=!!i.size};return n({elementSize:()=>ie(a)}),(p,u)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{ref_key:"el",ref:a,onDragenter:u[0]||(u[0]=_=>r(e.unref(w).dragenter,_)),onDragleave:u[1]||(u[1]=_=>r(e.unref(w).dragleave,_)),onDragover:u[2]||(u[2]=e.withModifiers(_=>r(e.unref(w).dragover,_),["prevent"])),onDrop:u[3]||(u[3]=e.withModifiers(_=>r(e.unref(w).drop,_),["prevent"]))},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default",{transferData:c.value})]),_:3},544))}},v={__name:"DMenu",props:{class:String,items:Array,style:[String,Object],noSelect:{type:Boolean,default:!0},renderItemTitle:Function,beforeItem:Function},emits:["select"],setup(t,{expose:n,emit:o}){const l=t;let s=e.ref(null),a=e.ref(!1);const i=()=>{E.emit("menu-show-request"),a.value=!0},c=()=>{var _;(_=s.value)==null||_.collapseAll(),a.value=!1},r=()=>a.value;E.on("menu-show-request",()=>{c()}),n({show:i,hide:c,elementSize:()=>s.value.elementSize(),isShowed:r,itemsCount:()=>s.value.itemsCount()});const u=_=>{o("select",_),_.model.children||c()};return(_,B)=>{const D=e.resolveDirective("click-outside");return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.unref(a)?e.withDirectives((e.openBlock(),e.createBlock(ee,{key:0,ref_key:"treeRef",ref:s,items:l.items,"no-select":l.noSelect,class:e.normalizeClass(l.class),style:e.normalizeStyle(l.style),onSelect:u,"render-title":l.renderItemTitle,"before-item":l.beforeItem},null,8,["items","no-select","class","style","render-title","before-item"])),[[D,()=>c()]]):e.createCommentVNode("",!0)])}}},he={__name:"DContextMenu",props:{items:Array,renderItemTitle:Function,beforeItem:Function},emits:["select"],setup(t,{expose:n,emit:o}){const l=t,s=e.ref(null),a=e.ref(0),i=e.ref(0),c=e.computed(()=>({left:a.value+"px",top:i.value+"px"})),r=p=>{s.value.show(),e.nextTick(()=>{const u=s.value.elementSize(),_=window.innerWidth,B=window.innerHeight;a.value=_-p.pageX<u.width?p.pageX-u.width:p.pageX,i.value=B-p.pageY<u.height?p.pageY-u.height:p.pageY,s.value.itemsCount()===0&&s.value.hide()})},d=p=>{o("select",p)};return n({show:r}),(p,u)=>(e.openBlock(),e.createBlock(v,{ref_key:"dMenuRef",ref:s,onSelect:d,items:l.items,style:e.normalizeStyle(c.value),class:"context-menu","no-select":!0,"render-item-title":l.renderItemTitle,"before-item":l.beforeItem},null,8,["items","style","render-item-title","before-item"]))}},ee={__name:"DTree",props:{items:Array,noSelect:Boolean,multiSelect:Boolean,expanded:Boolean,transfer:Boolean,renderTitle:Function,beforeItem:Function,search:String,context:Array,contextClick:{type:Function,default:()=>{}},contextBeforeClick:{type:Function,default:()=>!0}},emits:["select","collapse","expand","move","over","drop"],setup(t,{expose:n,emit:o}){const l=t,s=e.ref(null),a=e.ref(!1),i=e.ref(null),c=e.getCurrentInstance().uid;h.actions.initTreeStore(c,l.noSelect,l.multiSelect,l.expanded,l.transfer,l.renderTitle,l.beforeItem);const r=(g,C)=>{console.log(g,C)};E.on(`expand-${c}`,g=>{o("expand",g)}),E.on(`collapse-${c}`,g=>{o("collapse",g)}),E.on(`move-${c}`,g=>{o("move",g)});const d=e.computed(()=>l.search?h.actions.deepSearchByTitle(l.items,l.search):l.items),p=(g=null)=>{h.mutations.setItemSelect(c,g.model),h.actions.toggleItem(c,g.model),o("select",g)},u=(g=null)=>{o("over",g)},_=(g=null)=>{o("drop",g)},B=()=>s.value.elementSize(),D=()=>{for(let g=0;g<l.items.length;g++)l.items[g].expanded=!0},k=()=>{for(let g=0;g<l.items.length;g++)l.items[g].expanded=!1},N=()=>c,z=g=>h.actions.deepSearch(l.items,g),$=g=>{z(g)&&h.mutations.setItemSelect(c,z(g))},R=g=>{l.contextClick({e:g.e,model:g.model,target:i.value})},S=g=>l.contextBeforeClick({model:g,target:i.value}),y=e.computed(()=>l.context),x=g=>(y.value&&(i.value=g.model,a.value.show(g.e)),!1),V=()=>I(d.value),I=g=>{let C=0;for(let m=0;m<g.length;m++)C+=h.actions.beforeItem(c,g[m])?1:0,g[m].children&&g[m].children.length>0&&(C+=I(g[m].children));return C};return n({elementSize:B,expandAll:D,collapseAll:k,getId:N,getNode:z,selectNode:$,itemsCount:V}),(g,C)=>(e.openBlock(),e.createBlock(ue,{ref_key:"treeRef",ref:s,class:"tree",tag:"ul",onDrop:e.withModifiers(r,["stop"])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,m=>(e.openBlock(),e.createBlock(me,{key:m.id,model:m,treeId:e.unref(c),items:l.items,search:l.search,onNodeclick:p,onNodedragover:u,onNodedrop:_,onNodecontext:x},null,8,["model","treeId","items","search"]))),128)),y.value?(e.openBlock(),e.createBlock(he,{key:0,ref_key:"contextTreeRef",ref:a,items:y.value,onSelect:R,"before-item":S},null,8,["items"])):e.createCommentVNode("",!0)]),_:1},8,["onDrop"]))}},rn="",ut=O({__name:"DAccordion",props:{items:Array,renderTitle:Function,noSelect:{type:Boolean,default:!0}},setup(t){const n=t;return(o,l)=>(e.openBlock(),e.createBlock(ee,{class:"accordion",items:n.items,"no-select":n.noSelect,"render-title":n.renderTitle},null,8,["items","no-select","render-title"]))}},[["__scopeId","data-v-642edace"]]),ge={__name:"DLayoutHeader",props:{fixed:{type:Boolean,default:!0},zIndex:{type:Number,default:1001},minWidth:{type:Number,default:1280},height:{type:Number,default:56},paddingLeft:{type:Number,default:0},transitionDuration:{type:Number,default:300},transitionTimingFunction:{type:String,default:"ease-in-out"},useMinWidthLayout:Boolean},setup(t){const n=t,o=e.computed(()=>{const{fixed:l,zIndex:s,minWidth:a,height:i,paddingLeft:c,transitionDuration:r,transitionTimingFunction:d}=n,p=l?"fixed":"static",u=n.useMinWidthLayout?`min-width:${a}px;`:"";return`position:${p};z-index:${s};${u}height:${i}px;padding-left:${c}px;transition-duration:${r}ms;transition-timing-function:${d};`});return(l,s)=>(e.openBlock(),e.createElementBlock("header",{class:"d-layout-header",style:e.normalizeStyle(o.value)},[e.renderSlot(l.$slots,"default")],4))}},ye={__name:"DLayoutTab",props:{fixed:{type:Boolean,default:!0},top:{type:Number,default:56},zIndex:{type:Number,default:999},minWidth:{type:Number,default:1280},height:{type:Number,default:56},paddingLeft:{type:Number,default:0},transitionDuration:{type:Number,default:300},transitionTimingFunction:{type:String,default:"ease-in-out"},useMinWidthLayout:Boolean},setup(t){const n=t,o=e.computed(()=>{const{fixed:l,top:s,zIndex:a,minWidth:i,height:c,paddingLeft:r,transitionDuration:d,transitionTimingFunction:p}=n,u=l?"fixed":"static",_=n.useMinWidthLayout?`min-width: ${i}px;`:"";return`position:${u};top:${s}px;z-index:${a};${_}height:${c}px;padding-left:${r}px;transition-duration:${d}ms;transition-timing-function:${p};`});return(l,s)=>(e.openBlock(),e.createElementBlock("div",{class:"d-layout-tab",style:e.normalizeStyle(o.value)},[e.renderSlot(l.$slots,"default")],4))}},_e={__name:"DLayoutFooter",props:{fixed:{type:Boolean,default:!0},zIndex:{type:Number,default:999},minWidth:{type:Number,default:1280},height:{type:Number,default:56},paddingLeft:{type:Number,default:0},transitionDuration:{type:Number,default:300},transitionTimingFunction:{type:String,default:"ease-in-out"},useMinWidthLayout:Boolean},setup(t){const n=t,o=e.computed(()=>{const{fixed:l,zIndex:s,minWidth:a,height:i,paddingLeft:c,transitionDuration:r,transitionTimingFunction:d}=n,p=l?"fixed":"static",u=n.useMinWidthLayout?`min-width:${a}px;`:"";return`position:${p};z-index:${s};${u}height:${i}px;padding-left:${c}px;transition-duration:${r}ms;transition-timing-function:${d};`});return(l,s)=>(e.openBlock(),e.createElementBlock("footer",{class:"d-layout-footer",style:e.normalizeStyle(o.value)},[e.renderSlot(l.$slots,"default")],4))}},ke={__name:"DLayoutSidebar",props:{zIndex:{type:Number,default:1002},width:{type:Number,default:200},paddingTop:{type:Number,default:0},transitionDuration:{type:Number,default:300},transitionTimingFunction:{type:String,default:"ease-in-out"},collapse:{type:Boolean,default:!1}},setup(t){const n=t,o=e.computed(()=>{const{zIndex:l,width:s,paddingTop:a,transitionDuration:i,transitionTimingFunction:c}=n;return`z-index:${l};width:${s}px;padding-top:${a}px;transition-duration:${i}ms;transition-timing-function:${c};`});return(l,s)=>(e.openBlock(),e.createElementBlock("aside",{class:"d-layout-sidebar",style:e.normalizeStyle(o.value)},[e.renderSlot(l.$slots,"default")],4))}},be={__name:"DLayoutContent",props:{paddingTop:{type:Number,default:0},paddingBottom:{type:Number,default:0},paddingLeft:{type:Number,default:0},overflowHidden:Boolean,transitionDuration:{type:Number,default:300},transitionTimingFunction:{type:String,default:"ease-in-out"}},setup(t){const n=t,o=e.computed(()=>{const{paddingTop:l,paddingBottom:s,paddingLeft:a,transitionDuration:i,transitionTimingFunction:c}=n,r=`overflow:${n.overflowHidden?"hidden":"visible"};`;return`padding-top:${l}px;padding-bottom:${s}px;padding-left:${a}px;${r}transition-duration:${i}ms;transition-timing-function:${c};`});return(l,s)=>(e.openBlock(),e.createElementBlock("main",{style:e.normalizeStyle(o.value),class:"d-layout-content"},[e.renderSlot(l.$slots,"default")],4))}};function ht(t){const n=e.ref(0),o=e.computed(()=>`transform: translateX(${-n.value}px);`);let l=!1;function s(p){n.value=p}function a(){var p;const u=((p=document.scrollingElement)===null||p===void 0?void 0:p.scrollLeft)||0;s(u)}function i(){a()}function c(){document.addEventListener("scroll",a)}function r(){l&&document.removeEventListener("scroll",a)}function d(){i(),c(),l=!0}return e.watch(t,p=>{p?d():r()},{immediate:!0}),e.onUnmounted(()=>{r()}),o}const gt=1001,yt=999,_t=998,kt={__name:"DLayoutAdmin",props:{mode:{type:String,default:"vertical"},isMobile:{type:Boolean,default:!1},useMinWidthLayout:{type:Boolean,default:!1},minWidth:{type:Number,default:1200},headerVisible:{type:Boolean,default:!0},headerHeight:{type:Number,default:56},tabVisible:{type:Boolean,default:!0},tabHeight:{type:Number,default:44},fixedHeaderAndTab:{type:Boolean,default:!0},addMainOverflowHidden:{type:Boolean,default:!1},footerVisible:{type:Boolean,default:!0},footerHeight:{type:Number,default:48},fixedFooter:{type:Boolean,default:!0},sidebarVisible:{type:Boolean,default:!0},sidebarWidth:{type:Number,default:200},sidebarCollapsedWidth:{type:Number,default:0},sidebarCollapse:{type:Boolean,default:!1},transitionDuration:{type:Number,default:300},transitionTimingFunction:{type:String,default:"ease-in-out"},collapse:{type:Boolean,default:!1},maskBg:{type:String,default:"rgba(0,0,0,0.3)"}},emits:["update:sidebar-collapse","sidebar-mask-click"],setup(t,{emit:n}){const o=t,l=e.computed(()=>o.useMinWidthLayout?`min-width:${o.minWidth}px;`:""),s=e.computed(()=>o.useMinWidthLayout&&(o.fixedHeaderAndTab||o.fixedFooter)),a=ht(s),i=e.computed(()=>o.fixedHeaderAndTab?a.value:""),c=e.computed(()=>o.fixedFooter?a.value:""),r=e.computed(()=>{const{transitionDuration:y,transitionTimingFunction:x}=o;return{transitionDuration:y,transitionTimingFunction:x}}),d=e.computed(()=>o.mode==="vertical"),p=e.computed(()=>o.isMobile||d.value?1003:1e3),u=e.computed({get(){return o.sidebarCollapse},set(y){n("update:sidebar-collapse",y)}});function _(){n("sidebar-mask-click")}const B=e.computed(()=>o.isMobile&&!u.value),D=e.computed(()=>{const{transitionDuration:y,transitionTimingFunction:x}=o;return`background-color:${o.maskBg};transition-duration:${y}ms;transition-timing-function:${x};`}),k=e.computed(()=>{const{sidebarWidth:y,sidebarCollapsedWidth:x}=o,V=o.isMobile?0:x,I=u.value?V:y;return o.sidebarVisible?I:0}),N=e.computed(()=>o.isMobile?0:k.value),z=e.computed(()=>d.value?N.value:0),$=e.computed(()=>!o.isMobile&&!d.value&&o.headerVisible?o.headerHeight:0),R=e.computed(()=>{let y=0;return o.fixedHeaderAndTab&&(o.headerVisible&&(y+=o.headerHeight),o.tabVisible&&(y+=o.tabHeight)),y}),S=e.computed(()=>o.fixedFooter&&o.footerVisible?o.footerHeight:0);return(y,x)=>(e.openBlock(),e.createElementBlock("div",{class:"d-layout",style:e.normalizeStyle(l.value)},[t.headerVisible?(e.openBlock(),e.createBlock(ge,e.mergeProps({key:0},r.value,{fixed:t.fixedHeaderAndTab,"z-index":gt,"min-width":t.minWidth,height:t.headerHeight,"padding-left":z.value,style:i.value}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"header")]),_:3},16,["fixed","min-width","height","padding-left","style"])):e.createCommentVNode("",!0),t.tabVisible?(e.openBlock(),e.createBlock(ye,e.mergeProps({key:1},r.value,{fixed:t.fixedHeaderAndTab,"z-index":yt,"min-width":t.minWidth,top:t.headerHeight,height:t.tabHeight,"padding-left":N.value,style:i.value}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"tab")]),_:3},16,["fixed","min-width","top","height","padding-left","style"])):e.createCommentVNode("",!0),t.sidebarVisible?(e.openBlock(),e.createBlock(ke,e.mergeProps({key:2},r.value,{"z-index":p.value,width:k.value,"padding-top":$.value}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"sidebar")]),_:3},16,["z-index","width","padding-top"])):e.createCommentVNode("",!0),B.value?(e.openBlock(),e.createElementBlock("div",{key:3,class:"d-layout-sidebar-mask",style:e.normalizeStyle(D.value),onClick:_},null,4)):e.createCommentVNode("",!0),e.createVNode(be,e.mergeProps(r.value,{"padding-top":R.value,"padding-bottom":S.value,"padding-left":N.value,"overflow-hidden":t.addMainOverflowHidden}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"default")]),_:3},16,["padding-top","padding-bottom","padding-left","overflow-hidden"]),t.footerVisible?(e.openBlock(),e.createBlock(_e,e.mergeProps({key:4},r.value,{fixed:t.fixedFooter,"z-index":_t,"min-width":t.minWidth,height:t.footerHeight,"padding-left":N.value,style:c.value}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"footer")]),_:3},16,["fixed","min-width","height","padding-left","style"])):e.createCommentVNode("",!0)],4))}},j={state:e.reactive({theme:"dark"}),getters:{theme(){return j.state.theme}},mutations:{setTheme(t){j.state.theme=t,document.documentElement.classList.remove("dark"),document.documentElement.classList.remove("light"),document.documentElement.classList.add(t)}},actions:{toggleTheme(){j.state.theme=j.state.theme==="dark"?"light":"dark",document.documentElement.classList.remove("dark"),document.documentElement.classList.remove("light"),document.documentElement.classList.add(j.state.theme)}}},bt={__name:"DConfigProvider",props:{theme:{type:String,default:"dark"}},setup(t){const n=t;return j.mutations.setTheme(n.theme),(o,l)=>e.renderSlot(o.$slots,"default")}},dn="",Bt={__name:"DScrollProvider",props:{xHide:{type:Boolean,default:!0},yHide:{type:Boolean,default:!1}},setup(t){const n=t;e.useCssVars(a=>({e35a6f9a:o.value,e35a6f98:l.value}));const o=e.computed(()=>n.xHide?"hidden":"visible"),l=e.computed(()=>n.yHide?"hidden":"visible"),s=a=>{document.body.classList.add(a),document.documentElement.classList.add(a),document.documentElement.classList.add("d-global-scroll")};return e.onMounted(()=>{s("colored-scroller")}),(a,i)=>(e.openBlock(),e.createElementBlock("div",null,[e.renderSlot(a.$slots,"default")]))}},pn="",St=O({__name:"DScroll",props:{autoHide:{type:Boolean,default:!0},xHide:{type:Boolean,default:!0},yHide:{type:Boolean,default:!1}},setup(t){const n=t;e.useCssVars(s=>({c07fa29a:o.value,c07fa298:l.value}));const o=e.computed(()=>n.xHide?"hidden":"visible"),l=e.computed(()=>n.yHide?"hidden":"visible");return(s,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(n.autoHide?"d-scroll-hide":"d-scroll")},[e.renderSlot(s.$slots,"default",{},void 0,!0)],2))}},[["__scopeId","data-v-d50b3609"]]),fn="",xt={class:"modal-dialog"},Dt={class:"modal-content"},wt={class:"modal-header"},$t={class:"modal-title"},Ct={class:"modal-body"},Tt={class:"modal-footer"},te=O({__name:"DModal",props:{show:Boolean,width:String},emits:["open","close"],setup(t,{expose:n,emit:o}){const l=t;e.useCssVars(r=>({"558e9e46":l.width}));const s=e.ref(null),a=e.ref(!1);a.value=l==null?void 0:l.show;const i=()=>{a.value=!0,o("open",s)},c=()=>{a.value=!1,o("close",s)};return n({show:i,hide:c}),(r,d)=>{const p=e.resolveDirective("keydown");return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[a.value?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"modalRef",ref:s,class:"modal"},[e.createElementVNode("div",xt,[e.createElementVNode("div",Dt,[e.createElementVNode("div",wt,[e.createElementVNode("h5",$t,[e.renderSlot(r.$slots,"modal-title",{},void 0,!0)])]),e.createElementVNode("div",Ct,[e.renderSlot(r.$slots,"default",{},void 0,!0)]),e.createElementVNode("div",Tt,[e.renderSlot(r.$slots,"modal-footer",{},void 0,!0)])])])])),[[p,c,"Escape"]]):e.createCommentVNode("",!0)]),_:3})])}}},[["__scopeId","data-v-82cadd63"]]),X=e.shallowRef();function oe(t){t===void 0&&(t=X.value.comp.returnValue()),X.value.resolve(t),X.value=null}function Be(t,n,o="default"){return new Promise(l=>{X.value={dialog:t,props:n,wrapper:o,resolve:l}})}var Et=(t,n)=>{const o=t.__vccOpts||t;for(const[l,s]of n)o[l]=s;return o};const Nt=e.defineComponent({name:"DialogWrapper",components:{},props:{name:{type:String,default:"default"},transitionAttrs:Object},setup(){const t=e.ref();return e.watch(t,()=>{X.value&&(X.value.comp=t.value)}),{dialogRef:X,dialogInstance:t}}});function Vt(t,n,o,l,s,a){return e.openBlock(),e.createBlock(e.Transition,e.normalizeProps(e.guardReactiveProps(t.transitionAttrs)),{default:e.withCtx(()=>[t.dialogRef&&t.dialogRef.wrapper===t.name?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.dialogRef.dialog),e.mergeProps({key:0},t.dialogRef.props,{ref:"dialogInstance"}),null,16)):e.createCommentVNode("",!0)]),_:1},16)}var It=Et(Nt,[["render",Vt]]);const Lt={style:{display:"flex","flex-direction":"row","justify-content":"center",gap:"5px"}},Se={__name:"DAlertDialog",props:{title:String,message:String},setup(t,{expose:n}){const o=t;return n({returnValue:()=>!0}),(s,a)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(te,{show:!0},{"modal-title":e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.title),1)]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.message),1)]),"modal-footer":e.withCtx(()=>[e.createElementVNode("div",Lt,[e.createVNode(H,{onClick:a[0]||(a[0]=i=>e.unref(oe)())},{default:e.withCtx(()=>[e.createTextVNode("Закрыть")]),_:1})])]),_:1})]))}},Mt={style:{display:"flex","flex-direction":"row","justify-content":"center",gap:"5px"}},xe={__name:"DConfirmDialog",props:{title:String,message:String},setup(t,{expose:n}){const o=t;return n({returnValue:()=>!0}),(s,a)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(te,{show:!0},{"modal-title":e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.title),1)]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.message),1)]),"modal-footer":e.withCtx(()=>[e.createElementVNode("div",Mt,[e.createVNode(H,{onClick:a[0]||(a[0]=i=>e.unref(oe)())},{default:e.withCtx(()=>[e.createTextVNode("Да")]),_:1}),e.createVNode(H,{class:"button-red",onClick:a[1]||(a[1]=i=>e.unref(oe)(!1))},{default:e.withCtx(()=>[e.createTextVNode("Нет")]),_:1})])]),_:1})]))}},zt={class:"dropdown"},Ot={__name:"DDropdown",props:{class:String,icon:{type:[String,null],default:null},items:Array,menuStyle:Object,renderItemTitle:Function,beforeItem:Function,type:String},emits:["select","click"],setup(t,{expose:n,emit:o}){const l=t,s=e.useSlots(),a=e.ref(null),i=e.ref(null),c=e.ref(0),r=e.ref(0),d=B=>{if(o("click",B),a.value.isShowed()){a.value.hide();return}a.value.show(),e.nextTick(()=>{const D=a.value.elementSize(),k=i.value.elementSize(),N=window.innerWidth,z=window.innerHeight;c.value=N-(k.x+k.width)<D.width?k.left-D.width+k.width:k.left,r.value=z-(k.y+k.height)<D.height?k.top-D.height-5:k.height+k.top+5})},p=B=>{o("select",B)},u=e.computed(()=>({left:c.value+"px",top:r.value+"px",...l.menuStyle}));n({show:d});const _=B=>!!s[B];return(B,D)=>(e.openBlock(),e.createElementBlock("div",zt,[_("default")?(e.openBlock(),e.createBlock(H,{key:0,ref_key:"buttonRef",ref:i,class:e.normalizeClass(l.class),icon:l.icon,onClick:e.withModifiers(d,["stop","prevent"]),type:l.type},{default:e.withCtx(()=>[e.renderSlot(B.$slots,"default")]),_:3},8,["class","icon","onClick","type"])):(e.openBlock(),e.createBlock(H,{key:1,ref_key:"buttonRef",ref:i,class:e.normalizeClass(l.class),icon:l.icon,onClick:e.withModifiers(d,["stop","prevent"]),type:l.type},null,8,["class","icon","onClick","type"])),e.createVNode(v,{ref_key:"dMenuRef",ref:a,items:l.items,class:"dropdown-menu",style:e.normalizeStyle(u.value),"no-select":!0,onSelect:p,"render-item-title":l.renderItemTitle,"before-item":l.beforeItem},null,8,["items","style","render-item-title","before-item"])]))}},Ht={},At={class:"d-panel"};function Ft(t,n){return e.openBlock(),e.createElementBlock("div",At,[e.renderSlot(t.$slots,"default")])}const De=O(Ht,[["render",Ft]]),Rt={class:"card-header"},Wt={class:"modal-title"},Pt={class:"card-body"},jt={class:"card-footer"},Xt={__name:"DCard",setup(t){return(n,o)=>(e.openBlock(),e.createBlock(De,{class:"d-card"},{default:e.withCtx(()=>[e.createElementVNode("div",Rt,[e.createElementVNode("h5",Wt,[e.renderSlot(n.$slots,"title")])]),e.createElementVNode("div",Pt,[e.renderSlot(n.$slots,"default")]),e.createElementVNode("div",jt,[e.renderSlot(n.$slots,"footer")])]),_:3}))}},Yt=new Map;class Gt{constructor(n,o,l){this.remaining=o,this.callback=n,this.notifyItem=l,this.resume()}pause(){clearTimeout(this.notifyItem.timer),this.remaining-=Date.now()-this.start}resume(){this.start=Date.now(),clearTimeout(this.notifyItem.timer),this.notifyItem.timer=setTimeout(this.callback,this.remaining)}}const ne="[-+]?[0-9]*.?[0-9]+",we=[{name:"px",regexp:new RegExp(`^${ne}px$`)},{name:"%",regexp:new RegExp(`^${ne}%$`)},{name:"px",regexp:new RegExp(`^${ne}$`)}],qt=t=>{if(t==="auto")return{type:t,value:0};for(let n=0;n<we.length;n++){const o=we[n];if(o.regexp.test(t))return{type:o.name,value:parseFloat(t)}}return{type:"",value:t}},Ut=t=>{switch(typeof t){case"number":return{type:"px",value:t};case"string":return qt(t);default:return{type:"",value:t}}},$e={x:new Set(["left","center","right"]),y:new Set(["top","bottom"])},Zt=(t=>()=>t++)(0),Kt=t=>typeof t!="string"?[]:t.split(/\s+/gi).filter(Boolean),Jt=t=>{typeof t=="string"&&(t=Kt(t));let n=null,o=null;return t.forEach(l=>{$e.y.has(l)&&(o=l),$e.x.has(l)&&(n=l)}),{x:n,y:o}},le={position:["top","right"],cssAnimation:"fade",velocityAnimation:{enter:t=>({height:[t.clientHeight,0],opacity:[1,0]}),leave:{height:0,opacity:[0,1]}}},Qt={__name:"VelocityGroup",emits:["enter","leave","after-leave"],setup(t,{emit:n}){const o=(a,i)=>{n("enter",a,i)},l=(a,i)=>{n("leave",a,i)},s=()=>{n("after-leave")};return(a,i)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{tag:"span",css:!1,onEnter:o,onLeave:l,onAfterLeave:s},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3}))}},vt=Object.assign({inheritAttrs:!1},{__name:"CssGroup",props:{name:String},setup(t){const n=t;return(o,l)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{tag:"span",name:n.name},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["name"]))}}),eo=["data-id"],to=["onClick"],oo=["innerHTML"],no=["innerHTML"],lo={key:0,class:"d-notification-title"},so={class:"notification-content"},ao={__name:"DNotificationProvider",props:{group:{type:String,default:""},width:{type:[String,Number],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array,null],default:le.position},classes:{type:String,default:"d-notification"},animationType:{type:String,default:"css"},animation:{type:[String,Object],default:le.velocityAnimation},animationName:{type:String,default:le.cssAnimation},speed:{type:Number,default:300},duration:{type:Number,default:3e3},delay:{type:Number,default:0},max:{type:Number,default:1/0},ignoreDuplicates:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0},pauseOnHover:{type:Boolean,default:!1},dangerouslySetInnerHtml:{type:Boolean,default:!1}},emits:["click","destroy","start"],setup(t,{emit:n}){const o=t,l={IDLE:0,DESTROYED:2},s=e.ref([]),a=e.ref(null),i=e.ref(Yt.get("velocity")),c=e.computed(()=>o.animationType==="velocity"),r=e.computed(()=>c.value?Qt:vt),d=e.computed(()=>s.value.filter(m=>m.state!==l.DESTROYED)),p=e.computed(()=>Ut(o.width)),u=e.computed(()=>{const{x:m,y:T}=Jt(o.position),b=p.value.value,W=p.value.type,G={width:b+W};return T&&(G[T]="0px"),m&&(m==="center"?G.left=`calc(50% - ${+b/2}${W})`:G[m]="0px"),G}),_=e.computed(()=>"bottom"in u.value),B=m=>{n("click",m),o.closeOnClick&&S(m)},D=()=>{var m;o.pauseOnHover&&((m=a.value)==null||m.pause())},k=()=>{var m;o.pauseOnHover&&((m=a.value)==null||m.resume())},N=m=>{if(m.group||(m.group=""),m.data||(m.data={}),o.group!==m.group)return;if(m.clean||m.clear){x();return}const T=typeof m.duration=="number"?m.duration:o.duration,b=typeof m.speed=="number"?m.speed:o.speed,W=typeof m.ignoreDuplicates=="boolean"?m.ignoreDuplicates:o.ignoreDuplicates,{title:G,text:Wo,type:Po,data:jo,id:Xo}=m,Y={id:Xo||Zt(),title:G,text:Wo,type:Po,state:l.IDLE,speed:b,length:T+2*b,data:jo};T>=0&&(a.value=new Gt(()=>S(Y),Y.length,Y));const Yo=o.reverse?!_.value:_.value;let J=-1;const Go=d.value.some(ze=>ze.title===m.title&&ze.text===m.text);(!W||!Go)&&(Yo?(s.value.push(Y),n("start",Y),d.value.length>o.max&&(J=0)):(s.value.unshift(Y),n("start",Y),d.value.length>o.max&&(J=d.value.length-1)),J!==-1&&S(d.value[J]))},z=m=>{y(m)},$=m=>["d-notification-template",o.classes,m.type||""],R=m=>c.value?void 0:{transition:`all ${m.speed}ms`},S=m=>{clearTimeout(m.timer),m.state=l.DESTROYED,C(),n("destroy",m)},y=m=>{const T=s.value.find(b=>b.id===m);T&&S(T)},x=()=>{d.value.forEach(S)},V=(m,T)=>{var W;const b=(W=o.animation)==null?void 0:W[m];return typeof b=="function"?b(T):b},I=(m,T)=>{if(!c.value)return;const b=V("enter",m);i.value(m,b,{duration:o.speed,complete:T})},g=(m,T)=>{if(!c.value)return;const b=V("leave",m);i.value(m,b,{duration:o.speed,complete:T})};function C(){s.value=s.value.filter(m=>m.state!==l.DESTROYED)}return e.onMounted(()=>{E.on("notification-add",N),E.on("notification-close",z)}),(m,T)=>(e.openBlock(),e.createElementBlock("div",{class:"d-notification-group",style:e.normalizeStyle(u.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.value),{name:t.animationName,onEnter:I,onLeave:g,onAfterLeave:C},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,b=>(e.openBlock(),e.createElementBlock("div",{key:b.id,class:"d-notification-wrapper",style:e.normalizeStyle(R(b)),"data-id":b.id,onMouseenter:D,onMouseleave:k},[e.renderSlot(m.$slots,"body",{class:e.normalizeClass([t.classes,b.type]),item:b,close:()=>S(b)},()=>[e.createElementVNode("div",{class:e.normalizeClass($(b)),onClick:W=>B(b)},[t.dangerouslySetInnerHtml?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[b.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:"d-notification-title",innerHTML:b.timer},null,8,oo)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"notification-content",innerHTML:b.text},null,8,no)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.title?(e.openBlock(),e.createElementBlock("div",lo,e.toDisplayString(b.title),1)):e.createCommentVNode("",!0),e.createElementVNode("div",so,e.toDisplayString(b.text),1)],64))],10,to)])],44,eo))),128))]),_:3},40,["name"]))],4))}},ro={class:"d-info-progress-icon-container"},io={class:"d-info-progress-icon"},co={class:"d-info-progress-data-container"},po=["innerHTML"],mo={__name:"DInfoProgress",props:{style:[String,Object],label:String,progress:Number,icon:String,type:String},emits:["click"],setup(t,{emit:n}){const o=t,l=e.computed(()=>o.icon?L.getters.getIcon(o.icon):null);return(s,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["d-info-progress",o.type?`d-info-progress-${o.type}`:null]),style:e.normalizeStyle(o.style),onClick:a[0]||(a[0]=i=>{n("click",i)})},[e.createElementVNode("div",ro,[e.createElementVNode("div",io,[o.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:0,component:l.value,color:"inherit",size:17},null,8,["component"])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",co,[e.createElementVNode("div",{class:"d-info-progress-line",style:e.normalizeStyle("width: "+o.progress+"%;")},null,4),e.createElementVNode("div",{class:"d-info-progress-label",innerHTML:t.label},null,8,po)])],6))}},fo={class:"d-checkbox"},uo=["id","checked","disabled"],ho=["for"],go={__name:"DCheckbox",props:{label:String,modelValue:Boolean,disabled:{type:Boolean,default:!1},change:Function,checked:Boolean},emits:["update:modelValue"],setup(t,{emit:n}){const o=t,s=e.getCurrentInstance().uid,a=e.computed({get:()=>o.modelValue,set:i=>{n("update:modelValue",i)}});return(i,c)=>(e.openBlock(),e.createElementBlock("div",fo,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":c[0]||(c[0]=r=>a.value=r),id:`i-${e.unref(s)}`,type:"checkbox",checked:o.checked,disabled:o.disabled,onChange:c[1]||(c[1]=(...r)=>o.change&&o.change(...r))},null,40,uo),[[e.vModelCheckbox,a.value]]),e.createElementVNode("label",{for:`i-${e.unref(s)}`},e.toDisplayString(o.label),9,ho)]))}};async function Ce(t,n){return await Be(xe,{title:t,message:n})}async function Te(t,n){return await Be(Se,{title:t,message:n})}const yo={__name:"DDialogProvider",setup(t){return window.alert=Te,window.confirm=Ce,(n,o)=>(e.openBlock(),e.createBlock(e.unref(It)))}},_o={class:"d-select"},ko={key:0,class:"label"},bo=["value","selected","disabled"],Bo={__name:"DSelect",props:{label:String,size:String,options:Array,modelValue:String,scale:String},emits:["update:modelValue"],setup(t,{emit:n}){const o=t,l=e.computed(()=>o.scale?"d-select-"+o.scale:""),s=e.computed({get:()=>o.modelValue,set:a=>{n("update:modelValue",a)}});for(let a=0;a<o.options.length;a++)if(o.options[a].selected){s.value=o.options[a].value;break}return(a,i)=>(e.openBlock(),e.createElementBlock("div",_o,[o.label?(e.openBlock(),e.createElementBlock("div",ko,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("select",{"onUpdate:modelValue":i[0]||(i[0]=c=>s.value=c),class:e.normalizeClass(l.value),style:e.normalizeStyle(o.size==="wide"?"width:100%":"")},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,(c,r)=>(e.openBlock(),e.createElementBlock("option",{key:r,value:c.value,selected:c.selected,disabled:c.disabled},e.toDisplayString(c.label),9,bo))),128))],6),[[e.vModelSelect,s.value]])]))}},hn="",So={class:"d-tabs"},xo=["onClick"],Do=O({__name:"DTabs",props:{tabs:Array},setup(t){const n=t,o=e.toRef(n,"tabs"),l=e.ref(0),s=a=>{l.value=a};return(a,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",So,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(c,r)=>(e.openBlock(),e.createElementBlock("div",{key:r,class:e.normalizeClass([r===l.value?"active":"","d-tab-title"]),onClick:d=>s(r)},e.toDisplayString(c.label),11,xo))),128))]),(e.openBlock(),e.createBlock(e.KeepAlive,null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value[l.value].component)))],1024))],64))}},[["__scopeId","data-v-89cd9234"]]),yn="",wo={class:"d-grid"},$o=O({__name:"DGrid",props:{gap:{type:String,default:"1em"},colXs:{type:String,default:"repeat(1, 1fr)"},colSm:String,colMd:String,colLg:String,colXl:String,colXxl:String},setup(t){const n=t;e.useCssVars(p=>({"09eba472":r[0],"09eba434":r[1],"09eba3f6":r[2],"09eba3b8":r[3],"09eba37a":r[4],"09eba33c":r[5],"898eb2ac":n.gap}));const{colXs:o,colSm:l,colMd:s,colLg:a,colXl:i,colXxl:c}=e.toRefs(n),r=[o.value,l.value,s.value,a.value,i.value,c.value];let d=null;for(let p=0;p<r.length;p++)d||(d=r[0]),p>0&&(r[p]?d=r[p]:r[p]=d);return(p,u)=>(e.openBlock(),e.createElementBlock("div",wo,[e.renderSlot(p.$slots,"default",{},void 0,!0)]))}},[["__scopeId","data-v-b45e8130"]]),Co=["src","alt","title"],To={__name:"DImage",props:{src:String,srcFail:String,alt:String,title:String,width:String,height:String,radius:String},setup(t){const n=t,o=e.ref(null),l=new Image;return l.onload=()=>{o.value=l.src},l.onerror=()=>{o.value=n.srcFail},e.onMounted(()=>{l.src=n.src}),(s,a)=>o.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.value,alt:n.alt,title:n.title,style:e.normalizeStyle({width:n.width,height:n.height,borderRadius:n.radius})},null,12,Co)):e.createCommentVNode("",!0)}},kn="",Eo={class:"d-textarea"},No={key:0,class:"label"},Vo=["placeholder"],Io=O({__name:"DTextarea",props:{label:String,placeholder:String,scale:String,modelValue:String,focus:Boolean},emits:["update:modelValue"],setup(t,{expose:n,emit:o}){const l=t,s=e.ref(null),a=e.computed(()=>l.scale==="small"?"d-textarea-small":l.scale==="large"?"d-textarea-large":""),i=e.computed({get:()=>l.modelValue,set:r=>{o("update:modelValue",r)}});e.onMounted(()=>{l.focus&&c()});const c=()=>{s.value.focus()};return n({focus:c}),(r,d)=>(e.openBlock(),e.createElementBlock("div",Eo,[l.label?(e.openBlock(),e.createElementBlock("div",No,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("textarea",{ref_key:"inputRef",ref:s,"onUpdate:modelValue":d[0]||(d[0]=p=>i.value=p),rows:"3",placeholder:l.placeholder,class:e.normalizeClass(a.value),style:{width:"100%"}},null,10,Vo),[[e.vModelText,i.value]])]))}},[["__scopeId","data-v-3c1f0a7d"]]),se=t=>{typeof t=="string"&&(t={title:"",text:t}),typeof t=="object"&&E.emit("notification-add",t)};se.close=t=>{E.emit("notification-close",t)};const Lo=()=>({notify:se}),Mo={mounted:function(t,n){t.clickOutsideEvent=function(o){t===o.target||t.contains(o.target)||n.value(o,t)},document.addEventListener("click",t.clickOutsideEvent)},unmounted:function(t){document.removeEventListener("click",t.clickOutsideEvent)}},zo={beforeMount(t,n){t._keydownCallback=o=>{o.key===n.arg&&n.value()},document.addEventListener("keydown",t._keydownCallback)},unmounted(t,n){document.removeEventListener("keydown",t._keydownCallback),delete t._keydownCallback}},Oo={beforeMount(t){t.focus()}};function Ee(t){return t.type.indexOf("mouse")!==-1?t.clientX:t.touches[0].clientX}function Ne(t){return t.type.indexOf("mouse")!==-1?t.clientY:t.touches[0].clientY}var Ho=function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,n)}catch{}return t}(),Ao={disableClick:!1,tapTolerance:10,swipeTolerance:30,touchHoldTolerance:400,longTapTimeInterval:400,touchClass:"",dragFrequency:100,rollOverFrequency:100};function U(t){var n=this.$$touchObj,o=t.type.indexOf("touch")>=0,l=t.type.indexOf("mouse")>=0,s=this;o&&(n.lastTouchStartTime=t.timeStamp),!(l&&n.lastTouchStartTime&&t.timeStamp-n.lastTouchStartTime<350)&&(n.touchStarted||(Me(this),n.touchStarted=!0,n.touchMoved=!1,n.swipeOutBounded=!1,n.startX=Ee(t),n.startY=Ne(t),n.currentX=0,n.currentY=0,n.touchStartTime=t.timeStamp,n.hasSwipe=M(this,"swipe")||M(this,"swipe.left")||M(this,"swipe.right")||M(this,"swipe.top")||M(this,"swipe.bottom"),M(this,"hold")&&(n.touchHoldTimer=setTimeout(function(){n.touchHoldTimer=null,A(t,s,"hold")},n.options.touchHoldTolerance)),A(t,this,"press")))}function Z(t){var n=this.$$touchObj,o=Ee(t),l=Ne(t),s=n.currentX!=o||n.currentY!=l;if(n.currentX=o,n.currentY=l,n.touchMoved){if(n.hasSwipe&&!n.swipeOutBounded){var i=n.options.swipeTolerance;n.swipeOutBounded=Math.abs(n.startX-n.currentX)>i&&Math.abs(n.startY-n.currentY)>i}}else{var a=n.options.tapTolerance;n.touchMoved=Math.abs(n.startX-n.currentX)>a||Math.abs(n.startY-n.currentY)>a,n.touchMoved&&(re(n),A(t,this,"drag.once"))}if(M(this,"rollover")&&s){var c=t.timeStamp,r=n.options.rollOverFrequency;(n.touchRollTime==null||c>n.touchRollTime+r)&&(n.touchRollTime=c,A(t,this,"rollover"))}if(M(this,"drag")&&n.touchStarted&&n.touchMoved&&s){var c=t.timeStamp,r=n.options.dragFrequency;(n.touchDragTime==null||c>n.touchDragTime+r)&&(n.touchDragTime=c,A(t,this,"drag"))}}function Ve(){var t=this.$$touchObj;re(t),ae(this),t.touchStarted=t.touchMoved=!1,t.startX=t.startY=0}function K(t){var n=this.$$touchObj,o=t.type.indexOf("touch")>=0,l=t.type.indexOf("mouse")>=0;o&&(n.lastTouchEndTime=t.timeStamp);var s=o&&!n.touchHoldTimer;if(re(n),n.touchStarted=!1,ae(this),!(l&&n.lastTouchEndTime&&t.timeStamp-n.lastTouchEndTime<350))if(A(t,this,"release"),n.touchMoved){if(n.hasSwipe&&!n.swipeOutBounded){var a=n.options.swipeTolerance,i,c=Math.abs(n.startY-n.currentY),r=Math.abs(n.startX-n.currentX);(c>a||r>a)&&(c>a?i=n.startY>n.currentY?"top":"bottom":i=n.startX>n.currentX?"left":"right",M(this,"swipe."+i)?A(t,this,"swipe."+i,i):A(t,this,"swipe",i))}}else if(M(this,"longtap")&&t.timeStamp-n.touchStartTime>n.options.longTapTimeInterval)t.cancelable&&t.preventDefault(),A(t,this,"longtap");else if(M(this,"hold")&&s){t.cancelable&&t.preventDefault();return}else A(t,this,"tap")}function Ie(){Me(this)}function Le(){ae(this)}function M(t,n){var o=t.$$touchObj.callbacks[n];return o!=null&&o.length>0}function A(t,n,o,l){var s=n.$$touchObj,a=s.callbacks[o];if(a==null||a.length===0)return null;for(var i=0;i<a.length;i++){var c=a[i];c.modifiers.stop&&t.stopPropagation(),c.modifiers.prevent&&t.preventDefault(),!(c.modifiers.self&&t.target!==t.currentTarget)&&typeof c.value=="function"&&(l?c.value(l,t):c.value(t))}}function Me(t){var n=t.$$touchObj.options.touchClass;n&&t.classList.add(n)}function ae(t){var n=t.$$touchObj.options.touchClass;n&&t.classList.remove(n)}function re(t){t.touchHoldTimer&&(clearTimeout(t.touchHoldTimer),t.touchHoldTimer=null)}function Fo(t,n){var o=t.$$touchObj||{callbacks:{},hasBindTouchEvents:!1,options:Ao};return n&&(o.options=Object.assign({},o.options,n)),t.$$touchObj=o,t.$$touchObj}const Ro={beforeMount:function(t,n){const o=Fo(t);let l=Ho?{passive:!0}:!1;const s=n.arg||"tap";switch(s){case"swipe":let a=n.modifiers;if(a.left||a.right||a.top||a.bottom){for(let i in n.modifiers)if(["left","right","top","bottom"].indexOf(i)>=0){let c="swipe."+i;o.callbacks[c]=o.callbacks[c]||[],o.callbacks[c].push(n)}}else o.callbacks.swipe=o.callbacks.swipe||[],o.callbacks.swipe.push(n);break;case"press":case"drag":n.modifiers.disablePassive&&(l=!1);default:o.callbacks[s]=o.callbacks[s]||[],o.callbacks[s].push(n)}o.hasBindTouchEvents||(t.addEventListener("touchstart",U,l),t.addEventListener("touchmove",Z,l),t.addEventListener("touchcancel",Ve),t.addEventListener("touchend",K),o.options.disableClick||(t.addEventListener("mousedown",U),t.addEventListener("mousemove",Z),t.addEventListener("mouseup",K),t.addEventListener("mouseenter",Ie),t.addEventListener("mouseleave",Le)),o.hasBindTouchEvents=!0)},unmounted:function(t){t.removeEventListener("touchstart",U),t.removeEventListener("touchmove",Z),t.removeEventListener("touchcancel",Ve),t.removeEventListener("touchend",K),t.$$touchObj&&!t.$$touchObj.options.disableClick&&(t.removeEventListener("mousedown",U),t.removeEventListener("mousemove",Z),t.removeEventListener("mouseup",K),t.removeEventListener("mouseenter",Ie),t.removeEventListener("mouseleave",Le)),delete t.$$touchObj}};f.DAccordion=ut,f.DAlertDialog=Se,f.DBadge=ce,f.DButton=H,f.DCard=Xt,f.DCheckbox=go,f.DCollapse=de,f.DConfigProvider=bt,f.DConfirmDialog=xe,f.DContextMenu=he,f.DDialogProvider=yo,f.DDrag=pe,f.DDrop=ue,f.DDropdown=Ot,f.DGlobalStore=j,f.DGrid=$o,f.DIcon=P,f.DIconStore=L,f.DImage=To,f.DInfoProgress=mo,f.DInput=et,f.DLayoutAdmin=kt,f.DLayoutContent=be,f.DLayoutFooter=_e,f.DLayoutHeader=ge,f.DLayoutSidebar=ke,f.DLayoutTab=ye,f.DMenu=v,f.DModal=te,f.DNotificationProvider=ao,f.DPanel=De,f.DScroll=St,f.DScrollProvider=Bt,f.DSelect=Bo,f.DTabs=Do,f.DTextarea=Io,f.DTransferStore=q,f.DTree=ee,f.DTreeItem=me,f.DTreeStore=h,f.alert=Te,f.clickOutside=Mo,f.confirm=Ce,f.emitter=E,f.eventsBus=fe,f.focus=Oo,f.keydown=zo,f.notify=se,f.touch=Ro,f.useNotification=Lo,Object.defineProperty(f,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(f,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(f=typeof globalThis<"u"?globalThis:f||self,e(f.DophJs={},f.Vue))})(this,function(f,e){"use strict";const qo="",Uo="",Zo="",Ko="",Jo="",P={__name:"DIcon",props:{component:[Object,String],size:[Number,String],color:String,className:String},setup(t){const n=t,o=e.useSlots(),l=e.computed(()=>{const{className:c}=n;return c===void 0?"icon":["icon",c].join(" ")}),s=e.computed(()=>{const{color:c}=n;return c===void 0?null:c}),a=e.computed(()=>{const c=n.size??null;if(c!==void 0)return typeof c=="number"||/^\d+$/.test(c)?`${c}px`:c}),i=e.computed(()=>e.h("i",{class:l.value,style:{color:s.value,fontSize:a.value}},n.component?e.h(n.component):o));return(c,r)=>(e.openBlock(),e.createBlock(e.unref(i)))}},L={state:{},getters:{getIcon(t){return L.state[t]},getIcons(){return L.state}},mutations:{addIcon(t,n){L.state.name=n},addIcons(t){for(const n in t)t.hasOwnProperty(n)&&(L.state[n]=t[n])}}};function ie(t){const n=t.value.getBoundingClientRect();let o=t.value,l=0,s=0;for(;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)l+=o.offsetLeft-o.scrollLeft,s+=o.offsetTop-o.scrollTop,o=o.offsetParent;return{top:s,left:l,x:n.x,y:n.y,width:n.width,height:n.height}}const Qo="",O=(t,n)=>{const o=t.__vccOpts||t;for(const[l,s]of n)o[l]=s;return o},Oe={key:0,class:"loading-svg rotating",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},He=[e.createStaticVNode('<g fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" data-v-e5cd6ccd><path d="M8.56 3.69a9 9 0 0 0-2.92 1.95" data-v-e5cd6ccd></path><path d="M3.69 8.56A9 9 0 0 0 3 12" data-v-e5cd6ccd></path><path d="M3.69 15.44a9 9 0 0 0 1.95 2.92" data-v-e5cd6ccd></path><path d="M8.56 20.31A9 9 0 0 0 12 21" data-v-e5cd6ccd></path><path d="M15.44 20.31a9 9 0 0 0 2.92-1.95" data-v-e5cd6ccd></path><path d="M20.31 15.44A9 9 0 0 0 21 12" data-v-e5cd6ccd></path><path d="M20.31 8.56a9 9 0 0 0-1.95-2.92" data-v-e5cd6ccd></path><path d="M15.44 3.69A9 9 0 0 0 12 3" data-v-e5cd6ccd></path></g>',1)],Ae={key:1},Fe={key:2,class:"loading-svg rotating",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Re=[e.createStaticVNode('<g fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" data-v-e5cd6ccd><path d="M8.56 3.69a9 9 0 0 0-2.92 1.95" data-v-e5cd6ccd></path><path d="M3.69 8.56A9 9 0 0 0 3 12" data-v-e5cd6ccd></path><path d="M3.69 15.44a9 9 0 0 0 1.95 2.92" data-v-e5cd6ccd></path><path d="M8.56 20.31A9 9 0 0 0 12 21" data-v-e5cd6ccd></path><path d="M15.44 20.31a9 9 0 0 0 2.92-1.95" data-v-e5cd6ccd></path><path d="M20.31 15.44A9 9 0 0 0 21 12" data-v-e5cd6ccd></path><path d="M20.31 8.56a9 9 0 0 0-1.95-2.92" data-v-e5cd6ccd></path><path d="M15.44 3.69A9 9 0 0 0 12 3" data-v-e5cd6ccd></path></g>',1)],H=O({__name:"DButton",props:{class:String,style:[String,Object],icon:String,scale:String,type:String,outline:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click","contextmenu"],setup(t,{expose:n,emit:o}){const l=t,s=e.useSlots(),a=e.ref(null),i=e.computed(()=>l.icon?L.getters.getIcon(l.icon):null),c=k=>{o("click",k)},r=k=>{o("contextmenu",k)},d=e.computed(()=>l.scale==="large"?"button-lg":l.scale==="small"?"button-sm":""),p=e.computed(()=>l.disabled?"disabled":""),u=k=>!!s[k],_=e.computed(()=>u("default")?"":l.scale==="large"?"d-button-lg-icon":l.scale==="small"?"d-button-sm-icon":"d-button-icon"),B=e.computed(()=>{const k=l.outline?"-outline":"";return l.type==="primary"?`button${k}-blue`:l.type==="success"?`button${k}-green`:l.type==="error"?`button${k}-red`:l.type==="warning"?`button${k}-orange`:l.type==="wait"?`button${k}-violet`:l.outline?`button${k}`:""});return n({elementSize:()=>ie(a)}),(k,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"el",ref:a,onClick:c,onContextmenu:r,class:e.normalizeClass(["button",[l.class,d.value,B.value,p.value].join(" ")])},[e.renderSlot(k.$slots,"default",{},void 0,!0),l.loading?(e.openBlock(),e.createElementBlock("svg",Oe,He)):e.createCommentVNode("",!0)],34)),i.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"el",ref:a,onClick:c,onContextmenu:r,class:e.normalizeClass(["button button-ext",[l.class,d.value,_.value,B.value,p.value].join(" ")]),style:e.normalizeStyle(l.style)},[l.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:0,component:i.value,color:"inherit"},null,8,["component"])):e.createCommentVNode("",!0),e.unref(s).default?(e.openBlock(),e.createElementBlock("div",Ae,[e.renderSlot(k.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),l.loading?(e.openBlock(),e.createElementBlock("svg",Fe,Re)):e.createCommentVNode("",!0)],38)):e.createCommentVNode("",!0)],64))}},[["__scopeId","data-v-e5cd6ccd"]]),on="",We={key:0,class:"d-input"},Pe={key:0,class:"label"},je=["placeholder"],Xe={key:1,class:"d-input",style:{display:"flex","flex-direction":"column"}},Ye={key:0,class:"label"},Ge={style:{display:"flex","align-items":"flex-end","justify-content":"flex-start"}},qe={style:{flex:"1"}},Ue=["placeholder"],Ze={key:2,class:"d-input",style:{display:"flex","flex-direction":"column"}},Ke={key:0,class:"label"},Je={style:{display:"flex","align-items":"flex-end","justify-content":"flex-start"}},Qe={style:{flex:"1"}},ve=["placeholder"],et=O({__name:"DInput",props:{label:String,placeholder:String,scale:String,modelValue:String,pre:Object,post:Object,focus:Boolean},emits:["update:modelValue"],setup(t,{expose:n,emit:o}){const l=t,s=e.ref(null),a=e.computed(()=>l.scale==="small"?"d-input-small":l.scale==="large"?"d-input-large":""),i=e.computed({get:()=>l.modelValue,set:r=>{o("update:modelValue",r)}});e.onMounted(()=>{l.focus&&c()});const c=()=>{s.value.focus()};return n({focus:c}),(r,d)=>!l.post&&!l.pre?(e.openBlock(),e.createElementBlock("div",We,[l.label?(e.openBlock(),e.createElementBlock("div",Pe,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:s,"onUpdate:modelValue":d[0]||(d[0]=p=>i.value=p),type:"text",class:e.normalizeClass(a.value),placeholder:l.placeholder,style:{width:"100%"}},null,10,je),[[e.vModelText,i.value]])])):l.post&&l.post.click&&!l.pre?(e.openBlock(),e.createElementBlock("div",Xe,[l.label?(e.openBlock(),e.createElementBlock("div",Ye,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Ge,[e.createElementVNode("div",qe,[e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:s,class:e.normalizeClass(["d-input-post-field",a.value]),"onUpdate:modelValue":d[1]||(d[1]=p=>i.value=p),type:"text",placeholder:l.placeholder,style:{width:"100%"}},null,10,Ue),[[e.vModelText,i.value]])]),l.post.label?(e.openBlock(),e.createBlock(H,{key:0,scale:l.scale,class:e.normalizeClass(["d-input-post-button",l.post.class]),onClick:l.post.click,icon:l.post.icon},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.post.label),1)]),_:1},8,["scale","onClick","icon","class"])):(e.openBlock(),e.createBlock(H,{key:1,scale:l.scale,class:e.normalizeClass(["d-input-post-button",l.post.class]),onClick:l.post.click,icon:l.post.icon},null,8,["scale","onClick","icon","class"]))])])):!l.post&&l.pre&&l.pre.click?(e.openBlock(),e.createElementBlock("div",Ze,[l.label?(e.openBlock(),e.createElementBlock("div",Ke,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Je,[l.pre.label?(e.openBlock(),e.createBlock(H,{key:0,scale:l.scale,class:e.normalizeClass(["d-input-pre-button",l.pre.class]),onClick:l.pre.click,icon:l.pre.icon},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.pre.label),1)]),_:1},8,["scale","onClick","icon","class"])):(e.openBlock(),e.createBlock(H,{key:1,scale:l.scale,class:e.normalizeClass(["d-input-pre-button",l.pre.class]),onClick:l.pre.click,icon:l.pre.icon},null,8,["scale","onClick","icon","class"])),e.createElementVNode("div",Qe,[e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:s,class:e.normalizeClass(["d-input-pre-field",a.value]),"onUpdate:modelValue":d[2]||(d[2]=p=>i.value=p),type:"text",placeholder:l.placeholder,style:{width:"100%"}},null,10,ve),[[e.vModelText,i.value]])])])])):e.createCommentVNode("",!0)}},[["__scopeId","data-v-0b6b3cf1"]]),ce={__name:"DBadge",props:{scale:String,type:String,class:String,stress:{type:Boolean,default:!1}},setup(t){const n=t,o=e.computed(()=>n.scale==="large"?"badge-lg":n.scale==="small"?"badge-sm":""),l=e.computed(()=>{const s=n.stress?"-stress":"";return n.type==="primary"?`badge${s}-blue`:n.type==="success"?`badge${s}-green`:n.type==="error"?`badge${s}-red`:n.type==="warning"?`badge${s}-orange`:n.type==="wait"?`badge${s}-violet`:n.stress?`badge${s}-gray`:""});return(s,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["badge",[n.class,o.value,l.value].join(" ")])},[e.renderSlot(s.$slots,"default")],2))}},F="0px",de={__name:"DCollapse",props:{duration:{type:Number,default:200},easingEnter:{type:String,default:"ease-in-out"},easingLeave:{type:String,default:"ease-in-out"},opacityClosed:{type:Number,default:0},opacityOpened:{type:Number,default:1}},setup(t){const n=t,o=r=>({height:r.style.height,width:r.style.width,position:r.style.position,visibility:r.style.visibility,overflow:r.style.overflow,paddingTop:r.style.paddingTop,paddingBottom:r.style.paddingBottom,borderTopWidth:r.style.borderTopWidth,borderBottomWidth:r.style.borderBottomWidth,marginTop:r.style.marginTop,marginBottom:r.style.marginBottom}),l=(r,d)=>{const{width:p}=getComputedStyle(r);r.style.width=p,r.style.position="absolute",r.style.visibility="hidden",r.style.height="";let{height:u}=getComputedStyle(r);return r.style.width=d.width,r.style.position=d.position,r.style.visibility=d.visibility,r.style.height=F,r.style.overflow="hidden",d.height&&d.height!==F?d.height:u},s=(r,d,p,u,_)=>{const B=r.animate(u,_);r.style.height=d.height,B.onfinish=()=>{r.style.overflow=d.overflow,p()}},a=(r,d)=>[{height:F,opacity:n.opacityClosed,paddingTop:F,paddingBottom:F,borderTopWidth:F,borderBottomWidth:F,marginTop:F,marginBottom:F},{height:r,opacity:n.opacityOpened,paddingTop:d.paddingTop,paddingBottom:d.paddingBottom,borderTopWidth:d.borderTopWidth,borderBottomWidth:d.borderBottomWidth,marginTop:d.marginTop,marginBottom:d.marginBottom}],i=(r,d)=>{const p=r,u=o(p),_=l(p,u),B=a(_,u),D={duration:n.duration,easing:n.easingEnter};s(p,u,d,B,D)},c=(r,d)=>{const p=r,u=o(p),{height:_}=getComputedStyle(p);p.style.height=_,p.style.overflow="hidden";const B=a(_,u).reverse(),D={duration:n.duration,easing:n.easingLeave};s(p,u,d,B,D)};return(r,d)=>(e.openBlock(),e.createBlock(e.Transition,{css:!1,onEnter:i,onLeave:c},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3}))}},q={data:void 0},Q=t=>t.reduce((n,o)=>(n[o]=o)&&n,{}),w=Q(["drag","dragend","dragenter","dragleave","dragstart","dragover","drop"]),tt=Q(["copy","move","link","none"]),ot=Q(["none","copy","copyLink","copyMove","link","linkMove","move","all","uninitialized"]),pe={__name:"DDrag",props:{draggable:{type:Boolean,default:!0},transferData:{},dropEffect:{validator:t=>t in tt},effectAllowed:{validator:t=>t in ot},image:String,imageXOffset:{type:Number,default:0},imageYOffset:{type:Number,default:0},hideImageHtml:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){const n=t,o=e.useSlots(),l=e.ref(!1),s=e.computed(()=>l&&n.transferData),a=e.computed(()=>({position:"fixed",top:"-1000px"})),i=(c,r)=>{const d=r.dataTransfer;if([w.dragenter,w.dragover].includes(c)&&n.dropEffect&&(d.dropEffect=n.dropEffect),c===w.dragstart){if(n.effectAllowed&&(d.effectAllowed=n.effectAllowed),n.image||o.image){let p;n.image?(p=new Image,p.src=n.image):o.image&&(p=o.image[0].elm),d.setDragImage&&d.setDragImage(p,n.imageXOffset,n.imageYOffset)}n.transferData!==void 0&&(q.data=n.transferData,r.dataTransfer.setData("text","")),l.value=!0}};return(c,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{draggable:n.draggable,onDrag:r[0]||(r[0]=d=>i(e.unref(w).drag,d)),onDragstart:r[1]||(r[1]=e.withModifiers(d=>i(e.unref(w).dragstart,d),["stop"])),onDragenter:r[2]||(r[2]=d=>i(e.unref(w).dragenter,d)),onDragleave:r[3]||(r[3]=d=>i(e.unref(w).dragleave,d)),onDragend:r[4]||(r[4]=d=>i(e.unref(w).dragend,d))},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default",{transferData:s.value}),t.hideImageHtml?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(a.value)},[e.renderSlot(c.$slots,"image",{transferData:s.value})],4)):e.renderSlot(c.$slots,"image",{key:1,transferData:s.value})]),_:3},40,["draggable"]))}},ln="",nt=t=>(e.pushScopeId("data-v-d8c92d5e"),t=t(),e.popScopeId(),t),lt={key:0,style:{display:"none"}},st={key:1},at=[nt(()=>e.createElementVNode("div",{class:"tree-divider"},null,-1))],rt={key:2},it={class:"tree-divider-header"},ct={class:"item-title"},dt={key:0,class:"tree-divider"},pt={key:1},mt={style:{display:"flex","flex-direction":"row","justify-content":"flex-end"}},ft={key:0,class:"sub-menu"},me=O({__name:"DTreeItem",props:{model:Object,treeId:[String,Number],items:Array,search:String},emits:["nodedrop","nodedragover","nodedragleave","nodeclick","nodecontext"],setup(t,{emit:n}){const o=t,l=e.ref(null),s=e.ref(!1),a=e.ref(!1),i=e.ref(!1),c=e.computed(()=>o.model.children&&o.model.children.length),r=e.computed(()=>(h.actions.isTreeExpanded(o.treeId)&&(o.model.expanded=o.model.expanded===void 0?!0:o.model.expanded),o.model.expanded)),d=S=>{n("nodeclick",{event:S,model:o.model})},p=S=>{n("nodeclick",S)},u=S=>{n("nodedrop",S)},_=S=>{n("nodecontext",S)},B=e.computed(()=>(h.actions.isItemSelected(o.treeId,o.model.id)?"selected":"")+(s.value?"node-over ":"")+(a.value?"node-top ":"")+(i.value?"node-bottom ":"")),D=e.computed(()=>o.search?!1:o.model.draggable===!0),k=S=>{n("nodedrop",{e:S,model:o.model});let y=q.data;if(y===void 0||y.model===void 0)return s.value=!1,!1;if(y.model.id===o.model.id||h.actions.isChildOfParent(o.treeId,o.items,o.model.id,y.model.id)||h.actions.isParentOfChild(o.treeId,o.items,y.model.id,o.model.id))return s.value=!1,a.value=!1,i.value=!1,!1;if(!h.state.trees[o.treeId].transfer&&y.id!==o.treeId)return!1;let x="";a.value?x="before":i.value?x="after":x="inside",h.actions.moveTreeNode(y.id,o.treeId,o.items,y.model.id,o.model.id,x),s.value=!1,a.value=!1,i.value=!1},N=S=>{n("nodedragover",{e:S,model:o.model});let y=q.data;if(y===void 0||y.model===void 0)return s.value=!0,!1;if(y.model.id===o.model.id||h.actions.isChildOfParent(o.treeId,o.items,o.model.id,y.model.id)||h.actions.isParentOfChild(o.treeId,o.items,y.model.id,o.model.id))return!1;const x=S.y,V=l.value.getBoundingClientRect().top,I=l.value.getBoundingClientRect().height,g=I/3;x>V&&x<=V+g?(s.value=!1,a.value=!0,i.value=!1):x<V+I&&x>=V+I-g?(s.value=!1,a.value=!1,i.value=!0):(s.value=!0,a.value=!1,i.value=!1)},z=()=>{s.value=!1,a.value=!1,i.value=!1},$=e.computed(()=>o.model.title.startsWith("-")),R=e.computed(()=>{if(o.model.title.startsWith("-")){let[S,...y]=o.model.title.split(" ");return y=y.join(" "),y}return null});return(S,y)=>{const x=e.resolveComponent("d-tree-item",!0),V=e.resolveDirective("touch");return e.unref(h).actions.beforeItem(o.treeId,t.model)?$.value&&!R.value?(e.openBlock(),e.createElementBlock("li",st,at)):$.value&&R.value?(e.openBlock(),e.createElementBlock("li",rt,[e.createElementVNode("div",it,e.toDisplayString(e.unref(h).actions.renderTitle(o.treeId,R.value)),1)])):(e.openBlock(),e.createBlock(pe,{key:3,tag:"li",class:"tree-item","transfer-data":{id:o.treeId,model:o.model},draggable:D.value,onDrop:e.withModifiers(k,["stop"]),onDragenter:y[1]||(y[1]=e.withModifiers(()=>{},["prevent"])),onDragover:e.withModifiers(N,["prevent","stop"]),onDragleave:e.withModifiers(z,["prevent"])},{default:e.withCtx(()=>{var I,g;return[e.withDirectives((e.openBlock(),e.createElementBlock("div",{ref_key:"node",ref:l,class:e.normalizeClass(B.value),onContextmenu:y[0]||(y[0]=e.withModifiers(C=>n("nodecontext",{e:C,model:o.model}),["prevent"]))},[e.createElementVNode("div",null,[o.model.icons&&o.model.icons.pre&&c.value&&!o.search&&!$.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:0,component:e.unref(L).getters.getIcon(o.model.icons.pre.component),size:18,color:o.model.icons.pre.color?o.model.icons.pre.color:"inherit",class:e.normalizeClass(r.value?"tree-open-pre":"")},null,8,["component","color","class"])):e.createCommentVNode("",!0),o.model.icons&&o.model.icons.pre&&!c.value&&!o.search&&!$.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:1,component:e.unref(L).getters.getIcon(o.model.icons.pre.component),size:18,color:"rgba(0,0,0,0)",class:e.normalizeClass(r.value?"tree-open-pre":"")},null,8,["component","class"])):e.createCommentVNode("",!0),o.model.icons&&o.model.icons.icon&&!$.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:2,component:e.unref(L).getters.getIcon(o.model.icons.icon.component),color:o.model.icons.icon.color?o.model.icons.icon.color:"inherit",size:o.model.icons.icon.size?o.model.icons.icon.size:null,className:o.model.icons.icon.class?o.model.icons.icon.class:null},null,8,["component","color","size","className"])):e.createCommentVNode("",!0),e.createElementVNode("div",ct,[$.value?(e.openBlock(),e.createElementBlock("div",dt)):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",pt,e.toDisplayString(e.unref(h).actions.renderTitle(o.treeId,o.model.title)),1))])]),e.createElementVNode("div",mt,[((I=o.model.badge)==null?void 0:I.value)!==void 0&&!$.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(ce),{key:0,class:e.normalizeClass([(g=o.model.badge)==null?void 0:g.class,"badge-sm"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.model.badge.value),1)]),_:1},8,["class"])):e.createCommentVNode("",!0),o.model.icons&&o.model.icons.post&&c.value&&!o.search&&!$.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:1,component:e.unref(L).getters.getIcon(o.model.icons.post.component),size:20,color:o.model.icons.post.color?o.model.icons.post.color:"inherit",class:e.normalizeClass(r.value?"tree-open-post":"")},null,8,["component","color","class"])):e.createCommentVNode("",!0)])],34)),[[V,d]]),e.createVNode(de,null,{default:e.withCtx(()=>[c.value&&r.value&&!o.search?(e.openBlock(),e.createElementBlock("ul",ft,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.model.children,C=>(e.openBlock(),e.createBlock(x,{class:"tree-item",key:C.id,model:C,treeId:o.treeId,items:o.items,search:o.search,onNodeclick:p,onNodedrop:u,onNodecontext:_},null,8,["model","treeId","items","search"]))),128))])):e.createCommentVNode("",!0)]),_:1})]}),_:1},8,["transfer-data","draggable","onDrop","onDragover","onDragleave"])):(e.openBlock(),e.createElementBlock("li",lt))}}},[["__scopeId","data-v-d8c92d5e"]]);function fe(t){return t=t||new Map,{all:t,on(n,o){const l=t.get(n);l?l.push(o):t.set(n,[o])},off(n,o){const l=t.get(n);l&&(o?l.splice(l.indexOf(o)>>>0,1):t.set(n,[]))},emit(n,o){let l=t.get(n);l&&l.slice().map(s=>{s(o)}),l=t.get("*"),l&&l.slice().map(s=>{s(n,o)})}}}const E=fe(),h={state:e.reactive({trees:{}}),getters:{getItems(t){return h.state.trees[t].items},getItemsSelect(t){return h.state.trees[t].selected},getParentId(t,n,o,l="id",s="children",a={}){return o&&t&&(t.find(i=>i[l]===o?(a.found=n,i):h.getters.getParentId(i[s],i.id,o,l,s,a)),a.found)?a.found:!1}},mutations:{setTreeItems(t,n){h.state.trees[t].items=n},setItemSelect(t,n){h.state.trees[t].noSelect||(h.state.trees[t].multiSelect?h.state.trees[t].selected.includes(n.id)?h.state.trees[t].selected=h.state.trees[t].selected.filter(function(o){return o!==n.id}):h.state.trees[t].selected=[...h.state.trees[t].selected,n.id]:h.state.trees[t].selected=[n.id])}},actions:{initTreeStore(t,n,o,l,s,a,i){h.state.trees[t]=[],h.state.trees[t].selected=[],h.state.trees[t].noSelect=n,h.state.trees[t].multiSelect=o,h.state.trees[t].expanded=l,h.state.trees[t].transfer=s,h.state.trees[t].renderTitle=a,h.state.trees[t].beforeItem=i},renderTitle(t,n){return h.state.trees[t].renderTitle?h.state.trees[t].renderTitle(n):n},beforeItem(t,n){return h.state.trees[t].beforeItem?h.state.trees[t].beforeItem(n):!0},isItemSelected(t,n){return h.state.trees[t].selected.includes(n)},toggleItem(t,n){n.expanded=n.expanded===void 0||!n.expanded,n.children&&n.children.length&&(n.expanded?E.emit(`expand-${t}`,{id:t,model:n}):E.emit(`collapse-${t}`,{id:t,model:n}))},isTreeExpanded(t){return h.state.trees[t].expanded},isChildOfParent(t,n,o,l){const s=h.actions.deepSearch(n,o);if(s&&s.children){for(let a=0;a<s.children.length;a++)if(s.children[a].id===l)return!0}return!1},isParentOfChild(t,n,o,l){const s=h.actions.deepSearch(n,o);return!!(s&&s.children&&h.actions.deepSearch(s.children,l))},deepSearch(t,n,o="id",l="children",s={}){return n&&t&&(t.find(a=>a[o]===n?(s.found=a,a):h.actions.deepSearch(a[l],n,o,l,s)),s.found)?s.found:!1},deepSearchByTitle(t,n,o="title",l="children",s=[]){if(n&&t&&(t.find(a=>{const i=new RegExp(n,"gi");a[o].toString().toLowerCase().match(i)!==null&&s.push(a),h.actions.deepSearchByTitle(a[l],n,o,l,s)}),s)){for(let a=0;a<s.length;a++);return s}return s},moveTreeNode(t,n,o,l,s,a){const i=h.actions.deleteTreeNode(o,l);h.actions.insertTreeNode(o,s,i,a),E.emit(`move-${n}`,{fromTreeId:t,toTreeId:n,moved:i.id,target:s,position:a})},insertTreeNode(t,n,o,l){if(t)for(let s=0;s<t.length;s++){if(t[s].id===n){let i=s;return l==="after"?(i++,t.splice(i,0,o)):l==="before"?t.splice(i,0,o):l==="inside"&&(Object.hasOwn(t[s],"children")||(t[s].children=[],t[s].opened=!0),t[s].children.splice(0,0,o)),t[s]}const a=this.insertTreeNode(t[s].children,n,o,l);if(a)return a}},deleteTreeNode(t,n){if(t)for(let o=0;o<t.length;o++){if(t[o].id===n){const s=t[o];return t.splice(o,1),s}const l=h.actions.deleteTreeNode(t[o].children,n);if(l)return l}}}},ue={__name:"DDrop",props:{tag:{type:String,default:"div"}},emits:Object.keys(w),setup(t,{expose:n,emit:o}){let l=e.reactive({});const s=e.ref("false"),a=e.ref(null),i=new Set,c=e.computed(()=>s.value&&l),r=(p,u)=>{l=q.data,o(p,u,l),p===w.dragenter&&(i.size||u.target===a.value)&&i.add(u.target),p===w.dragleave&&i.delete(u.target),p===w.drop&&i.clear(),s.value=!!i.size};return n({elementSize:()=>ie(a)}),(p,u)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{ref_key:"el",ref:a,onDragenter:u[0]||(u[0]=_=>r(e.unref(w).dragenter,_)),onDragleave:u[1]||(u[1]=_=>r(e.unref(w).dragleave,_)),onDragover:u[2]||(u[2]=e.withModifiers(_=>r(e.unref(w).dragover,_),["prevent"])),onDrop:u[3]||(u[3]=e.withModifiers(_=>r(e.unref(w).drop,_),["prevent"]))},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default",{transferData:c.value})]),_:3},544))}},v={__name:"DMenu",props:{class:String,items:Array,style:[String,Object],noSelect:{type:Boolean,default:!0},renderItemTitle:Function,beforeItem:Function},emits:["select"],setup(t,{expose:n,emit:o}){const l=t;let s=e.ref(null),a=e.ref(!1);const i=()=>{E.emit("menu-show-request"),a.value=!0},c=()=>{var _;(_=s.value)==null||_.collapseAll(),a.value=!1},r=()=>a.value;E.on("menu-show-request",()=>{c()}),n({show:i,hide:c,elementSize:()=>s.value.elementSize(),isShowed:r,itemsCount:()=>s.value.itemsCount()});const u=_=>{o("select",_),_.model.children||c()};return(_,B)=>{const D=e.resolveDirective("click-outside");return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.unref(a)?e.withDirectives((e.openBlock(),e.createBlock(ee,{key:0,ref_key:"treeRef",ref:s,items:l.items,"no-select":l.noSelect,class:e.normalizeClass(l.class),style:e.normalizeStyle(l.style),onSelect:u,"render-title":l.renderItemTitle,"before-item":l.beforeItem},null,8,["items","no-select","class","style","render-title","before-item"])),[[D,()=>c()]]):e.createCommentVNode("",!0)])}}},he={__name:"DContextMenu",props:{items:Array,renderItemTitle:Function,beforeItem:Function},emits:["select"],setup(t,{expose:n,emit:o}){const l=t,s=e.ref(null),a=e.ref(0),i=e.ref(0),c=e.computed(()=>({left:a.value+"px",top:i.value+"px"})),r=p=>{s.value.show(),e.nextTick(()=>{const u=s.value.elementSize(),_=window.innerWidth,B=window.innerHeight;a.value=_-p.pageX<u.width?p.pageX-u.width:p.pageX,i.value=B-p.pageY<u.height?p.pageY-u.height:p.pageY,s.value.itemsCount()===0&&s.value.hide()})},d=p=>{o("select",p)};return n({show:r}),(p,u)=>(e.openBlock(),e.createBlock(v,{ref_key:"dMenuRef",ref:s,onSelect:d,items:l.items,style:e.normalizeStyle(c.value),class:"context-menu","no-select":!0,"render-item-title":l.renderItemTitle,"before-item":l.beforeItem},null,8,["items","style","render-item-title","before-item"]))}},ee={__name:"DTree",props:{items:Array,noSelect:Boolean,multiSelect:Boolean,expanded:Boolean,transfer:Boolean,renderTitle:Function,beforeItem:Function,search:String,context:Array,contextClick:{type:Function,default:()=>{}},contextBeforeClick:{type:Function,default:()=>!0}},emits:["select","collapse","expand","move","over","drop"],setup(t,{expose:n,emit:o}){const l=t,s=e.ref(null),a=e.ref(!1),i=e.ref(null),c=e.getCurrentInstance().uid;h.actions.initTreeStore(c,l.noSelect,l.multiSelect,l.expanded,l.transfer,l.renderTitle,l.beforeItem);const r=(g,C)=>{console.log(g,C)};E.on(`expand-${c}`,g=>{o("expand",g)}),E.on(`collapse-${c}`,g=>{o("collapse",g)}),E.on(`move-${c}`,g=>{o("move",g)});const d=e.computed(()=>l.search?h.actions.deepSearchByTitle(l.items,l.search):l.items),p=(g=null)=>{h.mutations.setItemSelect(c,g.model),h.actions.toggleItem(c,g.model),o("select",g)},u=(g=null)=>{o("over",g)},_=(g=null)=>{o("drop",g)},B=()=>s.value.elementSize(),D=()=>{for(let g=0;g<l.items.length;g++)l.items[g].expanded=!0},k=()=>{for(let g=0;g<l.items.length;g++)l.items[g].expanded=!1},N=()=>c,z=g=>h.actions.deepSearch(l.items,g),$=g=>{z(g)&&h.mutations.setItemSelect(c,z(g))},R=g=>{l.contextClick({e:g.e,model:g.model,target:i.value})},S=g=>l.contextBeforeClick({model:g,target:i.value}),y=e.computed(()=>l.context),x=g=>(y.value&&(i.value=g.model,a.value.show(g.e)),!1),V=()=>I(d.value),I=g=>{let C=0;for(let m=0;m<g.length;m++)C+=h.actions.beforeItem(c,g[m])?1:0,g[m].children&&g[m].children.length>0&&(C+=I(g[m].children));return C};return n({elementSize:B,expandAll:D,collapseAll:k,getId:N,getNode:z,selectNode:$,itemsCount:V}),(g,C)=>(e.openBlock(),e.createBlock(ue,{ref_key:"treeRef",ref:s,class:"tree",tag:"ul",onDrop:e.withModifiers(r,["stop"])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,m=>(e.openBlock(),e.createBlock(me,{key:m.id,model:m,treeId:e.unref(c),items:l.items,search:l.search,onNodeclick:p,onNodedragover:u,onNodedrop:_,onNodecontext:x},null,8,["model","treeId","items","search"]))),128)),y.value?(e.openBlock(),e.createBlock(he,{key:0,ref_key:"contextTreeRef",ref:a,items:y.value,onSelect:R,"before-item":S},null,8,["items"])):e.createCommentVNode("",!0)]),_:1},8,["onDrop"]))}},rn="",ut=O({__name:"DAccordion",props:{items:Array,renderTitle:Function,noSelect:{type:Boolean,default:!0}},setup(t){const n=t;return(o,l)=>(e.openBlock(),e.createBlock(ee,{class:"accordion",items:n.items,"no-select":n.noSelect,"render-title":n.renderTitle},null,8,["items","no-select","render-title"]))}},[["__scopeId","data-v-642edace"]]),ge={__name:"DLayoutHeader",props:{fixed:{type:Boolean,default:!0},zIndex:{type:Number,default:1001},minWidth:{type:Number,default:1280},height:{type:Number,default:56},paddingLeft:{type:Number,default:0},transitionDuration:{type:Number,default:300},transitionTimingFunction:{type:String,default:"ease-in-out"},useMinWidthLayout:Boolean},setup(t){const n=t,o=e.computed(()=>{const{fixed:l,zIndex:s,minWidth:a,height:i,paddingLeft:c,transitionDuration:r,transitionTimingFunction:d}=n,p=l?"fixed":"static",u=n.useMinWidthLayout?`min-width:${a}px;`:"";return`position:${p};z-index:${s};${u}height:${i}px;padding-left:${c}px;transition-duration:${r}ms;transition-timing-function:${d};`});return(l,s)=>(e.openBlock(),e.createElementBlock("header",{class:"d-layout-header",style:e.normalizeStyle(o.value)},[e.renderSlot(l.$slots,"default")],4))}},ye={__name:"DLayoutTab",props:{fixed:{type:Boolean,default:!0},top:{type:Number,default:56},zIndex:{type:Number,default:999},minWidth:{type:Number,default:1280},height:{type:Number,default:56},paddingLeft:{type:Number,default:0},transitionDuration:{type:Number,default:300},transitionTimingFunction:{type:String,default:"ease-in-out"},useMinWidthLayout:Boolean},setup(t){const n=t,o=e.computed(()=>{const{fixed:l,top:s,zIndex:a,minWidth:i,height:c,paddingLeft:r,transitionDuration:d,transitionTimingFunction:p}=n,u=l?"fixed":"static",_=n.useMinWidthLayout?`min-width: ${i}px;`:"";return`position:${u};top:${s}px;z-index:${a};${_}height:${c}px;padding-left:${r}px;transition-duration:${d}ms;transition-timing-function:${p};`});return(l,s)=>(e.openBlock(),e.createElementBlock("div",{class:"d-layout-tab",style:e.normalizeStyle(o.value)},[e.renderSlot(l.$slots,"default")],4))}},_e={__name:"DLayoutFooter",props:{fixed:{type:Boolean,default:!0},zIndex:{type:Number,default:999},minWidth:{type:Number,default:1280},height:{type:Number,default:56},paddingLeft:{type:Number,default:0},transitionDuration:{type:Number,default:300},transitionTimingFunction:{type:String,default:"ease-in-out"},useMinWidthLayout:Boolean},setup(t){const n=t,o=e.computed(()=>{const{fixed:l,zIndex:s,minWidth:a,height:i,paddingLeft:c,transitionDuration:r,transitionTimingFunction:d}=n,p=l?"fixed":"static",u=n.useMinWidthLayout?`min-width:${a}px;`:"";return`position:${p};z-index:${s};${u}height:${i}px;padding-left:${c}px;transition-duration:${r}ms;transition-timing-function:${d};`});return(l,s)=>(e.openBlock(),e.createElementBlock("footer",{class:"d-layout-footer",style:e.normalizeStyle(o.value)},[e.renderSlot(l.$slots,"default")],4))}},ke={__name:"DLayoutSidebar",props:{zIndex:{type:Number,default:1002},width:{type:Number,default:200},paddingTop:{type:Number,default:0},transitionDuration:{type:Number,default:300},transitionTimingFunction:{type:String,default:"ease-in-out"},collapse:{type:Boolean,default:!1}},setup(t){const n=t,o=e.computed(()=>{const{zIndex:l,width:s,paddingTop:a,transitionDuration:i,transitionTimingFunction:c}=n;return`z-index:${l};width:${s}px;padding-top:${a}px;transition-duration:${i}ms;transition-timing-function:${c};`});return(l,s)=>(e.openBlock(),e.createElementBlock("aside",{class:"d-layout-sidebar",style:e.normalizeStyle(o.value)},[e.renderSlot(l.$slots,"default")],4))}},be={__name:"DLayoutContent",props:{paddingTop:{type:Number,default:0},paddingBottom:{type:Number,default:0},paddingLeft:{type:Number,default:0},overflowHidden:Boolean,transitionDuration:{type:Number,default:300},transitionTimingFunction:{type:String,default:"ease-in-out"}},setup(t){const n=t,o=e.computed(()=>{const{paddingTop:l,paddingBottom:s,paddingLeft:a,transitionDuration:i,transitionTimingFunction:c}=n,r=`overflow:${n.overflowHidden?"hidden":"visible"};`;return`padding-top:${l}px;padding-bottom:${s}px;padding-left:${a}px;${r}transition-duration:${i}ms;transition-timing-function:${c};`});return(l,s)=>(e.openBlock(),e.createElementBlock("main",{style:e.normalizeStyle(o.value),class:"d-layout-content"},[e.renderSlot(l.$slots,"default")],4))}};function ht(t){const n=e.ref(0),o=e.computed(()=>`transform: translateX(${-n.value}px);`);let l=!1;function s(p){n.value=p}function a(){var p;const u=((p=document.scrollingElement)===null||p===void 0?void 0:p.scrollLeft)||0;s(u)}function i(){a()}function c(){document.addEventListener("scroll",a)}function r(){l&&document.removeEventListener("scroll",a)}function d(){i(),c(),l=!0}return e.watch(t,p=>{p?d():r()},{immediate:!0}),e.onUnmounted(()=>{r()}),o}const gt=1001,yt=999,_t=998,kt={__name:"DLayoutAdmin",props:{mode:{type:String,default:"vertical"},isMobile:{type:Boolean,default:!1},useMinWidthLayout:{type:Boolean,default:!1},minWidth:{type:Number,default:1200},headerVisible:{type:Boolean,default:!0},headerHeight:{type:Number,default:56},tabVisible:{type:Boolean,default:!0},tabHeight:{type:Number,default:44},fixedHeaderAndTab:{type:Boolean,default:!0},addMainOverflowHidden:{type:Boolean,default:!1},footerVisible:{type:Boolean,default:!0},footerHeight:{type:Number,default:48},fixedFooter:{type:Boolean,default:!0},sidebarVisible:{type:Boolean,default:!0},sidebarWidth:{type:Number,default:200},sidebarCollapsedWidth:{type:Number,default:0},sidebarCollapse:{type:Boolean,default:!1},transitionDuration:{type:Number,default:300},transitionTimingFunction:{type:String,default:"ease-in-out"},collapse:{type:Boolean,default:!1},maskBg:{type:String,default:"rgba(0,0,0,0.3)"}},emits:["update:sidebar-collapse","sidebar-mask-click"],setup(t,{emit:n}){const o=t,l=e.computed(()=>o.useMinWidthLayout?`min-width:${o.minWidth}px;`:""),s=e.computed(()=>o.useMinWidthLayout&&(o.fixedHeaderAndTab||o.fixedFooter)),a=ht(s),i=e.computed(()=>o.fixedHeaderAndTab?a.value:""),c=e.computed(()=>o.fixedFooter?a.value:""),r=e.computed(()=>{const{transitionDuration:y,transitionTimingFunction:x}=o;return{transitionDuration:y,transitionTimingFunction:x}}),d=e.computed(()=>o.mode==="vertical"),p=e.computed(()=>o.isMobile||d.value?1003:1e3),u=e.computed({get(){return o.sidebarCollapse},set(y){n("update:sidebar-collapse",y)}});function _(){n("sidebar-mask-click")}const B=e.computed(()=>o.isMobile&&!u.value),D=e.computed(()=>{const{transitionDuration:y,transitionTimingFunction:x}=o;return`background-color:${o.maskBg};transition-duration:${y}ms;transition-timing-function:${x};`}),k=e.computed(()=>{const{sidebarWidth:y,sidebarCollapsedWidth:x}=o,V=o.isMobile?0:x,I=u.value?V:y;return o.sidebarVisible?I:0}),N=e.computed(()=>o.isMobile?0:k.value),z=e.computed(()=>d.value?N.value:0),$=e.computed(()=>!o.isMobile&&!d.value&&o.headerVisible?o.headerHeight:0),R=e.computed(()=>{let y=0;return o.fixedHeaderAndTab&&(o.headerVisible&&(y+=o.headerHeight),o.tabVisible&&(y+=o.tabHeight)),y}),S=e.computed(()=>o.fixedFooter&&o.footerVisible?o.footerHeight:0);return(y,x)=>(e.openBlock(),e.createElementBlock("div",{class:"d-layout",style:e.normalizeStyle(l.value)},[t.headerVisible?(e.openBlock(),e.createBlock(ge,e.mergeProps({key:0},r.value,{fixed:t.fixedHeaderAndTab,"z-index":gt,"min-width":t.minWidth,height:t.headerHeight,"padding-left":z.value,style:i.value}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"header")]),_:3},16,["fixed","min-width","height","padding-left","style"])):e.createCommentVNode("",!0),t.tabVisible?(e.openBlock(),e.createBlock(ye,e.mergeProps({key:1},r.value,{fixed:t.fixedHeaderAndTab,"z-index":yt,"min-width":t.minWidth,top:t.headerHeight,height:t.tabHeight,"padding-left":N.value,style:i.value}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"tab")]),_:3},16,["fixed","min-width","top","height","padding-left","style"])):e.createCommentVNode("",!0),t.sidebarVisible?(e.openBlock(),e.createBlock(ke,e.mergeProps({key:2},r.value,{"z-index":p.value,width:k.value,"padding-top":$.value}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"sidebar")]),_:3},16,["z-index","width","padding-top"])):e.createCommentVNode("",!0),B.value?(e.openBlock(),e.createElementBlock("div",{key:3,class:"d-layout-sidebar-mask",style:e.normalizeStyle(D.value),onClick:_},null,4)):e.createCommentVNode("",!0),e.createVNode(be,e.mergeProps(r.value,{"padding-top":R.value,"padding-bottom":S.value,"padding-left":N.value,"overflow-hidden":t.addMainOverflowHidden}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"default")]),_:3},16,["padding-top","padding-bottom","padding-left","overflow-hidden"]),t.footerVisible?(e.openBlock(),e.createBlock(_e,e.mergeProps({key:4},r.value,{fixed:t.fixedFooter,"z-index":_t,"min-width":t.minWidth,height:t.footerHeight,"padding-left":N.value,style:c.value}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"footer")]),_:3},16,["fixed","min-width","height","padding-left","style"])):e.createCommentVNode("",!0)],4))}},j={state:e.reactive({theme:"dark"}),getters:{theme(){return j.state.theme}},mutations:{setTheme(t){j.state.theme=t,document.documentElement.classList.remove("dark"),document.documentElement.classList.remove("light"),document.documentElement.classList.add(t)}},actions:{toggleTheme(){j.state.theme=j.state.theme==="dark"?"light":"dark",document.documentElement.classList.remove("dark"),document.documentElement.classList.remove("light"),document.documentElement.classList.add(j.state.theme)}}},bt={__name:"DConfigProvider",props:{theme:{type:String,default:"dark"}},setup(t){const n=t;return j.mutations.setTheme(n.theme),(o,l)=>e.renderSlot(o.$slots,"default")}},dn="",Bt={__name:"DScrollProvider",props:{xHide:{type:Boolean,default:!0},yHide:{type:Boolean,default:!1}},setup(t){const n=t;e.useCssVars(a=>({e35a6f9a:o.value,e35a6f98:l.value}));const o=e.computed(()=>n.xHide?"hidden":"visible"),l=e.computed(()=>n.yHide?"hidden":"visible"),s=a=>{document.body.classList.add(a),document.documentElement.classList.add(a),document.documentElement.classList.add("d-global-scroll")};return e.onMounted(()=>{s("colored-scroller")}),(a,i)=>(e.openBlock(),e.createElementBlock("div",null,[e.renderSlot(a.$slots,"default")]))}},pn="",St=O({__name:"DScroll",props:{autoHide:{type:Boolean,default:!0},xHide:{type:Boolean,default:!0},yHide:{type:Boolean,default:!1}},setup(t){const n=t;e.useCssVars(s=>({c07fa29a:o.value,c07fa298:l.value}));const o=e.computed(()=>n.xHide?"hidden":"visible"),l=e.computed(()=>n.yHide?"hidden":"visible");return(s,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(n.autoHide?"d-scroll-hide":"d-scroll")},[e.renderSlot(s.$slots,"default",{},void 0,!0)],2))}},[["__scopeId","data-v-d50b3609"]]),fn="",xt={class:"modal-dialog"},Dt={class:"modal-content"},wt={class:"modal-header"},$t={class:"modal-title"},Ct={class:"modal-body"},Tt={class:"modal-footer"},te=O({__name:"DModal",props:{show:Boolean,width:String},emits:["open","close"],setup(t,{expose:n,emit:o}){const l=t;e.useCssVars(r=>({"558e9e46":l.width}));const s=e.ref(null),a=e.ref(!1);a.value=l==null?void 0:l.show;const i=()=>{a.value=!0,o("open",s)},c=()=>{a.value=!1,o("close",s)};return n({show:i,hide:c}),(r,d)=>{const p=e.resolveDirective("keydown");return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[a.value?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"modalRef",ref:s,class:"modal"},[e.createElementVNode("div",xt,[e.createElementVNode("div",Dt,[e.createElementVNode("div",wt,[e.createElementVNode("h5",$t,[e.renderSlot(r.$slots,"modal-title",{},void 0,!0)])]),e.createElementVNode("div",Ct,[e.renderSlot(r.$slots,"default",{},void 0,!0)]),e.createElementVNode("div",Tt,[e.renderSlot(r.$slots,"modal-footer",{},void 0,!0)])])])])),[[p,c,"Escape"]]):e.createCommentVNode("",!0)]),_:3})])}}},[["__scopeId","data-v-82cadd63"]]),X=e.shallowRef();function oe(t){t===void 0&&(t=X.value.comp.returnValue()),X.value.resolve(t),X.value=null}function Be(t,n,o="default"){return new Promise(l=>{X.value={dialog:t,props:n,wrapper:o,resolve:l}})}var Et=(t,n)=>{const o=t.__vccOpts||t;for(const[l,s]of n)o[l]=s;return o};const Nt=e.defineComponent({name:"DialogWrapper",components:{},props:{name:{type:String,default:"default"},transitionAttrs:Object},setup(){const t=e.ref();return e.watch(t,()=>{X.value&&(X.value.comp=t.value)}),{dialogRef:X,dialogInstance:t}}});function Vt(t,n,o,l,s,a){return e.openBlock(),e.createBlock(e.Transition,e.normalizeProps(e.guardReactiveProps(t.transitionAttrs)),{default:e.withCtx(()=>[t.dialogRef&&t.dialogRef.wrapper===t.name?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.dialogRef.dialog),e.mergeProps({key:0},t.dialogRef.props,{ref:"dialogInstance"}),null,16)):e.createCommentVNode("",!0)]),_:1},16)}var It=Et(Nt,[["render",Vt]]);const Lt={style:{display:"flex","flex-direction":"row","justify-content":"center",gap:"5px"}},Se={__name:"DAlertDialog",props:{title:String,message:String},setup(t,{expose:n}){const o=t;return n({returnValue:()=>!0}),(s,a)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(te,{show:!0},{"modal-title":e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.title),1)]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.message),1)]),"modal-footer":e.withCtx(()=>[e.createElementVNode("div",Lt,[e.createVNode(H,{onClick:a[0]||(a[0]=i=>e.unref(oe)())},{default:e.withCtx(()=>[e.createTextVNode("Закрыть")]),_:1})])]),_:1})]))}},Mt={style:{display:"flex","flex-direction":"row","justify-content":"center",gap:"5px"}},xe={__name:"DConfirmDialog",props:{title:String,message:String},setup(t,{expose:n}){const o=t;return n({returnValue:()=>!0}),(s,a)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(te,{show:!0},{"modal-title":e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.title),1)]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.message),1)]),"modal-footer":e.withCtx(()=>[e.createElementVNode("div",Mt,[e.createVNode(H,{onClick:a[0]||(a[0]=i=>e.unref(oe)())},{default:e.withCtx(()=>[e.createTextVNode("Да")]),_:1}),e.createVNode(H,{class:"button-red",onClick:a[1]||(a[1]=i=>e.unref(oe)(!1))},{default:e.withCtx(()=>[e.createTextVNode("Нет")]),_:1})])]),_:1})]))}},zt={class:"dropdown"},Ot={__name:"DDropdown",props:{class:String,icon:{type:[String,null],default:null},items:Array,menuStyle:Object,renderItemTitle:Function,beforeItem:Function,type:String},emits:["select","click"],setup(t,{expose:n,emit:o}){const l=t,s=e.useSlots(),a=e.ref(null),i=e.ref(null),c=e.ref(0),r=e.ref(0),d=B=>{if(o("click",B),a.value.isShowed()){a.value.hide();return}a.value.show(),e.nextTick(()=>{const D=a.value.elementSize(),k=i.value.elementSize(),N=window.innerWidth,z=window.innerHeight;c.value=N-(k.x+k.width)<D.width?k.left-D.width+k.width:k.left,r.value=z-(k.y+k.height)<D.height?k.top-D.height-5:k.height+k.top+5})},p=B=>{o("select",B)},u=e.computed(()=>({left:c.value+"px",top:r.value+"px",...l.menuStyle}));n({show:d});const _=B=>!!s[B];return(B,D)=>(e.openBlock(),e.createElementBlock("div",zt,[_("default")?(e.openBlock(),e.createBlock(H,{key:0,ref_key:"buttonRef",ref:i,class:e.normalizeClass(l.class),icon:l.icon,onClick:e.withModifiers(d,["stop","prevent"]),type:l.type},{default:e.withCtx(()=>[e.renderSlot(B.$slots,"default")]),_:3},8,["class","icon","onClick","type"])):(e.openBlock(),e.createBlock(H,{key:1,ref_key:"buttonRef",ref:i,class:e.normalizeClass(l.class),icon:l.icon,onClick:e.withModifiers(d,["stop","prevent"]),type:l.type},null,8,["class","icon","onClick","type"])),e.createVNode(v,{ref_key:"dMenuRef",ref:a,items:l.items,class:"dropdown-menu",style:e.normalizeStyle(u.value),"no-select":!0,onSelect:p,"render-item-title":l.renderItemTitle,"before-item":l.beforeItem},null,8,["items","style","render-item-title","before-item"])]))}},Ht={},At={class:"d-panel"};function Ft(t,n){return e.openBlock(),e.createElementBlock("div",At,[e.renderSlot(t.$slots,"default")])}const De=O(Ht,[["render",Ft]]),Rt={class:"card-header"},Wt={class:"modal-title"},Pt={class:"card-body"},jt={class:"card-footer"},Xt={__name:"DCard",setup(t){return(n,o)=>(e.openBlock(),e.createBlock(De,{class:"d-card"},{default:e.withCtx(()=>[e.createElementVNode("div",Rt,[e.createElementVNode("h5",Wt,[e.renderSlot(n.$slots,"title")])]),e.createElementVNode("div",Pt,[e.renderSlot(n.$slots,"default")]),e.createElementVNode("div",jt,[e.renderSlot(n.$slots,"footer")])]),_:3}))}},Yt=new Map;class Gt{constructor(n,o,l){this.remaining=o,this.callback=n,this.notifyItem=l,this.resume()}pause(){clearTimeout(this.notifyItem.timer),this.remaining-=Date.now()-this.start}resume(){this.start=Date.now(),clearTimeout(this.notifyItem.timer),this.notifyItem.timer=setTimeout(this.callback,this.remaining)}}const ne="[-+]?[0-9]*.?[0-9]+",we=[{name:"px",regexp:new RegExp(`^${ne}px$`)},{name:"%",regexp:new RegExp(`^${ne}%$`)},{name:"px",regexp:new RegExp(`^${ne}$`)}],qt=t=>{if(t==="auto")return{type:t,value:0};for(let n=0;n<we.length;n++){const o=we[n];if(o.regexp.test(t))return{type:o.name,value:parseFloat(t)}}return{type:"",value:t}},Ut=t=>{switch(typeof t){case"number":return{type:"px",value:t};case"string":return qt(t);default:return{type:"",value:t}}},$e={x:new Set(["left","center","right"]),y:new Set(["top","bottom"])},Zt=(t=>()=>t++)(0),Kt=t=>typeof t!="string"?[]:t.split(/\s+/gi).filter(Boolean),Jt=t=>{typeof t=="string"&&(t=Kt(t));let n=null,o=null;return t.forEach(l=>{$e.y.has(l)&&(o=l),$e.x.has(l)&&(n=l)}),{x:n,y:o}},le={position:["top","right"],cssAnimation:"fade",velocityAnimation:{enter:t=>({height:[t.clientHeight,0],opacity:[1,0]}),leave:{height:0,opacity:[0,1]}}},Qt={__name:"VelocityGroup",emits:["enter","leave","after-leave"],setup(t,{emit:n}){const o=(a,i)=>{n("enter",a,i)},l=(a,i)=>{n("leave",a,i)},s=()=>{n("after-leave")};return(a,i)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{tag:"span",css:!1,onEnter:o,onLeave:l,onAfterLeave:s},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3}))}},vt=Object.assign({inheritAttrs:!1},{__name:"CssGroup",props:{name:String},setup(t){const n=t;return(o,l)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{tag:"span",name:n.name},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["name"]))}}),eo=["data-id"],to=["onClick"],oo=["innerHTML"],no=["innerHTML"],lo={key:0,class:"d-notification-title"},so={class:"notification-content"},ao={__name:"DNotificationProvider",props:{group:{type:String,default:""},width:{type:[String,Number],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array,null],default:le.position},classes:{type:String,default:"d-notification"},animationType:{type:String,default:"css"},animation:{type:[String,Object],default:le.velocityAnimation},animationName:{type:String,default:le.cssAnimation},speed:{type:Number,default:300},duration:{type:Number,default:3e3},delay:{type:Number,default:0},max:{type:Number,default:1/0},ignoreDuplicates:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0},pauseOnHover:{type:Boolean,default:!1},dangerouslySetInnerHtml:{type:Boolean,default:!1}},emits:["click","destroy","start"],setup(t,{emit:n}){const o=t,l={IDLE:0,DESTROYED:2},s=e.ref([]),a=e.ref(null),i=e.ref(Yt.get("velocity")),c=e.computed(()=>o.animationType==="velocity"),r=e.computed(()=>c.value?Qt:vt),d=e.computed(()=>s.value.filter(m=>m.state!==l.DESTROYED)),p=e.computed(()=>Ut(o.width)),u=e.computed(()=>{const{x:m,y:T}=Jt(o.position),b=p.value.value,W=p.value.type,G={width:b+W};return T&&(G[T]="0px"),m&&(m==="center"?G.left=`calc(50% - ${+b/2}${W})`:G[m]="0px"),G}),_=e.computed(()=>"bottom"in u.value),B=m=>{n("click",m),o.closeOnClick&&S(m)},D=()=>{var m;o.pauseOnHover&&((m=a.value)==null||m.pause())},k=()=>{var m;o.pauseOnHover&&((m=a.value)==null||m.resume())},N=m=>{if(m.group||(m.group=""),m.data||(m.data={}),o.group!==m.group)return;if(m.clean||m.clear){x();return}const T=typeof m.duration=="number"?m.duration:o.duration,b=typeof m.speed=="number"?m.speed:o.speed,W=typeof m.ignoreDuplicates=="boolean"?m.ignoreDuplicates:o.ignoreDuplicates,{title:G,text:Wo,type:Po,data:jo,id:Xo}=m,Y={id:Xo||Zt(),title:G,text:Wo,type:Po,state:l.IDLE,speed:b,length:T+2*b,data:jo};T>=0&&(a.value=new Gt(()=>S(Y),Y.length,Y));const Yo=o.reverse?!_.value:_.value;let J=-1;const Go=d.value.some(ze=>ze.title===m.title&&ze.text===m.text);(!W||!Go)&&(Yo?(s.value.push(Y),n("start",Y),d.value.length>o.max&&(J=0)):(s.value.unshift(Y),n("start",Y),d.value.length>o.max&&(J=d.value.length-1)),J!==-1&&S(d.value[J]))},z=m=>{y(m)},$=m=>["d-notification-template",o.classes,m.type||""],R=m=>c.value?void 0:{transition:`all ${m.speed}ms`},S=m=>{clearTimeout(m.timer),m.state=l.DESTROYED,C(),n("destroy",m)},y=m=>{const T=s.value.find(b=>b.id===m);T&&S(T)},x=()=>{d.value.forEach(S)},V=(m,T)=>{var W;const b=(W=o.animation)==null?void 0:W[m];return typeof b=="function"?b(T):b},I=(m,T)=>{if(!c.value)return;const b=V("enter",m);i.value(m,b,{duration:o.speed,complete:T})},g=(m,T)=>{if(!c.value)return;const b=V("leave",m);i.value(m,b,{duration:o.speed,complete:T})};function C(){s.value=s.value.filter(m=>m.state!==l.DESTROYED)}return e.onMounted(()=>{E.on("notification-add",N),E.on("notification-close",z)}),(m,T)=>(e.openBlock(),e.createElementBlock("div",{class:"d-notification-group",style:e.normalizeStyle(u.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.value),{name:t.animationName,onEnter:I,onLeave:g,onAfterLeave:C},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,b=>(e.openBlock(),e.createElementBlock("div",{key:b.id,class:"d-notification-wrapper",style:e.normalizeStyle(R(b)),"data-id":b.id,onMouseenter:D,onMouseleave:k},[e.renderSlot(m.$slots,"body",{class:e.normalizeClass([t.classes,b.type]),item:b,close:()=>S(b)},()=>[e.createElementVNode("div",{class:e.normalizeClass($(b)),onClick:W=>B(b)},[t.dangerouslySetInnerHtml?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[b.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:"d-notification-title",innerHTML:b.timer},null,8,oo)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"notification-content",innerHTML:b.text},null,8,no)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.title?(e.openBlock(),e.createElementBlock("div",lo,e.toDisplayString(b.title),1)):e.createCommentVNode("",!0),e.createElementVNode("div",so,e.toDisplayString(b.text),1)],64))],10,to)])],44,eo))),128))]),_:3},40,["name"]))],4))}},ro={class:"d-info-progress-icon-container"},io={class:"d-info-progress-icon"},co={class:"d-info-progress-data-container"},po=["innerHTML"],mo={__name:"DInfoProgress",props:{style:[String,Object],label:String,progress:Number,icon:String,type:String},emits:["click"],setup(t,{emit:n}){const o=t,l=e.computed(()=>o.icon?L.getters.getIcon(o.icon):null);return(s,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["d-info-progress",o.type?`d-info-progress-${o.type}`:null]),style:e.normalizeStyle(o.style),onClick:a[0]||(a[0]=i=>{n("click",i)})},[e.createElementVNode("div",ro,[e.createElementVNode("div",io,[o.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:0,component:l.value,color:"inherit",size:17},null,8,["component"])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",co,[e.createElementVNode("div",{class:"d-info-progress-line",style:e.normalizeStyle("width: "+o.progress+"%;")},null,4),e.createElementVNode("div",{class:"d-info-progress-label",innerHTML:t.label},null,8,po)])],6))}},fo={class:"d-checkbox"},uo=["id","checked","disabled"],ho=["for"],go={__name:"DCheckbox",props:{label:String,modelValue:Boolean,disabled:{type:Boolean,default:!1},change:Function,checked:Boolean},emits:["update:modelValue"],setup(t,{emit:n}){const o=t,s=e.getCurrentInstance().uid,a=e.computed({get:()=>o.modelValue,set:i=>{n("update:modelValue",i)}});return(i,c)=>(e.openBlock(),e.createElementBlock("div",fo,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":c[0]||(c[0]=r=>a.value=r),id:`i-${e.unref(s)}`,type:"checkbox",checked:o.checked,disabled:o.disabled,onChange:c[1]||(c[1]=(...r)=>o.change&&o.change(...r))},null,40,uo),[[e.vModelCheckbox,a.value]]),e.createElementVNode("label",{for:`i-${e.unref(s)}`},e.toDisplayString(o.label),9,ho)]))}};async function Ce(t,n){return await Be(xe,{title:t,message:n})}async function Te(t,n){return await Be(Se,{title:t,message:n})}const yo={__name:"DDialogProvider",setup(t){return window.alert=Te,window.confirm=Ce,(n,o)=>(e.openBlock(),e.createBlock(e.unref(It)))}},_o={class:"d-select"},ko={key:0,class:"label"},bo=["value","selected","disabled"],Bo={__name:"DSelect",props:{label:String,size:String,options:Array,modelValue:String,scale:String},emits:["update:modelValue"],setup(t,{emit:n}){const o=t,l=e.computed(()=>o.scale?"d-select-"+o.scale:""),s=e.computed({get:()=>o.modelValue,set:a=>{n("update:modelValue",a)}});for(let a=0;a<o.options.length;a++)if(o.options[a].selected){s.value=o.options[a].value;break}return(a,i)=>(e.openBlock(),e.createElementBlock("div",_o,[o.label?(e.openBlock(),e.createElementBlock("div",ko,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("select",{"onUpdate:modelValue":i[0]||(i[0]=c=>s.value=c),class:e.normalizeClass(l.value),style:e.normalizeStyle(o.size==="wide"?"width:100%":"")},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,(c,r)=>(e.openBlock(),e.createElementBlock("option",{key:r,value:c.value,selected:c.selected,disabled:c.disabled},e.toDisplayString(c.label),9,bo))),128))],6),[[e.vModelSelect,s.value]])]))}},hn="",So={class:"d-tabs"},xo=["onClick"],Do=O({__name:"DTabs",props:{tabs:Array},setup(t){const n=t,o=e.toRef(n,"tabs"),l=e.ref(0),s=a=>{l.value=a};return(a,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",So,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(c,r)=>(e.openBlock(),e.createElementBlock("div",{key:r,class:e.normalizeClass([r===l.value?"active":"","d-tab-title"]),onClick:d=>s(r)},e.toDisplayString(c.label),11,xo))),128))]),(e.openBlock(),e.createBlock(e.KeepAlive,null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value[l.value].component)))],1024))],64))}},[["__scopeId","data-v-89cd9234"]]),yn="",wo={class:"d-grid"},$o=O({__name:"DGrid",props:{gap:{type:String,default:"1em"},colXs:{type:String,default:"repeat(1, 1fr)"},colSm:String,colMd:String,colLg:String,colXl:String,colXxl:String},setup(t){const n=t;e.useCssVars(p=>({"09eba472":r[0],"09eba434":r[1],"09eba3f6":r[2],"09eba3b8":r[3],"09eba37a":r[4],"09eba33c":r[5],"898eb2ac":n.gap}));const{colXs:o,colSm:l,colMd:s,colLg:a,colXl:i,colXxl:c}=e.toRefs(n),r=[o.value,l.value,s.value,a.value,i.value,c.value];let d=null;for(let p=0;p<r.length;p++)d||(d=r[0]),p>0&&(r[p]?d=r[p]:r[p]=d);return(p,u)=>(e.openBlock(),e.createElementBlock("div",wo,[e.renderSlot(p.$slots,"default",{},void 0,!0)]))}},[["__scopeId","data-v-b45e8130"]]),Co=["src","alt","title"],To={__name:"DImage",props:{src:String,srcFail:String,alt:String,title:String,width:String,height:String,radius:String},setup(t){const n=t,o=e.ref(null),l=new Image;return l.onload=()=>{o.value=l.src},l.onerror=()=>{o.value=n.srcFail},e.onMounted(()=>{l.src=n.src}),(s,a)=>o.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.value,alt:n.alt,title:n.title,style:e.normalizeStyle({width:n.width,height:n.height,borderRadius:n.radius})},null,12,Co)):e.createCommentVNode("",!0)}},kn="",Eo={class:"d-textarea"},No={key:0,class:"label"},Vo=["rows","cols","placeholder"],Io=O({__name:"DTextarea",props:{label:String,placeholder:String,scale:String,modelValue:String,rows:{type:Number,default:3},cols:{type:Number,default:null},focus:Boolean},emits:["update:modelValue"],setup(t,{expose:n,emit:o}){const l=t,s=e.ref(null),a=e.computed(()=>l.scale==="small"?"d-textarea-small":l.scale==="large"?"d-textarea-large":""),i=e.computed({get:()=>l.modelValue,set:r=>{o("update:modelValue",r)}});e.onMounted(()=>{l.focus&&c()});const c=()=>{s.value.focus()};return n({focus:c}),(r,d)=>(e.openBlock(),e.createElementBlock("div",Eo,[l.label?(e.openBlock(),e.createElementBlock("div",No,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("textarea",{ref_key:"inputRef",ref:s,"onUpdate:modelValue":d[0]||(d[0]=p=>i.value=p),rows:l.rows,cols:l.cols,placeholder:l.placeholder,class:e.normalizeClass(a.value),style:{width:"100%"}},null,10,Vo),[[e.vModelText,i.value]])]))}},[["__scopeId","data-v-0e805d5d"]]),se=t=>{typeof t=="string"&&(t={title:"",text:t}),typeof t=="object"&&E.emit("notification-add",t)};se.close=t=>{E.emit("notification-close",t)};const Lo=()=>({notify:se}),Mo={mounted:function(t,n){t.clickOutsideEvent=function(o){t===o.target||t.contains(o.target)||n.value(o,t)},document.addEventListener("click",t.clickOutsideEvent)},unmounted:function(t){document.removeEventListener("click",t.clickOutsideEvent)}},zo={beforeMount(t,n){t._keydownCallback=o=>{o.key===n.arg&&n.value()},document.addEventListener("keydown",t._keydownCallback)},unmounted(t,n){document.removeEventListener("keydown",t._keydownCallback),delete t._keydownCallback}},Oo={beforeMount(t){t.focus()}};function Ee(t){return t.type.indexOf("mouse")!==-1?t.clientX:t.touches[0].clientX}function Ne(t){return t.type.indexOf("mouse")!==-1?t.clientY:t.touches[0].clientY}var Ho=function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,n)}catch{}return t}(),Ao={disableClick:!1,tapTolerance:10,swipeTolerance:30,touchHoldTolerance:400,longTapTimeInterval:400,touchClass:"",dragFrequency:100,rollOverFrequency:100};function U(t){var n=this.$$touchObj,o=t.type.indexOf("touch")>=0,l=t.type.indexOf("mouse")>=0,s=this;o&&(n.lastTouchStartTime=t.timeStamp),!(l&&n.lastTouchStartTime&&t.timeStamp-n.lastTouchStartTime<350)&&(n.touchStarted||(Me(this),n.touchStarted=!0,n.touchMoved=!1,n.swipeOutBounded=!1,n.startX=Ee(t),n.startY=Ne(t),n.currentX=0,n.currentY=0,n.touchStartTime=t.timeStamp,n.hasSwipe=M(this,"swipe")||M(this,"swipe.left")||M(this,"swipe.right")||M(this,"swipe.top")||M(this,"swipe.bottom"),M(this,"hold")&&(n.touchHoldTimer=setTimeout(function(){n.touchHoldTimer=null,A(t,s,"hold")},n.options.touchHoldTolerance)),A(t,this,"press")))}function Z(t){var n=this.$$touchObj,o=Ee(t),l=Ne(t),s=n.currentX!=o||n.currentY!=l;if(n.currentX=o,n.currentY=l,n.touchMoved){if(n.hasSwipe&&!n.swipeOutBounded){var i=n.options.swipeTolerance;n.swipeOutBounded=Math.abs(n.startX-n.currentX)>i&&Math.abs(n.startY-n.currentY)>i}}else{var a=n.options.tapTolerance;n.touchMoved=Math.abs(n.startX-n.currentX)>a||Math.abs(n.startY-n.currentY)>a,n.touchMoved&&(re(n),A(t,this,"drag.once"))}if(M(this,"rollover")&&s){var c=t.timeStamp,r=n.options.rollOverFrequency;(n.touchRollTime==null||c>n.touchRollTime+r)&&(n.touchRollTime=c,A(t,this,"rollover"))}if(M(this,"drag")&&n.touchStarted&&n.touchMoved&&s){var c=t.timeStamp,r=n.options.dragFrequency;(n.touchDragTime==null||c>n.touchDragTime+r)&&(n.touchDragTime=c,A(t,this,"drag"))}}function Ve(){var t=this.$$touchObj;re(t),ae(this),t.touchStarted=t.touchMoved=!1,t.startX=t.startY=0}function K(t){var n=this.$$touchObj,o=t.type.indexOf("touch")>=0,l=t.type.indexOf("mouse")>=0;o&&(n.lastTouchEndTime=t.timeStamp);var s=o&&!n.touchHoldTimer;if(re(n),n.touchStarted=!1,ae(this),!(l&&n.lastTouchEndTime&&t.timeStamp-n.lastTouchEndTime<350))if(A(t,this,"release"),n.touchMoved){if(n.hasSwipe&&!n.swipeOutBounded){var a=n.options.swipeTolerance,i,c=Math.abs(n.startY-n.currentY),r=Math.abs(n.startX-n.currentX);(c>a||r>a)&&(c>a?i=n.startY>n.currentY?"top":"bottom":i=n.startX>n.currentX?"left":"right",M(this,"swipe."+i)?A(t,this,"swipe."+i,i):A(t,this,"swipe",i))}}else if(M(this,"longtap")&&t.timeStamp-n.touchStartTime>n.options.longTapTimeInterval)t.cancelable&&t.preventDefault(),A(t,this,"longtap");else if(M(this,"hold")&&s){t.cancelable&&t.preventDefault();return}else A(t,this,"tap")}function Ie(){Me(this)}function Le(){ae(this)}function M(t,n){var o=t.$$touchObj.callbacks[n];return o!=null&&o.length>0}function A(t,n,o,l){var s=n.$$touchObj,a=s.callbacks[o];if(a==null||a.length===0)return null;for(var i=0;i<a.length;i++){var c=a[i];c.modifiers.stop&&t.stopPropagation(),c.modifiers.prevent&&t.preventDefault(),!(c.modifiers.self&&t.target!==t.currentTarget)&&typeof c.value=="function"&&(l?c.value(l,t):c.value(t))}}function Me(t){var n=t.$$touchObj.options.touchClass;n&&t.classList.add(n)}function ae(t){var n=t.$$touchObj.options.touchClass;n&&t.classList.remove(n)}function re(t){t.touchHoldTimer&&(clearTimeout(t.touchHoldTimer),t.touchHoldTimer=null)}function Fo(t,n){var o=t.$$touchObj||{callbacks:{},hasBindTouchEvents:!1,options:Ao};return n&&(o.options=Object.assign({},o.options,n)),t.$$touchObj=o,t.$$touchObj}const Ro={beforeMount:function(t,n){const o=Fo(t);let l=Ho?{passive:!0}:!1;const s=n.arg||"tap";switch(s){case"swipe":let a=n.modifiers;if(a.left||a.right||a.top||a.bottom){for(let i in n.modifiers)if(["left","right","top","bottom"].indexOf(i)>=0){let c="swipe."+i;o.callbacks[c]=o.callbacks[c]||[],o.callbacks[c].push(n)}}else o.callbacks.swipe=o.callbacks.swipe||[],o.callbacks.swipe.push(n);break;case"press":case"drag":n.modifiers.disablePassive&&(l=!1);default:o.callbacks[s]=o.callbacks[s]||[],o.callbacks[s].push(n)}o.hasBindTouchEvents||(t.addEventListener("touchstart",U,l),t.addEventListener("touchmove",Z,l),t.addEventListener("touchcancel",Ve),t.addEventListener("touchend",K),o.options.disableClick||(t.addEventListener("mousedown",U),t.addEventListener("mousemove",Z),t.addEventListener("mouseup",K),t.addEventListener("mouseenter",Ie),t.addEventListener("mouseleave",Le)),o.hasBindTouchEvents=!0)},unmounted:function(t){t.removeEventListener("touchstart",U),t.removeEventListener("touchmove",Z),t.removeEventListener("touchcancel",Ve),t.removeEventListener("touchend",K),t.$$touchObj&&!t.$$touchObj.options.disableClick&&(t.removeEventListener("mousedown",U),t.removeEventListener("mousemove",Z),t.removeEventListener("mouseup",K),t.removeEventListener("mouseenter",Ie),t.removeEventListener("mouseleave",Le)),delete t.$$touchObj}};f.DAccordion=ut,f.DAlertDialog=Se,f.DBadge=ce,f.DButton=H,f.DCard=Xt,f.DCheckbox=go,f.DCollapse=de,f.DConfigProvider=bt,f.DConfirmDialog=xe,f.DContextMenu=he,f.DDialogProvider=yo,f.DDrag=pe,f.DDrop=ue,f.DDropdown=Ot,f.DGlobalStore=j,f.DGrid=$o,f.DIcon=P,f.DIconStore=L,f.DImage=To,f.DInfoProgress=mo,f.DInput=et,f.DLayoutAdmin=kt,f.DLayoutContent=be,f.DLayoutFooter=_e,f.DLayoutHeader=ge,f.DLayoutSidebar=ke,f.DLayoutTab=ye,f.DMenu=v,f.DModal=te,f.DNotificationProvider=ao,f.DPanel=De,f.DScroll=St,f.DScrollProvider=Bt,f.DSelect=Bo,f.DTabs=Do,f.DTextarea=Io,f.DTransferStore=q,f.DTree=ee,f.DTreeItem=me,f.DTreeStore=h,f.alert=Te,f.clickOutside=Mo,f.confirm=Ce,f.emitter=E,f.eventsBus=fe,f.focus=Oo,f.keydown=zo,f.notify=se,f.touch=Ro,f.useNotification=Lo,Object.defineProperty(f,Symbol.toStringTag,{value:"Module"})});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.dark .context-menu,.dark .dropdown-menu{background-color:#34383e;border:solid 1px #525252;box-shadow:0 0 6px #2f2b2b}.light .context-menu,.light .dropdown-menu{color:#626262;background-color:#fbfbfb;border:solid 1px #d2d2d2;box-shadow:0 0 6px #b9b9b9}.context-menu,.dropdown-menu{position:absolute;border-radius:5px;padding:5px!important;list-style:none;margin:0}.context-menu li a,.dropdown-menu li a{display:block;color:#ffffffb3;padding:8px 10px;text-decoration:none}.context-menu li a:hover,.dropdown-menu li a:hover{color:#fffc;background-color:#ffffff1a}.context-menu .hr,.dropdown-menu .hr{height:1px;background-color:#ffffff1a;border:0;margin:0}a{text-decoration:none;transition:all .3s}.button{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;padding:0 .7rem;border-radius:5px;transition:all .2s;font-weight:400;margin:.25rem .125rem;height:32px;white-space:nowrap}.button.d-button-icon{padding:0 7px}.button.button-sm{font-size:.8em;height:24px;padding:0 .6em}.button.button-sm.d-button-sm-icon{padding:0 5px}.button.button-lg{font-size:1.3em;height:38px;padding:0 .8rem}.button.button-lg.d-button-lg-icon{padding:0 10px}.button.button-text{padding:0;background:rgba(255,255,255,0)!important;border:0}.button.button-ext{display:inline-flex;flex-direction:row;justify-content:center;align-items:center;gap:5px}.button.button-ext.button-sm{gap:4px}.button.button-ext.button-lg{gap:6px}.button.button-ext .icon{display:inline-flex!important;flex-direction:row;justify-content:center;align-items:center}.button.button-ext .icon svg{width:1.2em;height:1.2em}.label{margin-bottom:5px;font-size:.9em;opacity:.7}.d-input .d-input-small,.d-textarea .d-input-small{font-size:.8em;height:24px}.d-input .d-input-large,.d-textarea .d-input-large{font-size:1.2em;height:38px}.d-input .d-textarea-small,.d-textarea .d-textarea-small{font-size:.8em}.d-input .d-textarea-large,.d-textarea .d-textarea-large{font-size:1.2em}.d-input .d-input-pre-button,.d-textarea .d-input-pre-button{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin:0}.d-input .d-input-post-button,.d-textarea .d-input-post-button{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;margin:0}.d-input .d-input-pre-field,.d-textarea .d-input-pre-field{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.d-input .d-input-post-field,.d-textarea .d-input-post-field{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.d-select .d-select-small{font-size:.8em;height:24px}.d-select .d-select-large{font-size:1.2em;height:38px}.d-input input,.d-select select{font-size:1.1em;border-style:solid;border-width:1px;border-radius:5px;padding:1px 7px 0;height:32px}.d-textarea textarea{font-size:1.1em;border-style:solid;border-width:1px;border-radius:5px;padding:2px 7px}.d-checkbox input[type=checkbox]{position:absolute;z-index:-1;opacity:0}.d-checkbox input[type=checkbox]+label{display:inline-flex;align-items:center;-webkit-user-select:none;user-select:none}.d-checkbox input[type=checkbox]+label:before{content:"";display:inline-block;width:1em;height:1em;flex-shrink:0;flex-grow:0;border-radius:.25em;margin-right:.5em;background-repeat:no-repeat;background-position:center center;background-size:50% 50%;transition:all .2s}.d-checkbox input[type=checkbox]:checked+label:before{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");background-size:10px}.icon{line-height:1em;text-align:center;display:inline-block;position:relative;fill:currentColor;transform:translateZ(0)}.icon svg{width:1em;height:1em}.accordion{-webkit-user-select:none;user-select:none}.accordion .accordion-item,.accordion .accordion-sub{cursor:pointer;padding:.25rem .125rem}.badge{display:inline-block;padding:3px 4px;margin:.25rem .125rem;border-radius:5px;line-height:1}.badge.badge-sm{font-size:.8em;padding:2px 3px}.badge.badge-lg{font-size:1.2em;padding:4px 6px}.tree{padding-left:0;-webkit-user-select:none;user-select:none;list-style:none;margin:0}.tree.accordion .tree-item ul{padding-left:0}.tree .tree-divider{height:1px;border:0;margin:5px 0}.tree .tree-divider-header{font-size:.7em;padding:3px 0;border:0;display:flex;align-items:center;text-transform:uppercase;white-space:nowrap}.tree .tree-divider-header:before{flex:95em;content:"";height:1px;margin:5px;min-width:15px}.tree .tree-divider-header:after{flex:5em;content:"";height:1px;margin:5px}.tree .tree-item{cursor:pointer;line-height:1.5;overflow:hidden;position:relative}.tree .tree-item>div{padding:3px 5px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-radius:5px}.tree .tree-item>div.selected{transition:all 50ms}.tree .tree-item>div>div{display:flex;flex-direction:row;justify-content:start;align-items:center;gap:3px}.tree .tree-item>div .icon{display:inline-flex!important;flex-direction:row;justify-content:center;align-items:center;transition:all .2s}.tree .tree-item>div .tree-open-post{transform:rotate(-90deg)}.tree .tree-item>div .tree-open-pre{transform:rotate(90deg)}.tree .tree-item ul{padding-left:20px;list-style:none}.tree .item-title{display:table;table-layout:fixed;width:100%}.tree .item-title>div{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tree.tree-compact{font-size:.9em}.tree.tree-compact .tree-item{line-height:1}.tree.tree-compact .tree-item>div{padding:1px 3px}.d-layout{display:flex;flex-direction:column;width:100%;height:100%}.d-layout .d-layout-header{left:0;top:0;flex-shrink:0;box-sizing:border-box;width:100%;transition-property:padding-left}.d-layout .d-layout-content{flex-grow:1;box-sizing:border-box;width:100%;transition-property:padding-left}.d-layout .d-layout-footer{left:0;bottom:0;flex-shrink:0;box-sizing:border-box;width:100%;transition-property:padding-left}.d-layout .d-layout-sidebar{position:fixed;left:0;top:0;box-sizing:border-box;width:100%;height:100%;transition-property:all;overflow-y:hidden}.d-layout .d-layout-sidebar-mask{position:fixed;left:0;top:0;z-index:1002;width:100%;height:100%;transition-property:background-color}.d-layout .d-layout-tab{left:0;flex-shrink:0;box-sizing:border-box;width:100%;transition-property:padding-left}.context-menu{z-index:3000}.context-menu.tree .item-title{width:auto}.dropdown{position:relative}.dropdown-menu{z-index:3000}.dropdown-menu.tree .item-title{width:auto}.d-panel{border-radius:5px;padding:.4rem .8rem;overflow:hidden}.d-card{padding:0}.d-card .card-header{padding:.4rem .8rem}.d-card .card-header h5{margin:0;padding:0;font-size:1.2em;font-weight:400}.d-card .card-body,.d-card .card-footer{padding:.4rem .8rem}.modal{position:fixed;top:0;bottom:0;left:0;right:0;height:100%;width:100%;padding:0;margin:0;display:flex;align-items:center;justify-content:center;z-index:5000}.modal .modal-dialog{background-color:#34383e;border-radius:5px;padding:0}.modal .modal-dialog .modal-content .modal-header{padding:15px}.modal .modal-dialog .modal-content .modal-header h5{margin:0;padding:0;font-size:1.2em;font-weight:400}.modal .modal-dialog .modal-content .modal-body{padding:20px 15px}.modal .modal-dialog .modal-content .modal-footer{padding:10px 15px}.fade-enter-active,.fade-leave-active,.fade-move{transition:all .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.d-notification-group{display:block;position:fixed;z-index:5000}.d-notification-group .d-notification-wrapper{display:block;width:100%;margin:0;padding:0}.d-notification-group .d-notification-template{display:block;box-sizing:border-box;text-align:left}.d-notification-group .d-notification-template.d-notification{display:block;box-sizing:border-box;text-align:left;padding:.4rem .8rem;margin:5px 5px 0;border-radius:5px}.d-notification-group .d-notification-template.d-notification .d-notification-title{font-weight:600}.d-info-progress{border-radius:5px;display:flex;align-items:center;justify-content:flex-start;height:23px}.d-info-progress .d-info-progress-icon-container{width:31px;height:31px;margin-top:-4px;margin-bottom:-4px;position:relative}.d-info-progress .d-info-progress-icon-container .d-info-progress-icon{position:absolute;z-index:10;width:31px;height:31px;border-radius:5px;display:flex;align-items:center;justify-content:center}.d-info-progress .d-info-progress-data-container{position:relative;flex:1;height:100%}.d-info-progress .d-info-progress-data-container .d-info-progress-line{position:absolute;top:0;bottom:0;left:0;border-top-right-radius:5px;border-bottom-right-radius:5px}.d-info-progress .d-info-progress-data-container .d-info-progress-label{position:absolute;width:100%;padding-left:5px;top:0;bottom:0}.light .button{background-color:#e0e0e0;color:gray}.light .button:hover{color:#666;background-color:#cccc}.light .button.button-blue{background-color:#97d9f1;color:#43565c}.light .button.button-blue:hover{color:#2d3a3f;background-color:#51c0e7cc}.light .button.button-green{background-color:#a0e7ce;color:#4f4f4f}.light .button.button-green:hover{color:#363636;background-color:#60d7adcc}.light .button.button-red{background-color:#ffbebe;color:#ae4a4a}.light .button.button-red:hover{background-color:#ff9292cc;color:#8a3b3b}.light .button.button-orange{background-color:#ffdc9b;color:#856a39}.light .button.button-orange:hover{background-color:#ffc458cc;color:#614e2a}.light .button.button-violet{background-color:#dacaff;color:#7456b7}.light .button.button-violet:hover{background-color:#c2a7ffcc;color:#5c4199}.light .button.button-outline{outline:solid 1px #E0E0E0;color:gray;background-color:transparent}.light .button.button-outline:hover{color:gray;background-color:#cccc}.light .button.button-outline-blue{outline:solid 1px #97D9F1;background-color:transparent;color:#1ca2d3}.light .button.button-outline-blue:hover{color:#43565c;background-color:#51c0e7cc}.light .button.button-outline-green{outline:solid 1px #A0E7CE;background-color:transparent;color:#30be8c}.light .button.button-outline-green:hover{color:#4f4f4f;background-color:#60d7adcc}.light .button.button-outline-red{outline:solid 1px #FFBEBE;background-color:transparent;color:#ff2525}.light .button.button-outline-red:hover{color:#ae4a4a;background-color:#ff9292cc}.light .button.button-outline-orange{outline:solid 1px #FFDC9B;background-color:transparent;color:#ffa602}.light .button.button-outline-orange:hover{color:#856a39;background-color:#ffc458cc}.light .button.button-outline-violet{outline:solid 1px #DACAFF;background-color:transparent;color:#6f31ff}.light .button.button-outline-violet:hover{color:#7456b7;background-color:#c2a7ffcc}.dark .button{background-color:#ffffff1a;color:#e5e5e5}.dark .button:hover{color:#fff;background-color:#ffffff26}.dark .button.button-blue{background-color:#02769f}.dark .button.button-blue:hover{background-color:#02769fcc}.dark .button.button-green{background-color:#11755b}.dark .button.button-green:hover{background-color:#11755bcc}.dark .button.button-red{background-color:#da4444}.dark .button.button-red:hover{background-color:#da4444cc}.dark .button.button-orange{background-color:#d48900}.dark .button.button-orange:hover{background-color:#d48900cc}.dark .button.button-violet{background-color:#7750d2}.dark .button.button-violet:hover{background-color:#7750d2cc}.dark .button.button-outline{outline:solid 1px rgba(255,255,255,.15);color:#a2a2a2;background-color:transparent}.dark .button.button-outline:hover{color:#fff;background-color:#ffffff26}.dark .button.button-outline-blue{outline:solid 1px #02769f;background-color:transparent;color:#039bd1}.dark .button.button-outline-blue:hover{color:#fff;background-color:#02769f}.dark .button.button-outline-green{outline:solid 1px #11755b;background-color:transparent;color:#17a27e}.dark .button.button-outline-green:hover{color:#fff;background-color:#11755b}.dark .button.button-outline-red{outline:solid 1px #da4444;background-color:transparent;color:#e26f6f}.dark .button.button-outline-red:hover{color:#fff;background-color:#da4444}.dark .button.button-outline-orange{outline:solid 1px #d48900;background-color:transparent;color:#ffa808}.dark .button.button-outline-orange:hover{color:#fff;background-color:#d48900}.dark .button.button-outline-violet{outline:solid 1px #7750d2;background-color:transparent;color:#9779dc}.dark .button.button-outline-violet:hover{color:#fff;background-color:#7750d2}.badge{background-color:#e0e0e0;color:gray}.badge.badge-blue{background-color:#97d9f1;color:#43565c}.badge.badge-green{background-color:#a0e7ce;color:#4f4f4f}.badge.badge-red{background-color:#ffbebe;color:#ae4a4a}.badge.badge-orange{background-color:#ffdc9b;color:#856a39}.badge.badge-violet{background-color:#dacaff;color:#7456b7}.badge.badge-stress-gray{color:#fff;background-color:#949494}.badge.badge-stress-blue{color:#fff;background-color:#1ca2d3}.badge.badge-stress-green{color:#fff;background-color:#30be8c}.badge.badge-stress-red{color:#fff;background-color:#ff2525}.badge.badge-stress-orange{color:#fff;background-color:#ffa602}.badge.badge-stress-violet{color:#fff;background-color:#6f31ff}.dark .badge{background-color:#43464c;color:#e5e5e5}.dark .badge.badge-blue{background-color:#02769f}.dark .badge.badge-green{background-color:#11755b}.dark .badge.badge-red{background-color:#da4444}.dark .badge.badge-orange{background-color:#d48900}.dark .badge.badge-violet{background-color:#7750d2}.dark .badge.badge-stress-gray{color:#a8aaac;background-color:#232529}.dark .badge.badge-stress-blue{color:#70daff;background-color:#000608}.dark .badge.badge-stress-green{color:#6bffbc;background-color:#000}.dark .badge.badge-stress-red{color:#ffafaf;background-color:#6f1616}.dark .badge.badge-stress-orange{color:#ffba3b;background-color:#3b2600}.dark .badge.badge-stress-violet{color:#b6a1e7;background-color:#341c6d}.light .tree .tree-divider{background-color:#0003}.light .tree .tree-divider-header{color:#0006}.light .tree .tree-divider-header:before{background-color:#0003}.light .tree .tree-divider-header:after{background-color:#0003}.light .tree .tree-item>div.selected{background-color:#0000001a}@media (hover){.light .tree .tree-item>div:hover{background-color:#0000001a}}.dark .tree .tree-divider{background-color:#fff3}.dark .tree .tree-divider-header{color:#fff6}.dark .tree .tree-divider-header:before{background-color:#fff3}.dark .tree .tree-divider-header:after{background-color:#fff3}.dark .tree .tree-item>div.selected{background-color:#ffffff1a}@media (hover){.dark .tree .tree-item>div:hover{background-color:#ffffff1a}}.dark .d-input input,.dark .d-select select,.dark .d-textarea textarea{color:#ccc;background-color:#232529;border-color:#4a4a4a}.dark .d-input input:focus,.dark .d-select select:focus,.dark .d-textarea textarea:focus{outline:none!important;border-color:#666}.light .d-input input,.light .d-select select,.light .d-textarea textarea{color:#333;background-color:#fff;border-color:#e5e5e5}.light .d-input input:focus,.light .d-select select:focus,.light .d-textarea textarea:focus{outline:none!important;border-color:#d3d3d3}.dark .d-checkbox input[type=checkbox]+label:before{border:1px solid #51545a;background-color:#232529}.dark .d-checkbox input[type=checkbox]:checked+label:before{border-color:#51545a;background-color:#232529}.dark .d-checkbox input[type=checkbox]:not(:disabled):not(:checked)+label:hover:before{border-color:#7c7f83}.dark .d-checkbox input[type=checkbox]:not(:disabled):active+label:before{background-color:#b3d7ff;border-color:#7c7f83}.dark .d-checkbox input[type=checkbox]:focus:not(:checked)+label:before{border-color:#7c7f83}.dark .d-checkbox input[type=checkbox]:disabled+label:before{background-color:#606367}.light .d-checkbox input[type=checkbox]+label:before{border:1px solid #b7b8ba;background-color:#fff}.light .d-checkbox input[type=checkbox]:checked+label:before{border-color:#7f7f7f;background-color:#43464c}.light .d-checkbox input[type=checkbox]:not(:disabled):not(:checked)+label:hover:before{border-color:#9a9c9f}.light .d-checkbox input[type=checkbox]:not(:disabled):active+label:before{background-color:#b3d7ff;border-color:#9a9c9f}.light .d-checkbox input[type=checkbox]:focus:not(:checked)+label:before{border-color:#9a9c9f}.light .d-checkbox input[type=checkbox]:disabled+label:before{background-color:#d4d4d6}.dark{background-color:#34383e;color:#ccc}.dark .d-blue{color:#02769f}.dark .d-green{color:#11755b}.dark .d-red{color:#da4444}.dark .d-orange{color:#d48900}.dark .d-violet{color:#7750d2}.dark .d-stress-blue{color:#51c0e7}.dark .d-stress-green{color:#60d7ad}.dark .d-stress-red{color:#ff9292}.dark .d-stress-orange{color:#ffc458}.dark .d-stress-violet{color:#c2a7ff}.dark .text-blue{color:#51c0e7}.dark .text-green{color:#60d7ad}.dark .text-red{color:#ff9292}.dark .text-orange{color:#ffc458}.dark .text-violet{color:#c2a7ff}.dark .bg-blue{background-color:#02769f}.dark .bg-green{background-color:#11755b}.dark .bg-red{background-color:#da4444}.dark .bg-orange{background-color:#d48900}.dark .bg-violet{background-color:#7750d2}.light{background-color:#fff;color:#333}.light .d-blue{color:#51c0e7}.light .d-green{color:#60d7ad}.light .d-red{color:#ff9292}.light .d-orange{color:#ffc458}.light .d-violet{color:#c2a7ff}.light .d-stress-blue{color:#02769f}.light .d-stress-green{color:#11755b}.light .d-stress-red{color:#da4444}.light .d-stress-orange{color:#d48900}.light .d-stress-violet{color:#7750d2}.light .bg-blue{background-color:#51c0e7}.light .bg-green{background-color:#60d7ad}.light .bg-red{background-color:#ff9292}.light .bg-orange{background-color:#ffc458}.light .bg-violet{background-color:#c2a7ff}.light .text-blue{color:#02769f}.light .text-green{color:#11755b}.light .text-red{color:#da4444}.light .text-orange{color:#d48900}.light .text-violet{color:#7750d2}.light a{color:#6e7175}.light a:hover{color:#111315}.dark a{color:#c5c6c8}.dark a:hover{color:#e2e3e3}.light .lms_scroller{background:#c4c4c4}.dark .lms_scroller{background:#868686}.light .d-layout{background-color:#fff}.light .d-layout .d-layout-sidebar{background-color:#e2e3e3}.light .d-layout .d-layout-header,.light .d-layout .d-layout-footer{background-color:#f0f1f1}.light .d-layout .d-layout-tab{background-color:#fbfbfb}.dark .d-layout{background-color:#34383e}.dark .d-layout .d-layout-sidebar{background-color:#51545a}.dark .d-layout .d-layout-header,.dark .d-layout .d-layout-footer{background-color:#43464c}.dark .d-layout .d-layout-tab{background-color:#2b2f34}.dark .d-panel{background-color:#43464c}.light .d-panel{background-color:#f0f1f1}.dark .d-card .card-header{background-color:#51545a;border-bottom:solid 1px #44474C}.dark .d-card .card-footer{background-color:#51545a;border-top:solid 1px #44474C}.light .card-header,.light .card-footer{background-color:#e2e3e3}.dark .modal{background-color:#00000080}.dark .modal .modal-dialog{box-shadow:0 0 15px 5px #00000080}.dark .modal .modal-dialog .modal-content{color:#ccc}.dark .modal .modal-dialog .modal-content .modal-header{border-bottom:solid 1px rgba(255,255,255,.1);background-color:#0000001a}.dark .modal .modal-dialog .modal-content .modal-footer{border-top:solid 1px rgba(255,255,255,.1);background-color:#0000001a}.light .modal{background-color:#ffffff80}.light .modal .modal-dialog{background-color:#fff;box-shadow:0 0 10px 5px #0003}.light .modal .modal-dialog .modal-content{color:#6e7175}.light .modal .modal-dialog .modal-content .modal-header{border-bottom:solid 1px rgba(0,0,0,.1);background-color:#0000000d}.light .modal .modal-dialog .modal-content .modal-footer{border-top:solid 1px rgba(0,0,0,.1);background-color:#0000000d}.light .d-notification-group .d-notification-template{background:white}.light .d-notification-group .d-notification-template.d-notification{color:#333;background:#f0f1f1;box-shadow:0 0 5px #0000004d}.light .d-notification-group .d-notification-template.d-notification.primary{background:#97D9F1}.light .d-notification-group .d-notification-template.d-notification.warning{background:#FFDC9B}.light .d-notification-group .d-notification-template.d-notification.error{background:#FFBEBE}.light .d-notification-group .d-notification-template.d-notification.success{background:#A0E7CE}.dark .d-notification-group .d-notification-template{background:white}.dark .d-notification-group .d-notification-template.d-notification{color:#fff;background:#6e7175;box-shadow:0 0 5px #000000b3}.dark .d-notification-group .d-notification-template.d-notification.primary{background:#02769f}.dark .d-notification-group .d-notification-template.d-notification.warning{background:#d48900}.dark .d-notification-group .d-notification-template.d-notification.error{background:#da4444}.dark .d-notification-group .d-notification-template.d-notification.success{background:#11755b}.dark .d-info-progress{background-color:#2b2f34}.dark .d-info-progress .d-info-progress-icon-container .d-info-progress-icon{background-color:#606367;box-shadow:0 0 5px #0003}.dark .d-info-progress .d-info-progress-data-container .d-info-progress-line{background-color:#606367}.dark .d-info-progress.d-info-progress-primary .d-info-progress-icon,.dark .d-info-progress.d-info-progress-primary .d-info-progress-line{background-color:#02769f}.dark .d-info-progress.d-info-progress-success .d-info-progress-icon,.dark .d-info-progress.d-info-progress-success .d-info-progress-line{background-color:#11755b}.dark .d-info-progress.d-info-progress-error .d-info-progress-icon,.dark .d-info-progress.d-info-progress-error .d-info-progress-line{background-color:#da4444}.dark .d-info-progress.d-info-progress-warning .d-info-progress-icon,.dark .d-info-progress.d-info-progress-warning .d-info-progress-line{background-color:#d48900}.light .d-info-progress{background-color:#f0f1f1}.light .d-info-progress .d-info-progress-icon-container .d-info-progress-icon{background-color:#b7b8ba;box-shadow:0 0 5px #0003}.light .d-info-progress .d-info-progress-data-container .d-info-progress-line{background-color:#b7b8ba}.light .d-info-progress.d-info-progress-primary .d-info-progress-icon,.light .d-info-progress.d-info-progress-primary .d-info-progress-line{background-color:#97d9f1}.light .d-info-progress.d-info-progress-success .d-info-progress-icon,.light .d-info-progress.d-info-progress-success .d-info-progress-line{background-color:#a0e7ce}.light .d-info-progress.d-info-progress-error .d-info-progress-icon,.light .d-info-progress.d-info-progress-error .d-info-progress-line{background-color:#ffbebe}.light .d-info-progress.d-info-progress-warning .d-info-progress-icon,.light .d-info-progress.d-info-progress-warning .d-info-progress-line{background-color:#ffdc9b}.light .d-tabs{border-bottom:solid 1px rgba(0,0,0,.1)}.light .d-tabs .d-tab-title:not(.active){border-bottom:solid 3px transparent}.light .d-tabs .d-tab-title.active{border-bottom:solid 3px #51c0e7}.dark .d-tabs{border-bottom:solid 1px rgba(255,255,255,.1)}.dark .d-tabs .d-tab-title:not(.active){border-bottom:solid 3px transparent}.dark .d-tabs .d-tab-title.active{border-bottom:solid 3px #51c0e7}body{position:relative;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-weight:400;font-style:normal;font-size:.95rem}*{-webkit-tap-highlight-color:transparent;box-sizing:border-box}.h1,h1{font-size:calc(1rem + .9vw)}.h2,h2{font-size:calc(1rem + .5vw)}.h3,h3{font-size:calc(1rem + .3vw)}.h4,h4{font-size:calc(1rem + .1vw)}.h5,h5{font-size:1rem}.h6,h6{font-size:.8rem}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.p-0{padding:0}.pt-0{padding-top:0}.pb-0{padding-bottom:0}.pl-0{padding-left:0}.pr-0{padding-right:0}.p-1{padding:10px}.pt-1{padding-top:10px}.pb-1{padding-bottom:10px}.pl-1{padding-left:10px}.pr-1{padding-right:10px}.p-2{padding:20px}.pt-2{padding-top:20px}.pb-2{padding-bottom:20px}.pl-2{padding-left:20px}.pr-2{padding-right:20px}.p-3{padding:30px}.pt-3{padding-top:30px}.pb-3{padding-bottom:30px}.pl-3{padding-left:30px}.pr-3{padding-right:30px}.p-4{padding:40px}.pt-4{padding-top:40px}.pb-4{padding-bottom:40px}.pl-4{padding-left:40px}.pr-4{padding-right:40px}.p-5{padding:50px}.pt-5{padding-top:50px}.pb-5{padding-bottom:50px}.pl-5{padding-left:50px}.pr-5{padding-right:50px}.m-0{margin:0}.mt-0{margin-top:0}.mb-0{margin-bottom:0}.ml-0{margin-left:0}.mr-0{margin-right:0}.m-1{margin:10px}.mt-1{margin-top:10px}.mb-1{margin-bottom:10px}.ml-1{margin-left:10px}.mr-1{margin-right:10px}.m-2{margin:20px}.mt-2{margin-top:20px}.mb-2{margin-bottom:20px}.ml-2{margin-left:20px}.mr-2{margin-right:20px}.m-3{margin:30px}.mt-3{margin-top:30px}.mb-3{margin-bottom:30px}.ml-3{margin-left:30px}.mr-3{margin-right:30px}.m-4{margin:40px}.mt-4{margin-top:40px}.mb-4{margin-bottom:40px}.ml-4{margin-left:40px}.mr-4{margin-right:40px}.m-5{margin:50px}.mt-5{margin-top:50px}.mb-5{margin-bottom:50px}.ml-5{margin-left:50px}.mr-5{margin-right:50px}.w-25{width:25%}.vw-25{width:25vw}.h-25{height:25%}.vh-25{height:25vh}.w-50{width:50%}.vw-50{width:50vw}.h-50{height:50%}.vh-50{height:50vh}.w-75{width:75%}.vw-75{width:75vw}.h-75{height:75%}.vh-75{height:75vh}.w-100{width:100%}.vw-100{width:100vw}.h-100{height:100%}.vh-100{height:100vh}.flex-left{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.flex-right{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}.flex-center{display:flex;flex-direction:row;justify-content:center;align-items:center}.flex-between{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.flex-around{display:flex;flex-direction:row;justify-content:space-around;align-items:center}.grid-wrapper{display:grid;grid-gap:1rem 1rem;grid-template-columns:repeat(1,1fr);margin:0 auto;width:100%}@media screen and (min-width: 992px){.grid-wrapper{display:grid;grid-gap:1rem 1rem;grid-template-columns:repeat(12,1fr);margin:0 auto;width:100%}.col-1{grid-column:span 1}.col-2{grid-column:span 2}.col-3{grid-column:span 3}.col-4{grid-column:span 4}.col-5{grid-column:span 5}.col-6{grid-column:span 6}.col-7{grid-column:span 7}.col-8{grid-column:span 8}.col-9{grid-column:span 9}.col-10{grid-column:span 10}.col-11{grid-column:span 11}.col-12{grid-column:span 12}}.disabled[data-v-e5cd6ccd]{opacity:.7;pointer-events:none}.loading-svg[data-v-e5cd6ccd]{width:1em;margin-left:3px}@keyframes rotating-e5cd6ccd{0%{-ms-transform:rotate(0deg);-moz-transform:rotate(0deg);-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.rotating[data-v-e5cd6ccd]{-webkit-animation:rotating-e5cd6ccd 2s linear infinite;-moz-animation:rotating-e5cd6ccd 2s linear infinite;-ms-animation:rotating-e5cd6ccd 2s linear infinite;-o-animation:rotating-e5cd6ccd 2s linear infinite;animation:rotating-e5cd6ccd 2s linear infinite}*[data-v-0b6b3cf1],[data-v-0b6b3cf1]:after,[data-v-0b6b3cf1]:before{box-sizing:border-box}.node-top[data-v-d8c92d5e]{background:linear-gradient(0deg,rgba(0,185,255,0) 0%,rgba(0,185,255,0) 95%,rgb(0,185,255) 96%,rgb(0,185,255) 100%)!important}.node-bottom[data-v-d8c92d5e]{background:linear-gradient(0deg,rgb(0,185,255) 0%,rgb(0,185,255) 4%,rgba(0,185,255,0) 5%,rgba(0,185,255,0) 100%)!important}.node-over[data-v-d8c92d5e]{background:linear-gradient(0deg,rgb(0,185,255) 0%,rgb(0,185,255) 4%,rgba(0,185,255,0) 5%,rgba(0,185,255,0) 95%,rgb(0,185,255) 96%,rgb(0,185,255) 100%)}.tree-item>ul[data-v-642edace]{padding-left:0!important}.d-global-scroll{overflow-x:var(--e35a6f9a);overflow-y:var(--e35a6f98)}.dark.colored-scroller,.dark .colored-scroller{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent}.dark .colored-scroller::-webkit-scrollbar{width:6px}.dark .colored-scroller::-webkit-scrollbar-track{background:transparent}.dark .colored-scroller::-webkit-scrollbar-thumb{background-color:#fff3;border-radius:5px;border:0}.dark .colored-scroller::-webkit-scrollbar-thumb:hover{background-color:#ffffff59}.light.colored-scroller,.light .colored-scroller{scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.3) transparent}.light .colored-scroller::-webkit-scrollbar{width:6px}.light .colored-scroller::-webkit-scrollbar-track{background:transparent}.light .colored-scroller::-webkit-scrollbar-thumb{background-color:#0003;border-radius:5px;border:0}.light .colored-scroller::-webkit-scrollbar-thumb:hover{background-color:#00000059}.d-scroll[data-v-d50b3609]{overflow-x:var(--c07fa29a);overflow-y:var(--c07fa298)}.d-scroll-hide[data-v-d50b3609]{overflow:hidden}.d-scroll-hide[data-v-d50b3609]:hover{overflow-x:var(--c07fa29a);overflow-y:var(--c07fa298)}.dark .d-scroll[data-v-d50b3609],.dark .d-scroll-hide[data-v-d50b3609]{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent}.dark .d-scroll[data-v-d50b3609]::-webkit-scrollbar,.dark .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar{width:6px}.dark .d-scroll[data-v-d50b3609]::-webkit-scrollbar-track,.dark .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar-track{background:transparent}.dark .d-scroll[data-v-d50b3609]::-webkit-scrollbar-thumb,.dark .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar-thumb{background-color:#fff3;border-radius:5px;border:0}.dark .d-scroll[data-v-d50b3609]::-webkit-scrollbar-thumb:hover,.dark .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar-thumb:hover{background-color:#ffffff59}.light .d-scroll[data-v-d50b3609],.light .d-scroll-hide[data-v-d50b3609]{scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.3) transparent}.light .d-scroll[data-v-d50b3609]::-webkit-scrollbar,.light .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar{width:6px}.light .d-scroll[data-v-d50b3609]::-webkit-scrollbar-track,.light .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar-track{background:transparent}.light .d-scroll[data-v-d50b3609]::-webkit-scrollbar-thumb,.light .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar-thumb{background-color:#0003;border-radius:5px;border:0}.light .d-scroll[data-v-d50b3609]::-webkit-scrollbar-thumb:hover,.light .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar-thumb:hover{background-color:#00000059}.modal .modal-dialog[data-v-82cadd63]{width:var(--558e9e46)}.d-tabs[data-v-89cd9234]{display:flex;justify-content:flex-start;align-items:center}.d-tabs .d-tab-title[data-v-89cd9234]{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;padding:0 .7rem;border-top-left-radius:5px;border-top-right-radius:5px;transition:all .2s;font-weight:400;height:32px;white-space:nowrap;margin:.25rem .25rem 0 0}@media screen and (min-width: 0px){.d-grid[data-v-b45e8130]{grid-template-columns:var(--09eba472)!important}}@media screen and (min-width: 480px){.d-grid[data-v-b45e8130]{grid-template-columns:var(--09eba434)!important}}@media screen and (min-width: 768px){.d-grid[data-v-b45e8130]{grid-template-columns:var(--09eba3f6)!important}}@media screen and (min-width: 1024px){.d-grid[data-v-b45e8130]{grid-template-columns:var(--09eba3b8)!important}}@media screen and (min-width: 1280px){.d-grid[data-v-b45e8130]{grid-template-columns:var(--09eba37a)!important}}@media screen and (min-width: 1600px){.d-grid[data-v-b45e8130]{grid-template-columns:var(--09eba33c)!important}}.d-grid[data-v-b45e8130]{display:grid;grid-gap:var(--898eb2ac);grid-template-columns:repeat(12,1fr);margin:0 auto;width:100%}*[data-v-3c1f0a7d],[data-v-3c1f0a7d]:after,[data-v-3c1f0a7d]:before{box-sizing:border-box}
|
|
1
|
+
@charset "UTF-8";.dark .context-menu,.dark .dropdown-menu{background-color:#34383e;border:solid 1px #525252;box-shadow:0 0 6px #2f2b2b}.light .context-menu,.light .dropdown-menu{color:#626262;background-color:#fbfbfb;border:solid 1px #d2d2d2;box-shadow:0 0 6px #b9b9b9}.context-menu,.dropdown-menu{position:absolute;border-radius:5px;padding:5px!important;list-style:none;margin:0}.context-menu li a,.dropdown-menu li a{display:block;color:#ffffffb3;padding:8px 10px;text-decoration:none}.context-menu li a:hover,.dropdown-menu li a:hover{color:#fffc;background-color:#ffffff1a}.context-menu .hr,.dropdown-menu .hr{height:1px;background-color:#ffffff1a;border:0;margin:0}a{text-decoration:none;transition:all .3s}.button{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;padding:0 .7rem;border-radius:5px;transition:all .2s;font-weight:400;margin:.25rem .125rem;height:32px;white-space:nowrap}.button.d-button-icon{padding:0 7px}.button.button-sm{font-size:.8em;height:24px;padding:0 .6em}.button.button-sm.d-button-sm-icon{padding:0 5px}.button.button-lg{font-size:1.3em;height:38px;padding:0 .8rem}.button.button-lg.d-button-lg-icon{padding:0 10px}.button.button-text{padding:0;background:rgba(255,255,255,0)!important;border:0}.button.button-ext{display:inline-flex;flex-direction:row;justify-content:center;align-items:center;gap:5px}.button.button-ext.button-sm{gap:4px}.button.button-ext.button-lg{gap:6px}.button.button-ext .icon{display:inline-flex!important;flex-direction:row;justify-content:center;align-items:center}.button.button-ext .icon svg{width:1.2em;height:1.2em}.label{margin-bottom:5px;font-size:.9em;opacity:.7}.d-input .d-input-small,.d-textarea .d-input-small{font-size:.8em;height:24px}.d-input .d-input-large,.d-textarea .d-input-large{font-size:1.2em;height:38px}.d-input .d-textarea-small,.d-textarea .d-textarea-small{font-size:.8em}.d-input .d-textarea-large,.d-textarea .d-textarea-large{font-size:1.2em}.d-input .d-input-pre-button,.d-textarea .d-input-pre-button{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;margin:0}.d-input .d-input-post-button,.d-textarea .d-input-post-button{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;margin:0}.d-input .d-input-pre-field,.d-textarea .d-input-pre-field{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.d-input .d-input-post-field,.d-textarea .d-input-post-field{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.d-select .d-select-small{font-size:.8em;height:24px}.d-select .d-select-large{font-size:1.2em;height:38px}.d-input input,.d-select select{font-size:1.1em;border-style:solid;border-width:1px;border-radius:5px;padding:1px 7px 0;height:32px}.d-textarea textarea{font-size:1.1em;border-style:solid;border-width:1px;border-radius:5px;padding:2px 7px}.d-checkbox input[type=checkbox]{position:absolute;z-index:-1;opacity:0}.d-checkbox input[type=checkbox]+label{display:inline-flex;align-items:center;-webkit-user-select:none;user-select:none}.d-checkbox input[type=checkbox]+label:before{content:"";display:inline-block;width:1em;height:1em;flex-shrink:0;flex-grow:0;border-radius:.25em;margin-right:.5em;background-repeat:no-repeat;background-position:center center;background-size:50% 50%;transition:all .2s}.d-checkbox input[type=checkbox]:checked+label:before{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");background-size:10px}.icon{line-height:1em;text-align:center;display:inline-block;position:relative;fill:currentColor;transform:translateZ(0)}.icon svg{width:1em;height:1em}.accordion{-webkit-user-select:none;user-select:none}.accordion .accordion-item,.accordion .accordion-sub{cursor:pointer;padding:.25rem .125rem}.badge{display:inline-block;padding:3px 4px;margin:.25rem .125rem;border-radius:5px;line-height:1}.badge.badge-sm{font-size:.8em;padding:2px 3px}.badge.badge-lg{font-size:1.2em;padding:4px 6px}.tree{padding-left:0;-webkit-user-select:none;user-select:none;list-style:none;margin:0}.tree.accordion .tree-item ul{padding-left:0}.tree .tree-divider{height:1px;border:0;margin:5px 0}.tree .tree-divider-header{font-size:.7em;padding:3px 0;border:0;display:flex;align-items:center;text-transform:uppercase;white-space:nowrap}.tree .tree-divider-header:before{flex:95em;content:"";height:1px;margin:5px;min-width:15px}.tree .tree-divider-header:after{flex:5em;content:"";height:1px;margin:5px}.tree .tree-item{cursor:pointer;line-height:1.5;overflow:hidden;position:relative}.tree .tree-item>div{padding:3px 5px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-radius:5px}.tree .tree-item>div.selected{transition:all 50ms}.tree .tree-item>div>div{display:flex;flex-direction:row;justify-content:start;align-items:center;gap:3px}.tree .tree-item>div .icon{display:inline-flex!important;flex-direction:row;justify-content:center;align-items:center;transition:all .2s}.tree .tree-item>div .tree-open-post{transform:rotate(-90deg)}.tree .tree-item>div .tree-open-pre{transform:rotate(90deg)}.tree .tree-item ul{padding-left:20px;list-style:none}.tree .item-title{display:table;table-layout:fixed;width:100%}.tree .item-title>div{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tree.tree-compact{font-size:.9em}.tree.tree-compact .tree-item{line-height:1}.tree.tree-compact .tree-item>div{padding:1px 3px}.d-layout{display:flex;flex-direction:column;width:100%;height:100%}.d-layout .d-layout-header{left:0;top:0;flex-shrink:0;box-sizing:border-box;width:100%;transition-property:padding-left}.d-layout .d-layout-content{flex-grow:1;box-sizing:border-box;width:100%;transition-property:padding-left}.d-layout .d-layout-footer{left:0;bottom:0;flex-shrink:0;box-sizing:border-box;width:100%;transition-property:padding-left}.d-layout .d-layout-sidebar{position:fixed;left:0;top:0;box-sizing:border-box;width:100%;height:100%;transition-property:all;overflow-y:hidden}.d-layout .d-layout-sidebar-mask{position:fixed;left:0;top:0;z-index:1002;width:100%;height:100%;transition-property:background-color}.d-layout .d-layout-tab{left:0;flex-shrink:0;box-sizing:border-box;width:100%;transition-property:padding-left}.context-menu{z-index:3000}.context-menu.tree .item-title{width:auto}.dropdown{position:relative}.dropdown-menu{z-index:3000}.dropdown-menu.tree .item-title{width:auto}.d-panel{border-radius:5px;padding:.4rem .8rem;overflow:hidden}.d-card{padding:0}.d-card .card-header{padding:.4rem .8rem}.d-card .card-header h5{margin:0;padding:0;font-size:1.2em;font-weight:400}.d-card .card-body,.d-card .card-footer{padding:.4rem .8rem}.modal{position:fixed;top:0;bottom:0;left:0;right:0;height:100%;width:100%;padding:0;margin:0;display:flex;align-items:center;justify-content:center;z-index:5000}.modal .modal-dialog{background-color:#34383e;border-radius:5px;padding:0}.modal .modal-dialog .modal-content .modal-header{padding:15px}.modal .modal-dialog .modal-content .modal-header h5{margin:0;padding:0;font-size:1.2em;font-weight:400}.modal .modal-dialog .modal-content .modal-body{padding:20px 15px}.modal .modal-dialog .modal-content .modal-footer{padding:10px 15px}.fade-enter-active,.fade-leave-active,.fade-move{transition:all .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.d-notification-group{display:block;position:fixed;z-index:5000}.d-notification-group .d-notification-wrapper{display:block;width:100%;margin:0;padding:0}.d-notification-group .d-notification-template{display:block;box-sizing:border-box;text-align:left}.d-notification-group .d-notification-template.d-notification{display:block;box-sizing:border-box;text-align:left;padding:.4rem .8rem;margin:5px 5px 0;border-radius:5px}.d-notification-group .d-notification-template.d-notification .d-notification-title{font-weight:600}.d-info-progress{border-radius:5px;display:flex;align-items:center;justify-content:flex-start;height:23px}.d-info-progress .d-info-progress-icon-container{width:31px;height:31px;margin-top:-4px;margin-bottom:-4px;position:relative}.d-info-progress .d-info-progress-icon-container .d-info-progress-icon{position:absolute;z-index:10;width:31px;height:31px;border-radius:5px;display:flex;align-items:center;justify-content:center}.d-info-progress .d-info-progress-data-container{position:relative;flex:1;height:100%}.d-info-progress .d-info-progress-data-container .d-info-progress-line{position:absolute;top:0;bottom:0;left:0;border-top-right-radius:5px;border-bottom-right-radius:5px}.d-info-progress .d-info-progress-data-container .d-info-progress-label{position:absolute;width:100%;padding-left:5px;top:0;bottom:0}.light .button{background-color:#e0e0e0;color:gray}.light .button:hover{color:#666;background-color:#cccc}.light .button.button-blue{background-color:#97d9f1;color:#43565c}.light .button.button-blue:hover{color:#2d3a3f;background-color:#51c0e7cc}.light .button.button-green{background-color:#a0e7ce;color:#4f4f4f}.light .button.button-green:hover{color:#363636;background-color:#60d7adcc}.light .button.button-red{background-color:#ffbebe;color:#ae4a4a}.light .button.button-red:hover{background-color:#ff9292cc;color:#8a3b3b}.light .button.button-orange{background-color:#ffdc9b;color:#856a39}.light .button.button-orange:hover{background-color:#ffc458cc;color:#614e2a}.light .button.button-violet{background-color:#dacaff;color:#7456b7}.light .button.button-violet:hover{background-color:#c2a7ffcc;color:#5c4199}.light .button.button-outline{outline:solid 1px #E0E0E0;color:gray;background-color:transparent}.light .button.button-outline:hover{color:gray;background-color:#cccc}.light .button.button-outline-blue{outline:solid 1px #97D9F1;background-color:transparent;color:#1ca2d3}.light .button.button-outline-blue:hover{color:#43565c;background-color:#51c0e7cc}.light .button.button-outline-green{outline:solid 1px #A0E7CE;background-color:transparent;color:#30be8c}.light .button.button-outline-green:hover{color:#4f4f4f;background-color:#60d7adcc}.light .button.button-outline-red{outline:solid 1px #FFBEBE;background-color:transparent;color:#ff2525}.light .button.button-outline-red:hover{color:#ae4a4a;background-color:#ff9292cc}.light .button.button-outline-orange{outline:solid 1px #FFDC9B;background-color:transparent;color:#ffa602}.light .button.button-outline-orange:hover{color:#856a39;background-color:#ffc458cc}.light .button.button-outline-violet{outline:solid 1px #DACAFF;background-color:transparent;color:#6f31ff}.light .button.button-outline-violet:hover{color:#7456b7;background-color:#c2a7ffcc}.dark .button{background-color:#ffffff1a;color:#e5e5e5}.dark .button:hover{color:#fff;background-color:#ffffff26}.dark .button.button-blue{background-color:#02769f}.dark .button.button-blue:hover{background-color:#02769fcc}.dark .button.button-green{background-color:#11755b}.dark .button.button-green:hover{background-color:#11755bcc}.dark .button.button-red{background-color:#da4444}.dark .button.button-red:hover{background-color:#da4444cc}.dark .button.button-orange{background-color:#d48900}.dark .button.button-orange:hover{background-color:#d48900cc}.dark .button.button-violet{background-color:#7750d2}.dark .button.button-violet:hover{background-color:#7750d2cc}.dark .button.button-outline{outline:solid 1px rgba(255,255,255,.15);color:#a2a2a2;background-color:transparent}.dark .button.button-outline:hover{color:#fff;background-color:#ffffff26}.dark .button.button-outline-blue{outline:solid 1px #02769f;background-color:transparent;color:#039bd1}.dark .button.button-outline-blue:hover{color:#fff;background-color:#02769f}.dark .button.button-outline-green{outline:solid 1px #11755b;background-color:transparent;color:#17a27e}.dark .button.button-outline-green:hover{color:#fff;background-color:#11755b}.dark .button.button-outline-red{outline:solid 1px #da4444;background-color:transparent;color:#e26f6f}.dark .button.button-outline-red:hover{color:#fff;background-color:#da4444}.dark .button.button-outline-orange{outline:solid 1px #d48900;background-color:transparent;color:#ffa808}.dark .button.button-outline-orange:hover{color:#fff;background-color:#d48900}.dark .button.button-outline-violet{outline:solid 1px #7750d2;background-color:transparent;color:#9779dc}.dark .button.button-outline-violet:hover{color:#fff;background-color:#7750d2}.badge{background-color:#e0e0e0;color:gray}.badge.badge-blue{background-color:#97d9f1;color:#43565c}.badge.badge-green{background-color:#a0e7ce;color:#4f4f4f}.badge.badge-red{background-color:#ffbebe;color:#ae4a4a}.badge.badge-orange{background-color:#ffdc9b;color:#856a39}.badge.badge-violet{background-color:#dacaff;color:#7456b7}.badge.badge-stress-gray{color:#fff;background-color:#949494}.badge.badge-stress-blue{color:#fff;background-color:#1ca2d3}.badge.badge-stress-green{color:#fff;background-color:#30be8c}.badge.badge-stress-red{color:#fff;background-color:#ff2525}.badge.badge-stress-orange{color:#fff;background-color:#ffa602}.badge.badge-stress-violet{color:#fff;background-color:#6f31ff}.dark .badge{background-color:#43464c;color:#e5e5e5}.dark .badge.badge-blue{background-color:#02769f}.dark .badge.badge-green{background-color:#11755b}.dark .badge.badge-red{background-color:#da4444}.dark .badge.badge-orange{background-color:#d48900}.dark .badge.badge-violet{background-color:#7750d2}.dark .badge.badge-stress-gray{color:#a8aaac;background-color:#232529}.dark .badge.badge-stress-blue{color:#70daff;background-color:#000608}.dark .badge.badge-stress-green{color:#6bffbc;background-color:#000}.dark .badge.badge-stress-red{color:#ffafaf;background-color:#6f1616}.dark .badge.badge-stress-orange{color:#ffba3b;background-color:#3b2600}.dark .badge.badge-stress-violet{color:#b6a1e7;background-color:#341c6d}.light .tree .tree-divider{background-color:#0003}.light .tree .tree-divider-header{color:#0006}.light .tree .tree-divider-header:before{background-color:#0003}.light .tree .tree-divider-header:after{background-color:#0003}.light .tree .tree-item>div.selected{background-color:#0000001a}@media (hover){.light .tree .tree-item>div:hover{background-color:#0000001a}}.dark .tree .tree-divider{background-color:#fff3}.dark .tree .tree-divider-header{color:#fff6}.dark .tree .tree-divider-header:before{background-color:#fff3}.dark .tree .tree-divider-header:after{background-color:#fff3}.dark .tree .tree-item>div.selected{background-color:#ffffff1a}@media (hover){.dark .tree .tree-item>div:hover{background-color:#ffffff1a}}.dark .d-input input,.dark .d-select select,.dark .d-textarea textarea{color:#ccc;background-color:#232529;border-color:#4a4a4a}.dark .d-input input:focus,.dark .d-select select:focus,.dark .d-textarea textarea:focus{outline:none!important;border-color:#666}.light .d-input input,.light .d-select select,.light .d-textarea textarea{color:#333;background-color:#fff;border-color:#e5e5e5}.light .d-input input:focus,.light .d-select select:focus,.light .d-textarea textarea:focus{outline:none!important;border-color:#d3d3d3}.dark .d-checkbox input[type=checkbox]+label:before{border:1px solid #51545a;background-color:#232529}.dark .d-checkbox input[type=checkbox]:checked+label:before{border-color:#51545a;background-color:#232529}.dark .d-checkbox input[type=checkbox]:not(:disabled):not(:checked)+label:hover:before{border-color:#7c7f83}.dark .d-checkbox input[type=checkbox]:not(:disabled):active+label:before{background-color:#b3d7ff;border-color:#7c7f83}.dark .d-checkbox input[type=checkbox]:focus:not(:checked)+label:before{border-color:#7c7f83}.dark .d-checkbox input[type=checkbox]:disabled+label:before{background-color:#606367}.light .d-checkbox input[type=checkbox]+label:before{border:1px solid #b7b8ba;background-color:#fff}.light .d-checkbox input[type=checkbox]:checked+label:before{border-color:#7f7f7f;background-color:#43464c}.light .d-checkbox input[type=checkbox]:not(:disabled):not(:checked)+label:hover:before{border-color:#9a9c9f}.light .d-checkbox input[type=checkbox]:not(:disabled):active+label:before{background-color:#b3d7ff;border-color:#9a9c9f}.light .d-checkbox input[type=checkbox]:focus:not(:checked)+label:before{border-color:#9a9c9f}.light .d-checkbox input[type=checkbox]:disabled+label:before{background-color:#d4d4d6}.dark{background-color:#34383e;color:#ccc}.dark .d-blue{color:#02769f}.dark .d-green{color:#11755b}.dark .d-red{color:#da4444}.dark .d-orange{color:#d48900}.dark .d-violet{color:#7750d2}.dark .d-stress-blue{color:#51c0e7}.dark .d-stress-green{color:#60d7ad}.dark .d-stress-red{color:#ff9292}.dark .d-stress-orange{color:#ffc458}.dark .d-stress-violet{color:#c2a7ff}.dark .text-blue{color:#51c0e7}.dark .text-green{color:#60d7ad}.dark .text-red{color:#ff9292}.dark .text-orange{color:#ffc458}.dark .text-violet{color:#c2a7ff}.dark .bg-blue{background-color:#02769f}.dark .bg-green{background-color:#11755b}.dark .bg-red{background-color:#da4444}.dark .bg-orange{background-color:#d48900}.dark .bg-violet{background-color:#7750d2}.light{background-color:#fff;color:#333}.light .d-blue{color:#51c0e7}.light .d-green{color:#60d7ad}.light .d-red{color:#ff9292}.light .d-orange{color:#ffc458}.light .d-violet{color:#c2a7ff}.light .d-stress-blue{color:#02769f}.light .d-stress-green{color:#11755b}.light .d-stress-red{color:#da4444}.light .d-stress-orange{color:#d48900}.light .d-stress-violet{color:#7750d2}.light .bg-blue{background-color:#51c0e7}.light .bg-green{background-color:#60d7ad}.light .bg-red{background-color:#ff9292}.light .bg-orange{background-color:#ffc458}.light .bg-violet{background-color:#c2a7ff}.light .text-blue{color:#02769f}.light .text-green{color:#11755b}.light .text-red{color:#da4444}.light .text-orange{color:#d48900}.light .text-violet{color:#7750d2}.light a{color:#6e7175}.light a:hover{color:#111315}.dark a{color:#c5c6c8}.dark a:hover{color:#e2e3e3}.light .lms_scroller{background:#c4c4c4}.dark .lms_scroller{background:#868686}.light .d-layout{background-color:#fff}.light .d-layout .d-layout-sidebar{background-color:#e2e3e3}.light .d-layout .d-layout-header,.light .d-layout .d-layout-footer{background-color:#f0f1f1}.light .d-layout .d-layout-tab{background-color:#fbfbfb}.dark .d-layout{background-color:#34383e}.dark .d-layout .d-layout-sidebar{background-color:#51545a}.dark .d-layout .d-layout-header,.dark .d-layout .d-layout-footer{background-color:#43464c}.dark .d-layout .d-layout-tab{background-color:#2b2f34}.dark .d-panel{background-color:#43464c}.light .d-panel{background-color:#f0f1f1}.dark .d-card .card-header{background-color:#51545a;border-bottom:solid 1px #44474C}.dark .d-card .card-footer{background-color:#51545a;border-top:solid 1px #44474C}.light .card-header,.light .card-footer{background-color:#e2e3e3}.dark .modal{background-color:#00000080}.dark .modal .modal-dialog{box-shadow:0 0 15px 5px #00000080}.dark .modal .modal-dialog .modal-content{color:#ccc}.dark .modal .modal-dialog .modal-content .modal-header{border-bottom:solid 1px rgba(255,255,255,.1);background-color:#0000001a}.dark .modal .modal-dialog .modal-content .modal-footer{border-top:solid 1px rgba(255,255,255,.1);background-color:#0000001a}.light .modal{background-color:#ffffff80}.light .modal .modal-dialog{background-color:#fff;box-shadow:0 0 10px 5px #0003}.light .modal .modal-dialog .modal-content{color:#6e7175}.light .modal .modal-dialog .modal-content .modal-header{border-bottom:solid 1px rgba(0,0,0,.1);background-color:#0000000d}.light .modal .modal-dialog .modal-content .modal-footer{border-top:solid 1px rgba(0,0,0,.1);background-color:#0000000d}.light .d-notification-group .d-notification-template{background:white}.light .d-notification-group .d-notification-template.d-notification{color:#333;background:#f0f1f1;box-shadow:0 0 5px #0000004d}.light .d-notification-group .d-notification-template.d-notification.primary{background:#97D9F1}.light .d-notification-group .d-notification-template.d-notification.warning{background:#FFDC9B}.light .d-notification-group .d-notification-template.d-notification.error{background:#FFBEBE}.light .d-notification-group .d-notification-template.d-notification.success{background:#A0E7CE}.dark .d-notification-group .d-notification-template{background:white}.dark .d-notification-group .d-notification-template.d-notification{color:#fff;background:#6e7175;box-shadow:0 0 5px #000000b3}.dark .d-notification-group .d-notification-template.d-notification.primary{background:#02769f}.dark .d-notification-group .d-notification-template.d-notification.warning{background:#d48900}.dark .d-notification-group .d-notification-template.d-notification.error{background:#da4444}.dark .d-notification-group .d-notification-template.d-notification.success{background:#11755b}.dark .d-info-progress{background-color:#2b2f34}.dark .d-info-progress .d-info-progress-icon-container .d-info-progress-icon{background-color:#606367;box-shadow:0 0 5px #0003}.dark .d-info-progress .d-info-progress-data-container .d-info-progress-line{background-color:#606367}.dark .d-info-progress.d-info-progress-primary .d-info-progress-icon,.dark .d-info-progress.d-info-progress-primary .d-info-progress-line{background-color:#02769f}.dark .d-info-progress.d-info-progress-success .d-info-progress-icon,.dark .d-info-progress.d-info-progress-success .d-info-progress-line{background-color:#11755b}.dark .d-info-progress.d-info-progress-error .d-info-progress-icon,.dark .d-info-progress.d-info-progress-error .d-info-progress-line{background-color:#da4444}.dark .d-info-progress.d-info-progress-warning .d-info-progress-icon,.dark .d-info-progress.d-info-progress-warning .d-info-progress-line{background-color:#d48900}.light .d-info-progress{background-color:#f0f1f1}.light .d-info-progress .d-info-progress-icon-container .d-info-progress-icon{background-color:#b7b8ba;box-shadow:0 0 5px #0003}.light .d-info-progress .d-info-progress-data-container .d-info-progress-line{background-color:#b7b8ba}.light .d-info-progress.d-info-progress-primary .d-info-progress-icon,.light .d-info-progress.d-info-progress-primary .d-info-progress-line{background-color:#97d9f1}.light .d-info-progress.d-info-progress-success .d-info-progress-icon,.light .d-info-progress.d-info-progress-success .d-info-progress-line{background-color:#a0e7ce}.light .d-info-progress.d-info-progress-error .d-info-progress-icon,.light .d-info-progress.d-info-progress-error .d-info-progress-line{background-color:#ffbebe}.light .d-info-progress.d-info-progress-warning .d-info-progress-icon,.light .d-info-progress.d-info-progress-warning .d-info-progress-line{background-color:#ffdc9b}.light .d-tabs{border-bottom:solid 1px rgba(0,0,0,.1)}.light .d-tabs .d-tab-title:not(.active){border-bottom:solid 3px transparent}.light .d-tabs .d-tab-title.active{border-bottom:solid 3px #51c0e7}.dark .d-tabs{border-bottom:solid 1px rgba(255,255,255,.1)}.dark .d-tabs .d-tab-title:not(.active){border-bottom:solid 3px transparent}.dark .d-tabs .d-tab-title.active{border-bottom:solid 3px #51c0e7}body{position:relative;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-weight:400;font-style:normal;font-size:.95rem}*{-webkit-tap-highlight-color:transparent;box-sizing:border-box}.h1,h1{font-size:calc(1rem + .9vw)}.h2,h2{font-size:calc(1rem + .5vw)}.h3,h3{font-size:calc(1rem + .3vw)}.h4,h4{font-size:calc(1rem + .1vw)}.h5,h5{font-size:1rem}.h6,h6{font-size:.8rem}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.p-0{padding:0}.pt-0{padding-top:0}.pb-0{padding-bottom:0}.pl-0{padding-left:0}.pr-0{padding-right:0}.p-1{padding:10px}.pt-1{padding-top:10px}.pb-1{padding-bottom:10px}.pl-1{padding-left:10px}.pr-1{padding-right:10px}.p-2{padding:20px}.pt-2{padding-top:20px}.pb-2{padding-bottom:20px}.pl-2{padding-left:20px}.pr-2{padding-right:20px}.p-3{padding:30px}.pt-3{padding-top:30px}.pb-3{padding-bottom:30px}.pl-3{padding-left:30px}.pr-3{padding-right:30px}.p-4{padding:40px}.pt-4{padding-top:40px}.pb-4{padding-bottom:40px}.pl-4{padding-left:40px}.pr-4{padding-right:40px}.p-5{padding:50px}.pt-5{padding-top:50px}.pb-5{padding-bottom:50px}.pl-5{padding-left:50px}.pr-5{padding-right:50px}.m-0{margin:0}.mt-0{margin-top:0}.mb-0{margin-bottom:0}.ml-0{margin-left:0}.mr-0{margin-right:0}.m-1{margin:10px}.mt-1{margin-top:10px}.mb-1{margin-bottom:10px}.ml-1{margin-left:10px}.mr-1{margin-right:10px}.m-2{margin:20px}.mt-2{margin-top:20px}.mb-2{margin-bottom:20px}.ml-2{margin-left:20px}.mr-2{margin-right:20px}.m-3{margin:30px}.mt-3{margin-top:30px}.mb-3{margin-bottom:30px}.ml-3{margin-left:30px}.mr-3{margin-right:30px}.m-4{margin:40px}.mt-4{margin-top:40px}.mb-4{margin-bottom:40px}.ml-4{margin-left:40px}.mr-4{margin-right:40px}.m-5{margin:50px}.mt-5{margin-top:50px}.mb-5{margin-bottom:50px}.ml-5{margin-left:50px}.mr-5{margin-right:50px}.w-25{width:25%}.vw-25{width:25vw}.h-25{height:25%}.vh-25{height:25vh}.w-50{width:50%}.vw-50{width:50vw}.h-50{height:50%}.vh-50{height:50vh}.w-75{width:75%}.vw-75{width:75vw}.h-75{height:75%}.vh-75{height:75vh}.w-100{width:100%}.vw-100{width:100vw}.h-100{height:100%}.vh-100{height:100vh}.flex-left{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.flex-right{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}.flex-center{display:flex;flex-direction:row;justify-content:center;align-items:center}.flex-between{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.flex-around{display:flex;flex-direction:row;justify-content:space-around;align-items:center}.grid-wrapper{display:grid;grid-gap:1rem 1rem;grid-template-columns:repeat(1,1fr);margin:0 auto;width:100%}@media screen and (min-width: 992px){.grid-wrapper{display:grid;grid-gap:1rem 1rem;grid-template-columns:repeat(12,1fr);margin:0 auto;width:100%}.col-1{grid-column:span 1}.col-2{grid-column:span 2}.col-3{grid-column:span 3}.col-4{grid-column:span 4}.col-5{grid-column:span 5}.col-6{grid-column:span 6}.col-7{grid-column:span 7}.col-8{grid-column:span 8}.col-9{grid-column:span 9}.col-10{grid-column:span 10}.col-11{grid-column:span 11}.col-12{grid-column:span 12}}.disabled[data-v-e5cd6ccd]{opacity:.7;pointer-events:none}.loading-svg[data-v-e5cd6ccd]{width:1em;margin-left:3px}@keyframes rotating-e5cd6ccd{0%{-ms-transform:rotate(0deg);-moz-transform:rotate(0deg);-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.rotating[data-v-e5cd6ccd]{-webkit-animation:rotating-e5cd6ccd 2s linear infinite;-moz-animation:rotating-e5cd6ccd 2s linear infinite;-ms-animation:rotating-e5cd6ccd 2s linear infinite;-o-animation:rotating-e5cd6ccd 2s linear infinite;animation:rotating-e5cd6ccd 2s linear infinite}*[data-v-0b6b3cf1],[data-v-0b6b3cf1]:after,[data-v-0b6b3cf1]:before{box-sizing:border-box}.node-top[data-v-d8c92d5e]{background:linear-gradient(0deg,rgba(0,185,255,0) 0%,rgba(0,185,255,0) 95%,rgb(0,185,255) 96%,rgb(0,185,255) 100%)!important}.node-bottom[data-v-d8c92d5e]{background:linear-gradient(0deg,rgb(0,185,255) 0%,rgb(0,185,255) 4%,rgba(0,185,255,0) 5%,rgba(0,185,255,0) 100%)!important}.node-over[data-v-d8c92d5e]{background:linear-gradient(0deg,rgb(0,185,255) 0%,rgb(0,185,255) 4%,rgba(0,185,255,0) 5%,rgba(0,185,255,0) 95%,rgb(0,185,255) 96%,rgb(0,185,255) 100%)}.tree-item>ul[data-v-642edace]{padding-left:0!important}.d-global-scroll{overflow-x:var(--e35a6f9a);overflow-y:var(--e35a6f98)}.dark.colored-scroller,.dark .colored-scroller{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent}.dark .colored-scroller::-webkit-scrollbar{width:6px}.dark .colored-scroller::-webkit-scrollbar-track{background:transparent}.dark .colored-scroller::-webkit-scrollbar-thumb{background-color:#fff3;border-radius:5px;border:0}.dark .colored-scroller::-webkit-scrollbar-thumb:hover{background-color:#ffffff59}.light.colored-scroller,.light .colored-scroller{scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.3) transparent}.light .colored-scroller::-webkit-scrollbar{width:6px}.light .colored-scroller::-webkit-scrollbar-track{background:transparent}.light .colored-scroller::-webkit-scrollbar-thumb{background-color:#0003;border-radius:5px;border:0}.light .colored-scroller::-webkit-scrollbar-thumb:hover{background-color:#00000059}.d-scroll[data-v-d50b3609]{overflow-x:var(--c07fa29a);overflow-y:var(--c07fa298)}.d-scroll-hide[data-v-d50b3609]{overflow:hidden}.d-scroll-hide[data-v-d50b3609]:hover{overflow-x:var(--c07fa29a);overflow-y:var(--c07fa298)}.dark .d-scroll[data-v-d50b3609],.dark .d-scroll-hide[data-v-d50b3609]{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent}.dark .d-scroll[data-v-d50b3609]::-webkit-scrollbar,.dark .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar{width:6px}.dark .d-scroll[data-v-d50b3609]::-webkit-scrollbar-track,.dark .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar-track{background:transparent}.dark .d-scroll[data-v-d50b3609]::-webkit-scrollbar-thumb,.dark .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar-thumb{background-color:#fff3;border-radius:5px;border:0}.dark .d-scroll[data-v-d50b3609]::-webkit-scrollbar-thumb:hover,.dark .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar-thumb:hover{background-color:#ffffff59}.light .d-scroll[data-v-d50b3609],.light .d-scroll-hide[data-v-d50b3609]{scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.3) transparent}.light .d-scroll[data-v-d50b3609]::-webkit-scrollbar,.light .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar{width:6px}.light .d-scroll[data-v-d50b3609]::-webkit-scrollbar-track,.light .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar-track{background:transparent}.light .d-scroll[data-v-d50b3609]::-webkit-scrollbar-thumb,.light .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar-thumb{background-color:#0003;border-radius:5px;border:0}.light .d-scroll[data-v-d50b3609]::-webkit-scrollbar-thumb:hover,.light .d-scroll-hide[data-v-d50b3609]::-webkit-scrollbar-thumb:hover{background-color:#00000059}.modal .modal-dialog[data-v-82cadd63]{width:var(--558e9e46)}.d-tabs[data-v-89cd9234]{display:flex;justify-content:flex-start;align-items:center}.d-tabs .d-tab-title[data-v-89cd9234]{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;padding:0 .7rem;border-top-left-radius:5px;border-top-right-radius:5px;transition:all .2s;font-weight:400;height:32px;white-space:nowrap;margin:.25rem .25rem 0 0}@media screen and (min-width: 0px){.d-grid[data-v-b45e8130]{grid-template-columns:var(--09eba472)!important}}@media screen and (min-width: 480px){.d-grid[data-v-b45e8130]{grid-template-columns:var(--09eba434)!important}}@media screen and (min-width: 768px){.d-grid[data-v-b45e8130]{grid-template-columns:var(--09eba3f6)!important}}@media screen and (min-width: 1024px){.d-grid[data-v-b45e8130]{grid-template-columns:var(--09eba3b8)!important}}@media screen and (min-width: 1280px){.d-grid[data-v-b45e8130]{grid-template-columns:var(--09eba37a)!important}}@media screen and (min-width: 1600px){.d-grid[data-v-b45e8130]{grid-template-columns:var(--09eba33c)!important}}.d-grid[data-v-b45e8130]{display:grid;grid-gap:var(--898eb2ac);grid-template-columns:repeat(12,1fr);margin:0 auto;width:100%}*[data-v-0e805d5d],[data-v-0e805d5d]:after,[data-v-0e805d5d]:before{box-sizing:border-box}
|