doph-js 0.2.13 → 0.2.15

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 CHANGED
@@ -1,4 +1,4 @@
1
- import { useSlots as ve, computed as p, h as Be, openBlock as d, createBlock as b, unref as I, ref as w, createElementBlock as h, Fragment as Q, normalizeClass as E, renderSlot as $, createCommentVNode as k, normalizeStyle as N, resolveDynamicComponent as P, createStaticVNode as Ae, onMounted as ye, toDisplayString as H, withDirectives as ae, createElementVNode as S, vModelText as Le, withCtx as D, createTextVNode as J, Transition as $e, withModifiers as q, resolveComponent as st, resolveDirective as Se, createVNode as ee, renderList as ue, pushScopeId as at, popScopeId as it, reactive as ke, Teleport as ze, nextTick as Re, getCurrentInstance as We, watch as Ve, onUnmounted as rt, mergeProps as le, useCssVars as Te, shallowRef as lt, 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";
1
+ import { useSlots as ve, computed as p, h as Le, openBlock as d, createBlock as b, unref as I, ref as w, createElementBlock as h, Fragment as Q, normalizeClass as E, renderSlot as $, createCommentVNode as k, normalizeStyle as N, resolveDynamicComponent as P, createStaticVNode as Ae, onMounted as ye, toDisplayString as H, withDirectives as ae, createElementVNode as S, vModelText as Be, withCtx as D, createTextVNode as J, Transition as Se, withModifiers as q, resolveComponent as st, resolveDirective as ke, createVNode as ee, renderList as ue, pushScopeId as at, popScopeId as it, reactive as Te, Teleport as ze, nextTick as Re, getCurrentInstance as We, watch as Ve, onUnmounted as rt, mergeProps as le, useCssVars as _e, shallowRef as lt, 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: {
@@ -18,7 +18,7 @@ const ce = {
18
18
  const l = o.size ?? null;
19
19
  if (l !== void 0)
20
20
  return typeof l == "number" || /^\d+$/.test(l) ? `${l}px` : l;
21
- }), r = p(() => Be(
21
+ }), r = p(() => Le(
22
22
  "i",
23
23
  {
24
24
  class: n.value,
@@ -27,7 +27,7 @@ const ce = {
27
27
  fontSize: a.value
28
28
  }
29
29
  },
30
- o.component ? Be(o.component) : t
30
+ o.component ? Le(o.component) : t
31
31
  ));
32
32
  return (l, i) => (d(), b(I(r)));
33
33
  }
@@ -156,10 +156,10 @@ const Tt = {
156
156
  key: 1,
157
157
  class: "d-input",
158
158
  style: { display: "flex", "align-items": "flex-end", "justify-content": "flex-start" }
159
- }, It = { style: { flex: "1" } }, Bt = {
159
+ }, It = { style: { flex: "1" } }, Lt = {
160
160
  key: 0,
161
161
  class: "label"
162
- }, Lt = ["placeholder"], Et = {
162
+ }, Bt = ["placeholder"], Et = {
163
163
  __name: "DInput",
164
164
  props: {
165
165
  label: String,
@@ -188,7 +188,7 @@ const Tt = {
188
188
  focus: l
189
189
  }), (i, c) => n.post ? n.post.click ? (d(), h("div", Ct, [
190
190
  S("div", It, [
191
- n.label ? (d(), h("div", Bt, H(n.label), 1)) : k("", !0),
191
+ n.label ? (d(), h("div", Lt, H(n.label), 1)) : k("", !0),
192
192
  ae(S("input", {
193
193
  ref_key: "inputRef",
194
194
  ref: s,
@@ -197,8 +197,8 @@ const Tt = {
197
197
  type: "text",
198
198
  placeholder: n.placeholder,
199
199
  style: { width: "100%" }
200
- }, null, 10, Lt), [
201
- [Le, r.value]
200
+ }, null, 10, Bt), [
201
+ [Be, r.value]
202
202
  ])
203
203
  ]),
204
204
  n.post.label ? (d(), b(ie, {
@@ -230,7 +230,7 @@ const Tt = {
230
230
  placeholder: n.placeholder,
231
231
  style: { width: "100%" }
232
232
  }, null, 10, Dt), [
233
- [Le, r.value]
233
+ [Be, r.value]
234
234
  ])
235
235
  ]));
236
236
  }
@@ -333,7 +333,7 @@ const Tt = {
333
333
  const C = a(_, m).reverse(), M = { duration: o.duration, easing: o.easingLeave };
334
334
  s(u, m, c, C, M);
335
335
  };
336
- return (i, c) => (d(), b($e, {
336
+ return (i, c) => (d(), b(Se, {
337
337
  css: !1,
338
338
  onEnter: r,
339
339
  onLeave: l
@@ -433,16 +433,16 @@ const zt = (e) => (at("data-v-d8c92d5e"), e = e(), it(), e), Rt = {
433
433
  },
434
434
  emits: ["nodedrop", "nodedragover", "nodedragleave", "nodeclick", "nodecontext"],
435
435
  setup(e, { emit: o }) {
436
- const t = e, n = w(null), s = w(!1), a = w(!1), r = w(!1), l = p(() => t.model.children && t.model.children.length), i = p(() => (g.actions.isTreeExpanded(t.treeId) && (t.model.expanded = t.model.expanded === void 0 ? !0 : t.model.expanded), t.model.expanded)), c = (B) => {
437
- o("nodeclick", { event: B, model: t.model });
438
- }, u = (B) => {
439
- o("nodeclick", B);
440
- }, m = (B) => {
441
- o("nodedrop", B);
442
- }, _ = (B) => {
443
- o("nodecontext", B);
444
- }, C = p(() => (g.actions.isItemSelected(t.treeId, t.model.id) ? "selected" : "") + (s.value ? "node-over " : "") + (a.value ? "node-top " : "") + (r.value ? "node-bottom " : "")), M = p(() => t.search ? !1 : t.model.draggable === !0), x = (B) => {
445
- o("nodedrop", { e: B, model: t.model });
436
+ const t = e, n = w(null), s = w(!1), a = w(!1), r = w(!1), l = p(() => t.model.children && t.model.children.length), i = p(() => (g.actions.isTreeExpanded(t.treeId) && (t.model.expanded = t.model.expanded === void 0 ? !0 : t.model.expanded), t.model.expanded)), c = (L) => {
437
+ o("nodeclick", { event: L, model: t.model });
438
+ }, u = (L) => {
439
+ o("nodeclick", L);
440
+ }, m = (L) => {
441
+ o("nodedrop", L);
442
+ }, _ = (L) => {
443
+ o("nodecontext", L);
444
+ }, C = p(() => (g.actions.isItemSelected(t.treeId, t.model.id) ? "selected" : "") + (s.value ? "node-over " : "") + (a.value ? "node-top " : "") + (r.value ? "node-bottom " : "")), M = p(() => t.search ? !1 : t.model.draggable === !0), x = (L) => {
445
+ o("nodedrop", { e: L, model: t.model });
446
446
  let y = ge.data;
447
447
  if (y === void 0 || y.model === void 0)
448
448
  return s.value = !1, !1;
@@ -450,28 +450,28 @@ const zt = (e) => (at("data-v-d8c92d5e"), e = e(), it(), e), Rt = {
450
450
  return s.value = !1, a.value = !1, r.value = !1, !1;
451
451
  if (!g.state.trees[t.treeId].transfer && y.id !== t.treeId)
452
452
  return !1;
453
- let L = "";
454
- a.value ? L = "before" : r.value ? L = "after" : L = "inside", g.actions.moveTreeNode(y.id, t.treeId, t.items, y.model.id, t.model.id, L), s.value = !1, a.value = !1, r.value = !1;
455
- }, W = (B) => {
456
- o("nodedragover", { e: B, model: t.model });
453
+ let B = "";
454
+ a.value ? B = "before" : r.value ? B = "after" : B = "inside", g.actions.moveTreeNode(y.id, t.treeId, t.items, y.model.id, t.model.id, B), s.value = !1, a.value = !1, r.value = !1;
455
+ }, W = (L) => {
456
+ o("nodedragover", { e: L, model: t.model });
457
457
  let y = ge.data;
458
458
  if (y === void 0 || y.model === void 0)
459
459
  return s.value = !0, !1;
460
460
  if (y.model.id === t.model.id || g.actions.isChildOfParent(t.treeId, t.items, t.model.id, y.model.id) || g.actions.isParentOfChild(t.treeId, t.items, y.model.id, t.model.id))
461
461
  return !1;
462
- const L = B.y, V = n.value.getBoundingClientRect().top, F = n.value.getBoundingClientRect().height, v = F / 3;
463
- L > V && L <= V + v ? (s.value = !1, a.value = !0, r.value = !1) : L < V + F && L >= V + F - v ? (s.value = !1, a.value = !1, r.value = !0) : (s.value = !0, a.value = !1, r.value = !1);
462
+ const B = L.y, V = n.value.getBoundingClientRect().top, F = n.value.getBoundingClientRect().height, v = F / 3;
463
+ B > V && B <= V + v ? (s.value = !1, a.value = !0, r.value = !1) : B < V + F && B >= V + F - v ? (s.value = !1, a.value = !1, r.value = !0) : (s.value = !0, a.value = !1, r.value = !1);
464
464
  }, X = () => {
465
465
  s.value = !1, a.value = !1, r.value = !1;
466
466
  }, A = p(() => t.model.title.startsWith("-")), Z = p(() => {
467
467
  if (t.model.title.startsWith("-")) {
468
- let [B, ...y] = t.model.title.split(" ");
468
+ let [L, ...y] = t.model.title.split(" ");
469
469
  return y = y.join(" "), y;
470
470
  }
471
471
  return null;
472
472
  });
473
- return (B, y) => {
474
- const L = st("d-tree-item", !0), V = Se("touch");
473
+ return (L, y) => {
474
+ const B = st("d-tree-item", !0), V = ke("touch");
475
475
  return I(g).actions.beforeItem(t.treeId, e.model) ? A.value && !Z.value ? (d(), h("li", Wt, Ft)) : A.value && Z.value ? (d(), h("li", Pt, [
476
476
  S("div", jt, H(I(g).actions.renderTitle(t.treeId, Z.value)), 1)
477
477
  ])) : (d(), b(At, {
@@ -546,7 +546,7 @@ const zt = (e) => (at("data-v-d8c92d5e"), e = e(), it(), e), Rt = {
546
546
  ee(Nt, null, {
547
547
  default: D(() => [
548
548
  l.value && i.value && !t.search ? (d(), h("ul", Ut, [
549
- (d(!0), h(Q, null, ue(e.model.children, (z) => (d(), b(L, {
549
+ (d(!0), h(Q, null, ue(e.model.children, (z) => (d(), b(B, {
550
550
  class: "tree-item",
551
551
  key: z.id,
552
552
  model: z,
@@ -616,7 +616,7 @@ function Jt(e) {
616
616
  };
617
617
  }
618
618
  const j = Jt(), g = {
619
- state: ke({
619
+ state: Te({
620
620
  trees: {}
621
621
  }),
622
622
  getters: {
@@ -724,7 +724,7 @@ const j = Jt(), g = {
724
724
  },
725
725
  emits: Object.keys(O),
726
726
  setup(e, { expose: o, emit: t }) {
727
- let n = ke({});
727
+ let n = Te({});
728
728
  const s = w("false"), a = w(null), r = /* @__PURE__ */ new Set(), l = p(() => s.value && n), i = (u, m) => {
729
729
  n = ge.data, t(u, m, n), u === O.dragenter && (r.size || m.target === a.value) && r.add(m.target), u === O.dragleave && r.delete(m.target), u === O.drop && r.clear(), s.value = !!r.size;
730
730
  };
@@ -780,7 +780,7 @@ const j = Jt(), g = {
780
780
  t("select", _), _.model.children || l();
781
781
  };
782
782
  return (_, C) => {
783
- const M = Se("click-outside");
783
+ const M = ke("click-outside");
784
784
  return d(), b(ze, { to: "body" }, [
785
785
  I(a) ? ae((d(), b(Xe, {
786
786
  key: 0,
@@ -896,7 +896,7 @@ const j = Jt(), g = {
896
896
  X(v) && g.mutations.setItemSelect(l, X(v));
897
897
  }, Z = (v) => {
898
898
  n.contextClick({ e: v.e, model: v.model, target: r.value });
899
- }, B = (v) => n.contextBeforeClick({ model: v, target: r.value }), y = p(() => n.context), L = (v) => (y.value && (r.value = v.model, a.value.show(v.e)), !1), V = () => F(c.value), F = (v) => {
899
+ }, L = (v) => n.contextBeforeClick({ model: v, target: r.value }), y = p(() => n.context), B = (v) => (y.value && (r.value = v.model, a.value.show(v.e)), !1), V = () => F(c.value), F = (v) => {
900
900
  let z = 0;
901
901
  for (let f = 0; f < v.length; f++)
902
902
  z += g.actions.beforeItem(l, v[f]) ? 1 : 0, v[f].children && v[f].children.length > 0 && (z += F(v[f].children));
@@ -927,7 +927,7 @@ const j = Jt(), g = {
927
927
  onNodeclick: u,
928
928
  onNodedragover: m,
929
929
  onNodedrop: _,
930
- onNodecontext: L
930
+ onNodecontext: B
931
931
  }, null, 8, ["model", "treeId", "items", "search"]))), 128)),
932
932
  y.value ? (d(), b(eo, {
933
933
  key: 0,
@@ -935,7 +935,7 @@ const j = Jt(), g = {
935
935
  ref: a,
936
936
  items: y.value,
937
937
  onSelect: Z,
938
- "before-item": B
938
+ "before-item": L
939
939
  }, null, 8, ["items"])) : k("", !0)
940
940
  ]),
941
941
  _: 1
@@ -1300,10 +1300,10 @@ const lo = 1001, co = 999, uo = 998, kn = {
1300
1300
  emits: ["update:sidebar-collapse", "sidebar-mask-click"],
1301
1301
  setup(e, { emit: o }) {
1302
1302
  const t = e, n = p(() => t.useMinWidthLayout ? `min-width:${t.minWidth}px;` : ""), s = p(() => t.useMinWidthLayout && (t.fixedHeaderAndTab || t.fixedFooter)), a = ro(s), r = p(() => t.fixedHeaderAndTab ? a.value : ""), l = p(() => t.fixedFooter ? a.value : ""), i = p(() => {
1303
- const { transitionDuration: y, transitionTimingFunction: L } = t;
1303
+ const { transitionDuration: y, transitionTimingFunction: B } = t;
1304
1304
  return {
1305
1305
  transitionDuration: y,
1306
- transitionTimingFunction: L
1306
+ transitionTimingFunction: B
1307
1307
  };
1308
1308
  }), c = p(() => t.mode === "vertical"), u = p(() => t.isMobile || c.value ? 1003 : 1e3), m = p({
1309
1309
  get() {
@@ -1317,18 +1317,18 @@ const lo = 1001, co = 999, uo = 998, kn = {
1317
1317
  o("sidebar-mask-click");
1318
1318
  }
1319
1319
  const C = p(() => t.isMobile && !m.value), M = p(() => {
1320
- const { transitionDuration: y, transitionTimingFunction: L } = t;
1321
- return `background-color:${t.maskBg};transition-duration:${y}ms;transition-timing-function:${L};`;
1320
+ const { transitionDuration: y, transitionTimingFunction: B } = t;
1321
+ return `background-color:${t.maskBg};transition-duration:${y}ms;transition-timing-function:${B};`;
1322
1322
  }), x = p(() => {
1323
- const { sidebarWidth: y, sidebarCollapsedWidth: L } = t, V = t.isMobile ? 0 : L, F = m.value ? V : y;
1323
+ const { sidebarWidth: y, sidebarCollapsedWidth: B } = t, V = t.isMobile ? 0 : B, F = m.value ? V : y;
1324
1324
  return t.sidebarVisible ? F : 0;
1325
1325
  }), W = p(() => t.isMobile ? 0 : x.value), X = p(() => c.value ? W.value : 0), A = p(
1326
1326
  () => !t.isMobile && !c.value && t.headerVisible ? t.headerHeight : 0
1327
1327
  ), Z = p(() => {
1328
1328
  let y = 0;
1329
1329
  return t.fixedHeaderAndTab && (t.headerVisible && (y += t.headerHeight), t.tabVisible && (y += t.tabHeight)), y;
1330
- }), B = p(() => t.fixedFooter && t.footerVisible ? t.footerHeight : 0);
1331
- return (y, L) => (d(), h("div", {
1330
+ }), L = p(() => t.fixedFooter && t.footerVisible ? t.footerHeight : 0);
1331
+ return (y, B) => (d(), h("div", {
1332
1332
  class: "d-layout",
1333
1333
  style: N(n.value)
1334
1334
  }, [
@@ -1377,7 +1377,7 @@ const lo = 1001, co = 999, uo = 998, kn = {
1377
1377
  }, null, 4)) : k("", !0),
1378
1378
  ee(io, le(i.value, {
1379
1379
  "padding-top": Z.value,
1380
- "padding-bottom": B.value,
1380
+ "padding-bottom": L.value,
1381
1381
  "padding-left": W.value,
1382
1382
  "overflow-hidden": e.addMainOverflowHidden
1383
1383
  }), {
@@ -1402,7 +1402,7 @@ const lo = 1001, co = 999, uo = 998, kn = {
1402
1402
  ], 4));
1403
1403
  }
1404
1404
  }, de = {
1405
- state: ke({
1405
+ state: Te({
1406
1406
  theme: "dark"
1407
1407
  }),
1408
1408
  getters: {
@@ -1447,14 +1447,17 @@ const wn = {
1447
1447
  },
1448
1448
  setup(e) {
1449
1449
  const o = e;
1450
- p(() => o.xHide ? "hidden" : "visible"), p(() => o.yHide ? "hidden" : "visible");
1451
- const t = (n) => {
1452
- document.body.classList.add(n), document.querySelector("html").classList.add(n);
1450
+ _e((a) => ({
1451
+ a69a8238: t.value,
1452
+ a69a8236: n.value
1453
+ }));
1454
+ const t = p(() => o.xHide ? "hidden" : "visible"), n = p(() => o.yHide ? "hidden" : "visible"), s = (a) => {
1455
+ document.body.classList.add(a), document.querySelector("html").classList.add(a), document.querySelector("html").classList.add("d-global-scroll");
1453
1456
  };
1454
1457
  return ye(() => {
1455
- t("colored-scroller");
1456
- }), (n, s) => (d(), h("div", null, [
1457
- $(n.$slots, "default")
1458
+ s("colored-scroller");
1459
+ }), (a, r) => (d(), h("div", null, [
1460
+ $(a.$slots, "default")
1458
1461
  ]));
1459
1462
  }
1460
1463
  };
@@ -1476,7 +1479,7 @@ const fo = {
1476
1479
  },
1477
1480
  setup(e) {
1478
1481
  const o = e;
1479
- Te((s) => ({
1482
+ _e((s) => ({
1480
1483
  c07fa29a: t.value,
1481
1484
  c07fa298: n.value
1482
1485
  }));
@@ -1498,7 +1501,7 @@ const po = { class: "modal-dialog" }, mo = { class: "modal-content" }, ho = { cl
1498
1501
  emits: ["open", "close"],
1499
1502
  setup(e, { expose: o, emit: t }) {
1500
1503
  const n = e;
1501
- Te((i) => ({
1504
+ _e((i) => ({
1502
1505
  "558e9e46": n.width
1503
1506
  }));
1504
1507
  const s = w(null), a = w(!1);
@@ -1512,9 +1515,9 @@ const po = { class: "modal-dialog" }, mo = { class: "modal-content" }, ho = { cl
1512
1515
  show: r,
1513
1516
  hide: l
1514
1517
  }), (i, c) => {
1515
- const u = Se("keydown");
1518
+ const u = ke("keydown");
1516
1519
  return d(), b(ze, { to: "body" }, [
1517
- ee($e, { name: "fade" }, {
1520
+ ee(Se, { name: "fade" }, {
1518
1521
  default: D(() => [
1519
1522
  a.value ? ae((d(), h("div", {
1520
1523
  key: 0,
@@ -1547,7 +1550,7 @@ const po = { class: "modal-dialog" }, mo = { class: "modal-content" }, ho = { cl
1547
1550
  };
1548
1551
  }
1549
1552
  }, Ye = /* @__PURE__ */ te(_o, [["__scopeId", "data-v-82cadd63"]]), se = lt();
1550
- function xe(e) {
1553
+ function $e(e) {
1551
1554
  e === void 0 && (e = se.value.comp.returnValue()), se.value.resolve(e), se.value = null;
1552
1555
  }
1553
1556
  function qe(e, o, t = "default") {
@@ -1587,7 +1590,7 @@ const xo = dt({
1587
1590
  }
1588
1591
  });
1589
1592
  function $o(e, o, t, n, s, a) {
1590
- return d(), b($e, ct(ut(e.transitionAttrs)), {
1593
+ return d(), b(Se, ct(ut(e.transitionAttrs)), {
1591
1594
  default: D(() => [
1592
1595
  e.dialogRef && e.dialogRef.wrapper === e.name ? (d(), b(P(e.dialogRef.dialog), le({ key: 0 }, e.dialogRef.props, { ref: "dialogInstance" }), null, 16)) : k("", !0)
1593
1596
  ]),
@@ -1616,7 +1619,7 @@ const ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1616
1619
  "modal-footer": D(() => [
1617
1620
  S("div", ko, [
1618
1621
  ee(ie, {
1619
- onClick: a[0] || (a[0] = (r) => I(xe)())
1622
+ onClick: a[0] || (a[0] = (r) => I($e)())
1620
1623
  }, {
1621
1624
  default: D(() => [
1622
1625
  J("Закрыть")
@@ -1650,7 +1653,7 @@ const ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1650
1653
  "modal-footer": D(() => [
1651
1654
  S("div", wo, [
1652
1655
  ee(ie, {
1653
- onClick: a[0] || (a[0] = (r) => I(xe)())
1656
+ onClick: a[0] || (a[0] = (r) => I($e)())
1654
1657
  }, {
1655
1658
  default: D(() => [
1656
1659
  J("Да")
@@ -1659,7 +1662,7 @@ const ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1659
1662
  }),
1660
1663
  ee(ie, {
1661
1664
  class: "button-red",
1662
- onClick: a[1] || (a[1] = (r) => I(xe)(!1))
1665
+ onClick: a[1] || (a[1] = (r) => I($e)(!1))
1663
1666
  }, {
1664
1667
  default: D(() => [
1665
1668
  J("Нет")
@@ -1740,13 +1743,13 @@ const ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1740
1743
  }, null, 8, ["items", "style", "render-item-title", "before-item"])
1741
1744
  ]));
1742
1745
  }
1743
- }, Io = {}, Bo = { class: "d-panel" };
1744
- function Lo(e, o) {
1745
- return d(), h("div", Bo, [
1746
+ }, Io = {}, Lo = { class: "d-panel" };
1747
+ function Bo(e, o) {
1748
+ return d(), h("div", Lo, [
1746
1749
  $(e.$slots, "default")
1747
1750
  ]);
1748
1751
  }
1749
- const Eo = /* @__PURE__ */ te(Io, [["render", Lo]]), Mo = { class: "card-header" }, No = { class: "modal-title" }, Oo = { class: "card-body" }, Ho = { class: "card-footer" }, In = {
1752
+ const Eo = /* @__PURE__ */ te(Io, [["render", Bo]]), Mo = { class: "card-header" }, No = { class: "modal-title" }, Oo = { class: "card-body" }, Ho = { class: "card-footer" }, In = {
1750
1753
  __name: "DCard",
1751
1754
  setup(e) {
1752
1755
  return (o, t) => (d(), b(Eo, { class: "d-card" }, {
@@ -1778,14 +1781,14 @@ class zo {
1778
1781
  this.start = Date.now(), clearTimeout(this.notifyItem.timer), this.notifyItem.timer = setTimeout(this.callback, this.remaining);
1779
1782
  }
1780
1783
  }
1781
- const _e = "[-+]?[0-9]*.?[0-9]+", Ee = [
1784
+ const be = "[-+]?[0-9]*.?[0-9]+", Ee = [
1782
1785
  {
1783
1786
  name: "px",
1784
- regexp: new RegExp(`^${_e}px$`)
1787
+ regexp: new RegExp(`^${be}px$`)
1785
1788
  },
1786
1789
  {
1787
1790
  name: "%",
1788
- regexp: new RegExp(`^${_e}%$`)
1791
+ regexp: new RegExp(`^${be}%$`)
1789
1792
  },
1790
1793
  /**
1791
1794
  * Fallback option
@@ -1793,7 +1796,7 @@ const _e = "[-+]?[0-9]*.?[0-9]+", Ee = [
1793
1796
  */
1794
1797
  {
1795
1798
  name: "px",
1796
- regexp: new RegExp(`^${_e}$`)
1799
+ regexp: new RegExp(`^${be}$`)
1797
1800
  }
1798
1801
  ], Ro = (e) => {
1799
1802
  if (e === "auto")
@@ -1831,7 +1834,7 @@ const _e = "[-+]?[0-9]*.?[0-9]+", Ee = [
1831
1834
  return e.forEach((n) => {
1832
1835
  Me.y.has(n) && (t = n), Me.x.has(n) && (o = n);
1833
1836
  }), { x: o, y: t };
1834
- }, be = {
1837
+ }, xe = {
1835
1838
  position: ["top", "right"],
1836
1839
  cssAnimation: "fade",
1837
1840
  velocityAnimation: {
@@ -1890,7 +1893,7 @@ const _e = "[-+]?[0-9]*.?[0-9]+", Ee = [
1890
1893
  }), Yo = ["data-id"], qo = ["onClick"], Go = ["innerHTML"], Uo = ["innerHTML"], Zo = {
1891
1894
  key: 0,
1892
1895
  class: "d-notification-title"
1893
- }, Ko = { class: "notification-content" }, Bn = {
1896
+ }, Ko = { class: "notification-content" }, Ln = {
1894
1897
  __name: "DNotificationProvider",
1895
1898
  props: {
1896
1899
  group: {
@@ -1907,7 +1910,7 @@ const _e = "[-+]?[0-9]*.?[0-9]+", Ee = [
1907
1910
  },
1908
1911
  position: {
1909
1912
  type: [String, Array, null],
1910
- default: be.position
1913
+ default: xe.position
1911
1914
  },
1912
1915
  classes: {
1913
1916
  type: String,
@@ -1919,11 +1922,11 @@ const _e = "[-+]?[0-9]*.?[0-9]+", Ee = [
1919
1922
  },
1920
1923
  animation: {
1921
1924
  type: [String, Object],
1922
- default: be.velocityAnimation
1925
+ default: xe.velocityAnimation
1923
1926
  },
1924
1927
  animationName: {
1925
1928
  type: String,
1926
- default: be.cssAnimation
1929
+ default: xe.cssAnimation
1927
1930
  },
1928
1931
  speed: {
1929
1932
  type: Number,
@@ -1969,7 +1972,7 @@ const _e = "[-+]?[0-9]*.?[0-9]+", Ee = [
1969
1972
  };
1970
1973
  return R && (re[R] = "0px"), f && (f === "center" ? re.left = `calc(50% - ${+T / 2}${oe})` : re[f] = "0px"), re;
1971
1974
  }), _ = p(() => "bottom" in m.value), C = (f) => {
1972
- o("click", f), t.closeOnClick && B(f);
1975
+ o("click", f), t.closeOnClick && L(f);
1973
1976
  }, M = () => {
1974
1977
  var f;
1975
1978
  t.pauseOnHover && ((f = a.value) == null || f.pause());
@@ -1980,7 +1983,7 @@ const _e = "[-+]?[0-9]*.?[0-9]+", Ee = [
1980
1983
  if (f.group || (f.group = ""), f.data || (f.data = {}), t.group !== f.group)
1981
1984
  return;
1982
1985
  if (f.clean || f.clear) {
1983
- L();
1986
+ B();
1984
1987
  return;
1985
1988
  }
1986
1989
  const R = typeof f.duration == "number" ? f.duration : t.duration, T = typeof f.speed == "number" ? f.speed : t.speed, oe = typeof f.ignoreDuplicates == "boolean" ? f.ignoreDuplicates : t.ignoreDuplicates, { title: re, text: Je, type: Qe, data: et, id: tt } = f, ne = {
@@ -1993,24 +1996,24 @@ const _e = "[-+]?[0-9]*.?[0-9]+", Ee = [
1993
1996
  length: R + 2 * T,
1994
1997
  data: et
1995
1998
  };
1996
- R >= 0 && (a.value = new zo(() => B(ne), ne.length, ne));
1999
+ R >= 0 && (a.value = new zo(() => L(ne), ne.length, ne));
1997
2000
  const ot = t.reverse ? !_.value : _.value;
1998
2001
  let fe = -1;
1999
2002
  const nt = c.value.some((Ie) => Ie.title === f.title && Ie.text === f.text);
2000
- (!oe || !nt) && (ot ? (s.value.push(ne), o("start", ne), c.value.length > t.max && (fe = 0)) : (s.value.unshift(ne), o("start", ne), c.value.length > t.max && (fe = c.value.length - 1)), fe !== -1 && B(c.value[fe]));
2003
+ (!oe || !nt) && (ot ? (s.value.push(ne), o("start", ne), c.value.length > t.max && (fe = 0)) : (s.value.unshift(ne), o("start", ne), c.value.length > t.max && (fe = c.value.length - 1)), fe !== -1 && L(c.value[fe]));
2001
2004
  }, X = (f) => {
2002
2005
  y(f);
2003
2006
  }, A = (f) => [
2004
2007
  "d-notification-template",
2005
2008
  t.classes,
2006
2009
  f.type || ""
2007
- ], Z = (f) => l.value ? void 0 : { transition: `all ${f.speed}ms` }, B = (f) => {
2010
+ ], Z = (f) => l.value ? void 0 : { transition: `all ${f.speed}ms` }, L = (f) => {
2008
2011
  clearTimeout(f.timer), f.state = n.DESTROYED, z(), o("destroy", f);
2009
2012
  }, y = (f) => {
2010
2013
  const R = s.value.find((T) => T.id === f);
2011
- R && B(R);
2012
- }, L = () => {
2013
- c.value.forEach(B);
2014
+ R && L(R);
2015
+ }, B = () => {
2016
+ c.value.forEach(L);
2014
2017
  }, V = (f, R) => {
2015
2018
  var oe;
2016
2019
  const T = (oe = t.animation) == null ? void 0 : oe[f];
@@ -2059,7 +2062,7 @@ const _e = "[-+]?[0-9]*.?[0-9]+", Ee = [
2059
2062
  $(f.$slots, "body", {
2060
2063
  class: E([e.classes, T.type]),
2061
2064
  item: T,
2062
- close: () => B(T)
2065
+ close: () => L(T)
2063
2066
  }, () => [
2064
2067
  S("div", {
2065
2068
  class: E(A(T)),
@@ -2087,7 +2090,7 @@ const _e = "[-+]?[0-9]*.?[0-9]+", Ee = [
2087
2090
  }, 40, ["name"]))
2088
2091
  ], 4));
2089
2092
  }
2090
- }, Jo = { class: "d-info-progress-icon-container" }, Qo = { class: "d-info-progress-icon" }, en = { class: "d-info-progress-data-container" }, tn = ["innerHTML"], Ln = {
2093
+ }, Jo = { class: "d-info-progress-icon-container" }, Qo = { class: "d-info-progress-icon" }, en = { class: "d-info-progress-data-container" }, tn = ["innerHTML"], Bn = {
2091
2094
  __name: "DInfoProgress",
2092
2095
  props: {
2093
2096
  style: [String, Object],
@@ -2263,7 +2266,7 @@ const mn = { class: "d-grid" }, hn = {
2263
2266
  },
2264
2267
  setup(e) {
2265
2268
  const o = e;
2266
- Te((u) => ({
2269
+ _e((u) => ({
2267
2270
  "09eba472": i[0],
2268
2271
  "09eba434": i[1],
2269
2272
  "09eba3f6": i[2],
@@ -2509,7 +2512,7 @@ export {
2509
2512
  ce as DIcon,
2510
2513
  U as DIconStore,
2511
2514
  An as DImage,
2512
- Ln as DInfoProgress,
2515
+ Bn as DInfoProgress,
2513
2516
  $n as DInput,
2514
2517
  kn as DLayoutAdmin,
2515
2518
  io as DLayoutContent,
@@ -2519,7 +2522,7 @@ export {
2519
2522
  no as DLayoutTab,
2520
2523
  je as DMenu,
2521
2524
  Ye as DModal,
2522
- Bn as DNotificationProvider,
2525
+ Ln as DNotificationProvider,
2523
2526
  Eo as DPanel,
2524
2527
  Dn as DScroll,
2525
2528
  wn as DScrollProvider,
@@ -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 Ao="",Ho="",Fo="",Ro="",Wo="",P={__name:"DIcon",props:{component:[Object,String],size:[Number,String],color:String,className:String},setup(t){const n=t,o=e.useSlots(),r=e.computed(()=>{const{className:c}=n;return c===void 0?"icon":["icon",c].join(" ")}),l=e.computed(()=>{const{color:c}=n;return c===void 0?null:c}),s=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:r.value,style:{color:l.value,fontSize:s.value}},n.component?e.h(n.component):o));return(c,a)=>(e.openBlock(),e.createBlock(e.unref(i)))}},M={state:{},getters:{getIcon(t){return M.state[t]},getIcons(){return M.state}},mutations:{addIcon(t,n){M.state.name=n},addIcons(t){for(const n in t)t.hasOwnProperty(n)&&(M.state[n]=t[n])}}};function ie(t){const n=t.value.getBoundingClientRect();let o=t.value,r=0,l=0;for(;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)r+=o.offsetLeft-o.scrollLeft,l+=o.offsetTop-o.scrollTop,o=o.offsetParent;return{top:l,left:r,x:n.x,y:n.y,width:n.width,height:n.height}}const Po="",A=(t,n)=>{const o=t.__vccOpts||t;for(const[r,l]of n)o[r]=l;return o},Oe={key:0,class:"loading-svg rotating",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Ae=[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)],He={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)],R=A({__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 r=t,l=e.useSlots(),s=e.ref(null),i=e.computed(()=>r.icon?M.getters.getIcon(r.icon):null),c=k=>{o("click",k)},a=k=>{o("contextmenu",k)},d=e.computed(()=>r.scale==="large"?"button-lg":r.scale==="small"?"button-sm":""),p=e.computed(()=>r.disabled?"disabled":""),u=k=>!!l[k],_=e.computed(()=>u("default")?"":r.scale==="large"?"d-button-lg-icon":r.scale==="small"?"d-button-sm-icon":"d-button-icon"),S=e.computed(()=>{const k=r.outline?"-outline":"";return r.type==="primary"?`button${k}-blue`:r.type==="success"?`button${k}-green`:r.type==="error"?`button${k}-red`:r.type==="warning"?`button${k}-orange`:r.type==="wait"?`button${k}-violet`:r.outline?`button${k}`:""});return n({elementSize:()=>ie(s)}),(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:s,onClick:c,onContextmenu:a,class:e.normalizeClass(["button",[r.class,d.value,S.value,p.value].join(" ")])},[e.renderSlot(k.$slots,"default",{},void 0,!0),r.loading?(e.openBlock(),e.createElementBlock("svg",Oe,Ae)):e.createCommentVNode("",!0)],34)),i.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"el",ref:s,onClick:c,onContextmenu:a,class:e.normalizeClass(["button button-ext",[r.class,d.value,_.value,S.value,p.value].join(" ")]),style:e.normalizeStyle(r.style)},[r.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:0,component:i.value,color:"inherit"},null,8,["component"])):e.createCommentVNode("",!0),e.unref(l).default?(e.openBlock(),e.createElementBlock("div",He,[e.renderSlot(k.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),r.loading?(e.openBlock(),e.createElementBlock("svg",Fe,Re)):e.createCommentVNode("",!0)],38)):e.createCommentVNode("",!0)],64))}},[["__scopeId","data-v-e5cd6ccd"]]),qo="",We={key:0,class:"d-input"},Pe={key:0,class:"label"},je=["placeholder"],Xe={key:1,class:"d-input",style:{display:"flex","align-items":"flex-end","justify-content":"flex-start"}},Ye={style:{flex:"1"}},qe={key:0,class:"label"},Ge=["placeholder"],Ue=A({__name:"DInput",props:{label:String,placeholder:String,scale:String,modelValue:String,post:Object,focus:Boolean},emits:["update:modelValue"],setup(t,{expose:n,emit:o}){const r=t,l=e.ref(null),s=e.computed(()=>r.scale==="small"?"d-input-small":r.scale==="large"?"d-input-large":""),i=e.computed({get:()=>r.modelValue,set:a=>{o("update:modelValue",a)}});e.onMounted(()=>{r.focus&&c()});const c=()=>{l.value.focus()};return n({focus:c}),(a,d)=>r.post?r.post.click?(e.openBlock(),e.createElementBlock("div",Xe,[e.createElementVNode("div",Ye,[r.label?(e.openBlock(),e.createElementBlock("div",qe,e.toDisplayString(r.label),1)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:l,class:e.normalizeClass(["d-input-post-field",s.value]),"onUpdate:modelValue":d[1]||(d[1]=p=>i.value=p),type:"text",placeholder:r.placeholder,style:{width:"100%"}},null,10,Ge),[[e.vModelText,i.value]])]),r.post.label?(e.openBlock(),e.createBlock(R,{key:0,scale:r.scale,class:e.normalizeClass(["d-input-post-button",r.post.class]),onClick:r.post.click,icon:r.post.icon},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.post.label),1)]),_:1},8,["scale","onClick","icon","class"])):(e.openBlock(),e.createBlock(R,{key:1,scale:r.scale,class:e.normalizeClass(["d-input-post-button",r.post.class]),onClick:r.post.click,icon:r.post.icon},null,8,["scale","onClick","icon","class"]))])):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",We,[r.label?(e.openBlock(),e.createElementBlock("div",Pe,e.toDisplayString(r.label),1)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:l,"onUpdate:modelValue":d[0]||(d[0]=p=>i.value=p),type:"text",class:e.normalizeClass(s.value),placeholder:r.placeholder,style:{width:"100%"}},null,10,je),[[e.vModelText,i.value]])]))}},[["__scopeId","data-v-7192af2c"]]),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":""),r=e.computed(()=>{const l=n.stress?"-stress":"";return n.type==="primary"?`badge${l}-blue`:n.type==="success"?`badge${l}-green`:n.type==="error"?`badge${l}-red`:n.type==="warning"?`badge${l}-orange`:n.type==="wait"?`badge${l}-violet`:n.stress?`badge${l}-gray`:""});return(l,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["badge",[n.class,o.value,r.value].join(" ")])},[e.renderSlot(l.$slots,"default")],2))}},H="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=a=>({height:a.style.height,width:a.style.width,position:a.style.position,visibility:a.style.visibility,overflow:a.style.overflow,paddingTop:a.style.paddingTop,paddingBottom:a.style.paddingBottom,borderTopWidth:a.style.borderTopWidth,borderBottomWidth:a.style.borderBottomWidth,marginTop:a.style.marginTop,marginBottom:a.style.marginBottom}),r=(a,d)=>{const{width:p}=getComputedStyle(a);a.style.width=p,a.style.position="absolute",a.style.visibility="hidden",a.style.height="";let{height:u}=getComputedStyle(a);return a.style.width=d.width,a.style.position=d.position,a.style.visibility=d.visibility,a.style.height=H,a.style.overflow="hidden",d.height&&d.height!==H?d.height:u},l=(a,d,p,u,_)=>{const S=a.animate(u,_);a.style.height=d.height,S.onfinish=()=>{a.style.overflow=d.overflow,p()}},s=(a,d)=>[{height:H,opacity:n.opacityClosed,paddingTop:H,paddingBottom:H,borderTopWidth:H,borderBottomWidth:H,marginTop:H,marginBottom:H},{height:a,opacity:n.opacityOpened,paddingTop:d.paddingTop,paddingBottom:d.paddingBottom,borderTopWidth:d.borderTopWidth,borderBottomWidth:d.borderBottomWidth,marginTop:d.marginTop,marginBottom:d.marginBottom}],i=(a,d)=>{const p=a,u=o(p),_=r(p,u),S=s(_,u),w={duration:n.duration,easing:n.easingEnter};l(p,u,d,S,w)},c=(a,d)=>{const p=a,u=o(p),{height:_}=getComputedStyle(p);p.style.height=_,p.style.overflow="hidden";const S=s(_,u).reverse(),w={duration:n.duration,easing:n.easingLeave};l(p,u,d,S,w)};return(a,d)=>(e.openBlock(),e.createBlock(e.Transition,{css:!1,onEnter:i,onLeave:c},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3}))}},G={data:void 0},Q=t=>t.reduce((n,o)=>(n[o]=o)&&n,{}),$=Q(["drag","dragend","dragenter","dragleave","dragstart","dragover","drop"]),Ze=Q(["copy","move","link","none"]),Ke=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 Ze},effectAllowed:{validator:t=>t in Ke},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(),r=e.ref(!1),l=e.computed(()=>r&&n.transferData),s=e.computed(()=>({position:"fixed",top:"-1000px"})),i=(c,a)=>{const d=a.dataTransfer;if([$.dragenter,$.dragover].includes(c)&&n.dropEffect&&(d.dropEffect=n.dropEffect),c===$.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&&(G.data=n.transferData,a.dataTransfer.setData("text","")),r.value=!0}};return(c,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{draggable:n.draggable,onDrag:a[0]||(a[0]=d=>i(e.unref($).drag,d)),onDragstart:a[1]||(a[1]=e.withModifiers(d=>i(e.unref($).dragstart,d),["stop"])),onDragenter:a[2]||(a[2]=d=>i(e.unref($).dragenter,d)),onDragleave:a[3]||(a[3]=d=>i(e.unref($).dragleave,d)),onDragend:a[4]||(a[4]=d=>i(e.unref($).dragend,d))},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default",{transferData:l.value}),t.hideImageHtml?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(s.value)},[e.renderSlot(c.$slots,"image",{transferData:l.value})],4)):e.renderSlot(c.$slots,"image",{key:1,transferData:l.value})]),_:3},40,["draggable"]))}},Uo="",Je=t=>(e.pushScopeId("data-v-d8c92d5e"),t=t(),e.popScopeId(),t),Qe={key:0,style:{display:"none"}},ve={key:1},et=[Je(()=>e.createElementVNode("div",{class:"tree-divider"},null,-1))],tt={key:2},ot={class:"tree-divider-header"},nt={class:"item-title"},rt={key:0,class:"tree-divider"},lt={key:1},st={style:{display:"flex","flex-direction":"row","justify-content":"flex-end"}},at={key:0,class:"sub-menu"},me=A({__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,r=e.ref(null),l=e.ref(!1),s=e.ref(!1),i=e.ref(!1),c=e.computed(()=>o.model.children&&o.model.children.length),a=e.computed(()=>(h.actions.isTreeExpanded(o.treeId)&&(o.model.expanded=o.model.expanded===void 0?!0:o.model.expanded),o.model.expanded)),d=B=>{n("nodeclick",{event:B,model:o.model})},p=B=>{n("nodeclick",B)},u=B=>{n("nodedrop",B)},_=B=>{n("nodecontext",B)},S=e.computed(()=>(h.actions.isItemSelected(o.treeId,o.model.id)?"selected":"")+(l.value?"node-over ":"")+(s.value?"node-top ":"")+(i.value?"node-bottom ":"")),w=e.computed(()=>o.search?!1:o.model.draggable===!0),k=B=>{n("nodedrop",{e:B,model:o.model});let y=G.data;if(y===void 0||y.model===void 0)return l.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 l.value=!1,s.value=!1,i.value=!1,!1;if(!h.state.trees[o.treeId].transfer&&y.id!==o.treeId)return!1;let D="";s.value?D="before":i.value?D="after":D="inside",h.actions.moveTreeNode(y.id,o.treeId,o.items,y.model.id,o.model.id,D),l.value=!1,s.value=!1,i.value=!1},N=B=>{n("nodedragover",{e:B,model:o.model});let y=G.data;if(y===void 0||y.model===void 0)return l.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 D=B.y,V=r.value.getBoundingClientRect().top,I=r.value.getBoundingClientRect().height,g=I/3;D>V&&D<=V+g?(l.value=!1,s.value=!0,i.value=!1):D<V+I&&D>=V+I-g?(l.value=!1,s.value=!1,i.value=!0):(l.value=!0,s.value=!1,i.value=!1)},z=()=>{l.value=!1,s.value=!1,i.value=!1},x=e.computed(()=>o.model.title.startsWith("-")),F=e.computed(()=>{if(o.model.title.startsWith("-")){let[B,...y]=o.model.title.split(" ");return y=y.join(" "),y}return null});return(B,y)=>{const D=e.resolveComponent("d-tree-item",!0),V=e.resolveDirective("touch");return e.unref(h).actions.beforeItem(o.treeId,t.model)?x.value&&!F.value?(e.openBlock(),e.createElementBlock("li",ve,et)):x.value&&F.value?(e.openBlock(),e.createElementBlock("li",tt,[e.createElementVNode("div",ot,e.toDisplayString(e.unref(h).actions.renderTitle(o.treeId,F.value)),1)])):(e.openBlock(),e.createBlock(pe,{key:3,tag:"li",class:"tree-item","transfer-data":{id:o.treeId,model:o.model},draggable:w.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:r,class:e.normalizeClass(S.value),onContextmenu:y[0]||(y[0]=e.withModifiers(T=>n("nodecontext",{e:T,model:o.model}),["prevent"]))},[e.createElementVNode("div",null,[o.model.icons&&o.model.icons.pre&&c.value&&!o.search&&!x.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:0,component:e.unref(M).getters.getIcon(o.model.icons.pre.component),size:18,color:o.model.icons.pre.color?o.model.icons.pre.color:"inherit",class:e.normalizeClass(a.value?"tree-open-pre":"")},null,8,["component","color","class"])):e.createCommentVNode("",!0),o.model.icons&&o.model.icons.pre&&!c.value&&!o.search&&!x.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:1,component:e.unref(M).getters.getIcon(o.model.icons.pre.component),size:18,color:"rgba(0,0,0,0)",class:e.normalizeClass(a.value?"tree-open-pre":"")},null,8,["component","class"])):e.createCommentVNode("",!0),o.model.icons&&o.model.icons.icon&&!x.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:2,component:e.unref(M).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",nt,[x.value?(e.openBlock(),e.createElementBlock("div",rt)):e.createCommentVNode("",!0),x.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",lt,e.toDisplayString(e.unref(h).actions.renderTitle(o.treeId,o.model.title)),1))])]),e.createElementVNode("div",st,[((I=o.model.badge)==null?void 0:I.value)!==void 0&&!x.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&&!x.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:1,component:e.unref(M).getters.getIcon(o.model.icons.post.component),size:20,color:o.model.icons.post.color?o.model.icons.post.color:"inherit",class:e.normalizeClass(a.value?"tree-open-post":"")},null,8,["component","color","class"])):e.createCommentVNode("",!0)])],34)),[[V,d]]),e.createVNode(de,null,{default:e.withCtx(()=>[c.value&&a.value&&!o.search?(e.openBlock(),e.createElementBlock("ul",at,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.model.children,T=>(e.openBlock(),e.createBlock(D,{class:"tree-item",key:T.id,model:T,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",Qe))}}},[["__scopeId","data-v-d8c92d5e"]]);function fe(t){return t=t||new Map,{all:t,on(n,o){const r=t.get(n);r?r.push(o):t.set(n,[o])},off(n,o){const r=t.get(n);r&&(o?r.splice(r.indexOf(o)>>>0,1):t.set(n,[]))},emit(n,o){let r=t.get(n);r&&r.slice().map(l=>{l(o)}),r=t.get("*"),r&&r.slice().map(l=>{l(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,r="id",l="children",s={}){return o&&t&&(t.find(i=>i[r]===o?(s.found=n,i):h.getters.getParentId(i[l],i.id,o,r,l,s)),s.found)?s.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,r,l,s,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=r,h.state.trees[t].transfer=l,h.state.trees[t].renderTitle=s,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,r){const l=h.actions.deepSearch(n,o);if(l&&l.children){for(let s=0;s<l.children.length;s++)if(l.children[s].id===r)return!0}return!1},isParentOfChild(t,n,o,r){const l=h.actions.deepSearch(n,o);return!!(l&&l.children&&h.actions.deepSearch(l.children,r))},deepSearch(t,n,o="id",r="children",l={}){return n&&t&&(t.find(s=>s[o]===n?(l.found=s,s):h.actions.deepSearch(s[r],n,o,r,l)),l.found)?l.found:!1},deepSearchByTitle(t,n,o="title",r="children",l=[]){if(n&&t&&(t.find(s=>{const i=new RegExp(n,"gi");s[o].toString().toLowerCase().match(i)!==null&&l.push(s),h.actions.deepSearchByTitle(s[r],n,o,r,l)}),l)){for(let s=0;s<l.length;s++);return l}return l},moveTreeNode(t,n,o,r,l,s){const i=h.actions.deleteTreeNode(o,r);h.actions.insertTreeNode(o,l,i,s),E.emit(`move-${n}`,{fromTreeId:t,toTreeId:n,moved:i.id,target:l,position:s})},insertTreeNode(t,n,o,r){if(t)for(let l=0;l<t.length;l++){if(t[l].id===n){let i=l;return r==="after"?(i++,t.splice(i,0,o)):r==="before"?t.splice(i,0,o):r==="inside"&&(Object.hasOwn(t[l],"children")||(t[l].children=[],t[l].opened=!0),t[l].children.splice(0,0,o)),t[l]}const s=this.insertTreeNode(t[l].children,n,o,r);if(s)return s}},deleteTreeNode(t,n){if(t)for(let o=0;o<t.length;o++){if(t[o].id===n){const l=t[o];return t.splice(o,1),l}const r=h.actions.deleteTreeNode(t[o].children,n);if(r)return r}}}},ue={__name:"DDrop",props:{tag:{type:String,default:"div"}},emits:Object.keys($),setup(t,{expose:n,emit:o}){let r=e.reactive({});const l=e.ref("false"),s=e.ref(null),i=new Set,c=e.computed(()=>l.value&&r),a=(p,u)=>{r=G.data,o(p,u,r),p===$.dragenter&&(i.size||u.target===s.value)&&i.add(u.target),p===$.dragleave&&i.delete(u.target),p===$.drop&&i.clear(),l.value=!!i.size};return n({elementSize:()=>ie(s)}),(p,u)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{ref_key:"el",ref:s,onDragenter:u[0]||(u[0]=_=>a(e.unref($).dragenter,_)),onDragleave:u[1]||(u[1]=_=>a(e.unref($).dragleave,_)),onDragover:u[2]||(u[2]=e.withModifiers(_=>a(e.unref($).dragover,_),["prevent"])),onDrop:u[3]||(u[3]=e.withModifiers(_=>a(e.unref($).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 r=t;let l=e.ref(null),s=e.ref(!1);const i=()=>{E.emit("menu-show-request"),s.value=!0},c=()=>{var _;(_=l.value)==null||_.collapseAll(),s.value=!1},a=()=>s.value;E.on("menu-show-request",()=>{c()}),n({show:i,hide:c,elementSize:()=>l.value.elementSize(),isShowed:a,itemsCount:()=>l.value.itemsCount()});const u=_=>{o("select",_),_.model.children||c()};return(_,S)=>{const w=e.resolveDirective("click-outside");return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.unref(s)?e.withDirectives((e.openBlock(),e.createBlock(ee,{key:0,ref_key:"treeRef",ref:l,items:r.items,"no-select":r.noSelect,class:e.normalizeClass(r.class),style:e.normalizeStyle(r.style),onSelect:u,"render-title":r.renderItemTitle,"before-item":r.beforeItem},null,8,["items","no-select","class","style","render-title","before-item"])),[[w,()=>c()]]):e.createCommentVNode("",!0)])}}},he={__name:"DContextMenu",props:{items:Array,renderItemTitle:Function,beforeItem:Function},emits:["select"],setup(t,{expose:n,emit:o}){const r=t,l=e.ref(null),s=e.ref(0),i=e.ref(0),c=e.computed(()=>({left:s.value+"px",top:i.value+"px"})),a=p=>{l.value.show(),e.nextTick(()=>{const u=l.value.elementSize(),_=window.innerWidth,S=window.innerHeight;s.value=_-p.pageX<u.width?p.pageX-u.width:p.pageX,i.value=S-p.pageY<u.height?p.pageY-u.height:p.pageY,l.value.itemsCount()===0&&l.value.hide()})},d=p=>{o("select",p)};return n({show:a}),(p,u)=>(e.openBlock(),e.createBlock(v,{ref_key:"dMenuRef",ref:l,onSelect:d,items:r.items,style:e.normalizeStyle(c.value),class:"context-menu","no-select":!0,"render-item-title":r.renderItemTitle,"before-item":r.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 r=t,l=e.ref(null),s=e.ref(!1),i=e.ref(null),c=e.getCurrentInstance().uid;h.actions.initTreeStore(c,r.noSelect,r.multiSelect,r.expanded,r.transfer,r.renderTitle,r.beforeItem);const a=(g,T)=>{console.log(g,T)};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(()=>r.search?h.actions.deepSearchByTitle(r.items,r.search):r.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)},S=()=>l.value.elementSize(),w=()=>{for(let g=0;g<r.items.length;g++)r.items[g].expanded=!0},k=()=>{for(let g=0;g<r.items.length;g++)r.items[g].expanded=!1},N=()=>c,z=g=>h.actions.deepSearch(r.items,g),x=g=>{z(g)&&h.mutations.setItemSelect(c,z(g))},F=g=>{r.contextClick({e:g.e,model:g.model,target:i.value})},B=g=>r.contextBeforeClick({model:g,target:i.value}),y=e.computed(()=>r.context),D=g=>(y.value&&(i.value=g.model,s.value.show(g.e)),!1),V=()=>I(d.value),I=g=>{let T=0;for(let m=0;m<g.length;m++)T+=h.actions.beforeItem(c,g[m])?1:0,g[m].children&&g[m].children.length>0&&(T+=I(g[m].children));return T};return n({elementSize:S,expandAll:w,collapseAll:k,getId:N,getNode:z,selectNode:x,itemsCount:V}),(g,T)=>(e.openBlock(),e.createBlock(ue,{ref_key:"treeRef",ref:l,class:"tree",tag:"ul",onDrop:e.withModifiers(a,["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:r.items,search:r.search,onNodeclick:p,onNodedragover:u,onNodedrop:_,onNodecontext:D},null,8,["model","treeId","items","search"]))),128)),y.value?(e.openBlock(),e.createBlock(he,{key:0,ref_key:"contextTreeRef",ref:s,items:y.value,onSelect:F,"before-item":B},null,8,["items"])):e.createCommentVNode("",!0)]),_:1},8,["onDrop"]))}},Jo="",it=A({__name:"DAccordion",props:{items:Array,renderTitle:Function,noSelect:{type:Boolean,default:!0}},setup(t){const n=t;return(o,r)=>(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:r,zIndex:l,minWidth:s,height:i,paddingLeft:c,transitionDuration:a,transitionTimingFunction:d}=n,p=r?"fixed":"static",u=n.useMinWidthLayout?`min-width:${s}px;`:"";return`position:${p};z-index:${l};${u}height:${i}px;padding-left:${c}px;transition-duration:${a}ms;transition-timing-function:${d};`});return(r,l)=>(e.openBlock(),e.createElementBlock("header",{class:"d-layout-header",style:e.normalizeStyle(o.value)},[e.renderSlot(r.$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:r,top:l,zIndex:s,minWidth:i,height:c,paddingLeft:a,transitionDuration:d,transitionTimingFunction:p}=n,u=r?"fixed":"static",_=n.useMinWidthLayout?`min-width: ${i}px;`:"";return`position:${u};top:${l}px;z-index:${s};${_}height:${c}px;padding-left:${a}px;transition-duration:${d}ms;transition-timing-function:${p};`});return(r,l)=>(e.openBlock(),e.createElementBlock("div",{class:"d-layout-tab",style:e.normalizeStyle(o.value)},[e.renderSlot(r.$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:r,zIndex:l,minWidth:s,height:i,paddingLeft:c,transitionDuration:a,transitionTimingFunction:d}=n,p=r?"fixed":"static",u=n.useMinWidthLayout?`min-width:${s}px;`:"";return`position:${p};z-index:${l};${u}height:${i}px;padding-left:${c}px;transition-duration:${a}ms;transition-timing-function:${d};`});return(r,l)=>(e.openBlock(),e.createElementBlock("footer",{class:"d-layout-footer",style:e.normalizeStyle(o.value)},[e.renderSlot(r.$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:r,width:l,paddingTop:s,transitionDuration:i,transitionTimingFunction:c}=n;return`z-index:${r};width:${l}px;padding-top:${s}px;transition-duration:${i}ms;transition-timing-function:${c};`});return(r,l)=>(e.openBlock(),e.createElementBlock("aside",{class:"d-layout-sidebar",style:e.normalizeStyle(o.value)},[e.renderSlot(r.$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:r,paddingBottom:l,paddingLeft:s,transitionDuration:i,transitionTimingFunction:c}=n,a=`overflow:${n.overflowHidden?"hidden":"visible"};`;return`padding-top:${r}px;padding-bottom:${l}px;padding-left:${s}px;${a}transition-duration:${i}ms;transition-timing-function:${c};`});return(r,l)=>(e.openBlock(),e.createElementBlock("main",{style:e.normalizeStyle(o.value),class:"d-layout-content"},[e.renderSlot(r.$slots,"default")],4))}};function ct(t){const n=e.ref(0),o=e.computed(()=>`transform: translateX(${-n.value}px);`);let r=!1;function l(p){n.value=p}function s(){var p;const u=((p=document.scrollingElement)===null||p===void 0?void 0:p.scrollLeft)||0;l(u)}function i(){s()}function c(){document.addEventListener("scroll",s)}function a(){r&&document.removeEventListener("scroll",s)}function d(){i(),c(),r=!0}return e.watch(t,p=>{p?d():a()},{immediate:!0}),e.onUnmounted(()=>{a()}),o}const dt=1001,pt=999,mt=998,ft={__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,r=e.computed(()=>o.useMinWidthLayout?`min-width:${o.minWidth}px;`:""),l=e.computed(()=>o.useMinWidthLayout&&(o.fixedHeaderAndTab||o.fixedFooter)),s=ct(l),i=e.computed(()=>o.fixedHeaderAndTab?s.value:""),c=e.computed(()=>o.fixedFooter?s.value:""),a=e.computed(()=>{const{transitionDuration:y,transitionTimingFunction:D}=o;return{transitionDuration:y,transitionTimingFunction:D}}),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 S=e.computed(()=>o.isMobile&&!u.value),w=e.computed(()=>{const{transitionDuration:y,transitionTimingFunction:D}=o;return`background-color:${o.maskBg};transition-duration:${y}ms;transition-timing-function:${D};`}),k=e.computed(()=>{const{sidebarWidth:y,sidebarCollapsedWidth:D}=o,V=o.isMobile?0:D,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),x=e.computed(()=>!o.isMobile&&!d.value&&o.headerVisible?o.headerHeight:0),F=e.computed(()=>{let y=0;return o.fixedHeaderAndTab&&(o.headerVisible&&(y+=o.headerHeight),o.tabVisible&&(y+=o.tabHeight)),y}),B=e.computed(()=>o.fixedFooter&&o.footerVisible?o.footerHeight:0);return(y,D)=>(e.openBlock(),e.createElementBlock("div",{class:"d-layout",style:e.normalizeStyle(r.value)},[t.headerVisible?(e.openBlock(),e.createBlock(ge,e.mergeProps({key:0},a.value,{fixed:t.fixedHeaderAndTab,"z-index":dt,"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},a.value,{fixed:t.fixedHeaderAndTab,"z-index":pt,"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},a.value,{"z-index":p.value,width:k.value,"padding-top":x.value}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"sidebar")]),_:3},16,["z-index","width","padding-top"])):e.createCommentVNode("",!0),S.value?(e.openBlock(),e.createElementBlock("div",{key:3,class:"d-layout-sidebar-mask",style:e.normalizeStyle(w.value),onClick:_},null,4)):e.createCommentVNode("",!0),e.createVNode(be,e.mergeProps(a.value,{"padding-top":F.value,"padding-bottom":B.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},a.value,{fixed:t.fixedFooter,"z-index":mt,"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.setAttribute("class",t)}},actions:{toggleTheme(){j.state.theme=j.state.theme==="dark"?"light":"dark",document.documentElement.setAttribute("class",j.state.theme)}}},ut={__name:"DConfigProvider",props:{theme:{type:String,default:"dark"}},setup(t){const n=t;return j.mutations.setTheme(n.theme),(o,r)=>e.renderSlot(o.$slots,"default")}},vo="",ht={__name:"DScrollProvider",props:{xHide:{type:Boolean,default:!0},yHide:{type:Boolean,default:!1}},setup(t){const n=t;e.computed(()=>n.xHide?"hidden":"visible"),e.computed(()=>n.yHide?"hidden":"visible");const o=r=>{document.body.classList.add(r),document.querySelector("html").classList.add(r)};return e.onMounted(()=>{o("colored-scroller")}),(r,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.renderSlot(r.$slots,"default")]))}},en="",gt=A({__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(l=>({c07fa29a:o.value,c07fa298:r.value}));const o=e.computed(()=>n.xHide?"hidden":"visible"),r=e.computed(()=>n.yHide?"hidden":"visible");return(l,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(n.autoHide?"d-scroll-hide":"d-scroll")},[e.renderSlot(l.$slots,"default",{},void 0,!0)],2))}},[["__scopeId","data-v-d50b3609"]]),on="",yt={class:"modal-dialog"},_t={class:"modal-content"},kt={class:"modal-header"},bt={class:"modal-title"},St={class:"modal-body"},Bt={class:"modal-footer"},te=A({__name:"DModal",props:{show:Boolean,width:String},emits:["open","close"],setup(t,{expose:n,emit:o}){const r=t;e.useCssVars(a=>({"558e9e46":r.width}));const l=e.ref(null),s=e.ref(!1);s.value=r==null?void 0:r.show;const i=()=>{s.value=!0,o("open",l)},c=()=>{s.value=!1,o("close",l)};return n({show:i,hide:c}),(a,d)=>{const p=e.resolveDirective("keydown");return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[s.value?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"modalRef",ref:l,class:"modal"},[e.createElementVNode("div",yt,[e.createElementVNode("div",_t,[e.createElementVNode("div",kt,[e.createElementVNode("h5",bt,[e.renderSlot(a.$slots,"modal-title",{},void 0,!0)])]),e.createElementVNode("div",St,[e.renderSlot(a.$slots,"default",{},void 0,!0)]),e.createElementVNode("div",Bt,[e.renderSlot(a.$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 Se(t,n,o="default"){return new Promise(r=>{X.value={dialog:t,props:n,wrapper:o,resolve:r}})}var Dt=(t,n)=>{const o=t.__vccOpts||t;for(const[r,l]of n)o[r]=l;return o};const wt=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 $t(t,n,o,r,l,s){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 xt=Dt(wt,[["render",$t]]);const Tt={style:{display:"flex","flex-direction":"row","justify-content":"center",gap:"5px"}},Be={__name:"DAlertDialog",props:{title:String,message:String},setup(t,{expose:n}){const o=t;return n({returnValue:()=>!0}),(l,s)=>(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",Tt,[e.createVNode(R,{onClick:s[0]||(s[0]=i=>e.unref(oe)())},{default:e.withCtx(()=>[e.createTextVNode("Закрыть")]),_:1})])]),_:1})]))}},Ct={style:{display:"flex","flex-direction":"row","justify-content":"center",gap:"5px"}},De={__name:"DConfirmDialog",props:{title:String,message:String},setup(t,{expose:n}){const o=t;return n({returnValue:()=>!0}),(l,s)=>(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",Ct,[e.createVNode(R,{onClick:s[0]||(s[0]=i=>e.unref(oe)())},{default:e.withCtx(()=>[e.createTextVNode("Да")]),_:1}),e.createVNode(R,{class:"button-red",onClick:s[1]||(s[1]=i=>e.unref(oe)(!1))},{default:e.withCtx(()=>[e.createTextVNode("Нет")]),_:1})])]),_:1})]))}},Et={class:"dropdown"},Nt={__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 r=t,l=e.useSlots(),s=e.ref(null),i=e.ref(null),c=e.ref(0),a=e.ref(0),d=S=>{if(o("click",S),s.value.isShowed()){s.value.hide();return}s.value.show(),e.nextTick(()=>{const w=s.value.elementSize(),k=i.value.elementSize(),N=window.innerWidth,z=window.innerHeight;c.value=N-(k.x+k.width)<w.width?k.left-w.width+k.width:k.left,a.value=z-(k.y+k.height)<w.height?k.top-w.height-5:k.height+k.top+5})},p=S=>{o("select",S)},u=e.computed(()=>({left:c.value+"px",top:a.value+"px",...r.menuStyle}));n({show:d});const _=S=>!!l[S];return(S,w)=>(e.openBlock(),e.createElementBlock("div",Et,[_("default")?(e.openBlock(),e.createBlock(R,{key:0,ref_key:"buttonRef",ref:i,class:e.normalizeClass(r.class),icon:r.icon,onClick:e.withModifiers(d,["stop","prevent"]),type:r.type},{default:e.withCtx(()=>[e.renderSlot(S.$slots,"default")]),_:3},8,["class","icon","onClick","type"])):(e.openBlock(),e.createBlock(R,{key:1,ref_key:"buttonRef",ref:i,class:e.normalizeClass(r.class),icon:r.icon,onClick:e.withModifiers(d,["stop","prevent"]),type:r.type},null,8,["class","icon","onClick","type"])),e.createVNode(v,{ref_key:"dMenuRef",ref:s,items:r.items,class:"dropdown-menu",style:e.normalizeStyle(u.value),"no-select":!0,onSelect:p,"render-item-title":r.renderItemTitle,"before-item":r.beforeItem},null,8,["items","style","render-item-title","before-item"])]))}},Vt={},It={class:"d-panel"};function Mt(t,n){return e.openBlock(),e.createElementBlock("div",It,[e.renderSlot(t.$slots,"default")])}const we=A(Vt,[["render",Mt]]),Lt={class:"card-header"},zt={class:"modal-title"},Ot={class:"card-body"},At={class:"card-footer"},Ht={__name:"DCard",setup(t){return(n,o)=>(e.openBlock(),e.createBlock(we,{class:"d-card"},{default:e.withCtx(()=>[e.createElementVNode("div",Lt,[e.createElementVNode("h5",zt,[e.renderSlot(n.$slots,"title")])]),e.createElementVNode("div",Ot,[e.renderSlot(n.$slots,"default")]),e.createElementVNode("div",At,[e.renderSlot(n.$slots,"footer")])]),_:3}))}},Ft=new Map;class Rt{constructor(n,o,r){this.remaining=o,this.callback=n,this.notifyItem=r,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]+",$e=[{name:"px",regexp:new RegExp(`^${ne}px$`)},{name:"%",regexp:new RegExp(`^${ne}%$`)},{name:"px",regexp:new RegExp(`^${ne}$`)}],Wt=t=>{if(t==="auto")return{type:t,value:0};for(let n=0;n<$e.length;n++){const o=$e[n];if(o.regexp.test(t))return{type:o.name,value:parseFloat(t)}}return{type:"",value:t}},Pt=t=>{switch(typeof t){case"number":return{type:"px",value:t};case"string":return Wt(t);default:return{type:"",value:t}}},xe={x:new Set(["left","center","right"]),y:new Set(["top","bottom"])},jt=(t=>()=>t++)(0),Xt=t=>typeof t!="string"?[]:t.split(/\s+/gi).filter(Boolean),Yt=t=>{typeof t=="string"&&(t=Xt(t));let n=null,o=null;return t.forEach(r=>{xe.y.has(r)&&(o=r),xe.x.has(r)&&(n=r)}),{x:n,y:o}},re={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=(s,i)=>{n("enter",s,i)},r=(s,i)=>{n("leave",s,i)},l=()=>{n("after-leave")};return(s,i)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{tag:"span",css:!1,onEnter:o,onLeave:r,onAfterLeave:l},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3}))}},Gt=Object.assign({inheritAttrs:!1},{__name:"CssGroup",props:{name:String},setup(t){const n=t;return(o,r)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{tag:"span",name:n.name},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["name"]))}}),Ut=["data-id"],Zt=["onClick"],Kt=["innerHTML"],Jt=["innerHTML"],Qt={key:0,class:"d-notification-title"},vt={class:"notification-content"},eo={__name:"DNotificationProvider",props:{group:{type:String,default:""},width:{type:[String,Number],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array,null],default:re.position},classes:{type:String,default:"d-notification"},animationType:{type:String,default:"css"},animation:{type:[String,Object],default:re.velocityAnimation},animationName:{type:String,default:re.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,r={IDLE:0,DESTROYED:2},l=e.ref([]),s=e.ref(null),i=e.ref(Ft.get("velocity")),c=e.computed(()=>o.animationType==="velocity"),a=e.computed(()=>c.value?qt:Gt),d=e.computed(()=>l.value.filter(m=>m.state!==r.DESTROYED)),p=e.computed(()=>Pt(o.width)),u=e.computed(()=>{const{x:m,y:C}=Yt(o.position),b=p.value.value,W=p.value.type,q={width:b+W};return C&&(q[C]="0px"),m&&(m==="center"?q.left=`calc(50% - ${+b/2}${W})`:q[m]="0px"),q}),_=e.computed(()=>"bottom"in u.value),S=m=>{n("click",m),o.closeOnClick&&B(m)},w=()=>{var m;o.pauseOnHover&&((m=s.value)==null||m.pause())},k=()=>{var m;o.pauseOnHover&&((m=s.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){D();return}const C=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:q,text:Vo,type:Io,data:Mo,id:Lo}=m,Y={id:Lo||jt(),title:q,text:Vo,type:Io,state:r.IDLE,speed:b,length:C+2*b,data:Mo};C>=0&&(s.value=new Rt(()=>B(Y),Y.length,Y));const zo=o.reverse?!_.value:_.value;let J=-1;const Oo=d.value.some(ze=>ze.title===m.title&&ze.text===m.text);(!W||!Oo)&&(zo?(l.value.push(Y),n("start",Y),d.value.length>o.max&&(J=0)):(l.value.unshift(Y),n("start",Y),d.value.length>o.max&&(J=d.value.length-1)),J!==-1&&B(d.value[J]))},z=m=>{y(m)},x=m=>["d-notification-template",o.classes,m.type||""],F=m=>c.value?void 0:{transition:`all ${m.speed}ms`},B=m=>{clearTimeout(m.timer),m.state=r.DESTROYED,T(),n("destroy",m)},y=m=>{const C=l.value.find(b=>b.id===m);C&&B(C)},D=()=>{d.value.forEach(B)},V=(m,C)=>{var W;const b=(W=o.animation)==null?void 0:W[m];return typeof b=="function"?b(C):b},I=(m,C)=>{if(!c.value)return;const b=V("enter",m);i.value(m,b,{duration:o.speed,complete:C})},g=(m,C)=>{if(!c.value)return;const b=V("leave",m);i.value(m,b,{duration:o.speed,complete:C})};function T(){l.value=l.value.filter(m=>m.state!==r.DESTROYED)}return e.onMounted(()=>{E.on("notification-add",N),E.on("notification-close",z)}),(m,C)=>(e.openBlock(),e.createElementBlock("div",{class:"d-notification-group",style:e.normalizeStyle(u.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.value),{name:t.animationName,onEnter:I,onLeave:g,onAfterLeave:T},{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(F(b)),"data-id":b.id,onMouseenter:w,onMouseleave:k},[e.renderSlot(m.$slots,"body",{class:e.normalizeClass([t.classes,b.type]),item:b,close:()=>B(b)},()=>[e.createElementVNode("div",{class:e.normalizeClass(x(b)),onClick:W=>S(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,Kt)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"notification-content",innerHTML:b.text},null,8,Jt)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.title?(e.openBlock(),e.createElementBlock("div",Qt,e.toDisplayString(b.title),1)):e.createCommentVNode("",!0),e.createElementVNode("div",vt,e.toDisplayString(b.text),1)],64))],10,Zt)])],44,Ut))),128))]),_:3},40,["name"]))],4))}},to={class:"d-info-progress-icon-container"},oo={class:"d-info-progress-icon"},no={class:"d-info-progress-data-container"},ro=["innerHTML"],lo={__name:"DInfoProgress",props:{style:[String,Object],label:String,progress:Number,icon:String,type:String},emits:["click"],setup(t,{emit:n}){const o=t,r=e.computed(()=>o.icon?M.getters.getIcon(o.icon):null);return(l,s)=>(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:s[0]||(s[0]=i=>{n("click",i)})},[e.createElementVNode("div",to,[e.createElementVNode("div",oo,[o.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:0,component:r.value,color:"inherit",size:17},null,8,["component"])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",no,[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,ro)])],6))}},so={class:"d-checkbox"},ao=["id","checked","disabled"],io=["for"],co={__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,l=e.getCurrentInstance().uid,s=e.computed({get:()=>o.modelValue,set:i=>{n("update:modelValue",i)}});return(i,c)=>(e.openBlock(),e.createElementBlock("div",so,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":c[0]||(c[0]=a=>s.value=a),id:`i-${e.unref(l)}`,type:"checkbox",checked:o.checked,disabled:o.disabled,onChange:c[1]||(c[1]=(...a)=>o.change&&o.change(...a))},null,40,ao),[[e.vModelCheckbox,s.value]]),e.createElementVNode("label",{for:`i-${e.unref(l)}`},e.toDisplayString(o.label),9,io)]))}};async function Te(t,n){return await Se(De,{title:t,message:n})}async function Ce(t,n){return await Se(Be,{title:t,message:n})}const po={__name:"DDialogProvider",setup(t){return window.alert=Ce,window.confirm=Te,(n,o)=>(e.openBlock(),e.createBlock(e.unref(xt)))}},mo={class:"d-select"},fo={key:0,class:"label"},uo=["value","selected","disabled"],ho={__name:"DSelect",props:{label:String,size:String,options:Array,modelValue:String,scale:String},emits:["update:modelValue"],setup(t,{emit:n}){const o=t,r=e.computed(()=>o.scale?"d-select-"+o.scale:""),l=e.computed({get:()=>o.modelValue,set:s=>{n("update:modelValue",s)}});for(let s=0;s<o.options.length;s++)if(o.options[s].selected){l.value=o.options[s].value;break}return(s,i)=>(e.openBlock(),e.createElementBlock("div",mo,[o.label?(e.openBlock(),e.createElementBlock("div",fo,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("select",{"onUpdate:modelValue":i[0]||(i[0]=c=>l.value=c),class:e.normalizeClass(r.value),style:e.normalizeStyle(o.size==="wide"?"width:100%":"")},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,(c,a)=>(e.openBlock(),e.createElementBlock("option",{key:a,value:c.value,selected:c.selected,disabled:c.disabled},e.toDisplayString(c.label),9,uo))),128))],6),[[e.vModelSelect,l.value]])]))}},rn="",go={class:"d-tabs"},yo=["onClick"],_o=A({__name:"DTabs",props:{tabs:Array},setup(t){const n=t,o=e.toRef(n,"tabs"),r=e.ref(0),l=s=>{r.value=s};return(s,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",go,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(c,a)=>(e.openBlock(),e.createElementBlock("div",{key:a,class:e.normalizeClass([a===r.value?"active":"","d-tab-title"]),onClick:d=>l(a)},e.toDisplayString(c.label),11,yo))),128))]),(e.openBlock(),e.createBlock(e.KeepAlive,null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value[r.value].component)))],1024))],64))}},[["__scopeId","data-v-89cd9234"]]),sn="",ko={class:"d-grid"},bo=A({__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":a[0],"09eba434":a[1],"09eba3f6":a[2],"09eba3b8":a[3],"09eba37a":a[4],"09eba33c":a[5],"898eb2ac":n.gap}));const{colXs:o,colSm:r,colMd:l,colLg:s,colXl:i,colXxl:c}=e.toRefs(n),a=[o.value,r.value,l.value,s.value,i.value,c.value];let d=null;for(let p=0;p<a.length;p++)d||(d=a[0]),p>0&&(a[p]?d=a[p]:a[p]=d);return(p,u)=>(e.openBlock(),e.createElementBlock("div",ko,[e.renderSlot(p.$slots,"default",{},void 0,!0)]))}},[["__scopeId","data-v-b45e8130"]]),So=["src","alt","title"],Bo={__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),r=new Image;return r.onload=()=>{o.value=r.src},r.onerror=()=>{o.value=n.srcFail},e.onMounted(()=>{r.src=n.src}),(l,s)=>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,So)):e.createCommentVNode("",!0)}},le=t=>{typeof t=="string"&&(t={title:"",text:t}),typeof t=="object"&&E.emit("notification-add",t)};le.close=t=>{E.emit("notification-close",t)};const Do=()=>({notify:le}),wo={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)}},$o={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}},xo={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 To=function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,n)}catch{}return t}(),Co={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,r=t.type.indexOf("mouse")>=0,l=this;o&&(n.lastTouchStartTime=t.timeStamp),!(r&&n.lastTouchStartTime&&t.timeStamp-n.lastTouchStartTime<350)&&(n.touchStarted||(Le(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=L(this,"swipe")||L(this,"swipe.left")||L(this,"swipe.right")||L(this,"swipe.top")||L(this,"swipe.bottom"),L(this,"hold")&&(n.touchHoldTimer=setTimeout(function(){n.touchHoldTimer=null,O(t,l,"hold")},n.options.touchHoldTolerance)),O(t,this,"press")))}function Z(t){var n=this.$$touchObj,o=Ee(t),r=Ne(t),l=n.currentX!=o||n.currentY!=r;if(n.currentX=o,n.currentY=r,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 s=n.options.tapTolerance;n.touchMoved=Math.abs(n.startX-n.currentX)>s||Math.abs(n.startY-n.currentY)>s,n.touchMoved&&(ae(n),O(t,this,"drag.once"))}if(L(this,"rollover")&&l){var c=t.timeStamp,a=n.options.rollOverFrequency;(n.touchRollTime==null||c>n.touchRollTime+a)&&(n.touchRollTime=c,O(t,this,"rollover"))}if(L(this,"drag")&&n.touchStarted&&n.touchMoved&&l){var c=t.timeStamp,a=n.options.dragFrequency;(n.touchDragTime==null||c>n.touchDragTime+a)&&(n.touchDragTime=c,O(t,this,"drag"))}}function Ve(){var t=this.$$touchObj;ae(t),se(this),t.touchStarted=t.touchMoved=!1,t.startX=t.startY=0}function K(t){var n=this.$$touchObj,o=t.type.indexOf("touch")>=0,r=t.type.indexOf("mouse")>=0;o&&(n.lastTouchEndTime=t.timeStamp);var l=o&&!n.touchHoldTimer;if(ae(n),n.touchStarted=!1,se(this),!(r&&n.lastTouchEndTime&&t.timeStamp-n.lastTouchEndTime<350))if(O(t,this,"release"),n.touchMoved){if(n.hasSwipe&&!n.swipeOutBounded){var s=n.options.swipeTolerance,i,c=Math.abs(n.startY-n.currentY),a=Math.abs(n.startX-n.currentX);(c>s||a>s)&&(c>s?i=n.startY>n.currentY?"top":"bottom":i=n.startX>n.currentX?"left":"right",L(this,"swipe."+i)?O(t,this,"swipe."+i,i):O(t,this,"swipe",i))}}else if(L(this,"longtap")&&t.timeStamp-n.touchStartTime>n.options.longTapTimeInterval)t.cancelable&&t.preventDefault(),O(t,this,"longtap");else if(L(this,"hold")&&l){t.cancelable&&t.preventDefault();return}else O(t,this,"tap")}function Ie(){Le(this)}function Me(){se(this)}function L(t,n){var o=t.$$touchObj.callbacks[n];return o!=null&&o.length>0}function O(t,n,o,r){var l=n.$$touchObj,s=l.callbacks[o];if(s==null||s.length===0)return null;for(var i=0;i<s.length;i++){var c=s[i];c.modifiers.stop&&t.stopPropagation(),c.modifiers.prevent&&t.preventDefault(),!(c.modifiers.self&&t.target!==t.currentTarget)&&typeof c.value=="function"&&(r?c.value(r,t):c.value(t))}}function Le(t){var n=t.$$touchObj.options.touchClass;n&&t.classList.add(n)}function se(t){var n=t.$$touchObj.options.touchClass;n&&t.classList.remove(n)}function ae(t){t.touchHoldTimer&&(clearTimeout(t.touchHoldTimer),t.touchHoldTimer=null)}function Eo(t,n){var o=t.$$touchObj||{callbacks:{},hasBindTouchEvents:!1,options:Co};return n&&(o.options=Object.assign({},o.options,n)),t.$$touchObj=o,t.$$touchObj}const No={beforeMount:function(t,n){const o=Eo(t);let r=To?{passive:!0}:!1;const l=n.arg||"tap";switch(l){case"swipe":let s=n.modifiers;if(s.left||s.right||s.top||s.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&&(r=!1);default:o.callbacks[l]=o.callbacks[l]||[],o.callbacks[l].push(n)}o.hasBindTouchEvents||(t.addEventListener("touchstart",U,r),t.addEventListener("touchmove",Z,r),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",Me)),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",Me)),delete t.$$touchObj}};f.DAccordion=it,f.DAlertDialog=Be,f.DBadge=ce,f.DButton=R,f.DCard=Ht,f.DCheckbox=co,f.DCollapse=de,f.DConfigProvider=ut,f.DConfirmDialog=De,f.DContextMenu=he,f.DDialogProvider=po,f.DDrag=pe,f.DDrop=ue,f.DDropdown=Nt,f.DGlobalStore=j,f.DGrid=bo,f.DIcon=P,f.DIconStore=M,f.DImage=Bo,f.DInfoProgress=lo,f.DInput=Ue,f.DLayoutAdmin=ft,f.DLayoutContent=be,f.DLayoutFooter=_e,f.DLayoutHeader=ge,f.DLayoutSidebar=ke,f.DLayoutTab=ye,f.DMenu=v,f.DModal=te,f.DNotificationProvider=eo,f.DPanel=we,f.DScroll=gt,f.DScrollProvider=ht,f.DSelect=ho,f.DTabs=_o,f.DTransferStore=G,f.DTree=ee,f.DTreeItem=me,f.DTreeStore=h,f.alert=Ce,f.clickOutside=wo,f.confirm=Te,f.emitter=E,f.eventsBus=fe,f.focus=xo,f.keydown=$o,f.notify=le,f.touch=No,f.useNotification=Do,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 Ao="",Ho="",Fo="",Ro="",Wo="",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}),r=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:r.value}},n.component?e.h(n.component):o));return(c,a)=>(e.openBlock(),e.createBlock(e.unref(i)))}},M={state:{},getters:{getIcon(t){return M.state[t]},getIcons(){return M.state}},mutations:{addIcon(t,n){M.state.name=n},addIcons(t){for(const n in t)t.hasOwnProperty(n)&&(M.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 Po="",A=(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"},Ae=[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)],He={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)],R=A({__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(),r=e.ref(null),i=e.computed(()=>l.icon?M.getters.getIcon(l.icon):null),c=k=>{o("click",k)},a=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"),S=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(r)}),(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:r,onClick:c,onContextmenu:a,class:e.normalizeClass(["button",[l.class,d.value,S.value,p.value].join(" ")])},[e.renderSlot(k.$slots,"default",{},void 0,!0),l.loading?(e.openBlock(),e.createElementBlock("svg",Oe,Ae)):e.createCommentVNode("",!0)],34)),i.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"el",ref:r,onClick:c,onContextmenu:a,class:e.normalizeClass(["button button-ext",[l.class,d.value,_.value,S.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",He,[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"]]),qo="",We={key:0,class:"d-input"},Pe={key:0,class:"label"},je=["placeholder"],Xe={key:1,class:"d-input",style:{display:"flex","align-items":"flex-end","justify-content":"flex-start"}},Ye={style:{flex:"1"}},qe={key:0,class:"label"},Ge=["placeholder"],Ue=A({__name:"DInput",props:{label:String,placeholder:String,scale:String,modelValue:String,post:Object,focus:Boolean},emits:["update:modelValue"],setup(t,{expose:n,emit:o}){const l=t,s=e.ref(null),r=e.computed(()=>l.scale==="small"?"d-input-small":l.scale==="large"?"d-input-large":""),i=e.computed({get:()=>l.modelValue,set:a=>{o("update:modelValue",a)}});e.onMounted(()=>{l.focus&&c()});const c=()=>{s.value.focus()};return n({focus:c}),(a,d)=>l.post?l.post.click?(e.openBlock(),e.createElementBlock("div",Xe,[e.createElementVNode("div",Ye,[l.label?(e.openBlock(),e.createElementBlock("div",qe,e.toDisplayString(l.label),1)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:s,class:e.normalizeClass(["d-input-post-field",r.value]),"onUpdate:modelValue":d[1]||(d[1]=p=>i.value=p),type:"text",placeholder:l.placeholder,style:{width:"100%"}},null,10,Ge),[[e.vModelText,i.value]])]),l.post.label?(e.openBlock(),e.createBlock(R,{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(R,{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"]))])):e.createCommentVNode("",!0):(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(r.value),placeholder:l.placeholder,style:{width:"100%"}},null,10,je),[[e.vModelText,i.value]])]))}},[["__scopeId","data-v-7192af2c"]]),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,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["badge",[n.class,o.value,l.value].join(" ")])},[e.renderSlot(s.$slots,"default")],2))}},H="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=a=>({height:a.style.height,width:a.style.width,position:a.style.position,visibility:a.style.visibility,overflow:a.style.overflow,paddingTop:a.style.paddingTop,paddingBottom:a.style.paddingBottom,borderTopWidth:a.style.borderTopWidth,borderBottomWidth:a.style.borderBottomWidth,marginTop:a.style.marginTop,marginBottom:a.style.marginBottom}),l=(a,d)=>{const{width:p}=getComputedStyle(a);a.style.width=p,a.style.position="absolute",a.style.visibility="hidden",a.style.height="";let{height:u}=getComputedStyle(a);return a.style.width=d.width,a.style.position=d.position,a.style.visibility=d.visibility,a.style.height=H,a.style.overflow="hidden",d.height&&d.height!==H?d.height:u},s=(a,d,p,u,_)=>{const S=a.animate(u,_);a.style.height=d.height,S.onfinish=()=>{a.style.overflow=d.overflow,p()}},r=(a,d)=>[{height:H,opacity:n.opacityClosed,paddingTop:H,paddingBottom:H,borderTopWidth:H,borderBottomWidth:H,marginTop:H,marginBottom:H},{height:a,opacity:n.opacityOpened,paddingTop:d.paddingTop,paddingBottom:d.paddingBottom,borderTopWidth:d.borderTopWidth,borderBottomWidth:d.borderBottomWidth,marginTop:d.marginTop,marginBottom:d.marginBottom}],i=(a,d)=>{const p=a,u=o(p),_=l(p,u),S=r(_,u),w={duration:n.duration,easing:n.easingEnter};s(p,u,d,S,w)},c=(a,d)=>{const p=a,u=o(p),{height:_}=getComputedStyle(p);p.style.height=_,p.style.overflow="hidden";const S=r(_,u).reverse(),w={duration:n.duration,easing:n.easingLeave};s(p,u,d,S,w)};return(a,d)=>(e.openBlock(),e.createBlock(e.Transition,{css:!1,onEnter:i,onLeave:c},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3}))}},G={data:void 0},Q=t=>t.reduce((n,o)=>(n[o]=o)&&n,{}),$=Q(["drag","dragend","dragenter","dragleave","dragstart","dragover","drop"]),Ze=Q(["copy","move","link","none"]),Ke=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 Ze},effectAllowed:{validator:t=>t in Ke},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),r=e.computed(()=>({position:"fixed",top:"-1000px"})),i=(c,a)=>{const d=a.dataTransfer;if([$.dragenter,$.dragover].includes(c)&&n.dropEffect&&(d.dropEffect=n.dropEffect),c===$.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&&(G.data=n.transferData,a.dataTransfer.setData("text","")),l.value=!0}};return(c,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{draggable:n.draggable,onDrag:a[0]||(a[0]=d=>i(e.unref($).drag,d)),onDragstart:a[1]||(a[1]=e.withModifiers(d=>i(e.unref($).dragstart,d),["stop"])),onDragenter:a[2]||(a[2]=d=>i(e.unref($).dragenter,d)),onDragleave:a[3]||(a[3]=d=>i(e.unref($).dragleave,d)),onDragend:a[4]||(a[4]=d=>i(e.unref($).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(r.value)},[e.renderSlot(c.$slots,"image",{transferData:s.value})],4)):e.renderSlot(c.$slots,"image",{key:1,transferData:s.value})]),_:3},40,["draggable"]))}},Uo="",Je=t=>(e.pushScopeId("data-v-d8c92d5e"),t=t(),e.popScopeId(),t),Qe={key:0,style:{display:"none"}},ve={key:1},et=[Je(()=>e.createElementVNode("div",{class:"tree-divider"},null,-1))],tt={key:2},ot={class:"tree-divider-header"},nt={class:"item-title"},lt={key:0,class:"tree-divider"},st={key:1},rt={style:{display:"flex","flex-direction":"row","justify-content":"flex-end"}},at={key:0,class:"sub-menu"},me=A({__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),r=e.ref(!1),i=e.ref(!1),c=e.computed(()=>o.model.children&&o.model.children.length),a=e.computed(()=>(h.actions.isTreeExpanded(o.treeId)&&(o.model.expanded=o.model.expanded===void 0?!0:o.model.expanded),o.model.expanded)),d=B=>{n("nodeclick",{event:B,model:o.model})},p=B=>{n("nodeclick",B)},u=B=>{n("nodedrop",B)},_=B=>{n("nodecontext",B)},S=e.computed(()=>(h.actions.isItemSelected(o.treeId,o.model.id)?"selected":"")+(s.value?"node-over ":"")+(r.value?"node-top ":"")+(i.value?"node-bottom ":"")),w=e.computed(()=>o.search?!1:o.model.draggable===!0),k=B=>{n("nodedrop",{e:B,model:o.model});let y=G.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,r.value=!1,i.value=!1,!1;if(!h.state.trees[o.treeId].transfer&&y.id!==o.treeId)return!1;let D="";r.value?D="before":i.value?D="after":D="inside",h.actions.moveTreeNode(y.id,o.treeId,o.items,y.model.id,o.model.id,D),s.value=!1,r.value=!1,i.value=!1},N=B=>{n("nodedragover",{e:B,model:o.model});let y=G.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 D=B.y,V=l.value.getBoundingClientRect().top,I=l.value.getBoundingClientRect().height,g=I/3;D>V&&D<=V+g?(s.value=!1,r.value=!0,i.value=!1):D<V+I&&D>=V+I-g?(s.value=!1,r.value=!1,i.value=!0):(s.value=!0,r.value=!1,i.value=!1)},z=()=>{s.value=!1,r.value=!1,i.value=!1},x=e.computed(()=>o.model.title.startsWith("-")),F=e.computed(()=>{if(o.model.title.startsWith("-")){let[B,...y]=o.model.title.split(" ");return y=y.join(" "),y}return null});return(B,y)=>{const D=e.resolveComponent("d-tree-item",!0),V=e.resolveDirective("touch");return e.unref(h).actions.beforeItem(o.treeId,t.model)?x.value&&!F.value?(e.openBlock(),e.createElementBlock("li",ve,et)):x.value&&F.value?(e.openBlock(),e.createElementBlock("li",tt,[e.createElementVNode("div",ot,e.toDisplayString(e.unref(h).actions.renderTitle(o.treeId,F.value)),1)])):(e.openBlock(),e.createBlock(pe,{key:3,tag:"li",class:"tree-item","transfer-data":{id:o.treeId,model:o.model},draggable:w.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(S.value),onContextmenu:y[0]||(y[0]=e.withModifiers(T=>n("nodecontext",{e:T,model:o.model}),["prevent"]))},[e.createElementVNode("div",null,[o.model.icons&&o.model.icons.pre&&c.value&&!o.search&&!x.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:0,component:e.unref(M).getters.getIcon(o.model.icons.pre.component),size:18,color:o.model.icons.pre.color?o.model.icons.pre.color:"inherit",class:e.normalizeClass(a.value?"tree-open-pre":"")},null,8,["component","color","class"])):e.createCommentVNode("",!0),o.model.icons&&o.model.icons.pre&&!c.value&&!o.search&&!x.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:1,component:e.unref(M).getters.getIcon(o.model.icons.pre.component),size:18,color:"rgba(0,0,0,0)",class:e.normalizeClass(a.value?"tree-open-pre":"")},null,8,["component","class"])):e.createCommentVNode("",!0),o.model.icons&&o.model.icons.icon&&!x.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:2,component:e.unref(M).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",nt,[x.value?(e.openBlock(),e.createElementBlock("div",lt)):e.createCommentVNode("",!0),x.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",st,e.toDisplayString(e.unref(h).actions.renderTitle(o.treeId,o.model.title)),1))])]),e.createElementVNode("div",rt,[((I=o.model.badge)==null?void 0:I.value)!==void 0&&!x.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&&!x.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P),{key:1,component:e.unref(M).getters.getIcon(o.model.icons.post.component),size:20,color:o.model.icons.post.color?o.model.icons.post.color:"inherit",class:e.normalizeClass(a.value?"tree-open-post":"")},null,8,["component","color","class"])):e.createCommentVNode("",!0)])],34)),[[V,d]]),e.createVNode(de,null,{default:e.withCtx(()=>[c.value&&a.value&&!o.search?(e.openBlock(),e.createElementBlock("ul",at,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.model.children,T=>(e.openBlock(),e.createBlock(D,{class:"tree-item",key:T.id,model:T,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",Qe))}}},[["__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",r={}){return o&&t&&(t.find(i=>i[l]===o?(r.found=n,i):h.getters.getParentId(i[s],i.id,o,l,s,r)),r.found)?r.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,r,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=r,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 r=0;r<s.children.length;r++)if(s.children[r].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(r=>r[o]===n?(s.found=r,r):h.actions.deepSearch(r[l],n,o,l,s)),s.found)?s.found:!1},deepSearchByTitle(t,n,o="title",l="children",s=[]){if(n&&t&&(t.find(r=>{const i=new RegExp(n,"gi");r[o].toString().toLowerCase().match(i)!==null&&s.push(r),h.actions.deepSearchByTitle(r[l],n,o,l,s)}),s)){for(let r=0;r<s.length;r++);return s}return s},moveTreeNode(t,n,o,l,s,r){const i=h.actions.deleteTreeNode(o,l);h.actions.insertTreeNode(o,s,i,r),E.emit(`move-${n}`,{fromTreeId:t,toTreeId:n,moved:i.id,target:s,position:r})},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 r=this.insertTreeNode(t[s].children,n,o,l);if(r)return r}},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($),setup(t,{expose:n,emit:o}){let l=e.reactive({});const s=e.ref("false"),r=e.ref(null),i=new Set,c=e.computed(()=>s.value&&l),a=(p,u)=>{l=G.data,o(p,u,l),p===$.dragenter&&(i.size||u.target===r.value)&&i.add(u.target),p===$.dragleave&&i.delete(u.target),p===$.drop&&i.clear(),s.value=!!i.size};return n({elementSize:()=>ie(r)}),(p,u)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{ref_key:"el",ref:r,onDragenter:u[0]||(u[0]=_=>a(e.unref($).dragenter,_)),onDragleave:u[1]||(u[1]=_=>a(e.unref($).dragleave,_)),onDragover:u[2]||(u[2]=e.withModifiers(_=>a(e.unref($).dragover,_),["prevent"])),onDrop:u[3]||(u[3]=e.withModifiers(_=>a(e.unref($).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),r=e.ref(!1);const i=()=>{E.emit("menu-show-request"),r.value=!0},c=()=>{var _;(_=s.value)==null||_.collapseAll(),r.value=!1},a=()=>r.value;E.on("menu-show-request",()=>{c()}),n({show:i,hide:c,elementSize:()=>s.value.elementSize(),isShowed:a,itemsCount:()=>s.value.itemsCount()});const u=_=>{o("select",_),_.model.children||c()};return(_,S)=>{const w=e.resolveDirective("click-outside");return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.unref(r)?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"])),[[w,()=>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),r=e.ref(0),i=e.ref(0),c=e.computed(()=>({left:r.value+"px",top:i.value+"px"})),a=p=>{s.value.show(),e.nextTick(()=>{const u=s.value.elementSize(),_=window.innerWidth,S=window.innerHeight;r.value=_-p.pageX<u.width?p.pageX-u.width:p.pageX,i.value=S-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:a}),(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),r=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 a=(g,T)=>{console.log(g,T)};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)},S=()=>s.value.elementSize(),w=()=>{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),x=g=>{z(g)&&h.mutations.setItemSelect(c,z(g))},F=g=>{l.contextClick({e:g.e,model:g.model,target:i.value})},B=g=>l.contextBeforeClick({model:g,target:i.value}),y=e.computed(()=>l.context),D=g=>(y.value&&(i.value=g.model,r.value.show(g.e)),!1),V=()=>I(d.value),I=g=>{let T=0;for(let m=0;m<g.length;m++)T+=h.actions.beforeItem(c,g[m])?1:0,g[m].children&&g[m].children.length>0&&(T+=I(g[m].children));return T};return n({elementSize:S,expandAll:w,collapseAll:k,getId:N,getNode:z,selectNode:x,itemsCount:V}),(g,T)=>(e.openBlock(),e.createBlock(ue,{ref_key:"treeRef",ref:s,class:"tree",tag:"ul",onDrop:e.withModifiers(a,["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:D},null,8,["model","treeId","items","search"]))),128)),y.value?(e.openBlock(),e.createBlock(he,{key:0,ref_key:"contextTreeRef",ref:r,items:y.value,onSelect:F,"before-item":B},null,8,["items"])):e.createCommentVNode("",!0)]),_:1},8,["onDrop"]))}},Jo="",it=A({__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:r,height:i,paddingLeft:c,transitionDuration:a,transitionTimingFunction:d}=n,p=l?"fixed":"static",u=n.useMinWidthLayout?`min-width:${r}px;`:"";return`position:${p};z-index:${s};${u}height:${i}px;padding-left:${c}px;transition-duration:${a}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:r,minWidth:i,height:c,paddingLeft:a,transitionDuration:d,transitionTimingFunction:p}=n,u=l?"fixed":"static",_=n.useMinWidthLayout?`min-width: ${i}px;`:"";return`position:${u};top:${s}px;z-index:${r};${_}height:${c}px;padding-left:${a}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:r,height:i,paddingLeft:c,transitionDuration:a,transitionTimingFunction:d}=n,p=l?"fixed":"static",u=n.useMinWidthLayout?`min-width:${r}px;`:"";return`position:${p};z-index:${s};${u}height:${i}px;padding-left:${c}px;transition-duration:${a}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:r,transitionDuration:i,transitionTimingFunction:c}=n;return`z-index:${l};width:${s}px;padding-top:${r}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:r,transitionDuration:i,transitionTimingFunction:c}=n,a=`overflow:${n.overflowHidden?"hidden":"visible"};`;return`padding-top:${l}px;padding-bottom:${s}px;padding-left:${r}px;${a}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 ct(t){const n=e.ref(0),o=e.computed(()=>`transform: translateX(${-n.value}px);`);let l=!1;function s(p){n.value=p}function r(){var p;const u=((p=document.scrollingElement)===null||p===void 0?void 0:p.scrollLeft)||0;s(u)}function i(){r()}function c(){document.addEventListener("scroll",r)}function a(){l&&document.removeEventListener("scroll",r)}function d(){i(),c(),l=!0}return e.watch(t,p=>{p?d():a()},{immediate:!0}),e.onUnmounted(()=>{a()}),o}const dt=1001,pt=999,mt=998,ft={__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)),r=ct(s),i=e.computed(()=>o.fixedHeaderAndTab?r.value:""),c=e.computed(()=>o.fixedFooter?r.value:""),a=e.computed(()=>{const{transitionDuration:y,transitionTimingFunction:D}=o;return{transitionDuration:y,transitionTimingFunction:D}}),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 S=e.computed(()=>o.isMobile&&!u.value),w=e.computed(()=>{const{transitionDuration:y,transitionTimingFunction:D}=o;return`background-color:${o.maskBg};transition-duration:${y}ms;transition-timing-function:${D};`}),k=e.computed(()=>{const{sidebarWidth:y,sidebarCollapsedWidth:D}=o,V=o.isMobile?0:D,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),x=e.computed(()=>!o.isMobile&&!d.value&&o.headerVisible?o.headerHeight:0),F=e.computed(()=>{let y=0;return o.fixedHeaderAndTab&&(o.headerVisible&&(y+=o.headerHeight),o.tabVisible&&(y+=o.tabHeight)),y}),B=e.computed(()=>o.fixedFooter&&o.footerVisible?o.footerHeight:0);return(y,D)=>(e.openBlock(),e.createElementBlock("div",{class:"d-layout",style:e.normalizeStyle(l.value)},[t.headerVisible?(e.openBlock(),e.createBlock(ge,e.mergeProps({key:0},a.value,{fixed:t.fixedHeaderAndTab,"z-index":dt,"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},a.value,{fixed:t.fixedHeaderAndTab,"z-index":pt,"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},a.value,{"z-index":p.value,width:k.value,"padding-top":x.value}),{default:e.withCtx(()=>[e.renderSlot(y.$slots,"sidebar")]),_:3},16,["z-index","width","padding-top"])):e.createCommentVNode("",!0),S.value?(e.openBlock(),e.createElementBlock("div",{key:3,class:"d-layout-sidebar-mask",style:e.normalizeStyle(w.value),onClick:_},null,4)):e.createCommentVNode("",!0),e.createVNode(be,e.mergeProps(a.value,{"padding-top":F.value,"padding-bottom":B.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},a.value,{fixed:t.fixedFooter,"z-index":mt,"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.setAttribute("class",t)}},actions:{toggleTheme(){j.state.theme=j.state.theme==="dark"?"light":"dark",document.documentElement.setAttribute("class",j.state.theme)}}},ut={__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")}},vo="",ht={__name:"DScrollProvider",props:{xHide:{type:Boolean,default:!0},yHide:{type:Boolean,default:!1}},setup(t){const n=t;e.useCssVars(r=>({a69a8238:o.value,a69a8236:l.value}));const o=e.computed(()=>n.xHide?"hidden":"visible"),l=e.computed(()=>n.yHide?"hidden":"visible"),s=r=>{document.body.classList.add(r),document.querySelector("html").classList.add(r),document.querySelector("html").classList.add("d-global-scroll")};return e.onMounted(()=>{s("colored-scroller")}),(r,i)=>(e.openBlock(),e.createElementBlock("div",null,[e.renderSlot(r.$slots,"default")]))}},en="",gt=A({__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,r)=>(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"]]),on="",yt={class:"modal-dialog"},_t={class:"modal-content"},kt={class:"modal-header"},bt={class:"modal-title"},St={class:"modal-body"},Bt={class:"modal-footer"},te=A({__name:"DModal",props:{show:Boolean,width:String},emits:["open","close"],setup(t,{expose:n,emit:o}){const l=t;e.useCssVars(a=>({"558e9e46":l.width}));const s=e.ref(null),r=e.ref(!1);r.value=l==null?void 0:l.show;const i=()=>{r.value=!0,o("open",s)},c=()=>{r.value=!1,o("close",s)};return n({show:i,hide:c}),(a,d)=>{const p=e.resolveDirective("keydown");return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[r.value?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"modalRef",ref:s,class:"modal"},[e.createElementVNode("div",yt,[e.createElementVNode("div",_t,[e.createElementVNode("div",kt,[e.createElementVNode("h5",bt,[e.renderSlot(a.$slots,"modal-title",{},void 0,!0)])]),e.createElementVNode("div",St,[e.renderSlot(a.$slots,"default",{},void 0,!0)]),e.createElementVNode("div",Bt,[e.renderSlot(a.$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 Se(t,n,o="default"){return new Promise(l=>{X.value={dialog:t,props:n,wrapper:o,resolve:l}})}var Dt=(t,n)=>{const o=t.__vccOpts||t;for(const[l,s]of n)o[l]=s;return o};const wt=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 $t(t,n,o,l,s,r){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 xt=Dt(wt,[["render",$t]]);const Tt={style:{display:"flex","flex-direction":"row","justify-content":"center",gap:"5px"}},Be={__name:"DAlertDialog",props:{title:String,message:String},setup(t,{expose:n}){const o=t;return n({returnValue:()=>!0}),(s,r)=>(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",Tt,[e.createVNode(R,{onClick:r[0]||(r[0]=i=>e.unref(oe)())},{default:e.withCtx(()=>[e.createTextVNode("Закрыть")]),_:1})])]),_:1})]))}},Ct={style:{display:"flex","flex-direction":"row","justify-content":"center",gap:"5px"}},De={__name:"DConfirmDialog",props:{title:String,message:String},setup(t,{expose:n}){const o=t;return n({returnValue:()=>!0}),(s,r)=>(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",Ct,[e.createVNode(R,{onClick:r[0]||(r[0]=i=>e.unref(oe)())},{default:e.withCtx(()=>[e.createTextVNode("Да")]),_:1}),e.createVNode(R,{class:"button-red",onClick:r[1]||(r[1]=i=>e.unref(oe)(!1))},{default:e.withCtx(()=>[e.createTextVNode("Нет")]),_:1})])]),_:1})]))}},Et={class:"dropdown"},Nt={__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(),r=e.ref(null),i=e.ref(null),c=e.ref(0),a=e.ref(0),d=S=>{if(o("click",S),r.value.isShowed()){r.value.hide();return}r.value.show(),e.nextTick(()=>{const w=r.value.elementSize(),k=i.value.elementSize(),N=window.innerWidth,z=window.innerHeight;c.value=N-(k.x+k.width)<w.width?k.left-w.width+k.width:k.left,a.value=z-(k.y+k.height)<w.height?k.top-w.height-5:k.height+k.top+5})},p=S=>{o("select",S)},u=e.computed(()=>({left:c.value+"px",top:a.value+"px",...l.menuStyle}));n({show:d});const _=S=>!!s[S];return(S,w)=>(e.openBlock(),e.createElementBlock("div",Et,[_("default")?(e.openBlock(),e.createBlock(R,{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(S.$slots,"default")]),_:3},8,["class","icon","onClick","type"])):(e.openBlock(),e.createBlock(R,{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:r,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"])]))}},Vt={},It={class:"d-panel"};function Mt(t,n){return e.openBlock(),e.createElementBlock("div",It,[e.renderSlot(t.$slots,"default")])}const we=A(Vt,[["render",Mt]]),Lt={class:"card-header"},zt={class:"modal-title"},Ot={class:"card-body"},At={class:"card-footer"},Ht={__name:"DCard",setup(t){return(n,o)=>(e.openBlock(),e.createBlock(we,{class:"d-card"},{default:e.withCtx(()=>[e.createElementVNode("div",Lt,[e.createElementVNode("h5",zt,[e.renderSlot(n.$slots,"title")])]),e.createElementVNode("div",Ot,[e.renderSlot(n.$slots,"default")]),e.createElementVNode("div",At,[e.renderSlot(n.$slots,"footer")])]),_:3}))}},Ft=new Map;class Rt{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]+",$e=[{name:"px",regexp:new RegExp(`^${ne}px$`)},{name:"%",regexp:new RegExp(`^${ne}%$`)},{name:"px",regexp:new RegExp(`^${ne}$`)}],Wt=t=>{if(t==="auto")return{type:t,value:0};for(let n=0;n<$e.length;n++){const o=$e[n];if(o.regexp.test(t))return{type:o.name,value:parseFloat(t)}}return{type:"",value:t}},Pt=t=>{switch(typeof t){case"number":return{type:"px",value:t};case"string":return Wt(t);default:return{type:"",value:t}}},xe={x:new Set(["left","center","right"]),y:new Set(["top","bottom"])},jt=(t=>()=>t++)(0),Xt=t=>typeof t!="string"?[]:t.split(/\s+/gi).filter(Boolean),Yt=t=>{typeof t=="string"&&(t=Xt(t));let n=null,o=null;return t.forEach(l=>{xe.y.has(l)&&(o=l),xe.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=(r,i)=>{n("enter",r,i)},l=(r,i)=>{n("leave",r,i)},s=()=>{n("after-leave")};return(r,i)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{tag:"span",css:!1,onEnter:o,onLeave:l,onAfterLeave:s},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3}))}},Gt=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"]))}}),Ut=["data-id"],Zt=["onClick"],Kt=["innerHTML"],Jt=["innerHTML"],Qt={key:0,class:"d-notification-title"},vt={class:"notification-content"},eo={__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([]),r=e.ref(null),i=e.ref(Ft.get("velocity")),c=e.computed(()=>o.animationType==="velocity"),a=e.computed(()=>c.value?qt:Gt),d=e.computed(()=>s.value.filter(m=>m.state!==l.DESTROYED)),p=e.computed(()=>Pt(o.width)),u=e.computed(()=>{const{x:m,y:C}=Yt(o.position),b=p.value.value,W=p.value.type,q={width:b+W};return C&&(q[C]="0px"),m&&(m==="center"?q.left=`calc(50% - ${+b/2}${W})`:q[m]="0px"),q}),_=e.computed(()=>"bottom"in u.value),S=m=>{n("click",m),o.closeOnClick&&B(m)},w=()=>{var m;o.pauseOnHover&&((m=r.value)==null||m.pause())},k=()=>{var m;o.pauseOnHover&&((m=r.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){D();return}const C=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:q,text:Vo,type:Io,data:Mo,id:Lo}=m,Y={id:Lo||jt(),title:q,text:Vo,type:Io,state:l.IDLE,speed:b,length:C+2*b,data:Mo};C>=0&&(r.value=new Rt(()=>B(Y),Y.length,Y));const zo=o.reverse?!_.value:_.value;let J=-1;const Oo=d.value.some(ze=>ze.title===m.title&&ze.text===m.text);(!W||!Oo)&&(zo?(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&&B(d.value[J]))},z=m=>{y(m)},x=m=>["d-notification-template",o.classes,m.type||""],F=m=>c.value?void 0:{transition:`all ${m.speed}ms`},B=m=>{clearTimeout(m.timer),m.state=l.DESTROYED,T(),n("destroy",m)},y=m=>{const C=s.value.find(b=>b.id===m);C&&B(C)},D=()=>{d.value.forEach(B)},V=(m,C)=>{var W;const b=(W=o.animation)==null?void 0:W[m];return typeof b=="function"?b(C):b},I=(m,C)=>{if(!c.value)return;const b=V("enter",m);i.value(m,b,{duration:o.speed,complete:C})},g=(m,C)=>{if(!c.value)return;const b=V("leave",m);i.value(m,b,{duration:o.speed,complete:C})};function T(){s.value=s.value.filter(m=>m.state!==l.DESTROYED)}return e.onMounted(()=>{E.on("notification-add",N),E.on("notification-close",z)}),(m,C)=>(e.openBlock(),e.createElementBlock("div",{class:"d-notification-group",style:e.normalizeStyle(u.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.value),{name:t.animationName,onEnter:I,onLeave:g,onAfterLeave:T},{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(F(b)),"data-id":b.id,onMouseenter:w,onMouseleave:k},[e.renderSlot(m.$slots,"body",{class:e.normalizeClass([t.classes,b.type]),item:b,close:()=>B(b)},()=>[e.createElementVNode("div",{class:e.normalizeClass(x(b)),onClick:W=>S(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,Kt)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"notification-content",innerHTML:b.text},null,8,Jt)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.title?(e.openBlock(),e.createElementBlock("div",Qt,e.toDisplayString(b.title),1)):e.createCommentVNode("",!0),e.createElementVNode("div",vt,e.toDisplayString(b.text),1)],64))],10,Zt)])],44,Ut))),128))]),_:3},40,["name"]))],4))}},to={class:"d-info-progress-icon-container"},oo={class:"d-info-progress-icon"},no={class:"d-info-progress-data-container"},lo=["innerHTML"],so={__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?M.getters.getIcon(o.icon):null);return(s,r)=>(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:r[0]||(r[0]=i=>{n("click",i)})},[e.createElementVNode("div",to,[e.createElementVNode("div",oo,[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",no,[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,lo)])],6))}},ro={class:"d-checkbox"},ao=["id","checked","disabled"],io=["for"],co={__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,r=e.computed({get:()=>o.modelValue,set:i=>{n("update:modelValue",i)}});return(i,c)=>(e.openBlock(),e.createElementBlock("div",ro,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":c[0]||(c[0]=a=>r.value=a),id:`i-${e.unref(s)}`,type:"checkbox",checked:o.checked,disabled:o.disabled,onChange:c[1]||(c[1]=(...a)=>o.change&&o.change(...a))},null,40,ao),[[e.vModelCheckbox,r.value]]),e.createElementVNode("label",{for:`i-${e.unref(s)}`},e.toDisplayString(o.label),9,io)]))}};async function Te(t,n){return await Se(De,{title:t,message:n})}async function Ce(t,n){return await Se(Be,{title:t,message:n})}const po={__name:"DDialogProvider",setup(t){return window.alert=Ce,window.confirm=Te,(n,o)=>(e.openBlock(),e.createBlock(e.unref(xt)))}},mo={class:"d-select"},fo={key:0,class:"label"},uo=["value","selected","disabled"],ho={__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:r=>{n("update:modelValue",r)}});for(let r=0;r<o.options.length;r++)if(o.options[r].selected){s.value=o.options[r].value;break}return(r,i)=>(e.openBlock(),e.createElementBlock("div",mo,[o.label?(e.openBlock(),e.createElementBlock("div",fo,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,a)=>(e.openBlock(),e.createElementBlock("option",{key:a,value:c.value,selected:c.selected,disabled:c.disabled},e.toDisplayString(c.label),9,uo))),128))],6),[[e.vModelSelect,s.value]])]))}},ln="",go={class:"d-tabs"},yo=["onClick"],_o=A({__name:"DTabs",props:{tabs:Array},setup(t){const n=t,o=e.toRef(n,"tabs"),l=e.ref(0),s=r=>{l.value=r};return(r,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",go,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(c,a)=>(e.openBlock(),e.createElementBlock("div",{key:a,class:e.normalizeClass([a===l.value?"active":"","d-tab-title"]),onClick:d=>s(a)},e.toDisplayString(c.label),11,yo))),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"]]),rn="",ko={class:"d-grid"},bo=A({__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":a[0],"09eba434":a[1],"09eba3f6":a[2],"09eba3b8":a[3],"09eba37a":a[4],"09eba33c":a[5],"898eb2ac":n.gap}));const{colXs:o,colSm:l,colMd:s,colLg:r,colXl:i,colXxl:c}=e.toRefs(n),a=[o.value,l.value,s.value,r.value,i.value,c.value];let d=null;for(let p=0;p<a.length;p++)d||(d=a[0]),p>0&&(a[p]?d=a[p]:a[p]=d);return(p,u)=>(e.openBlock(),e.createElementBlock("div",ko,[e.renderSlot(p.$slots,"default",{},void 0,!0)]))}},[["__scopeId","data-v-b45e8130"]]),So=["src","alt","title"],Bo={__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,r)=>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,So)):e.createCommentVNode("",!0)}},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 Do=()=>({notify:se}),wo={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)}},$o={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}},xo={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 To=function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,n)}catch{}return t}(),Co={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||(Le(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=L(this,"swipe")||L(this,"swipe.left")||L(this,"swipe.right")||L(this,"swipe.top")||L(this,"swipe.bottom"),L(this,"hold")&&(n.touchHoldTimer=setTimeout(function(){n.touchHoldTimer=null,O(t,s,"hold")},n.options.touchHoldTolerance)),O(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 r=n.options.tapTolerance;n.touchMoved=Math.abs(n.startX-n.currentX)>r||Math.abs(n.startY-n.currentY)>r,n.touchMoved&&(ae(n),O(t,this,"drag.once"))}if(L(this,"rollover")&&s){var c=t.timeStamp,a=n.options.rollOverFrequency;(n.touchRollTime==null||c>n.touchRollTime+a)&&(n.touchRollTime=c,O(t,this,"rollover"))}if(L(this,"drag")&&n.touchStarted&&n.touchMoved&&s){var c=t.timeStamp,a=n.options.dragFrequency;(n.touchDragTime==null||c>n.touchDragTime+a)&&(n.touchDragTime=c,O(t,this,"drag"))}}function Ve(){var t=this.$$touchObj;ae(t),re(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(ae(n),n.touchStarted=!1,re(this),!(l&&n.lastTouchEndTime&&t.timeStamp-n.lastTouchEndTime<350))if(O(t,this,"release"),n.touchMoved){if(n.hasSwipe&&!n.swipeOutBounded){var r=n.options.swipeTolerance,i,c=Math.abs(n.startY-n.currentY),a=Math.abs(n.startX-n.currentX);(c>r||a>r)&&(c>r?i=n.startY>n.currentY?"top":"bottom":i=n.startX>n.currentX?"left":"right",L(this,"swipe."+i)?O(t,this,"swipe."+i,i):O(t,this,"swipe",i))}}else if(L(this,"longtap")&&t.timeStamp-n.touchStartTime>n.options.longTapTimeInterval)t.cancelable&&t.preventDefault(),O(t,this,"longtap");else if(L(this,"hold")&&s){t.cancelable&&t.preventDefault();return}else O(t,this,"tap")}function Ie(){Le(this)}function Me(){re(this)}function L(t,n){var o=t.$$touchObj.callbacks[n];return o!=null&&o.length>0}function O(t,n,o,l){var s=n.$$touchObj,r=s.callbacks[o];if(r==null||r.length===0)return null;for(var i=0;i<r.length;i++){var c=r[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 Le(t){var n=t.$$touchObj.options.touchClass;n&&t.classList.add(n)}function re(t){var n=t.$$touchObj.options.touchClass;n&&t.classList.remove(n)}function ae(t){t.touchHoldTimer&&(clearTimeout(t.touchHoldTimer),t.touchHoldTimer=null)}function Eo(t,n){var o=t.$$touchObj||{callbacks:{},hasBindTouchEvents:!1,options:Co};return n&&(o.options=Object.assign({},o.options,n)),t.$$touchObj=o,t.$$touchObj}const No={beforeMount:function(t,n){const o=Eo(t);let l=To?{passive:!0}:!1;const s=n.arg||"tap";switch(s){case"swipe":let r=n.modifiers;if(r.left||r.right||r.top||r.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",Me)),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",Me)),delete t.$$touchObj}};f.DAccordion=it,f.DAlertDialog=Be,f.DBadge=ce,f.DButton=R,f.DCard=Ht,f.DCheckbox=co,f.DCollapse=de,f.DConfigProvider=ut,f.DConfirmDialog=De,f.DContextMenu=he,f.DDialogProvider=po,f.DDrag=pe,f.DDrop=ue,f.DDropdown=Nt,f.DGlobalStore=j,f.DGrid=bo,f.DIcon=P,f.DIconStore=M,f.DImage=Bo,f.DInfoProgress=so,f.DInput=Ue,f.DLayoutAdmin=ft,f.DLayoutContent=be,f.DLayoutFooter=_e,f.DLayoutHeader=ge,f.DLayoutSidebar=ke,f.DLayoutTab=ye,f.DMenu=v,f.DModal=te,f.DNotificationProvider=eo,f.DPanel=we,f.DScroll=gt,f.DScrollProvider=ht,f.DSelect=ho,f.DTabs=_o,f.DTransferStore=G,f.DTree=ee,f.DTreeItem=me,f.DTreeStore=h,f.alert=Ce,f.clickOutside=wo,f.confirm=Te,f.emitter=E,f.eventsBus=fe,f.focus=xo,f.keydown=$o,f.notify=se,f.touch=No,f.useNotification=Do,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{font-size:.8em;height:24px}.d-input .d-input-large{font-size:1.2em;height:38px}.d-input .d-input-post-button{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;margin:0}.d-input .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-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{color:#ccc;background-color:#292c30;border-color:#4a4a4a}.dark .d-input input:focus,.dark .d-select select:focus{outline:none!important;border-color:#666}.light .d-input input,.light .d-select select{color:#333;background-color:#f2f2f2;border-color:#e5e5e5}.light .d-input input:focus,.light .d-select select:focus{outline:none!important;border-color:#d3d3d3}.dark .d-checkbox input[type=checkbox]+label:before{border:1px solid #51545a}.dark .d-checkbox input[type=checkbox]:checked+label:before{border-color:#51545a;background-color:#51545a}.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}.light .d-checkbox input[type=checkbox]:checked+label:before{border-color:#7f7f7f;background-color:#7f7f7f}.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-7192af2c],[data-v-7192af2c]:after,[data-v-7192af2c]: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}.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%}
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{font-size:.8em;height:24px}.d-input .d-input-large{font-size:1.2em;height:38px}.d-input .d-input-post-button{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;margin:0}.d-input .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-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{color:#ccc;background-color:#292c30;border-color:#4a4a4a}.dark .d-input input:focus,.dark .d-select select:focus{outline:none!important;border-color:#666}.light .d-input input,.light .d-select select{color:#333;background-color:#f2f2f2;border-color:#e5e5e5}.light .d-input input:focus,.light .d-select select:focus{outline:none!important;border-color:#d3d3d3}.dark .d-checkbox input[type=checkbox]+label:before{border:1px solid #51545a}.dark .d-checkbox input[type=checkbox]:checked+label:before{border-color:#51545a;background-color:#51545a}.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}.light .d-checkbox input[type=checkbox]:checked+label:before{border-color:#7f7f7f;background-color:#7f7f7f}.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-7192af2c],[data-v-7192af2c]:after,[data-v-7192af2c]: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(--a69a8238);overflow-y:var(--a69a8236)}.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%}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doph-js",
3
- "version": "0.2.13",
3
+ "version": "0.2.15",
4
4
  "description": "Simple Vue3 component library",
5
5
  "author": "Error202",
6
6
  "license": "MIT",