doph-js 0.2.92 → 0.2.94

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 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";
1
+ import { useSlots as Ce, computed as h, h as st, openBlock as d, createBlock as b, unref as E, ref as T, createElementBlock as m, Fragment as le, normalizeClass as D, renderSlot as L, createCommentVNode as k, normalizeStyle as z, resolveDynamicComponent as U, createStaticVNode as ut, onMounted as me, toDisplayString as O, withDirectives as oe, createElementVNode as _, vModelDynamic as De, withCtx as B, createTextVNode as K, Transition as Ne, withModifiers as j, resolveComponent as Ct, resolveDirective as Re, normalizeProps as pt, guardReactiveProps as ft, createVNode as J, renderList as ge, pushScopeId as Lt, popScopeId as It, reactive as Oe, Teleport as mt, nextTick as ht, getCurrentInstance as gt, watch as vt, onUnmounted as Et, mergeProps as ue, useCssVars as Ae, shallowRef as Bt, defineComponent as Mt, TransitionGroup as yt, vModelCheckbox as Nt, vModelSelect as Rt, toRef as Ot, KeepAlive as At, toRefs as Ht, vModelText as Vt } from "vue";
2
2
  const re = {
3
3
  __name: "DIcon",
4
4
  props: {
@@ -7,79 +7,79 @@ const re = {
7
7
  color: String,
8
8
  className: String
9
9
  },
10
- setup(e) {
11
- const t = e, o = Le(), s = m(() => {
12
- const { className: r } = t;
10
+ setup(t) {
11
+ const e = t, o = Ce(), n = h(() => {
12
+ const { className: r } = e;
13
13
  return r === void 0 ? "icon" : ["icon", r].join(" ");
14
- }), n = m(() => {
15
- const { color: r } = t;
14
+ }), s = h(() => {
15
+ const { color: r } = e;
16
16
  return r === void 0 ? null : r;
17
- }), a = m(() => {
18
- const r = t.size ?? null;
17
+ }), a = h(() => {
18
+ const r = e.size ?? null;
19
19
  if (r !== void 0)
20
20
  return typeof r == "number" || /^\d+$/.test(r) ? `${r}px` : r;
21
- }), l = m(() => nt(
21
+ }), l = h(() => st(
22
22
  "i",
23
23
  {
24
- class: s.value,
24
+ class: n.value,
25
25
  style: {
26
- color: n.value,
26
+ color: s.value,
27
27
  fontSize: a.value
28
28
  }
29
29
  },
30
- t.component ? nt(t.component) : o
30
+ e.component ? st(e.component) : o
31
31
  ));
32
- return (r, i) => (d(), b(B(l)));
32
+ return (r, i) => (d(), b(E(l)));
33
33
  }
34
- }, oe = {
34
+ }, te = {
35
35
  state: {},
36
36
  getters: {
37
- getIcon(e) {
38
- return oe.state[e];
37
+ getIcon(t) {
38
+ return te.state[t];
39
39
  },
40
40
  getIcons() {
41
- return oe.state;
41
+ return te.state;
42
42
  }
43
43
  },
44
44
  mutations: {
45
- addIcon(e, t) {
46
- oe.state.name = t;
45
+ addIcon(t, e) {
46
+ te.state.name = e;
47
47
  },
48
- addIcons(e) {
49
- for (const t in e)
50
- e.hasOwnProperty(t) && (oe.state[t] = e[t]);
48
+ addIcons(t) {
49
+ for (const e in t)
50
+ t.hasOwnProperty(e) && (te.state[e] = t[e]);
51
51
  }
52
52
  }
53
53
  };
54
- function _t(e) {
55
- const t = e.value.getBoundingClientRect();
56
- let o = e.value, s = 0, n = 0;
54
+ function _t(t) {
55
+ const e = t.value.getBoundingClientRect();
56
+ let o = t.value, n = 0, s = 0;
57
57
  for (; o && !isNaN(o.offsetLeft) && !isNaN(o.offsetTop); )
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 };
58
+ n += o.offsetLeft - o.scrollLeft, s += o.offsetTop - o.scrollTop, o = o.offsetParent;
59
+ return { top: s, left: n, x: e.x, y: e.y, width: e.width, height: e.height };
60
60
  }
61
61
  function zt() {
62
- function e(n) {
63
- return n * Math.random() | 0;
62
+ function t(s) {
63
+ return s * Math.random() | 0;
64
64
  }
65
- function t() {
66
- return e(16).toString(16);
65
+ function e() {
66
+ return t(16).toString(16);
67
67
  }
68
- function o(n) {
68
+ function o(s) {
69
69
  let a = "";
70
- for (let l = 0; l < n; ++l)
71
- a += t();
70
+ for (let l = 0; l < s; ++l)
71
+ a += e();
72
72
  return a;
73
73
  }
74
- function s() {
75
- return (e(16) & 3 | 8).toString(16);
74
+ function n() {
75
+ return (t(16) & 3 | 8).toString(16);
76
76
  }
77
- return o(8) + "-" + o(4) + "-4" + o(3) + "-" + s() + o(3) + "-" + o(12);
77
+ return o(8) + "-" + o(4) + "-4" + o(3) + "-" + n() + o(3) + "-" + o(12);
78
78
  }
79
- const se = (e, t) => {
80
- const o = e.__vccOpts || e;
81
- for (const [s, n] of t)
82
- o[s] = n;
79
+ const ne = (t, e) => {
80
+ const o = t.__vccOpts || t;
81
+ for (const [n, s] of e)
82
+ o[n] = s;
83
83
  return o;
84
84
  }, Ft = {
85
85
  key: 0,
@@ -119,51 +119,51 @@ const se = (e, t) => {
119
119
  }
120
120
  },
121
121
  emits: ["click", "contextmenu"],
122
- setup(e, { expose: t, emit: o }) {
123
- const s = e, n = Le(), a = T(null), l = m(() => s.icon ? oe.getters.getIcon(s.icon) : null), r = ($) => {
122
+ setup(t, { expose: e, emit: o }) {
123
+ const n = t, s = Ce(), a = T(null), l = h(() => n.icon ? te.getters.getIcon(n.icon) : null), r = ($) => {
124
124
  o("click", $);
125
125
  }, i = ($) => {
126
126
  o("contextmenu", $);
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${$}` : "";
127
+ }, c = h(() => n.scale === "large" ? "button-lg" : n.scale === "small" ? "button-sm" : ""), u = h(() => n.disabled ? "disabled" : ""), g = ($) => !!s[$], x = h(() => g("default") ? "" : n.scale === "large" ? "d-button-lg-icon" : n.scale === "small" ? "d-button-sm-icon" : "d-button-icon"), C = h(() => {
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${$}` : "";
130
130
  });
131
- return t({
131
+ return e({
132
132
  elementSize: () => _t(a)
133
- }), ($, H) => (d(), p(le, null, [
134
- l.value ? k("", !0) : (d(), p("div", {
133
+ }), ($, H) => (d(), m(le, null, [
134
+ l.value ? k("", !0) : (d(), m("div", {
135
135
  key: 0,
136
136
  ref_key: "el",
137
137
  ref: a,
138
138
  onClick: r,
139
139
  onContextmenu: i,
140
- class: D(["button", [s.class, c.value, S.value, u.value].join(" ")])
140
+ class: D(["button", [n.class, c.value, C.value, u.value].join(" ")])
141
141
  }, [
142
- C($.$slots, "default", {}, void 0, !0),
143
- s.loading ? (d(), p("svg", Ft, Pt)) : k("", !0)
142
+ L($.$slots, "default", {}, void 0, !0),
143
+ n.loading ? (d(), m("svg", Ft, Pt)) : k("", !0)
144
144
  ], 34)),
145
- l.value ? (d(), p("div", {
145
+ l.value ? (d(), m("div", {
146
146
  key: 1,
147
147
  ref_key: "el",
148
148
  ref: a,
149
149
  onClick: r,
150
150
  onContextmenu: i,
151
- class: D(["button button-ext", [s.class, c.value, x.value, S.value, u.value].join(" ")]),
152
- style: V(s.style)
151
+ class: D(["button button-ext", [n.class, c.value, x.value, C.value, u.value].join(" ")]),
152
+ style: z(n.style)
153
153
  }, [
154
- s.icon ? (d(), b(Y(re), {
154
+ n.icon ? (d(), b(U(re), {
155
155
  key: 0,
156
156
  component: l.value,
157
157
  color: "inherit"
158
158
  }, null, 8, ["component"])) : k("", !0),
159
- B(n).default ? (d(), p("div", jt, [
160
- C($.$slots, "default", {}, void 0, !0)
159
+ E(s).default ? (d(), m("div", jt, [
160
+ L($.$slots, "default", {}, void 0, !0)
161
161
  ])) : k("", !0),
162
- s.loading ? (d(), p("svg", Xt, Ut)) : k("", !0)
162
+ n.loading ? (d(), m("svg", Xt, Ut)) : k("", !0)
163
163
  ], 38)) : k("", !0)
164
164
  ], 64));
165
165
  }
166
- }, ie = /* @__PURE__ */ se(qt, [["__scopeId", "data-v-e5cd6ccd"]]);
166
+ }, ie = /* @__PURE__ */ ne(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"], so = {
180
+ }, eo = { style: { display: "flex", "align-items": "flex-end", "justify-content": "flex-start" } }, to = { style: { flex: "1" } }, oo = ["type", "placeholder"], no = {
181
181
  key: 2,
182
182
  class: "d-input",
183
183
  style: { display: "flex", "flex-direction": "column" }
184
- }, no = {
184
+ }, so = {
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 = {
@@ -198,98 +198,98 @@ const Gt = {
198
198
  focus: Boolean
199
199
  },
200
200
  emits: ["update:modelValue"],
201
- setup(e, { expose: t, emit: o }) {
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,
201
+ setup(t, { expose: e, emit: o }) {
202
+ const n = t, s = T(null), a = h(() => n.scale === "small" ? "d-input-small" : n.scale === "large" ? "d-input-large" : ""), l = h({
203
+ get: () => n.modelValue,
204
204
  set: (i) => {
205
205
  o("update:modelValue", i);
206
206
  }
207
207
  });
208
208
  me(() => {
209
- s.focus && r();
209
+ n.focus && r();
210
210
  });
211
211
  const r = () => {
212
- n.value.focus();
212
+ s.value.focus();
213
213
  };
214
- return t({
214
+ return e({
215
215
  focus: r
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
- J(_("input", {
216
+ }), (i, c) => !n.post && !n.pre ? (d(), m("div", Gt, [
217
+ n.label ? (d(), m("div", Zt, O(n.label), 1)) : k("", !0),
218
+ oe(_("input", {
219
219
  ref_key: "inputRef",
220
- ref: n,
220
+ ref: s,
221
221
  "onUpdate:modelValue": c[0] || (c[0] = (u) => l.value = u),
222
- type: s.password ? "password" : "text",
222
+ type: n.password ? "password" : "text",
223
223
  class: D(a.value),
224
- placeholder: s.placeholder,
224
+ placeholder: n.placeholder,
225
225
  style: { width: "100%" }
226
226
  }, null, 10, Kt), [
227
227
  [De, l.value]
228
228
  ])
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),
229
+ ])) : n.post && n.post.click && !n.pre ? (d(), m("div", Jt, [
230
+ n.label ? (d(), m("div", Qt, O(n.label), 1)) : k("", !0),
231
231
  _("div", eo, [
232
232
  _("div", to, [
233
- J(_("input", {
233
+ oe(_("input", {
234
234
  ref_key: "inputRef",
235
- ref: n,
235
+ ref: s,
236
236
  class: D(["d-input-post-field", a.value]),
237
237
  "onUpdate:modelValue": c[1] || (c[1] = (u) => l.value = u),
238
- type: s.password ? "password" : "text",
239
- placeholder: s.placeholder,
238
+ type: n.password ? "password" : "text",
239
+ placeholder: n.placeholder,
240
240
  style: { width: "100%" }
241
241
  }, null, 10, oo), [
242
242
  [De, l.value]
243
243
  ])
244
244
  ]),
245
- s.post.label ? (d(), b(ie, {
245
+ n.post.label ? (d(), b(ie, {
246
246
  key: 0,
247
- scale: s.scale,
248
- class: D(["d-input-post-button", s.post.class]),
249
- onClick: s.post.click,
250
- icon: s.post.icon
247
+ scale: n.scale,
248
+ class: D(["d-input-post-button", n.post.class]),
249
+ onClick: n.post.click,
250
+ icon: n.post.icon
251
251
  }, {
252
- default: E(() => [
253
- K(O(s.post.label), 1)
252
+ default: B(() => [
253
+ K(O(n.post.label), 1)
254
254
  ]),
255
255
  _: 1
256
256
  }, 8, ["scale", "onClick", "icon", "class"])) : (d(), b(ie, {
257
257
  key: 1,
258
- scale: s.scale,
259
- class: D(["d-input-post-button", s.post.class]),
260
- onClick: s.post.click,
261
- icon: s.post.icon
258
+ scale: n.scale,
259
+ class: D(["d-input-post-button", n.post.class]),
260
+ onClick: n.post.click,
261
+ icon: n.post.icon
262
262
  }, null, 8, ["scale", "onClick", "icon", "class"]))
263
263
  ])
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),
264
+ ])) : !n.post && n.pre && n.pre.click ? (d(), m("div", no, [
265
+ n.label ? (d(), m("div", so, O(n.label), 1)) : k("", !0),
266
266
  _("div", ao, [
267
- s.pre.label ? (d(), b(ie, {
267
+ n.pre.label ? (d(), b(ie, {
268
268
  key: 0,
269
- scale: s.scale,
270
- class: D(["d-input-pre-button", s.pre.class]),
271
- onClick: s.pre.click,
272
- icon: s.pre.icon
269
+ scale: n.scale,
270
+ class: D(["d-input-pre-button", n.pre.class]),
271
+ onClick: n.pre.click,
272
+ icon: n.pre.icon
273
273
  }, {
274
- default: E(() => [
275
- K(O(s.pre.label), 1)
274
+ default: B(() => [
275
+ K(O(n.pre.label), 1)
276
276
  ]),
277
277
  _: 1
278
278
  }, 8, ["scale", "onClick", "icon", "class"])) : (d(), b(ie, {
279
279
  key: 1,
280
- scale: s.scale,
281
- class: D(["d-input-pre-button", s.pre.class]),
282
- onClick: s.pre.click,
283
- icon: s.pre.icon
280
+ scale: n.scale,
281
+ class: D(["d-input-pre-button", n.pre.class]),
282
+ onClick: n.pre.click,
283
+ icon: n.pre.icon
284
284
  }, null, 8, ["scale", "onClick", "icon", "class"])),
285
285
  _("div", io, [
286
- J(_("input", {
286
+ oe(_("input", {
287
287
  ref_key: "inputRef",
288
- ref: n,
288
+ ref: s,
289
289
  class: D(["d-input-pre-field", a.value]),
290
290
  "onUpdate:modelValue": c[2] || (c[2] = (u) => l.value = u),
291
- type: s.password ? "password" : "text",
292
- placeholder: s.placeholder,
291
+ type: n.password ? "password" : "text",
292
+ placeholder: n.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
- }, Bn = /* @__PURE__ */ se(ro, [["__scopeId", "data-v-a972038a"]]), co = {
301
+ }, Es = /* @__PURE__ */ ne(ro, [["__scopeId", "data-v-a972038a"]]), co = {
302
302
  __name: "DBadge",
303
303
  props: {
304
304
  scale: String,
@@ -309,15 +309,15 @@ const Gt = {
309
309
  default: !1
310
310
  }
311
311
  },
312
- setup(e) {
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` : "";
312
+ setup(t) {
313
+ const e = t, o = h(() => e.scale === "large" ? "badge-lg" : e.scale === "small" ? "badge-sm" : ""), n = h(() => {
314
+ const s = e.stress ? "-stress" : "";
315
+ return e.type === "primary" ? `badge${s}-blue` : e.type === "success" ? `badge${s}-green` : e.type === "error" ? `badge${s}-red` : e.type === "warning" ? `badge${s}-orange` : e.type === "wait" ? `badge${s}-violet` : e.stress ? `badge${s}-gray` : "";
316
316
  });
317
- return (n, a) => (d(), p("div", {
318
- class: D(["badge", [t.class, o.value, s.value].join(" ")])
317
+ return (s, a) => (d(), m("div", {
318
+ class: D(["badge", [e.class, o.value, n.value].join(" ")])
319
319
  }, [
320
- C(n.$slots, "default")
320
+ L(s.$slots, "default")
321
321
  ], 2));
322
322
  }
323
323
  }, ae = "0px", uo = {
@@ -344,8 +344,8 @@ const Gt = {
344
344
  default: 1
345
345
  }
346
346
  },
347
- setup(e) {
348
- const t = e, o = (i) => ({
347
+ setup(t) {
348
+ const e = t, o = (i) => ({
349
349
  height: i == null ? void 0 : i.style.height,
350
350
  width: i == null ? void 0 : i.style.width,
351
351
  position: i == null ? void 0 : i.style.position,
@@ -357,20 +357,20 @@ 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
- }), s = (i, c) => {
360
+ }), n = (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
- let { height: h } = getComputedStyle(i);
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
- }, n = (i, c, u, h, x) => {
366
- const S = i.animate(h, x);
367
- i.style.height = c.height, S.onfinish = () => {
363
+ let { height: g } = getComputedStyle(i);
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 : g;
365
+ }, s = (i, c, u, g, x) => {
366
+ const C = i.animate(g, x);
367
+ i.style.height = c.height, C.onfinish = () => {
368
368
  i.style.overflow = c.overflow, u();
369
369
  };
370
370
  }, a = (i, c) => [
371
371
  {
372
372
  height: ae,
373
- opacity: t.opacityClosed,
373
+ opacity: e.opacityClosed,
374
374
  paddingTop: ae,
375
375
  paddingBottom: ae,
376
376
  borderTopWidth: ae,
@@ -380,7 +380,7 @@ const Gt = {
380
380
  },
381
381
  {
382
382
  height: i,
383
- opacity: t.opacityOpened,
383
+ opacity: e.opacityOpened,
384
384
  paddingTop: c.paddingTop,
385
385
  paddingBottom: c.paddingBottom,
386
386
  borderTopWidth: c.borderTopWidth,
@@ -389,28 +389,28 @@ const Gt = {
389
389
  marginBottom: c.marginBottom
390
390
  }
391
391
  ], l = (i, c) => {
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);
392
+ const u = i, g = o(u), x = n(u, g), C = a(x, g), R = { duration: e.duration, easing: e.easingEnter };
393
+ s(u, g, c, C, R);
394
394
  }, r = (i, c) => {
395
- const u = i, h = o(u), { height: x } = getComputedStyle(u);
395
+ const u = i, g = o(u), { height: x } = getComputedStyle(u);
396
396
  u.style.height = x, u.style.overflow = "hidden";
397
- const S = a(x, h).reverse(), N = { duration: t.duration, easing: t.easingLeave };
398
- n(u, h, c, S, N);
397
+ const C = a(x, g).reverse(), R = { duration: e.duration, easing: e.easingLeave };
398
+ s(u, g, c, C, R);
399
399
  };
400
400
  return (i, c) => (d(), b(Ne, {
401
401
  css: !1,
402
402
  onEnter: l,
403
403
  onLeave: r
404
404
  }, {
405
- default: E(() => [
406
- C(i.$slots, "default")
405
+ default: B(() => [
406
+ L(i.$slots, "default")
407
407
  ]),
408
408
  _: 3
409
409
  }));
410
410
  }
411
411
  }, Te = {
412
412
  data: void 0
413
- }, He = (e) => e.reduce((t, o) => (t[o] = o) && t, {}), X = He([
413
+ }, He = (t) => t.reduce((e, o) => (e[o] = o) && e, {}), X = He([
414
414
  "drag",
415
415
  "dragend",
416
416
  "dragenter",
@@ -433,58 +433,58 @@ const Gt = {
433
433
  props: {
434
434
  draggable: { type: Boolean, default: !0 },
435
435
  transferData: {},
436
- dropEffect: { validator: (e) => e in po },
437
- effectAllowed: { validator: (e) => e in fo },
436
+ dropEffect: { validator: (t) => t in po },
437
+ effectAllowed: { validator: (t) => t in fo },
438
438
  image: String,
439
439
  imageXOffset: { type: Number, default: 0 },
440
440
  imageYOffset: { type: Number, default: 0 },
441
441
  hideImageHtml: { type: Boolean, default: !1 },
442
442
  tag: { type: String, default: "div" }
443
443
  },
444
- setup(e) {
445
- const t = e, o = Le(), s = T(!1), n = m(() => s && t.transferData), a = m(() => ({ position: "fixed", top: "-1000px" })), l = (r, i) => {
444
+ setup(t) {
445
+ const e = t, o = Ce(), n = T(!1), s = h(() => n && e.transferData), a = h(() => ({ position: "fixed", top: "-1000px" })), l = (r, i) => {
446
446
  const c = i.dataTransfer;
447
- if ([X.dragenter, X.dragover].includes(r) && t.dropEffect && (c.dropEffect = t.dropEffect), r === X.dragstart) {
448
- if (t.effectAllowed && (c.effectAllowed = t.effectAllowed), t.image || o.image) {
447
+ if ([X.dragenter, X.dragover].includes(r) && e.dropEffect && (c.dropEffect = e.dropEffect), r === X.dragstart) {
448
+ if (e.effectAllowed && (c.effectAllowed = e.effectAllowed), e.image || o.image) {
449
449
  let u;
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);
450
+ e.image ? (u = new Image(), u.src = e.image) : o.image && (u = o.image[0].elm), c.setDragImage && c.setDragImage(u, e.imageXOffset, e.imageYOffset);
451
451
  }
452
- t.transferData !== void 0 && (Te.data = t.transferData, i.dataTransfer.setData("text", "")), s.value = !0;
452
+ e.transferData !== void 0 && (Te.data = e.transferData, i.dataTransfer.setData("text", "")), n.value = !0;
453
453
  }
454
454
  };
455
- return (r, i) => (d(), b(Y(e.tag), {
456
- draggable: t.draggable,
457
- onDrag: i[0] || (i[0] = (c) => l(B(X).drag, c)),
458
- onDragstart: i[1] || (i[1] = j((c) => l(B(X).dragstart, c), ["stop"])),
459
- onDragenter: i[2] || (i[2] = (c) => l(B(X).dragenter, c)),
460
- onDragleave: i[3] || (i[3] = (c) => l(B(X).dragleave, c)),
461
- onDragend: i[4] || (i[4] = (c) => l(B(X).dragend, c))
455
+ return (r, i) => (d(), b(U(t.tag), {
456
+ draggable: e.draggable,
457
+ onDrag: i[0] || (i[0] = (c) => l(E(X).drag, c)),
458
+ onDragstart: i[1] || (i[1] = j((c) => l(E(X).dragstart, c), ["stop"])),
459
+ onDragenter: i[2] || (i[2] = (c) => l(E(X).dragenter, c)),
460
+ onDragleave: i[3] || (i[3] = (c) => l(E(X).dragleave, c)),
461
+ onDragend: i[4] || (i[4] = (c) => l(E(X).dragend, c))
462
462
  }, {
463
- default: E(() => [
464
- C(r.$slots, "default", { transferData: n.value }),
465
- e.hideImageHtml ? (d(), p("div", {
463
+ default: B(() => [
464
+ L(r.$slots, "default", { transferData: s.value }),
465
+ t.hideImageHtml ? (d(), m("div", {
466
466
  key: 0,
467
- style: V(a.value)
467
+ style: z(a.value)
468
468
  }, [
469
- C(r.$slots, "image", { transferData: n.value })
470
- ], 4)) : C(r.$slots, "image", {
469
+ L(r.$slots, "image", { transferData: s.value })
470
+ ], 4)) : L(r.$slots, "image", {
471
471
  key: 1,
472
- transferData: n.value
472
+ transferData: s.value
473
473
  })
474
474
  ]),
475
475
  _: 3
476
476
  }, 40, ["draggable"]));
477
477
  }
478
478
  };
479
- const mo = (e) => (Ct("data-v-d0deedc5"), e = e(), It(), e), ho = {
479
+ const mo = (t) => (Lt("data-v-9da49c73"), t = t(), It(), t), 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 = [
483
483
  vo
484
- ], _o = { key: 2 }, bo = { class: "tree-divider-header" }, xo = { class: "item-title" }, $o = {
484
+ ], _o = { key: 2 }, bo = { class: "tree-divider-header" }, xo = { class: "item-title" }, ko = {
485
485
  key: 0,
486
486
  class: "tree-divider"
487
- }, ko = { key: 1 }, wo = { style: { display: "flex", "flex-direction": "row", "justify-content": "flex-end" } }, So = {
487
+ }, $o = { key: 1 }, wo = { style: { display: "flex", "flex-direction": "row", "justify-content": "flex-end" } }, So = {
488
488
  key: 0,
489
489
  class: "sub-menu"
490
490
  }, Do = {
@@ -496,78 +496,84 @@ const mo = (e) => (Ct("data-v-d0deedc5"), e = e(), It(), e), ho = {
496
496
  search: String,
497
497
  component: Object
498
498
  },
499
- emits: ["nodedrop", "nodedragover", "nodedragleave", "nodeclick", "nodecontext"],
500
- setup(e, { emit: t }) {
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
- t("nodeclick", { event: M, model: o.model });
503
- }, u = (M) => {
504
- t("nodeclick", M);
505
- }, h = (M) => {
506
- t("nodedrop", M);
507
- }, x = (M) => {
508
- t("nodecontext", M);
509
- }, S = m(() => [
499
+ emits: ["nodedrop", "nodedragover", "nodedragleave", "nodeclick", "nodecontext", "nodedoubleclick", "nodefoldericonclick"],
500
+ setup(t, { emit: e }) {
501
+ const o = t, n = T(null), s = T(!1), a = T(!1), l = T(!1), r = h(() => o.model.children && o.model.children.length), i = h(() => (v.actions.isTreeExpanded(o.treeId) && (o.model.expanded = o.model.expanded === void 0 ? !0 : o.model.expanded), o.model.expanded)), c = (N) => {
502
+ e("nodeclick", { event: N, model: o.model });
503
+ }, u = (N) => {
504
+ e("nodefoldericonclick", { event: N, model: o.model });
505
+ }, g = (N) => {
506
+ e("nodefoldericonclick", N);
507
+ }, x = (N) => {
508
+ e("nodeclick", N);
509
+ }, C = (N) => {
510
+ e("nodedoubleclick", N);
511
+ }, R = (N) => {
512
+ e("nodedrop", N);
513
+ }, $ = (N) => {
514
+ e("nodecontext", N);
515
+ }, H = h(() => [
510
516
  v.actions.isItemSelected(o.treeId, o.model.id) ? "selected" : "",
511
- n.value ? "node-over " : "",
517
+ s.value ? "node-over " : "",
512
518
  a.value ? "node-top " : "",
513
519
  l.value ? "node-bottom " : ""
514
- ]), N = m(() => o.search ? !1 : o.model.draggable === !0), $ = (M) => {
515
- var A;
516
- let g = Te.data;
517
- if (g === void 0 || g.model === void 0)
518
- return n.value = !1, !1;
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 n.value = !1, a.value = !1, l.value = !1, !1;
521
- if (!v.state.trees[o.treeId].transfer && g.id !== o.treeId || !v.state.trees[o.treeId].dropInside && !l.value && !a.value)
520
+ ]), Y = h(() => o.search ? !1 : o.model.draggable === !0), M = (N) => {
521
+ var P;
522
+ let w = Te.data;
523
+ if (w === void 0 || w.model === void 0)
524
+ return s.value = !1, !1;
525
+ if (w.model.id === o.model.id || v.actions.isChildOfParent(o.treeId, o.items, o.model.id, w.model.id) || v.actions.isParentOfChild(o.treeId, o.items, w.model.id, o.model.id))
526
+ return s.value = !1, a.value = !1, l.value = !1, !1;
527
+ if (!v.state.trees[o.treeId].transfer && w.id !== o.treeId || !v.state.trees[o.treeId].dropInside && !l.value && !a.value)
522
528
  return !1;
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), n.value = !1, a.value = !1, l.value = !1;
525
- }, H = (M) => {
526
- t("nodedragover", { e: M, model: o.model });
527
- let g = Te.data;
529
+ let V = "";
530
+ a.value ? V = "before" : l.value ? V = "after" : V = "inside", e("nodedrop", { e: N, model: o.model, place: V }), v.actions.moveTreeNode(w.id, o.treeId, o.items, w.model.id, o.model.id, V, (P = w.model) == null ? void 0 : P.transfer), s.value = !1, a.value = !1, l.value = !1;
531
+ }, I = (N) => {
532
+ e("nodedragover", { e: N, model: o.model });
533
+ let w = Te.data;
528
534
  if (!o.model.droppable)
529
535
  return !1;
530
- if (g === void 0 || g.model === void 0)
531
- return n.value = !0, !1;
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))
536
+ if (w === void 0 || w.model === void 0)
537
+ return s.value = !0, !1;
538
+ if (w.model.id === o.model.id || v.actions.isChildOfParent(o.treeId, o.items, o.model.id, w.model.id) || v.actions.isParentOfChild(o.treeId, o.items, w.model.id, o.model.id))
533
539
  return !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
- }, P = () => {
537
- n.value = !1, a.value = !1, l.value = !1;
538
- }, w = m(() => o.model.title.startsWith("-")), I = m(() => {
540
+ const V = N.y, P = n.value.getBoundingClientRect().top, f = n.value.getBoundingClientRect().height, p = f / 3;
541
+ V > P && V <= P + p ? (s.value = !1, a.value = !0, l.value = !1) : V < P + f && V >= P + f - p ? (s.value = !1, a.value = !1, l.value = !0) : (s.value = v.state.trees[o.treeId].dropInside, a.value = !1, l.value = !1);
542
+ }, F = () => {
543
+ s.value = !1, a.value = !1, l.value = !1;
544
+ }, S = h(() => o.model.title.startsWith("-")), W = h(() => {
539
545
  if (o.model.title.startsWith("-")) {
540
- let [M, ...g] = o.model.title.split(" ");
541
- return g = g.join(" "), g;
546
+ let [N, ...w] = o.model.title.split(" ");
547
+ return w = w.join(" "), w;
542
548
  }
543
549
  return null;
544
550
  });
545
- return (M, g) => {
546
- const R = Lt("d-tree-item", !0), A = Re("touch");
547
- return B(v).actions.beforeItem(o.treeId, e.model) ? w.value && !I.value ? (d(), p("li", go, yo)) : w.value && I.value ? (d(), p("li", _o, [
548
- _("div", bo, O(B(v).actions.renderTitle(o.treeId, I.value)), 1)
551
+ return (N, w) => {
552
+ const V = Ct("d-tree-item", !0), P = Re("touch");
553
+ return E(v).actions.beforeItem(o.treeId, t.model) ? S.value && !W.value ? (d(), m("li", go, yo)) : S.value && W.value ? (d(), m("li", _o, [
554
+ _("div", bo, O(E(v).actions.renderTitle(o.treeId, W.value)), 1)
549
555
  ])) : o.model.component ? (d(), b(at, {
550
556
  key: 3,
551
557
  tag: "li",
552
558
  class: "tree-item-component",
553
559
  "transfer-data": { id: o.treeId, model: o.model },
554
- draggable: N.value,
555
- onDrop: j($, ["stop"]),
556
- onDragenter: g[1] || (g[1] = j(() => {
560
+ draggable: Y.value,
561
+ onDrop: j(M, ["stop"]),
562
+ onDragenter: w[1] || (w[1] = j(() => {
557
563
  }, ["prevent"])),
558
- onDragover: j(H, ["prevent", "stop"]),
559
- onDragleave: j(P, ["prevent"])
564
+ onDragover: j(I, ["prevent", "stop"]),
565
+ onDragleave: j(F, ["prevent"])
560
566
  }, {
561
- default: E(() => [
562
- J((d(), p("div", {
567
+ default: B(() => [
568
+ oe((d(), m("div", {
563
569
  ref_key: "node",
564
- ref: s,
565
- class: D(S.value),
566
- onContextmenu: g[0] || (g[0] = j((z) => t("nodecontext", { e: z, model: o.model }), ["prevent"]))
570
+ ref: n,
571
+ class: D(H.value),
572
+ onContextmenu: w[0] || (w[0] = j((f) => e("nodecontext", { e: f, model: o.model }), ["prevent"]))
567
573
  }, [
568
- (d(), b(Y(B(fe).getters.getComponent(o.model.component).component), pt(ft(B(fe).getters.getComponent(o.model.component).props)), null, 16))
574
+ (d(), b(U(E(fe).getters.getComponent(o.model.component).component), pt(ft(E(fe).getters.getComponent(o.model.component).props)), null, 16))
569
575
  ], 34)), [
570
- [A, c, "press"]
576
+ [P, c, "press"]
571
577
  ])
572
578
  ]),
573
579
  _: 1
@@ -576,82 +582,86 @@ const mo = (e) => (Ct("data-v-d0deedc5"), e = e(), It(), e), ho = {
576
582
  tag: "li",
577
583
  class: "tree-item",
578
584
  "transfer-data": { id: o.treeId, model: o.model },
579
- draggable: N.value,
580
- onDrop: j($, ["stop"]),
581
- onDragenter: g[3] || (g[3] = j(() => {
585
+ draggable: Y.value,
586
+ onDrop: j(M, ["stop"]),
587
+ onDragenter: w[4] || (w[4] = j(() => {
582
588
  }, ["prevent"])),
583
- onDragover: j(H, ["prevent", "stop"]),
584
- onDragleave: j(P, ["prevent"])
589
+ onDragover: j(I, ["prevent", "stop"]),
590
+ onDragleave: j(F, ["prevent"])
585
591
  }, {
586
- default: E(() => {
587
- var z, y;
592
+ default: B(() => {
593
+ var f, p;
588
594
  return [
589
- J((d(), p("div", {
595
+ _("div", {
590
596
  ref_key: "node",
591
- ref: s,
592
- class: D(S.value),
593
- onContextmenu: g[2] || (g[2] = j((F) => t("nodecontext", { e: F, model: o.model }), ["prevent"]))
597
+ ref: n,
598
+ class: D(H.value),
599
+ onPointerdownCapture: c,
600
+ onDblclick: w[2] || (w[2] = j((y) => e("nodedoubleclick", { e: y, model: o.model }), ["prevent"])),
601
+ onContextmenu: w[3] || (w[3] = j((y) => e("nodecontext", { e: y, model: o.model }), ["prevent"]))
594
602
  }, [
595
603
  _("div", null, [
596
- o.model.icons && o.model.icons.pre && r.value && !o.search && !w.value ? (d(), b(Y(re), {
604
+ o.model.icons && o.model.icons.pre && r.value && !o.search && !S.value ? (d(), b(U(re), {
597
605
  key: 0,
598
- component: B(oe).getters.getIcon(o.model.icons.pre.component),
606
+ component: E(te).getters.getIcon(o.model.icons.pre.component),
599
607
  size: 18,
600
608
  color: o.model.icons.pre.color ? o.model.icons.pre.color : "inherit",
601
- class: D(i.value ? "tree-open-pre" : "")
602
- }, null, 8, ["component", "color", "class"])) : k("", !0),
603
- o.model.icons && o.model.icons.pre && !r.value && !o.search && !w.value ? (d(), b(Y(re), {
609
+ class: D(i.value ? "tree-open-pre" : ""),
610
+ onPointerdownCapture: u
611
+ }, null, 40, ["component", "color", "class"])) : k("", !0),
612
+ o.model.icons && o.model.icons.pre && !r.value && !o.search && !S.value ? (d(), b(U(re), {
604
613
  key: 1,
605
- component: B(oe).getters.getIcon(o.model.icons.pre.component),
614
+ component: E(te).getters.getIcon(o.model.icons.pre.component),
606
615
  size: 18,
607
616
  color: "rgba(0,0,0,0)",
608
617
  class: D(i.value ? "tree-open-pre" : "")
609
618
  }, null, 8, ["component", "class"])) : k("", !0),
610
- o.model.icons && o.model.icons.icon && !w.value ? (d(), b(Y(re), {
619
+ o.model.icons && o.model.icons.icon && !S.value ? (d(), b(U(re), {
611
620
  key: 2,
612
- component: B(oe).getters.getIcon(o.model.icons.icon.component),
621
+ component: E(te).getters.getIcon(o.model.icons.icon.component),
613
622
  color: o.model.icons.icon.color ? o.model.icons.icon.color : "inherit",
614
623
  size: o.model.icons.icon.size ? o.model.icons.icon.size : null,
615
624
  className: o.model.icons.icon.class ? o.model.icons.icon.class : null
616
625
  }, null, 8, ["component", "color", "size", "className"])) : k("", !0),
617
626
  _("div", xo, [
618
- w.value ? (d(), p("div", $o)) : k("", !0),
619
- w.value ? k("", !0) : (d(), p("div", ko, O(B(v).actions.renderTitle(o.treeId, o.model.title)), 1))
627
+ S.value ? (d(), m("div", ko)) : k("", !0),
628
+ S.value ? k("", !0) : (d(), m("div", $o, O(E(v).actions.renderTitle(o.treeId, o.model.title)), 1))
620
629
  ])
621
630
  ]),
622
631
  _("div", wo, [
623
- ((z = o.model.badge) == null ? void 0 : z.value) !== void 0 && !w.value ? (d(), b(Y(co), {
632
+ ((f = o.model.badge) == null ? void 0 : f.value) !== void 0 && !S.value ? (d(), b(U(co), {
624
633
  key: 0,
625
- class: D([(y = o.model.badge) == null ? void 0 : y.class, "badge-sm"])
634
+ class: D([(p = o.model.badge) == null ? void 0 : p.class, "badge-sm"])
626
635
  }, {
627
- default: E(() => [
636
+ default: B(() => [
628
637
  K(O(o.model.badge.value), 1)
629
638
  ]),
630
639
  _: 1
631
640
  }, 8, ["class"])) : k("", !0),
632
- o.model.icons && o.model.icons.post && r.value && !o.search && !w.value ? (d(), b(Y(re), {
641
+ o.model.icons && o.model.icons.post && r.value && !o.search && !S.value ? (d(), b(U(re), {
633
642
  key: 1,
634
- component: B(oe).getters.getIcon(o.model.icons.post.component),
643
+ component: E(te).getters.getIcon(o.model.icons.post.component),
635
644
  size: 20,
636
645
  color: o.model.icons.post.color ? o.model.icons.post.color : "inherit",
637
- class: D(i.value ? "tree-open-post" : "")
638
- }, null, 8, ["component", "color", "class"])) : k("", !0)
646
+ class: D(i.value ? "tree-open-post" : ""),
647
+ onPointerdownCapture: u
648
+ }, null, 40, ["component", "color", "class"])) : k("", !0)
639
649
  ])
640
- ], 34)), [
641
- [A, c, "press"]
642
- ]),
643
- Q(uo, null, {
644
- default: E(() => [
645
- r.value && i.value && !o.search ? (d(), p("ul", So, [
646
- (d(!0), p(le, null, ge(e.model.children, (F) => (d(), b(R, {
647
- key: F.id,
648
- model: F,
650
+ ], 34),
651
+ J(uo, null, {
652
+ default: B(() => [
653
+ r.value && i.value && !o.search ? (d(), m("ul", So, [
654
+ (d(!0), m(le, null, ge(t.model.children, (y) => (d(), b(V, {
655
+ key: y.id,
656
+ model: y,
649
657
  treeId: o.treeId,
650
658
  items: o.items,
651
659
  search: o.search,
652
- onNodeclick: u,
653
- onNodedrop: h,
654
- onNodecontext: x
660
+ onNodeclick: x,
661
+ onNodedoubleclick: C,
662
+ onNodedrop: R,
663
+ onNodecontext: $,
664
+ onNodefoldericonclick: g
655
665
  }, null, 8, ["model", "treeId", "items", "search"]))), 128))
656
666
  ])) : k("", !0)
657
667
  ]),
@@ -660,25 +670,25 @@ const mo = (e) => (Ct("data-v-d0deedc5"), e = e(), It(), e), ho = {
660
670
  ];
661
671
  }),
662
672
  _: 1
663
- }, 8, ["transfer-data", "draggable", "onDrop", "onDragover", "onDragleave"])) : (d(), p("li", ho));
673
+ }, 8, ["transfer-data", "draggable", "onDrop", "onDragover", "onDragleave"])) : (d(), m("li", ho));
664
674
  };
665
675
  }
666
- }, To = /* @__PURE__ */ se(Do, [["__scopeId", "data-v-d0deedc5"]]);
667
- function Lo(e) {
668
- return e = e || /* @__PURE__ */ new Map(), {
676
+ }, To = /* @__PURE__ */ ne(Do, [["__scopeId", "data-v-9da49c73"]]);
677
+ function Co(t) {
678
+ return t = t || /* @__PURE__ */ new Map(), {
669
679
  /**
670
680
  * A Map of event names to registered handler functions.
671
681
  */
672
- all: e,
682
+ all: t,
673
683
  /**
674
684
  * Register an event handler for the given type.
675
685
  * @param {string|symbol} type Type of event to listen for, or `'*'` for all events
676
686
  * @param {Function} handler Function to call in response to given event
677
687
  * @memberOf eventsBus
678
688
  */
679
- on(t, o) {
680
- const s = e.get(t);
681
- s ? s.push(o) : e.set(t, [o]);
689
+ on(e, o) {
690
+ const n = t.get(e);
691
+ n ? n.push(o) : t.set(e, [o]);
682
692
  },
683
693
  /**
684
694
  * Remove an event handler for the given type.
@@ -687,9 +697,9 @@ function Lo(e) {
687
697
  * @param {Function} [handler] Handler function to remove
688
698
  * @memberOf eventsBus
689
699
  */
690
- off(t, o) {
691
- const s = e.get(t);
692
- s && (o ? s.splice(s.indexOf(o) >>> 0, 1) : e.set(t, []));
700
+ off(e, o) {
701
+ const n = t.get(e);
702
+ n && (o ? n.splice(n.indexOf(o) >>> 0, 1) : t.set(e, []));
693
703
  },
694
704
  /**
695
705
  * Invoke all handlers for the given type.
@@ -701,144 +711,144 @@ function Lo(e) {
701
711
  * @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler
702
712
  * @memberOf eventsBus
703
713
  */
704
- emit(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);
714
+ emit(e, o) {
715
+ let n = t.get(e);
716
+ n && n.slice().map((s) => {
717
+ s(o);
718
+ }), n = t.get("*"), n && n.slice().map((s) => {
719
+ s(e, o);
710
720
  });
711
721
  }
712
722
  };
713
723
  }
714
- const U = Lo(), v = {
724
+ const q = Co(), v = {
715
725
  state: Oe({
716
726
  trees: {}
717
727
  }),
718
728
  getters: {
719
- getItems(e) {
720
- return v.state.trees[e].items;
729
+ getItems(t) {
730
+ return v.state.trees[t].items;
721
731
  },
722
- getItemsSelect(e) {
723
- return v.state.trees[e].selected;
732
+ getItemsSelect(t) {
733
+ return v.state.trees[t].selected;
724
734
  },
725
735
  // data - ноды, dataId - ID ноды родителя data
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;
736
+ getParentId(t, e, o, n = "id", s = "children", a = {}) {
737
+ return o && t && (t.find((l) => l[n] === o ? (a.found = e, l) : v.getters.getParentId(l[s], l.id, o, n, s, a)), a.found) ? a.found : !1;
728
738
  }
729
739
  },
730
740
  mutations: {
731
- setTreeItems(e, t) {
732
- v.state.trees[e].items = t;
741
+ setTreeItems(t, e) {
742
+ v.state.trees[t].items = e;
733
743
  },
734
- setItemSelect(e, t) {
735
- v.state.trees[e].noSelect || (v.state.trees[e].multiSelect ? v.state.trees[e].selected.includes(t.id) ? v.state.trees[e].selected = v.state.trees[e].selected.filter(function(o) {
736
- return o !== t.id;
737
- }) : v.state.trees[e].selected = [...v.state.trees[e].selected, t.id] : v.state.trees[e].selected = [t.id]);
744
+ setItemSelect(t, e) {
745
+ v.state.trees[t].noSelect || (v.state.trees[t].multiSelect ? v.state.trees[t].selected.includes(e.id) ? v.state.trees[t].selected = v.state.trees[t].selected.filter(function(o) {
746
+ return o !== e.id;
747
+ }) : v.state.trees[t].selected = [...v.state.trees[t].selected, e.id] : v.state.trees[t].selected = [e.id]);
738
748
  }
739
749
  },
740
750
  actions: {
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;
751
+ initTreeStore(t, e, o, n, s, a, l, r = !0) {
752
+ v.state.trees[t] = [], v.state.trees[t].selected = [], v.state.trees[t].noSelect = e, v.state.trees[t].multiSelect = o, v.state.trees[t].expanded = n, v.state.trees[t].transfer = s, v.state.trees[t].renderTitle = a, v.state.trees[t].beforeItem = l, v.state.trees[t].dropInside = r;
743
753
  },
744
- renderTitle(e, t) {
745
- return v.state.trees[e].renderTitle ? v.state.trees[e].renderTitle(t) : t;
754
+ renderTitle(t, e) {
755
+ return v.state.trees[t].renderTitle ? v.state.trees[t].renderTitle(e) : e;
746
756
  },
747
- beforeItem(e, t) {
748
- return v.state.trees[e].beforeItem ? v.state.trees[e].beforeItem(t) : !0;
757
+ beforeItem(t, e) {
758
+ return v.state.trees[t].beforeItem ? v.state.trees[t].beforeItem(e) : !0;
749
759
  },
750
- isItemSelected(e, t) {
751
- return v.state.trees[e].selected.includes(t);
760
+ isItemSelected(t, e) {
761
+ return v.state.trees[t].selected.includes(e);
752
762
  },
753
- toggleItem(e, t) {
754
- t.expanded = t.expanded === void 0 || !t.expanded, t.children && t.children.length && (t.expanded ? U.emit(`expand-${e}`, { id: e, model: t }) : U.emit(`collapse-${e}`, { id: e, model: t }));
763
+ toggleItem(t, e) {
764
+ e.expanded = e.expanded === void 0 || !e.expanded, e.children && e.children.length && (e.expanded ? q.emit(`expand-${t}`, { id: t, model: e }) : q.emit(`collapse-${t}`, { id: t, model: e }));
755
765
  },
756
- isTreeExpanded(e) {
757
- return v.state.trees[e].expanded;
766
+ isTreeExpanded(t) {
767
+ return v.state.trees[t].expanded;
758
768
  },
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)
769
+ isChildOfParent(t, e, o, n) {
770
+ const s = v.actions.deepSearch(e, o);
771
+ if (s && s.children) {
772
+ for (let a = 0; a < s.children.length; a++)
773
+ if (s.children[a].id === n)
764
774
  return !0;
765
775
  }
766
776
  return !1;
767
777
  },
768
778
  // Является ли нода родителем указанного потомка
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
- },
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
- },
776
- deepSearchByTitle(e, t, o = "title", s = "children", n = []) {
777
- if (t && e && (e.find((a) => {
778
- const l = new RegExp(t, "gi");
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++)
779
+ isParentOfChild(t, e, o, n) {
780
+ const s = v.actions.deepSearch(e, o);
781
+ return !!(s && s.children && v.actions.deepSearch(s.children, n));
782
+ },
783
+ deepSearch(t, e, o = "id", n = "children", s = {}) {
784
+ return e && t && (t.find((a) => a[o] === e ? (s.found = a, a) : v.actions.deepSearch(a[n], e, o, n, s)), s.found) ? s.found : !1;
785
+ },
786
+ deepSearchByTitle(t, e, o = "title", n = "children", s = []) {
787
+ if (e && t && (t.find((a) => {
788
+ const l = new RegExp(e, "gi");
789
+ a[o].toString().toLowerCase().match(l) !== null && s.push(a), v.actions.deepSearchByTitle(a[n], e, o, n, s);
790
+ }), s)) {
791
+ for (let a = 0; a < s.length; a++)
782
792
  ;
783
- return n;
793
+ return s;
784
794
  }
785
- return n;
795
+ return s;
786
796
  },
787
- moveTreeNode(e, t, o, s, n, a, l = !0) {
797
+ moveTreeNode(t, e, o, n, s, a, l = !0) {
788
798
  if (l) {
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 });
799
+ const r = v.actions.deleteTreeNode(o, n);
800
+ v.actions.insertTreeNode(o, s, r, a), q.emit(`move-${e}`, { fromTreeId: t, toTreeId: e, moved: r == null ? void 0 : r.id, target: s, position: a });
791
801
  } else
792
- U.emit(`move-${t}`, { fromTreeId: e, toTreeId: t, moved: s, target: n, position: a });
793
- },
794
- insertTreeNode(e, t, o, s) {
795
- if (e)
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];
802
+ q.emit(`move-${e}`, { fromTreeId: t, toTreeId: e, moved: n, target: s, position: a });
803
+ },
804
+ insertTreeNode(t, e, o, n) {
805
+ if (t)
806
+ for (let s = 0; s < t.length; s++) {
807
+ if (t[s].id === e) {
808
+ let l = s;
809
+ return n === "after" ? (l++, t.splice(l, 0, o)) : n === "before" ? t.splice(l, 0, o) : n === "inside" && (Object.hasOwn(t[s], "children") || (t[s].children = [], t[s].opened = !0), t[s].children.splice(0, 0, o)), t[s];
800
810
  }
801
- const a = this.insertTreeNode(e[n].children, t, o, s);
811
+ const a = this.insertTreeNode(t[s].children, e, o, n);
802
812
  if (a)
803
813
  return a;
804
814
  }
805
815
  },
806
- deleteTreeNode(e, t) {
807
- if (e)
808
- for (let o = 0; o < e.length; o++) {
809
- if (e[o].id === t) {
810
- const n = e[o];
811
- return e.splice(o, 1), n;
816
+ deleteTreeNode(t, e) {
817
+ if (t)
818
+ for (let o = 0; o < t.length; o++) {
819
+ if (t[o].id === e) {
820
+ const s = t[o];
821
+ return t.splice(o, 1), s;
812
822
  }
813
- const s = v.actions.deleteTreeNode(e[o].children, t);
814
- if (s)
815
- return s;
823
+ const n = v.actions.deleteTreeNode(t[o].children, e);
824
+ if (n)
825
+ return n;
816
826
  }
817
827
  }
818
828
  }
819
- }, Co = {
829
+ }, Lo = {
820
830
  __name: "DDrop",
821
831
  props: {
822
832
  tag: { type: String, default: "div" }
823
833
  },
824
834
  emits: Object.keys(X),
825
- setup(e, { expose: t, emit: o }) {
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;
835
+ setup(t, { expose: e, emit: o }) {
836
+ let n = Oe({});
837
+ const s = T("false"), a = T(null), l = /* @__PURE__ */ new Set(), r = h(() => s.value && n), i = (u, g) => {
838
+ n = Te.data, o(u, g, n), u === X.dragenter && (l.size || g.target === a.value) && l.add(g.target), u === X.dragleave && l.delete(g.target), u === X.drop && l.clear(), s.value = !!l.size;
829
839
  };
830
- return t({
840
+ return e({
831
841
  elementSize: () => _t(a)
832
- }), (u, h) => (d(), b(Y(e.tag), {
842
+ }), (u, g) => (d(), b(U(t.tag), {
833
843
  ref_key: "el",
834
844
  ref: a,
835
- onDragenter: h[0] || (h[0] = (x) => i(B(X).dragenter, x)),
836
- onDragleave: h[1] || (h[1] = (x) => i(B(X).dragleave, x)),
837
- onDragover: h[2] || (h[2] = j((x) => i(B(X).dragover, x), ["prevent"])),
838
- onDrop: h[3] || (h[3] = j((x) => i(B(X).drop, x), ["prevent"]))
845
+ onDragenter: g[0] || (g[0] = (x) => i(E(X).dragenter, x)),
846
+ onDragleave: g[1] || (g[1] = (x) => i(E(X).dragleave, x)),
847
+ onDragover: g[2] || (g[2] = j((x) => i(E(X).dragover, x), ["prevent"])),
848
+ onDrop: g[3] || (g[3] = j((x) => i(E(X).drop, x), ["prevent"]))
839
849
  }, {
840
- default: E(() => [
841
- C(u.$slots, "default", { transferData: r.value })
850
+ default: B(() => [
851
+ L(u.$slots, "default", { transferData: r.value })
842
852
  ]),
843
853
  _: 3
844
854
  }, 544));
@@ -861,43 +871,43 @@ const U = Lo(), v = {
861
871
  }
862
872
  },
863
873
  emits: ["select"],
864
- setup(e, { expose: t, emit: o }) {
865
- const s = e;
866
- let n = T(null), a = T(!1);
874
+ setup(t, { expose: e, emit: o }) {
875
+ const n = t;
876
+ let s = T(null), a = T(!1);
867
877
  const l = () => {
868
- U.emit("menu-show-request"), a.value = !0;
878
+ q.emit("menu-show-request"), a.value = !0;
869
879
  }, r = () => {
870
880
  var x;
871
- (x = n.value) == null || x.collapseAll(), a.value = !1;
881
+ (x = s.value) == null || x.collapseAll(), a.value = !1;
872
882
  }, i = () => a.value;
873
- U.on("menu-show-request", () => {
883
+ q.on("menu-show-request", () => {
874
884
  r();
875
- }), t({
885
+ }), e({
876
886
  show: l,
877
887
  hide: r,
878
- elementSize: () => n.value.elementSize(),
888
+ elementSize: () => s.value.elementSize(),
879
889
  isShowed: i,
880
- itemsCount: () => n.value.itemsCount()
890
+ itemsCount: () => s.value.itemsCount()
881
891
  });
882
- const h = (x) => {
892
+ const g = (x) => {
883
893
  o("select", x), x.model.children || r();
884
894
  };
885
- return (x, S) => {
886
- const N = Re("click-outside");
895
+ return (x, C) => {
896
+ const R = Re("click-outside");
887
897
  return d(), b(mt, { to: "body" }, [
888
- B(a) ? J((d(), b(xt, {
898
+ E(a) ? oe((d(), b(xt, {
889
899
  key: 0,
890
900
  ref_key: "treeRef",
891
- ref: n,
892
- items: s.items,
893
- "no-select": s.noSelect,
894
- class: D(s.class),
895
- style: V(s.style),
896
- onSelect: h,
897
- "render-title": s.renderItemTitle,
898
- "before-item": s.beforeItem
901
+ ref: s,
902
+ items: n.items,
903
+ "no-select": n.noSelect,
904
+ class: D(n.class),
905
+ style: z(n.style),
906
+ onSelect: g,
907
+ "render-title": n.renderItemTitle,
908
+ "before-item": n.beforeItem
899
909
  }, null, 8, ["items", "no-select", "class", "style", "render-title", "before-item"])), [
900
- [N, () => r()]
910
+ [R, () => r()]
901
911
  ]) : k("", !0)
902
912
  ]);
903
913
  };
@@ -910,30 +920,30 @@ const U = Lo(), v = {
910
920
  beforeItem: Function
911
921
  },
912
922
  emits: ["select"],
913
- setup(e, { expose: t, emit: o }) {
914
- const s = e, n = T(null), a = T(0), l = T(0), r = m(() => ({
923
+ setup(t, { expose: e, emit: o }) {
924
+ const n = t, s = T(null), a = T(0), l = T(0), r = h(() => ({
915
925
  left: a.value + "px",
916
926
  top: l.value + "px"
917
927
  })), i = (u) => {
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();
928
+ s.value.show(), ht(() => {
929
+ const g = s.value.elementSize(), x = window.innerWidth, C = window.innerHeight;
930
+ a.value = x - u.pageX < g.width ? u.pageX - g.width : u.pageX, l.value = C - u.pageY < g.height ? u.pageY - g.height : u.pageY, s.value.itemsCount() === 0 && s.value.hide();
921
931
  });
922
932
  }, c = (u) => {
923
933
  o("select", u);
924
934
  };
925
- return t({
935
+ return e({
926
936
  show: i
927
- }), (u, h) => (d(), b(bt, {
937
+ }), (u, g) => (d(), b(bt, {
928
938
  ref_key: "dMenuRef",
929
- ref: n,
939
+ ref: s,
930
940
  onSelect: c,
931
- items: s.items,
932
- style: V(r.value),
941
+ items: n.items,
942
+ style: z(r.value),
933
943
  class: "context-menu",
934
944
  "no-select": !0,
935
- "render-item-title": s.renderItemTitle,
936
- "before-item": s.beforeItem
945
+ "render-item-title": n.renderItemTitle,
946
+ "before-item": n.beforeItem
937
947
  }, null, 8, ["items", "style", "render-item-title", "before-item"]));
938
948
  }
939
949
  }, xt = {
@@ -957,6 +967,11 @@ const U = Lo(), v = {
957
967
  type: Boolean,
958
968
  default: !0
959
969
  },
970
+ doubleClickExpand: {
971
+ // открывать ноды по двойному клику
972
+ type: Boolean,
973
+ default: !1
974
+ },
960
975
  renderTitle: Function,
961
976
  // генерация заголовка (постобработка)
962
977
  beforeItem: Function,
@@ -977,83 +992,93 @@ const U = Lo(), v = {
977
992
  default: () => !0
978
993
  }
979
994
  },
980
- emits: ["select", "collapse", "expand", "move", "over", "drop"],
981
- setup(e, { expose: t, emit: o }) {
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
- const i = (y, F) => {
985
- console.log(y, F);
995
+ emits: ["select", "collapse", "expand", "move", "over", "drop", "doubleclick", "foldericonclick"],
996
+ setup(t, { expose: e, emit: o }) {
997
+ const n = t, s = T(null), a = T(!1), l = T(null), r = gt().uid;
998
+ v.actions.initTreeStore(r, n.noSelect, n.multiSelect, n.expanded, n.transfer, n.renderTitle, n.beforeItem, n.dropInside);
999
+ const i = (p, y) => {
1000
+ console.log(p, y);
986
1001
  };
987
- U.on(`expand-${r}`, (y) => {
988
- o("expand", y);
989
- }), U.on(`collapse-${r}`, (y) => {
990
- o("collapse", y);
991
- }), U.on(`move-${r}`, (y) => {
992
- o("move", y);
1002
+ q.on(`expand-${r}`, (p) => {
1003
+ o("expand", p);
1004
+ }), q.on(`collapse-${r}`, (p) => {
1005
+ o("collapse", p);
1006
+ }), q.on(`move-${r}`, (p) => {
1007
+ o("move", p);
993
1008
  });
994
- const c = m(() => s.search ? v.actions.deepSearchByTitle(s.items, s.search) : s.items), u = (y = null) => {
995
- v.mutations.setItemSelect(r, y.model), v.actions.toggleItem(r, y.model), o("select", y);
996
- }, h = (y = null) => {
997
- o("over", y);
998
- }, x = (y = null) => {
999
- o("drop", y);
1000
- }, S = () => n.value.elementSize(), N = () => {
1001
- for (let y = 0; y < s.items.length; y++)
1002
- s.items[y].expanded = !0;
1003
- }, $ = () => {
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
- P(y) && v.mutations.setItemSelect(r, P(y));
1008
- }, I = (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
- let F = 0;
1012
- for (let f = 0; f < y.length; f++)
1013
- F += v.actions.beforeItem(r, y[f]) ? 1 : 0, y[f].children && y[f].children.length > 0 && (F += z(y[f].children));
1014
- return F;
1009
+ const c = h(() => n.search ? v.actions.deepSearchByTitle(n.items, n.search) : n.items), u = (p) => {
1010
+ for (let y = 0; y < n.items.length; y++)
1011
+ n.items[y].id === p && v.actions.toggleItem(r, n.items[y]), n.items[y].expanded = !0;
1012
+ }, g = (p = null) => {
1013
+ v.mutations.setItemSelect(r, p.model), n.doubleClickExpand || v.actions.toggleItem(r, p.model), o("select", p);
1014
+ }, x = (p = null) => {
1015
+ n.doubleClickExpand && v.actions.toggleItem(r, p.model), o("doubleclick", p);
1016
+ }, C = (p = null) => {
1017
+ n.doubleClickExpand && v.actions.toggleItem(r, p.model), o("foldericonclick", p);
1018
+ }, R = (p = null) => {
1019
+ o("over", p);
1020
+ }, $ = (p = null) => {
1021
+ o("drop", p);
1022
+ }, H = () => s.value.elementSize(), Y = () => {
1023
+ for (let p = 0; p < n.items.length; p++)
1024
+ n.items[p].expanded = !0;
1025
+ }, M = () => {
1026
+ for (let p = 0; p < n.items.length; p++)
1027
+ n.items[p].expanded = !1;
1028
+ }, I = () => r, F = (p) => v.actions.deepSearch(n.items, p), S = (p) => {
1029
+ F(p) && v.mutations.setItemSelect(r, F(p));
1030
+ }, W = (p) => {
1031
+ n.contextClick({ e: p.e, model: p.model, target: l.value });
1032
+ }, N = (p) => n.contextBeforeClick({ model: p, target: l.value }), w = h(() => n.context), V = (p) => (w.value && (l.value = p.model, a.value.show(p.e)), !1), P = () => f(c.value), f = (p) => {
1033
+ let y = 0;
1034
+ for (let A = 0; A < p.length; A++)
1035
+ y += v.actions.beforeItem(r, p[A]) ? 1 : 0, p[A].children && p[A].children.length > 0 && (y += f(p[A].children));
1036
+ return y;
1015
1037
  };
1016
- return t({
1017
- elementSize: S,
1018
- expandAll: N,
1019
- collapseAll: $,
1020
- getId: H,
1021
- getNode: P,
1022
- selectNode: w,
1023
- itemsCount: A
1024
- }), (y, F) => (d(), b(Co, {
1038
+ return e({
1039
+ elementSize: H,
1040
+ expandAll: Y,
1041
+ collapseAll: M,
1042
+ getId: I,
1043
+ getNode: F,
1044
+ selectNode: S,
1045
+ itemsCount: P,
1046
+ expandItem: u
1047
+ }), (p, y) => (d(), b(Lo, {
1025
1048
  ref_key: "treeRef",
1026
- ref: n,
1049
+ ref: s,
1027
1050
  class: "tree",
1028
1051
  tag: "ul",
1029
1052
  onDrop: j(i, ["stop"])
1030
1053
  }, {
1031
- default: E(() => [
1032
- (d(!0), p(le, null, ge(c.value, (f) => (d(), b(To, {
1033
- key: f.id,
1034
- model: f,
1035
- treeId: B(r),
1036
- items: s.items,
1037
- search: s.search,
1038
- onNodeclick: u,
1039
- onNodedragover: h,
1040
- onNodedrop: x,
1041
- onNodecontext: R
1054
+ default: B(() => [
1055
+ (d(!0), m(le, null, ge(c.value, (A) => (d(), b(To, {
1056
+ key: A.id,
1057
+ model: A,
1058
+ treeId: E(r),
1059
+ items: n.items,
1060
+ search: n.search,
1061
+ onNodeclick: g,
1062
+ onNodedoubleclick: x,
1063
+ onNodedragover: R,
1064
+ onNodedrop: $,
1065
+ onNodecontext: V,
1066
+ onNodefoldericonclick: C
1042
1067
  }, null, 8, ["model", "treeId", "items", "search"]))), 128)),
1043
- g.value ? (d(), b(Io, {
1068
+ w.value ? (d(), b(Io, {
1044
1069
  key: 0,
1045
1070
  ref_key: "contextTreeRef",
1046
1071
  ref: a,
1047
- items: g.value,
1048
- onSelect: I,
1049
- "before-item": M
1072
+ items: w.value,
1073
+ onSelect: W,
1074
+ "before-item": N
1050
1075
  }, null, 8, ["items"])) : k("", !0)
1051
1076
  ]),
1052
1077
  _: 1
1053
1078
  }, 8, ["onDrop"]));
1054
1079
  }
1055
1080
  };
1056
- const Bo = {
1081
+ const Eo = {
1057
1082
  __name: "DAccordion",
1058
1083
  props: {
1059
1084
  items: Array,
@@ -1065,20 +1090,20 @@ const Bo = {
1065
1090
  }
1066
1091
  },
1067
1092
  emits: ["move"],
1068
- setup(e, { emit: t }) {
1069
- const o = e, s = (n) => {
1070
- t("move", n);
1093
+ setup(t, { emit: e }) {
1094
+ const o = t, n = (s) => {
1095
+ e("move", s);
1071
1096
  };
1072
- return (n, a) => (d(), b(xt, {
1097
+ return (s, a) => (d(), b(xt, {
1073
1098
  class: "accordion",
1074
1099
  items: o.items,
1075
1100
  "no-select": o.noSelect,
1076
1101
  "render-title": o.renderTitle,
1077
1102
  "drop-inside": !1,
1078
- onMove: s
1103
+ onMove: n
1079
1104
  }, null, 8, ["items", "no-select", "render-title"]));
1080
1105
  }
1081
- }, En = /* @__PURE__ */ se(Bo, [["__scopeId", "data-v-a724c500"]]), Eo = {
1106
+ }, Bs = /* @__PURE__ */ ne(Eo, [["__scopeId", "data-v-a724c500"]]), Bo = {
1082
1107
  __name: "DLayoutHeader",
1083
1108
  props: {
1084
1109
  fixed: {
@@ -1111,16 +1136,16 @@ const Bo = {
1111
1136
  },
1112
1137
  useMinWidthLayout: Boolean
1113
1138
  },
1114
- setup(e) {
1115
- const t = e, o = m(() => {
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};`;
1139
+ setup(t) {
1140
+ const e = t, o = h(() => {
1141
+ const { fixed: n, zIndex: s, minWidth: a, height: l, paddingLeft: r, transitionDuration: i, transitionTimingFunction: c } = e, u = n ? "fixed" : "static", g = e.useMinWidthLayout ? `min-width:${a}px;` : "";
1142
+ return `position:${u};z-index:${s};${g}height:${l}px;padding-left:${r}px;transition-duration:${i}ms;transition-timing-function:${c};`;
1118
1143
  });
1119
- return (s, n) => (d(), p("header", {
1144
+ return (n, s) => (d(), m("header", {
1120
1145
  class: "d-layout-header",
1121
- style: V(o.value)
1146
+ style: z(o.value)
1122
1147
  }, [
1123
- C(s.$slots, "default")
1148
+ L(n.$slots, "default")
1124
1149
  ], 4));
1125
1150
  }
1126
1151
  }, Mo = {
@@ -1160,16 +1185,16 @@ const Bo = {
1160
1185
  },
1161
1186
  useMinWidthLayout: Boolean
1162
1187
  },
1163
- setup(e) {
1164
- const t = e, o = m(() => {
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};`;
1188
+ setup(t) {
1189
+ const e = t, o = h(() => {
1190
+ const { fixed: n, top: s, zIndex: a, minWidth: l, height: r, paddingLeft: i, transitionDuration: c, transitionTimingFunction: u } = e, g = n ? "fixed" : "static", x = e.useMinWidthLayout ? `min-width: ${l}px;` : "";
1191
+ return `position:${g};top:${s}px;z-index:${a};${x}height:${r}px;padding-left:${i}px;transition-duration:${c}ms;transition-timing-function:${u};`;
1167
1192
  });
1168
- return (s, n) => (d(), p("div", {
1193
+ return (n, s) => (d(), m("div", {
1169
1194
  class: "d-layout-tab",
1170
- style: V(o.value)
1195
+ style: z(o.value)
1171
1196
  }, [
1172
- C(s.$slots, "default")
1197
+ L(n.$slots, "default")
1173
1198
  ], 4));
1174
1199
  }
1175
1200
  }, No = {
@@ -1205,16 +1230,16 @@ const Bo = {
1205
1230
  },
1206
1231
  useMinWidthLayout: Boolean
1207
1232
  },
1208
- setup(e) {
1209
- const t = e, o = m(() => {
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};`;
1233
+ setup(t) {
1234
+ const e = t, o = h(() => {
1235
+ const { fixed: n, zIndex: s, minWidth: a, height: l, paddingLeft: r, transitionDuration: i, transitionTimingFunction: c } = e, u = n ? "fixed" : "static", g = e.useMinWidthLayout ? `min-width:${a}px;` : "";
1236
+ return `position:${u};z-index:${s};${g}height:${l}px;padding-left:${r}px;transition-duration:${i}ms;transition-timing-function:${c};`;
1212
1237
  });
1213
- return (s, n) => (d(), p("footer", {
1238
+ return (n, s) => (d(), m("footer", {
1214
1239
  class: "d-layout-footer",
1215
- style: V(o.value)
1240
+ style: z(o.value)
1216
1241
  }, [
1217
- C(s.$slots, "default")
1242
+ L(n.$slots, "default")
1218
1243
  ], 4));
1219
1244
  }
1220
1245
  }, Ro = {
@@ -1245,16 +1270,16 @@ const Bo = {
1245
1270
  default: !1
1246
1271
  }
1247
1272
  },
1248
- setup(e) {
1249
- const t = e, o = m(() => {
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};`;
1273
+ setup(t) {
1274
+ const e = t, o = h(() => {
1275
+ const { zIndex: n, width: s, paddingTop: a, transitionDuration: l, transitionTimingFunction: r } = e;
1276
+ return `z-index:${n};width:${s}px;padding-top:${a}px;transition-duration:${l}ms;transition-timing-function:${r};`;
1252
1277
  });
1253
- return (s, n) => (d(), p("aside", {
1278
+ return (n, s) => (d(), m("aside", {
1254
1279
  class: "d-layout-sidebar",
1255
- style: V(o.value)
1280
+ style: z(o.value)
1256
1281
  }, [
1257
- C(s.$slots, "default")
1282
+ L(n.$slots, "default")
1258
1283
  ], 4));
1259
1284
  }
1260
1285
  }, Oo = {
@@ -1282,29 +1307,29 @@ const Bo = {
1282
1307
  default: "ease-in-out"
1283
1308
  }
1284
1309
  },
1285
- setup(e) {
1286
- const t = e, o = m(() => {
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};`;
1310
+ setup(t) {
1311
+ const e = t, o = h(() => {
1312
+ const { paddingTop: n, paddingBottom: s, paddingLeft: a, transitionDuration: l, transitionTimingFunction: r } = e, i = `overflow:${e.overflowHidden ? "hidden" : "visible"};`;
1313
+ return `padding-top:${n}px;padding-bottom:${s}px;padding-left:${a}px;${i}transition-duration:${l}ms;transition-timing-function:${r};`;
1289
1314
  });
1290
- return (s, n) => (d(), p("main", {
1291
- style: V(o.value),
1315
+ return (n, s) => (d(), m("main", {
1316
+ style: z(o.value),
1292
1317
  class: "d-layout-content"
1293
1318
  }, [
1294
- C(s.$slots, "default")
1319
+ L(n.$slots, "default")
1295
1320
  ], 4));
1296
1321
  }
1297
1322
  };
1298
- function Ao(e) {
1299
- const t = T(0), o = m(() => `transform: translateX(${-t.value}px);`);
1300
- let s = !1;
1301
- function n(u) {
1302
- t.value = u;
1323
+ function Ao(t) {
1324
+ const e = T(0), o = h(() => `transform: translateX(${-e.value}px);`);
1325
+ let n = !1;
1326
+ function s(u) {
1327
+ e.value = u;
1303
1328
  }
1304
1329
  function a() {
1305
1330
  var u;
1306
- const h = ((u = document.scrollingElement) === null || u === void 0 ? void 0 : u.scrollLeft) || 0;
1307
- n(h);
1331
+ const g = ((u = document.scrollingElement) === null || u === void 0 ? void 0 : u.scrollLeft) || 0;
1332
+ s(g);
1308
1333
  }
1309
1334
  function l() {
1310
1335
  a();
@@ -1313,18 +1338,18 @@ function Ao(e) {
1313
1338
  document.addEventListener("scroll", a);
1314
1339
  }
1315
1340
  function i() {
1316
- s && document.removeEventListener("scroll", a);
1341
+ n && document.removeEventListener("scroll", a);
1317
1342
  }
1318
1343
  function c() {
1319
- l(), r(), s = !0;
1344
+ l(), r(), n = !0;
1320
1345
  }
1321
- return vt(e, (u) => {
1346
+ return vt(t, (u) => {
1322
1347
  u ? c() : i();
1323
- }, { immediate: !0 }), Bt(() => {
1348
+ }, { immediate: !0 }), Et(() => {
1324
1349
  i();
1325
1350
  }), o;
1326
1351
  }
1327
- const Ho = 1001, Vo = 999, zo = 998, Mn = {
1352
+ const Ho = 1001, Vo = 999, zo = 998, Ms = {
1328
1353
  __name: "DLayoutAdmin",
1329
1354
  props: {
1330
1355
  mode: {
@@ -1414,104 +1439,104 @@ const Ho = 1001, Vo = 999, zo = 998, Mn = {
1414
1439
  }
1415
1440
  },
1416
1441
  emits: ["update:sidebar-collapse", "sidebar-mask-click"],
1417
- setup(e, { emit: t }) {
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
- const { transitionDuration: g, transitionTimingFunction: R } = o;
1442
+ setup(t, { emit: e }) {
1443
+ const o = t, n = h(() => o.useMinWidthLayout ? `min-width:${o.minWidth}px;` : ""), s = h(() => o.useMinWidthLayout && (o.fixedHeaderAndTab || o.fixedFooter)), a = Ao(s), l = h(() => o.fixedHeaderAndTab ? a.value : ""), r = h(() => o.fixedFooter ? a.value : ""), i = h(() => {
1444
+ const { transitionDuration: S, transitionTimingFunction: W } = o;
1420
1445
  return {
1421
- transitionDuration: g,
1422
- transitionTimingFunction: R
1446
+ transitionDuration: S,
1447
+ transitionTimingFunction: W
1423
1448
  };
1424
- }), c = m(() => o.mode === "vertical"), u = m(() => o.isMobile || c.value ? 1003 : 1e3), h = m({
1449
+ }), c = h(() => o.mode === "vertical"), u = h(() => o.isMobile || c.value ? 1003 : 1e3), g = h({
1425
1450
  get() {
1426
1451
  return o.sidebarCollapse;
1427
1452
  },
1428
- set(g) {
1429
- t("update:sidebar-collapse", g);
1453
+ set(S) {
1454
+ e("update:sidebar-collapse", S);
1430
1455
  }
1431
1456
  });
1432
1457
  function x() {
1433
- t("sidebar-mask-click");
1458
+ e("sidebar-mask-click");
1434
1459
  }
1435
- const S = m(() => o.isMobile && !h.value), N = m(() => {
1436
- const { transitionDuration: g, transitionTimingFunction: R } = o;
1437
- return `background-color:${o.maskBg};transition-duration:${g}ms;transition-timing-function:${R};`;
1438
- }), $ = m(() => {
1439
- const { sidebarWidth: g, sidebarCollapsedWidth: R } = o, A = o.isMobile ? 0 : R, z = h.value ? A : g;
1440
- return o.sidebarVisible ? z : 0;
1441
- }), H = m(() => o.isMobile ? 0 : $.value), P = m(() => c.value ? H.value : 0), w = m(
1460
+ const C = h(() => o.isMobile && !g.value), R = h(() => {
1461
+ const { transitionDuration: S, transitionTimingFunction: W } = o;
1462
+ return `background-color:${o.maskBg};transition-duration:${S}ms;transition-timing-function:${W};`;
1463
+ }), $ = h(() => {
1464
+ const { sidebarWidth: S, sidebarCollapsedWidth: W } = o, N = o.isMobile ? 0 : W, w = g.value ? N : S;
1465
+ return o.sidebarVisible ? w : 0;
1466
+ }), H = h(() => o.isMobile ? 0 : $.value), Y = h(() => c.value ? H.value : 0), M = h(
1442
1467
  () => !o.isMobile && !c.value && o.headerVisible ? o.headerHeight : 0
1443
- ), I = m(() => {
1444
- let g = 0;
1445
- return o.fixedHeaderAndTab && (o.headerVisible && (g += o.headerHeight), o.tabVisible && (g += o.tabHeight)), g;
1446
- }), M = m(() => o.fixedFooter && o.footerVisible ? o.footerHeight : 0);
1447
- return (g, R) => (d(), p("div", {
1468
+ ), I = h(() => {
1469
+ let S = 0;
1470
+ return o.fixedHeaderAndTab && (o.headerVisible && (S += o.headerHeight), o.tabVisible && (S += o.tabHeight)), S;
1471
+ }), F = h(() => o.fixedFooter && o.footerVisible ? o.footerHeight : 0);
1472
+ return (S, W) => (d(), m("div", {
1448
1473
  class: "d-layout",
1449
- style: V(s.value)
1474
+ style: z(n.value)
1450
1475
  }, [
1451
- e.headerVisible ? (d(), b(Eo, ue({ key: 0 }, i.value, {
1452
- fixed: e.fixedHeaderAndTab,
1476
+ t.headerVisible ? (d(), b(Bo, ue({ key: 0 }, i.value, {
1477
+ fixed: t.fixedHeaderAndTab,
1453
1478
  "z-index": Ho,
1454
- "min-width": e.minWidth,
1455
- height: e.headerHeight,
1456
- "padding-left": P.value,
1479
+ "min-width": t.minWidth,
1480
+ height: t.headerHeight,
1481
+ "padding-left": Y.value,
1457
1482
  style: l.value
1458
1483
  }), {
1459
- default: E(() => [
1460
- C(g.$slots, "header")
1484
+ default: B(() => [
1485
+ L(S.$slots, "header")
1461
1486
  ]),
1462
1487
  _: 3
1463
1488
  }, 16, ["fixed", "min-width", "height", "padding-left", "style"])) : k("", !0),
1464
- e.tabVisible ? (d(), b(Mo, ue({ key: 1 }, i.value, {
1465
- fixed: e.fixedHeaderAndTab,
1489
+ t.tabVisible ? (d(), b(Mo, ue({ key: 1 }, i.value, {
1490
+ fixed: t.fixedHeaderAndTab,
1466
1491
  "z-index": Vo,
1467
- "min-width": e.minWidth,
1468
- top: e.headerHeight,
1469
- height: e.tabHeight,
1492
+ "min-width": t.minWidth,
1493
+ top: t.headerHeight,
1494
+ height: t.tabHeight,
1470
1495
  "padding-left": H.value,
1471
1496
  style: l.value
1472
1497
  }), {
1473
- default: E(() => [
1474
- C(g.$slots, "tab")
1498
+ default: B(() => [
1499
+ L(S.$slots, "tab")
1475
1500
  ]),
1476
1501
  _: 3
1477
1502
  }, 16, ["fixed", "min-width", "top", "height", "padding-left", "style"])) : k("", !0),
1478
- e.sidebarVisible ? (d(), b(Ro, ue({ key: 2 }, i.value, {
1503
+ t.sidebarVisible ? (d(), b(Ro, ue({ key: 2 }, i.value, {
1479
1504
  "z-index": u.value,
1480
1505
  width: $.value,
1481
- "padding-top": w.value
1506
+ "padding-top": M.value
1482
1507
  }), {
1483
- default: E(() => [
1484
- C(g.$slots, "sidebar")
1508
+ default: B(() => [
1509
+ L(S.$slots, "sidebar")
1485
1510
  ]),
1486
1511
  _: 3
1487
1512
  }, 16, ["z-index", "width", "padding-top"])) : k("", !0),
1488
- S.value ? (d(), p("div", {
1513
+ C.value ? (d(), m("div", {
1489
1514
  key: 3,
1490
1515
  class: "d-layout-sidebar-mask",
1491
- style: V(N.value),
1516
+ style: z(R.value),
1492
1517
  onClick: x
1493
1518
  }, null, 4)) : k("", !0),
1494
- Q(Oo, ue(i.value, {
1519
+ J(Oo, ue(i.value, {
1495
1520
  "padding-top": I.value,
1496
- "padding-bottom": M.value,
1521
+ "padding-bottom": F.value,
1497
1522
  "padding-left": H.value,
1498
- "overflow-hidden": e.addMainOverflowHidden
1523
+ "overflow-hidden": t.addMainOverflowHidden
1499
1524
  }), {
1500
- default: E(() => [
1501
- C(g.$slots, "default")
1525
+ default: B(() => [
1526
+ L(S.$slots, "default")
1502
1527
  ]),
1503
1528
  _: 3
1504
1529
  }, 16, ["padding-top", "padding-bottom", "padding-left", "overflow-hidden"]),
1505
- e.footerVisible ? (d(), b(No, ue({ key: 4 }, i.value, {
1506
- fixed: e.fixedFooter,
1530
+ t.footerVisible ? (d(), b(No, ue({ key: 4 }, i.value, {
1531
+ fixed: t.fixedFooter,
1507
1532
  "z-index": zo,
1508
- "min-width": e.minWidth,
1509
- height: e.footerHeight,
1533
+ "min-width": t.minWidth,
1534
+ height: t.footerHeight,
1510
1535
  "padding-left": H.value,
1511
1536
  style: r.value
1512
1537
  }), {
1513
- default: E(() => [
1514
- C(g.$slots, "footer")
1538
+ default: B(() => [
1539
+ L(S.$slots, "footer")
1515
1540
  ]),
1516
1541
  _: 3
1517
1542
  }, 16, ["fixed", "min-width", "height", "padding-left", "style"])) : k("", !0)
@@ -1527,8 +1552,8 @@ const Ho = 1001, Vo = 999, zo = 998, Mn = {
1527
1552
  }
1528
1553
  },
1529
1554
  mutations: {
1530
- setTheme(e) {
1531
- pe.state.theme = e, document.documentElement.classList.remove("dark"), document.documentElement.classList.remove("light"), document.documentElement.classList.add(e);
1555
+ setTheme(t) {
1556
+ pe.state.theme = t, document.documentElement.classList.remove("dark"), document.documentElement.classList.remove("light"), document.documentElement.classList.add(t);
1532
1557
  }
1533
1558
  },
1534
1559
  actions: {
@@ -1536,7 +1561,7 @@ const Ho = 1001, Vo = 999, zo = 998, Mn = {
1536
1561
  pe.state.theme = pe.state.theme === "dark" ? "light" : "dark", document.documentElement.classList.remove("dark"), document.documentElement.classList.remove("light"), document.documentElement.classList.add(pe.state.theme);
1537
1562
  }
1538
1563
  }
1539
- }, Nn = {
1564
+ }, Ns = {
1540
1565
  __name: "DConfigProvider",
1541
1566
  props: {
1542
1567
  theme: {
@@ -1544,12 +1569,12 @@ const Ho = 1001, Vo = 999, zo = 998, Mn = {
1544
1569
  default: "dark"
1545
1570
  }
1546
1571
  },
1547
- setup(e) {
1548
- const t = e;
1549
- return pe.mutations.setTheme(t.theme), (o, s) => C(o.$slots, "default");
1572
+ setup(t) {
1573
+ const e = t;
1574
+ return pe.mutations.setTheme(e.theme), (o, n) => L(o.$slots, "default");
1550
1575
  }
1551
1576
  };
1552
- const Rn = {
1577
+ const Rs = {
1553
1578
  __name: "DScrollProvider",
1554
1579
  props: {
1555
1580
  xHide: {
@@ -1561,19 +1586,19 @@ const Rn = {
1561
1586
  default: !1
1562
1587
  }
1563
1588
  },
1564
- setup(e) {
1565
- const t = e;
1589
+ setup(t) {
1590
+ const e = t;
1566
1591
  Ae((a) => ({
1567
1592
  e35a6f9a: o.value,
1568
- e35a6f98: s.value
1593
+ e35a6f98: n.value
1569
1594
  }));
1570
- const o = m(() => t.xHide ? "hidden" : "visible"), s = m(() => t.yHide ? "hidden" : "visible"), n = (a) => {
1595
+ const o = h(() => e.xHide ? "hidden" : "visible"), n = h(() => e.yHide ? "hidden" : "visible"), s = (a) => {
1571
1596
  document.body.classList.add(a), document.documentElement.classList.add(a), document.documentElement.classList.add("d-global-scroll");
1572
1597
  };
1573
1598
  return me(() => {
1574
- n("colored-scroller");
1575
- }), (a, l) => (d(), p("div", null, [
1576
- C(a.$slots, "default")
1599
+ s("colored-scroller");
1600
+ }), (a, l) => (d(), m("div", null, [
1601
+ L(a.$slots, "default")
1577
1602
  ]));
1578
1603
  }
1579
1604
  };
@@ -1593,20 +1618,20 @@ const Fo = {
1593
1618
  default: !1
1594
1619
  }
1595
1620
  },
1596
- setup(e) {
1597
- const t = e;
1598
- Ae((n) => ({
1621
+ setup(t) {
1622
+ const e = t;
1623
+ Ae((s) => ({
1599
1624
  c07fa29a: o.value,
1600
- c07fa298: s.value
1625
+ c07fa298: n.value
1601
1626
  }));
1602
- const o = m(() => t.xHide ? "hidden" : "visible"), s = m(() => t.yHide ? "hidden" : "visible");
1603
- return (n, a) => (d(), p("div", {
1604
- class: D(t.autoHide ? "d-scroll-hide" : "d-scroll")
1627
+ const o = h(() => e.xHide ? "hidden" : "visible"), n = h(() => e.yHide ? "hidden" : "visible");
1628
+ return (s, a) => (d(), m("div", {
1629
+ class: D(e.autoHide ? "d-scroll-hide" : "d-scroll")
1605
1630
  }, [
1606
- C(n.$slots, "default", {}, void 0, !0)
1631
+ L(s.$slots, "default", {}, void 0, !0)
1607
1632
  ], 2));
1608
1633
  }
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 = {
1634
+ }, 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" }, kt = {
1610
1635
  __name: "DModal",
1611
1636
  props: {
1612
1637
  show: Boolean,
@@ -1616,43 +1641,43 @@ const Fo = {
1616
1641
  // максимальная ширина диалога 500px, 100% и т.п.
1617
1642
  },
1618
1643
  emits: ["open", "close"],
1619
- setup(e, { expose: t, emit: o }) {
1620
- const s = e, n = T(null), a = T(!1);
1621
- a.value = s == null ? void 0 : s.show;
1644
+ setup(t, { expose: e, emit: o }) {
1645
+ const n = t, s = T(null), a = T(!1);
1646
+ a.value = n == null ? void 0 : n.show;
1622
1647
  const l = () => {
1623
- a.value = !0, o("open", n);
1648
+ a.value = !0, o("open", s);
1624
1649
  }, r = () => {
1625
- a.value = !1, o("close", n);
1650
+ a.value = !1, o("close", s);
1626
1651
  };
1627
- return t({
1652
+ return e({
1628
1653
  show: l,
1629
1654
  hide: r
1630
1655
  }), (i, c) => {
1631
1656
  const u = Re("keydown");
1632
1657
  return d(), b(mt, { to: "body" }, [
1633
- Q(Ne, { name: "fade" }, {
1634
- default: E(() => [
1635
- a.value ? J((d(), p("div", {
1658
+ J(Ne, { name: "fade" }, {
1659
+ default: B(() => [
1660
+ a.value ? oe((d(), m("div", {
1636
1661
  key: 0,
1637
1662
  ref_key: "modalRef",
1638
- ref: n,
1663
+ ref: s,
1639
1664
  class: "modal"
1640
1665
  }, [
1641
1666
  _("div", {
1642
1667
  class: "modal-dialog",
1643
- style: V({ width: s.width, maxWidth: s.maxWidth })
1668
+ style: z({ width: n.width, maxWidth: n.maxWidth })
1644
1669
  }, [
1645
1670
  _("div", Wo, [
1646
1671
  _("div", Po, [
1647
1672
  _("h5", jo, [
1648
- C(i.$slots, "modal-title")
1673
+ L(i.$slots, "modal-title")
1649
1674
  ])
1650
1675
  ]),
1651
1676
  _("div", Xo, [
1652
- C(i.$slots, "default")
1677
+ L(i.$slots, "default")
1653
1678
  ]),
1654
1679
  _("div", Yo, [
1655
- C(i.$slots, "modal-footer")
1680
+ L(i.$slots, "modal-footer")
1656
1681
  ])
1657
1682
  ])
1658
1683
  ], 4)
@@ -1665,24 +1690,24 @@ const Fo = {
1665
1690
  ]);
1666
1691
  };
1667
1692
  }
1668
- }, ce = Et();
1669
- function Me(e) {
1670
- e === void 0 && (e = ce.value.comp.returnValue()), ce.value.resolve(e), ce.value = null;
1693
+ }, ce = Bt();
1694
+ function Me(t) {
1695
+ t === void 0 && (t = ce.value.comp.returnValue()), ce.value.resolve(t), ce.value = null;
1671
1696
  }
1672
- function kt(e, t, o = "default") {
1673
- return new Promise((s) => {
1697
+ function $t(t, e, o = "default") {
1698
+ return new Promise((n) => {
1674
1699
  ce.value = {
1675
- dialog: e,
1676
- props: t,
1700
+ dialog: t,
1701
+ props: e,
1677
1702
  wrapper: o,
1678
- resolve: s
1703
+ resolve: n
1679
1704
  };
1680
1705
  });
1681
1706
  }
1682
- var Uo = (e, t) => {
1683
- const o = e.__vccOpts || e;
1684
- for (const [s, n] of t)
1685
- o[s] = n;
1707
+ var Uo = (t, e) => {
1708
+ const o = t.__vccOpts || t;
1709
+ for (const [n, s] of e)
1710
+ o[n] = s;
1686
1711
  return o;
1687
1712
  };
1688
1713
  const qo = Mt({
@@ -1696,19 +1721,19 @@ const qo = Mt({
1696
1721
  transitionAttrs: Object
1697
1722
  },
1698
1723
  setup() {
1699
- const e = T();
1700
- return vt(e, () => {
1701
- ce.value && (ce.value.comp = e.value);
1724
+ const t = T();
1725
+ return vt(t, () => {
1726
+ ce.value && (ce.value.comp = t.value);
1702
1727
  }), {
1703
1728
  dialogRef: ce,
1704
- dialogInstance: e
1729
+ dialogInstance: t
1705
1730
  };
1706
1731
  }
1707
1732
  });
1708
- function Go(e, t, o, s, n, a) {
1709
- return d(), b(Ne, pt(ft(e.transitionAttrs)), {
1710
- default: E(() => [
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)
1733
+ function Go(t, e, o, n, s, a) {
1734
+ return d(), b(Ne, pt(ft(t.transitionAttrs)), {
1735
+ default: B(() => [
1736
+ t.dialogRef && t.dialogRef.wrapper === t.name ? (d(), b(U(t.dialogRef.dialog), ue({ key: 0 }, t.dialogRef.props, { ref: "dialogInstance" }), null, 16)) : k("", !0)
1712
1737
  ]),
1713
1738
  _: 1
1714
1739
  }, 16);
@@ -1720,24 +1745,24 @@ const Ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1720
1745
  title: String,
1721
1746
  message: String
1722
1747
  },
1723
- setup(e, { expose: t }) {
1724
- const o = e;
1725
- return t({
1748
+ setup(t, { expose: e }) {
1749
+ const o = t;
1750
+ return e({
1726
1751
  returnValue: () => !0
1727
- }), (n, a) => (d(), p("div", null, [
1728
- Q($t, { show: !0 }, {
1729
- "modal-title": E(() => [
1752
+ }), (s, a) => (d(), m("div", null, [
1753
+ J(kt, { show: !0 }, {
1754
+ "modal-title": B(() => [
1730
1755
  K(O(o.title), 1)
1731
1756
  ]),
1732
- default: E(() => [
1757
+ default: B(() => [
1733
1758
  K(O(o.message), 1)
1734
1759
  ]),
1735
- "modal-footer": E(() => [
1760
+ "modal-footer": B(() => [
1736
1761
  _("div", Ko, [
1737
- Q(ie, {
1738
- onClick: a[0] || (a[0] = (l) => B(Me)())
1762
+ J(ie, {
1763
+ onClick: a[0] || (a[0] = (l) => E(Me)())
1739
1764
  }, {
1740
- default: E(() => [
1765
+ default: B(() => [
1741
1766
  K("Закрыть")
1742
1767
  ]),
1743
1768
  _: 1
@@ -1748,39 +1773,39 @@ const Ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1748
1773
  })
1749
1774
  ]));
1750
1775
  }
1751
- }, Qo = { style: { display: "flex", "flex-direction": "row", "justify-content": "center", gap: "5px" } }, es = {
1776
+ }, Qo = { style: { display: "flex", "flex-direction": "row", "justify-content": "center", gap: "5px" } }, en = {
1752
1777
  __name: "DConfirmDialog",
1753
1778
  props: {
1754
1779
  title: String,
1755
1780
  message: String
1756
1781
  },
1757
- setup(e, { expose: t }) {
1758
- const o = e;
1759
- return t({
1782
+ setup(t, { expose: e }) {
1783
+ const o = t;
1784
+ return e({
1760
1785
  returnValue: () => !0
1761
- }), (n, a) => (d(), p("div", null, [
1762
- Q($t, { show: !0 }, {
1763
- "modal-title": E(() => [
1786
+ }), (s, a) => (d(), m("div", null, [
1787
+ J(kt, { show: !0 }, {
1788
+ "modal-title": B(() => [
1764
1789
  K(O(o.title), 1)
1765
1790
  ]),
1766
- default: E(() => [
1791
+ default: B(() => [
1767
1792
  K(O(o.message), 1)
1768
1793
  ]),
1769
- "modal-footer": E(() => [
1794
+ "modal-footer": B(() => [
1770
1795
  _("div", Qo, [
1771
- Q(ie, {
1772
- onClick: a[0] || (a[0] = (l) => B(Me)())
1796
+ J(ie, {
1797
+ onClick: a[0] || (a[0] = (l) => E(Me)())
1773
1798
  }, {
1774
- default: E(() => [
1799
+ default: B(() => [
1775
1800
  K("Да")
1776
1801
  ]),
1777
1802
  _: 1
1778
1803
  }),
1779
- Q(ie, {
1804
+ J(ie, {
1780
1805
  class: "button-red",
1781
- onClick: a[1] || (a[1] = (l) => B(Me)(!1))
1806
+ onClick: a[1] || (a[1] = (l) => E(Me)(!1))
1782
1807
  }, {
1783
- default: E(() => [
1808
+ default: B(() => [
1784
1809
  K("Нет")
1785
1810
  ]),
1786
1811
  _: 1
@@ -1791,7 +1816,7 @@ const Ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1791
1816
  })
1792
1817
  ]));
1793
1818
  }
1794
- }, ts = { class: "dropdown" }, An = {
1819
+ }, tn = { class: "dropdown" }, As = {
1795
1820
  __name: "DDropdown",
1796
1821
  props: {
1797
1822
  class: String,
@@ -1810,90 +1835,90 @@ const Ko = { style: { display: "flex", "flex-direction": "row", "justify-content
1810
1835
  }
1811
1836
  },
1812
1837
  emits: ["select", "click"],
1813
- setup(e, { expose: t, emit: o }) {
1814
- const s = e, n = Le(), a = T(null), l = T(null), r = T(0), i = T(0), c = (S) => {
1815
- if (o("click", S), a.value.isShowed()) {
1838
+ setup(t, { expose: e, emit: o }) {
1839
+ const n = t, s = Ce(), a = T(null), l = T(null), r = T(0), i = T(0), c = (C) => {
1840
+ if (o("click", C), a.value.isShowed()) {
1816
1841
  a.value.hide();
1817
1842
  return;
1818
1843
  }
1819
1844
  a.value.show(), ht(() => {
1820
- const N = a.value.elementSize(), $ = l.value.elementSize(), H = window.innerWidth, P = window.innerHeight;
1821
- r.value = H - ($.x + $.width) < N.width ? $.left - N.width + $.width : $.left, i.value = P - ($.y + $.height) < N.height ? $.top - N.height - 5 : $.height + $.top + 5;
1845
+ const R = a.value.elementSize(), $ = l.value.elementSize(), H = window.innerWidth, Y = window.innerHeight;
1846
+ r.value = H - ($.x + $.width) < R.width ? $.left - R.width + $.width : $.left, i.value = Y - ($.y + $.height) < R.height ? $.top - R.height - 5 : $.height + $.top + 5;
1822
1847
  });
1823
- }, u = (S) => {
1824
- o("select", S);
1825
- }, h = m(() => ({ left: r.value + "px", top: i.value + "px", position: s.bodyAsParent ? "absolute" : "fixed", ...s.menuStyle }));
1826
- t({
1848
+ }, u = (C) => {
1849
+ o("select", C);
1850
+ }, g = h(() => ({ left: r.value + "px", top: i.value + "px", position: n.bodyAsParent ? "absolute" : "fixed", ...n.menuStyle }));
1851
+ e({
1827
1852
  show: c
1828
1853
  });
1829
- const x = (S) => !!n[S];
1830
- return (S, N) => (d(), p("div", ts, [
1854
+ const x = (C) => !!s[C];
1855
+ return (C, R) => (d(), m("div", tn, [
1831
1856
  x("default") ? (d(), b(ie, {
1832
1857
  key: 0,
1833
1858
  ref_key: "buttonRef",
1834
1859
  ref: l,
1835
- class: D(s.class),
1836
- icon: s.icon,
1860
+ class: D(n.class),
1861
+ icon: n.icon,
1837
1862
  onClick: j(c, ["stop", "prevent"]),
1838
- type: s.type
1863
+ type: n.type
1839
1864
  }, {
1840
- default: E(() => [
1841
- C(S.$slots, "default")
1865
+ default: B(() => [
1866
+ L(C.$slots, "default")
1842
1867
  ]),
1843
1868
  _: 3
1844
1869
  }, 8, ["class", "icon", "onClick", "type"])) : (d(), b(ie, {
1845
1870
  key: 1,
1846
1871
  ref_key: "buttonRef",
1847
1872
  ref: l,
1848
- class: D(s.class),
1849
- icon: s.icon,
1873
+ class: D(n.class),
1874
+ icon: n.icon,
1850
1875
  onClick: j(c, ["stop", "prevent"]),
1851
- type: s.type
1876
+ type: n.type
1852
1877
  }, null, 8, ["class", "icon", "onClick", "type"])),
1853
- Q(bt, {
1878
+ J(bt, {
1854
1879
  ref_key: "dMenuRef",
1855
1880
  ref: a,
1856
- items: s.items,
1881
+ items: n.items,
1857
1882
  class: "dropdown-menu",
1858
- style: V(h.value),
1883
+ style: z(g.value),
1859
1884
  "no-select": !0,
1860
1885
  onSelect: u,
1861
- "render-item-title": s.renderItemTitle,
1862
- "before-item": s.beforeItem,
1863
- "body-as-parent": s.bodyAsParent
1886
+ "render-item-title": n.renderItemTitle,
1887
+ "before-item": n.beforeItem,
1888
+ "body-as-parent": n.bodyAsParent
1864
1889
  }, null, 8, ["items", "style", "render-item-title", "before-item", "body-as-parent"])
1865
1890
  ]));
1866
1891
  }
1867
- }, os = {}, ss = { class: "d-panel" };
1868
- function ns(e, t) {
1869
- return d(), p("div", ss, [
1870
- C(e.$slots, "default")
1892
+ }, on = {}, nn = { class: "d-panel" };
1893
+ function sn(t, e) {
1894
+ return d(), m("div", nn, [
1895
+ L(t.$slots, "default")
1871
1896
  ]);
1872
1897
  }
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 = {
1898
+ const an = /* @__PURE__ */ ne(on, [["render", sn]]), ln = { class: "card-header" }, rn = { class: "modal-title" }, dn = { class: "card-body" }, cn = { class: "card-footer" }, Hs = {
1874
1899
  __name: "DCard",
1875
- setup(e) {
1876
- return (t, o) => (d(), b(as, { class: "d-card" }, {
1877
- default: E(() => [
1878
- _("div", is, [
1879
- _("h5", ls, [
1880
- C(t.$slots, "title")
1900
+ setup(t) {
1901
+ return (e, o) => (d(), b(an, { class: "d-card" }, {
1902
+ default: B(() => [
1903
+ _("div", ln, [
1904
+ _("h5", rn, [
1905
+ L(e.$slots, "title")
1881
1906
  ])
1882
1907
  ]),
1883
- _("div", rs, [
1884
- C(t.$slots, "default")
1908
+ _("div", dn, [
1909
+ L(e.$slots, "default")
1885
1910
  ]),
1886
- _("div", ds, [
1887
- C(t.$slots, "footer")
1911
+ _("div", cn, [
1912
+ L(e.$slots, "footer")
1888
1913
  ])
1889
1914
  ]),
1890
1915
  _: 3
1891
1916
  }));
1892
1917
  }
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();
1918
+ }, un = /* @__PURE__ */ new Map();
1919
+ class pn {
1920
+ constructor(e, o, n) {
1921
+ this.remaining = o, this.callback = e, this.notifyItem = n, this.resume();
1897
1922
  }
1898
1923
  pause() {
1899
1924
  clearTimeout(this.notifyItem.timer), this.remaining -= Date.now() - this.start;
@@ -1902,14 +1927,14 @@ class us {
1902
1927
  this.start = Date.now(), clearTimeout(this.notifyItem.timer), this.notifyItem.timer = setTimeout(this.callback, this.remaining);
1903
1928
  }
1904
1929
  }
1905
- const Be = "[-+]?[0-9]*.?[0-9]+", it = [
1930
+ const Ee = "[-+]?[0-9]*.?[0-9]+", it = [
1906
1931
  {
1907
1932
  name: "px",
1908
- regexp: new RegExp(`^${Be}px$`)
1933
+ regexp: new RegExp(`^${Ee}px$`)
1909
1934
  },
1910
1935
  {
1911
1936
  name: "%",
1912
- regexp: new RegExp(`^${Be}%$`)
1937
+ regexp: new RegExp(`^${Ee}%$`)
1913
1938
  },
1914
1939
  /**
1915
1940
  * Fallback option
@@ -1917,50 +1942,50 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
1917
1942
  */
1918
1943
  {
1919
1944
  name: "px",
1920
- regexp: new RegExp(`^${Be}$`)
1945
+ regexp: new RegExp(`^${Ee}$`)
1921
1946
  }
1922
- ], ps = (e) => {
1923
- if (e === "auto")
1947
+ ], fn = (t) => {
1948
+ if (t === "auto")
1924
1949
  return {
1925
- type: e,
1950
+ type: t,
1926
1951
  value: 0
1927
1952
  };
1928
- for (let t = 0; t < it.length; t++) {
1929
- const o = it[t];
1930
- if (o.regexp.test(e))
1953
+ for (let e = 0; e < it.length; e++) {
1954
+ const o = it[e];
1955
+ if (o.regexp.test(t))
1931
1956
  return {
1932
1957
  type: o.name,
1933
- value: parseFloat(e)
1958
+ value: parseFloat(t)
1934
1959
  };
1935
1960
  }
1936
1961
  return {
1937
1962
  type: "",
1938
- value: e
1963
+ value: t
1939
1964
  };
1940
- }, fs = (e) => {
1941
- switch (typeof e) {
1965
+ }, mn = (t) => {
1966
+ switch (typeof t) {
1942
1967
  case "number":
1943
- return { type: "px", value: e };
1968
+ return { type: "px", value: t };
1944
1969
  case "string":
1945
- return ps(e);
1970
+ return fn(t);
1946
1971
  default:
1947
- return { type: "", value: e };
1972
+ return { type: "", value: t };
1948
1973
  }
1949
1974
  }, lt = {
1950
1975
  x: /* @__PURE__ */ new Set(["left", "center", "right"]),
1951
1976
  y: /* @__PURE__ */ new Set(["top", "bottom"])
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
- let t = null, o = null;
1955
- return e.forEach((s) => {
1956
- lt.y.has(s) && (o = s), lt.x.has(s) && (t = s);
1957
- }), { x: t, y: o };
1958
- }, Ee = {
1977
+ }, hn = ((t) => () => t++)(0), gn = (t) => typeof t != "string" ? [] : t.split(/\s+/gi).filter(Boolean), vn = (t) => {
1978
+ typeof t == "string" && (t = gn(t));
1979
+ let e = null, o = null;
1980
+ return t.forEach((n) => {
1981
+ lt.y.has(n) && (o = n), lt.x.has(n) && (e = n);
1982
+ }), { x: e, y: o };
1983
+ }, Be = {
1959
1984
  position: ["top", "right"],
1960
1985
  cssAnimation: "fade",
1961
1986
  velocityAnimation: {
1962
- enter: (e) => ({
1963
- height: [e.clientHeight, 0],
1987
+ enter: (t) => ({
1988
+ height: [t.clientHeight, 0],
1964
1989
  opacity: [1, 0]
1965
1990
  }),
1966
1991
  leave: {
@@ -1968,53 +1993,53 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
1968
1993
  opacity: [0, 1]
1969
1994
  }
1970
1995
  }
1971
- }, vs = {
1996
+ }, yn = {
1972
1997
  __name: "VelocityGroup",
1973
1998
  emits: ["enter", "leave", "after-leave"],
1974
- setup(e, { emit: t }) {
1999
+ setup(t, { emit: e }) {
1975
2000
  const o = (a, l) => {
1976
- t("enter", a, l);
1977
- }, s = (a, l) => {
1978
- t("leave", a, l);
1979
- }, n = () => {
1980
- t("after-leave");
2001
+ e("enter", a, l);
2002
+ }, n = (a, l) => {
2003
+ e("leave", a, l);
2004
+ }, s = () => {
2005
+ e("after-leave");
1981
2006
  };
1982
2007
  return (a, l) => (d(), b(yt, {
1983
2008
  tag: "span",
1984
2009
  css: !1,
1985
2010
  onEnter: o,
1986
- onLeave: s,
1987
- onAfterLeave: n
2011
+ onLeave: n,
2012
+ onAfterLeave: s
1988
2013
  }, {
1989
- default: E(() => [
1990
- C(a.$slots, "default")
2014
+ default: B(() => [
2015
+ L(a.$slots, "default")
1991
2016
  ]),
1992
2017
  _: 3
1993
2018
  }));
1994
2019
  }
1995
- }, ys = /* @__PURE__ */ Object.assign({
2020
+ }, _n = /* @__PURE__ */ Object.assign({
1996
2021
  inheritAttrs: !1
1997
2022
  }, {
1998
2023
  __name: "CssGroup",
1999
2024
  props: {
2000
2025
  name: String
2001
2026
  },
2002
- setup(e) {
2003
- const t = e;
2004
- return (o, s) => (d(), b(yt, {
2027
+ setup(t) {
2028
+ const e = t;
2029
+ return (o, n) => (d(), b(yt, {
2005
2030
  tag: "span",
2006
- name: t.name
2031
+ name: e.name
2007
2032
  }, {
2008
- default: E(() => [
2009
- C(o.$slots, "default")
2033
+ default: B(() => [
2034
+ L(o.$slots, "default")
2010
2035
  ]),
2011
2036
  _: 3
2012
2037
  }, 8, ["name"]));
2013
2038
  }
2014
- }), _s = ["data-id"], bs = ["onClick"], xs = ["innerHTML"], $s = ["innerHTML"], ks = {
2039
+ }), bn = ["data-id"], xn = ["onClick"], kn = ["innerHTML"], $n = ["innerHTML"], wn = {
2015
2040
  key: 0,
2016
2041
  class: "d-notification-title"
2017
- }, ws = { class: "notification-content" }, Vn = {
2042
+ }, Sn = { class: "notification-content" }, Vs = {
2018
2043
  __name: "DNotificationProvider",
2019
2044
  props: {
2020
2045
  group: {
@@ -2031,7 +2056,7 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2031
2056
  },
2032
2057
  position: {
2033
2058
  type: [String, Array, null],
2034
- default: Ee.position
2059
+ default: Be.position
2035
2060
  },
2036
2061
  classes: {
2037
2062
  type: String,
@@ -2043,11 +2068,11 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2043
2068
  },
2044
2069
  animation: {
2045
2070
  type: [String, Object],
2046
- default: Ee.velocityAnimation
2071
+ default: Be.velocityAnimation
2047
2072
  },
2048
2073
  animationName: {
2049
2074
  type: String,
2050
- default: Ee.cssAnimation
2075
+ default: Be.cssAnimation
2051
2076
  },
2052
2077
  speed: {
2053
2078
  type: Number,
@@ -2083,18 +2108,18 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2083
2108
  }
2084
2109
  },
2085
2110
  emits: ["click", "destroy", "start"],
2086
- setup(e, { emit: t }) {
2087
- const o = e, s = {
2111
+ setup(t, { emit: e }) {
2112
+ const o = t, n = {
2088
2113
  IDLE: 0,
2089
2114
  DESTROYED: 2
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
- width: L + G
2115
+ }, s = T([]), a = T(null), l = T(un.get("velocity")), r = h(() => o.animationType === "velocity"), i = h(() => r.value ? yn : _n), c = h(() => s.value.filter((f) => f.state !== n.DESTROYED)), u = h(() => mn(o.width)), g = h(() => {
2116
+ const { x: f, y: p } = vn(o.position), y = u.value.value, A = u.value.type, se = {
2117
+ width: y + A
2093
2118
  };
2094
- return W && (ne[W] = "0px"), f && (f === "center" ? ne.left = `calc(50% - ${+L / 2}${G})` : ne[f] = "0px"), ne;
2095
- }), x = m(() => "bottom" in h.value), S = (f) => {
2096
- t("click", f), o.closeOnClick && M(f);
2097
- }, N = () => {
2119
+ return p && (se[p] = "0px"), f && (f === "center" ? se.left = `calc(50% - ${+y / 2}${A})` : se[f] = "0px"), se;
2120
+ }), x = h(() => "bottom" in g.value), C = (f) => {
2121
+ e("click", f), o.closeOnClick && F(f);
2122
+ }, R = () => {
2098
2123
  var f;
2099
2124
  o.pauseOnHover && ((f = a.value) == null || f.pause());
2100
2125
  }, $ = () => {
@@ -2104,114 +2129,114 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2104
2129
  if (f.group || (f.group = ""), f.data || (f.data = {}), o.group !== f.group)
2105
2130
  return;
2106
2131
  if (f.clean || f.clear) {
2107
- R();
2132
+ W();
2108
2133
  return;
2109
2134
  }
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,
2135
+ const p = typeof f.duration == "number" ? f.duration : o.duration, y = typeof f.speed == "number" ? f.speed : o.speed, A = typeof f.ignoreDuplicates == "boolean" ? f.ignoreDuplicates : o.ignoreDuplicates, { title: se, text: ve, type: ye, data: _e, id: be } = f, Q = {
2136
+ id: be || hn(),
2137
+ title: se,
2113
2138
  text: ve,
2114
2139
  type: ye,
2115
- state: s.IDLE,
2116
- speed: L,
2117
- length: W + 2 * L,
2140
+ state: n.IDLE,
2141
+ speed: y,
2142
+ length: p + 2 * y,
2118
2143
  data: _e
2119
2144
  };
2120
- W >= 0 && (a.value = new us(() => M(ee), ee.length, ee));
2145
+ p >= 0 && (a.value = new pn(() => F(Q), Q.length, Q));
2121
2146
  const xe = o.reverse ? !x.value : x.value;
2122
2147
  let de = -1;
2123
- const $e = c.value.some((he) => he.title === f.title && he.text === f.text);
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
- }, P = (f) => {
2126
- g(f);
2127
- }, w = (f) => [
2148
+ const ke = c.value.some((he) => he.title === f.title && he.text === f.text);
2149
+ (!A || !ke) && (xe ? (s.value.push(Q), e("start", Q), c.value.length > o.max && (de = 0)) : (s.value.unshift(Q), e("start", Q), c.value.length > o.max && (de = c.value.length - 1)), de !== -1 && F(c.value[de]));
2150
+ }, Y = (f) => {
2151
+ S(f);
2152
+ }, M = (f) => [
2128
2153
  "d-notification-template",
2129
2154
  o.classes,
2130
2155
  f.type || ""
2131
- ], I = (f) => r.value ? void 0 : { transition: `all ${f.speed}ms` }, M = (f) => {
2132
- clearTimeout(f.timer), f.state = s.DESTROYED, F(), t("destroy", f);
2133
- }, g = (f) => {
2134
- const W = n.value.find((L) => L.id === f);
2135
- W && M(W);
2136
- }, R = () => {
2137
- c.value.forEach(M);
2138
- }, A = (f, W) => {
2139
- var G;
2140
- const L = (G = o.animation) == null ? void 0 : G[f];
2141
- return typeof L == "function" ? L(W) : L;
2142
- }, z = (f, W) => {
2156
+ ], I = (f) => r.value ? void 0 : { transition: `all ${f.speed}ms` }, F = (f) => {
2157
+ clearTimeout(f.timer), f.state = n.DESTROYED, P(), e("destroy", f);
2158
+ }, S = (f) => {
2159
+ const p = s.value.find((y) => y.id === f);
2160
+ p && F(p);
2161
+ }, W = () => {
2162
+ c.value.forEach(F);
2163
+ }, N = (f, p) => {
2164
+ var A;
2165
+ const y = (A = o.animation) == null ? void 0 : A[f];
2166
+ return typeof y == "function" ? y(p) : y;
2167
+ }, w = (f, p) => {
2143
2168
  if (!r.value)
2144
2169
  return;
2145
- const L = A("enter", f);
2146
- l.value(f, L, {
2170
+ const y = N("enter", f);
2171
+ l.value(f, y, {
2147
2172
  duration: o.speed,
2148
- complete: W
2173
+ complete: p
2149
2174
  });
2150
- }, y = (f, W) => {
2175
+ }, V = (f, p) => {
2151
2176
  if (!r.value)
2152
2177
  return;
2153
- const L = A("leave", f);
2154
- l.value(f, L, {
2178
+ const y = N("leave", f);
2179
+ l.value(f, y, {
2155
2180
  duration: o.speed,
2156
- complete: W
2181
+ complete: p
2157
2182
  });
2158
2183
  };
2159
- function F() {
2160
- n.value = n.value.filter((f) => f.state !== s.DESTROYED);
2184
+ function P() {
2185
+ s.value = s.value.filter((f) => f.state !== n.DESTROYED);
2161
2186
  }
2162
2187
  return me(() => {
2163
- U.on("notification-add", H), U.on("notification-close", P);
2164
- }), (f, W) => (d(), p("div", {
2188
+ q.on("notification-add", H), q.on("notification-close", Y);
2189
+ }), (f, p) => (d(), m("div", {
2165
2190
  class: "d-notification-group",
2166
- style: V(h.value)
2191
+ style: z(g.value)
2167
2192
  }, [
2168
- (d(), b(Y(i.value), {
2169
- name: e.animationName,
2170
- onEnter: z,
2171
- onLeave: y,
2172
- onAfterLeave: F
2193
+ (d(), b(U(i.value), {
2194
+ name: t.animationName,
2195
+ onEnter: w,
2196
+ onLeave: V,
2197
+ onAfterLeave: P
2173
2198
  }, {
2174
- default: E(() => [
2175
- (d(!0), p(le, null, ge(c.value, (L) => (d(), p("div", {
2176
- key: L.id,
2199
+ default: B(() => [
2200
+ (d(!0), m(le, null, ge(c.value, (y) => (d(), m("div", {
2201
+ key: y.id,
2177
2202
  class: "d-notification-wrapper",
2178
- style: V(I(L)),
2179
- "data-id": L.id,
2180
- onMouseenter: N,
2203
+ style: z(I(y)),
2204
+ "data-id": y.id,
2205
+ onMouseenter: R,
2181
2206
  onMouseleave: $
2182
2207
  }, [
2183
- C(f.$slots, "body", {
2184
- class: D([e.classes, L.type]),
2185
- item: L,
2186
- close: () => M(L)
2208
+ L(f.$slots, "body", {
2209
+ class: D([t.classes, y.type]),
2210
+ item: y,
2211
+ close: () => F(y)
2187
2212
  }, () => [
2188
2213
  _("div", {
2189
- class: D(w(L)),
2190
- onClick: (G) => S(L)
2214
+ class: D(M(y)),
2215
+ onClick: (A) => C(y)
2191
2216
  }, [
2192
- e.dangerouslySetInnerHtml ? (d(), p(le, { key: 0 }, [
2193
- L.title ? (d(), p("div", {
2217
+ t.dangerouslySetInnerHtml ? (d(), m(le, { key: 0 }, [
2218
+ y.title ? (d(), m("div", {
2194
2219
  key: 0,
2195
2220
  class: "d-notification-title",
2196
- innerHTML: L.timer
2197
- }, null, 8, xs)) : k("", !0),
2221
+ innerHTML: y.timer
2222
+ }, null, 8, kn)) : k("", !0),
2198
2223
  _("div", {
2199
2224
  class: "notification-content",
2200
- innerHTML: L.text
2201
- }, null, 8, $s)
2202
- ], 64)) : (d(), p(le, { key: 1 }, [
2203
- L.title ? (d(), p("div", ks, O(L.title), 1)) : k("", !0),
2204
- _("div", ws, O(L.text), 1)
2225
+ innerHTML: y.text
2226
+ }, null, 8, $n)
2227
+ ], 64)) : (d(), m(le, { key: 1 }, [
2228
+ y.title ? (d(), m("div", wn, O(y.title), 1)) : k("", !0),
2229
+ _("div", Sn, O(y.text), 1)
2205
2230
  ], 64))
2206
- ], 10, bs)
2231
+ ], 10, xn)
2207
2232
  ])
2208
- ], 44, _s))), 128))
2233
+ ], 44, bn))), 128))
2209
2234
  ]),
2210
2235
  _: 3
2211
2236
  }, 40, ["name"]))
2212
2237
  ], 4));
2213
2238
  }
2214
- }, Ss = { class: "d-info-progress-icon-container" }, Ds = { class: "d-info-progress-icon" }, Ts = { class: "d-info-progress-data-container" }, Ls = ["innerHTML"], zn = {
2239
+ }, Dn = { class: "d-info-progress-icon-container" }, Tn = { class: "d-info-progress-icon" }, Cn = { class: "d-info-progress-data-container" }, Ln = ["innerHTML"], zs = {
2215
2240
  __name: "DInfoProgress",
2216
2241
  props: {
2217
2242
  style: [String, Object],
@@ -2221,38 +2246,38 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2221
2246
  type: String
2222
2247
  },
2223
2248
  emits: ["click"],
2224
- setup(e, { emit: t }) {
2225
- const o = e, s = m(() => o.icon ? oe.getters.getIcon(o.icon) : null);
2226
- return (n, a) => (d(), p("div", {
2249
+ setup(t, { emit: e }) {
2250
+ const o = t, n = h(() => o.icon ? te.getters.getIcon(o.icon) : null);
2251
+ return (s, a) => (d(), m("div", {
2227
2252
  class: D(["d-info-progress", o.type ? `d-info-progress-${o.type}` : null]),
2228
- style: V(o.style),
2253
+ style: z(o.style),
2229
2254
  onClick: a[0] || (a[0] = (l) => {
2230
- t("click", l);
2255
+ e("click", l);
2231
2256
  })
2232
2257
  }, [
2233
- _("div", Ss, [
2234
- _("div", Ds, [
2235
- o.icon ? (d(), b(Y(re), {
2258
+ _("div", Dn, [
2259
+ _("div", Tn, [
2260
+ o.icon ? (d(), b(U(re), {
2236
2261
  key: 0,
2237
- component: s.value,
2262
+ component: n.value,
2238
2263
  color: "inherit",
2239
2264
  size: 17
2240
2265
  }, null, 8, ["component"])) : k("", !0)
2241
2266
  ])
2242
2267
  ]),
2243
- _("div", Ts, [
2268
+ _("div", Cn, [
2244
2269
  _("div", {
2245
2270
  class: "d-info-progress-line",
2246
- style: V("width: " + o.progress + "%;")
2271
+ style: z("width: " + o.progress + "%;")
2247
2272
  }, null, 4),
2248
2273
  _("div", {
2249
2274
  class: "d-info-progress-label",
2250
- innerHTML: e.label
2251
- }, null, 8, Ls)
2275
+ innerHTML: t.label
2276
+ }, null, 8, Ln)
2252
2277
  ])
2253
2278
  ], 6));
2254
2279
  }
2255
- }, Cs = { class: "d-checkbox" }, Is = ["id", "checked", "disabled"], Bs = ["for"], Fn = {
2280
+ }, In = { class: "d-checkbox" }, En = ["id", "checked", "disabled"], Bn = ["for"], Fs = {
2256
2281
  __name: "DCheckbox",
2257
2282
  props: {
2258
2283
  label: String,
@@ -2265,45 +2290,45 @@ const Be = "[-+]?[0-9]*.?[0-9]+", it = [
2265
2290
  checked: Boolean
2266
2291
  },
2267
2292
  emits: ["update:modelValue"],
2268
- setup(e, { emit: t }) {
2269
- const o = e, n = gt().uid, a = m({
2293
+ setup(t, { emit: e }) {
2294
+ const o = t, s = gt().uid, a = h({
2270
2295
  get: () => o.modelValue,
2271
2296
  set: (l) => {
2272
- t("update:modelValue", l);
2297
+ e("update:modelValue", l);
2273
2298
  }
2274
2299
  });
2275
- return (l, r) => (d(), p("div", Cs, [
2276
- J(_("input", {
2300
+ return (l, r) => (d(), m("div", In, [
2301
+ oe(_("input", {
2277
2302
  "onUpdate:modelValue": r[0] || (r[0] = (i) => a.value = i),
2278
- id: `i-${B(n)}`,
2303
+ id: `i-${E(s)}`,
2279
2304
  type: "checkbox",
2280
2305
  checked: o.checked,
2281
2306
  disabled: o.disabled,
2282
2307
  onChange: r[1] || (r[1] = (...i) => o.change && o.change(...i))
2283
- }, null, 40, Is), [
2308
+ }, null, 40, En), [
2284
2309
  [Nt, a.value]
2285
2310
  ]),
2286
2311
  _("label", {
2287
- for: `i-${B(n)}`
2288
- }, O(o.label), 9, Bs)
2312
+ for: `i-${E(s)}`
2313
+ }, O(o.label), 9, Bn)
2289
2314
  ]));
2290
2315
  }
2291
2316
  };
2292
- async function Es(e, t) {
2293
- return await kt(es, { title: e, message: t });
2317
+ async function Mn(t, e) {
2318
+ return await $t(en, { title: t, message: e });
2294
2319
  }
2295
- async function Ms(e, t) {
2296
- return await kt(Jo, { title: e, message: t });
2320
+ async function Nn(t, e) {
2321
+ return await $t(Jo, { title: t, message: e });
2297
2322
  }
2298
- const Wn = {
2323
+ const Ws = {
2299
2324
  __name: "DDialogProvider",
2300
- setup(e) {
2301
- return window.alert = Ms, window.confirm = Es, (t, o) => (d(), b(B(Zo)));
2325
+ setup(t) {
2326
+ return window.alert = Nn, window.confirm = Mn, (e, o) => (d(), b(E(Zo)));
2302
2327
  }
2303
- }, Ns = { class: "d-select" }, Rs = {
2328
+ }, Rn = { class: "d-select" }, On = {
2304
2329
  key: 0,
2305
2330
  class: "label"
2306
- }, Os = ["disabled"], As = ["value", "selected", "disabled"], Pn = {
2331
+ }, An = ["disabled"], Hn = ["value", "selected", "disabled"], Ps = {
2307
2332
  __name: "DSelect",
2308
2333
  props: {
2309
2334
  label: String,
@@ -2318,94 +2343,94 @@ const Wn = {
2318
2343
  }
2319
2344
  },
2320
2345
  emits: ["update:modelValue"],
2321
- setup(e, { emit: t }) {
2322
- const o = e, s = m(() => o.scale ? "d-select-" + o.scale : ""), n = m({
2346
+ setup(t, { emit: e }) {
2347
+ const o = t, n = h(() => o.scale ? "d-select-" + o.scale : ""), s = h({
2323
2348
  get: () => o.modelValue,
2324
2349
  set: (a) => {
2325
- t("update:modelValue", a);
2350
+ e("update:modelValue", a);
2326
2351
  }
2327
2352
  });
2328
2353
  for (let a = 0; a < o.options.length; a++)
2329
2354
  if (o.options[a].selected) {
2330
- n.value = o.options[a].value;
2355
+ s.value = o.options[a].value;
2331
2356
  break;
2332
2357
  }
2333
- return (a, l) => (d(), p("div", Ns, [
2334
- o.label ? (d(), p("div", Rs, O(o.label), 1)) : k("", !0),
2335
- J(_("select", {
2336
- "onUpdate:modelValue": l[0] || (l[0] = (r) => n.value = r),
2337
- class: D(s.value),
2338
- style: V(o.size === "wide" ? "width:100%" : ""),
2358
+ return (a, l) => (d(), m("div", Rn, [
2359
+ o.label ? (d(), m("div", On, O(o.label), 1)) : k("", !0),
2360
+ oe(_("select", {
2361
+ "onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
2362
+ class: D(n.value),
2363
+ style: z(o.size === "wide" ? "width:100%" : ""),
2339
2364
  disabled: o.disabled
2340
2365
  }, [
2341
- (d(!0), p(le, null, ge(o.options, (r, i) => (d(), p("option", {
2366
+ (d(!0), m(le, null, ge(o.options, (r, i) => (d(), m("option", {
2342
2367
  key: i,
2343
2368
  value: r.value,
2344
2369
  selected: r.selected,
2345
2370
  disabled: r.disabled
2346
- }, O(r.label), 9, As))), 128))
2347
- ], 14, Os), [
2348
- [Rt, n.value]
2371
+ }, O(r.label), 9, Hn))), 128))
2372
+ ], 14, An), [
2373
+ [Rt, s.value]
2349
2374
  ])
2350
2375
  ]));
2351
2376
  }
2352
2377
  };
2353
- const Hs = ["title"], Vs = { class: "tab-icon" }, zs = { class: "tab-label" }, Fs = ["title"], Ws = ["title"], Ps = {
2378
+ const Vn = ["title"], zn = { class: "tab-icon" }, Fn = { class: "tab-label" }, Wn = ["title"], Pn = ["title"], jn = {
2354
2379
  __name: "DTabLabel",
2355
2380
  props: {
2356
2381
  tab: Object
2357
2382
  },
2358
- setup(e) {
2359
- const t = e;
2360
- return (o, s) => t.tab.label && t.tab.icon ? (d(), p("span", {
2383
+ setup(t) {
2384
+ const e = t;
2385
+ return (o, n) => e.tab.label && e.tab.icon ? (d(), m("span", {
2361
2386
  key: 0,
2362
- title: t.tab.title ? t.tab.title : "",
2387
+ title: e.tab.title ? e.tab.title : "",
2363
2388
  style: { display: "flex", "flex-direction": "column" }
2364
2389
  }, [
2365
- _("div", Vs, [
2366
- Q(B(re), {
2367
- component: t.tab.icon
2390
+ _("div", zn, [
2391
+ J(E(re), {
2392
+ component: e.tab.icon
2368
2393
  }, null, 8, ["component"])
2369
2394
  ]),
2370
- _("div", zs, O(t.tab.label), 1)
2371
- ], 8, Hs)) : t.tab.label ? (d(), p("span", {
2395
+ _("div", Fn, O(e.tab.label), 1)
2396
+ ], 8, Vn)) : e.tab.label ? (d(), m("span", {
2372
2397
  key: 1,
2373
- title: t.tab.title ? t.tab.title : ""
2374
- }, O(t.tab.label), 9, Fs)) : t.tab.icon ? (d(), p("span", {
2398
+ title: e.tab.title ? e.tab.title : ""
2399
+ }, O(e.tab.label), 9, Wn)) : e.tab.icon ? (d(), m("span", {
2375
2400
  key: 2,
2376
- title: t.tab.title ? t.tab.title : ""
2401
+ title: e.tab.title ? e.tab.title : ""
2377
2402
  }, [
2378
- Q(B(re), {
2379
- component: t.tab.icon
2403
+ J(E(re), {
2404
+ component: e.tab.icon
2380
2405
  }, null, 8, ["component"])
2381
- ], 8, Ws)) : k("", !0);
2406
+ ], 8, Pn)) : k("", !0);
2382
2407
  }
2383
- }, js = /* @__PURE__ */ se(Ps, [["__scopeId", "data-v-9262b225"]]);
2384
- const Xs = { class: "d-tabs" }, Ys = {
2408
+ }, Xn = /* @__PURE__ */ ne(jn, [["__scopeId", "data-v-9262b225"]]);
2409
+ const Yn = { class: "d-tabs" }, Un = {
2385
2410
  __name: "DTabs",
2386
2411
  props: {
2387
2412
  tabs: Array
2388
2413
  },
2389
- setup(e) {
2390
- const o = Ot(e, "tabs"), s = T(0), n = (a) => {
2391
- s.value = a;
2414
+ setup(t) {
2415
+ const o = Ot(t, "tabs"), n = T(0), s = (a) => {
2416
+ n.value = a;
2392
2417
  };
2393
- return (a, l) => (d(), p(le, null, [
2394
- _("div", Xs, [
2395
- (d(!0), p(le, null, ge(o.value, (r, i) => (d(), b(js, {
2418
+ return (a, l) => (d(), m(le, null, [
2419
+ _("div", Yn, [
2420
+ (d(!0), m(le, null, ge(o.value, (r, i) => (d(), b(Xn, {
2396
2421
  index: i,
2397
2422
  tab: r,
2398
- class: D(["d-tab-title", i === s.value ? "active" : ""]),
2399
- onClick: (c) => n(i)
2423
+ class: D(["d-tab-title", i === n.value ? "active" : ""]),
2424
+ onClick: (c) => s(i)
2400
2425
  }, null, 8, ["index", "tab", "class", "onClick"]))), 256))
2401
2426
  ]),
2402
2427
  (d(), b(At, null, [
2403
- (d(), b(Y(o.value[s.value].component)))
2428
+ (d(), b(U(o.value[n.value].component)))
2404
2429
  ], 1024))
2405
2430
  ], 64));
2406
2431
  }
2407
- }, jn = /* @__PURE__ */ se(Ys, [["__scopeId", "data-v-5459fcb7"]]);
2408
- const Us = { class: "d-grid" }, qs = {
2432
+ }, js = /* @__PURE__ */ ne(Un, [["__scopeId", "data-v-5459fcb7"]]);
2433
+ const qn = { class: "d-grid" }, Gn = {
2409
2434
  __name: "DGrid",
2410
2435
  props: {
2411
2436
  gap: {
@@ -2422,8 +2447,8 @@ const Us = { class: "d-grid" }, qs = {
2422
2447
  colXl: String,
2423
2448
  colXxl: String
2424
2449
  },
2425
- setup(e) {
2426
- const t = e;
2450
+ setup(t) {
2451
+ const e = t;
2427
2452
  Ae((u) => ({
2428
2453
  "09eba472": i[0],
2429
2454
  "09eba434": i[1],
@@ -2431,17 +2456,17 @@ const Us = { class: "d-grid" }, qs = {
2431
2456
  "09eba3b8": i[3],
2432
2457
  "09eba37a": i[4],
2433
2458
  "09eba33c": i[5],
2434
- "898eb2ac": t.gap
2459
+ "898eb2ac": e.gap
2435
2460
  }));
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];
2461
+ const { colXs: o, colSm: n, colMd: s, colLg: a, colXl: l, colXxl: r } = Ht(e), i = [o.value, n.value, s.value, a.value, l.value, r.value];
2437
2462
  let c = null;
2438
2463
  for (let u = 0; u < i.length; u++)
2439
2464
  c || (c = i[0]), u > 0 && (i[u] ? c = i[u] : i[u] = c);
2440
- return (u, h) => (d(), p("div", Us, [
2441
- C(u.$slots, "default", {}, void 0, !0)
2465
+ return (u, g) => (d(), m("div", qn, [
2466
+ L(u.$slots, "default", {}, void 0, !0)
2442
2467
  ]));
2443
2468
  }
2444
- }, Xn = /* @__PURE__ */ se(qs, [["__scopeId", "data-v-b45e8130"]]), Gs = ["src", "alt", "title"], Yn = {
2469
+ }, Xs = /* @__PURE__ */ ne(Gn, [["__scopeId", "data-v-b45e8130"]]), Zn = ["src", "alt", "title"], Ys = {
2445
2470
  __name: "DImage",
2446
2471
  props: {
2447
2472
  src: String,
@@ -2452,27 +2477,27 @@ const Us = { class: "d-grid" }, qs = {
2452
2477
  height: String,
2453
2478
  radius: String
2454
2479
  },
2455
- setup(e) {
2456
- const t = e, o = T(null), s = new Image();
2457
- return s.onload = () => {
2458
- o.value = s.src;
2459
- }, s.onerror = () => {
2460
- o.value = t.srcFail;
2480
+ setup(t) {
2481
+ const e = t, o = T(null), n = new Image();
2482
+ return n.onload = () => {
2483
+ o.value = n.src;
2484
+ }, n.onerror = () => {
2485
+ o.value = e.srcFail;
2461
2486
  }, me(() => {
2462
- s.src = t.src;
2463
- }), (n, a) => o.value ? (d(), p("img", {
2487
+ n.src = e.src;
2488
+ }), (s, a) => o.value ? (d(), m("img", {
2464
2489
  key: 0,
2465
2490
  src: o.value,
2466
- alt: t.alt,
2467
- title: t.title,
2468
- style: V({ width: t.width, height: t.height, borderRadius: t.radius })
2469
- }, null, 12, Gs)) : k("", !0);
2491
+ alt: e.alt,
2492
+ title: e.title,
2493
+ style: z({ width: e.width, height: e.height, borderRadius: e.radius })
2494
+ }, null, 12, Zn)) : k("", !0);
2470
2495
  }
2471
2496
  };
2472
- const Zs = { class: "d-textarea" }, Ks = {
2497
+ const Kn = { class: "d-textarea" }, Jn = {
2473
2498
  key: 0,
2474
2499
  class: "label"
2475
- }, Js = ["rows", "cols", "placeholder"], Qs = {
2500
+ }, Qn = ["rows", "cols", "placeholder"], es = {
2476
2501
  __name: "DTextarea",
2477
2502
  props: {
2478
2503
  label: String,
@@ -2491,164 +2516,164 @@ const Zs = { class: "d-textarea" }, Ks = {
2491
2516
  focus: Boolean
2492
2517
  },
2493
2518
  emits: ["update:modelValue"],
2494
- setup(e, { expose: t, emit: o }) {
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,
2519
+ setup(t, { expose: e, emit: o }) {
2520
+ const n = t, s = T(null), a = h(() => n.scale === "small" ? "d-textarea-small" : n.scale === "large" ? "d-textarea-large" : ""), l = h({
2521
+ get: () => n.modelValue,
2497
2522
  set: (i) => {
2498
2523
  o("update:modelValue", i);
2499
2524
  }
2500
2525
  });
2501
2526
  me(() => {
2502
- s.focus && r();
2527
+ n.focus && r();
2503
2528
  });
2504
2529
  const r = () => {
2505
- n.value.focus();
2530
+ s.value.focus();
2506
2531
  };
2507
- return t({
2532
+ return e({
2508
2533
  focus: r
2509
- }), (i, c) => (d(), p("div", Zs, [
2510
- s.label ? (d(), p("div", Ks, O(s.label), 1)) : k("", !0),
2511
- J(_("textarea", {
2534
+ }), (i, c) => (d(), m("div", Kn, [
2535
+ n.label ? (d(), m("div", Jn, O(n.label), 1)) : k("", !0),
2536
+ oe(_("textarea", {
2512
2537
  ref_key: "inputRef",
2513
- ref: n,
2538
+ ref: s,
2514
2539
  "onUpdate:modelValue": c[0] || (c[0] = (u) => l.value = u),
2515
- rows: s.rows,
2516
- cols: s.cols,
2517
- placeholder: s.placeholder,
2540
+ rows: n.rows,
2541
+ cols: n.cols,
2542
+ placeholder: n.placeholder,
2518
2543
  class: D(a.value),
2519
2544
  style: { width: "100%" }
2520
- }, null, 10, Js), [
2545
+ }, null, 10, Qn), [
2521
2546
  [Vt, l.value]
2522
2547
  ])
2523
2548
  ]));
2524
2549
  }
2525
- }, Un = /* @__PURE__ */ se(Qs, [["__scopeId", "data-v-0e805d5d"]]);
2526
- class qn {
2527
- constructor(t) {
2528
- this.fields = t;
2550
+ }, Us = /* @__PURE__ */ ne(es, [["__scopeId", "data-v-0e805d5d"]]);
2551
+ class qs {
2552
+ constructor(e) {
2553
+ this.fields = e;
2529
2554
  }
2530
2555
  validate() {
2531
- let t = !1;
2556
+ let e = !1;
2532
2557
  for (let o in this.fields)
2533
- this.fields[o].ref.value.validate() === !0 && (t = !0);
2534
- return !t;
2558
+ this.fields[o].ref.value.validate() === !0 && (e = !0);
2559
+ return !e;
2535
2560
  }
2536
2561
  }
2537
- class en {
2538
- validate(t, o = "https") {
2539
- return this._isValidURL(t) || (t = o + "://" + t), this._isValidURL(t);
2562
+ class ts {
2563
+ validate(e, o = "https") {
2564
+ return this._isValidURL(e) || (e = o + "://" + e), this._isValidURL(e);
2540
2565
  }
2541
- message(t, o) {
2542
- let s = "";
2543
- switch (t) {
2566
+ message(e, o) {
2567
+ let n = "";
2568
+ switch (e) {
2544
2569
  case "url":
2545
- s = o;
2570
+ n = o;
2546
2571
  break;
2547
2572
  }
2548
- return s;
2573
+ return n;
2549
2574
  }
2550
- _isValidURL(t) {
2575
+ _isValidURL(e) {
2551
2576
  try {
2552
- return new URL(t), !0;
2577
+ return new URL(e), !0;
2553
2578
  } catch {
2554
2579
  return !1;
2555
2580
  }
2556
2581
  }
2557
2582
  }
2558
- const tn = new en();
2559
- class on {
2560
- validate(t = "") {
2561
- return t !== "";
2583
+ const os = new ts();
2584
+ class ns {
2585
+ validate(e = "") {
2586
+ return e !== "";
2562
2587
  }
2563
- message(t) {
2564
- return t;
2588
+ message(e) {
2589
+ return e;
2565
2590
  }
2566
2591
  }
2567
- const sn = new on();
2568
- class nn {
2569
- validate(t = "", o = 0) {
2570
- return t.length >= o;
2592
+ const ss = new ns();
2593
+ class as {
2594
+ validate(e = "", o = 0) {
2595
+ return e.length >= o;
2571
2596
  }
2572
- message(t) {
2573
- return t;
2597
+ message(e) {
2598
+ return e;
2574
2599
  }
2575
2600
  }
2576
- const an = new nn();
2577
- class ln {
2578
- validate(t = "", o = 0) {
2579
- return t.length <= o;
2601
+ const is = new as();
2602
+ class ls {
2603
+ validate(e = "", o = 0) {
2604
+ return e.length <= o;
2580
2605
  }
2581
- message(t) {
2582
- return t;
2606
+ message(e) {
2607
+ return e;
2583
2608
  }
2584
2609
  }
2585
- const rn = new ln();
2586
- class dn {
2587
- validate(t) {
2588
- return /^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(t);
2610
+ const rs = new ls();
2611
+ class ds {
2612
+ validate(e) {
2613
+ return /^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(e);
2589
2614
  }
2590
- message(t) {
2591
- return t;
2615
+ message(e) {
2616
+ return e;
2592
2617
  }
2593
2618
  }
2594
- const cn = new dn();
2595
- class un {
2596
- validate(t) {
2597
- return !isNaN(parseFloat(t)) && !isNaN(t - 0);
2619
+ const cs = new ds();
2620
+ class us {
2621
+ validate(e) {
2622
+ return !isNaN(parseFloat(e)) && !isNaN(e - 0);
2598
2623
  }
2599
- message(t) {
2600
- return t;
2624
+ message(e) {
2625
+ return e;
2601
2626
  }
2602
2627
  }
2603
- const pn = new un(), q = {
2604
- RulesUrl: tn,
2605
- RulesRequired: sn,
2606
- RulesMin: an,
2607
- RulesMax: rn,
2608
- RulesEmail: cn,
2609
- RulesNumber: pn
2628
+ const ps = new us(), G = {
2629
+ RulesUrl: os,
2630
+ RulesRequired: ss,
2631
+ RulesMin: is,
2632
+ RulesMax: rs,
2633
+ RulesEmail: cs,
2634
+ RulesNumber: ps
2610
2635
  };
2611
- class fn {
2612
- validate(t, o) {
2613
- var n, a, l, r, i, c, u, h, x, S, N, $, H, P;
2614
- let s = "";
2636
+ class fs {
2637
+ validate(e, o) {
2638
+ var s, a, l, r, i, c, u, g, x, C, R, $, H, Y;
2639
+ let n = "";
2615
2640
  if (o) {
2616
- let w = !1;
2641
+ let M = !1;
2617
2642
  for (let I in o)
2618
- if (!w)
2643
+ if (!M)
2619
2644
  switch (I) {
2620
2645
  case "url":
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 !== "";
2646
+ n = G.RulesUrl.validate(e, "https") || e.length === 0 ? "" : G.RulesUrl.message("url", (s = o[I]) != null && s.message ? (a = o[I]) == null ? void 0 : a.message : "url_incorrect"), M = n !== "";
2622
2647
  break;
2623
2648
  case "required":
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 !== "";
2649
+ n = G.RulesRequired.validate(e) ? "" : G.RulesRequired.message((l = o[I]) != null && l.message ? (r = o[I]) == null ? void 0 : r.message : "required"), M = n !== "";
2625
2650
  break;
2626
2651
  case "min":
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 !== "";
2652
+ n = G.RulesMin.validate(e, (i = o[I]) == null ? void 0 : i.value) ? "" : G.RulesMin.message((c = o[I]) != null && c.message ? (u = o[I]) == null ? void 0 : u.message : "very_small"), M = n !== "";
2628
2653
  break;
2629
2654
  case "max":
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 !== "";
2655
+ n = G.RulesMax.validate(e, (g = o[I]) == null ? void 0 : g.value) ? "" : G.RulesMax.message((x = o[I]) != null && x.message ? (C = o[I]) == null ? void 0 : C.message : "vary_large"), M = n !== "";
2631
2656
  break;
2632
2657
  case "email":
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 !== "";
2658
+ n = G.RulesEmail.validate(e) ? "" : G.RulesMax.message((R = o[I]) != null && R.message ? ($ = o[I]) == null ? void 0 : $.message : "email_incorrect"), M = n !== "";
2634
2659
  break;
2635
2660
  case "number":
2636
- s = q.RulesNumber.validate(t) ? "" : q.RulesNumber.message(
2637
- (H = o[I]) != null && H.message ? (P = o[I]) == null ? void 0 : P.message : "number_incorrect"
2638
- ), w = s !== "";
2661
+ n = G.RulesNumber.validate(e) ? "" : G.RulesNumber.message(
2662
+ (H = o[I]) != null && H.message ? (Y = o[I]) == null ? void 0 : Y.message : "number_incorrect"
2663
+ ), M = n !== "";
2639
2664
  break;
2640
2665
  }
2641
2666
  }
2642
- return s;
2667
+ return n;
2643
2668
  }
2644
2669
  }
2645
- const mn = new fn(), hn = { style: { display: "flex", "flex-direction": "column" } }, gn = {
2670
+ const ms = new fs(), hs = { style: { display: "flex", "flex-direction": "column" } }, gs = {
2646
2671
  key: 0,
2647
2672
  class: "d-label"
2648
- }, vn = {
2673
+ }, vs = {
2649
2674
  key: 0,
2650
2675
  class: "text-red"
2651
- }, yn = { style: { display: "flex", "flex-direction": "row" } }, _n = { style: { flex: "1", position: "relative" } }, bn = /* @__PURE__ */ _("svg", {
2676
+ }, ys = { style: { display: "flex", "flex-direction": "row" } }, _s = { style: { flex: "1", position: "relative" } }, bs = /* @__PURE__ */ _("svg", {
2652
2677
  xmlns: "http://www.w3.org/2000/svg",
2653
2678
  viewBox: "0 0 24 24"
2654
2679
  }, [
@@ -2656,9 +2681,9 @@ const mn = new fn(), hn = { style: { display: "flex", "flex-direction": "column"
2656
2681
  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
2682
  fill: "currentColor"
2658
2683
  })
2659
- ], -1), xn = [
2660
- bn
2661
- ], $n = ["id", "type", "placeholder", "disabled"], kn = /* @__PURE__ */ _("svg", {
2684
+ ], -1), xs = [
2685
+ bs
2686
+ ], ks = ["id", "type", "placeholder", "disabled"], $s = /* @__PURE__ */ _("svg", {
2662
2687
  xmlns: "http://www.w3.org/2000/svg",
2663
2688
  viewBox: "0 0 24 24"
2664
2689
  }, [
@@ -2666,15 +2691,15 @@ const mn = new fn(), hn = { style: { display: "flex", "flex-direction": "column"
2666
2691
  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
2692
  fill: "currentColor"
2668
2693
  })
2669
- ], -1), wn = [
2670
- kn
2671
- ], Sn = {
2694
+ ], -1), ws = [
2695
+ $s
2696
+ ], Ss = {
2672
2697
  key: 1,
2673
2698
  class: "d-help"
2674
- }, Dn = {
2699
+ }, Ds = {
2675
2700
  key: 2,
2676
2701
  class: "d-error text-red"
2677
- }, Gn = {
2702
+ }, Gs = {
2678
2703
  __name: "DInputString",
2679
2704
  props: {
2680
2705
  form: Object,
@@ -2697,115 +2722,115 @@ const mn = new fn(), hn = { style: { display: "flex", "flex-direction": "column"
2697
2722
  disabled: Boolean
2698
2723
  },
2699
2724
  emits: ["update:modelValue", "input", "blur"],
2700
- setup(e, { expose: t, emit: o }) {
2701
- const s = e, n = T(s.error), a = zt(), l = T(!1), r = T(null);
2725
+ setup(t, { expose: e, emit: o }) {
2726
+ const n = t, s = T(n.error), a = zt(), l = T(!1), r = T(null);
2702
2727
  //!props.form ? ref(null) : props.form.fields[props.name].ref
2703
- const i = m({
2704
- get: () => s.modelValue,
2728
+ const i = h({
2729
+ get: () => n.modelValue,
2705
2730
  //props.form?.fields[props.name].model.value,
2706
- set: (w) => {
2707
- o("update:modelValue", w);
2731
+ set: (M) => {
2732
+ o("update:modelValue", M);
2708
2733
  }
2709
- }), c = m(() => s.type === "password" ? "password" : "text"), u = m(() => s.scale), h = (w) => {
2710
- o("input", w), x();
2734
+ }), c = h(() => n.type === "password" ? "password" : "text"), u = h(() => n.scale), g = (M) => {
2735
+ o("input", M), x();
2711
2736
  }, x = () => {
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;
2737
+ if (!(!n.form || !n.form.fields || !n.form.fields[n.name].rules))
2738
+ return s.value = ms.validate(i.value, n.form.fields[n.name].rules), !!s.value;
2714
2739
  };
2715
2740
  me(() => {
2716
- S();
2741
+ C();
2717
2742
  });
2718
- const S = () => {
2719
- var w;
2720
- (w = r.value) == null || w.focus();
2721
- }, N = () => {
2743
+ const C = () => {
2744
+ var M;
2745
+ (M = r.value) == null || M.focus();
2746
+ }, R = () => {
2722
2747
  i.value = "";
2723
- }, $ = (w) => {
2724
- l.value = w;
2725
- }, H = (w) => {
2726
- n.value = w;
2727
- }, P = (w) => {
2728
- o("blur", w);
2748
+ }, $ = (M) => {
2749
+ l.value = M;
2750
+ }, H = (M) => {
2751
+ s.value = M;
2752
+ }, Y = (M) => {
2753
+ o("blur", M);
2729
2754
  };
2730
- return t({
2731
- focus: S,
2755
+ return e({
2756
+ focus: C,
2732
2757
  setError: H,
2733
2758
  validate: x
2734
- }), (w, I) => {
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
- return d(), p("div", {
2759
+ }), (M, I) => {
2760
+ var F, S, W, N, w, V, P, f, p, y, A, se, ve, ye, _e, be, Q, xe, de, ke, Le, he, Fe, We, Pe, je, Xe, Ye, Ue, qe, Ge, Ze, Ke, Je, Qe, et, tt, ot, nt;
2761
+ return d(), m("div", {
2737
2762
  class: D(["d-input-string", u.value])
2738
2763
  }, [
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)
2764
+ _("div", hs, [
2765
+ n.label ? (d(), m("div", gs, [
2766
+ K(O(n.label), 1),
2767
+ (F = n.form) != null && F.fields[n.name].rules && n.form.fields[n.name].rules.hasOwnProperty("required") ? (d(), m("span", vs, "*")) : k("", !0)
2743
2768
  ])) : k("", !0),
2744
- _("div", yn, [
2745
- (R = (g = s.pre) == null ? void 0 : g.outside) != null && R.component ? (d(), p("div", {
2769
+ _("div", ys, [
2770
+ (W = (S = n.pre) == null ? void 0 : S.outside) != null && W.component ? (d(), m("div", {
2746
2771
  key: 0,
2747
- class: D(["d-pre", s.disabled ? "disabled" : ""])
2772
+ class: D(["d-pre", n.disabled ? "disabled" : ""])
2748
2773
  }, [
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", {
2774
+ (d(), b(U((w = (N = n.pre) == null ? void 0 : N.outside) == null ? void 0 : w.component)))
2775
+ ], 2)) : (P = (V = n.pre) == null ? void 0 : V.outside) != null && P.text ? (d(), m("div", {
2751
2776
  key: 1,
2752
- class: D(["d-pre", s.disabled ? "disabled" : ""])
2777
+ class: D(["d-pre", n.disabled ? "disabled" : ""])
2753
2778
  }, [
2754
2779
  _("div", {
2755
2780
  class: D(["d-text", l.value ? "focused" : ""])
2756
- }, O((W = (f = s.pre) == null ? void 0 : f.outside) == null ? void 0 : W.text), 3)
2781
+ }, O((p = (f = n.pre) == null ? void 0 : f.outside) == null ? void 0 : p.text), 3)
2757
2782
  ], 2)) : k("", !0),
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", {
2783
+ _("div", _s, [
2784
+ (A = (y = n.pre) == null ? void 0 : y.inside) != null && A.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(), m("div", {
2760
2785
  key: 0,
2761
2786
  class: "d-pre-inside-button",
2762
- onClick: N
2763
- }, xn)) : k("", !0),
2764
- J(_("input", {
2765
- id: B(a),
2787
+ onClick: R
2788
+ }, xs)) : k("", !0),
2789
+ oe(_("input", {
2790
+ id: E(a),
2766
2791
  ref_key: "inputRef",
2767
2792
  ref: r,
2768
2793
  "onUpdate:modelValue": I[0] || (I[0] = (Ie) => i.value = Ie),
2769
2794
  style: { width: "100%" },
2770
2795
  type: c.value,
2771
- placeholder: s.placeholder,
2772
- onInput: h,
2796
+ placeholder: n.placeholder,
2797
+ onInput: g,
2773
2798
  onFocus: I[1] || (I[1] = (Ie) => $(!0)),
2774
- onBlur: P,
2799
+ onBlur: Y,
2775
2800
  onFocusout: I[2] || (I[2] = (Ie) => $(!1)),
2776
2801
  class: D([
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" : "",
2802
+ (be = (_e = n.pre) == null ? void 0 : _e.outside) != null && be.component || (xe = (Q = n.pre) == null ? void 0 : Q.outside) != null && xe.text ? "has-pre" : "",
2803
+ (ke = (de = n.post) == null ? void 0 : de.outside) != null && ke.component || (he = (Le = n.post) == null ? void 0 : Le.outside) != null && he.text ? "has-post" : "",
2804
+ (We = (Fe = n.pre) == null ? void 0 : Fe.inside) != null && We.action ? "has-pre-inside-button" : "",
2805
+ (je = (Pe = n.post) == null ? void 0 : Pe.inside) != null && je.action ? "has-post-inside-button" : "",
2781
2806
  l.value ? "focused" : ""
2782
2807
  ]),
2783
- disabled: s.disabled
2784
- }, null, 42, $n), [
2808
+ disabled: n.disabled
2809
+ }, null, 42, ks), [
2785
2810
  [De, i.value]
2786
2811
  ]),
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", {
2812
+ (Ye = (Xe = n.post) == null ? void 0 : Xe.inside) != null && Ye.action && ((qe = (Ue = n.post) == null ? void 0 : Ue.inside) == null ? void 0 : qe.action) === "clear" && ((Ge = i.value) == null ? void 0 : Ge.length) > 0 ? (d(), m("div", {
2788
2813
  key: 1,
2789
2814
  class: "d-post-inside-button",
2790
- onClick: N
2791
- }, wn)) : k("", !0)
2815
+ onClick: R
2816
+ }, ws)) : k("", !0)
2792
2817
  ]),
2793
- (Ke = (Ze = s.post) == null ? void 0 : Ze.outside) != null && Ke.component ? (d(), p("div", {
2818
+ (Ke = (Ze = n.post) == null ? void 0 : Ze.outside) != null && Ke.component ? (d(), m("div", {
2794
2819
  key: 2,
2795
- class: D(["d-post", s.disabled ? "disabled" : ""])
2820
+ class: D(["d-post", n.disabled ? "disabled" : ""])
2796
2821
  }, [
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", {
2822
+ (d(), b(U((Qe = (Je = n.post) == null ? void 0 : Je.outside) == null ? void 0 : Qe.component)))
2823
+ ], 2)) : (tt = (et = n.post) == null ? void 0 : et.outside) != null && tt.text ? (d(), m("div", {
2799
2824
  key: 3,
2800
- class: D(["d-post", s.disabled ? "disabled" : ""])
2825
+ class: D(["d-post", n.disabled ? "disabled" : ""])
2801
2826
  }, [
2802
2827
  _("div", {
2803
2828
  class: D(["d-text", l.value ? "focused" : ""])
2804
- }, O((st = (ot = s.post) == null ? void 0 : ot.outside) == null ? void 0 : st.text), 3)
2829
+ }, O((nt = (ot = n.post) == null ? void 0 : ot.outside) == null ? void 0 : nt.text), 3)
2805
2830
  ], 2)) : k("", !0)
2806
2831
  ]),
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)
2832
+ n.help ? (d(), m("div", Ss, O(n.help), 1)) : k("", !0),
2833
+ s.value ? (d(), m("div", Ds, O(s.value), 1)) : k("", !0)
2809
2834
  ])
2810
2835
  ], 2);
2811
2836
  };
@@ -2813,70 +2838,70 @@ const mn = new fn(), hn = { style: { display: "flex", "flex-direction": "column"
2813
2838
  }, fe = {
2814
2839
  state: {},
2815
2840
  getters: {
2816
- getComponent(e) {
2817
- return fe.state[e];
2841
+ getComponent(t) {
2842
+ return fe.state[t];
2818
2843
  },
2819
2844
  getComponents() {
2820
2845
  return fe.state;
2821
2846
  }
2822
2847
  },
2823
2848
  mutations: {
2824
- addComponent(e, t) {
2825
- fe.state.name = t;
2849
+ addComponent(t, e) {
2850
+ fe.state.name = e;
2826
2851
  },
2827
- addComponents(e) {
2828
- for (const t in e)
2829
- e.hasOwnProperty(t) && (fe.state[t] = e[t]);
2852
+ addComponents(t) {
2853
+ for (const e in t)
2854
+ t.hasOwnProperty(e) && (fe.state[e] = t[e]);
2830
2855
  }
2831
2856
  }
2832
- }, wt = (e) => {
2833
- typeof e == "string" && (e = { title: "", text: e }), typeof e == "object" && U.emit("notification-add", e);
2857
+ }, wt = (t) => {
2858
+ typeof t == "string" && (t = { title: "", text: t }), typeof t == "object" && q.emit("notification-add", t);
2834
2859
  };
2835
- wt.close = (e) => {
2836
- U.emit("notification-close", e);
2860
+ wt.close = (t) => {
2861
+ q.emit("notification-close", t);
2837
2862
  };
2838
- const Zn = () => ({ notify: wt }), Kn = {
2839
- mounted: function(e, t) {
2840
- e.clickOutsideEvent = function(o) {
2841
- e === o.target || e.contains(o.target) || t.value(o, e);
2842
- }, document.addEventListener("click", e.clickOutsideEvent);
2863
+ const Zs = () => ({ notify: wt }), Ks = {
2864
+ mounted: function(t, e) {
2865
+ t.clickOutsideEvent = function(o) {
2866
+ t === o.target || t.contains(o.target) || e.value(o, t);
2867
+ }, document.addEventListener("click", t.clickOutsideEvent);
2843
2868
  },
2844
- unmounted: function(e) {
2845
- document.removeEventListener("click", e.clickOutsideEvent);
2846
- }
2847
- }, Jn = {
2848
- beforeMount(e, t) {
2849
- e._keydownCallback = (o) => {
2850
- o.key === t.arg && t.value();
2851
- }, document.addEventListener("keydown", e._keydownCallback);
2869
+ unmounted: function(t) {
2870
+ document.removeEventListener("click", t.clickOutsideEvent);
2871
+ }
2872
+ }, Js = {
2873
+ beforeMount(t, e) {
2874
+ t._keydownCallback = (o) => {
2875
+ o.key === e.arg && e.value();
2876
+ }, document.addEventListener("keydown", t._keydownCallback);
2852
2877
  },
2853
- unmounted(e, t) {
2854
- document.removeEventListener("keydown", e._keydownCallback), delete e._keydownCallback;
2878
+ unmounted(t, e) {
2879
+ document.removeEventListener("keydown", t._keydownCallback), delete t._keydownCallback;
2855
2880
  }
2856
- }, Qn = {
2857
- beforeMount(e) {
2858
- e.focus();
2881
+ }, Qs = {
2882
+ beforeMount(t) {
2883
+ t.focus();
2859
2884
  }
2860
2885
  };
2861
- function St(e) {
2862
- return e.type.indexOf("mouse") !== -1 ? e.clientX : e.touches[0].clientX;
2886
+ function St(t) {
2887
+ return t.type.indexOf("mouse") !== -1 ? t.clientX : t.touches[0].clientX;
2863
2888
  }
2864
- function Dt(e) {
2865
- return e.type.indexOf("mouse") !== -1 ? e.clientY : e.touches[0].clientY;
2889
+ function Dt(t) {
2890
+ return t.type.indexOf("mouse") !== -1 ? t.clientY : t.touches[0].clientY;
2866
2891
  }
2867
- var Tn = function() {
2868
- var e = !1;
2892
+ var Ts = function() {
2893
+ var t = !1;
2869
2894
  try {
2870
- var t = Object.defineProperty({}, "passive", {
2895
+ var e = Object.defineProperty({}, "passive", {
2871
2896
  get: function() {
2872
- e = !0;
2897
+ t = !0;
2873
2898
  }
2874
2899
  });
2875
- window.addEventListener("test", null, t);
2900
+ window.addEventListener("test", null, e);
2876
2901
  } catch {
2877
2902
  }
2878
- return e;
2879
- }(), Ln = {
2903
+ return t;
2904
+ }(), Cs = {
2880
2905
  disableClick: !1,
2881
2906
  tapTolerance: 10,
2882
2907
  // px
@@ -2892,53 +2917,53 @@ var Tn = function() {
2892
2917
  rollOverFrequency: 100
2893
2918
  // ms
2894
2919
  };
2895
- function ke(e) {
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
- }, t.options.touchHoldTolerance)), te(e, this, "press")));
2920
+ function $e(t) {
2921
+ var e = this.$$touchObj, o = t.type.indexOf("touch") >= 0, n = t.type.indexOf("mouse") >= 0, s = this;
2922
+ o && (e.lastTouchStartTime = t.timeStamp), !(n && e.lastTouchStartTime && t.timeStamp - e.lastTouchStartTime < 350) && (e.touchStarted || (Tt(this), e.touchStarted = !0, e.touchMoved = !1, e.swipeOutBounded = !1, e.startX = St(t), e.startY = Dt(t), e.currentX = 0, e.currentY = 0, e.touchStartTime = t.timeStamp, e.hasSwipe = Z(this, "swipe") || Z(this, "swipe.left") || Z(this, "swipe.right") || Z(this, "swipe.top") || Z(this, "swipe.bottom"), Z(this, "hold") && (e.touchHoldTimer = setTimeout(function() {
2923
+ e.touchHoldTimer = null, ee(t, s, "hold");
2924
+ }, e.options.touchHoldTolerance)), ee(t, this, "press")));
2900
2925
  }
2901
- function we(e) {
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
- if (t.hasSwipe && !t.swipeOutBounded) {
2905
- var l = t.options.swipeTolerance;
2906
- t.swipeOutBounded = Math.abs(t.startX - t.currentX) > l && Math.abs(t.startY - t.currentY) > l;
2926
+ function we(t) {
2927
+ var e = this.$$touchObj, o = St(t), n = Dt(t), s = e.currentX !== o || e.currentY !== n;
2928
+ if (e.currentX = o, e.currentY = n, e.touchMoved) {
2929
+ if (e.hasSwipe && !e.swipeOutBounded) {
2930
+ var l = e.options.swipeTolerance;
2931
+ e.swipeOutBounded = Math.abs(e.startX - e.currentX) > l && Math.abs(e.startY - e.currentY) > l;
2907
2932
  }
2908
2933
  } else {
2909
- var a = t.options.tapTolerance;
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"));
2934
+ var a = e.options.tapTolerance;
2935
+ e.touchMoved = Math.abs(e.startX - e.currentX) > a || Math.abs(e.startY - e.currentY) > a, e.touchMoved && (ze(e), ee(t, this, "drag.once"));
2911
2936
  }
2912
- if (Z(this, "rollover") && n) {
2913
- var r = e.timeStamp, i = t.options.rollOverFrequency;
2914
- (t.touchRollTime == null || r > t.touchRollTime + i) && (t.touchRollTime = r, te(e, this, "rollover"));
2937
+ if (Z(this, "rollover") && s) {
2938
+ var r = t.timeStamp, i = e.options.rollOverFrequency;
2939
+ (e.touchRollTime == null || r > e.touchRollTime + i) && (e.touchRollTime = r, ee(t, this, "rollover"));
2915
2940
  }
2916
- if (Z(this, "drag") && t.touchStarted && t.touchMoved && n) {
2917
- var r = e.timeStamp, i = t.options.dragFrequency;
2918
- (t.touchDragTime == null || r > t.touchDragTime + i) && (t.touchDragTime = r, te(e, this, "drag"));
2941
+ if (Z(this, "drag") && e.touchStarted && e.touchMoved && s) {
2942
+ var r = t.timeStamp, i = e.options.dragFrequency;
2943
+ (e.touchDragTime == null || r > e.touchDragTime + i) && (e.touchDragTime = r, ee(t, this, "drag"));
2919
2944
  }
2920
2945
  }
2921
2946
  function rt() {
2922
- var e = this.$$touchObj;
2923
- ze(e), Ve(this), e.touchStarted = e.touchMoved = !1, e.startX = e.startY = 0;
2947
+ var t = this.$$touchObj;
2948
+ ze(t), Ve(this), t.touchStarted = t.touchMoved = !1, t.startX = t.startY = 0;
2924
2949
  }
2925
- function Se(e) {
2926
- var t = this.$$touchObj, o = e.type.indexOf("touch") >= 0, s = e.type.indexOf("mouse") >= 0;
2927
- o && (t.lastTouchEndTime = e.timeStamp);
2928
- var n = o && !t.touchHoldTimer;
2929
- if (ze(t), t.touchStarted = !1, Ve(this), !(s && t.lastTouchEndTime && e.timeStamp - t.lastTouchEndTime < 350))
2930
- if (te(e, this, "release"), t.touchMoved) {
2931
- if (t.hasSwipe && !t.swipeOutBounded) {
2932
- var a = t.options.swipeTolerance, l, r = Math.abs(t.startY - t.currentY), i = Math.abs(t.startX - t.currentX);
2933
- (r > a || i > a) && (r > a ? l = t.startY > t.currentY ? "top" : "bottom" : l = t.startX > t.currentX ? "left" : "right", Z(this, "swipe." + l) ? te(e, this, "swipe." + l, l) : te(e, this, "swipe", l));
2950
+ function Se(t) {
2951
+ var e = this.$$touchObj, o = t.type.indexOf("touch") >= 0, n = t.type.indexOf("mouse") >= 0;
2952
+ o && (e.lastTouchEndTime = t.timeStamp);
2953
+ var s = o && !e.touchHoldTimer;
2954
+ if (ze(e), e.touchStarted = !1, Ve(this), !(n && e.lastTouchEndTime && t.timeStamp - e.lastTouchEndTime < 350))
2955
+ if (ee(t, this, "release"), e.touchMoved) {
2956
+ if (e.hasSwipe && !e.swipeOutBounded) {
2957
+ var a = e.options.swipeTolerance, l, r = Math.abs(e.startY - e.currentY), i = Math.abs(e.startX - e.currentX);
2958
+ (r > a || i > a) && (r > a ? l = e.startY > e.currentY ? "top" : "bottom" : l = e.startX > e.currentX ? "left" : "right", Z(this, "swipe." + l) ? ee(t, this, "swipe." + l, l) : ee(t, this, "swipe", l));
2934
2959
  }
2935
- } else if (Z(this, "longtap") && e.timeStamp - t.touchStartTime > t.options.longTapTimeInterval)
2936
- e.cancelable && e.preventDefault(), te(e, this, "longtap");
2937
- else if (Z(this, "hold") && n) {
2938
- e.cancelable && e.preventDefault();
2960
+ } else if (Z(this, "longtap") && t.timeStamp - e.touchStartTime > e.options.longTapTimeInterval)
2961
+ t.cancelable && t.preventDefault(), ee(t, this, "longtap");
2962
+ else if (Z(this, "hold") && s) {
2963
+ t.cancelable && t.preventDefault();
2939
2964
  return;
2940
2965
  } else
2941
- te(e, this, "tap");
2966
+ ee(t, this, "tap");
2942
2967
  }
2943
2968
  function dt() {
2944
2969
  Tt(this);
@@ -2946,124 +2971,124 @@ function dt() {
2946
2971
  function ct() {
2947
2972
  Ve(this);
2948
2973
  }
2949
- function Z(e, t) {
2950
- var o = e.$$touchObj.callbacks[t];
2974
+ function Z(t, e) {
2975
+ var o = t.$$touchObj.callbacks[e];
2951
2976
  return o != null && o.length > 0;
2952
2977
  }
2953
- function te(e, t, o, s) {
2954
- var n = t.$$touchObj, a = n.callbacks[o];
2978
+ function ee(t, e, o, n) {
2979
+ var s = e.$$touchObj, a = s.callbacks[o];
2955
2980
  if (a == null || a.length === 0)
2956
2981
  return null;
2957
2982
  for (var l = 0; l < a.length; l++) {
2958
2983
  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" && (s ? r.value(s, e) : r.value(e));
2984
+ r.modifiers.stop && t.stopPropagation(), r.modifiers.prevent && t.preventDefault(), !(r.modifiers.self && t.target !== t.currentTarget) && typeof r.value == "function" && (n ? r.value(n, t) : r.value(t));
2960
2985
  }
2961
2986
  }
2962
- function Tt(e) {
2963
- var t = e.$$touchObj.options.touchClass;
2964
- t && e.classList.add(t);
2987
+ function Tt(t) {
2988
+ var e = t.$$touchObj.options.touchClass;
2989
+ e && t.classList.add(e);
2965
2990
  }
2966
- function Ve(e) {
2967
- var t = e.$$touchObj.options.touchClass;
2968
- t && e.classList.remove(t);
2991
+ function Ve(t) {
2992
+ var e = t.$$touchObj.options.touchClass;
2993
+ e && t.classList.remove(e);
2969
2994
  }
2970
- function ze(e) {
2971
- e.touchHoldTimer && (clearTimeout(e.touchHoldTimer), e.touchHoldTimer = null);
2995
+ function ze(t) {
2996
+ t.touchHoldTimer && (clearTimeout(t.touchHoldTimer), t.touchHoldTimer = null);
2972
2997
  }
2973
- function Cn(e, t) {
2974
- var o = e.$$touchObj || {
2998
+ function Ls(t, e) {
2999
+ var o = t.$$touchObj || {
2975
3000
  // an object contains all callbacks registered,
2976
3001
  // key is event name, value is an array
2977
3002
  callbacks: {},
2978
3003
  // prevent bind twice, set to true when event bound
2979
3004
  hasBindTouchEvents: !1,
2980
3005
  // default options, would be override by v-touch-options
2981
- options: Ln
3006
+ options: Cs
2982
3007
  };
2983
- return t && (o.options = Object.assign({}, o.options, t)), e.$$touchObj = o, e.$$touchObj;
3008
+ return e && (o.options = Object.assign({}, o.options, e)), t.$$touchObj = o, t.$$touchObj;
2984
3009
  }
2985
3010
  const ea = {
2986
- beforeMount: function(e, t) {
2987
- const o = Cn(e);
2988
- let s = Tn ? { passive: !0 } : !1;
2989
- const n = t.arg || "tap";
2990
- switch (n) {
3011
+ beforeMount: function(t, e) {
3012
+ const o = Ls(t);
3013
+ let n = Ts ? { passive: !0 } : !1;
3014
+ const s = e.arg || "tap";
3015
+ switch (s) {
2991
3016
  case "swipe":
2992
- let a = t.modifiers;
3017
+ let a = e.modifiers;
2993
3018
  if (a.left || a.right || a.top || a.bottom) {
2994
- for (let l in t.modifiers)
3019
+ for (let l in e.modifiers)
2995
3020
  if (["left", "right", "top", "bottom"].indexOf(l) >= 0) {
2996
3021
  let r = "swipe." + l;
2997
- o.callbacks[r] = o.callbacks[r] || [], o.callbacks[r].push(t);
3022
+ o.callbacks[r] = o.callbacks[r] || [], o.callbacks[r].push(e);
2998
3023
  }
2999
3024
  } else
3000
- o.callbacks.swipe = o.callbacks.swipe || [], o.callbacks.swipe.push(t);
3025
+ o.callbacks.swipe = o.callbacks.swipe || [], o.callbacks.swipe.push(e);
3001
3026
  break;
3002
3027
  case "press":
3003
3028
  case "drag":
3004
- t.modifiers.disablePassive && (s = !1);
3029
+ e.modifiers.disablePassive && (n = !1);
3005
3030
  default:
3006
- o.callbacks[n] = o.callbacks[n] || [], o.callbacks[n].push(t);
3031
+ o.callbacks[s] = o.callbacks[s] || [], o.callbacks[s].push(e);
3007
3032
  }
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);
3033
+ o.hasBindTouchEvents || (t.addEventListener("touchstart", $e, n), t.addEventListener("touchmove", we, n), t.addEventListener("touchcancel", rt), t.addEventListener("touchend", Se), o.options.disableClick || (t.addEventListener("mousedown", $e), t.addEventListener("mousemove", we), t.addEventListener("mouseup", Se), t.addEventListener("mouseenter", dt), t.addEventListener("mouseleave", ct)), o.hasBindTouchEvents = !0);
3009
3034
  },
3010
- unmounted: function(e) {
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;
3035
+ unmounted: function(t) {
3036
+ t.removeEventListener("touchstart", $e), t.removeEventListener("touchmove", we), t.removeEventListener("touchcancel", rt), t.removeEventListener("touchend", Se), t.$$touchObj && !t.$$touchObj.options.disableClick && (t.removeEventListener("mousedown", $e), t.removeEventListener("mousemove", we), t.removeEventListener("mouseup", Se), t.removeEventListener("mouseenter", dt), t.removeEventListener("mouseleave", ct)), delete t.$$touchObj;
3012
3037
  }
3013
3038
  };
3014
3039
  export {
3015
- En as DAccordion,
3040
+ Bs as DAccordion,
3016
3041
  Jo as DAlertDialog,
3017
3042
  co as DBadge,
3018
3043
  ie as DButton,
3019
- Hn as DCard,
3020
- Fn as DCheckbox,
3044
+ Hs as DCard,
3045
+ Fs as DCheckbox,
3021
3046
  uo as DCollapse,
3022
3047
  fe as DComponentStore,
3023
- Nn as DConfigProvider,
3024
- es as DConfirmDialog,
3048
+ Ns as DConfigProvider,
3049
+ en as DConfirmDialog,
3025
3050
  Io as DContextMenu,
3026
- Wn as DDialogProvider,
3051
+ Ws as DDialogProvider,
3027
3052
  at as DDrag,
3028
- Co as DDrop,
3029
- An as DDropdown,
3030
- qn as DForm,
3053
+ Lo as DDrop,
3054
+ As as DDropdown,
3055
+ qs as DForm,
3031
3056
  pe as DGlobalStore,
3032
- Xn as DGrid,
3057
+ Xs as DGrid,
3033
3058
  re as DIcon,
3034
- oe as DIconStore,
3035
- Yn as DImage,
3036
- zn as DInfoProgress,
3037
- Bn as DInput,
3038
- Gn as DInputString,
3039
- Mn as DLayoutAdmin,
3059
+ te as DIconStore,
3060
+ Ys as DImage,
3061
+ zs as DInfoProgress,
3062
+ Es as DInput,
3063
+ Gs as DInputString,
3064
+ Ms as DLayoutAdmin,
3040
3065
  Oo as DLayoutContent,
3041
3066
  No as DLayoutFooter,
3042
- Eo as DLayoutHeader,
3067
+ Bo as DLayoutHeader,
3043
3068
  Ro as DLayoutSidebar,
3044
3069
  Mo as DLayoutTab,
3045
3070
  bt as DMenu,
3046
- $t as DModal,
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,
3071
+ kt as DModal,
3072
+ Vs as DNotificationProvider,
3073
+ an as DPanel,
3074
+ Os as DScroll,
3075
+ Rs as DScrollProvider,
3076
+ Ps as DSelect,
3077
+ js as DTabs,
3078
+ Us as DTextarea,
3054
3079
  Te as DTransferStore,
3055
3080
  xt as DTree,
3056
3081
  To as DTreeItem,
3057
3082
  v as DTreeStore,
3058
- q as Rules,
3059
- Ms as alert,
3060
- Kn as clickOutside,
3061
- Es as confirm,
3062
- U as emitter,
3063
- Lo as eventsBus,
3064
- Qn as focus,
3065
- Jn as keydown,
3083
+ G as Rules,
3084
+ Nn as alert,
3085
+ Ks as clickOutside,
3086
+ Mn as confirm,
3087
+ q as emitter,
3088
+ Co as eventsBus,
3089
+ Qs as focus,
3090
+ Js as keydown,
3066
3091
  wt as notify,
3067
3092
  ea as touch,
3068
- Zn as useNotification
3093
+ Zs as useNotification
3069
3094
  };