doph-js 0.2.88 → 0.2.90

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 Le, computed as m, h as st, openBlock as d, createBlock as b, unref as B, ref as T, createElementBlock as p, Fragment as le, normalizeClass as D, renderSlot as C, createCommentVNode as k, normalizeStyle as V, resolveDynamicComponent as Y, createStaticVNode as ut, onMounted as me, toDisplayString as O, withDirectives as J, createElementVNode as _, vModelDynamic as De, withCtx as E, createTextVNode as K, Transition as Ne, withModifiers as j, resolveComponent as Lt, resolveDirective as Re, normalizeProps as pt, guardReactiveProps as ft, createVNode as Q, renderList as ge, pushScopeId as Ct, popScopeId as It, reactive as Oe, Teleport as mt, nextTick as ht, getCurrentInstance as gt, watch as vt, onUnmounted as Bt, mergeProps as ue, useCssVars as Ae, shallowRef as Et, defineComponent as Mt, TransitionGroup as yt, vModelCheckbox as Nt, vModelSelect as Rt, toRef as Ot, KeepAlive as At, toRefs as Ht, vModelText as Vt } from "vue";
1
+ import { useSlots as Le, computed as m, h as nt, openBlock as d, createBlock as b, unref as B, ref as T, createElementBlock as p, Fragment as le, normalizeClass as D, renderSlot as C, createCommentVNode as k, normalizeStyle as V, resolveDynamicComponent as Y, createStaticVNode as ut, onMounted as me, toDisplayString as O, withDirectives as J, createElementVNode as _, vModelDynamic as De, withCtx as E, createTextVNode as K, Transition as Ne, withModifiers as j, resolveComponent as Lt, resolveDirective as Re, normalizeProps as pt, guardReactiveProps as ft, createVNode as Q, renderList as ge, pushScopeId as Ct, popScopeId as It, reactive as Oe, Teleport as mt, nextTick as ht, getCurrentInstance as gt, watch as vt, onUnmounted as Bt, mergeProps as ue, useCssVars as Ae, shallowRef as Et, defineComponent as Mt, TransitionGroup as yt, vModelCheckbox as Nt, vModelSelect as Rt, toRef as Ot, KeepAlive as At, toRefs as Ht, vModelText as Vt } from "vue";
2
2
  const re = {
3
3
  __name: "DIcon",
4
4
  props: {
@@ -8,26 +8,26 @@ const re = {
8
8
  className: String
9
9
  },
10
10
  setup(e) {
11
- const t = e, o = Le(), n = m(() => {
11
+ const t = e, o = Le(), s = m(() => {
12
12
  const { className: r } = t;
13
13
  return r === void 0 ? "icon" : ["icon", r].join(" ");
14
- }), s = m(() => {
14
+ }), n = m(() => {
15
15
  const { color: r } = t;
16
16
  return r === void 0 ? null : r;
17
17
  }), a = m(() => {
18
18
  const r = t.size ?? null;
19
19
  if (r !== void 0)
20
20
  return typeof r == "number" || /^\d+$/.test(r) ? `${r}px` : r;
21
- }), l = m(() => st(
21
+ }), l = m(() => nt(
22
22
  "i",
23
23
  {
24
- class: n.value,
24
+ class: s.value,
25
25
  style: {
26
- color: s.value,
26
+ color: n.value,
27
27
  fontSize: a.value
28
28
  }
29
29
  },
30
- t.component ? st(t.component) : o
30
+ t.component ? nt(t.component) : o
31
31
  ));
32
32
  return (r, i) => (d(), b(B(l)));
33
33
  }
@@ -53,33 +53,33 @@ const re = {
53
53
  };
54
54
  function _t(e) {
55
55
  const t = e.value.getBoundingClientRect();
56
- let o = e.value, n = 0, s = 0;
56
+ let o = e.value, s = 0, n = 0;
57
57
  for (; o && !isNaN(o.offsetLeft) && !isNaN(o.offsetTop); )
58
- n += o.offsetLeft - o.scrollLeft, s += o.offsetTop - o.scrollTop, o = o.offsetParent;
59
- return { top: s, left: n, x: t.x, y: t.y, width: t.width, height: t.height };
58
+ s += o.offsetLeft - o.scrollLeft, n += o.offsetTop - o.scrollTop, o = o.offsetParent;
59
+ return { top: n, left: s, x: t.x, y: t.y, width: t.width, height: t.height };
60
60
  }
61
61
  function zt() {
62
- function e(s) {
63
- return s * Math.random() | 0;
62
+ function e(n) {
63
+ return n * Math.random() | 0;
64
64
  }
65
65
  function t() {
66
66
  return e(16).toString(16);
67
67
  }
68
- function o(s) {
68
+ function o(n) {
69
69
  let a = "";
70
- for (let l = 0; l < s; ++l)
70
+ for (let l = 0; l < n; ++l)
71
71
  a += t();
72
72
  return a;
73
73
  }
74
- function n() {
74
+ function s() {
75
75
  return (e(16) & 3 | 8).toString(16);
76
76
  }
77
- return o(8) + "-" + o(4) + "-4" + o(3) + "-" + n() + o(3) + "-" + o(12);
77
+ return o(8) + "-" + o(4) + "-4" + o(3) + "-" + s() + o(3) + "-" + o(12);
78
78
  }
79
- const ne = (e, t) => {
79
+ const se = (e, t) => {
80
80
  const o = e.__vccOpts || e;
81
- for (const [n, s] of t)
82
- o[n] = s;
81
+ for (const [s, n] of t)
82
+ o[s] = n;
83
83
  return o;
84
84
  }, Ft = {
85
85
  key: 0,
@@ -120,13 +120,13 @@ const ne = (e, t) => {
120
120
  },
121
121
  emits: ["click", "contextmenu"],
122
122
  setup(e, { expose: t, emit: o }) {
123
- const n = e, s = Le(), a = T(null), l = m(() => n.icon ? oe.getters.getIcon(n.icon) : null), r = ($) => {
123
+ const s = e, n = Le(), a = T(null), l = m(() => s.icon ? oe.getters.getIcon(s.icon) : null), r = ($) => {
124
124
  o("click", $);
125
125
  }, i = ($) => {
126
126
  o("contextmenu", $);
127
- }, c = m(() => n.scale === "large" ? "button-lg" : n.scale === "small" ? "button-sm" : ""), u = m(() => n.disabled ? "disabled" : ""), h = ($) => !!s[$], x = m(() => h("default") ? "" : n.scale === "large" ? "d-button-lg-icon" : n.scale === "small" ? "d-button-sm-icon" : "d-button-icon"), S = m(() => {
128
- const $ = n.outline ? "-outline" : "";
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${$}` : "";
127
+ }, c = m(() => s.scale === "large" ? "button-lg" : s.scale === "small" ? "button-sm" : ""), u = m(() => s.disabled ? "disabled" : ""), h = ($) => !!n[$], x = m(() => h("default") ? "" : s.scale === "large" ? "d-button-lg-icon" : s.scale === "small" ? "d-button-sm-icon" : "d-button-icon"), S = m(() => {
128
+ const $ = s.outline ? "-outline" : "";
129
+ return s.type === "primary" ? `button${$}-blue` : s.type === "success" ? `button${$}-green` : s.type === "error" ? `button${$}-red` : s.type === "warning" ? `button${$}-orange` : s.type === "wait" ? `button${$}-violet` : s.outline ? `button${$}` : "";
130
130
  });
131
131
  return t({
132
132
  elementSize: () => _t(a)
@@ -137,10 +137,10 @@ const ne = (e, t) => {
137
137
  ref: a,
138
138
  onClick: r,
139
139
  onContextmenu: i,
140
- class: D(["button", [n.class, c.value, S.value, u.value].join(" ")])
140
+ class: D(["button", [s.class, c.value, S.value, u.value].join(" ")])
141
141
  }, [
142
142
  C($.$slots, "default", {}, void 0, !0),
143
- n.loading ? (d(), p("svg", Ft, Pt)) : k("", !0)
143
+ s.loading ? (d(), p("svg", Ft, Pt)) : k("", !0)
144
144
  ], 34)),
145
145
  l.value ? (d(), p("div", {
146
146
  key: 1,
@@ -148,22 +148,22 @@ const ne = (e, t) => {
148
148
  ref: a,
149
149
  onClick: r,
150
150
  onContextmenu: i,
151
- class: D(["button button-ext", [n.class, c.value, x.value, S.value, u.value].join(" ")]),
152
- style: V(n.style)
151
+ class: D(["button button-ext", [s.class, c.value, x.value, S.value, u.value].join(" ")]),
152
+ style: V(s.style)
153
153
  }, [
154
- n.icon ? (d(), b(Y(re), {
154
+ s.icon ? (d(), b(Y(re), {
155
155
  key: 0,
156
156
  component: l.value,
157
157
  color: "inherit"
158
158
  }, null, 8, ["component"])) : k("", !0),
159
- B(s).default ? (d(), p("div", jt, [
159
+ B(n).default ? (d(), p("div", jt, [
160
160
  C($.$slots, "default", {}, void 0, !0)
161
161
  ])) : k("", !0),
162
- n.loading ? (d(), p("svg", Xt, Ut)) : k("", !0)
162
+ s.loading ? (d(), p("svg", Xt, Ut)) : k("", !0)
163
163
  ], 38)) : k("", !0)
164
164
  ], 64));
165
165
  }
166
- }, ie = /* @__PURE__ */ ne(qt, [["__scopeId", "data-v-e5cd6ccd"]]);
166
+ }, ie = /* @__PURE__ */ se(qt, [["__scopeId", "data-v-e5cd6ccd"]]);
167
167
  const Gt = {
168
168
  key: 0,
169
169
  class: "d-input"
@@ -177,11 +177,11 @@ const Gt = {
177
177
  }, Qt = {
178
178
  key: 0,
179
179
  class: "label"
180
- }, eo = { style: { display: "flex", "align-items": "flex-end", "justify-content": "flex-start" } }, to = { style: { flex: "1" } }, oo = ["type", "placeholder"], no = {
180
+ }, eo = { style: { display: "flex", "align-items": "flex-end", "justify-content": "flex-start" } }, to = { style: { flex: "1" } }, oo = ["type", "placeholder"], so = {
181
181
  key: 2,
182
182
  class: "d-input",
183
183
  style: { display: "flex", "flex-direction": "column" }
184
- }, so = {
184
+ }, no = {
185
185
  key: 0,
186
186
  class: "label"
187
187
  }, ao = { style: { display: "flex", "align-items": "flex-end", "justify-content": "flex-start" } }, io = { style: { flex: "1" } }, lo = ["type", "placeholder"], ro = {
@@ -199,97 +199,97 @@ const Gt = {
199
199
  },
200
200
  emits: ["update:modelValue"],
201
201
  setup(e, { expose: t, emit: o }) {
202
- const n = e, s = T(null), a = m(() => n.scale === "small" ? "d-input-small" : n.scale === "large" ? "d-input-large" : ""), l = m({
203
- get: () => n.modelValue,
202
+ const s = e, n = T(null), a = m(() => s.scale === "small" ? "d-input-small" : s.scale === "large" ? "d-input-large" : ""), l = m({
203
+ get: () => s.modelValue,
204
204
  set: (i) => {
205
205
  o("update:modelValue", i);
206
206
  }
207
207
  });
208
208
  me(() => {
209
- n.focus && r();
209
+ s.focus && r();
210
210
  });
211
211
  const r = () => {
212
- s.value.focus();
212
+ n.value.focus();
213
213
  };
214
214
  return t({
215
215
  focus: r
216
- }), (i, c) => !n.post && !n.pre ? (d(), p("div", Gt, [
217
- n.label ? (d(), p("div", Zt, O(n.label), 1)) : k("", !0),
216
+ }), (i, c) => !s.post && !s.pre ? (d(), p("div", Gt, [
217
+ s.label ? (d(), p("div", Zt, O(s.label), 1)) : k("", !0),
218
218
  J(_("input", {
219
219
  ref_key: "inputRef",
220
- ref: s,
220
+ ref: n,
221
221
  "onUpdate:modelValue": c[0] || (c[0] = (u) => l.value = u),
222
- type: n.password ? "password" : "text",
222
+ type: s.password ? "password" : "text",
223
223
  class: D(a.value),
224
- placeholder: n.placeholder,
224
+ placeholder: s.placeholder,
225
225
  style: { width: "100%" }
226
226
  }, null, 10, Kt), [
227
227
  [De, l.value]
228
228
  ])
229
- ])) : n.post && n.post.click && !n.pre ? (d(), p("div", Jt, [
230
- n.label ? (d(), p("div", Qt, O(n.label), 1)) : k("", !0),
229
+ ])) : s.post && s.post.click && !s.pre ? (d(), p("div", Jt, [
230
+ s.label ? (d(), p("div", Qt, O(s.label), 1)) : k("", !0),
231
231
  _("div", eo, [
232
232
  _("div", to, [
233
233
  J(_("input", {
234
234
  ref_key: "inputRef",
235
- ref: s,
235
+ ref: n,
236
236
  class: D(["d-input-post-field", a.value]),
237
237
  "onUpdate:modelValue": c[1] || (c[1] = (u) => l.value = u),
238
- type: n.password ? "password" : "text",
239
- placeholder: n.placeholder,
238
+ type: s.password ? "password" : "text",
239
+ placeholder: s.placeholder,
240
240
  style: { width: "100%" }
241
241
  }, null, 10, oo), [
242
242
  [De, l.value]
243
243
  ])
244
244
  ]),
245
- n.post.label ? (d(), b(ie, {
245
+ s.post.label ? (d(), b(ie, {
246
246
  key: 0,
247
- scale: n.scale,
248
- class: D(["d-input-post-button", n.post.class]),
249
- onClick: n.post.click,
250
- icon: n.post.icon
247
+ scale: s.scale,
248
+ class: D(["d-input-post-button", s.post.class]),
249
+ onClick: s.post.click,
250
+ icon: s.post.icon
251
251
  }, {
252
252
  default: E(() => [
253
- K(O(n.post.label), 1)
253
+ K(O(s.post.label), 1)
254
254
  ]),
255
255
  _: 1
256
256
  }, 8, ["scale", "onClick", "icon", "class"])) : (d(), b(ie, {
257
257
  key: 1,
258
- scale: n.scale,
259
- class: D(["d-input-post-button", n.post.class]),
260
- onClick: n.post.click,
261
- icon: n.post.icon
258
+ scale: s.scale,
259
+ class: D(["d-input-post-button", s.post.class]),
260
+ onClick: s.post.click,
261
+ icon: s.post.icon
262
262
  }, null, 8, ["scale", "onClick", "icon", "class"]))
263
263
  ])
264
- ])) : !n.post && n.pre && n.pre.click ? (d(), p("div", no, [
265
- n.label ? (d(), p("div", so, O(n.label), 1)) : k("", !0),
264
+ ])) : !s.post && s.pre && s.pre.click ? (d(), p("div", so, [
265
+ s.label ? (d(), p("div", no, O(s.label), 1)) : k("", !0),
266
266
  _("div", ao, [
267
- n.pre.label ? (d(), b(ie, {
267
+ s.pre.label ? (d(), b(ie, {
268
268
  key: 0,
269
- scale: n.scale,
270
- class: D(["d-input-pre-button", n.pre.class]),
271
- onClick: n.pre.click,
272
- icon: n.pre.icon
269
+ scale: s.scale,
270
+ class: D(["d-input-pre-button", s.pre.class]),
271
+ onClick: s.pre.click,
272
+ icon: s.pre.icon
273
273
  }, {
274
274
  default: E(() => [
275
- K(O(n.pre.label), 1)
275
+ K(O(s.pre.label), 1)
276
276
  ]),
277
277
  _: 1
278
278
  }, 8, ["scale", "onClick", "icon", "class"])) : (d(), b(ie, {
279
279
  key: 1,
280
- scale: n.scale,
281
- class: D(["d-input-pre-button", n.pre.class]),
282
- onClick: n.pre.click,
283
- icon: n.pre.icon
280
+ scale: s.scale,
281
+ class: D(["d-input-pre-button", s.pre.class]),
282
+ onClick: s.pre.click,
283
+ icon: s.pre.icon
284
284
  }, null, 8, ["scale", "onClick", "icon", "class"])),
285
285
  _("div", io, [
286
286
  J(_("input", {
287
287
  ref_key: "inputRef",
288
- ref: s,
288
+ ref: n,
289
289
  class: D(["d-input-pre-field", a.value]),
290
290
  "onUpdate:modelValue": c[2] || (c[2] = (u) => l.value = u),
291
- type: n.password ? "password" : "text",
292
- placeholder: n.placeholder,
291
+ type: s.password ? "password" : "text",
292
+ placeholder: s.placeholder,
293
293
  style: { width: "100%" }
294
294
  }, null, 10, lo), [
295
295
  [De, l.value]
@@ -298,7 +298,7 @@ const Gt = {
298
298
  ])
299
299
  ])) : k("", !0);
300
300
  }
301
- }, Bs = /* @__PURE__ */ ne(ro, [["__scopeId", "data-v-a972038a"]]), co = {
301
+ }, Bn = /* @__PURE__ */ se(ro, [["__scopeId", "data-v-a972038a"]]), co = {
302
302
  __name: "DBadge",
303
303
  props: {
304
304
  scale: String,
@@ -310,14 +310,14 @@ const Gt = {
310
310
  }
311
311
  },
312
312
  setup(e) {
313
- const t = e, o = m(() => t.scale === "large" ? "badge-lg" : t.scale === "small" ? "badge-sm" : ""), n = m(() => {
314
- const s = t.stress ? "-stress" : "";
315
- return t.type === "primary" ? `badge${s}-blue` : t.type === "success" ? `badge${s}-green` : t.type === "error" ? `badge${s}-red` : t.type === "warning" ? `badge${s}-orange` : t.type === "wait" ? `badge${s}-violet` : t.stress ? `badge${s}-gray` : "";
313
+ const t = e, o = m(() => t.scale === "large" ? "badge-lg" : t.scale === "small" ? "badge-sm" : ""), s = m(() => {
314
+ const n = t.stress ? "-stress" : "";
315
+ return t.type === "primary" ? `badge${n}-blue` : t.type === "success" ? `badge${n}-green` : t.type === "error" ? `badge${n}-red` : t.type === "warning" ? `badge${n}-orange` : t.type === "wait" ? `badge${n}-violet` : t.stress ? `badge${n}-gray` : "";
316
316
  });
317
- return (s, a) => (d(), p("div", {
318
- class: D(["badge", [t.class, o.value, n.value].join(" ")])
317
+ return (n, a) => (d(), p("div", {
318
+ class: D(["badge", [t.class, o.value, s.value].join(" ")])
319
319
  }, [
320
- C(s.$slots, "default")
320
+ C(n.$slots, "default")
321
321
  ], 2));
322
322
  }
323
323
  }, ae = "0px", uo = {
@@ -357,12 +357,12 @@ const Gt = {
357
357
  borderBottomWidth: i == null ? void 0 : i.style.borderBottomWidth,
358
358
  marginTop: i == null ? void 0 : i.style.marginTop,
359
359
  marginBottom: i == null ? void 0 : i.style.marginBottom
360
- }), n = (i, c) => {
360
+ }), s = (i, c) => {
361
361
  const { width: u } = getComputedStyle(i);
362
362
  i.style.width = u, i.style.position = "absolute", i.style.visibility = "hidden", i.style.height = "";
363
363
  let { height: h } = getComputedStyle(i);
364
364
  return i.style.width = c.width, i.style.position = c.position, i.style.visibility = c.visibility, i.style.height = ae, i.style.overflow = "hidden", c.height && c.height !== ae ? c.height : h;
365
- }, s = (i, c, u, h, x) => {
365
+ }, n = (i, c, u, h, x) => {
366
366
  const S = i.animate(h, x);
367
367
  i.style.height = c.height, S.onfinish = () => {
368
368
  i.style.overflow = c.overflow, u();
@@ -389,13 +389,13 @@ const Gt = {
389
389
  marginBottom: c.marginBottom
390
390
  }
391
391
  ], l = (i, c) => {
392
- const u = i, h = o(u), x = n(u, h), S = a(x, h), N = { duration: t.duration, easing: t.easingEnter };
393
- s(u, h, c, S, N);
392
+ const u = i, h = o(u), x = s(u, h), S = a(x, h), N = { duration: t.duration, easing: t.easingEnter };
393
+ n(u, h, c, S, N);
394
394
  }, r = (i, c) => {
395
395
  const u = i, h = o(u), { height: x } = getComputedStyle(u);
396
396
  u.style.height = x, u.style.overflow = "hidden";
397
397
  const S = a(x, h).reverse(), N = { duration: t.duration, easing: t.easingLeave };
398
- s(u, h, c, S, N);
398
+ n(u, h, c, S, N);
399
399
  };
400
400
  return (i, c) => (d(), b(Ne, {
401
401
  css: !1,
@@ -442,14 +442,14 @@ const Gt = {
442
442
  tag: { type: String, default: "div" }
443
443
  },
444
444
  setup(e) {
445
- const t = e, o = Le(), n = T(!1), s = m(() => n && t.transferData), a = m(() => ({ position: "fixed", top: "-1000px" })), l = (r, i) => {
445
+ const t = e, o = Le(), s = T(!1), n = m(() => s && t.transferData), a = m(() => ({ position: "fixed", top: "-1000px" })), l = (r, i) => {
446
446
  const c = i.dataTransfer;
447
447
  if ([X.dragenter, X.dragover].includes(r) && t.dropEffect && (c.dropEffect = t.dropEffect), r === X.dragstart) {
448
448
  if (t.effectAllowed && (c.effectAllowed = t.effectAllowed), t.image || o.image) {
449
449
  let u;
450
450
  t.image ? (u = new Image(), u.src = t.image) : o.image && (u = o.image[0].elm), c.setDragImage && c.setDragImage(u, t.imageXOffset, t.imageYOffset);
451
451
  }
452
- t.transferData !== void 0 && (Te.data = t.transferData, i.dataTransfer.setData("text", "")), n.value = !0;
452
+ t.transferData !== void 0 && (Te.data = t.transferData, i.dataTransfer.setData("text", "")), s.value = !0;
453
453
  }
454
454
  };
455
455
  return (r, i) => (d(), b(Y(e.tag), {
@@ -461,22 +461,22 @@ const Gt = {
461
461
  onDragend: i[4] || (i[4] = (c) => l(B(X).dragend, c))
462
462
  }, {
463
463
  default: E(() => [
464
- C(r.$slots, "default", { transferData: s.value }),
464
+ C(r.$slots, "default", { transferData: n.value }),
465
465
  e.hideImageHtml ? (d(), p("div", {
466
466
  key: 0,
467
467
  style: V(a.value)
468
468
  }, [
469
- C(r.$slots, "image", { transferData: s.value })
469
+ C(r.$slots, "image", { transferData: n.value })
470
470
  ], 4)) : C(r.$slots, "image", {
471
471
  key: 1,
472
- transferData: s.value
472
+ transferData: n.value
473
473
  })
474
474
  ]),
475
475
  _: 3
476
476
  }, 40, ["draggable"]));
477
477
  }
478
478
  };
479
- const mo = (e) => (Ct("data-v-a476bb8e"), e = e(), It(), e), ho = {
479
+ const mo = (e) => (Ct("data-v-d0deedc5"), e = e(), It(), e), ho = {
480
480
  key: 0,
481
481
  style: { display: "none" }
482
482
  }, go = { key: 1 }, vo = /* @__PURE__ */ mo(() => /* @__PURE__ */ _("div", { class: "tree-divider" }, null, -1)), yo = [
@@ -498,7 +498,7 @@ const mo = (e) => (Ct("data-v-a476bb8e"), e = e(), It(), e), ho = {
498
498
  },
499
499
  emits: ["nodedrop", "nodedragover", "nodedragleave", "nodeclick", "nodecontext"],
500
500
  setup(e, { emit: t }) {
501
- const o = e, n = T(null), s = T(!1), a = T(!1), l = T(!1), r = m(() => o.model.children && o.model.children.length), i = m(() => (v.actions.isTreeExpanded(o.treeId) && (o.model.expanded = o.model.expanded === void 0 ? !0 : o.model.expanded), o.model.expanded)), c = (M) => {
501
+ const o = e, s = T(null), n = T(!1), a = T(!1), l = T(!1), r = m(() => o.model.children && o.model.children.length), i = m(() => (v.actions.isTreeExpanded(o.treeId) && (o.model.expanded = o.model.expanded === void 0 ? !0 : o.model.expanded), o.model.expanded)), c = (M) => {
502
502
  t("nodeclick", { event: M, model: o.model });
503
503
  }, u = (M) => {
504
504
  t("nodeclick", M);
@@ -508,33 +508,33 @@ const mo = (e) => (Ct("data-v-a476bb8e"), e = e(), It(), e), ho = {
508
508
  t("nodecontext", M);
509
509
  }, S = m(() => [
510
510
  v.actions.isItemSelected(o.treeId, o.model.id) ? "selected" : "",
511
- s.value ? "node-over " : "",
511
+ n.value ? "node-over " : "",
512
512
  a.value ? "node-top " : "",
513
513
  l.value ? "node-bottom " : ""
514
514
  ]), N = m(() => o.search ? !1 : o.model.draggable === !0), $ = (M) => {
515
515
  var A;
516
516
  let g = Te.data;
517
517
  if (g === void 0 || g.model === void 0)
518
- return s.value = !1, !1;
518
+ return n.value = !1, !1;
519
519
  if (g.model.id === o.model.id || v.actions.isChildOfParent(o.treeId, o.items, o.model.id, g.model.id) || v.actions.isParentOfChild(o.treeId, o.items, g.model.id, o.model.id))
520
- return s.value = !1, a.value = !1, l.value = !1, !1;
520
+ return n.value = !1, a.value = !1, l.value = !1, !1;
521
521
  if (!v.state.trees[o.treeId].transfer && g.id !== o.treeId || !v.state.trees[o.treeId].dropInside && !l.value && !a.value)
522
522
  return !1;
523
523
  let R = "";
524
- a.value ? R = "before" : l.value ? R = "after" : R = "inside", t("nodedrop", { e: M, model: o.model, place: R }), v.actions.moveTreeNode(g.id, o.treeId, o.items, g.model.id, o.model.id, R, (A = g.model) == null ? void 0 : A.transfer), s.value = !1, a.value = !1, l.value = !1;
524
+ a.value ? R = "before" : l.value ? R = "after" : R = "inside", t("nodedrop", { e: M, model: o.model, place: R }), v.actions.moveTreeNode(g.id, o.treeId, o.items, g.model.id, o.model.id, R, (A = g.model) == null ? void 0 : A.transfer), n.value = !1, a.value = !1, l.value = !1;
525
525
  }, H = (M) => {
526
526
  t("nodedragover", { e: M, model: o.model });
527
527
  let g = Te.data;
528
528
  if (!o.model.droppable)
529
529
  return !1;
530
530
  if (g === void 0 || g.model === void 0)
531
- return s.value = !0, !1;
531
+ return n.value = !0, !1;
532
532
  if (g.model.id === o.model.id || v.actions.isChildOfParent(o.treeId, o.items, o.model.id, g.model.id) || v.actions.isParentOfChild(o.treeId, o.items, g.model.id, o.model.id))
533
533
  return !1;
534
- const R = M.y, A = n.value.getBoundingClientRect().top, z = n.value.getBoundingClientRect().height, y = z / 3;
535
- R > A && R <= A + y ? (s.value = !1, a.value = !0, l.value = !1) : R < A + z && R >= A + z - y ? (s.value = !1, a.value = !1, l.value = !0) : (s.value = v.state.trees[o.treeId].dropInside, a.value = !1, l.value = !1);
534
+ const R = M.y, A = s.value.getBoundingClientRect().top, z = s.value.getBoundingClientRect().height, y = z / 3;
535
+ R > A && R <= A + y ? (n.value = !1, a.value = !0, l.value = !1) : R < A + z && R >= A + z - y ? (n.value = !1, a.value = !1, l.value = !0) : (n.value = v.state.trees[o.treeId].dropInside, a.value = !1, l.value = !1);
536
536
  }, P = () => {
537
- s.value = !1, a.value = !1, l.value = !1;
537
+ n.value = !1, a.value = !1, l.value = !1;
538
538
  }, w = m(() => o.model.title.startsWith("-")), I = m(() => {
539
539
  if (o.model.title.startsWith("-")) {
540
540
  let [M, ...g] = o.model.title.split(" ");
@@ -561,13 +561,13 @@ const mo = (e) => (Ct("data-v-a476bb8e"), e = e(), It(), e), ho = {
561
561
  default: E(() => [
562
562
  J((d(), p("div", {
563
563
  ref_key: "node",
564
- ref: n,
564
+ ref: s,
565
565
  class: D(S.value),
566
566
  onContextmenu: g[0] || (g[0] = j((z) => t("nodecontext", { e: z, model: o.model }), ["prevent"]))
567
567
  }, [
568
568
  (d(), b(Y(B(fe).getters.getComponent(o.model.component).component), pt(ft(B(fe).getters.getComponent(o.model.component).props)), null, 16))
569
569
  ], 34)), [
570
- [A, c]
570
+ [A, c, "press"]
571
571
  ])
572
572
  ]),
573
573
  _: 1
@@ -588,7 +588,7 @@ const mo = (e) => (Ct("data-v-a476bb8e"), e = e(), It(), e), ho = {
588
588
  return [
589
589
  J((d(), p("div", {
590
590
  ref_key: "node",
591
- ref: n,
591
+ ref: s,
592
592
  class: D(S.value),
593
593
  onContextmenu: g[2] || (g[2] = j((F) => t("nodecontext", { e: F, model: o.model }), ["prevent"]))
594
594
  }, [
@@ -638,7 +638,7 @@ const mo = (e) => (Ct("data-v-a476bb8e"), e = e(), It(), e), ho = {
638
638
  }, null, 8, ["component", "color", "class"])) : k("", !0)
639
639
  ])
640
640
  ], 34)), [
641
- [A, c]
641
+ [A, c, "press"]
642
642
  ]),
643
643
  Q(uo, null, {
644
644
  default: E(() => [
@@ -663,7 +663,7 @@ const mo = (e) => (Ct("data-v-a476bb8e"), e = e(), It(), e), ho = {
663
663
  }, 8, ["transfer-data", "draggable", "onDrop", "onDragover", "onDragleave"])) : (d(), p("li", ho));
664
664
  };
665
665
  }
666
- }, To = /* @__PURE__ */ ne(Do, [["__scopeId", "data-v-a476bb8e"]]);
666
+ }, To = /* @__PURE__ */ se(Do, [["__scopeId", "data-v-d0deedc5"]]);
667
667
  function Lo(e) {
668
668
  return e = e || /* @__PURE__ */ new Map(), {
669
669
  /**
@@ -677,8 +677,8 @@ function Lo(e) {
677
677
  * @memberOf eventsBus
678
678
  */
679
679
  on(t, o) {
680
- const n = e.get(t);
681
- n ? n.push(o) : e.set(t, [o]);
680
+ const s = e.get(t);
681
+ s ? s.push(o) : e.set(t, [o]);
682
682
  },
683
683
  /**
684
684
  * Remove an event handler for the given type.
@@ -688,8 +688,8 @@ function Lo(e) {
688
688
  * @memberOf eventsBus
689
689
  */
690
690
  off(t, o) {
691
- const n = e.get(t);
692
- n && (o ? n.splice(n.indexOf(o) >>> 0, 1) : e.set(t, []));
691
+ const s = e.get(t);
692
+ s && (o ? s.splice(s.indexOf(o) >>> 0, 1) : e.set(t, []));
693
693
  },
694
694
  /**
695
695
  * Invoke all handlers for the given type.
@@ -702,11 +702,11 @@ function Lo(e) {
702
702
  * @memberOf eventsBus
703
703
  */
704
704
  emit(t, o) {
705
- let n = e.get(t);
706
- n && n.slice().map((s) => {
707
- s(o);
708
- }), n = e.get("*"), n && n.slice().map((s) => {
709
- s(t, o);
705
+ let s = e.get(t);
706
+ s && s.slice().map((n) => {
707
+ n(o);
708
+ }), s = e.get("*"), s && s.slice().map((n) => {
709
+ n(t, o);
710
710
  });
711
711
  }
712
712
  };
@@ -723,8 +723,8 @@ const U = Lo(), v = {
723
723
  return v.state.trees[e].selected;
724
724
  },
725
725
  // data - ноды, dataId - ID ноды родителя data
726
- getParentId(e, t, o, n = "id", s = "children", a = {}) {
727
- return o && e && (e.find((l) => l[n] === o ? (a.found = t, l) : v.getters.getParentId(l[s], l.id, o, n, s, a)), a.found) ? a.found : !1;
726
+ getParentId(e, t, o, s = "id", n = "children", a = {}) {
727
+ return o && e && (e.find((l) => l[s] === o ? (a.found = t, l) : v.getters.getParentId(l[n], l.id, o, s, n, a)), a.found) ? a.found : !1;
728
728
  }
729
729
  },
730
730
  mutations: {
@@ -738,8 +738,8 @@ const U = Lo(), v = {
738
738
  }
739
739
  },
740
740
  actions: {
741
- initTreeStore(e, t, o, n, s, a, l, r = !0) {
742
- v.state.trees[e] = [], v.state.trees[e].selected = [], v.state.trees[e].noSelect = t, v.state.trees[e].multiSelect = o, v.state.trees[e].expanded = n, v.state.trees[e].transfer = s, v.state.trees[e].renderTitle = a, v.state.trees[e].beforeItem = l, v.state.trees[e].dropInside = r;
741
+ initTreeStore(e, t, o, s, n, a, l, r = !0) {
742
+ v.state.trees[e] = [], v.state.trees[e].selected = [], v.state.trees[e].noSelect = t, v.state.trees[e].multiSelect = o, v.state.trees[e].expanded = s, v.state.trees[e].transfer = n, v.state.trees[e].renderTitle = a, v.state.trees[e].beforeItem = l, v.state.trees[e].dropInside = r;
743
743
  },
744
744
  renderTitle(e, t) {
745
745
  return v.state.trees[e].renderTitle ? v.state.trees[e].renderTitle(t) : t;
@@ -756,49 +756,49 @@ const U = Lo(), v = {
756
756
  isTreeExpanded(e) {
757
757
  return v.state.trees[e].expanded;
758
758
  },
759
- isChildOfParent(e, t, o, n) {
760
- const s = v.actions.deepSearch(t, o);
761
- if (s && s.children) {
762
- for (let a = 0; a < s.children.length; a++)
763
- if (s.children[a].id === n)
759
+ isChildOfParent(e, t, o, s) {
760
+ const n = v.actions.deepSearch(t, o);
761
+ if (n && n.children) {
762
+ for (let a = 0; a < n.children.length; a++)
763
+ if (n.children[a].id === s)
764
764
  return !0;
765
765
  }
766
766
  return !1;
767
767
  },
768
768
  // Является ли нода родителем указанного потомка
769
- isParentOfChild(e, t, o, n) {
770
- const s = v.actions.deepSearch(t, o);
771
- return !!(s && s.children && v.actions.deepSearch(s.children, n));
769
+ isParentOfChild(e, t, o, s) {
770
+ const n = v.actions.deepSearch(t, o);
771
+ return !!(n && n.children && v.actions.deepSearch(n.children, s));
772
772
  },
773
- deepSearch(e, t, o = "id", n = "children", s = {}) {
774
- return t && e && (e.find((a) => a[o] === t ? (s.found = a, a) : v.actions.deepSearch(a[n], t, o, n, s)), s.found) ? s.found : !1;
773
+ deepSearch(e, t, o = "id", s = "children", n = {}) {
774
+ return t && e && (e.find((a) => a[o] === t ? (n.found = a, a) : v.actions.deepSearch(a[s], t, o, s, n)), n.found) ? n.found : !1;
775
775
  },
776
- deepSearchByTitle(e, t, o = "title", n = "children", s = []) {
776
+ deepSearchByTitle(e, t, o = "title", s = "children", n = []) {
777
777
  if (t && e && (e.find((a) => {
778
778
  const l = new RegExp(t, "gi");
779
- a[o].toString().toLowerCase().match(l) !== null && s.push(a), v.actions.deepSearchByTitle(a[n], t, o, n, s);
780
- }), s)) {
781
- for (let a = 0; a < s.length; a++)
779
+ a[o].toString().toLowerCase().match(l) !== null && n.push(a), v.actions.deepSearchByTitle(a[s], t, o, s, n);
780
+ }), n)) {
781
+ for (let a = 0; a < n.length; a++)
782
782
  ;
783
- return s;
783
+ return n;
784
784
  }
785
- return s;
785
+ return n;
786
786
  },
787
- moveTreeNode(e, t, o, n, s, a, l = !0) {
787
+ moveTreeNode(e, t, o, s, n, a, l = !0) {
788
788
  if (l) {
789
- const r = v.actions.deleteTreeNode(o, n);
790
- v.actions.insertTreeNode(o, s, r, a), U.emit(`move-${t}`, { fromTreeId: e, toTreeId: t, moved: r == null ? void 0 : r.id, target: s, position: a });
789
+ const r = v.actions.deleteTreeNode(o, s);
790
+ v.actions.insertTreeNode(o, n, r, a), U.emit(`move-${t}`, { fromTreeId: e, toTreeId: t, moved: r == null ? void 0 : r.id, target: n, position: a });
791
791
  } else
792
- U.emit(`move-${t}`, { fromTreeId: e, toTreeId: t, moved: n, target: s, position: a });
792
+ U.emit(`move-${t}`, { fromTreeId: e, toTreeId: t, moved: s, target: n, position: a });
793
793
  },
794
- insertTreeNode(e, t, o, n) {
794
+ insertTreeNode(e, t, o, s) {
795
795
  if (e)
796
- for (let s = 0; s < e.length; s++) {
797
- if (e[s].id === t) {
798
- let l = s;
799
- return n === "after" ? (l++, e.splice(l, 0, o)) : n === "before" ? e.splice(l, 0, o) : n === "inside" && (Object.hasOwn(e[s], "children") || (e[s].children = [], e[s].opened = !0), e[s].children.splice(0, 0, o)), e[s];
796
+ for (let n = 0; n < e.length; n++) {
797
+ if (e[n].id === t) {
798
+ let l = n;
799
+ return s === "after" ? (l++, e.splice(l, 0, o)) : s === "before" ? e.splice(l, 0, o) : s === "inside" && (Object.hasOwn(e[n], "children") || (e[n].children = [], e[n].opened = !0), e[n].children.splice(0, 0, o)), e[n];
800
800
  }
801
- const a = this.insertTreeNode(e[s].children, t, o, n);
801
+ const a = this.insertTreeNode(e[n].children, t, o, s);
802
802
  if (a)
803
803
  return a;
804
804
  }
@@ -807,12 +807,12 @@ const U = Lo(), v = {
807
807
  if (e)
808
808
  for (let o = 0; o < e.length; o++) {
809
809
  if (e[o].id === t) {
810
- const s = e[o];
811
- return e.splice(o, 1), s;
810
+ const n = e[o];
811
+ return e.splice(o, 1), n;
812
812
  }
813
- const n = v.actions.deleteTreeNode(e[o].children, t);
814
- if (n)
815
- return n;
813
+ const s = v.actions.deleteTreeNode(e[o].children, t);
814
+ if (s)
815
+ return s;
816
816
  }
817
817
  }
818
818
  }
@@ -823,9 +823,9 @@ const U = Lo(), v = {
823
823
  },
824
824
  emits: Object.keys(X),
825
825
  setup(e, { expose: t, emit: o }) {
826
- let n = Oe({});
827
- const s = T("false"), a = T(null), l = /* @__PURE__ */ new Set(), r = m(() => s.value && n), i = (u, h) => {
828
- n = Te.data, o(u, h, n), u === X.dragenter && (l.size || h.target === a.value) && l.add(h.target), u === X.dragleave && l.delete(h.target), u === X.drop && l.clear(), s.value = !!l.size;
826
+ let s = Oe({});
827
+ const n = T("false"), a = T(null), l = /* @__PURE__ */ new Set(), r = m(() => n.value && s), i = (u, h) => {
828
+ s = Te.data, o(u, h, s), u === X.dragenter && (l.size || h.target === a.value) && l.add(h.target), u === X.dragleave && l.delete(h.target), u === X.drop && l.clear(), n.value = !!l.size;
829
829
  };
830
830
  return t({
831
831
  elementSize: () => _t(a)
@@ -862,22 +862,22 @@ const U = Lo(), v = {
862
862
  },
863
863
  emits: ["select"],
864
864
  setup(e, { expose: t, emit: o }) {
865
- const n = e;
866
- let s = T(null), a = T(!1);
865
+ const s = e;
866
+ let n = T(null), a = T(!1);
867
867
  const l = () => {
868
868
  U.emit("menu-show-request"), a.value = !0;
869
869
  }, r = () => {
870
870
  var x;
871
- (x = s.value) == null || x.collapseAll(), a.value = !1;
871
+ (x = n.value) == null || x.collapseAll(), a.value = !1;
872
872
  }, i = () => a.value;
873
873
  U.on("menu-show-request", () => {
874
874
  r();
875
875
  }), t({
876
876
  show: l,
877
877
  hide: r,
878
- elementSize: () => s.value.elementSize(),
878
+ elementSize: () => n.value.elementSize(),
879
879
  isShowed: i,
880
- itemsCount: () => s.value.itemsCount()
880
+ itemsCount: () => n.value.itemsCount()
881
881
  });
882
882
  const h = (x) => {
883
883
  o("select", x), x.model.children || r();
@@ -888,14 +888,14 @@ const U = Lo(), v = {
888
888
  B(a) ? J((d(), b(xt, {
889
889
  key: 0,
890
890
  ref_key: "treeRef",
891
- ref: s,
892
- items: n.items,
893
- "no-select": n.noSelect,
894
- class: D(n.class),
895
- style: V(n.style),
891
+ ref: n,
892
+ items: s.items,
893
+ "no-select": s.noSelect,
894
+ class: D(s.class),
895
+ style: V(s.style),
896
896
  onSelect: h,
897
- "render-title": n.renderItemTitle,
898
- "before-item": n.beforeItem
897
+ "render-title": s.renderItemTitle,
898
+ "before-item": s.beforeItem
899
899
  }, null, 8, ["items", "no-select", "class", "style", "render-title", "before-item"])), [
900
900
  [N, () => r()]
901
901
  ]) : k("", !0)
@@ -911,13 +911,13 @@ const U = Lo(), v = {
911
911
  },
912
912
  emits: ["select"],
913
913
  setup(e, { expose: t, emit: o }) {
914
- const n = e, s = T(null), a = T(0), l = T(0), r = m(() => ({
914
+ const s = e, n = T(null), a = T(0), l = T(0), r = m(() => ({
915
915
  left: a.value + "px",
916
916
  top: l.value + "px"
917
917
  })), i = (u) => {
918
- s.value.show(), ht(() => {
919
- const h = s.value.elementSize(), x = window.innerWidth, S = window.innerHeight;
920
- a.value = x - u.pageX < h.width ? u.pageX - h.width : u.pageX, l.value = S - u.pageY < h.height ? u.pageY - h.height : u.pageY, s.value.itemsCount() === 0 && s.value.hide();
918
+ n.value.show(), ht(() => {
919
+ const h = n.value.elementSize(), x = window.innerWidth, S = window.innerHeight;
920
+ a.value = x - u.pageX < h.width ? u.pageX - h.width : u.pageX, l.value = S - u.pageY < h.height ? u.pageY - h.height : u.pageY, n.value.itemsCount() === 0 && n.value.hide();
921
921
  });
922
922
  }, c = (u) => {
923
923
  o("select", u);
@@ -926,14 +926,14 @@ const U = Lo(), v = {
926
926
  show: i
927
927
  }), (u, h) => (d(), b(bt, {
928
928
  ref_key: "dMenuRef",
929
- ref: s,
929
+ ref: n,
930
930
  onSelect: c,
931
- items: n.items,
931
+ items: s.items,
932
932
  style: V(r.value),
933
933
  class: "context-menu",
934
934
  "no-select": !0,
935
- "render-item-title": n.renderItemTitle,
936
- "before-item": n.beforeItem
935
+ "render-item-title": s.renderItemTitle,
936
+ "before-item": s.beforeItem
937
937
  }, null, 8, ["items", "style", "render-item-title", "before-item"]));
938
938
  }
939
939
  }, xt = {
@@ -979,8 +979,8 @@ const U = Lo(), v = {
979
979
  },
980
980
  emits: ["select", "collapse", "expand", "move", "over", "drop"],
981
981
  setup(e, { expose: t, emit: o }) {
982
- const n = e, s = T(null), a = T(!1), l = T(null), r = gt().uid;
983
- v.actions.initTreeStore(r, n.noSelect, n.multiSelect, n.expanded, n.transfer, n.renderTitle, n.beforeItem, n.dropInside);
982
+ const s = e, n = T(null), a = T(!1), l = T(null), r = gt().uid;
983
+ v.actions.initTreeStore(r, s.noSelect, s.multiSelect, s.expanded, s.transfer, s.renderTitle, s.beforeItem, s.dropInside);
984
984
  const i = (y, F) => {
985
985
  console.log(y, F);
986
986
  };
@@ -991,23 +991,23 @@ const U = Lo(), v = {
991
991
  }), U.on(`move-${r}`, (y) => {
992
992
  o("move", y);
993
993
  });
994
- const c = m(() => n.search ? v.actions.deepSearchByTitle(n.items, n.search) : n.items), u = (y = null) => {
994
+ const c = m(() => s.search ? v.actions.deepSearchByTitle(s.items, s.search) : s.items), u = (y = null) => {
995
995
  v.mutations.setItemSelect(r, y.model), v.actions.toggleItem(r, y.model), o("select", y);
996
996
  }, h = (y = null) => {
997
997
  o("over", y);
998
998
  }, x = (y = null) => {
999
999
  o("drop", y);
1000
- }, S = () => s.value.elementSize(), N = () => {
1001
- for (let y = 0; y < n.items.length; y++)
1002
- n.items[y].expanded = !0;
1000
+ }, S = () => n.value.elementSize(), N = () => {
1001
+ for (let y = 0; y < s.items.length; y++)
1002
+ s.items[y].expanded = !0;
1003
1003
  }, $ = () => {
1004
- for (let y = 0; y < n.items.length; y++)
1005
- n.items[y].expanded = !1;
1006
- }, H = () => r, P = (y) => v.actions.deepSearch(n.items, y), w = (y) => {
1004
+ for (let y = 0; y < s.items.length; y++)
1005
+ s.items[y].expanded = !1;
1006
+ }, H = () => r, P = (y) => v.actions.deepSearch(s.items, y), w = (y) => {
1007
1007
  P(y) && v.mutations.setItemSelect(r, P(y));
1008
1008
  }, I = (y) => {
1009
- n.contextClick({ e: y.e, model: y.model, target: l.value });
1010
- }, M = (y) => n.contextBeforeClick({ model: y, target: l.value }), g = m(() => n.context), R = (y) => (g.value && (l.value = y.model, a.value.show(y.e)), !1), A = () => z(c.value), z = (y) => {
1009
+ s.contextClick({ e: y.e, model: y.model, target: l.value });
1010
+ }, M = (y) => s.contextBeforeClick({ model: y, target: l.value }), g = m(() => s.context), R = (y) => (g.value && (l.value = y.model, a.value.show(y.e)), !1), A = () => z(c.value), z = (y) => {
1011
1011
  let F = 0;
1012
1012
  for (let f = 0; f < y.length; f++)
1013
1013
  F += v.actions.beforeItem(r, y[f]) ? 1 : 0, y[f].children && y[f].children.length > 0 && (F += z(y[f].children));
@@ -1023,7 +1023,7 @@ const U = Lo(), v = {
1023
1023
  itemsCount: A
1024
1024
  }), (y, F) => (d(), b(Co, {
1025
1025
  ref_key: "treeRef",
1026
- ref: s,
1026
+ ref: n,
1027
1027
  class: "tree",
1028
1028
  tag: "ul",
1029
1029
  onDrop: j(i, ["stop"])
@@ -1033,8 +1033,8 @@ const U = Lo(), v = {
1033
1033
  key: f.id,
1034
1034
  model: f,
1035
1035
  treeId: B(r),
1036
- items: n.items,
1037
- search: n.search,
1036
+ items: s.items,
1037
+ search: s.search,
1038
1038
  onNodeclick: u,
1039
1039
  onNodedragover: h,
1040
1040
  onNodedrop: x,
@@ -1066,19 +1066,19 @@ const Bo = {
1066
1066
  },
1067
1067
  emits: ["move"],
1068
1068
  setup(e, { emit: t }) {
1069
- const o = e, n = (s) => {
1070
- t("move", s);
1069
+ const o = e, s = (n) => {
1070
+ t("move", n);
1071
1071
  };
1072
- return (s, a) => (d(), b(xt, {
1072
+ return (n, a) => (d(), b(xt, {
1073
1073
  class: "accordion",
1074
1074
  items: o.items,
1075
1075
  "no-select": o.noSelect,
1076
1076
  "render-title": o.renderTitle,
1077
1077
  "drop-inside": !1,
1078
- onMove: n
1078
+ onMove: s
1079
1079
  }, null, 8, ["items", "no-select", "render-title"]));
1080
1080
  }
1081
- }, Es = /* @__PURE__ */ ne(Bo, [["__scopeId", "data-v-a724c500"]]), Eo = {
1081
+ }, En = /* @__PURE__ */ se(Bo, [["__scopeId", "data-v-a724c500"]]), Eo = {
1082
1082
  __name: "DLayoutHeader",
1083
1083
  props: {
1084
1084
  fixed: {
@@ -1113,14 +1113,14 @@ const Bo = {
1113
1113
  },
1114
1114
  setup(e) {
1115
1115
  const t = e, o = m(() => {
1116
- const { fixed: n, zIndex: s, minWidth: a, height: l, paddingLeft: r, transitionDuration: i, transitionTimingFunction: c } = t, u = n ? "fixed" : "static", h = t.useMinWidthLayout ? `min-width:${a}px;` : "";
1117
- return `position:${u};z-index:${s};${h}height:${l}px;padding-left:${r}px;transition-duration:${i}ms;transition-timing-function:${c};`;
1116
+ const { fixed: s, zIndex: n, minWidth: a, height: l, paddingLeft: r, transitionDuration: i, transitionTimingFunction: c } = t, u = s ? "fixed" : "static", h = t.useMinWidthLayout ? `min-width:${a}px;` : "";
1117
+ return `position:${u};z-index:${n};${h}height:${l}px;padding-left:${r}px;transition-duration:${i}ms;transition-timing-function:${c};`;
1118
1118
  });
1119
- return (n, s) => (d(), p("header", {
1119
+ return (s, n) => (d(), p("header", {
1120
1120
  class: "d-layout-header",
1121
1121
  style: V(o.value)
1122
1122
  }, [
1123
- C(n.$slots, "default")
1123
+ C(s.$slots, "default")
1124
1124
  ], 4));
1125
1125
  }
1126
1126
  }, Mo = {
@@ -1162,14 +1162,14 @@ const Bo = {
1162
1162
  },
1163
1163
  setup(e) {
1164
1164
  const t = e, o = m(() => {
1165
- const { fixed: n, top: s, zIndex: a, minWidth: l, height: r, paddingLeft: i, transitionDuration: c, transitionTimingFunction: u } = t, h = n ? "fixed" : "static", x = t.useMinWidthLayout ? `min-width: ${l}px;` : "";
1166
- return `position:${h};top:${s}px;z-index:${a};${x}height:${r}px;padding-left:${i}px;transition-duration:${c}ms;transition-timing-function:${u};`;
1165
+ const { fixed: s, top: n, zIndex: a, minWidth: l, height: r, paddingLeft: i, transitionDuration: c, transitionTimingFunction: u } = t, h = s ? "fixed" : "static", x = t.useMinWidthLayout ? `min-width: ${l}px;` : "";
1166
+ return `position:${h};top:${n}px;z-index:${a};${x}height:${r}px;padding-left:${i}px;transition-duration:${c}ms;transition-timing-function:${u};`;
1167
1167
  });
1168
- return (n, s) => (d(), p("div", {
1168
+ return (s, n) => (d(), p("div", {
1169
1169
  class: "d-layout-tab",
1170
1170
  style: V(o.value)
1171
1171
  }, [
1172
- C(n.$slots, "default")
1172
+ C(s.$slots, "default")
1173
1173
  ], 4));
1174
1174
  }
1175
1175
  }, No = {
@@ -1207,14 +1207,14 @@ const Bo = {
1207
1207
  },
1208
1208
  setup(e) {
1209
1209
  const t = e, o = m(() => {
1210
- const { fixed: n, zIndex: s, minWidth: a, height: l, paddingLeft: r, transitionDuration: i, transitionTimingFunction: c } = t, u = n ? "fixed" : "static", h = t.useMinWidthLayout ? `min-width:${a}px;` : "";
1211
- return `position:${u};z-index:${s};${h}height:${l}px;padding-left:${r}px;transition-duration:${i}ms;transition-timing-function:${c};`;
1210
+ const { fixed: s, zIndex: n, minWidth: a, height: l, paddingLeft: r, transitionDuration: i, transitionTimingFunction: c } = t, u = s ? "fixed" : "static", h = t.useMinWidthLayout ? `min-width:${a}px;` : "";
1211
+ return `position:${u};z-index:${n};${h}height:${l}px;padding-left:${r}px;transition-duration:${i}ms;transition-timing-function:${c};`;
1212
1212
  });
1213
- return (n, s) => (d(), p("footer", {
1213
+ return (s, n) => (d(), p("footer", {
1214
1214
  class: "d-layout-footer",
1215
1215
  style: V(o.value)
1216
1216
  }, [
1217
- C(n.$slots, "default")
1217
+ C(s.$slots, "default")
1218
1218
  ], 4));
1219
1219
  }
1220
1220
  }, Ro = {
@@ -1247,14 +1247,14 @@ const Bo = {
1247
1247
  },
1248
1248
  setup(e) {
1249
1249
  const t = e, o = m(() => {
1250
- const { zIndex: n, width: s, paddingTop: a, transitionDuration: l, transitionTimingFunction: r } = t;
1251
- return `z-index:${n};width:${s}px;padding-top:${a}px;transition-duration:${l}ms;transition-timing-function:${r};`;
1250
+ const { zIndex: s, width: n, paddingTop: a, transitionDuration: l, transitionTimingFunction: r } = t;
1251
+ return `z-index:${s};width:${n}px;padding-top:${a}px;transition-duration:${l}ms;transition-timing-function:${r};`;
1252
1252
  });
1253
- return (n, s) => (d(), p("aside", {
1253
+ return (s, n) => (d(), p("aside", {
1254
1254
  class: "d-layout-sidebar",
1255
1255
  style: V(o.value)
1256
1256
  }, [
1257
- C(n.$slots, "default")
1257
+ C(s.$slots, "default")
1258
1258
  ], 4));
1259
1259
  }
1260
1260
  }, Oo = {
@@ -1284,27 +1284,27 @@ const Bo = {
1284
1284
  },
1285
1285
  setup(e) {
1286
1286
  const t = e, o = m(() => {
1287
- const { paddingTop: n, paddingBottom: s, paddingLeft: a, transitionDuration: l, transitionTimingFunction: r } = t, i = `overflow:${t.overflowHidden ? "hidden" : "visible"};`;
1288
- return `padding-top:${n}px;padding-bottom:${s}px;padding-left:${a}px;${i}transition-duration:${l}ms;transition-timing-function:${r};`;
1287
+ const { paddingTop: s, paddingBottom: n, paddingLeft: a, transitionDuration: l, transitionTimingFunction: r } = t, i = `overflow:${t.overflowHidden ? "hidden" : "visible"};`;
1288
+ return `padding-top:${s}px;padding-bottom:${n}px;padding-left:${a}px;${i}transition-duration:${l}ms;transition-timing-function:${r};`;
1289
1289
  });
1290
- return (n, s) => (d(), p("main", {
1290
+ return (s, n) => (d(), p("main", {
1291
1291
  style: V(o.value),
1292
1292
  class: "d-layout-content"
1293
1293
  }, [
1294
- C(n.$slots, "default")
1294
+ C(s.$slots, "default")
1295
1295
  ], 4));
1296
1296
  }
1297
1297
  };
1298
1298
  function Ao(e) {
1299
1299
  const t = T(0), o = m(() => `transform: translateX(${-t.value}px);`);
1300
- let n = !1;
1301
- function s(u) {
1300
+ let s = !1;
1301
+ function n(u) {
1302
1302
  t.value = u;
1303
1303
  }
1304
1304
  function a() {
1305
1305
  var u;
1306
1306
  const h = ((u = document.scrollingElement) === null || u === void 0 ? void 0 : u.scrollLeft) || 0;
1307
- s(h);
1307
+ n(h);
1308
1308
  }
1309
1309
  function l() {
1310
1310
  a();
@@ -1313,10 +1313,10 @@ function Ao(e) {
1313
1313
  document.addEventListener("scroll", a);
1314
1314
  }
1315
1315
  function i() {
1316
- n && document.removeEventListener("scroll", a);
1316
+ s && document.removeEventListener("scroll", a);
1317
1317
  }
1318
1318
  function c() {
1319
- l(), r(), n = !0;
1319
+ l(), r(), s = !0;
1320
1320
  }
1321
1321
  return vt(e, (u) => {
1322
1322
  u ? c() : i();
@@ -1324,7 +1324,7 @@ function Ao(e) {
1324
1324
  i();
1325
1325
  }), o;
1326
1326
  }
1327
- const Ho = 1001, Vo = 999, zo = 998, Ms = {
1327
+ const Ho = 1001, Vo = 999, zo = 998, Mn = {
1328
1328
  __name: "DLayoutAdmin",
1329
1329
  props: {
1330
1330
  mode: {
@@ -1415,7 +1415,7 @@ const Ho = 1001, Vo = 999, zo = 998, Ms = {
1415
1415
  },
1416
1416
  emits: ["update:sidebar-collapse", "sidebar-mask-click"],
1417
1417
  setup(e, { emit: t }) {
1418
- const o = e, n = m(() => o.useMinWidthLayout ? `min-width:${o.minWidth}px;` : ""), s = m(() => o.useMinWidthLayout && (o.fixedHeaderAndTab || o.fixedFooter)), a = Ao(s), l = m(() => o.fixedHeaderAndTab ? a.value : ""), r = m(() => o.fixedFooter ? a.value : ""), i = m(() => {
1418
+ const o = e, s = m(() => o.useMinWidthLayout ? `min-width:${o.minWidth}px;` : ""), n = m(() => o.useMinWidthLayout && (o.fixedHeaderAndTab || o.fixedFooter)), a = Ao(n), l = m(() => o.fixedHeaderAndTab ? a.value : ""), r = m(() => o.fixedFooter ? a.value : ""), i = m(() => {
1419
1419
  const { transitionDuration: g, transitionTimingFunction: R } = o;
1420
1420
  return {
1421
1421
  transitionDuration: g,
@@ -1446,7 +1446,7 @@ const Ho = 1001, Vo = 999, zo = 998, Ms = {
1446
1446
  }), M = m(() => o.fixedFooter && o.footerVisible ? o.footerHeight : 0);
1447
1447
  return (g, R) => (d(), p("div", {
1448
1448
  class: "d-layout",
1449
- style: V(n.value)
1449
+ style: V(s.value)
1450
1450
  }, [
1451
1451
  e.headerVisible ? (d(), b(Eo, ue({ key: 0 }, i.value, {
1452
1452
  fixed: e.fixedHeaderAndTab,
@@ -1536,7 +1536,7 @@ const Ho = 1001, Vo = 999, zo = 998, Ms = {
1536
1536
  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);
1537
1537
  }
1538
1538
  }
1539
- }, Ns = {
1539
+ }, Nn = {
1540
1540
  __name: "DConfigProvider",
1541
1541
  props: {
1542
1542
  theme: {
@@ -1546,10 +1546,10 @@ const Ho = 1001, Vo = 999, zo = 998, Ms = {
1546
1546
  },
1547
1547
  setup(e) {
1548
1548
  const t = e;
1549
- return pe.mutations.setTheme(t.theme), (o, n) => C(o.$slots, "default");
1549
+ return pe.mutations.setTheme(t.theme), (o, s) => C(o.$slots, "default");
1550
1550
  }
1551
1551
  };
1552
- const Rs = {
1552
+ const Rn = {
1553
1553
  __name: "DScrollProvider",
1554
1554
  props: {
1555
1555
  xHide: {
@@ -1565,13 +1565,13 @@ const Rs = {
1565
1565
  const t = e;
1566
1566
  Ae((a) => ({
1567
1567
  e35a6f9a: o.value,
1568
- e35a6f98: n.value
1568
+ e35a6f98: s.value
1569
1569
  }));
1570
- const o = m(() => t.xHide ? "hidden" : "visible"), n = m(() => t.yHide ? "hidden" : "visible"), s = (a) => {
1570
+ const o = m(() => t.xHide ? "hidden" : "visible"), s = m(() => t.yHide ? "hidden" : "visible"), n = (a) => {
1571
1571
  document.body.classList.add(a), document.documentElement.classList.add(a), document.documentElement.classList.add("d-global-scroll");
1572
1572
  };
1573
1573
  return me(() => {
1574
- s("colored-scroller");
1574
+ n("colored-scroller");
1575
1575
  }), (a, l) => (d(), p("div", null, [
1576
1576
  C(a.$slots, "default")
1577
1577
  ]));
@@ -1595,18 +1595,18 @@ const Fo = {
1595
1595
  },
1596
1596
  setup(e) {
1597
1597
  const t = e;
1598
- Ae((s) => ({
1598
+ Ae((n) => ({
1599
1599
  c07fa29a: o.value,
1600
- c07fa298: n.value
1600
+ c07fa298: s.value
1601
1601
  }));
1602
- const o = m(() => t.xHide ? "hidden" : "visible"), n = m(() => t.yHide ? "hidden" : "visible");
1603
- return (s, a) => (d(), p("div", {
1602
+ const o = m(() => t.xHide ? "hidden" : "visible"), s = m(() => t.yHide ? "hidden" : "visible");
1603
+ return (n, a) => (d(), p("div", {
1604
1604
  class: D(t.autoHide ? "d-scroll-hide" : "d-scroll")
1605
1605
  }, [
1606
- C(s.$slots, "default", {}, void 0, !0)
1606
+ C(n.$slots, "default", {}, void 0, !0)
1607
1607
  ], 2));
1608
1608
  }
1609
- }, Os = /* @__PURE__ */ ne(Fo, [["__scopeId", "data-v-d50b3609"]]), Wo = { class: "modal-content" }, Po = { class: "modal-header" }, jo = { class: "modal-title" }, Xo = { class: "modal-body" }, Yo = { class: "modal-footer" }, $t = {
1609
+ }, On = /* @__PURE__ */ se(Fo, [["__scopeId", "data-v-d50b3609"]]), Wo = { class: "modal-content" }, Po = { class: "modal-header" }, jo = { class: "modal-title" }, Xo = { class: "modal-body" }, Yo = { class: "modal-footer" }, $t = {
1610
1610
  __name: "DModal",
1611
1611
  props: {
1612
1612
  show: Boolean,
@@ -1617,12 +1617,12 @@ const Fo = {
1617
1617
  },
1618
1618
  emits: ["open", "close"],
1619
1619
  setup(e, { expose: t, emit: o }) {
1620
- const n = e, s = T(null), a = T(!1);
1621
- a.value = n == null ? void 0 : n.show;
1620
+ const s = e, n = T(null), a = T(!1);
1621
+ a.value = s == null ? void 0 : s.show;
1622
1622
  const l = () => {
1623
- a.value = !0, o("open", s);
1623
+ a.value = !0, o("open", n);
1624
1624
  }, r = () => {
1625
- a.value = !1, o("close", s);
1625
+ a.value = !1, o("close", n);
1626
1626
  };
1627
1627
  return t({
1628
1628
  show: l,
@@ -1635,12 +1635,12 @@ const Fo = {
1635
1635
  a.value ? J((d(), p("div", {
1636
1636
  key: 0,
1637
1637
  ref_key: "modalRef",
1638
- ref: s,
1638
+ ref: n,
1639
1639
  class: "modal"
1640
1640
  }, [
1641
1641
  _("div", {
1642
1642
  class: "modal-dialog",
1643
- style: V({ width: n.width, maxWidth: n.maxWidth })
1643
+ style: V({ width: s.width, maxWidth: s.maxWidth })
1644
1644
  }, [
1645
1645
  _("div", Wo, [
1646
1646
  _("div", Po, [
@@ -1670,19 +1670,19 @@ function Me(e) {
1670
1670
  e === void 0 && (e = ce.value.comp.returnValue()), ce.value.resolve(e), ce.value = null;
1671
1671
  }
1672
1672
  function kt(e, t, o = "default") {
1673
- return new Promise((n) => {
1673
+ return new Promise((s) => {
1674
1674
  ce.value = {
1675
1675
  dialog: e,
1676
1676
  props: t,
1677
1677
  wrapper: o,
1678
- resolve: n
1678
+ resolve: s
1679
1679
  };
1680
1680
  });
1681
1681
  }
1682
1682
  var Uo = (e, t) => {
1683
1683
  const o = e.__vccOpts || e;
1684
- for (const [n, s] of t)
1685
- o[n] = s;
1684
+ for (const [s, n] of t)
1685
+ o[s] = n;
1686
1686
  return o;
1687
1687
  };
1688
1688
  const qo = Mt({
@@ -1705,7 +1705,7 @@ const qo = Mt({
1705
1705
  };
1706
1706
  }
1707
1707
  });
1708
- function Go(e, t, o, n, s, a) {
1708
+ function Go(e, t, o, s, n, a) {
1709
1709
  return d(), b(Ne, pt(ft(e.transitionAttrs)), {
1710
1710
  default: E(() => [
1711
1711
  e.dialogRef && e.dialogRef.wrapper === e.name ? (d(), b(Y(e.dialogRef.dialog), ue({ key: 0 }, e.dialogRef.props, { ref: "dialogInstance" }), null, 16)) : k("", !0)
@@ -1724,7 +1724,7 @@ const Ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1724
1724
  const o = e;
1725
1725
  return t({
1726
1726
  returnValue: () => !0
1727
- }), (s, a) => (d(), p("div", null, [
1727
+ }), (n, a) => (d(), p("div", null, [
1728
1728
  Q($t, { show: !0 }, {
1729
1729
  "modal-title": E(() => [
1730
1730
  K(O(o.title), 1)
@@ -1748,7 +1748,7 @@ const Ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1748
1748
  })
1749
1749
  ]));
1750
1750
  }
1751
- }, Qo = { style: { display: "flex", "flex-direction": "row", "justify-content": "center", gap: "5px" } }, en = {
1751
+ }, Qo = { style: { display: "flex", "flex-direction": "row", "justify-content": "center", gap: "5px" } }, es = {
1752
1752
  __name: "DConfirmDialog",
1753
1753
  props: {
1754
1754
  title: String,
@@ -1758,7 +1758,7 @@ const Ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1758
1758
  const o = e;
1759
1759
  return t({
1760
1760
  returnValue: () => !0
1761
- }), (s, a) => (d(), p("div", null, [
1761
+ }), (n, a) => (d(), p("div", null, [
1762
1762
  Q($t, { show: !0 }, {
1763
1763
  "modal-title": E(() => [
1764
1764
  K(O(o.title), 1)
@@ -1791,7 +1791,7 @@ const Ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1791
1791
  })
1792
1792
  ]));
1793
1793
  }
1794
- }, tn = { class: "dropdown" }, As = {
1794
+ }, ts = { class: "dropdown" }, An = {
1795
1795
  __name: "DDropdown",
1796
1796
  props: {
1797
1797
  class: String,
@@ -1811,7 +1811,7 @@ const Ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1811
1811
  },
1812
1812
  emits: ["select", "click"],
1813
1813
  setup(e, { expose: t, emit: o }) {
1814
- const n = e, s = Le(), a = T(null), l = T(null), r = T(0), i = T(0), c = (S) => {
1814
+ const s = e, n = Le(), a = T(null), l = T(null), r = T(0), i = T(0), c = (S) => {
1815
1815
  if (o("click", S), a.value.isShowed()) {
1816
1816
  a.value.hide();
1817
1817
  return;
@@ -1822,20 +1822,20 @@ const Ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1822
1822
  });
1823
1823
  }, u = (S) => {
1824
1824
  o("select", S);
1825
- }, h = m(() => ({ left: r.value + "px", top: i.value + "px", position: n.bodyAsParent ? "absolute" : "fixed", ...n.menuStyle }));
1825
+ }, h = m(() => ({ left: r.value + "px", top: i.value + "px", position: s.bodyAsParent ? "absolute" : "fixed", ...s.menuStyle }));
1826
1826
  t({
1827
1827
  show: c
1828
1828
  });
1829
- const x = (S) => !!s[S];
1830
- return (S, N) => (d(), p("div", tn, [
1829
+ const x = (S) => !!n[S];
1830
+ return (S, N) => (d(), p("div", ts, [
1831
1831
  x("default") ? (d(), b(ie, {
1832
1832
  key: 0,
1833
1833
  ref_key: "buttonRef",
1834
1834
  ref: l,
1835
- class: D(n.class),
1836
- icon: n.icon,
1835
+ class: D(s.class),
1836
+ icon: s.icon,
1837
1837
  onClick: j(c, ["stop", "prevent"]),
1838
- type: n.type
1838
+ type: s.type
1839
1839
  }, {
1840
1840
  default: E(() => [
1841
1841
  C(S.$slots, "default")
@@ -1845,55 +1845,55 @@ const Ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1845
1845
  key: 1,
1846
1846
  ref_key: "buttonRef",
1847
1847
  ref: l,
1848
- class: D(n.class),
1849
- icon: n.icon,
1848
+ class: D(s.class),
1849
+ icon: s.icon,
1850
1850
  onClick: j(c, ["stop", "prevent"]),
1851
- type: n.type
1851
+ type: s.type
1852
1852
  }, null, 8, ["class", "icon", "onClick", "type"])),
1853
1853
  Q(bt, {
1854
1854
  ref_key: "dMenuRef",
1855
1855
  ref: a,
1856
- items: n.items,
1856
+ items: s.items,
1857
1857
  class: "dropdown-menu",
1858
1858
  style: V(h.value),
1859
1859
  "no-select": !0,
1860
1860
  onSelect: u,
1861
- "render-item-title": n.renderItemTitle,
1862
- "before-item": n.beforeItem,
1863
- "body-as-parent": n.bodyAsParent
1861
+ "render-item-title": s.renderItemTitle,
1862
+ "before-item": s.beforeItem,
1863
+ "body-as-parent": s.bodyAsParent
1864
1864
  }, null, 8, ["items", "style", "render-item-title", "before-item", "body-as-parent"])
1865
1865
  ]));
1866
1866
  }
1867
- }, on = {}, nn = { class: "d-panel" };
1868
- function sn(e, t) {
1869
- return d(), p("div", nn, [
1867
+ }, os = {}, ss = { class: "d-panel" };
1868
+ function ns(e, t) {
1869
+ return d(), p("div", ss, [
1870
1870
  C(e.$slots, "default")
1871
1871
  ]);
1872
1872
  }
1873
- const an = /* @__PURE__ */ ne(on, [["render", sn]]), ln = { class: "card-header" }, rn = { class: "modal-title" }, dn = { class: "card-body" }, cn = { class: "card-footer" }, Hs = {
1873
+ const as = /* @__PURE__ */ se(os, [["render", ns]]), is = { class: "card-header" }, ls = { class: "modal-title" }, rs = { class: "card-body" }, ds = { class: "card-footer" }, Hn = {
1874
1874
  __name: "DCard",
1875
1875
  setup(e) {
1876
- return (t, o) => (d(), b(an, { class: "d-card" }, {
1876
+ return (t, o) => (d(), b(as, { class: "d-card" }, {
1877
1877
  default: E(() => [
1878
- _("div", ln, [
1879
- _("h5", rn, [
1878
+ _("div", is, [
1879
+ _("h5", ls, [
1880
1880
  C(t.$slots, "title")
1881
1881
  ])
1882
1882
  ]),
1883
- _("div", dn, [
1883
+ _("div", rs, [
1884
1884
  C(t.$slots, "default")
1885
1885
  ]),
1886
- _("div", cn, [
1886
+ _("div", ds, [
1887
1887
  C(t.$slots, "footer")
1888
1888
  ])
1889
1889
  ]),
1890
1890
  _: 3
1891
1891
  }));
1892
1892
  }
1893
- }, un = /* @__PURE__ */ new Map();
1894
- class pn {
1895
- constructor(t, o, n) {
1896
- this.remaining = o, this.callback = t, this.notifyItem = n, this.resume();
1893
+ }, cs = /* @__PURE__ */ new Map();
1894
+ class us {
1895
+ constructor(t, o, s) {
1896
+ this.remaining = o, this.callback = t, this.notifyItem = s, this.resume();
1897
1897
  }
1898
1898
  pause() {
1899
1899
  clearTimeout(this.notifyItem.timer), this.remaining -= Date.now() - this.start;
@@ -1919,7 +1919,7 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
1919
1919
  name: "px",
1920
1920
  regexp: new RegExp(`^${Be}$`)
1921
1921
  }
1922
- ], fn = (e) => {
1922
+ ], ps = (e) => {
1923
1923
  if (e === "auto")
1924
1924
  return {
1925
1925
  type: e,
@@ -1937,23 +1937,23 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
1937
1937
  type: "",
1938
1938
  value: e
1939
1939
  };
1940
- }, mn = (e) => {
1940
+ }, fs = (e) => {
1941
1941
  switch (typeof e) {
1942
1942
  case "number":
1943
1943
  return { type: "px", value: e };
1944
1944
  case "string":
1945
- return fn(e);
1945
+ return ps(e);
1946
1946
  default:
1947
1947
  return { type: "", value: e };
1948
1948
  }
1949
1949
  }, lt = {
1950
1950
  x: /* @__PURE__ */ new Set(["left", "center", "right"]),
1951
1951
  y: /* @__PURE__ */ new Set(["top", "bottom"])
1952
- }, hn = ((e) => () => e++)(0), gn = (e) => typeof e != "string" ? [] : e.split(/\s+/gi).filter(Boolean), vn = (e) => {
1953
- typeof e == "string" && (e = gn(e));
1952
+ }, ms = ((e) => () => e++)(0), hs = (e) => typeof e != "string" ? [] : e.split(/\s+/gi).filter(Boolean), gs = (e) => {
1953
+ typeof e == "string" && (e = hs(e));
1954
1954
  let t = null, o = null;
1955
- return e.forEach((n) => {
1956
- lt.y.has(n) && (o = n), lt.x.has(n) && (t = n);
1955
+ return e.forEach((s) => {
1956
+ lt.y.has(s) && (o = s), lt.x.has(s) && (t = s);
1957
1957
  }), { x: t, y: o };
1958
1958
  }, Ee = {
1959
1959
  position: ["top", "right"],
@@ -1968,23 +1968,23 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
1968
1968
  opacity: [0, 1]
1969
1969
  }
1970
1970
  }
1971
- }, yn = {
1971
+ }, vs = {
1972
1972
  __name: "VelocityGroup",
1973
1973
  emits: ["enter", "leave", "after-leave"],
1974
1974
  setup(e, { emit: t }) {
1975
1975
  const o = (a, l) => {
1976
1976
  t("enter", a, l);
1977
- }, n = (a, l) => {
1977
+ }, s = (a, l) => {
1978
1978
  t("leave", a, l);
1979
- }, s = () => {
1979
+ }, n = () => {
1980
1980
  t("after-leave");
1981
1981
  };
1982
1982
  return (a, l) => (d(), b(yt, {
1983
1983
  tag: "span",
1984
1984
  css: !1,
1985
1985
  onEnter: o,
1986
- onLeave: n,
1987
- onAfterLeave: s
1986
+ onLeave: s,
1987
+ onAfterLeave: n
1988
1988
  }, {
1989
1989
  default: E(() => [
1990
1990
  C(a.$slots, "default")
@@ -1992,7 +1992,7 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
1992
1992
  _: 3
1993
1993
  }));
1994
1994
  }
1995
- }, _n = /* @__PURE__ */ Object.assign({
1995
+ }, ys = /* @__PURE__ */ Object.assign({
1996
1996
  inheritAttrs: !1
1997
1997
  }, {
1998
1998
  __name: "CssGroup",
@@ -2001,7 +2001,7 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2001
2001
  },
2002
2002
  setup(e) {
2003
2003
  const t = e;
2004
- return (o, n) => (d(), b(yt, {
2004
+ return (o, s) => (d(), b(yt, {
2005
2005
  tag: "span",
2006
2006
  name: t.name
2007
2007
  }, {
@@ -2011,10 +2011,10 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2011
2011
  _: 3
2012
2012
  }, 8, ["name"]));
2013
2013
  }
2014
- }), bn = ["data-id"], xn = ["onClick"], $n = ["innerHTML"], kn = ["innerHTML"], wn = {
2014
+ }), _s = ["data-id"], bs = ["onClick"], xs = ["innerHTML"], $s = ["innerHTML"], ks = {
2015
2015
  key: 0,
2016
2016
  class: "d-notification-title"
2017
- }, Sn = { class: "notification-content" }, Vs = {
2017
+ }, ws = { class: "notification-content" }, Vn = {
2018
2018
  __name: "DNotificationProvider",
2019
2019
  props: {
2020
2020
  group: {
@@ -2084,14 +2084,14 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2084
2084
  },
2085
2085
  emits: ["click", "destroy", "start"],
2086
2086
  setup(e, { emit: t }) {
2087
- const o = e, n = {
2087
+ const o = e, s = {
2088
2088
  IDLE: 0,
2089
2089
  DESTROYED: 2
2090
- }, s = T([]), a = T(null), l = T(un.get("velocity")), r = m(() => o.animationType === "velocity"), i = m(() => r.value ? yn : _n), c = m(() => s.value.filter((f) => f.state !== n.DESTROYED)), u = m(() => mn(o.width)), h = m(() => {
2091
- const { x: f, y: W } = vn(o.position), L = u.value.value, G = u.value.type, se = {
2090
+ }, n = T([]), a = T(null), l = T(cs.get("velocity")), r = m(() => o.animationType === "velocity"), i = m(() => r.value ? vs : ys), c = m(() => n.value.filter((f) => f.state !== s.DESTROYED)), u = m(() => fs(o.width)), h = m(() => {
2091
+ const { x: f, y: W } = gs(o.position), L = u.value.value, G = u.value.type, ne = {
2092
2092
  width: L + G
2093
2093
  };
2094
- return W && (se[W] = "0px"), f && (f === "center" ? se.left = `calc(50% - ${+L / 2}${G})` : se[f] = "0px"), se;
2094
+ return W && (ne[W] = "0px"), f && (f === "center" ? ne.left = `calc(50% - ${+L / 2}${G})` : ne[f] = "0px"), ne;
2095
2095
  }), x = m(() => "bottom" in h.value), S = (f) => {
2096
2096
  t("click", f), o.closeOnClick && M(f);
2097
2097
  }, N = () => {
@@ -2107,21 +2107,21 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2107
2107
  R();
2108
2108
  return;
2109
2109
  }
2110
- const W = typeof f.duration == "number" ? f.duration : o.duration, L = typeof f.speed == "number" ? f.speed : o.speed, G = typeof f.ignoreDuplicates == "boolean" ? f.ignoreDuplicates : o.ignoreDuplicates, { title: se, text: ve, type: ye, data: _e, id: be } = f, ee = {
2111
- id: be || hn(),
2112
- title: se,
2110
+ const W = typeof f.duration == "number" ? f.duration : o.duration, L = typeof f.speed == "number" ? f.speed : o.speed, G = typeof f.ignoreDuplicates == "boolean" ? f.ignoreDuplicates : o.ignoreDuplicates, { title: ne, text: ve, type: ye, data: _e, id: be } = f, ee = {
2111
+ id: be || ms(),
2112
+ title: ne,
2113
2113
  text: ve,
2114
2114
  type: ye,
2115
- state: n.IDLE,
2115
+ state: s.IDLE,
2116
2116
  speed: L,
2117
2117
  length: W + 2 * L,
2118
2118
  data: _e
2119
2119
  };
2120
- W >= 0 && (a.value = new pn(() => M(ee), ee.length, ee));
2120
+ W >= 0 && (a.value = new us(() => M(ee), ee.length, ee));
2121
2121
  const xe = o.reverse ? !x.value : x.value;
2122
2122
  let de = -1;
2123
2123
  const $e = c.value.some((he) => he.title === f.title && he.text === f.text);
2124
- (!G || !$e) && (xe ? (s.value.push(ee), t("start", ee), c.value.length > o.max && (de = 0)) : (s.value.unshift(ee), t("start", ee), c.value.length > o.max && (de = c.value.length - 1)), de !== -1 && M(c.value[de]));
2124
+ (!G || !$e) && (xe ? (n.value.push(ee), t("start", ee), c.value.length > o.max && (de = 0)) : (n.value.unshift(ee), t("start", ee), c.value.length > o.max && (de = c.value.length - 1)), de !== -1 && M(c.value[de]));
2125
2125
  }, P = (f) => {
2126
2126
  g(f);
2127
2127
  }, w = (f) => [
@@ -2129,9 +2129,9 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2129
2129
  o.classes,
2130
2130
  f.type || ""
2131
2131
  ], I = (f) => r.value ? void 0 : { transition: `all ${f.speed}ms` }, M = (f) => {
2132
- clearTimeout(f.timer), f.state = n.DESTROYED, F(), t("destroy", f);
2132
+ clearTimeout(f.timer), f.state = s.DESTROYED, F(), t("destroy", f);
2133
2133
  }, g = (f) => {
2134
- const W = s.value.find((L) => L.id === f);
2134
+ const W = n.value.find((L) => L.id === f);
2135
2135
  W && M(W);
2136
2136
  }, R = () => {
2137
2137
  c.value.forEach(M);
@@ -2157,7 +2157,7 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2157
2157
  });
2158
2158
  };
2159
2159
  function F() {
2160
- s.value = s.value.filter((f) => f.state !== n.DESTROYED);
2160
+ n.value = n.value.filter((f) => f.state !== s.DESTROYED);
2161
2161
  }
2162
2162
  return me(() => {
2163
2163
  U.on("notification-add", H), U.on("notification-close", P);
@@ -2194,24 +2194,24 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2194
2194
  key: 0,
2195
2195
  class: "d-notification-title",
2196
2196
  innerHTML: L.timer
2197
- }, null, 8, $n)) : k("", !0),
2197
+ }, null, 8, xs)) : k("", !0),
2198
2198
  _("div", {
2199
2199
  class: "notification-content",
2200
2200
  innerHTML: L.text
2201
- }, null, 8, kn)
2201
+ }, null, 8, $s)
2202
2202
  ], 64)) : (d(), p(le, { key: 1 }, [
2203
- L.title ? (d(), p("div", wn, O(L.title), 1)) : k("", !0),
2204
- _("div", Sn, O(L.text), 1)
2203
+ L.title ? (d(), p("div", ks, O(L.title), 1)) : k("", !0),
2204
+ _("div", ws, O(L.text), 1)
2205
2205
  ], 64))
2206
- ], 10, xn)
2206
+ ], 10, bs)
2207
2207
  ])
2208
- ], 44, bn))), 128))
2208
+ ], 44, _s))), 128))
2209
2209
  ]),
2210
2210
  _: 3
2211
2211
  }, 40, ["name"]))
2212
2212
  ], 4));
2213
2213
  }
2214
- }, Dn = { class: "d-info-progress-icon-container" }, Tn = { class: "d-info-progress-icon" }, Ln = { class: "d-info-progress-data-container" }, Cn = ["innerHTML"], zs = {
2214
+ }, Ss = { class: "d-info-progress-icon-container" }, Ds = { class: "d-info-progress-icon" }, Ts = { class: "d-info-progress-data-container" }, Ls = ["innerHTML"], zn = {
2215
2215
  __name: "DInfoProgress",
2216
2216
  props: {
2217
2217
  style: [String, Object],
@@ -2222,25 +2222,25 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2222
2222
  },
2223
2223
  emits: ["click"],
2224
2224
  setup(e, { emit: t }) {
2225
- const o = e, n = m(() => o.icon ? oe.getters.getIcon(o.icon) : null);
2226
- return (s, a) => (d(), p("div", {
2225
+ const o = e, s = m(() => o.icon ? oe.getters.getIcon(o.icon) : null);
2226
+ return (n, a) => (d(), p("div", {
2227
2227
  class: D(["d-info-progress", o.type ? `d-info-progress-${o.type}` : null]),
2228
2228
  style: V(o.style),
2229
2229
  onClick: a[0] || (a[0] = (l) => {
2230
2230
  t("click", l);
2231
2231
  })
2232
2232
  }, [
2233
- _("div", Dn, [
2234
- _("div", Tn, [
2233
+ _("div", Ss, [
2234
+ _("div", Ds, [
2235
2235
  o.icon ? (d(), b(Y(re), {
2236
2236
  key: 0,
2237
- component: n.value,
2237
+ component: s.value,
2238
2238
  color: "inherit",
2239
2239
  size: 17
2240
2240
  }, null, 8, ["component"])) : k("", !0)
2241
2241
  ])
2242
2242
  ]),
2243
- _("div", Ln, [
2243
+ _("div", Ts, [
2244
2244
  _("div", {
2245
2245
  class: "d-info-progress-line",
2246
2246
  style: V("width: " + o.progress + "%;")
@@ -2248,11 +2248,11 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2248
2248
  _("div", {
2249
2249
  class: "d-info-progress-label",
2250
2250
  innerHTML: e.label
2251
- }, null, 8, Cn)
2251
+ }, null, 8, Ls)
2252
2252
  ])
2253
2253
  ], 6));
2254
2254
  }
2255
- }, In = { class: "d-checkbox" }, Bn = ["id", "checked", "disabled"], En = ["for"], Fs = {
2255
+ }, Cs = { class: "d-checkbox" }, Is = ["id", "checked", "disabled"], Bs = ["for"], Fn = {
2256
2256
  __name: "DCheckbox",
2257
2257
  props: {
2258
2258
  label: String,
@@ -2266,44 +2266,44 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2266
2266
  },
2267
2267
  emits: ["update:modelValue"],
2268
2268
  setup(e, { emit: t }) {
2269
- const o = e, s = gt().uid, a = m({
2269
+ const o = e, n = gt().uid, a = m({
2270
2270
  get: () => o.modelValue,
2271
2271
  set: (l) => {
2272
2272
  t("update:modelValue", l);
2273
2273
  }
2274
2274
  });
2275
- return (l, r) => (d(), p("div", In, [
2275
+ return (l, r) => (d(), p("div", Cs, [
2276
2276
  J(_("input", {
2277
2277
  "onUpdate:modelValue": r[0] || (r[0] = (i) => a.value = i),
2278
- id: `i-${B(s)}`,
2278
+ id: `i-${B(n)}`,
2279
2279
  type: "checkbox",
2280
2280
  checked: o.checked,
2281
2281
  disabled: o.disabled,
2282
2282
  onChange: r[1] || (r[1] = (...i) => o.change && o.change(...i))
2283
- }, null, 40, Bn), [
2283
+ }, null, 40, Is), [
2284
2284
  [Nt, a.value]
2285
2285
  ]),
2286
2286
  _("label", {
2287
- for: `i-${B(s)}`
2288
- }, O(o.label), 9, En)
2287
+ for: `i-${B(n)}`
2288
+ }, O(o.label), 9, Bs)
2289
2289
  ]));
2290
2290
  }
2291
2291
  };
2292
- async function Mn(e, t) {
2293
- return await kt(en, { title: e, message: t });
2292
+ async function Es(e, t) {
2293
+ return await kt(es, { title: e, message: t });
2294
2294
  }
2295
- async function Nn(e, t) {
2295
+ async function Ms(e, t) {
2296
2296
  return await kt(Jo, { title: e, message: t });
2297
2297
  }
2298
- const Ws = {
2298
+ const Wn = {
2299
2299
  __name: "DDialogProvider",
2300
2300
  setup(e) {
2301
- return window.alert = Nn, window.confirm = Mn, (t, o) => (d(), b(B(Zo)));
2301
+ return window.alert = Ms, window.confirm = Es, (t, o) => (d(), b(B(Zo)));
2302
2302
  }
2303
- }, Rn = { class: "d-select" }, On = {
2303
+ }, Ns = { class: "d-select" }, Rs = {
2304
2304
  key: 0,
2305
2305
  class: "label"
2306
- }, An = ["disabled"], Hn = ["value", "selected", "disabled"], Ps = {
2306
+ }, Os = ["disabled"], As = ["value", "selected", "disabled"], Pn = {
2307
2307
  __name: "DSelect",
2308
2308
  props: {
2309
2309
  label: String,
@@ -2319,7 +2319,7 @@ const Ws = {
2319
2319
  },
2320
2320
  emits: ["update:modelValue"],
2321
2321
  setup(e, { emit: t }) {
2322
- const o = e, n = m(() => o.scale ? "d-select-" + o.scale : ""), s = m({
2322
+ const o = e, s = m(() => o.scale ? "d-select-" + o.scale : ""), n = m({
2323
2323
  get: () => o.modelValue,
2324
2324
  set: (a) => {
2325
2325
  t("update:modelValue", a);
@@ -2327,14 +2327,14 @@ const Ws = {
2327
2327
  });
2328
2328
  for (let a = 0; a < o.options.length; a++)
2329
2329
  if (o.options[a].selected) {
2330
- s.value = o.options[a].value;
2330
+ n.value = o.options[a].value;
2331
2331
  break;
2332
2332
  }
2333
- return (a, l) => (d(), p("div", Rn, [
2334
- o.label ? (d(), p("div", On, O(o.label), 1)) : k("", !0),
2333
+ return (a, l) => (d(), p("div", Ns, [
2334
+ o.label ? (d(), p("div", Rs, O(o.label), 1)) : k("", !0),
2335
2335
  J(_("select", {
2336
- "onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
2337
- class: D(n.value),
2336
+ "onUpdate:modelValue": l[0] || (l[0] = (r) => n.value = r),
2337
+ class: D(s.value),
2338
2338
  style: V(o.size === "wide" ? "width:100%" : ""),
2339
2339
  disabled: o.disabled
2340
2340
  }, [
@@ -2343,69 +2343,69 @@ const Ws = {
2343
2343
  value: r.value,
2344
2344
  selected: r.selected,
2345
2345
  disabled: r.disabled
2346
- }, O(r.label), 9, Hn))), 128))
2347
- ], 14, An), [
2348
- [Rt, s.value]
2346
+ }, O(r.label), 9, As))), 128))
2347
+ ], 14, Os), [
2348
+ [Rt, n.value]
2349
2349
  ])
2350
2350
  ]));
2351
2351
  }
2352
2352
  };
2353
- const Vn = ["title"], zn = { class: "tab-icon" }, Fn = { class: "tab-label" }, Wn = ["title"], Pn = ["title"], jn = {
2353
+ const Hs = ["title"], Vs = { class: "tab-icon" }, zs = { class: "tab-label" }, Fs = ["title"], Ws = ["title"], Ps = {
2354
2354
  __name: "DTabLabel",
2355
2355
  props: {
2356
2356
  tab: Object
2357
2357
  },
2358
2358
  setup(e) {
2359
2359
  const t = e;
2360
- return (o, n) => t.tab.label && t.tab.icon ? (d(), p("span", {
2360
+ return (o, s) => t.tab.label && t.tab.icon ? (d(), p("span", {
2361
2361
  key: 0,
2362
2362
  title: t.tab.title ? t.tab.title : "",
2363
2363
  style: { display: "flex", "flex-direction": "column" }
2364
2364
  }, [
2365
- _("div", zn, [
2365
+ _("div", Vs, [
2366
2366
  Q(B(re), {
2367
2367
  component: t.tab.icon
2368
2368
  }, null, 8, ["component"])
2369
2369
  ]),
2370
- _("div", Fn, O(t.tab.label), 1)
2371
- ], 8, Vn)) : t.tab.label ? (d(), p("span", {
2370
+ _("div", zs, O(t.tab.label), 1)
2371
+ ], 8, Hs)) : t.tab.label ? (d(), p("span", {
2372
2372
  key: 1,
2373
2373
  title: t.tab.title ? t.tab.title : ""
2374
- }, O(t.tab.label), 9, Wn)) : t.tab.icon ? (d(), p("span", {
2374
+ }, O(t.tab.label), 9, Fs)) : t.tab.icon ? (d(), p("span", {
2375
2375
  key: 2,
2376
2376
  title: t.tab.title ? t.tab.title : ""
2377
2377
  }, [
2378
2378
  Q(B(re), {
2379
2379
  component: t.tab.icon
2380
2380
  }, null, 8, ["component"])
2381
- ], 8, Pn)) : k("", !0);
2381
+ ], 8, Ws)) : k("", !0);
2382
2382
  }
2383
- }, Xn = /* @__PURE__ */ ne(jn, [["__scopeId", "data-v-9262b225"]]);
2384
- const Yn = { class: "d-tabs" }, Un = {
2383
+ }, js = /* @__PURE__ */ se(Ps, [["__scopeId", "data-v-9262b225"]]);
2384
+ const Xs = { class: "d-tabs" }, Ys = {
2385
2385
  __name: "DTabs",
2386
2386
  props: {
2387
2387
  tabs: Array
2388
2388
  },
2389
2389
  setup(e) {
2390
- const o = Ot(e, "tabs"), n = T(0), s = (a) => {
2391
- n.value = a;
2390
+ const o = Ot(e, "tabs"), s = T(0), n = (a) => {
2391
+ s.value = a;
2392
2392
  };
2393
2393
  return (a, l) => (d(), p(le, null, [
2394
- _("div", Yn, [
2395
- (d(!0), p(le, null, ge(o.value, (r, i) => (d(), b(Xn, {
2394
+ _("div", Xs, [
2395
+ (d(!0), p(le, null, ge(o.value, (r, i) => (d(), b(js, {
2396
2396
  index: i,
2397
2397
  tab: r,
2398
- class: D(["d-tab-title", i === n.value ? "active" : ""]),
2399
- onClick: (c) => s(i)
2398
+ class: D(["d-tab-title", i === s.value ? "active" : ""]),
2399
+ onClick: (c) => n(i)
2400
2400
  }, null, 8, ["index", "tab", "class", "onClick"]))), 256))
2401
2401
  ]),
2402
2402
  (d(), b(At, null, [
2403
- (d(), b(Y(o.value[n.value].component)))
2403
+ (d(), b(Y(o.value[s.value].component)))
2404
2404
  ], 1024))
2405
2405
  ], 64));
2406
2406
  }
2407
- }, js = /* @__PURE__ */ ne(Un, [["__scopeId", "data-v-5459fcb7"]]);
2408
- const qn = { class: "d-grid" }, Gn = {
2407
+ }, jn = /* @__PURE__ */ se(Ys, [["__scopeId", "data-v-5459fcb7"]]);
2408
+ const Us = { class: "d-grid" }, qs = {
2409
2409
  __name: "DGrid",
2410
2410
  props: {
2411
2411
  gap: {
@@ -2433,15 +2433,15 @@ const qn = { class: "d-grid" }, Gn = {
2433
2433
  "09eba33c": i[5],
2434
2434
  "898eb2ac": t.gap
2435
2435
  }));
2436
- const { colXs: o, colSm: n, colMd: s, colLg: a, colXl: l, colXxl: r } = Ht(t), i = [o.value, n.value, s.value, a.value, l.value, r.value];
2436
+ const { colXs: o, colSm: s, colMd: n, colLg: a, colXl: l, colXxl: r } = Ht(t), i = [o.value, s.value, n.value, a.value, l.value, r.value];
2437
2437
  let c = null;
2438
2438
  for (let u = 0; u < i.length; u++)
2439
2439
  c || (c = i[0]), u > 0 && (i[u] ? c = i[u] : i[u] = c);
2440
- return (u, h) => (d(), p("div", qn, [
2440
+ return (u, h) => (d(), p("div", Us, [
2441
2441
  C(u.$slots, "default", {}, void 0, !0)
2442
2442
  ]));
2443
2443
  }
2444
- }, Xs = /* @__PURE__ */ ne(Gn, [["__scopeId", "data-v-b45e8130"]]), Zn = ["src", "alt", "title"], Ys = {
2444
+ }, Xn = /* @__PURE__ */ se(qs, [["__scopeId", "data-v-b45e8130"]]), Gs = ["src", "alt", "title"], Yn = {
2445
2445
  __name: "DImage",
2446
2446
  props: {
2447
2447
  src: String,
@@ -2453,26 +2453,26 @@ const qn = { class: "d-grid" }, Gn = {
2453
2453
  radius: String
2454
2454
  },
2455
2455
  setup(e) {
2456
- const t = e, o = T(null), n = new Image();
2457
- return n.onload = () => {
2458
- o.value = n.src;
2459
- }, n.onerror = () => {
2456
+ const t = e, o = T(null), s = new Image();
2457
+ return s.onload = () => {
2458
+ o.value = s.src;
2459
+ }, s.onerror = () => {
2460
2460
  o.value = t.srcFail;
2461
2461
  }, me(() => {
2462
- n.src = t.src;
2463
- }), (s, a) => o.value ? (d(), p("img", {
2462
+ s.src = t.src;
2463
+ }), (n, a) => o.value ? (d(), p("img", {
2464
2464
  key: 0,
2465
2465
  src: o.value,
2466
2466
  alt: t.alt,
2467
2467
  title: t.title,
2468
2468
  style: V({ width: t.width, height: t.height, borderRadius: t.radius })
2469
- }, null, 12, Zn)) : k("", !0);
2469
+ }, null, 12, Gs)) : k("", !0);
2470
2470
  }
2471
2471
  };
2472
- const Kn = { class: "d-textarea" }, Jn = {
2472
+ const Zs = { class: "d-textarea" }, Ks = {
2473
2473
  key: 0,
2474
2474
  class: "label"
2475
- }, Qn = ["rows", "cols", "placeholder"], es = {
2475
+ }, Js = ["rows", "cols", "placeholder"], Qs = {
2476
2476
  __name: "DTextarea",
2477
2477
  props: {
2478
2478
  label: String,
@@ -2492,38 +2492,38 @@ const Kn = { class: "d-textarea" }, Jn = {
2492
2492
  },
2493
2493
  emits: ["update:modelValue"],
2494
2494
  setup(e, { expose: t, emit: o }) {
2495
- const n = e, s = T(null), a = m(() => n.scale === "small" ? "d-textarea-small" : n.scale === "large" ? "d-textarea-large" : ""), l = m({
2496
- get: () => n.modelValue,
2495
+ const s = e, n = T(null), a = m(() => s.scale === "small" ? "d-textarea-small" : s.scale === "large" ? "d-textarea-large" : ""), l = m({
2496
+ get: () => s.modelValue,
2497
2497
  set: (i) => {
2498
2498
  o("update:modelValue", i);
2499
2499
  }
2500
2500
  });
2501
2501
  me(() => {
2502
- n.focus && r();
2502
+ s.focus && r();
2503
2503
  });
2504
2504
  const r = () => {
2505
- s.value.focus();
2505
+ n.value.focus();
2506
2506
  };
2507
2507
  return t({
2508
2508
  focus: r
2509
- }), (i, c) => (d(), p("div", Kn, [
2510
- n.label ? (d(), p("div", Jn, O(n.label), 1)) : k("", !0),
2509
+ }), (i, c) => (d(), p("div", Zs, [
2510
+ s.label ? (d(), p("div", Ks, O(s.label), 1)) : k("", !0),
2511
2511
  J(_("textarea", {
2512
2512
  ref_key: "inputRef",
2513
- ref: s,
2513
+ ref: n,
2514
2514
  "onUpdate:modelValue": c[0] || (c[0] = (u) => l.value = u),
2515
- rows: n.rows,
2516
- cols: n.cols,
2517
- placeholder: n.placeholder,
2515
+ rows: s.rows,
2516
+ cols: s.cols,
2517
+ placeholder: s.placeholder,
2518
2518
  class: D(a.value),
2519
2519
  style: { width: "100%" }
2520
- }, null, 10, Qn), [
2520
+ }, null, 10, Js), [
2521
2521
  [Vt, l.value]
2522
2522
  ])
2523
2523
  ]));
2524
2524
  }
2525
- }, Us = /* @__PURE__ */ ne(es, [["__scopeId", "data-v-0e805d5d"]]);
2526
- class qs {
2525
+ }, Un = /* @__PURE__ */ se(Qs, [["__scopeId", "data-v-0e805d5d"]]);
2526
+ class qn {
2527
2527
  constructor(t) {
2528
2528
  this.fields = t;
2529
2529
  }
@@ -2534,18 +2534,18 @@ class qs {
2534
2534
  return !t;
2535
2535
  }
2536
2536
  }
2537
- class ts {
2537
+ class en {
2538
2538
  validate(t, o = "https") {
2539
2539
  return this._isValidURL(t) || (t = o + "://" + t), this._isValidURL(t);
2540
2540
  }
2541
2541
  message(t, o) {
2542
- let n = "";
2542
+ let s = "";
2543
2543
  switch (t) {
2544
2544
  case "url":
2545
- n = o;
2545
+ s = o;
2546
2546
  break;
2547
2547
  }
2548
- return n;
2548
+ return s;
2549
2549
  }
2550
2550
  _isValidURL(t) {
2551
2551
  try {
@@ -2555,8 +2555,8 @@ class ts {
2555
2555
  }
2556
2556
  }
2557
2557
  }
2558
- const os = new ts();
2559
- class ns {
2558
+ const tn = new en();
2559
+ class on {
2560
2560
  validate(t = "") {
2561
2561
  return t !== "";
2562
2562
  }
@@ -2564,8 +2564,8 @@ class ns {
2564
2564
  return t;
2565
2565
  }
2566
2566
  }
2567
- const ss = new ns();
2568
- class as {
2567
+ const sn = new on();
2568
+ class nn {
2569
2569
  validate(t = "", o = 0) {
2570
2570
  return t.length >= o;
2571
2571
  }
@@ -2573,8 +2573,8 @@ class as {
2573
2573
  return t;
2574
2574
  }
2575
2575
  }
2576
- const is = new as();
2577
- class ls {
2576
+ const an = new nn();
2577
+ class ln {
2578
2578
  validate(t = "", o = 0) {
2579
2579
  return t.length <= o;
2580
2580
  }
@@ -2582,8 +2582,8 @@ class ls {
2582
2582
  return t;
2583
2583
  }
2584
2584
  }
2585
- const rs = new ls();
2586
- class ds {
2585
+ const rn = new ln();
2586
+ class dn {
2587
2587
  validate(t) {
2588
2588
  return /^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(t);
2589
2589
  }
@@ -2591,8 +2591,8 @@ class ds {
2591
2591
  return t;
2592
2592
  }
2593
2593
  }
2594
- const cs = new ds();
2595
- class us {
2594
+ const cn = new dn();
2595
+ class un {
2596
2596
  validate(t) {
2597
2597
  return !isNaN(parseFloat(t)) && !isNaN(t - 0);
2598
2598
  }
@@ -2600,55 +2600,55 @@ class us {
2600
2600
  return t;
2601
2601
  }
2602
2602
  }
2603
- const ps = new us(), q = {
2604
- RulesUrl: os,
2605
- RulesRequired: ss,
2606
- RulesMin: is,
2607
- RulesMax: rs,
2608
- RulesEmail: cs,
2609
- RulesNumber: ps
2603
+ const pn = new un(), q = {
2604
+ RulesUrl: tn,
2605
+ RulesRequired: sn,
2606
+ RulesMin: an,
2607
+ RulesMax: rn,
2608
+ RulesEmail: cn,
2609
+ RulesNumber: pn
2610
2610
  };
2611
- class fs {
2611
+ class fn {
2612
2612
  validate(t, o) {
2613
- var s, a, l, r, i, c, u, h, x, S, N, $, H, P;
2614
- let n = "";
2613
+ var n, a, l, r, i, c, u, h, x, S, N, $, H, P;
2614
+ let s = "";
2615
2615
  if (o) {
2616
2616
  let w = !1;
2617
2617
  for (let I in o)
2618
2618
  if (!w)
2619
2619
  switch (I) {
2620
2620
  case "url":
2621
- n = q.RulesUrl.validate(t, "https") || t.length === 0 ? "" : q.RulesUrl.message("url", (s = o[I]) != null && s.message ? (a = o[I]) == null ? void 0 : a.message : "url_incorrect"), w = n !== "";
2621
+ s = q.RulesUrl.validate(t, "https") || t.length === 0 ? "" : q.RulesUrl.message("url", (n = o[I]) != null && n.message ? (a = o[I]) == null ? void 0 : a.message : "url_incorrect"), w = s !== "";
2622
2622
  break;
2623
2623
  case "required":
2624
- n = q.RulesRequired.validate(t) ? "" : q.RulesRequired.message((l = o[I]) != null && l.message ? (r = o[I]) == null ? void 0 : r.message : "required"), w = n !== "";
2624
+ s = q.RulesRequired.validate(t) ? "" : q.RulesRequired.message((l = o[I]) != null && l.message ? (r = o[I]) == null ? void 0 : r.message : "required"), w = s !== "";
2625
2625
  break;
2626
2626
  case "min":
2627
- n = q.RulesMin.validate(t, (i = o[I]) == null ? void 0 : i.value) ? "" : q.RulesMin.message((c = o[I]) != null && c.message ? (u = o[I]) == null ? void 0 : u.message : "very_small"), w = n !== "";
2627
+ s = q.RulesMin.validate(t, (i = o[I]) == null ? void 0 : i.value) ? "" : q.RulesMin.message((c = o[I]) != null && c.message ? (u = o[I]) == null ? void 0 : u.message : "very_small"), w = s !== "";
2628
2628
  break;
2629
2629
  case "max":
2630
- n = q.RulesMax.validate(t, (h = o[I]) == null ? void 0 : h.value) ? "" : q.RulesMax.message((x = o[I]) != null && x.message ? (S = o[I]) == null ? void 0 : S.message : "vary_large"), w = n !== "";
2630
+ s = q.RulesMax.validate(t, (h = o[I]) == null ? void 0 : h.value) ? "" : q.RulesMax.message((x = o[I]) != null && x.message ? (S = o[I]) == null ? void 0 : S.message : "vary_large"), w = s !== "";
2631
2631
  break;
2632
2632
  case "email":
2633
- n = q.RulesEmail.validate(t) ? "" : q.RulesMax.message((N = o[I]) != null && N.message ? ($ = o[I]) == null ? void 0 : $.message : "email_incorrect"), w = n !== "";
2633
+ s = q.RulesEmail.validate(t) ? "" : q.RulesMax.message((N = o[I]) != null && N.message ? ($ = o[I]) == null ? void 0 : $.message : "email_incorrect"), w = s !== "";
2634
2634
  break;
2635
2635
  case "number":
2636
- n = q.RulesNumber.validate(t) ? "" : q.RulesNumber.message(
2636
+ s = q.RulesNumber.validate(t) ? "" : q.RulesNumber.message(
2637
2637
  (H = o[I]) != null && H.message ? (P = o[I]) == null ? void 0 : P.message : "number_incorrect"
2638
- ), w = n !== "";
2638
+ ), w = s !== "";
2639
2639
  break;
2640
2640
  }
2641
2641
  }
2642
- return n;
2642
+ return s;
2643
2643
  }
2644
2644
  }
2645
- const ms = new fs(), hs = { style: { display: "flex", "flex-direction": "column" } }, gs = {
2645
+ const mn = new fn(), hn = { style: { display: "flex", "flex-direction": "column" } }, gn = {
2646
2646
  key: 0,
2647
2647
  class: "d-label"
2648
- }, vs = {
2648
+ }, vn = {
2649
2649
  key: 0,
2650
2650
  class: "text-red"
2651
- }, ys = { style: { display: "flex", "flex-direction": "row" } }, _s = { style: { flex: "1", position: "relative" } }, bs = /* @__PURE__ */ _("svg", {
2651
+ }, yn = { style: { display: "flex", "flex-direction": "row" } }, _n = { style: { flex: "1", position: "relative" } }, bn = /* @__PURE__ */ _("svg", {
2652
2652
  xmlns: "http://www.w3.org/2000/svg",
2653
2653
  viewBox: "0 0 24 24"
2654
2654
  }, [
@@ -2656,9 +2656,9 @@ const ms = new fs(), hs = { style: { display: "flex", "flex-direction": "column"
2656
2656
  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",
2657
2657
  fill: "currentColor"
2658
2658
  })
2659
- ], -1), xs = [
2660
- bs
2661
- ], $s = ["id", "type", "placeholder", "disabled"], ks = /* @__PURE__ */ _("svg", {
2659
+ ], -1), xn = [
2660
+ bn
2661
+ ], $n = ["id", "type", "placeholder", "disabled"], kn = /* @__PURE__ */ _("svg", {
2662
2662
  xmlns: "http://www.w3.org/2000/svg",
2663
2663
  viewBox: "0 0 24 24"
2664
2664
  }, [
@@ -2666,15 +2666,15 @@ const ms = new fs(), hs = { style: { display: "flex", "flex-direction": "column"
2666
2666
  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",
2667
2667
  fill: "currentColor"
2668
2668
  })
2669
- ], -1), ws = [
2670
- ks
2671
- ], Ss = {
2669
+ ], -1), wn = [
2670
+ kn
2671
+ ], Sn = {
2672
2672
  key: 1,
2673
2673
  class: "d-help"
2674
- }, Ds = {
2674
+ }, Dn = {
2675
2675
  key: 2,
2676
2676
  class: "d-error text-red"
2677
- }, Gs = {
2677
+ }, Gn = {
2678
2678
  __name: "DInputString",
2679
2679
  props: {
2680
2680
  form: Object,
@@ -2698,19 +2698,19 @@ const ms = new fs(), hs = { style: { display: "flex", "flex-direction": "column"
2698
2698
  },
2699
2699
  emits: ["update:modelValue", "input", "blur"],
2700
2700
  setup(e, { expose: t, emit: o }) {
2701
- const n = e, s = T(n.error), a = zt(), l = T(!1), r = T(null);
2701
+ const s = e, n = T(s.error), a = zt(), l = T(!1), r = T(null);
2702
2702
  //!props.form ? ref(null) : props.form.fields[props.name].ref
2703
2703
  const i = m({
2704
- get: () => n.modelValue,
2704
+ get: () => s.modelValue,
2705
2705
  //props.form?.fields[props.name].model.value,
2706
2706
  set: (w) => {
2707
2707
  o("update:modelValue", w);
2708
2708
  }
2709
- }), c = m(() => n.type === "password" ? "password" : "text"), u = m(() => n.scale), h = (w) => {
2709
+ }), c = m(() => s.type === "password" ? "password" : "text"), u = m(() => s.scale), h = (w) => {
2710
2710
  o("input", w), x();
2711
2711
  }, x = () => {
2712
- if (!(!n.form || !n.form.fields || !n.form.fields[n.name].rules))
2713
- return s.value = ms.validate(i.value, n.form.fields[n.name].rules), !!s.value;
2712
+ if (!(!s.form || !s.form.fields || !s.form.fields[s.name].rules))
2713
+ return n.value = mn.validate(i.value, s.form.fields[s.name].rules), !!n.value;
2714
2714
  };
2715
2715
  me(() => {
2716
2716
  S();
@@ -2723,7 +2723,7 @@ const ms = new fs(), hs = { style: { display: "flex", "flex-direction": "column"
2723
2723
  }, $ = (w) => {
2724
2724
  l.value = w;
2725
2725
  }, H = (w) => {
2726
- s.value = w;
2726
+ n.value = w;
2727
2727
  }, P = (w) => {
2728
2728
  o("blur", w);
2729
2729
  };
@@ -2732,35 +2732,35 @@ const ms = new fs(), hs = { style: { display: "flex", "flex-direction": "column"
2732
2732
  setError: H,
2733
2733
  validate: x
2734
2734
  }), (w, I) => {
2735
- var M, g, R, A, z, y, F, f, W, L, G, se, ve, ye, _e, be, ee, xe, de, $e, Ce, he, Fe, We, Pe, je, Xe, Ye, Ue, qe, Ge, Ze, Ke, Je, Qe, et, tt, ot, nt;
2735
+ var M, g, R, A, z, y, F, f, W, L, G, ne, ve, ye, _e, be, ee, xe, de, $e, Ce, he, Fe, We, Pe, je, Xe, Ye, Ue, qe, Ge, Ze, Ke, Je, Qe, et, tt, ot, st;
2736
2736
  return d(), p("div", {
2737
2737
  class: D(["d-input-string", u.value])
2738
2738
  }, [
2739
- _("div", hs, [
2740
- n.label ? (d(), p("div", gs, [
2741
- K(O(n.label), 1),
2742
- (M = n.form) != null && M.fields[n.name].rules && n.form.fields[n.name].rules.hasOwnProperty("required") ? (d(), p("span", vs, "*")) : k("", !0)
2739
+ _("div", hn, [
2740
+ s.label ? (d(), p("div", gn, [
2741
+ K(O(s.label), 1),
2742
+ (M = s.form) != null && M.fields[s.name].rules && s.form.fields[s.name].rules.hasOwnProperty("required") ? (d(), p("span", vn, "*")) : k("", !0)
2743
2743
  ])) : k("", !0),
2744
- _("div", ys, [
2745
- (R = (g = n.pre) == null ? void 0 : g.outside) != null && R.component ? (d(), p("div", {
2744
+ _("div", yn, [
2745
+ (R = (g = s.pre) == null ? void 0 : g.outside) != null && R.component ? (d(), p("div", {
2746
2746
  key: 0,
2747
- class: D(["d-pre", n.disabled ? "disabled" : ""])
2747
+ class: D(["d-pre", s.disabled ? "disabled" : ""])
2748
2748
  }, [
2749
- (d(), b(Y((z = (A = n.pre) == null ? void 0 : A.outside) == null ? void 0 : z.component)))
2750
- ], 2)) : (F = (y = n.pre) == null ? void 0 : y.outside) != null && F.text ? (d(), p("div", {
2749
+ (d(), b(Y((z = (A = s.pre) == null ? void 0 : A.outside) == null ? void 0 : z.component)))
2750
+ ], 2)) : (F = (y = s.pre) == null ? void 0 : y.outside) != null && F.text ? (d(), p("div", {
2751
2751
  key: 1,
2752
- class: D(["d-pre", n.disabled ? "disabled" : ""])
2752
+ class: D(["d-pre", s.disabled ? "disabled" : ""])
2753
2753
  }, [
2754
2754
  _("div", {
2755
2755
  class: D(["d-text", l.value ? "focused" : ""])
2756
- }, O((W = (f = n.pre) == null ? void 0 : f.outside) == null ? void 0 : W.text), 3)
2756
+ }, O((W = (f = s.pre) == null ? void 0 : f.outside) == null ? void 0 : W.text), 3)
2757
2757
  ], 2)) : k("", !0),
2758
- _("div", _s, [
2759
- (G = (L = n.pre) == null ? void 0 : L.inside) != null && G.action && ((ve = (se = n.pre) == null ? void 0 : se.inside) == null ? void 0 : ve.action) === "clear" && ((ye = i.value) == null ? void 0 : ye.length) > 0 ? (d(), p("div", {
2758
+ _("div", _n, [
2759
+ (G = (L = s.pre) == null ? void 0 : L.inside) != null && G.action && ((ve = (ne = s.pre) == null ? void 0 : ne.inside) == null ? void 0 : ve.action) === "clear" && ((ye = i.value) == null ? void 0 : ye.length) > 0 ? (d(), p("div", {
2760
2760
  key: 0,
2761
2761
  class: "d-pre-inside-button",
2762
2762
  onClick: N
2763
- }, xs)) : k("", !0),
2763
+ }, xn)) : k("", !0),
2764
2764
  J(_("input", {
2765
2765
  id: B(a),
2766
2766
  ref_key: "inputRef",
@@ -2768,44 +2768,44 @@ const ms = new fs(), hs = { style: { display: "flex", "flex-direction": "column"
2768
2768
  "onUpdate:modelValue": I[0] || (I[0] = (Ie) => i.value = Ie),
2769
2769
  style: { width: "100%" },
2770
2770
  type: c.value,
2771
- placeholder: n.placeholder,
2771
+ placeholder: s.placeholder,
2772
2772
  onInput: h,
2773
2773
  onFocus: I[1] || (I[1] = (Ie) => $(!0)),
2774
2774
  onBlur: P,
2775
2775
  onFocusout: I[2] || (I[2] = (Ie) => $(!1)),
2776
2776
  class: D([
2777
- (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" : "",
2778
- ($e = (de = n.post) == null ? void 0 : de.outside) != null && $e.component || (he = (Ce = n.post) == null ? void 0 : Ce.outside) != null && he.text ? "has-post" : "",
2779
- (We = (Fe = n.pre) == null ? void 0 : Fe.inside) != null && We.action ? "has-pre-inside-button" : "",
2780
- (je = (Pe = n.post) == null ? void 0 : Pe.inside) != null && je.action ? "has-post-inside-button" : "",
2777
+ (be = (_e = s.pre) == null ? void 0 : _e.outside) != null && be.component || (xe = (ee = s.pre) == null ? void 0 : ee.outside) != null && xe.text ? "has-pre" : "",
2778
+ ($e = (de = s.post) == null ? void 0 : de.outside) != null && $e.component || (he = (Ce = s.post) == null ? void 0 : Ce.outside) != null && he.text ? "has-post" : "",
2779
+ (We = (Fe = s.pre) == null ? void 0 : Fe.inside) != null && We.action ? "has-pre-inside-button" : "",
2780
+ (je = (Pe = s.post) == null ? void 0 : Pe.inside) != null && je.action ? "has-post-inside-button" : "",
2781
2781
  l.value ? "focused" : ""
2782
2782
  ]),
2783
- disabled: n.disabled
2784
- }, null, 42, $s), [
2783
+ disabled: s.disabled
2784
+ }, null, 42, $n), [
2785
2785
  [De, i.value]
2786
2786
  ]),
2787
- (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(), p("div", {
2787
+ (Ye = (Xe = s.post) == null ? void 0 : Xe.inside) != null && Ye.action && ((qe = (Ue = s.post) == null ? void 0 : Ue.inside) == null ? void 0 : qe.action) === "clear" && ((Ge = i.value) == null ? void 0 : Ge.length) > 0 ? (d(), p("div", {
2788
2788
  key: 1,
2789
2789
  class: "d-post-inside-button",
2790
2790
  onClick: N
2791
- }, ws)) : k("", !0)
2791
+ }, wn)) : k("", !0)
2792
2792
  ]),
2793
- (Ke = (Ze = n.post) == null ? void 0 : Ze.outside) != null && Ke.component ? (d(), p("div", {
2793
+ (Ke = (Ze = s.post) == null ? void 0 : Ze.outside) != null && Ke.component ? (d(), p("div", {
2794
2794
  key: 2,
2795
- class: D(["d-post", n.disabled ? "disabled" : ""])
2795
+ class: D(["d-post", s.disabled ? "disabled" : ""])
2796
2796
  }, [
2797
- (d(), b(Y((Qe = (Je = n.post) == null ? void 0 : Je.outside) == null ? void 0 : Qe.component)))
2798
- ], 2)) : (tt = (et = n.post) == null ? void 0 : et.outside) != null && tt.text ? (d(), p("div", {
2797
+ (d(), b(Y((Qe = (Je = s.post) == null ? void 0 : Je.outside) == null ? void 0 : Qe.component)))
2798
+ ], 2)) : (tt = (et = s.post) == null ? void 0 : et.outside) != null && tt.text ? (d(), p("div", {
2799
2799
  key: 3,
2800
- class: D(["d-post", n.disabled ? "disabled" : ""])
2800
+ class: D(["d-post", s.disabled ? "disabled" : ""])
2801
2801
  }, [
2802
2802
  _("div", {
2803
2803
  class: D(["d-text", l.value ? "focused" : ""])
2804
- }, O((nt = (ot = n.post) == null ? void 0 : ot.outside) == null ? void 0 : nt.text), 3)
2804
+ }, O((st = (ot = s.post) == null ? void 0 : ot.outside) == null ? void 0 : st.text), 3)
2805
2805
  ], 2)) : k("", !0)
2806
2806
  ]),
2807
- n.help ? (d(), p("div", Ss, O(n.help), 1)) : k("", !0),
2808
- s.value ? (d(), p("div", Ds, O(s.value), 1)) : k("", !0)
2807
+ s.help ? (d(), p("div", Sn, O(s.help), 1)) : k("", !0),
2808
+ n.value ? (d(), p("div", Dn, O(n.value), 1)) : k("", !0)
2809
2809
  ])
2810
2810
  ], 2);
2811
2811
  };
@@ -2835,7 +2835,7 @@ const ms = new fs(), hs = { style: { display: "flex", "flex-direction": "column"
2835
2835
  wt.close = (e) => {
2836
2836
  U.emit("notification-close", e);
2837
2837
  };
2838
- const Zs = () => ({ notify: wt }), Ks = {
2838
+ const Zn = () => ({ notify: wt }), Kn = {
2839
2839
  mounted: function(e, t) {
2840
2840
  e.clickOutsideEvent = function(o) {
2841
2841
  e === o.target || e.contains(o.target) || t.value(o, e);
@@ -2844,7 +2844,7 @@ const Zs = () => ({ notify: wt }), Ks = {
2844
2844
  unmounted: function(e) {
2845
2845
  document.removeEventListener("click", e.clickOutsideEvent);
2846
2846
  }
2847
- }, Js = {
2847
+ }, Jn = {
2848
2848
  beforeMount(e, t) {
2849
2849
  e._keydownCallback = (o) => {
2850
2850
  o.key === t.arg && t.value();
@@ -2853,7 +2853,7 @@ const Zs = () => ({ notify: wt }), Ks = {
2853
2853
  unmounted(e, t) {
2854
2854
  document.removeEventListener("keydown", e._keydownCallback), delete e._keydownCallback;
2855
2855
  }
2856
- }, Qs = {
2856
+ }, Qn = {
2857
2857
  beforeMount(e) {
2858
2858
  e.focus();
2859
2859
  }
@@ -2864,7 +2864,7 @@ function St(e) {
2864
2864
  function Dt(e) {
2865
2865
  return e.type.indexOf("mouse") !== -1 ? e.clientY : e.touches[0].clientY;
2866
2866
  }
2867
- var Ts = function() {
2867
+ var Tn = function() {
2868
2868
  var e = !1;
2869
2869
  try {
2870
2870
  var t = Object.defineProperty({}, "passive", {
@@ -2876,7 +2876,7 @@ var Ts = function() {
2876
2876
  } catch {
2877
2877
  }
2878
2878
  return e;
2879
- }(), Ls = {
2879
+ }(), Ln = {
2880
2880
  disableClick: !1,
2881
2881
  tapTolerance: 10,
2882
2882
  // px
@@ -2893,14 +2893,14 @@ var Ts = function() {
2893
2893
  // ms
2894
2894
  };
2895
2895
  function ke(e) {
2896
- var t = this.$$touchObj, o = e.type.indexOf("touch") >= 0, n = e.type.indexOf("mouse") >= 0, s = this;
2897
- o && (t.lastTouchStartTime = e.timeStamp), !(n && t.lastTouchStartTime && e.timeStamp - t.lastTouchStartTime < 350) && (t.touchStarted || (Tt(this), t.touchStarted = !0, t.touchMoved = !1, t.swipeOutBounded = !1, t.startX = St(e), t.startY = Dt(e), t.currentX = 0, t.currentY = 0, t.touchStartTime = e.timeStamp, t.hasSwipe = Z(this, "swipe") || Z(this, "swipe.left") || Z(this, "swipe.right") || Z(this, "swipe.top") || Z(this, "swipe.bottom"), Z(this, "hold") && (t.touchHoldTimer = setTimeout(function() {
2898
- t.touchHoldTimer = null, te(e, s, "hold");
2896
+ var t = this.$$touchObj, o = e.type.indexOf("touch") >= 0, s = e.type.indexOf("mouse") >= 0, n = this;
2897
+ o && (t.lastTouchStartTime = e.timeStamp), !(s && t.lastTouchStartTime && e.timeStamp - t.lastTouchStartTime < 350) && (t.touchStarted || (Tt(this), t.touchStarted = !0, t.touchMoved = !1, t.swipeOutBounded = !1, t.startX = St(e), t.startY = Dt(e), t.currentX = 0, t.currentY = 0, t.touchStartTime = e.timeStamp, t.hasSwipe = Z(this, "swipe") || Z(this, "swipe.left") || Z(this, "swipe.right") || Z(this, "swipe.top") || Z(this, "swipe.bottom"), Z(this, "hold") && (t.touchHoldTimer = setTimeout(function() {
2898
+ t.touchHoldTimer = null, te(e, n, "hold");
2899
2899
  }, t.options.touchHoldTolerance)), te(e, this, "press")));
2900
2900
  }
2901
2901
  function we(e) {
2902
- var t = this.$$touchObj, o = St(e), n = Dt(e), s = t.currentX !== o || t.currentY !== n;
2903
- if (t.currentX = o, t.currentY = n, t.touchMoved) {
2902
+ var t = this.$$touchObj, o = St(e), s = Dt(e), n = t.currentX !== o || t.currentY !== s;
2903
+ if (t.currentX = o, t.currentY = s, t.touchMoved) {
2904
2904
  if (t.hasSwipe && !t.swipeOutBounded) {
2905
2905
  var l = t.options.swipeTolerance;
2906
2906
  t.swipeOutBounded = Math.abs(t.startX - t.currentX) > l && Math.abs(t.startY - t.currentY) > l;
@@ -2909,11 +2909,11 @@ function we(e) {
2909
2909
  var a = t.options.tapTolerance;
2910
2910
  t.touchMoved = Math.abs(t.startX - t.currentX) > a || Math.abs(t.startY - t.currentY) > a, t.touchMoved && (ze(t), te(e, this, "drag.once"));
2911
2911
  }
2912
- if (Z(this, "rollover") && s) {
2912
+ if (Z(this, "rollover") && n) {
2913
2913
  var r = e.timeStamp, i = t.options.rollOverFrequency;
2914
2914
  (t.touchRollTime == null || r > t.touchRollTime + i) && (t.touchRollTime = r, te(e, this, "rollover"));
2915
2915
  }
2916
- if (Z(this, "drag") && t.touchStarted && t.touchMoved && s) {
2916
+ if (Z(this, "drag") && t.touchStarted && t.touchMoved && n) {
2917
2917
  var r = e.timeStamp, i = t.options.dragFrequency;
2918
2918
  (t.touchDragTime == null || r > t.touchDragTime + i) && (t.touchDragTime = r, te(e, this, "drag"));
2919
2919
  }
@@ -2923,10 +2923,10 @@ function rt() {
2923
2923
  ze(e), Ve(this), e.touchStarted = e.touchMoved = !1, e.startX = e.startY = 0;
2924
2924
  }
2925
2925
  function Se(e) {
2926
- var t = this.$$touchObj, o = e.type.indexOf("touch") >= 0, n = e.type.indexOf("mouse") >= 0;
2926
+ var t = this.$$touchObj, o = e.type.indexOf("touch") >= 0, s = e.type.indexOf("mouse") >= 0;
2927
2927
  o && (t.lastTouchEndTime = e.timeStamp);
2928
- var s = o && !t.touchHoldTimer;
2929
- if (ze(t), t.touchStarted = !1, Ve(this), !(n && t.lastTouchEndTime && e.timeStamp - t.lastTouchEndTime < 350))
2928
+ var n = o && !t.touchHoldTimer;
2929
+ if (ze(t), t.touchStarted = !1, Ve(this), !(s && t.lastTouchEndTime && e.timeStamp - t.lastTouchEndTime < 350))
2930
2930
  if (te(e, this, "release"), t.touchMoved) {
2931
2931
  if (t.hasSwipe && !t.swipeOutBounded) {
2932
2932
  var a = t.options.swipeTolerance, l, r = Math.abs(t.startY - t.currentY), i = Math.abs(t.startX - t.currentX);
@@ -2934,7 +2934,7 @@ function Se(e) {
2934
2934
  }
2935
2935
  } else if (Z(this, "longtap") && e.timeStamp - t.touchStartTime > t.options.longTapTimeInterval)
2936
2936
  e.cancelable && e.preventDefault(), te(e, this, "longtap");
2937
- else if (Z(this, "hold") && s) {
2937
+ else if (Z(this, "hold") && n) {
2938
2938
  e.cancelable && e.preventDefault();
2939
2939
  return;
2940
2940
  } else
@@ -2950,13 +2950,13 @@ function Z(e, t) {
2950
2950
  var o = e.$$touchObj.callbacks[t];
2951
2951
  return o != null && o.length > 0;
2952
2952
  }
2953
- function te(e, t, o, n) {
2954
- var s = t.$$touchObj, a = s.callbacks[o];
2953
+ function te(e, t, o, s) {
2954
+ var n = t.$$touchObj, a = n.callbacks[o];
2955
2955
  if (a == null || a.length === 0)
2956
2956
  return null;
2957
2957
  for (var l = 0; l < a.length; l++) {
2958
2958
  var r = a[l];
2959
- r.modifiers.stop && e.stopPropagation(), r.modifiers.prevent && e.preventDefault(), !(r.modifiers.self && e.target !== e.currentTarget) && typeof r.value == "function" && (n ? r.value(n, e) : r.value(e));
2959
+ r.modifiers.stop && e.stopPropagation(), r.modifiers.prevent && e.preventDefault(), !(r.modifiers.self && e.target !== e.currentTarget) && typeof r.value == "function" && (s ? r.value(s, e) : r.value(e));
2960
2960
  }
2961
2961
  }
2962
2962
  function Tt(e) {
@@ -2970,7 +2970,7 @@ function Ve(e) {
2970
2970
  function ze(e) {
2971
2971
  e.touchHoldTimer && (clearTimeout(e.touchHoldTimer), e.touchHoldTimer = null);
2972
2972
  }
2973
- function Cs(e, t) {
2973
+ function Cn(e, t) {
2974
2974
  var o = e.$$touchObj || {
2975
2975
  // an object contains all callbacks registered,
2976
2976
  // key is event name, value is an array
@@ -2978,16 +2978,16 @@ function Cs(e, t) {
2978
2978
  // prevent bind twice, set to true when event bound
2979
2979
  hasBindTouchEvents: !1,
2980
2980
  // default options, would be override by v-touch-options
2981
- options: Ls
2981
+ options: Ln
2982
2982
  };
2983
2983
  return t && (o.options = Object.assign({}, o.options, t)), e.$$touchObj = o, e.$$touchObj;
2984
2984
  }
2985
2985
  const ea = {
2986
2986
  beforeMount: function(e, t) {
2987
- const o = Cs(e);
2988
- let n = Ts ? { passive: !0 } : !1;
2989
- const s = t.arg || "tap";
2990
- switch (s) {
2987
+ const o = Cn(e);
2988
+ let s = Tn ? { passive: !0 } : !1;
2989
+ const n = t.arg || "tap";
2990
+ switch (n) {
2991
2991
  case "swipe":
2992
2992
  let a = t.modifiers;
2993
2993
  if (a.left || a.right || a.top || a.bottom) {
@@ -3001,42 +3001,42 @@ const ea = {
3001
3001
  break;
3002
3002
  case "press":
3003
3003
  case "drag":
3004
- t.modifiers.disablePassive && (n = !1);
3004
+ t.modifiers.disablePassive && (s = !1);
3005
3005
  default:
3006
- o.callbacks[s] = o.callbacks[s] || [], o.callbacks[s].push(t);
3006
+ o.callbacks[n] = o.callbacks[n] || [], o.callbacks[n].push(t);
3007
3007
  }
3008
- o.hasBindTouchEvents || (e.addEventListener("touchstart", ke, n), e.addEventListener("touchmove", we, n), e.addEventListener("touchcancel", rt), e.addEventListener("touchend", Se), o.options.disableClick || (e.addEventListener("mousedown", ke), e.addEventListener("mousemove", we), e.addEventListener("mouseup", Se), e.addEventListener("mouseenter", dt), e.addEventListener("mouseleave", ct)), o.hasBindTouchEvents = !0);
3008
+ o.hasBindTouchEvents || (e.addEventListener("touchstart", ke, s), e.addEventListener("touchmove", we, s), e.addEventListener("touchcancel", rt), e.addEventListener("touchend", Se), o.options.disableClick || (e.addEventListener("mousedown", ke), e.addEventListener("mousemove", we), e.addEventListener("mouseup", Se), e.addEventListener("mouseenter", dt), e.addEventListener("mouseleave", ct)), o.hasBindTouchEvents = !0);
3009
3009
  },
3010
3010
  unmounted: function(e) {
3011
3011
  e.removeEventListener("touchstart", ke), e.removeEventListener("touchmove", we), e.removeEventListener("touchcancel", rt), e.removeEventListener("touchend", Se), e.$$touchObj && !e.$$touchObj.options.disableClick && (e.removeEventListener("mousedown", ke), e.removeEventListener("mousemove", we), e.removeEventListener("mouseup", Se), e.removeEventListener("mouseenter", dt), e.removeEventListener("mouseleave", ct)), delete e.$$touchObj;
3012
3012
  }
3013
3013
  };
3014
3014
  export {
3015
- Es as DAccordion,
3015
+ En as DAccordion,
3016
3016
  Jo as DAlertDialog,
3017
3017
  co as DBadge,
3018
3018
  ie as DButton,
3019
- Hs as DCard,
3020
- Fs as DCheckbox,
3019
+ Hn as DCard,
3020
+ Fn as DCheckbox,
3021
3021
  uo as DCollapse,
3022
3022
  fe as DComponentStore,
3023
- Ns as DConfigProvider,
3024
- en as DConfirmDialog,
3023
+ Nn as DConfigProvider,
3024
+ es as DConfirmDialog,
3025
3025
  Io as DContextMenu,
3026
- Ws as DDialogProvider,
3026
+ Wn as DDialogProvider,
3027
3027
  at as DDrag,
3028
3028
  Co as DDrop,
3029
- As as DDropdown,
3030
- qs as DForm,
3029
+ An as DDropdown,
3030
+ qn as DForm,
3031
3031
  pe as DGlobalStore,
3032
- Xs as DGrid,
3032
+ Xn as DGrid,
3033
3033
  re as DIcon,
3034
3034
  oe as DIconStore,
3035
- Ys as DImage,
3036
- zs as DInfoProgress,
3037
- Bs as DInput,
3038
- Gs as DInputString,
3039
- Ms as DLayoutAdmin,
3035
+ Yn as DImage,
3036
+ zn as DInfoProgress,
3037
+ Bn as DInput,
3038
+ Gn as DInputString,
3039
+ Mn as DLayoutAdmin,
3040
3040
  Oo as DLayoutContent,
3041
3041
  No as DLayoutFooter,
3042
3042
  Eo as DLayoutHeader,
@@ -3044,26 +3044,26 @@ export {
3044
3044
  Mo as DLayoutTab,
3045
3045
  bt as DMenu,
3046
3046
  $t as DModal,
3047
- Vs as DNotificationProvider,
3048
- an as DPanel,
3049
- Os as DScroll,
3050
- Rs as DScrollProvider,
3051
- Ps as DSelect,
3052
- js as DTabs,
3053
- Us as DTextarea,
3047
+ Vn as DNotificationProvider,
3048
+ as as DPanel,
3049
+ On as DScroll,
3050
+ Rn as DScrollProvider,
3051
+ Pn as DSelect,
3052
+ jn as DTabs,
3053
+ Un as DTextarea,
3054
3054
  Te as DTransferStore,
3055
3055
  xt as DTree,
3056
3056
  To as DTreeItem,
3057
3057
  v as DTreeStore,
3058
3058
  q as Rules,
3059
- Nn as alert,
3060
- Ks as clickOutside,
3061
- Mn as confirm,
3059
+ Ms as alert,
3060
+ Kn as clickOutside,
3061
+ Es as confirm,
3062
3062
  U as emitter,
3063
3063
  Lo as eventsBus,
3064
- Qs as focus,
3065
- Js as keydown,
3064
+ Qn as focus,
3065
+ Jn as keydown,
3066
3066
  wt as notify,
3067
3067
  ea as touch,
3068
- Zs as useNotification
3068
+ Zn as useNotification
3069
3069
  };