doph-js 0.3.2 → 0.3.4

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 Ce, computed as h, h as st, openBlock as d, createBlock as x, unref as E, ref as S, createElementBlock as m, Fragment as ne, normalizeClass as C, renderSlot as L, createCommentVNode as k, normalizeStyle as z, resolveDynamicComponent as U, createStaticVNode as ut, onMounted as he, toDisplayString as O, withDirectives as J, createElementVNode as b, vModelDynamic as De, withCtx as B, createTextVNode as K, Transition as Ne, withModifiers as j, resolveComponent as Ct, resolveDirective as Re, normalizeProps as pt, guardReactiveProps as ft, createVNode as Q, renderList as me, pushScopeId as Lt, popScopeId as It, reactive as Oe, Teleport as mt, nextTick as ht, getCurrentInstance as gt, watch as vt, onUnmounted as Et, mergeProps as ue, useCssVars as Ae, shallowRef as Bt, defineComponent as Mt, TransitionGroup as yt, vModelCheckbox as Nt, vModelSelect as Rt, toRef as Ot, KeepAlive as At, vShow as Ht, toRefs as Vt, vModelText as zt } from "vue";
1
+ import { useSlots as Ce, computed as h, h as at, openBlock as d, createBlock as x, unref as L, ref as S, createElementBlock as f, Fragment as ne, normalizeClass as C, renderSlot as I, createCommentVNode as k, normalizeStyle as F, resolveDynamicComponent as U, createStaticVNode as pt, onMounted as he, toDisplayString as O, withDirectives as Z, createElementVNode as _, vModelDynamic as De, withCtx as E, createTextVNode as J, Transition as Ne, withModifiers as j, resolveComponent as Lt, resolveDirective as Re, normalizeProps as ft, guardReactiveProps as mt, createVNode as Q, renderList as me, pushScopeId as It, popScopeId as Bt, reactive as Oe, Teleport as ht, nextTick as gt, getCurrentInstance as Ve, watch as vt, onUnmounted as Et, mergeProps as ue, useCssVars as Ae, shallowRef as Mt, defineComponent as Nt, TransitionGroup as yt, vModelCheckbox as _t, vModelSelect as Rt, toRef as Ot, KeepAlive as Vt, vShow as At, toRefs as Ht, vModelText as Ft } from "vue";
2
2
  const re = {
3
3
  __name: "DIcon",
4
4
  props: {
@@ -18,7 +18,7 @@ const re = {
18
18
  const r = e.size ?? null;
19
19
  if (r !== void 0)
20
20
  return typeof r == "number" || /^\d+$/.test(r) ? `${r}px` : r;
21
- }), l = h(() => st(
21
+ }), l = h(() => at(
22
22
  "i",
23
23
  {
24
24
  class: n.value,
@@ -27,9 +27,9 @@ const re = {
27
27
  fontSize: a.value
28
28
  }
29
29
  },
30
- e.component ? st(e.component) : o
30
+ e.component ? at(e.component) : o
31
31
  ));
32
- return (r, i) => (d(), x(E(l)));
32
+ return (r, i) => (d(), x(L(l)));
33
33
  }
34
34
  }, oe = {
35
35
  state: {},
@@ -51,14 +51,14 @@ const re = {
51
51
  }
52
52
  }
53
53
  };
54
- function _t(t) {
54
+ function bt(t) {
55
55
  const e = t.value.getBoundingClientRect();
56
56
  let o = t.value, n = 0, s = 0;
57
57
  for (; o && !isNaN(o.offsetLeft) && !isNaN(o.offsetTop); )
58
58
  n += o.offsetLeft - o.scrollLeft, s += o.offsetTop - o.scrollTop, o = o.offsetParent;
59
59
  return { top: s, left: n, x: e.x, y: e.y, width: e.width, height: e.height };
60
60
  }
61
- function Ft() {
61
+ function zt() {
62
62
  function t(s) {
63
63
  return s * Math.random() | 0;
64
64
  }
@@ -86,14 +86,14 @@ const se = (t, e) => {
86
86
  class: "loading-svg rotating",
87
87
  xmlns: "http://www.w3.org/2000/svg",
88
88
  viewBox: "0 0 24 24"
89
- }, Pt = /* @__PURE__ */ ut('<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), jt = [
89
+ }, Pt = /* @__PURE__ */ pt('<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), jt = [
90
90
  Pt
91
91
  ], Xt = { key: 1 }, Yt = {
92
92
  key: 2,
93
93
  class: "loading-svg rotating",
94
94
  xmlns: "http://www.w3.org/2000/svg",
95
95
  viewBox: "0 0 24 24"
96
- }, Ut = /* @__PURE__ */ ut('<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), qt = [
96
+ }, Ut = /* @__PURE__ */ pt('<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), qt = [
97
97
  Ut
98
98
  ], Gt = {
99
99
  __name: "DButton",
@@ -124,14 +124,14 @@ const se = (t, e) => {
124
124
  o("click", $);
125
125
  }, i = ($) => {
126
126
  o("contextmenu", $);
127
- }, c = h(() => n.scale === "large" ? "button-lg" : n.scale === "small" ? "button-sm" : ""), u = h(() => n.disabled ? "disabled" : ""), g = ($) => !!s[$], _ = h(() => g("default") ? "" : n.scale === "large" ? "d-button-lg-icon" : n.scale === "small" ? "d-button-sm-icon" : "d-button-icon"), D = h(() => {
127
+ }, c = h(() => n.scale === "large" ? "button-lg" : n.scale === "small" ? "button-sm" : ""), u = h(() => n.disabled ? "disabled" : ""), g = ($) => !!s[$], b = h(() => g("default") ? "" : n.scale === "large" ? "d-button-lg-icon" : n.scale === "small" ? "d-button-sm-icon" : "d-button-icon"), D = h(() => {
128
128
  const $ = n.outline ? "-outline" : "";
129
129
  return n.type === "primary" ? `button${$}-blue` : n.type === "success" ? `button${$}-green` : n.type === "error" ? `button${$}-red` : n.type === "warning" ? `button${$}-orange` : n.type === "wait" ? `button${$}-violet` : n.outline ? `button${$}` : "";
130
130
  });
131
131
  return e({
132
- elementSize: () => _t(a)
133
- }), ($, H) => (d(), m(ne, null, [
134
- l.value ? k("", !0) : (d(), m("div", {
132
+ elementSize: () => bt(a)
133
+ }), ($, A) => (d(), f(ne, null, [
134
+ l.value ? k("", !0) : (d(), f("div", {
135
135
  key: 0,
136
136
  ref_key: "el",
137
137
  ref: a,
@@ -139,27 +139,27 @@ const se = (t, e) => {
139
139
  onContextmenu: i,
140
140
  class: C(["button", [n.class, c.value, D.value, u.value].join(" ")])
141
141
  }, [
142
- L($.$slots, "default", {}, void 0, !0),
143
- n.loading ? (d(), m("svg", Wt, jt)) : k("", !0)
142
+ I($.$slots, "default", {}, void 0, !0),
143
+ n.loading ? (d(), f("svg", Wt, jt)) : k("", !0)
144
144
  ], 34)),
145
- l.value ? (d(), m("div", {
145
+ l.value ? (d(), f("div", {
146
146
  key: 1,
147
147
  ref_key: "el",
148
148
  ref: a,
149
149
  onClick: r,
150
150
  onContextmenu: i,
151
- class: C(["button button-ext", [n.class, c.value, _.value, D.value, u.value].join(" ")]),
152
- style: z(n.style)
151
+ class: C(["button button-ext", [n.class, c.value, b.value, D.value, u.value].join(" ")]),
152
+ style: F(n.style)
153
153
  }, [
154
154
  n.icon ? (d(), x(U(re), {
155
155
  key: 0,
156
156
  component: l.value,
157
157
  color: "inherit"
158
158
  }, null, 8, ["component"])) : k("", !0),
159
- E(s).default ? (d(), m("div", Xt, [
160
- L($.$slots, "default", {}, void 0, !0)
159
+ L(s).default ? (d(), f("div", Xt, [
160
+ I($.$slots, "default", {}, void 0, !0)
161
161
  ])) : k("", !0),
162
- n.loading ? (d(), m("svg", Yt, qt)) : k("", !0)
162
+ n.loading ? (d(), f("svg", Yt, qt)) : k("", !0)
163
163
  ], 38)) : k("", !0)
164
164
  ], 64));
165
165
  }
@@ -213,9 +213,9 @@ const Zt = {
213
213
  };
214
214
  return e({
215
215
  focus: r
216
- }), (i, c) => !n.post && !n.pre ? (d(), m("div", Zt, [
217
- n.label ? (d(), m("div", Kt, O(n.label), 1)) : k("", !0),
218
- J(b("input", {
216
+ }), (i, c) => !n.post && !n.pre ? (d(), f("div", Zt, [
217
+ n.label ? (d(), f("div", Kt, O(n.label), 1)) : k("", !0),
218
+ Z(_("input", {
219
219
  ref_key: "inputRef",
220
220
  ref: s,
221
221
  "onUpdate:modelValue": c[0] || (c[0] = (u) => l.value = u),
@@ -226,11 +226,11 @@ const Zt = {
226
226
  }, null, 10, Jt), [
227
227
  [De, l.value]
228
228
  ])
229
- ])) : n.post && n.post.click && !n.pre ? (d(), m("div", Qt, [
230
- n.label ? (d(), m("div", eo, O(n.label), 1)) : k("", !0),
231
- b("div", to, [
232
- b("div", oo, [
233
- J(b("input", {
229
+ ])) : n.post && n.post.click && !n.pre ? (d(), f("div", Qt, [
230
+ n.label ? (d(), f("div", eo, O(n.label), 1)) : k("", !0),
231
+ _("div", to, [
232
+ _("div", oo, [
233
+ Z(_("input", {
234
234
  ref_key: "inputRef",
235
235
  ref: s,
236
236
  class: C(["d-input-post-field", a.value]),
@@ -249,8 +249,8 @@ const Zt = {
249
249
  onClick: n.post.click,
250
250
  icon: n.post.icon
251
251
  }, {
252
- default: B(() => [
253
- K(O(n.post.label), 1)
252
+ default: E(() => [
253
+ J(O(n.post.label), 1)
254
254
  ]),
255
255
  _: 1
256
256
  }, 8, ["scale", "onClick", "icon", "class"])) : (d(), x(le, {
@@ -261,9 +261,9 @@ const Zt = {
261
261
  icon: n.post.icon
262
262
  }, null, 8, ["scale", "onClick", "icon", "class"]))
263
263
  ])
264
- ])) : !n.post && n.pre && n.pre.click ? (d(), m("div", so, [
265
- n.label ? (d(), m("div", ao, O(n.label), 1)) : k("", !0),
266
- b("div", io, [
264
+ ])) : !n.post && n.pre && n.pre.click ? (d(), f("div", so, [
265
+ n.label ? (d(), f("div", ao, O(n.label), 1)) : k("", !0),
266
+ _("div", io, [
267
267
  n.pre.label ? (d(), x(le, {
268
268
  key: 0,
269
269
  scale: n.scale,
@@ -271,8 +271,8 @@ const Zt = {
271
271
  onClick: n.pre.click,
272
272
  icon: n.pre.icon
273
273
  }, {
274
- default: B(() => [
275
- K(O(n.pre.label), 1)
274
+ default: E(() => [
275
+ J(O(n.pre.label), 1)
276
276
  ]),
277
277
  _: 1
278
278
  }, 8, ["scale", "onClick", "icon", "class"])) : (d(), x(le, {
@@ -282,8 +282,8 @@ const Zt = {
282
282
  onClick: n.pre.click,
283
283
  icon: n.pre.icon
284
284
  }, null, 8, ["scale", "onClick", "icon", "class"])),
285
- b("div", lo, [
286
- J(b("input", {
285
+ _("div", lo, [
286
+ Z(_("input", {
287
287
  ref_key: "inputRef",
288
288
  ref: s,
289
289
  class: C(["d-input-pre-field", a.value]),
@@ -298,7 +298,7 @@ const Zt = {
298
298
  ])
299
299
  ])) : k("", !0);
300
300
  }
301
- }, Bs = /* @__PURE__ */ se(co, [["__scopeId", "data-v-a972038a"]]), uo = {
301
+ }, Rs = /* @__PURE__ */ se(co, [["__scopeId", "data-v-a972038a"]]), uo = {
302
302
  __name: "DBadge",
303
303
  props: {
304
304
  scale: String,
@@ -314,10 +314,10 @@ const Zt = {
314
314
  const s = e.stress ? "-stress" : "";
315
315
  return e.type === "primary" ? `badge${s}-blue` : e.type === "success" ? `badge${s}-green` : e.type === "error" ? `badge${s}-red` : e.type === "warning" ? `badge${s}-orange` : e.type === "wait" ? `badge${s}-violet` : e.stress ? `badge${s}-gray` : "";
316
316
  });
317
- return (s, a) => (d(), m("div", {
317
+ return (s, a) => (d(), f("div", {
318
318
  class: C(["badge", [e.class, o.value, n.value].join(" ")])
319
319
  }, [
320
- L(s.$slots, "default")
320
+ I(s.$slots, "default")
321
321
  ], 2));
322
322
  }
323
323
  }, ie = "0px", po = {
@@ -362,8 +362,8 @@ const Zt = {
362
362
  i.style.width = u, i.style.position = "absolute", i.style.visibility = "hidden", i.style.height = "";
363
363
  let { height: g } = getComputedStyle(i);
364
364
  return i.style.width = c.width, i.style.position = c.position, i.style.visibility = c.visibility, i.style.height = ie, i.style.overflow = "hidden", c.height && c.height !== ie ? c.height : g;
365
- }, s = (i, c, u, g, _) => {
366
- const D = i.animate(g, _);
365
+ }, s = (i, c, u, g, b) => {
366
+ const D = i.animate(g, b);
367
367
  i.style.height = c.height, D.onfinish = () => {
368
368
  i.style.overflow = c.overflow, u();
369
369
  };
@@ -389,12 +389,12 @@ const Zt = {
389
389
  marginBottom: c.marginBottom
390
390
  }
391
391
  ], l = (i, c) => {
392
- const u = i, g = o(u), _ = n(u, g), D = a(_, g), R = { duration: e.duration, easing: e.easingEnter };
392
+ const u = i, g = o(u), b = n(u, g), D = a(b, g), R = { duration: e.duration, easing: e.easingEnter };
393
393
  s(u, g, c, D, R);
394
394
  }, r = (i, c) => {
395
- const u = i, g = o(u), { height: _ } = getComputedStyle(u);
396
- u.style.height = _, u.style.overflow = "hidden";
397
- const D = a(_, g).reverse(), R = { duration: e.duration, easing: e.easingLeave };
395
+ const u = i, g = o(u), { height: b } = getComputedStyle(u);
396
+ u.style.height = b, u.style.overflow = "hidden";
397
+ const D = a(b, g).reverse(), R = { duration: e.duration, easing: e.easingLeave };
398
398
  s(u, g, c, D, R);
399
399
  };
400
400
  return (i, c) => (d(), x(Ne, {
@@ -402,8 +402,8 @@ const Zt = {
402
402
  onEnter: l,
403
403
  onLeave: r
404
404
  }, {
405
- default: B(() => [
406
- L(i.$slots, "default")
405
+ default: E(() => [
406
+ I(i.$slots, "default")
407
407
  ]),
408
408
  _: 3
409
409
  }));
@@ -428,7 +428,7 @@ const Zt = {
428
428
  "move",
429
429
  "all",
430
430
  "uninitialized"
431
- ]), at = {
431
+ ]), it = {
432
432
  __name: "DDrag",
433
433
  props: {
434
434
  draggable: { type: Boolean, default: !0 },
@@ -454,20 +454,20 @@ const Zt = {
454
454
  };
455
455
  return (r, i) => (d(), x(U(t.tag), {
456
456
  draggable: e.draggable,
457
- onDrag: i[0] || (i[0] = (c) => l(E(X).drag, c)),
458
- onDragstart: i[1] || (i[1] = j((c) => l(E(X).dragstart, c), ["stop"])),
459
- onDragenter: i[2] || (i[2] = (c) => l(E(X).dragenter, c)),
460
- onDragleave: i[3] || (i[3] = (c) => l(E(X).dragleave, c)),
461
- onDragend: i[4] || (i[4] = (c) => l(E(X).dragend, c))
457
+ onDrag: i[0] || (i[0] = (c) => l(L(X).drag, c)),
458
+ onDragstart: i[1] || (i[1] = j((c) => l(L(X).dragstart, c), ["stop"])),
459
+ onDragenter: i[2] || (i[2] = (c) => l(L(X).dragenter, c)),
460
+ onDragleave: i[3] || (i[3] = (c) => l(L(X).dragleave, c)),
461
+ onDragend: i[4] || (i[4] = (c) => l(L(X).dragend, c))
462
462
  }, {
463
- default: B(() => [
464
- L(r.$slots, "default", { transferData: s.value }),
465
- t.hideImageHtml ? (d(), m("div", {
463
+ default: E(() => [
464
+ I(r.$slots, "default", { transferData: s.value }),
465
+ t.hideImageHtml ? (d(), f("div", {
466
466
  key: 0,
467
- style: z(a.value)
467
+ style: F(a.value)
468
468
  }, [
469
- L(r.$slots, "image", { transferData: s.value })
470
- ], 4)) : L(r.$slots, "image", {
469
+ I(r.$slots, "image", { transferData: s.value })
470
+ ], 4)) : I(r.$slots, "image", {
471
471
  key: 1,
472
472
  transferData: s.value
473
473
  })
@@ -476,10 +476,10 @@ const Zt = {
476
476
  }, 40, ["draggable"]));
477
477
  }
478
478
  };
479
- const ho = (t) => (Lt("data-v-9da49c73"), t = t(), It(), t), go = {
479
+ const ho = (t) => (It("data-v-9da49c73"), t = t(), Bt(), t), go = {
480
480
  key: 0,
481
481
  style: { display: "none" }
482
- }, vo = { key: 1 }, yo = /* @__PURE__ */ ho(() => /* @__PURE__ */ b("div", { class: "tree-divider" }, null, -1)), _o = [
482
+ }, vo = { key: 1 }, yo = /* @__PURE__ */ ho(() => /* @__PURE__ */ _("div", { class: "tree-divider" }, null, -1)), _o = [
483
483
  yo
484
484
  ], bo = { key: 2 }, xo = { class: "tree-divider-header" }, ko = { class: "item-title" }, $o = {
485
485
  key: 0,
@@ -504,7 +504,7 @@ const ho = (t) => (Lt("data-v-9da49c73"), t = t(), It(), t), go = {
504
504
  e("nodefoldericonclick", { event: N, model: o.model });
505
505
  }, g = (N) => {
506
506
  e("nodefoldericonclick", N);
507
- }, _ = (N) => {
507
+ }, b = (N) => {
508
508
  e("nodeclick", N);
509
509
  }, D = (N) => {
510
510
  e("nodedoubleclick", N);
@@ -512,7 +512,7 @@ const ho = (t) => (Lt("data-v-9da49c73"), t = t(), It(), t), go = {
512
512
  e("nodedrop", N);
513
513
  }, $ = (N) => {
514
514
  e("nodecontext", N);
515
- }, H = h(() => [
515
+ }, A = h(() => [
516
516
  v.actions.isItemSelected(o.treeId, o.model.id) ? "selected" : "",
517
517
  s.value ? "node-over " : "",
518
518
  a.value ? "node-top " : "",
@@ -526,9 +526,9 @@ const ho = (t) => (Lt("data-v-9da49c73"), t = t(), It(), t), go = {
526
526
  return s.value = !1, a.value = !1, l.value = !1, !1;
527
527
  if (!v.state.trees[o.treeId].transfer && w.id !== o.treeId || !v.state.trees[o.treeId].dropInside && !l.value && !a.value)
528
528
  return !1;
529
- let V = "";
530
- a.value ? V = "before" : l.value ? V = "after" : V = "inside", e("nodedrop", { e: N, model: o.model, place: V }), v.actions.moveTreeNode(w.id, o.treeId, o.items, w.model.id, o.model.id, V, (P = w.model) == null ? void 0 : P.transfer), s.value = !1, a.value = !1, l.value = !1;
531
- }, I = (N) => {
529
+ let H = "";
530
+ a.value ? H = "before" : l.value ? H = "after" : H = "inside", e("nodedrop", { e: N, model: o.model, place: H }), v.actions.moveTreeNode(w.id, o.treeId, o.items, w.model.id, o.model.id, H, (P = w.model) == null ? void 0 : P.transfer), s.value = !1, a.value = !1, l.value = !1;
531
+ }, B = (N) => {
532
532
  e("nodedragover", { e: N, model: o.model });
533
533
  let w = Te.data;
534
534
  if (!o.model.droppable)
@@ -537,9 +537,9 @@ const ho = (t) => (Lt("data-v-9da49c73"), t = t(), It(), t), go = {
537
537
  return s.value = !0, !1;
538
538
  if (w.model.id === o.model.id || v.actions.isChildOfParent(o.treeId, o.items, o.model.id, w.model.id) || v.actions.isParentOfChild(o.treeId, o.items, w.model.id, o.model.id))
539
539
  return !1;
540
- const V = N.y, P = n.value.getBoundingClientRect().top, f = n.value.getBoundingClientRect().height, p = f / 3;
541
- V > P && V <= P + p ? (s.value = !1, a.value = !0, l.value = !1) : V < P + f && V >= P + f - p ? (s.value = !1, a.value = !1, l.value = !0) : (s.value = v.state.trees[o.treeId].dropInside, a.value = !1, l.value = !1);
542
- }, F = () => {
540
+ const H = N.y, P = n.value.getBoundingClientRect().top, m = n.value.getBoundingClientRect().height, p = m / 3;
541
+ H > P && H <= P + p ? (s.value = !1, a.value = !0, l.value = !1) : H < P + m && H >= P + m - p ? (s.value = !1, a.value = !1, l.value = !0) : (s.value = v.state.trees[o.treeId].dropInside, a.value = !1, l.value = !1);
542
+ }, z = () => {
543
543
  s.value = !1, a.value = !1, l.value = !1;
544
544
  }, T = h(() => o.model.title.startsWith("-")), W = h(() => {
545
545
  if (o.model.title.startsWith("-")) {
@@ -549,10 +549,10 @@ const ho = (t) => (Lt("data-v-9da49c73"), t = t(), It(), t), go = {
549
549
  return null;
550
550
  });
551
551
  return (N, w) => {
552
- const V = Ct("d-tree-item", !0), P = Re("touch");
553
- return E(v).actions.beforeItem(o.treeId, t.model) ? T.value && !W.value ? (d(), m("li", vo, _o)) : T.value && W.value ? (d(), m("li", bo, [
554
- b("div", xo, O(E(v).actions.renderTitle(o.treeId, W.value)), 1)
555
- ])) : o.model.component ? (d(), x(at, {
552
+ const H = Lt("d-tree-item", !0), P = Re("touch");
553
+ return L(v).actions.beforeItem(o.treeId, t.model) ? T.value && !W.value ? (d(), f("li", vo, _o)) : T.value && W.value ? (d(), f("li", bo, [
554
+ _("div", xo, O(L(v).actions.renderTitle(o.treeId, W.value)), 1)
555
+ ])) : o.model.component ? (d(), x(it, {
556
556
  key: 3,
557
557
  tag: "li",
558
558
  class: "tree-item-component",
@@ -561,23 +561,23 @@ const ho = (t) => (Lt("data-v-9da49c73"), t = t(), It(), t), go = {
561
561
  onDrop: j(M, ["stop"]),
562
562
  onDragenter: w[1] || (w[1] = j(() => {
563
563
  }, ["prevent"])),
564
- onDragover: j(I, ["prevent", "stop"]),
565
- onDragleave: j(F, ["prevent"])
564
+ onDragover: j(B, ["prevent", "stop"]),
565
+ onDragleave: j(z, ["prevent"])
566
566
  }, {
567
- default: B(() => [
568
- J((d(), m("div", {
567
+ default: E(() => [
568
+ Z((d(), f("div", {
569
569
  ref_key: "node",
570
570
  ref: n,
571
- class: C(H.value),
572
- onContextmenu: w[0] || (w[0] = j((f) => e("nodecontext", { e: f, model: o.model }), ["prevent"]))
571
+ class: C(A.value),
572
+ onContextmenu: w[0] || (w[0] = j((m) => e("nodecontext", { e: m, model: o.model }), ["prevent"]))
573
573
  }, [
574
- (d(), x(U(E(fe).getters.getComponent(o.model.component).component), pt(ft(E(fe).getters.getComponent(o.model.component).props)), null, 16))
574
+ (d(), x(U(L(fe).getters.getComponent(o.model.component).component), ft(mt(L(fe).getters.getComponent(o.model.component).props)), null, 16))
575
575
  ], 34)), [
576
576
  [P, c, "press"]
577
577
  ])
578
578
  ]),
579
579
  _: 1
580
- }, 8, ["transfer-data", "draggable", "onDrop", "onDragover", "onDragleave"])) : (d(), x(at, {
580
+ }, 8, ["transfer-data", "draggable", "onDrop", "onDragover", "onDragleave"])) : (d(), x(it, {
581
581
  key: 4,
582
582
  tag: "li",
583
583
  class: "tree-item",
@@ -586,24 +586,24 @@ const ho = (t) => (Lt("data-v-9da49c73"), t = t(), It(), t), go = {
586
586
  onDrop: j(M, ["stop"]),
587
587
  onDragenter: w[4] || (w[4] = j(() => {
588
588
  }, ["prevent"])),
589
- onDragover: j(I, ["prevent", "stop"]),
590
- onDragleave: j(F, ["prevent"])
589
+ onDragover: j(B, ["prevent", "stop"]),
590
+ onDragleave: j(z, ["prevent"])
591
591
  }, {
592
- default: B(() => {
593
- var f, p;
592
+ default: E(() => {
593
+ var m, p;
594
594
  return [
595
- b("div", {
595
+ _("div", {
596
596
  ref_key: "node",
597
597
  ref: n,
598
- class: C(H.value),
598
+ class: C(A.value),
599
599
  onPointerdownCapture: c,
600
600
  onDblclick: w[2] || (w[2] = j((y) => e("nodedoubleclick", { e: y, model: o.model }), ["prevent"])),
601
601
  onContextmenu: w[3] || (w[3] = j((y) => e("nodecontext", { e: y, model: o.model }), ["prevent"]))
602
602
  }, [
603
- b("div", null, [
603
+ _("div", null, [
604
604
  o.model.icons && o.model.icons.pre && r.value && !o.search && !T.value ? (d(), x(U(re), {
605
605
  key: 0,
606
- component: E(oe).getters.getIcon(o.model.icons.pre.component),
606
+ component: L(oe).getters.getIcon(o.model.icons.pre.component),
607
607
  size: 18,
608
608
  color: o.model.icons.pre.color ? o.model.icons.pre.color : "inherit",
609
609
  class: C(i.value ? "tree-open-pre" : ""),
@@ -611,36 +611,36 @@ const ho = (t) => (Lt("data-v-9da49c73"), t = t(), It(), t), go = {
611
611
  }, null, 40, ["component", "color", "class"])) : k("", !0),
612
612
  o.model.icons && o.model.icons.pre && !r.value && !o.search && !T.value ? (d(), x(U(re), {
613
613
  key: 1,
614
- component: E(oe).getters.getIcon(o.model.icons.pre.component),
614
+ component: L(oe).getters.getIcon(o.model.icons.pre.component),
615
615
  size: 18,
616
616
  color: "rgba(0,0,0,0)",
617
617
  class: C(i.value ? "tree-open-pre" : "")
618
618
  }, null, 8, ["component", "class"])) : k("", !0),
619
619
  o.model.icons && o.model.icons.icon && !T.value ? (d(), x(U(re), {
620
620
  key: 2,
621
- component: E(oe).getters.getIcon(o.model.icons.icon.component),
621
+ component: L(oe).getters.getIcon(o.model.icons.icon.component),
622
622
  color: o.model.icons.icon.color ? o.model.icons.icon.color : "inherit",
623
623
  size: o.model.icons.icon.size ? o.model.icons.icon.size : null,
624
624
  className: o.model.icons.icon.class ? o.model.icons.icon.class : null
625
625
  }, null, 8, ["component", "color", "size", "className"])) : k("", !0),
626
- b("div", ko, [
627
- T.value ? (d(), m("div", $o)) : k("", !0),
628
- T.value ? k("", !0) : (d(), m("div", wo, O(E(v).actions.renderTitle(o.treeId, o.model.title)), 1))
626
+ _("div", ko, [
627
+ T.value ? (d(), f("div", $o)) : k("", !0),
628
+ T.value ? k("", !0) : (d(), f("div", wo, O(L(v).actions.renderTitle(o.treeId, o.model.title)), 1))
629
629
  ])
630
630
  ]),
631
- b("div", So, [
632
- ((f = o.model.badge) == null ? void 0 : f.value) !== void 0 && !T.value ? (d(), x(U(uo), {
631
+ _("div", So, [
632
+ ((m = o.model.badge) == null ? void 0 : m.value) !== void 0 && !T.value ? (d(), x(U(uo), {
633
633
  key: 0,
634
634
  class: C([(p = o.model.badge) == null ? void 0 : p.class, "badge-sm"])
635
635
  }, {
636
- default: B(() => [
637
- K(O(o.model.badge.value), 1)
636
+ default: E(() => [
637
+ J(O(o.model.badge.value), 1)
638
638
  ]),
639
639
  _: 1
640
640
  }, 8, ["class"])) : k("", !0),
641
641
  o.model.icons && o.model.icons.post && r.value && !o.search && !T.value ? (d(), x(U(re), {
642
642
  key: 1,
643
- component: E(oe).getters.getIcon(o.model.icons.post.component),
643
+ component: L(oe).getters.getIcon(o.model.icons.post.component),
644
644
  size: 20,
645
645
  color: o.model.icons.post.color ? o.model.icons.post.color : "inherit",
646
646
  class: C(i.value ? "tree-open-post" : ""),
@@ -649,15 +649,15 @@ const ho = (t) => (Lt("data-v-9da49c73"), t = t(), It(), t), go = {
649
649
  ])
650
650
  ], 34),
651
651
  Q(po, null, {
652
- default: B(() => [
653
- r.value && i.value && !o.search ? (d(), m("ul", Do, [
654
- (d(!0), m(ne, null, me(t.model.children, (y) => (d(), x(V, {
652
+ default: E(() => [
653
+ r.value && i.value && !o.search ? (d(), f("ul", Do, [
654
+ (d(!0), f(ne, null, me(t.model.children, (y) => (d(), x(H, {
655
655
  key: y.id,
656
656
  model: y,
657
657
  treeId: o.treeId,
658
658
  items: o.items,
659
659
  search: o.search,
660
- onNodeclick: _,
660
+ onNodeclick: b,
661
661
  onNodedoubleclick: D,
662
662
  onNodedrop: R,
663
663
  onNodecontext: $,
@@ -670,7 +670,7 @@ const ho = (t) => (Lt("data-v-9da49c73"), t = t(), It(), t), go = {
670
670
  ];
671
671
  }),
672
672
  _: 1
673
- }, 8, ["transfer-data", "draggable", "onDrop", "onDragover", "onDragleave"])) : (d(), m("li", go));
673
+ }, 8, ["transfer-data", "draggable", "onDrop", "onDragover", "onDragleave"])) : (d(), f("li", go));
674
674
  };
675
675
  }
676
676
  }, Co = /* @__PURE__ */ se(To, [["__scopeId", "data-v-9da49c73"]]);
@@ -838,22 +838,22 @@ const q = Lo(), v = {
838
838
  n = Te.data, o(u, g, n), u === X.dragenter && (l.size || g.target === a.value) && l.add(g.target), u === X.dragleave && l.delete(g.target), u === X.drop && l.clear(), s.value = !!l.size;
839
839
  };
840
840
  return e({
841
- elementSize: () => _t(a)
841
+ elementSize: () => bt(a)
842
842
  }), (u, g) => (d(), x(U(t.tag), {
843
843
  ref_key: "el",
844
844
  ref: a,
845
- onDragenter: g[0] || (g[0] = (_) => i(E(X).dragenter, _)),
846
- onDragleave: g[1] || (g[1] = (_) => i(E(X).dragleave, _)),
847
- onDragover: g[2] || (g[2] = j((_) => i(E(X).dragover, _), ["prevent"])),
848
- onDrop: g[3] || (g[3] = j((_) => i(E(X).drop, _), ["prevent"]))
845
+ onDragenter: g[0] || (g[0] = (b) => i(L(X).dragenter, b)),
846
+ onDragleave: g[1] || (g[1] = (b) => i(L(X).dragleave, b)),
847
+ onDragover: g[2] || (g[2] = j((b) => i(L(X).dragover, b), ["prevent"])),
848
+ onDrop: g[3] || (g[3] = j((b) => i(L(X).drop, b), ["prevent"]))
849
849
  }, {
850
- default: B(() => [
851
- L(u.$slots, "default", { transferData: r.value })
850
+ default: E(() => [
851
+ I(u.$slots, "default", { transferData: r.value })
852
852
  ]),
853
853
  _: 3
854
854
  }, 544));
855
855
  }
856
- }, bt = {
856
+ }, xt = {
857
857
  __name: "DMenu",
858
858
  props: {
859
859
  class: String,
@@ -877,8 +877,8 @@ const q = Lo(), v = {
877
877
  const l = () => {
878
878
  q.emit("menu-show-request"), a.value = !0;
879
879
  }, r = () => {
880
- var _;
881
- (_ = s.value) == null || _.collapseAll(), a.value = !1;
880
+ var b;
881
+ (b = s.value) == null || b.collapseAll(), a.value = !1;
882
882
  }, i = () => a.value;
883
883
  q.on("menu-show-request", () => {
884
884
  r();
@@ -889,20 +889,20 @@ const q = Lo(), v = {
889
889
  isShowed: i,
890
890
  itemsCount: () => s.value.itemsCount()
891
891
  });
892
- const g = (_) => {
893
- o("select", _), _.model.children || r();
892
+ const g = (b) => {
893
+ o("select", b), b.model.children || r();
894
894
  };
895
- return (_, D) => {
895
+ return (b, D) => {
896
896
  const R = Re("click-outside");
897
- return d(), x(mt, { to: "body" }, [
898
- E(a) ? J((d(), x(xt, {
897
+ return d(), x(ht, { to: "body" }, [
898
+ L(a) ? Z((d(), x(kt, {
899
899
  key: 0,
900
900
  ref_key: "treeRef",
901
901
  ref: s,
902
902
  items: n.items,
903
903
  "no-select": n.noSelect,
904
904
  class: C(n.class),
905
- style: z(n.style),
905
+ style: F(n.style),
906
906
  onSelect: g,
907
907
  "render-title": n.renderItemTitle,
908
908
  "before-item": n.beforeItem
@@ -912,7 +912,7 @@ const q = Lo(), v = {
912
912
  ]);
913
913
  };
914
914
  }
915
- }, Eo = {
915
+ }, Bo = {
916
916
  __name: "DContextMenu",
917
917
  props: {
918
918
  items: Array,
@@ -925,28 +925,28 @@ const q = Lo(), v = {
925
925
  left: a.value + "px",
926
926
  top: l.value + "px"
927
927
  })), i = (u) => {
928
- s.value.show(), ht(() => {
929
- const g = s.value.elementSize(), _ = window.innerWidth, D = window.innerHeight;
930
- a.value = _ - u.pageX < g.width ? u.pageX - g.width : u.pageX, l.value = D - u.pageY < g.height ? u.pageY - g.height : u.pageY, s.value.itemsCount() === 0 && s.value.hide();
928
+ s.value.show(), gt(() => {
929
+ const g = s.value.elementSize(), b = window.innerWidth, D = window.innerHeight;
930
+ a.value = b - u.pageX < g.width ? u.pageX - g.width : u.pageX, l.value = D - u.pageY < g.height ? u.pageY - g.height : u.pageY, s.value.itemsCount() === 0 && s.value.hide();
931
931
  });
932
932
  }, c = (u) => {
933
933
  o("select", u);
934
934
  };
935
935
  return e({
936
936
  show: i
937
- }), (u, g) => (d(), x(bt, {
937
+ }), (u, g) => (d(), x(xt, {
938
938
  ref_key: "dMenuRef",
939
939
  ref: s,
940
940
  onSelect: c,
941
941
  items: n.items,
942
- style: z(r.value),
942
+ style: F(r.value),
943
943
  class: "context-menu",
944
944
  "no-select": !0,
945
945
  "render-item-title": n.renderItemTitle,
946
946
  "before-item": n.beforeItem
947
947
  }, null, 8, ["items", "style", "render-item-title", "before-item"]));
948
948
  }
949
- }, xt = {
949
+ }, kt = {
950
950
  __name: "DTree",
951
951
  props: {
952
952
  items: Array,
@@ -994,7 +994,7 @@ const q = Lo(), v = {
994
994
  },
995
995
  emits: ["select", "collapse", "expand", "move", "over", "drop", "doubleclick", "foldericonclick"],
996
996
  setup(t, { expose: e, emit: o }) {
997
- const n = t, s = S(null), a = S(!1), l = S(null), r = gt().uid;
997
+ const n = t, s = S(null), a = S(!1), l = S(null), r = Ve().uid;
998
998
  v.actions.initTreeStore(r, n.noSelect, n.multiSelect, n.expanded, n.transfer, n.renderTitle, n.beforeItem, n.dropInside);
999
999
  const i = (p, y) => {
1000
1000
  console.log(p, y);
@@ -1010,8 +1010,8 @@ const q = Lo(), v = {
1010
1010
  for (let y = 0; y < n.items.length; y++)
1011
1011
  n.items[y].id === p && v.actions.toggleItem(r, n.items[y]), n.items[y].expanded = !0;
1012
1012
  }, g = (p = null) => {
1013
- console.log(p.model), v.mutations.setItemSelect(r, p.model), n.doubleClickExpand || v.actions.toggleItem(r, p.model), o("select", p);
1014
- }, _ = (p = null) => {
1013
+ v.mutations.setItemSelect(r, p.model), n.doubleClickExpand || v.actions.toggleItem(r, p.model), o("select", p);
1014
+ }, b = (p = null) => {
1015
1015
  n.doubleClickExpand && v.actions.toggleItem(r, p.model), o("doubleclick", p);
1016
1016
  }, D = (p = null) => {
1017
1017
  n.doubleClickExpand && v.actions.toggleItem(r, p.model), o("foldericonclick", p);
@@ -1019,28 +1019,28 @@ const q = Lo(), v = {
1019
1019
  o("over", p);
1020
1020
  }, $ = (p = null) => {
1021
1021
  o("drop", p);
1022
- }, H = () => s.value.elementSize(), Y = () => {
1022
+ }, A = () => s.value.elementSize(), Y = () => {
1023
1023
  for (let p = 0; p < n.items.length; p++)
1024
1024
  n.items[p].expanded = !0;
1025
1025
  }, M = () => {
1026
1026
  for (let p = 0; p < n.items.length; p++)
1027
1027
  n.items[p].expanded = !1;
1028
- }, I = () => r, F = (p) => v.actions.deepSearch(n.items, p), T = (p) => {
1029
- F(p) && v.mutations.setItemSelect(r, F(p));
1028
+ }, B = () => r, z = (p) => v.actions.deepSearch(n.items, p), T = (p) => {
1029
+ z(p) && v.mutations.setItemSelect(r, z(p));
1030
1030
  }, W = (p) => {
1031
1031
  n.contextClick({ e: p.e, model: p.model, target: l.value });
1032
- }, N = (p) => n.contextBeforeClick({ model: p, target: l.value }), w = h(() => n.context), V = (p) => (w.value && (l.value = p.model, a.value.show(p.e)), !1), P = () => f(c.value), f = (p) => {
1032
+ }, N = (p) => n.contextBeforeClick({ model: p, target: l.value }), w = h(() => n.context), H = (p) => (w.value && (l.value = p.model, a.value.show(p.e)), !1), P = () => m(c.value), m = (p) => {
1033
1033
  let y = 0;
1034
- for (let A = 0; A < p.length; A++)
1035
- y += v.actions.beforeItem(r, p[A]) ? 1 : 0, p[A].children && p[A].children.length > 0 && (y += f(p[A].children));
1034
+ for (let V = 0; V < p.length; V++)
1035
+ y += v.actions.beforeItem(r, p[V]) ? 1 : 0, p[V].children && p[V].children.length > 0 && (y += m(p[V].children));
1036
1036
  return y;
1037
1037
  };
1038
1038
  return e({
1039
- elementSize: H,
1039
+ elementSize: A,
1040
1040
  expandAll: Y,
1041
1041
  collapseAll: M,
1042
- getId: I,
1043
- getNode: F,
1042
+ getId: B,
1043
+ getNode: z,
1044
1044
  selectNode: T,
1045
1045
  itemsCount: P,
1046
1046
  expandNode: u
@@ -1051,21 +1051,21 @@ const q = Lo(), v = {
1051
1051
  tag: "ul",
1052
1052
  onDrop: j(i, ["stop"])
1053
1053
  }, {
1054
- default: B(() => [
1055
- (d(!0), m(ne, null, me(c.value, (A) => (d(), x(Co, {
1056
- key: A.id,
1057
- model: A,
1058
- treeId: E(r),
1054
+ default: E(() => [
1055
+ (d(!0), f(ne, null, me(c.value, (V) => (d(), x(Co, {
1056
+ key: V.id,
1057
+ model: V,
1058
+ treeId: L(r),
1059
1059
  items: n.items,
1060
1060
  search: n.search,
1061
1061
  onNodeclick: g,
1062
- onNodedoubleclick: _,
1062
+ onNodedoubleclick: b,
1063
1063
  onNodedragover: R,
1064
1064
  onNodedrop: $,
1065
- onNodecontext: V,
1065
+ onNodecontext: H,
1066
1066
  onNodefoldericonclick: D
1067
1067
  }, null, 8, ["model", "treeId", "items", "search"]))), 128)),
1068
- w.value ? (d(), x(Eo, {
1068
+ w.value ? (d(), x(Bo, {
1069
1069
  key: 0,
1070
1070
  ref_key: "contextTreeRef",
1071
1071
  ref: a,
@@ -1078,7 +1078,7 @@ const q = Lo(), v = {
1078
1078
  }, 8, ["onDrop"]));
1079
1079
  }
1080
1080
  };
1081
- const Bo = {
1081
+ const Eo = {
1082
1082
  __name: "DAccordion",
1083
1083
  props: {
1084
1084
  items: Array,
@@ -1094,7 +1094,7 @@ const Bo = {
1094
1094
  const o = t, n = (s) => {
1095
1095
  e("move", s);
1096
1096
  };
1097
- return (s, a) => (d(), x(xt, {
1097
+ return (s, a) => (d(), x(kt, {
1098
1098
  class: "accordion",
1099
1099
  items: o.items,
1100
1100
  "no-select": o.noSelect,
@@ -1103,7 +1103,7 @@ const Bo = {
1103
1103
  onMove: n
1104
1104
  }, null, 8, ["items", "no-select", "render-title"]));
1105
1105
  }
1106
- }, Ms = /* @__PURE__ */ se(Bo, [["__scopeId", "data-v-a724c500"]]), Mo = {
1106
+ }, Os = /* @__PURE__ */ se(Eo, [["__scopeId", "data-v-a724c500"]]), Mo = {
1107
1107
  __name: "DLayoutHeader",
1108
1108
  props: {
1109
1109
  fixed: {
@@ -1141,11 +1141,11 @@ const Bo = {
1141
1141
  const { fixed: n, zIndex: s, minWidth: a, height: l, paddingLeft: r, transitionDuration: i, transitionTimingFunction: c } = e, u = n ? "fixed" : "static", g = e.useMinWidthLayout ? `min-width:${a}px;` : "";
1142
1142
  return `position:${u};z-index:${s};${g}height:${l}px;padding-left:${r}px;transition-duration:${i}ms;transition-timing-function:${c};`;
1143
1143
  });
1144
- return (n, s) => (d(), m("header", {
1144
+ return (n, s) => (d(), f("header", {
1145
1145
  class: "d-layout-header",
1146
- style: z(o.value)
1146
+ style: F(o.value)
1147
1147
  }, [
1148
- L(n.$slots, "default")
1148
+ I(n.$slots, "default")
1149
1149
  ], 4));
1150
1150
  }
1151
1151
  }, No = {
@@ -1187,14 +1187,14 @@ const Bo = {
1187
1187
  },
1188
1188
  setup(t) {
1189
1189
  const e = t, o = h(() => {
1190
- const { fixed: n, top: s, zIndex: a, minWidth: l, height: r, paddingLeft: i, transitionDuration: c, transitionTimingFunction: u } = e, g = n ? "fixed" : "static", _ = e.useMinWidthLayout ? `min-width: ${l}px;` : "";
1191
- return `position:${g};top:${s}px;z-index:${a};${_}height:${r}px;padding-left:${i}px;transition-duration:${c}ms;transition-timing-function:${u};`;
1190
+ const { fixed: n, top: s, zIndex: a, minWidth: l, height: r, paddingLeft: i, transitionDuration: c, transitionTimingFunction: u } = e, g = n ? "fixed" : "static", b = e.useMinWidthLayout ? `min-width: ${l}px;` : "";
1191
+ return `position:${g};top:${s}px;z-index:${a};${b}height:${r}px;padding-left:${i}px;transition-duration:${c}ms;transition-timing-function:${u};`;
1192
1192
  });
1193
- return (n, s) => (d(), m("div", {
1193
+ return (n, s) => (d(), f("div", {
1194
1194
  class: "d-layout-tab",
1195
- style: z(o.value)
1195
+ style: F(o.value)
1196
1196
  }, [
1197
- L(n.$slots, "default")
1197
+ I(n.$slots, "default")
1198
1198
  ], 4));
1199
1199
  }
1200
1200
  }, Ro = {
@@ -1235,11 +1235,11 @@ const Bo = {
1235
1235
  const { fixed: n, zIndex: s, minWidth: a, height: l, paddingLeft: r, transitionDuration: i, transitionTimingFunction: c } = e, u = n ? "fixed" : "static", g = e.useMinWidthLayout ? `min-width:${a}px;` : "";
1236
1236
  return `position:${u};z-index:${s};${g}height:${l}px;padding-left:${r}px;transition-duration:${i}ms;transition-timing-function:${c};`;
1237
1237
  });
1238
- return (n, s) => (d(), m("footer", {
1238
+ return (n, s) => (d(), f("footer", {
1239
1239
  class: "d-layout-footer",
1240
- style: z(o.value)
1240
+ style: F(o.value)
1241
1241
  }, [
1242
- L(n.$slots, "default")
1242
+ I(n.$slots, "default")
1243
1243
  ], 4));
1244
1244
  }
1245
1245
  }, Oo = {
@@ -1275,14 +1275,14 @@ const Bo = {
1275
1275
  const { zIndex: n, width: s, paddingTop: a, transitionDuration: l, transitionTimingFunction: r } = e;
1276
1276
  return `z-index:${n};width:${s}px;padding-top:${a}px;transition-duration:${l}ms;transition-timing-function:${r};`;
1277
1277
  });
1278
- return (n, s) => (d(), m("aside", {
1278
+ return (n, s) => (d(), f("aside", {
1279
1279
  class: "d-layout-sidebar",
1280
- style: z(o.value)
1280
+ style: F(o.value)
1281
1281
  }, [
1282
- L(n.$slots, "default")
1282
+ I(n.$slots, "default")
1283
1283
  ], 4));
1284
1284
  }
1285
- }, Ao = {
1285
+ }, Vo = {
1286
1286
  __name: "DLayoutContent",
1287
1287
  props: {
1288
1288
  paddingTop: {
@@ -1312,15 +1312,15 @@ const Bo = {
1312
1312
  const { paddingTop: n, paddingBottom: s, paddingLeft: a, transitionDuration: l, transitionTimingFunction: r } = e, i = `overflow:${e.overflowHidden ? "hidden" : "visible"};`;
1313
1313
  return `padding-top:${n}px;padding-bottom:${s}px;padding-left:${a}px;${i}transition-duration:${l}ms;transition-timing-function:${r};`;
1314
1314
  });
1315
- return (n, s) => (d(), m("main", {
1316
- style: z(o.value),
1315
+ return (n, s) => (d(), f("main", {
1316
+ style: F(o.value),
1317
1317
  class: "d-layout-content"
1318
1318
  }, [
1319
- L(n.$slots, "default")
1319
+ I(n.$slots, "default")
1320
1320
  ], 4));
1321
1321
  }
1322
1322
  };
1323
- function Ho(t) {
1323
+ function Ao(t) {
1324
1324
  const e = S(0), o = h(() => `transform: translateX(${-e.value}px);`);
1325
1325
  let n = !1;
1326
1326
  function s(u) {
@@ -1349,7 +1349,7 @@ function Ho(t) {
1349
1349
  i();
1350
1350
  }), o;
1351
1351
  }
1352
- const Vo = 1001, zo = 999, Fo = 998, Ns = {
1352
+ const Ho = 1001, Fo = 999, zo = 998, Vs = {
1353
1353
  __name: "DLayoutAdmin",
1354
1354
  props: {
1355
1355
  mode: {
@@ -1440,7 +1440,7 @@ const Vo = 1001, zo = 999, Fo = 998, Ns = {
1440
1440
  },
1441
1441
  emits: ["update:sidebar-collapse", "sidebar-mask-click"],
1442
1442
  setup(t, { emit: e }) {
1443
- const o = t, n = h(() => o.useMinWidthLayout ? `min-width:${o.minWidth}px;` : ""), s = h(() => o.useMinWidthLayout && (o.fixedHeaderAndTab || o.fixedFooter)), a = Ho(s), l = h(() => o.fixedHeaderAndTab ? a.value : ""), r = h(() => o.fixedFooter ? a.value : ""), i = h(() => {
1443
+ const o = t, n = h(() => o.useMinWidthLayout ? `min-width:${o.minWidth}px;` : ""), s = h(() => o.useMinWidthLayout && (o.fixedHeaderAndTab || o.fixedFooter)), a = Ao(s), l = h(() => o.fixedHeaderAndTab ? a.value : ""), r = h(() => o.fixedFooter ? a.value : ""), i = h(() => {
1444
1444
  const { transitionDuration: T, transitionTimingFunction: W } = o;
1445
1445
  return {
1446
1446
  transitionDuration: T,
@@ -1454,7 +1454,7 @@ const Vo = 1001, zo = 999, Fo = 998, Ns = {
1454
1454
  e("update:sidebar-collapse", T);
1455
1455
  }
1456
1456
  });
1457
- function _() {
1457
+ function b() {
1458
1458
  e("sidebar-mask-click");
1459
1459
  }
1460
1460
  const D = h(() => o.isMobile && !g.value), R = h(() => {
@@ -1463,40 +1463,40 @@ const Vo = 1001, zo = 999, Fo = 998, Ns = {
1463
1463
  }), $ = h(() => {
1464
1464
  const { sidebarWidth: T, sidebarCollapsedWidth: W } = o, N = o.isMobile ? 0 : W, w = g.value ? N : T;
1465
1465
  return o.sidebarVisible ? w : 0;
1466
- }), H = h(() => o.isMobile ? 0 : $.value), Y = h(() => c.value ? H.value : 0), M = h(
1466
+ }), A = h(() => o.isMobile ? 0 : $.value), Y = h(() => c.value ? A.value : 0), M = h(
1467
1467
  () => !o.isMobile && !c.value && o.headerVisible ? o.headerHeight : 0
1468
- ), I = h(() => {
1468
+ ), B = h(() => {
1469
1469
  let T = 0;
1470
1470
  return o.fixedHeaderAndTab && (o.headerVisible && (T += o.headerHeight), o.tabVisible && (T += o.tabHeight)), T;
1471
- }), F = h(() => o.fixedFooter && o.footerVisible ? o.footerHeight : 0);
1472
- return (T, W) => (d(), m("div", {
1471
+ }), z = h(() => o.fixedFooter && o.footerVisible ? o.footerHeight : 0);
1472
+ return (T, W) => (d(), f("div", {
1473
1473
  class: "d-layout",
1474
- style: z(n.value)
1474
+ style: F(n.value)
1475
1475
  }, [
1476
1476
  t.headerVisible ? (d(), x(Mo, ue({ key: 0 }, i.value, {
1477
1477
  fixed: t.fixedHeaderAndTab,
1478
- "z-index": Vo,
1478
+ "z-index": Ho,
1479
1479
  "min-width": t.minWidth,
1480
1480
  height: t.headerHeight,
1481
1481
  "padding-left": Y.value,
1482
1482
  style: l.value
1483
1483
  }), {
1484
- default: B(() => [
1485
- L(T.$slots, "header")
1484
+ default: E(() => [
1485
+ I(T.$slots, "header")
1486
1486
  ]),
1487
1487
  _: 3
1488
1488
  }, 16, ["fixed", "min-width", "height", "padding-left", "style"])) : k("", !0),
1489
1489
  t.tabVisible ? (d(), x(No, ue({ key: 1 }, i.value, {
1490
1490
  fixed: t.fixedHeaderAndTab,
1491
- "z-index": zo,
1491
+ "z-index": Fo,
1492
1492
  "min-width": t.minWidth,
1493
1493
  top: t.headerHeight,
1494
1494
  height: t.tabHeight,
1495
- "padding-left": H.value,
1495
+ "padding-left": A.value,
1496
1496
  style: l.value
1497
1497
  }), {
1498
- default: B(() => [
1499
- L(T.$slots, "tab")
1498
+ default: E(() => [
1499
+ I(T.$slots, "tab")
1500
1500
  ]),
1501
1501
  _: 3
1502
1502
  }, 16, ["fixed", "min-width", "top", "height", "padding-left", "style"])) : k("", !0),
@@ -1505,38 +1505,38 @@ const Vo = 1001, zo = 999, Fo = 998, Ns = {
1505
1505
  width: $.value,
1506
1506
  "padding-top": M.value
1507
1507
  }), {
1508
- default: B(() => [
1509
- L(T.$slots, "sidebar")
1508
+ default: E(() => [
1509
+ I(T.$slots, "sidebar")
1510
1510
  ]),
1511
1511
  _: 3
1512
1512
  }, 16, ["z-index", "width", "padding-top"])) : k("", !0),
1513
- D.value ? (d(), m("div", {
1513
+ D.value ? (d(), f("div", {
1514
1514
  key: 3,
1515
1515
  class: "d-layout-sidebar-mask",
1516
- style: z(R.value),
1517
- onClick: _
1516
+ style: F(R.value),
1517
+ onClick: b
1518
1518
  }, null, 4)) : k("", !0),
1519
- Q(Ao, ue(i.value, {
1520
- "padding-top": I.value,
1521
- "padding-bottom": F.value,
1522
- "padding-left": H.value,
1519
+ Q(Vo, ue(i.value, {
1520
+ "padding-top": B.value,
1521
+ "padding-bottom": z.value,
1522
+ "padding-left": A.value,
1523
1523
  "overflow-hidden": t.addMainOverflowHidden
1524
1524
  }), {
1525
- default: B(() => [
1526
- L(T.$slots, "default")
1525
+ default: E(() => [
1526
+ I(T.$slots, "default")
1527
1527
  ]),
1528
1528
  _: 3
1529
1529
  }, 16, ["padding-top", "padding-bottom", "padding-left", "overflow-hidden"]),
1530
1530
  t.footerVisible ? (d(), x(Ro, ue({ key: 4 }, i.value, {
1531
1531
  fixed: t.fixedFooter,
1532
- "z-index": Fo,
1532
+ "z-index": zo,
1533
1533
  "min-width": t.minWidth,
1534
1534
  height: t.footerHeight,
1535
- "padding-left": H.value,
1535
+ "padding-left": A.value,
1536
1536
  style: r.value
1537
1537
  }), {
1538
- default: B(() => [
1539
- L(T.$slots, "footer")
1538
+ default: E(() => [
1539
+ I(T.$slots, "footer")
1540
1540
  ]),
1541
1541
  _: 3
1542
1542
  }, 16, ["fixed", "min-width", "height", "padding-left", "style"])) : k("", !0)
@@ -1561,7 +1561,7 @@ const Vo = 1001, zo = 999, Fo = 998, Ns = {
1561
1561
  pe.state.theme = pe.state.theme === "dark" ? "light" : "dark", document.documentElement.classList.remove("dark"), document.documentElement.classList.remove("light"), document.documentElement.classList.add(pe.state.theme);
1562
1562
  }
1563
1563
  }
1564
- }, Rs = {
1564
+ }, As = {
1565
1565
  __name: "DConfigProvider",
1566
1566
  props: {
1567
1567
  theme: {
@@ -1571,10 +1571,10 @@ const Vo = 1001, zo = 999, Fo = 998, Ns = {
1571
1571
  },
1572
1572
  setup(t) {
1573
1573
  const e = t;
1574
- return pe.mutations.setTheme(e.theme), (o, n) => L(o.$slots, "default");
1574
+ return pe.mutations.setTheme(e.theme), (o, n) => I(o.$slots, "default");
1575
1575
  }
1576
1576
  };
1577
- const Os = {
1577
+ const Hs = {
1578
1578
  __name: "DScrollProvider",
1579
1579
  props: {
1580
1580
  xHide: {
@@ -1597,8 +1597,8 @@ const Os = {
1597
1597
  };
1598
1598
  return he(() => {
1599
1599
  s("colored-scroller");
1600
- }), (a, l) => (d(), m("div", null, [
1601
- L(a.$slots, "default")
1600
+ }), (a, l) => (d(), f("div", null, [
1601
+ I(a.$slots, "default")
1602
1602
  ]));
1603
1603
  }
1604
1604
  };
@@ -1625,13 +1625,13 @@ const Wo = {
1625
1625
  c07fa298: n.value
1626
1626
  }));
1627
1627
  const o = h(() => e.xHide ? "hidden" : "visible"), n = h(() => e.yHide ? "hidden" : "visible");
1628
- return (s, a) => (d(), m("div", {
1628
+ return (s, a) => (d(), f("div", {
1629
1629
  class: C(e.autoHide ? "d-scroll-hide" : "d-scroll")
1630
1630
  }, [
1631
- L(s.$slots, "default", {}, void 0, !0)
1631
+ I(s.$slots, "default", {}, void 0, !0)
1632
1632
  ], 2));
1633
1633
  }
1634
- }, As = /* @__PURE__ */ se(Wo, [["__scopeId", "data-v-d50b3609"]]), Po = { class: "modal-content" }, jo = { class: "modal-header" }, Xo = { class: "modal-title" }, Yo = { class: "modal-body" }, Uo = { class: "modal-footer" }, kt = {
1634
+ }, Fs = /* @__PURE__ */ se(Wo, [["__scopeId", "data-v-d50b3609"]]), Po = { class: "modal-content" }, jo = { class: "modal-header" }, Xo = { class: "modal-title" }, Yo = { class: "modal-body" }, Uo = { class: "modal-footer" }, $t = {
1635
1635
  __name: "DModal",
1636
1636
  props: {
1637
1637
  show: Boolean,
@@ -1654,30 +1654,30 @@ const Wo = {
1654
1654
  hide: r
1655
1655
  }), (i, c) => {
1656
1656
  const u = Re("keydown");
1657
- return d(), x(mt, { to: "body" }, [
1657
+ return d(), x(ht, { to: "body" }, [
1658
1658
  Q(Ne, { name: "fade" }, {
1659
- default: B(() => [
1660
- a.value ? J((d(), m("div", {
1659
+ default: E(() => [
1660
+ a.value ? Z((d(), f("div", {
1661
1661
  key: 0,
1662
1662
  ref_key: "modalRef",
1663
1663
  ref: s,
1664
1664
  class: "modal"
1665
1665
  }, [
1666
- b("div", {
1666
+ _("div", {
1667
1667
  class: "modal-dialog",
1668
- style: z({ width: n.width, maxWidth: n.maxWidth })
1668
+ style: F({ width: n.width, maxWidth: n.maxWidth })
1669
1669
  }, [
1670
- b("div", Po, [
1671
- b("div", jo, [
1672
- b("h5", Xo, [
1673
- L(i.$slots, "modal-title")
1670
+ _("div", Po, [
1671
+ _("div", jo, [
1672
+ _("h5", Xo, [
1673
+ I(i.$slots, "modal-title")
1674
1674
  ])
1675
1675
  ]),
1676
- b("div", Yo, [
1677
- L(i.$slots, "default")
1676
+ _("div", Yo, [
1677
+ I(i.$slots, "default")
1678
1678
  ]),
1679
- b("div", Uo, [
1680
- L(i.$slots, "modal-footer")
1679
+ _("div", Uo, [
1680
+ I(i.$slots, "modal-footer")
1681
1681
  ])
1682
1682
  ])
1683
1683
  ], 4)
@@ -1690,11 +1690,11 @@ const Wo = {
1690
1690
  ]);
1691
1691
  };
1692
1692
  }
1693
- }, ce = Bt();
1693
+ }, ce = Mt();
1694
1694
  function Me(t) {
1695
1695
  t === void 0 && (t = ce.value.comp.returnValue()), ce.value.resolve(t), ce.value = null;
1696
1696
  }
1697
- function $t(t, e, o = "default") {
1697
+ function wt(t, e, o = "default") {
1698
1698
  return new Promise((n) => {
1699
1699
  ce.value = {
1700
1700
  dialog: t,
@@ -1710,7 +1710,7 @@ var qo = (t, e) => {
1710
1710
  o[n] = s;
1711
1711
  return o;
1712
1712
  };
1713
- const Go = Mt({
1713
+ const Go = Nt({
1714
1714
  name: "DialogWrapper",
1715
1715
  components: {},
1716
1716
  props: {
@@ -1731,8 +1731,8 @@ const Go = Mt({
1731
1731
  }
1732
1732
  });
1733
1733
  function Zo(t, e, o, n, s, a) {
1734
- return d(), x(Ne, pt(ft(t.transitionAttrs)), {
1735
- default: B(() => [
1734
+ return d(), x(Ne, ft(mt(t.transitionAttrs)), {
1735
+ default: E(() => [
1736
1736
  t.dialogRef && t.dialogRef.wrapper === t.name ? (d(), x(U(t.dialogRef.dialog), ue({ key: 0 }, t.dialogRef.props, { ref: "dialogInstance" }), null, 16)) : k("", !0)
1737
1737
  ]),
1738
1738
  _: 1
@@ -1749,21 +1749,21 @@ const Jo = { style: { display: "flex", "flex-direction": "row", "justify-content
1749
1749
  const o = t;
1750
1750
  return e({
1751
1751
  returnValue: () => !0
1752
- }), (s, a) => (d(), m("div", null, [
1753
- Q(kt, { show: !0 }, {
1754
- "modal-title": B(() => [
1755
- K(O(o.title), 1)
1752
+ }), (s, a) => (d(), f("div", null, [
1753
+ Q($t, { show: !0 }, {
1754
+ "modal-title": E(() => [
1755
+ J(O(o.title), 1)
1756
1756
  ]),
1757
- default: B(() => [
1758
- K(O(o.message), 1)
1757
+ default: E(() => [
1758
+ J(O(o.message), 1)
1759
1759
  ]),
1760
- "modal-footer": B(() => [
1761
- b("div", Jo, [
1760
+ "modal-footer": E(() => [
1761
+ _("div", Jo, [
1762
1762
  Q(le, {
1763
- onClick: a[0] || (a[0] = (l) => E(Me)())
1763
+ onClick: a[0] || (a[0] = (l) => L(Me)())
1764
1764
  }, {
1765
- default: B(() => [
1766
- K("Закрыть")
1765
+ default: E(() => [
1766
+ J("Закрыть")
1767
1767
  ]),
1768
1768
  _: 1
1769
1769
  })
@@ -1783,30 +1783,30 @@ const Jo = { style: { display: "flex", "flex-direction": "row", "justify-content
1783
1783
  const o = t;
1784
1784
  return e({
1785
1785
  returnValue: () => !0
1786
- }), (s, a) => (d(), m("div", null, [
1787
- Q(kt, { show: !0 }, {
1788
- "modal-title": B(() => [
1789
- K(O(o.title), 1)
1786
+ }), (s, a) => (d(), f("div", null, [
1787
+ Q($t, { show: !0 }, {
1788
+ "modal-title": E(() => [
1789
+ J(O(o.title), 1)
1790
1790
  ]),
1791
- default: B(() => [
1792
- K(O(o.message), 1)
1791
+ default: E(() => [
1792
+ J(O(o.message), 1)
1793
1793
  ]),
1794
- "modal-footer": B(() => [
1795
- b("div", en, [
1794
+ "modal-footer": E(() => [
1795
+ _("div", en, [
1796
1796
  Q(le, {
1797
- onClick: a[0] || (a[0] = (l) => E(Me)())
1797
+ onClick: a[0] || (a[0] = (l) => L(Me)())
1798
1798
  }, {
1799
- default: B(() => [
1800
- K("Да")
1799
+ default: E(() => [
1800
+ J("Да")
1801
1801
  ]),
1802
1802
  _: 1
1803
1803
  }),
1804
1804
  Q(le, {
1805
1805
  class: "button-red",
1806
- onClick: a[1] || (a[1] = (l) => E(Me)(!1))
1806
+ onClick: a[1] || (a[1] = (l) => L(Me)(!1))
1807
1807
  }, {
1808
- default: B(() => [
1809
- K("Нет")
1808
+ default: E(() => [
1809
+ J("Нет")
1810
1810
  ]),
1811
1811
  _: 1
1812
1812
  })
@@ -1816,7 +1816,7 @@ const Jo = { style: { display: "flex", "flex-direction": "row", "justify-content
1816
1816
  })
1817
1817
  ]));
1818
1818
  }
1819
- }, on = { class: "dropdown" }, Hs = {
1819
+ }, on = { class: "dropdown" }, zs = {
1820
1820
  __name: "DDropdown",
1821
1821
  props: {
1822
1822
  class: String,
@@ -1841,9 +1841,9 @@ const Jo = { style: { display: "flex", "flex-direction": "row", "justify-content
1841
1841
  a.value.hide();
1842
1842
  return;
1843
1843
  }
1844
- a.value.show(), ht(() => {
1845
- const R = a.value.elementSize(), $ = l.value.elementSize(), H = window.innerWidth, Y = window.innerHeight;
1846
- r.value = H - ($.x + $.width) < R.width ? $.left - R.width + $.width : $.left, i.value = Y - ($.y + $.height) < R.height ? $.top - R.height - 5 : $.height + $.top + 5;
1844
+ a.value.show(), gt(() => {
1845
+ const R = a.value.elementSize(), $ = l.value.elementSize(), A = window.innerWidth, Y = window.innerHeight;
1846
+ r.value = A - ($.x + $.width) < R.width ? $.left - R.width + $.width : $.left, i.value = Y - ($.y + $.height) < R.height ? $.top - R.height - 5 : $.height + $.top + 5;
1847
1847
  });
1848
1848
  }, u = (D) => {
1849
1849
  o("select", D);
@@ -1851,9 +1851,9 @@ const Jo = { style: { display: "flex", "flex-direction": "row", "justify-content
1851
1851
  e({
1852
1852
  show: c
1853
1853
  });
1854
- const _ = (D) => !!s[D];
1855
- return (D, R) => (d(), m("div", on, [
1856
- _("default") ? (d(), x(le, {
1854
+ const b = (D) => !!s[D];
1855
+ return (D, R) => (d(), f("div", on, [
1856
+ b("default") ? (d(), x(le, {
1857
1857
  key: 0,
1858
1858
  ref_key: "buttonRef",
1859
1859
  ref: l,
@@ -1862,8 +1862,8 @@ const Jo = { style: { display: "flex", "flex-direction": "row", "justify-content
1862
1862
  onClick: j(c, ["stop", "prevent"]),
1863
1863
  type: n.type
1864
1864
  }, {
1865
- default: B(() => [
1866
- L(D.$slots, "default")
1865
+ default: E(() => [
1866
+ I(D.$slots, "default")
1867
1867
  ]),
1868
1868
  _: 3
1869
1869
  }, 8, ["class", "icon", "onClick", "type"])) : (d(), x(le, {
@@ -1875,12 +1875,12 @@ const Jo = { style: { display: "flex", "flex-direction": "row", "justify-content
1875
1875
  onClick: j(c, ["stop", "prevent"]),
1876
1876
  type: n.type
1877
1877
  }, null, 8, ["class", "icon", "onClick", "type"])),
1878
- Q(bt, {
1878
+ Q(xt, {
1879
1879
  ref_key: "dMenuRef",
1880
1880
  ref: a,
1881
1881
  items: n.items,
1882
1882
  class: "dropdown-menu",
1883
- style: z(g.value),
1883
+ style: F(g.value),
1884
1884
  "no-select": !0,
1885
1885
  onSelect: u,
1886
1886
  "render-item-title": n.renderItemTitle,
@@ -1891,25 +1891,25 @@ const Jo = { style: { display: "flex", "flex-direction": "row", "justify-content
1891
1891
  }
1892
1892
  }, nn = {}, sn = { class: "d-panel" };
1893
1893
  function an(t, e) {
1894
- return d(), m("div", sn, [
1895
- L(t.$slots, "default")
1894
+ return d(), f("div", sn, [
1895
+ I(t.$slots, "default")
1896
1896
  ]);
1897
1897
  }
1898
- const ln = /* @__PURE__ */ se(nn, [["render", an]]), rn = { class: "card-header" }, dn = { class: "modal-title" }, cn = { class: "card-body" }, un = { class: "card-footer" }, Vs = {
1898
+ const ln = /* @__PURE__ */ se(nn, [["render", an]]), rn = { class: "card-header" }, dn = { class: "modal-title" }, cn = { class: "card-body" }, un = { class: "card-footer" }, Ws = {
1899
1899
  __name: "DCard",
1900
1900
  setup(t) {
1901
1901
  return (e, o) => (d(), x(ln, { class: "d-card" }, {
1902
- default: B(() => [
1903
- b("div", rn, [
1904
- b("h5", dn, [
1905
- L(e.$slots, "title")
1902
+ default: E(() => [
1903
+ _("div", rn, [
1904
+ _("h5", dn, [
1905
+ I(e.$slots, "title")
1906
1906
  ])
1907
1907
  ]),
1908
- b("div", cn, [
1909
- L(e.$slots, "default")
1908
+ _("div", cn, [
1909
+ I(e.$slots, "default")
1910
1910
  ]),
1911
- b("div", un, [
1912
- L(e.$slots, "footer")
1911
+ _("div", un, [
1912
+ I(e.$slots, "footer")
1913
1913
  ])
1914
1914
  ]),
1915
1915
  _: 3
@@ -1927,14 +1927,14 @@ class fn {
1927
1927
  this.start = Date.now(), clearTimeout(this.notifyItem.timer), this.notifyItem.timer = setTimeout(this.callback, this.remaining);
1928
1928
  }
1929
1929
  }
1930
- const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
1930
+ const Be = "[-+]?[0-9]*.?[0-9]+", lt = [
1931
1931
  {
1932
1932
  name: "px",
1933
- regexp: new RegExp(`^${Ee}px$`)
1933
+ regexp: new RegExp(`^${Be}px$`)
1934
1934
  },
1935
1935
  {
1936
1936
  name: "%",
1937
- regexp: new RegExp(`^${Ee}%$`)
1937
+ regexp: new RegExp(`^${Be}%$`)
1938
1938
  },
1939
1939
  /**
1940
1940
  * Fallback option
@@ -1942,7 +1942,7 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
1942
1942
  */
1943
1943
  {
1944
1944
  name: "px",
1945
- regexp: new RegExp(`^${Ee}$`)
1945
+ regexp: new RegExp(`^${Be}$`)
1946
1946
  }
1947
1947
  ], mn = (t) => {
1948
1948
  if (t === "auto")
@@ -1950,8 +1950,8 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
1950
1950
  type: t,
1951
1951
  value: 0
1952
1952
  };
1953
- for (let e = 0; e < it.length; e++) {
1954
- const o = it[e];
1953
+ for (let e = 0; e < lt.length; e++) {
1954
+ const o = lt[e];
1955
1955
  if (o.regexp.test(t))
1956
1956
  return {
1957
1957
  type: o.name,
@@ -1971,16 +1971,16 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
1971
1971
  default:
1972
1972
  return { type: "", value: t };
1973
1973
  }
1974
- }, lt = {
1974
+ }, rt = {
1975
1975
  x: /* @__PURE__ */ new Set(["left", "center", "right"]),
1976
1976
  y: /* @__PURE__ */ new Set(["top", "bottom"])
1977
1977
  }, gn = ((t) => () => t++)(0), vn = (t) => typeof t != "string" ? [] : t.split(/\s+/gi).filter(Boolean), yn = (t) => {
1978
1978
  typeof t == "string" && (t = vn(t));
1979
1979
  let e = null, o = null;
1980
1980
  return t.forEach((n) => {
1981
- lt.y.has(n) && (o = n), lt.x.has(n) && (e = n);
1981
+ rt.y.has(n) && (o = n), rt.x.has(n) && (e = n);
1982
1982
  }), { x: e, y: o };
1983
- }, Be = {
1983
+ }, Ee = {
1984
1984
  position: ["top", "right"],
1985
1985
  cssAnimation: "fade",
1986
1986
  velocityAnimation: {
@@ -2011,8 +2011,8 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
2011
2011
  onLeave: n,
2012
2012
  onAfterLeave: s
2013
2013
  }, {
2014
- default: B(() => [
2015
- L(a.$slots, "default")
2014
+ default: E(() => [
2015
+ I(a.$slots, "default")
2016
2016
  ]),
2017
2017
  _: 3
2018
2018
  }));
@@ -2030,8 +2030,8 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
2030
2030
  tag: "span",
2031
2031
  name: e.name
2032
2032
  }, {
2033
- default: B(() => [
2034
- L(o.$slots, "default")
2033
+ default: E(() => [
2034
+ I(o.$slots, "default")
2035
2035
  ]),
2036
2036
  _: 3
2037
2037
  }, 8, ["name"]));
@@ -2039,7 +2039,7 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
2039
2039
  }), xn = ["data-id"], kn = ["onClick"], $n = ["innerHTML"], wn = ["innerHTML"], Sn = {
2040
2040
  key: 0,
2041
2041
  class: "d-notification-title"
2042
- }, Dn = { class: "notification-content" }, zs = {
2042
+ }, Dn = { class: "notification-content" }, Ps = {
2043
2043
  __name: "DNotificationProvider",
2044
2044
  props: {
2045
2045
  group: {
@@ -2056,7 +2056,7 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
2056
2056
  },
2057
2057
  position: {
2058
2058
  type: [String, Array, null],
2059
- default: Be.position
2059
+ default: Ee.position
2060
2060
  },
2061
2061
  classes: {
2062
2062
  type: String,
@@ -2068,11 +2068,11 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
2068
2068
  },
2069
2069
  animation: {
2070
2070
  type: [String, Object],
2071
- default: Be.velocityAnimation
2071
+ default: Ee.velocityAnimation
2072
2072
  },
2073
2073
  animationName: {
2074
2074
  type: String,
2075
- default: Be.cssAnimation
2075
+ default: Ee.cssAnimation
2076
2076
  },
2077
2077
  speed: {
2078
2078
  type: Number,
@@ -2112,27 +2112,27 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
2112
2112
  const o = t, n = {
2113
2113
  IDLE: 0,
2114
2114
  DESTROYED: 2
2115
- }, s = S([]), a = S(null), l = S(pn.get("velocity")), r = h(() => o.animationType === "velocity"), i = h(() => r.value ? _n : bn), c = h(() => s.value.filter((f) => f.state !== n.DESTROYED)), u = h(() => hn(o.width)), g = h(() => {
2116
- const { x: f, y: p } = yn(o.position), y = u.value.value, A = u.value.type, ae = {
2117
- width: y + A
2115
+ }, s = S([]), a = S(null), l = S(pn.get("velocity")), r = h(() => o.animationType === "velocity"), i = h(() => r.value ? _n : bn), c = h(() => s.value.filter((m) => m.state !== n.DESTROYED)), u = h(() => hn(o.width)), g = h(() => {
2116
+ const { x: m, y: p } = yn(o.position), y = u.value.value, V = u.value.type, ae = {
2117
+ width: y + V
2118
2118
  };
2119
- return p && (ae[p] = "0px"), f && (f === "center" ? ae.left = `calc(50% - ${+y / 2}${A})` : ae[f] = "0px"), ae;
2120
- }), _ = h(() => "bottom" in g.value), D = (f) => {
2121
- e("click", f), o.closeOnClick && F(f);
2119
+ return p && (ae[p] = "0px"), m && (m === "center" ? ae.left = `calc(50% - ${+y / 2}${V})` : ae[m] = "0px"), ae;
2120
+ }), b = h(() => "bottom" in g.value), D = (m) => {
2121
+ e("click", m), o.closeOnClick && z(m);
2122
2122
  }, R = () => {
2123
- var f;
2124
- o.pauseOnHover && ((f = a.value) == null || f.pause());
2123
+ var m;
2124
+ o.pauseOnHover && ((m = a.value) == null || m.pause());
2125
2125
  }, $ = () => {
2126
- var f;
2127
- o.pauseOnHover && ((f = a.value) == null || f.resume());
2128
- }, H = (f) => {
2129
- if (f.group || (f.group = ""), f.data || (f.data = {}), o.group !== f.group)
2126
+ var m;
2127
+ o.pauseOnHover && ((m = a.value) == null || m.resume());
2128
+ }, A = (m) => {
2129
+ if (m.group || (m.group = ""), m.data || (m.data = {}), o.group !== m.group)
2130
2130
  return;
2131
- if (f.clean || f.clear) {
2131
+ if (m.clean || m.clear) {
2132
2132
  W();
2133
2133
  return;
2134
2134
  }
2135
- const p = typeof f.duration == "number" ? f.duration : o.duration, y = typeof f.speed == "number" ? f.speed : o.speed, A = typeof f.ignoreDuplicates == "boolean" ? f.ignoreDuplicates : o.ignoreDuplicates, { title: ae, text: ve, type: ye, data: _e, id: be } = f, ee = {
2135
+ const p = typeof m.duration == "number" ? m.duration : o.duration, y = typeof m.speed == "number" ? m.speed : o.speed, V = typeof m.ignoreDuplicates == "boolean" ? m.ignoreDuplicates : o.ignoreDuplicates, { title: ae, text: ve, type: ye, data: _e, id: be } = m, ee = {
2136
2136
  id: be || gn(),
2137
2137
  title: ae,
2138
2138
  text: ve,
@@ -2142,91 +2142,91 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
2142
2142
  length: p + 2 * y,
2143
2143
  data: _e
2144
2144
  };
2145
- p >= 0 && (a.value = new fn(() => F(ee), ee.length, ee));
2146
- const xe = o.reverse ? !_.value : _.value;
2145
+ p >= 0 && (a.value = new fn(() => z(ee), ee.length, ee));
2146
+ const xe = o.reverse ? !b.value : b.value;
2147
2147
  let de = -1;
2148
- const ke = c.value.some((ge) => ge.title === f.title && ge.text === f.text);
2149
- (!A || !ke) && (xe ? (s.value.push(ee), e("start", ee), c.value.length > o.max && (de = 0)) : (s.value.unshift(ee), e("start", ee), c.value.length > o.max && (de = c.value.length - 1)), de !== -1 && F(c.value[de]));
2150
- }, Y = (f) => {
2151
- T(f);
2152
- }, M = (f) => [
2148
+ const ke = c.value.some((ge) => ge.title === m.title && ge.text === m.text);
2149
+ (!V || !ke) && (xe ? (s.value.push(ee), e("start", ee), c.value.length > o.max && (de = 0)) : (s.value.unshift(ee), e("start", ee), c.value.length > o.max && (de = c.value.length - 1)), de !== -1 && z(c.value[de]));
2150
+ }, Y = (m) => {
2151
+ T(m);
2152
+ }, M = (m) => [
2153
2153
  "d-notification-template",
2154
2154
  o.classes,
2155
- f.type || ""
2156
- ], I = (f) => r.value ? void 0 : { transition: `all ${f.speed}ms` }, F = (f) => {
2157
- clearTimeout(f.timer), f.state = n.DESTROYED, P(), e("destroy", f);
2158
- }, T = (f) => {
2159
- const p = s.value.find((y) => y.id === f);
2160
- p && F(p);
2155
+ m.type || ""
2156
+ ], B = (m) => r.value ? void 0 : { transition: `all ${m.speed}ms` }, z = (m) => {
2157
+ clearTimeout(m.timer), m.state = n.DESTROYED, P(), e("destroy", m);
2158
+ }, T = (m) => {
2159
+ const p = s.value.find((y) => y.id === m);
2160
+ p && z(p);
2161
2161
  }, W = () => {
2162
- c.value.forEach(F);
2163
- }, N = (f, p) => {
2164
- var A;
2165
- const y = (A = o.animation) == null ? void 0 : A[f];
2162
+ c.value.forEach(z);
2163
+ }, N = (m, p) => {
2164
+ var V;
2165
+ const y = (V = o.animation) == null ? void 0 : V[m];
2166
2166
  return typeof y == "function" ? y(p) : y;
2167
- }, w = (f, p) => {
2167
+ }, w = (m, p) => {
2168
2168
  if (!r.value)
2169
2169
  return;
2170
- const y = N("enter", f);
2171
- l.value(f, y, {
2170
+ const y = N("enter", m);
2171
+ l.value(m, y, {
2172
2172
  duration: o.speed,
2173
2173
  complete: p
2174
2174
  });
2175
- }, V = (f, p) => {
2175
+ }, H = (m, p) => {
2176
2176
  if (!r.value)
2177
2177
  return;
2178
- const y = N("leave", f);
2179
- l.value(f, y, {
2178
+ const y = N("leave", m);
2179
+ l.value(m, y, {
2180
2180
  duration: o.speed,
2181
2181
  complete: p
2182
2182
  });
2183
2183
  };
2184
2184
  function P() {
2185
- s.value = s.value.filter((f) => f.state !== n.DESTROYED);
2185
+ s.value = s.value.filter((m) => m.state !== n.DESTROYED);
2186
2186
  }
2187
2187
  return he(() => {
2188
- q.on("notification-add", H), q.on("notification-close", Y);
2189
- }), (f, p) => (d(), m("div", {
2188
+ q.on("notification-add", A), q.on("notification-close", Y);
2189
+ }), (m, p) => (d(), f("div", {
2190
2190
  class: "d-notification-group",
2191
- style: z(g.value)
2191
+ style: F(g.value)
2192
2192
  }, [
2193
2193
  (d(), x(U(i.value), {
2194
2194
  name: t.animationName,
2195
2195
  onEnter: w,
2196
- onLeave: V,
2196
+ onLeave: H,
2197
2197
  onAfterLeave: P
2198
2198
  }, {
2199
- default: B(() => [
2200
- (d(!0), m(ne, null, me(c.value, (y) => (d(), m("div", {
2199
+ default: E(() => [
2200
+ (d(!0), f(ne, null, me(c.value, (y) => (d(), f("div", {
2201
2201
  key: y.id,
2202
2202
  class: "d-notification-wrapper",
2203
- style: z(I(y)),
2203
+ style: F(B(y)),
2204
2204
  "data-id": y.id,
2205
2205
  onMouseenter: R,
2206
2206
  onMouseleave: $
2207
2207
  }, [
2208
- L(f.$slots, "body", {
2208
+ I(m.$slots, "body", {
2209
2209
  class: C([t.classes, y.type]),
2210
2210
  item: y,
2211
- close: () => F(y)
2211
+ close: () => z(y)
2212
2212
  }, () => [
2213
- b("div", {
2213
+ _("div", {
2214
2214
  class: C(M(y)),
2215
- onClick: (A) => D(y)
2215
+ onClick: (V) => D(y)
2216
2216
  }, [
2217
- t.dangerouslySetInnerHtml ? (d(), m(ne, { key: 0 }, [
2218
- y.title ? (d(), m("div", {
2217
+ t.dangerouslySetInnerHtml ? (d(), f(ne, { key: 0 }, [
2218
+ y.title ? (d(), f("div", {
2219
2219
  key: 0,
2220
2220
  class: "d-notification-title",
2221
2221
  innerHTML: y.timer
2222
2222
  }, null, 8, $n)) : k("", !0),
2223
- b("div", {
2223
+ _("div", {
2224
2224
  class: "notification-content",
2225
2225
  innerHTML: y.text
2226
2226
  }, null, 8, wn)
2227
- ], 64)) : (d(), m(ne, { key: 1 }, [
2228
- y.title ? (d(), m("div", Sn, O(y.title), 1)) : k("", !0),
2229
- b("div", Dn, O(y.text), 1)
2227
+ ], 64)) : (d(), f(ne, { key: 1 }, [
2228
+ y.title ? (d(), f("div", Sn, O(y.title), 1)) : k("", !0),
2229
+ _("div", Dn, O(y.text), 1)
2230
2230
  ], 64))
2231
2231
  ], 10, kn)
2232
2232
  ])
@@ -2236,7 +2236,7 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
2236
2236
  }, 40, ["name"]))
2237
2237
  ], 4));
2238
2238
  }
2239
- }, Tn = { class: "d-info-progress-icon-container" }, Cn = { class: "d-info-progress-icon" }, Ln = { class: "d-info-progress-data-container" }, In = ["innerHTML"], Fs = {
2239
+ }, Tn = { class: "d-info-progress-icon-container" }, Cn = { class: "d-info-progress-icon" }, Ln = { class: "d-info-progress-data-container" }, In = ["innerHTML"], js = {
2240
2240
  __name: "DInfoProgress",
2241
2241
  props: {
2242
2242
  style: [String, Object],
@@ -2248,15 +2248,15 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
2248
2248
  emits: ["click"],
2249
2249
  setup(t, { emit: e }) {
2250
2250
  const o = t, n = h(() => o.icon ? oe.getters.getIcon(o.icon) : null);
2251
- return (s, a) => (d(), m("div", {
2251
+ return (s, a) => (d(), f("div", {
2252
2252
  class: C(["d-info-progress", o.type ? `d-info-progress-${o.type}` : null]),
2253
- style: z(o.style),
2253
+ style: F(o.style),
2254
2254
  onClick: a[0] || (a[0] = (l) => {
2255
2255
  e("click", l);
2256
2256
  })
2257
2257
  }, [
2258
- b("div", Tn, [
2259
- b("div", Cn, [
2258
+ _("div", Tn, [
2259
+ _("div", Cn, [
2260
2260
  o.icon ? (d(), x(U(re), {
2261
2261
  key: 0,
2262
2262
  component: n.value,
@@ -2265,19 +2265,19 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
2265
2265
  }, null, 8, ["component"])) : k("", !0)
2266
2266
  ])
2267
2267
  ]),
2268
- b("div", Ln, [
2269
- b("div", {
2268
+ _("div", Ln, [
2269
+ _("div", {
2270
2270
  class: "d-info-progress-line",
2271
- style: z("width: " + o.progress + "%;")
2271
+ style: F("width: " + o.progress + "%;")
2272
2272
  }, null, 4),
2273
- b("div", {
2273
+ _("div", {
2274
2274
  class: "d-info-progress-label",
2275
2275
  innerHTML: t.label
2276
2276
  }, null, 8, In)
2277
2277
  ])
2278
2278
  ], 6));
2279
2279
  }
2280
- }, En = { class: "d-checkbox" }, Bn = ["id", "checked", "disabled"], Mn = ["for"], Ws = {
2280
+ }, Bn = { class: "d-checkbox" }, En = ["id", "checked", "disabled"], Mn = ["for"], Xs = {
2281
2281
  __name: "DCheckbox",
2282
2282
  props: {
2283
2283
  label: String,
@@ -2291,44 +2291,44 @@ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
2291
2291
  },
2292
2292
  emits: ["update:modelValue"],
2293
2293
  setup(t, { emit: e }) {
2294
- const o = t, s = gt().uid, a = h({
2294
+ const o = t, s = Ve().uid, a = h({
2295
2295
  get: () => o.modelValue,
2296
2296
  set: (l) => {
2297
2297
  e("update:modelValue", l);
2298
2298
  }
2299
2299
  });
2300
- return (l, r) => (d(), m("div", En, [
2301
- J(b("input", {
2300
+ return (l, r) => (d(), f("div", Bn, [
2301
+ Z(_("input", {
2302
2302
  "onUpdate:modelValue": r[0] || (r[0] = (i) => a.value = i),
2303
- id: `i-${E(s)}`,
2303
+ id: `i-${L(s)}`,
2304
2304
  type: "checkbox",
2305
2305
  checked: o.checked,
2306
2306
  disabled: o.disabled,
2307
2307
  onChange: r[1] || (r[1] = (...i) => o.change && o.change(...i))
2308
- }, null, 40, Bn), [
2309
- [Nt, a.value]
2308
+ }, null, 40, En), [
2309
+ [_t, a.value]
2310
2310
  ]),
2311
- b("label", {
2312
- for: `i-${E(s)}`
2311
+ _("label", {
2312
+ for: `i-${L(s)}`
2313
2313
  }, O(o.label), 9, Mn)
2314
2314
  ]));
2315
2315
  }
2316
2316
  };
2317
2317
  async function Nn(t, e) {
2318
- return await $t(tn, { title: t, message: e });
2318
+ return await wt(tn, { title: t, message: e });
2319
2319
  }
2320
2320
  async function Rn(t, e) {
2321
- return await $t(Qo, { title: t, message: e });
2321
+ return await wt(Qo, { title: t, message: e });
2322
2322
  }
2323
- const Ps = {
2323
+ const Ys = {
2324
2324
  __name: "DDialogProvider",
2325
2325
  setup(t) {
2326
- return window.alert = Rn, window.confirm = Nn, (e, o) => (d(), x(E(Ko)));
2326
+ return window.alert = Rn, window.confirm = Nn, (e, o) => (d(), x(L(Ko)));
2327
2327
  }
2328
- }, On = { class: "d-select" }, An = {
2328
+ }, On = { class: "d-select" }, Vn = {
2329
2329
  key: 0,
2330
2330
  class: "label"
2331
- }, Hn = ["disabled"], Vn = ["value", "selected", "disabled"], js = {
2331
+ }, An = ["disabled"], Hn = ["value", "selected", "disabled"], Us = {
2332
2332
  __name: "DSelect",
2333
2333
  props: {
2334
2334
  label: String,
@@ -2355,52 +2355,52 @@ const Ps = {
2355
2355
  s.value = o.options[a].value;
2356
2356
  break;
2357
2357
  }
2358
- return (a, l) => (d(), m("div", On, [
2359
- o.label ? (d(), m("div", An, O(o.label), 1)) : k("", !0),
2360
- J(b("select", {
2358
+ return (a, l) => (d(), f("div", On, [
2359
+ o.label ? (d(), f("div", Vn, O(o.label), 1)) : k("", !0),
2360
+ Z(_("select", {
2361
2361
  "onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
2362
2362
  class: C(n.value),
2363
- style: z(o.size === "wide" ? "width:100%" : ""),
2363
+ style: F(o.size === "wide" ? "width:100%" : ""),
2364
2364
  disabled: o.disabled
2365
2365
  }, [
2366
- (d(!0), m(ne, null, me(o.options, (r, i) => (d(), m("option", {
2366
+ (d(!0), f(ne, null, me(o.options, (r, i) => (d(), f("option", {
2367
2367
  key: i,
2368
2368
  value: r.value,
2369
2369
  selected: r.selected,
2370
2370
  disabled: r.disabled
2371
- }, O(r.label), 9, Vn))), 128))
2372
- ], 14, Hn), [
2371
+ }, O(r.label), 9, Hn))), 128))
2372
+ ], 14, An), [
2373
2373
  [Rt, s.value]
2374
2374
  ])
2375
2375
  ]));
2376
2376
  }
2377
2377
  };
2378
- const zn = ["title"], Fn = { class: "tab-icon" }, Wn = { class: "tab-label" }, Pn = ["title"], jn = ["title"], Xn = {
2378
+ const Fn = ["title"], zn = { class: "tab-icon" }, Wn = { class: "tab-label" }, Pn = ["title"], jn = ["title"], Xn = {
2379
2379
  __name: "DTabLabel",
2380
2380
  props: {
2381
2381
  tab: Object
2382
2382
  },
2383
2383
  setup(t) {
2384
2384
  const e = t;
2385
- return (o, n) => e.tab.label && e.tab.icon ? (d(), m("span", {
2385
+ return (o, n) => e.tab.label && e.tab.icon ? (d(), f("span", {
2386
2386
  key: 0,
2387
2387
  title: e.tab.title ? e.tab.title : "",
2388
2388
  style: { display: "flex", "flex-direction": "column" }
2389
2389
  }, [
2390
- b("div", Fn, [
2391
- Q(E(re), {
2390
+ _("div", zn, [
2391
+ Q(L(re), {
2392
2392
  component: e.tab.icon
2393
2393
  }, null, 8, ["component"])
2394
2394
  ]),
2395
- b("div", Wn, O(e.tab.label), 1)
2396
- ], 8, zn)) : e.tab.label ? (d(), m("span", {
2395
+ _("div", Wn, O(e.tab.label), 1)
2396
+ ], 8, Fn)) : e.tab.label ? (d(), f("span", {
2397
2397
  key: 1,
2398
2398
  title: e.tab.title ? e.tab.title : ""
2399
- }, O(e.tab.label), 9, Pn)) : e.tab.icon ? (d(), m("span", {
2399
+ }, O(e.tab.label), 9, Pn)) : e.tab.icon ? (d(), f("span", {
2400
2400
  key: 2,
2401
2401
  title: e.tab.title ? e.tab.title : ""
2402
2402
  }, [
2403
- Q(E(re), {
2403
+ Q(L(re), {
2404
2404
  component: e.tab.icon
2405
2405
  }, null, 8, ["component"])
2406
2406
  ], 8, jn)) : k("", !0);
@@ -2419,28 +2419,28 @@ const Un = { class: "d-tabs" }, qn = {
2419
2419
  };
2420
2420
  return e({
2421
2421
  refs: () => s.value
2422
- }), (c, u) => (d(), m(ne, null, [
2423
- b("div", Un, [
2424
- (d(!0), m(ne, null, me(n.value, (g, _) => (d(), x(Yn, {
2425
- index: _,
2422
+ }), (c, u) => (d(), f(ne, null, [
2423
+ _("div", Un, [
2424
+ (d(!0), f(ne, null, me(n.value, (g, b) => (d(), x(Yn, {
2425
+ index: b,
2426
2426
  tab: g,
2427
- class: C(["d-tab-title", _ === a.value ? "active" : ""]),
2428
- onClick: (D) => l(_)
2427
+ class: C(["d-tab-title", b === a.value ? "active" : ""]),
2428
+ onClick: (D) => l(b)
2429
2429
  }, null, 8, ["index", "tab", "class", "onClick"]))), 256))
2430
2430
  ]),
2431
- (d(), x(At, null, [
2432
- (d(!0), m(ne, null, me(n.value, (g, _) => (d(), m("div", null, [
2433
- J((d(), x(U(g.component), {
2431
+ (d(), x(Vt, null, [
2432
+ (d(!0), f(ne, null, me(n.value, (g, b) => (d(), f("div", null, [
2433
+ Z((d(), x(U(g.component), {
2434
2434
  ref_for: !0,
2435
2435
  ref: r
2436
2436
  }, null, 512)), [
2437
- [Ht, _ === a.value]
2437
+ [At, b === a.value]
2438
2438
  ])
2439
2439
  ]))), 256))
2440
2440
  ], 1024))
2441
2441
  ], 64));
2442
2442
  }
2443
- }, Xs = /* @__PURE__ */ se(qn, [["__scopeId", "data-v-4b44471a"]]);
2443
+ }, qs = /* @__PURE__ */ se(qn, [["__scopeId", "data-v-4b44471a"]]);
2444
2444
  const Gn = { class: "d-grid" }, Zn = {
2445
2445
  __name: "DGrid",
2446
2446
  props: {
@@ -2469,15 +2469,15 @@ const Gn = { class: "d-grid" }, Zn = {
2469
2469
  "09eba33c": i[5],
2470
2470
  "898eb2ac": e.gap
2471
2471
  }));
2472
- const { colXs: o, colSm: n, colMd: s, colLg: a, colXl: l, colXxl: r } = Vt(e), i = [o.value, n.value, s.value, a.value, l.value, r.value];
2472
+ const { colXs: o, colSm: n, colMd: s, colLg: a, colXl: l, colXxl: r } = Ht(e), i = [o.value, n.value, s.value, a.value, l.value, r.value];
2473
2473
  let c = null;
2474
2474
  for (let u = 0; u < i.length; u++)
2475
2475
  c || (c = i[0]), u > 0 && (i[u] ? c = i[u] : i[u] = c);
2476
- return (u, g) => (d(), m("div", Gn, [
2477
- L(u.$slots, "default", {}, void 0, !0)
2476
+ return (u, g) => (d(), f("div", Gn, [
2477
+ I(u.$slots, "default", {}, void 0, !0)
2478
2478
  ]));
2479
2479
  }
2480
- }, Ys = /* @__PURE__ */ se(Zn, [["__scopeId", "data-v-b45e8130"]]), Kn = ["src", "alt", "title"], Us = {
2480
+ }, Gs = /* @__PURE__ */ se(Zn, [["__scopeId", "data-v-b45e8130"]]), Kn = ["src", "alt", "title"], Zs = {
2481
2481
  __name: "DImage",
2482
2482
  props: {
2483
2483
  src: String,
@@ -2496,12 +2496,12 @@ const Gn = { class: "d-grid" }, Zn = {
2496
2496
  o.value = e.srcFail;
2497
2497
  }, he(() => {
2498
2498
  n.src = e.src;
2499
- }), (s, a) => o.value ? (d(), m("img", {
2499
+ }), (s, a) => o.value ? (d(), f("img", {
2500
2500
  key: 0,
2501
2501
  src: o.value,
2502
2502
  alt: e.alt,
2503
2503
  title: e.title,
2504
- style: z({ width: e.width, height: e.height, borderRadius: e.radius })
2504
+ style: F({ width: e.width, height: e.height, borderRadius: e.radius })
2505
2505
  }, null, 12, Kn)) : k("", !0);
2506
2506
  }
2507
2507
  };
@@ -2542,9 +2542,9 @@ const Jn = { class: "d-textarea" }, Qn = {
2542
2542
  };
2543
2543
  return e({
2544
2544
  focus: r
2545
- }), (i, c) => (d(), m("div", Jn, [
2546
- n.label ? (d(), m("div", Qn, O(n.label), 1)) : k("", !0),
2547
- J(b("textarea", {
2545
+ }), (i, c) => (d(), f("div", Jn, [
2546
+ n.label ? (d(), f("div", Qn, O(n.label), 1)) : k("", !0),
2547
+ Z(_("textarea", {
2548
2548
  ref_key: "inputRef",
2549
2549
  ref: s,
2550
2550
  "onUpdate:modelValue": c[0] || (c[0] = (u) => l.value = u),
@@ -2554,12 +2554,47 @@ const Jn = { class: "d-textarea" }, Qn = {
2554
2554
  class: C(a.value),
2555
2555
  style: { width: "100%" }
2556
2556
  }, null, 10, es), [
2557
- [zt, l.value]
2557
+ [Ft, l.value]
2558
2558
  ])
2559
2559
  ]));
2560
2560
  }
2561
- }, qs = /* @__PURE__ */ se(ts, [["__scopeId", "data-v-0e805d5d"]]);
2562
- class Gs {
2561
+ }, Ks = /* @__PURE__ */ se(ts, [["__scopeId", "data-v-0e805d5d"]]), os = { class: "d-switcher" }, ns = ["id", "checked", "disabled"], ss = ["for"], Js = {
2562
+ __name: "DSwitcher",
2563
+ props: {
2564
+ modelValue: Boolean,
2565
+ disabled: {
2566
+ type: Boolean,
2567
+ default: !1
2568
+ },
2569
+ change: Function,
2570
+ checked: Boolean
2571
+ },
2572
+ emits: ["update:modelValue"],
2573
+ setup(t, { emit: e }) {
2574
+ const o = t, s = Ve().uid, a = h({
2575
+ get: () => o.modelValue,
2576
+ set: (l) => {
2577
+ e("update:modelValue", l);
2578
+ }
2579
+ });
2580
+ return (l, r) => (d(), f("div", os, [
2581
+ Z(_("input", {
2582
+ "onUpdate:modelValue": r[0] || (r[0] = (i) => a.value = i),
2583
+ id: `i-${L(s)}`,
2584
+ type: "checkbox",
2585
+ checked: o.checked,
2586
+ disabled: o.disabled,
2587
+ onChange: r[1] || (r[1] = (...i) => o.change && o.change(...i))
2588
+ }, null, 40, ns), [
2589
+ [_t, a.value]
2590
+ ]),
2591
+ _("label", {
2592
+ for: `i-${L(s)}`
2593
+ }, "Toggle", 8, ss)
2594
+ ]));
2595
+ }
2596
+ };
2597
+ class Qs {
2563
2598
  constructor(e) {
2564
2599
  this.fields = e;
2565
2600
  }
@@ -2570,7 +2605,7 @@ class Gs {
2570
2605
  return !e;
2571
2606
  }
2572
2607
  }
2573
- class os {
2608
+ class as {
2574
2609
  validate(e, o = "https") {
2575
2610
  return this._isValidURL(e) || (e = o + "://" + e), this._isValidURL(e);
2576
2611
  }
@@ -2591,8 +2626,8 @@ class os {
2591
2626
  }
2592
2627
  }
2593
2628
  }
2594
- const ns = new os();
2595
- class ss {
2629
+ const is = new as();
2630
+ class ls {
2596
2631
  validate(e = "") {
2597
2632
  return e !== "";
2598
2633
  }
@@ -2600,8 +2635,8 @@ class ss {
2600
2635
  return e;
2601
2636
  }
2602
2637
  }
2603
- const as = new ss();
2604
- class is {
2638
+ const rs = new ls();
2639
+ class ds {
2605
2640
  validate(e = "", o = 0) {
2606
2641
  return e.length >= o;
2607
2642
  }
@@ -2609,8 +2644,8 @@ class is {
2609
2644
  return e;
2610
2645
  }
2611
2646
  }
2612
- const ls = new is();
2613
- class rs {
2647
+ const cs = new ds();
2648
+ class us {
2614
2649
  validate(e = "", o = 0) {
2615
2650
  return e.length <= o;
2616
2651
  }
@@ -2618,8 +2653,8 @@ class rs {
2618
2653
  return e;
2619
2654
  }
2620
2655
  }
2621
- const ds = new rs();
2622
- class cs {
2656
+ const ps = new us();
2657
+ class fs {
2623
2658
  validate(e) {
2624
2659
  return /^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(e);
2625
2660
  }
@@ -2627,8 +2662,8 @@ class cs {
2627
2662
  return e;
2628
2663
  }
2629
2664
  }
2630
- const us = new cs();
2631
- class ps {
2665
+ const ms = new fs();
2666
+ class hs {
2632
2667
  validate(e) {
2633
2668
  return !isNaN(parseFloat(e)) && !isNaN(e - 0);
2634
2669
  }
@@ -2636,41 +2671,41 @@ class ps {
2636
2671
  return e;
2637
2672
  }
2638
2673
  }
2639
- const fs = new ps(), G = {
2640
- RulesUrl: ns,
2641
- RulesRequired: as,
2642
- RulesMin: ls,
2643
- RulesMax: ds,
2644
- RulesEmail: us,
2645
- RulesNumber: fs
2674
+ const gs = new hs(), G = {
2675
+ RulesUrl: is,
2676
+ RulesRequired: rs,
2677
+ RulesMin: cs,
2678
+ RulesMax: ps,
2679
+ RulesEmail: ms,
2680
+ RulesNumber: gs
2646
2681
  };
2647
- class ms {
2682
+ class vs {
2648
2683
  validate(e, o) {
2649
- var s, a, l, r, i, c, u, g, _, D, R, $, H, Y;
2684
+ var s, a, l, r, i, c, u, g, b, D, R, $, A, Y;
2650
2685
  let n = "";
2651
2686
  if (o) {
2652
2687
  let M = !1;
2653
- for (let I in o)
2688
+ for (let B in o)
2654
2689
  if (!M)
2655
- switch (I) {
2690
+ switch (B) {
2656
2691
  case "url":
2657
- n = G.RulesUrl.validate(e, "https") || e.length === 0 ? "" : G.RulesUrl.message("url", (s = o[I]) != null && s.message ? (a = o[I]) == null ? void 0 : a.message : "url_incorrect"), M = n !== "";
2692
+ n = G.RulesUrl.validate(e, "https") || e.length === 0 ? "" : G.RulesUrl.message("url", (s = o[B]) != null && s.message ? (a = o[B]) == null ? void 0 : a.message : "url_incorrect"), M = n !== "";
2658
2693
  break;
2659
2694
  case "required":
2660
- n = G.RulesRequired.validate(e) ? "" : G.RulesRequired.message((l = o[I]) != null && l.message ? (r = o[I]) == null ? void 0 : r.message : "required"), M = n !== "";
2695
+ n = G.RulesRequired.validate(e) ? "" : G.RulesRequired.message((l = o[B]) != null && l.message ? (r = o[B]) == null ? void 0 : r.message : "required"), M = n !== "";
2661
2696
  break;
2662
2697
  case "min":
2663
- n = G.RulesMin.validate(e, (i = o[I]) == null ? void 0 : i.value) ? "" : G.RulesMin.message((c = o[I]) != null && c.message ? (u = o[I]) == null ? void 0 : u.message : "very_small"), M = n !== "";
2698
+ n = G.RulesMin.validate(e, (i = o[B]) == null ? void 0 : i.value) ? "" : G.RulesMin.message((c = o[B]) != null && c.message ? (u = o[B]) == null ? void 0 : u.message : "very_small"), M = n !== "";
2664
2699
  break;
2665
2700
  case "max":
2666
- n = G.RulesMax.validate(e, (g = o[I]) == null ? void 0 : g.value) ? "" : G.RulesMax.message((_ = o[I]) != null && _.message ? (D = o[I]) == null ? void 0 : D.message : "vary_large"), M = n !== "";
2701
+ n = G.RulesMax.validate(e, (g = o[B]) == null ? void 0 : g.value) ? "" : G.RulesMax.message((b = o[B]) != null && b.message ? (D = o[B]) == null ? void 0 : D.message : "vary_large"), M = n !== "";
2667
2702
  break;
2668
2703
  case "email":
2669
- n = G.RulesEmail.validate(e) ? "" : G.RulesMax.message((R = o[I]) != null && R.message ? ($ = o[I]) == null ? void 0 : $.message : "email_incorrect"), M = n !== "";
2704
+ n = G.RulesEmail.validate(e) ? "" : G.RulesMax.message((R = o[B]) != null && R.message ? ($ = o[B]) == null ? void 0 : $.message : "email_incorrect"), M = n !== "";
2670
2705
  break;
2671
2706
  case "number":
2672
2707
  n = G.RulesNumber.validate(e) ? "" : G.RulesNumber.message(
2673
- (H = o[I]) != null && H.message ? (Y = o[I]) == null ? void 0 : Y.message : "number_incorrect"
2708
+ (A = o[B]) != null && A.message ? (Y = o[B]) == null ? void 0 : Y.message : "number_incorrect"
2674
2709
  ), M = n !== "";
2675
2710
  break;
2676
2711
  }
@@ -2678,39 +2713,39 @@ class ms {
2678
2713
  return n;
2679
2714
  }
2680
2715
  }
2681
- const hs = new ms(), gs = { style: { display: "flex", "flex-direction": "column" } }, vs = {
2716
+ const ys = new vs(), _s = { style: { display: "flex", "flex-direction": "column" } }, bs = {
2682
2717
  key: 0,
2683
2718
  class: "d-label"
2684
- }, ys = {
2719
+ }, xs = {
2685
2720
  key: 0,
2686
2721
  class: "text-red"
2687
- }, _s = { style: { display: "flex", "flex-direction": "row" } }, bs = { style: { flex: "1", position: "relative" } }, xs = /* @__PURE__ */ b("svg", {
2722
+ }, ks = { style: { display: "flex", "flex-direction": "row" } }, $s = { style: { flex: "1", position: "relative" } }, ws = /* @__PURE__ */ _("svg", {
2688
2723
  xmlns: "http://www.w3.org/2000/svg",
2689
2724
  viewBox: "0 0 24 24"
2690
2725
  }, [
2691
- /* @__PURE__ */ b("path", {
2726
+ /* @__PURE__ */ _("path", {
2692
2727
  d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41z",
2693
2728
  fill: "currentColor"
2694
2729
  })
2695
- ], -1), ks = [
2696
- xs
2697
- ], $s = ["id", "type", "placeholder", "disabled"], ws = /* @__PURE__ */ b("svg", {
2730
+ ], -1), Ss = [
2731
+ ws
2732
+ ], Ds = ["id", "type", "placeholder", "disabled"], Ts = /* @__PURE__ */ _("svg", {
2698
2733
  xmlns: "http://www.w3.org/2000/svg",
2699
2734
  viewBox: "0 0 24 24"
2700
2735
  }, [
2701
- /* @__PURE__ */ b("path", {
2736
+ /* @__PURE__ */ _("path", {
2702
2737
  d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41z",
2703
2738
  fill: "currentColor"
2704
2739
  })
2705
- ], -1), Ss = [
2706
- ws
2707
- ], Ds = {
2740
+ ], -1), Cs = [
2741
+ Ts
2742
+ ], Ls = {
2708
2743
  key: 1,
2709
2744
  class: "d-help"
2710
- }, Ts = {
2745
+ }, Is = {
2711
2746
  key: 2,
2712
2747
  class: "d-error text-red"
2713
- }, Zs = {
2748
+ }, ea = {
2714
2749
  __name: "DInputString",
2715
2750
  props: {
2716
2751
  form: Object,
@@ -2734,7 +2769,7 @@ const hs = new ms(), gs = { style: { display: "flex", "flex-direction": "column"
2734
2769
  },
2735
2770
  emits: ["update:modelValue", "input", "blur"],
2736
2771
  setup(t, { expose: e, emit: o }) {
2737
- const n = t, s = S(n.error), a = Ft(), l = S(!1), r = S(null);
2772
+ const n = t, s = S(n.error), a = zt(), l = S(!1), r = S(null);
2738
2773
  //!props.form ? ref(null) : props.form.fields[props.name].ref
2739
2774
  const i = h({
2740
2775
  get: () => n.modelValue,
@@ -2743,10 +2778,10 @@ const hs = new ms(), gs = { style: { display: "flex", "flex-direction": "column"
2743
2778
  o("update:modelValue", M);
2744
2779
  }
2745
2780
  }), c = h(() => n.type === "password" ? "password" : "text"), u = h(() => n.scale), g = (M) => {
2746
- o("input", M), _();
2747
- }, _ = () => {
2781
+ o("input", M), b();
2782
+ }, b = () => {
2748
2783
  if (!(!n.form || !n.form.fields || !n.form.fields[n.name].rules))
2749
- return s.value = hs.validate(i.value, n.form.fields[n.name].rules), !!s.value;
2784
+ return s.value = ys.validate(i.value, n.form.fields[n.name].rules), !!s.value;
2750
2785
  };
2751
2786
  he(() => {
2752
2787
  D();
@@ -2758,90 +2793,90 @@ const hs = new ms(), gs = { style: { display: "flex", "flex-direction": "column"
2758
2793
  i.value = "";
2759
2794
  }, $ = (M) => {
2760
2795
  l.value = M;
2761
- }, H = (M) => {
2796
+ }, A = (M) => {
2762
2797
  s.value = M;
2763
2798
  }, Y = (M) => {
2764
2799
  o("blur", M);
2765
2800
  };
2766
2801
  return e({
2767
2802
  focus: D,
2768
- setError: H,
2769
- validate: _
2770
- }), (M, I) => {
2771
- var F, T, W, N, w, V, P, f, p, y, A, ae, ve, ye, _e, be, ee, xe, de, ke, Le, ge, Fe, We, Pe, je, Xe, Ye, Ue, qe, Ge, Ze, Ke, Je, Qe, et, tt, ot, nt;
2772
- return d(), m("div", {
2803
+ setError: A,
2804
+ validate: b
2805
+ }), (M, B) => {
2806
+ var z, T, W, N, w, H, P, m, p, y, V, ae, ve, ye, _e, be, ee, xe, de, ke, Le, ge, We, Pe, je, Xe, Ye, Ue, qe, Ge, Ze, Ke, Je, Qe, et, tt, ot, nt, st;
2807
+ return d(), f("div", {
2773
2808
  class: C(["d-input-string", u.value])
2774
2809
  }, [
2775
- b("div", gs, [
2776
- n.label ? (d(), m("div", vs, [
2777
- K(O(n.label), 1),
2778
- (F = n.form) != null && F.fields[n.name].rules && n.form.fields[n.name].rules.hasOwnProperty("required") ? (d(), m("span", ys, "*")) : k("", !0)
2810
+ _("div", _s, [
2811
+ n.label ? (d(), f("div", bs, [
2812
+ J(O(n.label), 1),
2813
+ (z = n.form) != null && z.fields[n.name].rules && n.form.fields[n.name].rules.hasOwnProperty("required") ? (d(), f("span", xs, "*")) : k("", !0)
2779
2814
  ])) : k("", !0),
2780
- b("div", _s, [
2781
- (W = (T = n.pre) == null ? void 0 : T.outside) != null && W.component ? (d(), m("div", {
2815
+ _("div", ks, [
2816
+ (W = (T = n.pre) == null ? void 0 : T.outside) != null && W.component ? (d(), f("div", {
2782
2817
  key: 0,
2783
2818
  class: C(["d-pre", n.disabled ? "disabled" : ""])
2784
2819
  }, [
2785
2820
  (d(), x(U((w = (N = n.pre) == null ? void 0 : N.outside) == null ? void 0 : w.component)))
2786
- ], 2)) : (P = (V = n.pre) == null ? void 0 : V.outside) != null && P.text ? (d(), m("div", {
2821
+ ], 2)) : (P = (H = n.pre) == null ? void 0 : H.outside) != null && P.text ? (d(), f("div", {
2787
2822
  key: 1,
2788
2823
  class: C(["d-pre", n.disabled ? "disabled" : ""])
2789
2824
  }, [
2790
- b("div", {
2825
+ _("div", {
2791
2826
  class: C(["d-text", l.value ? "focused" : ""])
2792
- }, O((p = (f = n.pre) == null ? void 0 : f.outside) == null ? void 0 : p.text), 3)
2827
+ }, O((p = (m = n.pre) == null ? void 0 : m.outside) == null ? void 0 : p.text), 3)
2793
2828
  ], 2)) : k("", !0),
2794
- b("div", bs, [
2795
- (A = (y = n.pre) == null ? void 0 : y.inside) != null && A.action && ((ve = (ae = n.pre) == null ? void 0 : ae.inside) == null ? void 0 : ve.action) === "clear" && ((ye = i.value) == null ? void 0 : ye.length) > 0 ? (d(), m("div", {
2829
+ _("div", $s, [
2830
+ (V = (y = n.pre) == null ? void 0 : y.inside) != null && V.action && ((ve = (ae = n.pre) == null ? void 0 : ae.inside) == null ? void 0 : ve.action) === "clear" && ((ye = i.value) == null ? void 0 : ye.length) > 0 ? (d(), f("div", {
2796
2831
  key: 0,
2797
2832
  class: "d-pre-inside-button",
2798
2833
  onClick: R
2799
- }, ks)) : k("", !0),
2800
- J(b("input", {
2801
- id: E(a),
2834
+ }, Ss)) : k("", !0),
2835
+ Z(_("input", {
2836
+ id: L(a),
2802
2837
  ref_key: "inputRef",
2803
2838
  ref: r,
2804
- "onUpdate:modelValue": I[0] || (I[0] = (Ie) => i.value = Ie),
2839
+ "onUpdate:modelValue": B[0] || (B[0] = (Ie) => i.value = Ie),
2805
2840
  style: { width: "100%" },
2806
2841
  type: c.value,
2807
2842
  placeholder: n.placeholder,
2808
2843
  onInput: g,
2809
- onFocus: I[1] || (I[1] = (Ie) => $(!0)),
2844
+ onFocus: B[1] || (B[1] = (Ie) => $(!0)),
2810
2845
  onBlur: Y,
2811
- onFocusout: I[2] || (I[2] = (Ie) => $(!1)),
2846
+ onFocusout: B[2] || (B[2] = (Ie) => $(!1)),
2812
2847
  class: C([
2813
2848
  (be = (_e = n.pre) == null ? void 0 : _e.outside) != null && be.component || (xe = (ee = n.pre) == null ? void 0 : ee.outside) != null && xe.text ? "has-pre" : "",
2814
2849
  (ke = (de = n.post) == null ? void 0 : de.outside) != null && ke.component || (ge = (Le = n.post) == null ? void 0 : Le.outside) != null && ge.text ? "has-post" : "",
2815
- (We = (Fe = n.pre) == null ? void 0 : Fe.inside) != null && We.action ? "has-pre-inside-button" : "",
2816
- (je = (Pe = n.post) == null ? void 0 : Pe.inside) != null && je.action ? "has-post-inside-button" : "",
2850
+ (Pe = (We = n.pre) == null ? void 0 : We.inside) != null && Pe.action ? "has-pre-inside-button" : "",
2851
+ (Xe = (je = n.post) == null ? void 0 : je.inside) != null && Xe.action ? "has-post-inside-button" : "",
2817
2852
  l.value ? "focused" : ""
2818
2853
  ]),
2819
2854
  disabled: n.disabled
2820
- }, null, 42, $s), [
2855
+ }, null, 42, Ds), [
2821
2856
  [De, i.value]
2822
2857
  ]),
2823
- (Ye = (Xe = n.post) == null ? void 0 : Xe.inside) != null && Ye.action && ((qe = (Ue = n.post) == null ? void 0 : Ue.inside) == null ? void 0 : qe.action) === "clear" && ((Ge = i.value) == null ? void 0 : Ge.length) > 0 ? (d(), m("div", {
2858
+ (Ue = (Ye = n.post) == null ? void 0 : Ye.inside) != null && Ue.action && ((Ge = (qe = n.post) == null ? void 0 : qe.inside) == null ? void 0 : Ge.action) === "clear" && ((Ze = i.value) == null ? void 0 : Ze.length) > 0 ? (d(), f("div", {
2824
2859
  key: 1,
2825
2860
  class: "d-post-inside-button",
2826
2861
  onClick: R
2827
- }, Ss)) : k("", !0)
2862
+ }, Cs)) : k("", !0)
2828
2863
  ]),
2829
- (Ke = (Ze = n.post) == null ? void 0 : Ze.outside) != null && Ke.component ? (d(), m("div", {
2864
+ (Je = (Ke = n.post) == null ? void 0 : Ke.outside) != null && Je.component ? (d(), f("div", {
2830
2865
  key: 2,
2831
2866
  class: C(["d-post", n.disabled ? "disabled" : ""])
2832
2867
  }, [
2833
- (d(), x(U((Qe = (Je = n.post) == null ? void 0 : Je.outside) == null ? void 0 : Qe.component)))
2834
- ], 2)) : (tt = (et = n.post) == null ? void 0 : et.outside) != null && tt.text ? (d(), m("div", {
2868
+ (d(), x(U((et = (Qe = n.post) == null ? void 0 : Qe.outside) == null ? void 0 : et.component)))
2869
+ ], 2)) : (ot = (tt = n.post) == null ? void 0 : tt.outside) != null && ot.text ? (d(), f("div", {
2835
2870
  key: 3,
2836
2871
  class: C(["d-post", n.disabled ? "disabled" : ""])
2837
2872
  }, [
2838
- b("div", {
2873
+ _("div", {
2839
2874
  class: C(["d-text", l.value ? "focused" : ""])
2840
- }, O((nt = (ot = n.post) == null ? void 0 : ot.outside) == null ? void 0 : nt.text), 3)
2875
+ }, O((st = (nt = n.post) == null ? void 0 : nt.outside) == null ? void 0 : st.text), 3)
2841
2876
  ], 2)) : k("", !0)
2842
2877
  ]),
2843
- n.help ? (d(), m("div", Ds, O(n.help), 1)) : k("", !0),
2844
- s.value ? (d(), m("div", Ts, O(s.value), 1)) : k("", !0)
2878
+ n.help ? (d(), f("div", Ls, O(n.help), 1)) : k("", !0),
2879
+ s.value ? (d(), f("div", Is, O(s.value), 1)) : k("", !0)
2845
2880
  ])
2846
2881
  ], 2);
2847
2882
  };
@@ -2865,13 +2900,13 @@ const hs = new ms(), gs = { style: { display: "flex", "flex-direction": "column"
2865
2900
  t.hasOwnProperty(e) && (fe.state[e] = t[e]);
2866
2901
  }
2867
2902
  }
2868
- }, wt = (t) => {
2903
+ }, St = (t) => {
2869
2904
  typeof t == "string" && (t = { title: "", text: t }), typeof t == "object" && q.emit("notification-add", t);
2870
2905
  };
2871
- wt.close = (t) => {
2906
+ St.close = (t) => {
2872
2907
  q.emit("notification-close", t);
2873
2908
  };
2874
- const Ks = () => ({ notify: wt }), Js = {
2909
+ const ta = () => ({ notify: St }), oa = {
2875
2910
  mounted: function(t, e) {
2876
2911
  t.clickOutsideEvent = function(o) {
2877
2912
  t === o.target || t.contains(o.target) || e.value(o, t);
@@ -2880,7 +2915,7 @@ const Ks = () => ({ notify: wt }), Js = {
2880
2915
  unmounted: function(t) {
2881
2916
  document.removeEventListener("click", t.clickOutsideEvent);
2882
2917
  }
2883
- }, Qs = {
2918
+ }, na = {
2884
2919
  beforeMount(t, e) {
2885
2920
  t._keydownCallback = (o) => {
2886
2921
  o.key === e.arg && e.value();
@@ -2889,18 +2924,18 @@ const Ks = () => ({ notify: wt }), Js = {
2889
2924
  unmounted(t, e) {
2890
2925
  document.removeEventListener("keydown", t._keydownCallback), delete t._keydownCallback;
2891
2926
  }
2892
- }, ea = {
2927
+ }, sa = {
2893
2928
  beforeMount(t) {
2894
2929
  t.focus();
2895
2930
  }
2896
2931
  };
2897
- function St(t) {
2932
+ function Dt(t) {
2898
2933
  return t.type.indexOf("mouse") !== -1 ? t.clientX : t.touches[0].clientX;
2899
2934
  }
2900
- function Dt(t) {
2935
+ function Tt(t) {
2901
2936
  return t.type.indexOf("mouse") !== -1 ? t.clientY : t.touches[0].clientY;
2902
2937
  }
2903
- var Cs = function() {
2938
+ var Bs = function() {
2904
2939
  var t = !1;
2905
2940
  try {
2906
2941
  var e = Object.defineProperty({}, "passive", {
@@ -2912,7 +2947,7 @@ var Cs = function() {
2912
2947
  } catch {
2913
2948
  }
2914
2949
  return t;
2915
- }(), Ls = {
2950
+ }(), Es = {
2916
2951
  disableClick: !1,
2917
2952
  tapTolerance: 10,
2918
2953
  // px
@@ -2930,12 +2965,12 @@ var Cs = function() {
2930
2965
  };
2931
2966
  function $e(t) {
2932
2967
  var e = this.$$touchObj, o = t.type.indexOf("touch") >= 0, n = t.type.indexOf("mouse") >= 0, s = this;
2933
- o && (e.lastTouchStartTime = t.timeStamp), !(n && e.lastTouchStartTime && t.timeStamp - e.lastTouchStartTime < 350) && (e.touchStarted || (Tt(this), e.touchStarted = !0, e.touchMoved = !1, e.swipeOutBounded = !1, e.startX = St(t), e.startY = Dt(t), e.currentX = 0, e.currentY = 0, e.touchStartTime = t.timeStamp, e.hasSwipe = Z(this, "swipe") || Z(this, "swipe.left") || Z(this, "swipe.right") || Z(this, "swipe.top") || Z(this, "swipe.bottom"), Z(this, "hold") && (e.touchHoldTimer = setTimeout(function() {
2968
+ o && (e.lastTouchStartTime = t.timeStamp), !(n && e.lastTouchStartTime && t.timeStamp - e.lastTouchStartTime < 350) && (e.touchStarted || (Ct(this), e.touchStarted = !0, e.touchMoved = !1, e.swipeOutBounded = !1, e.startX = Dt(t), e.startY = Tt(t), e.currentX = 0, e.currentY = 0, e.touchStartTime = t.timeStamp, e.hasSwipe = K(this, "swipe") || K(this, "swipe.left") || K(this, "swipe.right") || K(this, "swipe.top") || K(this, "swipe.bottom"), K(this, "hold") && (e.touchHoldTimer = setTimeout(function() {
2934
2969
  e.touchHoldTimer = null, te(t, s, "hold");
2935
2970
  }, e.options.touchHoldTolerance)), te(t, this, "press")));
2936
2971
  }
2937
2972
  function we(t) {
2938
- var e = this.$$touchObj, o = St(t), n = Dt(t), s = e.currentX !== o || e.currentY !== n;
2973
+ var e = this.$$touchObj, o = Dt(t), n = Tt(t), s = e.currentX !== o || e.currentY !== n;
2939
2974
  if (e.currentX = o, e.currentY = n, e.touchMoved) {
2940
2975
  if (e.hasSwipe && !e.swipeOutBounded) {
2941
2976
  var l = e.options.swipeTolerance;
@@ -2945,44 +2980,44 @@ function we(t) {
2945
2980
  var a = e.options.tapTolerance;
2946
2981
  e.touchMoved = Math.abs(e.startX - e.currentX) > a || Math.abs(e.startY - e.currentY) > a, e.touchMoved && (ze(e), te(t, this, "drag.once"));
2947
2982
  }
2948
- if (Z(this, "rollover") && s) {
2983
+ if (K(this, "rollover") && s) {
2949
2984
  var r = t.timeStamp, i = e.options.rollOverFrequency;
2950
2985
  (e.touchRollTime == null || r > e.touchRollTime + i) && (e.touchRollTime = r, te(t, this, "rollover"));
2951
2986
  }
2952
- if (Z(this, "drag") && e.touchStarted && e.touchMoved && s) {
2987
+ if (K(this, "drag") && e.touchStarted && e.touchMoved && s) {
2953
2988
  var r = t.timeStamp, i = e.options.dragFrequency;
2954
2989
  (e.touchDragTime == null || r > e.touchDragTime + i) && (e.touchDragTime = r, te(t, this, "drag"));
2955
2990
  }
2956
2991
  }
2957
- function rt() {
2992
+ function dt() {
2958
2993
  var t = this.$$touchObj;
2959
- ze(t), Ve(this), t.touchStarted = t.touchMoved = !1, t.startX = t.startY = 0;
2994
+ ze(t), Fe(this), t.touchStarted = t.touchMoved = !1, t.startX = t.startY = 0;
2960
2995
  }
2961
2996
  function Se(t) {
2962
2997
  var e = this.$$touchObj, o = t.type.indexOf("touch") >= 0, n = t.type.indexOf("mouse") >= 0;
2963
2998
  o && (e.lastTouchEndTime = t.timeStamp);
2964
2999
  var s = o && !e.touchHoldTimer;
2965
- if (ze(e), e.touchStarted = !1, Ve(this), !(n && e.lastTouchEndTime && t.timeStamp - e.lastTouchEndTime < 350))
3000
+ if (ze(e), e.touchStarted = !1, Fe(this), !(n && e.lastTouchEndTime && t.timeStamp - e.lastTouchEndTime < 350))
2966
3001
  if (te(t, this, "release"), e.touchMoved) {
2967
3002
  if (e.hasSwipe && !e.swipeOutBounded) {
2968
3003
  var a = e.options.swipeTolerance, l, r = Math.abs(e.startY - e.currentY), i = Math.abs(e.startX - e.currentX);
2969
- (r > a || i > a) && (r > a ? l = e.startY > e.currentY ? "top" : "bottom" : l = e.startX > e.currentX ? "left" : "right", Z(this, "swipe." + l) ? te(t, this, "swipe." + l, l) : te(t, this, "swipe", l));
3004
+ (r > a || i > a) && (r > a ? l = e.startY > e.currentY ? "top" : "bottom" : l = e.startX > e.currentX ? "left" : "right", K(this, "swipe." + l) ? te(t, this, "swipe." + l, l) : te(t, this, "swipe", l));
2970
3005
  }
2971
- } else if (Z(this, "longtap") && t.timeStamp - e.touchStartTime > e.options.longTapTimeInterval)
3006
+ } else if (K(this, "longtap") && t.timeStamp - e.touchStartTime > e.options.longTapTimeInterval)
2972
3007
  t.cancelable && t.preventDefault(), te(t, this, "longtap");
2973
- else if (Z(this, "hold") && s) {
3008
+ else if (K(this, "hold") && s) {
2974
3009
  t.cancelable && t.preventDefault();
2975
3010
  return;
2976
3011
  } else
2977
3012
  te(t, this, "tap");
2978
3013
  }
2979
- function dt() {
2980
- Tt(this);
2981
- }
2982
3014
  function ct() {
2983
- Ve(this);
3015
+ Ct(this);
2984
3016
  }
2985
- function Z(t, e) {
3017
+ function ut() {
3018
+ Fe(this);
3019
+ }
3020
+ function K(t, e) {
2986
3021
  var o = t.$$touchObj.callbacks[e];
2987
3022
  return o != null && o.length > 0;
2988
3023
  }
@@ -2995,18 +3030,18 @@ function te(t, e, o, n) {
2995
3030
  r.modifiers.stop && t.stopPropagation(), r.modifiers.prevent && t.preventDefault(), !(r.modifiers.self && t.target !== t.currentTarget) && typeof r.value == "function" && (n ? r.value(n, t) : r.value(t));
2996
3031
  }
2997
3032
  }
2998
- function Tt(t) {
3033
+ function Ct(t) {
2999
3034
  var e = t.$$touchObj.options.touchClass;
3000
3035
  e && t.classList.add(e);
3001
3036
  }
3002
- function Ve(t) {
3037
+ function Fe(t) {
3003
3038
  var e = t.$$touchObj.options.touchClass;
3004
3039
  e && t.classList.remove(e);
3005
3040
  }
3006
3041
  function ze(t) {
3007
3042
  t.touchHoldTimer && (clearTimeout(t.touchHoldTimer), t.touchHoldTimer = null);
3008
3043
  }
3009
- function Is(t, e) {
3044
+ function Ms(t, e) {
3010
3045
  var o = t.$$touchObj || {
3011
3046
  // an object contains all callbacks registered,
3012
3047
  // key is event name, value is an array
@@ -3014,14 +3049,14 @@ function Is(t, e) {
3014
3049
  // prevent bind twice, set to true when event bound
3015
3050
  hasBindTouchEvents: !1,
3016
3051
  // default options, would be override by v-touch-options
3017
- options: Ls
3052
+ options: Es
3018
3053
  };
3019
3054
  return e && (o.options = Object.assign({}, o.options, e)), t.$$touchObj = o, t.$$touchObj;
3020
3055
  }
3021
- const ta = {
3056
+ const aa = {
3022
3057
  beforeMount: function(t, e) {
3023
- const o = Is(t);
3024
- let n = Cs ? { passive: !0 } : !1;
3058
+ const o = Ms(t);
3059
+ let n = Bs ? { passive: !0 } : !1;
3025
3060
  const s = e.arg || "tap";
3026
3061
  switch (s) {
3027
3062
  case "swipe":
@@ -3041,65 +3076,66 @@ const ta = {
3041
3076
  default:
3042
3077
  o.callbacks[s] = o.callbacks[s] || [], o.callbacks[s].push(e);
3043
3078
  }
3044
- o.hasBindTouchEvents || (t.addEventListener("touchstart", $e, n), t.addEventListener("touchmove", we, n), t.addEventListener("touchcancel", rt), t.addEventListener("touchend", Se), o.options.disableClick || (t.addEventListener("mousedown", $e), t.addEventListener("mousemove", we), t.addEventListener("mouseup", Se), t.addEventListener("mouseenter", dt), t.addEventListener("mouseleave", ct)), o.hasBindTouchEvents = !0);
3079
+ o.hasBindTouchEvents || (t.addEventListener("touchstart", $e, n), t.addEventListener("touchmove", we, n), t.addEventListener("touchcancel", dt), t.addEventListener("touchend", Se), o.options.disableClick || (t.addEventListener("mousedown", $e), t.addEventListener("mousemove", we), t.addEventListener("mouseup", Se), t.addEventListener("mouseenter", ct), t.addEventListener("mouseleave", ut)), o.hasBindTouchEvents = !0);
3045
3080
  },
3046
3081
  unmounted: function(t) {
3047
- t.removeEventListener("touchstart", $e), t.removeEventListener("touchmove", we), t.removeEventListener("touchcancel", rt), t.removeEventListener("touchend", Se), t.$$touchObj && !t.$$touchObj.options.disableClick && (t.removeEventListener("mousedown", $e), t.removeEventListener("mousemove", we), t.removeEventListener("mouseup", Se), t.removeEventListener("mouseenter", dt), t.removeEventListener("mouseleave", ct)), delete t.$$touchObj;
3082
+ t.removeEventListener("touchstart", $e), t.removeEventListener("touchmove", we), t.removeEventListener("touchcancel", dt), t.removeEventListener("touchend", Se), t.$$touchObj && !t.$$touchObj.options.disableClick && (t.removeEventListener("mousedown", $e), t.removeEventListener("mousemove", we), t.removeEventListener("mouseup", Se), t.removeEventListener("mouseenter", ct), t.removeEventListener("mouseleave", ut)), delete t.$$touchObj;
3048
3083
  }
3049
3084
  };
3050
3085
  export {
3051
- Ms as DAccordion,
3086
+ Os as DAccordion,
3052
3087
  Qo as DAlertDialog,
3053
3088
  uo as DBadge,
3054
3089
  le as DButton,
3055
- Vs as DCard,
3056
- Ws as DCheckbox,
3090
+ Ws as DCard,
3091
+ Xs as DCheckbox,
3057
3092
  po as DCollapse,
3058
3093
  fe as DComponentStore,
3059
- Rs as DConfigProvider,
3094
+ As as DConfigProvider,
3060
3095
  tn as DConfirmDialog,
3061
- Eo as DContextMenu,
3062
- Ps as DDialogProvider,
3063
- at as DDrag,
3096
+ Bo as DContextMenu,
3097
+ Ys as DDialogProvider,
3098
+ it as DDrag,
3064
3099
  Io as DDrop,
3065
- Hs as DDropdown,
3066
- Gs as DForm,
3100
+ zs as DDropdown,
3101
+ Qs as DForm,
3067
3102
  pe as DGlobalStore,
3068
- Ys as DGrid,
3103
+ Gs as DGrid,
3069
3104
  re as DIcon,
3070
3105
  oe as DIconStore,
3071
- Us as DImage,
3072
- Fs as DInfoProgress,
3073
- Bs as DInput,
3074
- Zs as DInputString,
3075
- Ns as DLayoutAdmin,
3076
- Ao as DLayoutContent,
3106
+ Zs as DImage,
3107
+ js as DInfoProgress,
3108
+ Rs as DInput,
3109
+ ea as DInputString,
3110
+ Vs as DLayoutAdmin,
3111
+ Vo as DLayoutContent,
3077
3112
  Ro as DLayoutFooter,
3078
3113
  Mo as DLayoutHeader,
3079
3114
  Oo as DLayoutSidebar,
3080
3115
  No as DLayoutTab,
3081
- bt as DMenu,
3082
- kt as DModal,
3083
- zs as DNotificationProvider,
3116
+ xt as DMenu,
3117
+ $t as DModal,
3118
+ Ps as DNotificationProvider,
3084
3119
  ln as DPanel,
3085
- As as DScroll,
3086
- Os as DScrollProvider,
3087
- js as DSelect,
3088
- Xs as DTabs,
3089
- qs as DTextarea,
3120
+ Fs as DScroll,
3121
+ Hs as DScrollProvider,
3122
+ Us as DSelect,
3123
+ Js as DSwitcher,
3124
+ qs as DTabs,
3125
+ Ks as DTextarea,
3090
3126
  Te as DTransferStore,
3091
- xt as DTree,
3127
+ kt as DTree,
3092
3128
  Co as DTreeItem,
3093
3129
  v as DTreeStore,
3094
3130
  G as Rules,
3095
3131
  Rn as alert,
3096
- Js as clickOutside,
3132
+ oa as clickOutside,
3097
3133
  Nn as confirm,
3098
3134
  q as emitter,
3099
3135
  Lo as eventsBus,
3100
- ea as focus,
3101
- Qs as keydown,
3102
- wt as notify,
3103
- ta as touch,
3104
- Ks as useNotification
3136
+ sa as focus,
3137
+ na as keydown,
3138
+ St as notify,
3139
+ aa as touch,
3140
+ ta as useNotification
3105
3141
  };