doph-js 0.2.26 → 0.2.28

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 ye, computed as f, h as Ee, openBlock as d, createBlock as _, unref as I, ref as w, createElementBlock as m, Fragment as te, normalizeClass as E, renderSlot as S, createCommentVNode as k, normalizeStyle as O, resolveDynamicComponent as P, createStaticVNode as Ae, onMounted as ue, toDisplayString as N, withDirectives as oe, createElementVNode as x, vModelDynamic as be, withCtx as D, createTextVNode as U, Transition as Se, withModifiers as q, resolveComponent as st, resolveDirective as we, createVNode as ne, renderList as pe, pushScopeId as at, popScopeId as it, reactive as Te, Teleport as Ve, nextTick as ze, getCurrentInstance as Re, watch as We, onUnmounted as lt, mergeProps as re, useCssVars as _e, shallowRef as rt, defineComponent as dt, normalizeProps as ct, guardReactiveProps as ut, TransitionGroup as Fe, vModelCheckbox as pt, vModelSelect as ft, toRef as mt, KeepAlive as ht, toRefs as gt, vModelText as vt } from "vue";
1
+ import { useSlots as ye, computed as p, h as Ee, openBlock as d, createBlock as _, unref as I, ref as S, createElementBlock as m, Fragment as te, normalizeClass as E, renderSlot as w, createCommentVNode as k, normalizeStyle as R, resolveDynamicComponent as P, createStaticVNode as He, onMounted as ue, toDisplayString as M, withDirectives as oe, createElementVNode as x, vModelDynamic as be, withCtx as D, createTextVNode as G, Transition as we, withModifiers as U, resolveComponent as st, resolveDirective as Se, createVNode as ne, renderList as fe, pushScopeId as at, popScopeId as it, reactive as Te, Teleport as Ae, nextTick as Ve, getCurrentInstance as ze, watch as Fe, onUnmounted as lt, mergeProps as re, useCssVars as _e, shallowRef as rt, defineComponent as dt, normalizeProps as ct, guardReactiveProps as ut, TransitionGroup as We, vModelCheckbox as ft, vModelSelect as pt, toRef as mt, KeepAlive as ht, toRefs as gt, vModelText as vt } from "vue";
2
2
  const ce = {
3
3
  __name: "DIcon",
4
4
  props: {
@@ -8,17 +8,17 @@ const ce = {
8
8
  className: String
9
9
  },
10
10
  setup(e) {
11
- const o = e, t = ye(), n = f(() => {
12
- const { className: r } = o;
11
+ const t = e, o = ye(), n = p(() => {
12
+ const { className: r } = t;
13
13
  return r === void 0 ? "icon" : ["icon", r].join(" ");
14
- }), s = f(() => {
15
- const { color: r } = o;
14
+ }), s = p(() => {
15
+ const { color: r } = t;
16
16
  return r === void 0 ? null : r;
17
- }), a = f(() => {
18
- const r = o.size ?? null;
17
+ }), a = p(() => {
18
+ const r = t.size ?? null;
19
19
  if (r !== void 0)
20
20
  return typeof r == "number" || /^\d+$/.test(r) ? `${r}px` : r;
21
- }), l = f(() => Ee(
21
+ }), l = p(() => Ee(
22
22
  "i",
23
23
  {
24
24
  class: n.value,
@@ -27,7 +27,7 @@ const ce = {
27
27
  fontSize: a.value
28
28
  }
29
29
  },
30
- o.component ? Ee(o.component) : t
30
+ t.component ? Ee(t.component) : o
31
31
  ));
32
32
  return (r, i) => (d(), _(I(l)));
33
33
  }
@@ -42,42 +42,42 @@ const ce = {
42
42
  }
43
43
  },
44
44
  mutations: {
45
- addIcon(e, o) {
46
- Z.state.name = o;
45
+ addIcon(e, t) {
46
+ Z.state.name = t;
47
47
  },
48
48
  addIcons(e) {
49
- for (const o in e)
50
- e.hasOwnProperty(o) && (Z.state[o] = e[o]);
49
+ for (const t in e)
50
+ e.hasOwnProperty(t) && (Z.state[t] = e[t]);
51
51
  }
52
52
  }
53
53
  };
54
54
  function Pe(e) {
55
- const o = e.value.getBoundingClientRect();
56
- let t = e.value, n = 0, s = 0;
57
- for (; t && !isNaN(t.offsetLeft) && !isNaN(t.offsetTop); )
58
- n += t.offsetLeft - t.scrollLeft, s += t.offsetTop - t.scrollTop, t = t.offsetParent;
59
- return { top: s, left: n, x: o.x, y: o.y, width: o.width, height: o.height };
55
+ const t = e.value.getBoundingClientRect();
56
+ let o = e.value, n = 0, s = 0;
57
+ for (; o && !isNaN(o.offsetLeft) && !isNaN(o.offsetTop); )
58
+ n += o.offsetLeft - o.scrollLeft, s += o.offsetTop - o.scrollTop, o = o.offsetParent;
59
+ return { top: s, left: n, x: t.x, y: t.y, width: t.width, height: t.height };
60
60
  }
61
- const K = (e, o) => {
62
- const t = e.__vccOpts || e;
63
- for (const [n, s] of o)
64
- t[n] = s;
65
- return t;
61
+ const K = (e, t) => {
62
+ const o = e.__vccOpts || e;
63
+ for (const [n, s] of t)
64
+ o[n] = s;
65
+ return o;
66
66
  }, yt = {
67
67
  key: 0,
68
68
  class: "loading-svg rotating",
69
69
  xmlns: "http://www.w3.org/2000/svg",
70
70
  viewBox: "0 0 24 24"
71
- }, _t = /* @__PURE__ */ Ae('<g fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" data-v-e5cd6ccd><path d="M8.56 3.69a9 9 0 0 0-2.92 1.95" data-v-e5cd6ccd></path><path d="M3.69 8.56A9 9 0 0 0 3 12" data-v-e5cd6ccd></path><path d="M3.69 15.44a9 9 0 0 0 1.95 2.92" data-v-e5cd6ccd></path><path d="M8.56 20.31A9 9 0 0 0 12 21" data-v-e5cd6ccd></path><path d="M15.44 20.31a9 9 0 0 0 2.92-1.95" data-v-e5cd6ccd></path><path d="M20.31 15.44A9 9 0 0 0 21 12" data-v-e5cd6ccd></path><path d="M20.31 8.56a9 9 0 0 0-1.95-2.92" data-v-e5cd6ccd></path><path d="M15.44 3.69A9 9 0 0 0 12 3" data-v-e5cd6ccd></path></g>', 1), bt = [
71
+ }, _t = /* @__PURE__ */ He('<g fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" data-v-e5cd6ccd><path d="M8.56 3.69a9 9 0 0 0-2.92 1.95" data-v-e5cd6ccd></path><path d="M3.69 8.56A9 9 0 0 0 3 12" data-v-e5cd6ccd></path><path d="M3.69 15.44a9 9 0 0 0 1.95 2.92" data-v-e5cd6ccd></path><path d="M8.56 20.31A9 9 0 0 0 12 21" data-v-e5cd6ccd></path><path d="M15.44 20.31a9 9 0 0 0 2.92-1.95" data-v-e5cd6ccd></path><path d="M20.31 15.44A9 9 0 0 0 21 12" data-v-e5cd6ccd></path><path d="M20.31 8.56a9 9 0 0 0-1.95-2.92" data-v-e5cd6ccd></path><path d="M15.44 3.69A9 9 0 0 0 12 3" data-v-e5cd6ccd></path></g>', 1), bt = [
72
72
  _t
73
73
  ], xt = { key: 1 }, $t = {
74
74
  key: 2,
75
75
  class: "loading-svg rotating",
76
76
  xmlns: "http://www.w3.org/2000/svg",
77
77
  viewBox: "0 0 24 24"
78
- }, kt = /* @__PURE__ */ Ae('<g fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" data-v-e5cd6ccd><path d="M8.56 3.69a9 9 0 0 0-2.92 1.95" data-v-e5cd6ccd></path><path d="M3.69 8.56A9 9 0 0 0 3 12" data-v-e5cd6ccd></path><path d="M3.69 15.44a9 9 0 0 0 1.95 2.92" data-v-e5cd6ccd></path><path d="M8.56 20.31A9 9 0 0 0 12 21" data-v-e5cd6ccd></path><path d="M15.44 20.31a9 9 0 0 0 2.92-1.95" data-v-e5cd6ccd></path><path d="M20.31 15.44A9 9 0 0 0 21 12" data-v-e5cd6ccd></path><path d="M20.31 8.56a9 9 0 0 0-1.95-2.92" data-v-e5cd6ccd></path><path d="M15.44 3.69A9 9 0 0 0 12 3" data-v-e5cd6ccd></path></g>', 1), St = [
78
+ }, kt = /* @__PURE__ */ He('<g fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" data-v-e5cd6ccd><path d="M8.56 3.69a9 9 0 0 0-2.92 1.95" data-v-e5cd6ccd></path><path d="M3.69 8.56A9 9 0 0 0 3 12" data-v-e5cd6ccd></path><path d="M3.69 15.44a9 9 0 0 0 1.95 2.92" data-v-e5cd6ccd></path><path d="M8.56 20.31A9 9 0 0 0 12 21" data-v-e5cd6ccd></path><path d="M15.44 20.31a9 9 0 0 0 2.92-1.95" data-v-e5cd6ccd></path><path d="M20.31 15.44A9 9 0 0 0 21 12" data-v-e5cd6ccd></path><path d="M20.31 8.56a9 9 0 0 0-1.95-2.92" data-v-e5cd6ccd></path><path d="M15.44 3.69A9 9 0 0 0 12 3" data-v-e5cd6ccd></path></g>', 1), wt = [
79
79
  kt
80
- ], wt = {
80
+ ], St = {
81
81
  __name: "DButton",
82
82
  props: {
83
83
  class: String,
@@ -101,18 +101,18 @@ const K = (e, o) => {
101
101
  }
102
102
  },
103
103
  emits: ["click", "contextmenu"],
104
- setup(e, { expose: o, emit: t }) {
105
- const n = e, s = ye(), a = w(null), l = f(() => n.icon ? Z.getters.getIcon(n.icon) : null), r = ($) => {
106
- t("click", $);
104
+ setup(e, { expose: t, emit: o }) {
105
+ const n = e, s = ye(), a = S(null), l = p(() => n.icon ? Z.getters.getIcon(n.icon) : null), r = ($) => {
106
+ o("click", $);
107
107
  }, i = ($) => {
108
- t("contextmenu", $);
109
- }, c = f(() => n.scale === "large" ? "button-lg" : n.scale === "small" ? "button-sm" : ""), u = f(() => n.disabled ? "disabled" : ""), h = ($) => !!s[$], b = f(() => h("default") ? "" : n.scale === "large" ? "d-button-lg-icon" : n.scale === "small" ? "d-button-sm-icon" : "d-button-icon"), C = f(() => {
108
+ o("contextmenu", $);
109
+ }, c = p(() => n.scale === "large" ? "button-lg" : n.scale === "small" ? "button-sm" : ""), u = p(() => n.disabled ? "disabled" : ""), h = ($) => !!s[$], b = p(() => h("default") ? "" : n.scale === "large" ? "d-button-lg-icon" : n.scale === "small" ? "d-button-sm-icon" : "d-button-icon"), C = p(() => {
110
110
  const $ = n.outline ? "-outline" : "";
111
111
  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${$}` : "";
112
112
  });
113
- return o({
113
+ return t({
114
114
  elementSize: () => Pe(a)
115
- }), ($, R) => (d(), m(te, null, [
115
+ }), ($, z) => (d(), m(te, null, [
116
116
  l.value ? k("", !0) : (d(), m("div", {
117
117
  key: 0,
118
118
  ref_key: "el",
@@ -121,7 +121,7 @@ const K = (e, o) => {
121
121
  onContextmenu: i,
122
122
  class: E(["button", [n.class, c.value, C.value, u.value].join(" ")])
123
123
  }, [
124
- S($.$slots, "default", {}, void 0, !0),
124
+ w($.$slots, "default", {}, void 0, !0),
125
125
  n.loading ? (d(), m("svg", yt, bt)) : k("", !0)
126
126
  ], 34)),
127
127
  l.value ? (d(), m("div", {
@@ -131,7 +131,7 @@ const K = (e, o) => {
131
131
  onClick: r,
132
132
  onContextmenu: i,
133
133
  class: E(["button button-ext", [n.class, c.value, b.value, C.value, u.value].join(" ")]),
134
- style: O(n.style)
134
+ style: R(n.style)
135
135
  }, [
136
136
  n.icon ? (d(), _(P(ce), {
137
137
  key: 0,
@@ -139,13 +139,13 @@ const K = (e, o) => {
139
139
  color: "inherit"
140
140
  }, null, 8, ["component"])) : k("", !0),
141
141
  I(s).default ? (d(), m("div", xt, [
142
- S($.$slots, "default", {}, void 0, !0)
142
+ w($.$slots, "default", {}, void 0, !0)
143
143
  ])) : k("", !0),
144
- n.loading ? (d(), m("svg", $t, St)) : k("", !0)
144
+ n.loading ? (d(), m("svg", $t, wt)) : k("", !0)
145
145
  ], 38)) : k("", !0)
146
146
  ], 64));
147
147
  }
148
- }, ee = /* @__PURE__ */ K(wt, [["__scopeId", "data-v-e5cd6ccd"]]);
148
+ }, ee = /* @__PURE__ */ K(St, [["__scopeId", "data-v-e5cd6ccd"]]);
149
149
  const Tt = {
150
150
  key: 0,
151
151
  class: "d-input"
@@ -159,14 +159,14 @@ const Tt = {
159
159
  }, Lt = {
160
160
  key: 0,
161
161
  class: "label"
162
- }, Et = { style: { display: "flex", "align-items": "flex-end", "justify-content": "flex-start" } }, Bt = { style: { flex: "1" } }, Mt = ["type", "placeholder"], Nt = {
162
+ }, Et = { style: { display: "flex", "align-items": "flex-end", "justify-content": "flex-start" } }, Bt = { style: { flex: "1" } }, Nt = ["type", "placeholder"], Mt = {
163
163
  key: 2,
164
164
  class: "d-input",
165
165
  style: { display: "flex", "flex-direction": "column" }
166
- }, Ot = {
166
+ }, Rt = {
167
167
  key: 0,
168
168
  class: "label"
169
- }, Ht = { style: { display: "flex", "align-items": "flex-end", "justify-content": "flex-start" } }, At = { style: { flex: "1" } }, Vt = ["type", "placeholder"], zt = {
169
+ }, Ot = { style: { display: "flex", "align-items": "flex-end", "justify-content": "flex-start" } }, Ht = { style: { flex: "1" } }, At = ["type", "placeholder"], Vt = {
170
170
  __name: "DInput",
171
171
  props: {
172
172
  label: String,
@@ -180,11 +180,11 @@ const Tt = {
180
180
  focus: Boolean
181
181
  },
182
182
  emits: ["update:modelValue"],
183
- setup(e, { expose: o, emit: t }) {
184
- const n = e, s = w(null), a = f(() => n.scale === "small" ? "d-input-small" : n.scale === "large" ? "d-input-large" : ""), l = f({
183
+ setup(e, { expose: t, emit: o }) {
184
+ const n = e, s = S(null), a = p(() => n.scale === "small" ? "d-input-small" : n.scale === "large" ? "d-input-large" : ""), l = p({
185
185
  get: () => n.modelValue,
186
186
  set: (i) => {
187
- t("update:modelValue", i);
187
+ o("update:modelValue", i);
188
188
  }
189
189
  });
190
190
  ue(() => {
@@ -193,10 +193,10 @@ const Tt = {
193
193
  const r = () => {
194
194
  s.value.focus();
195
195
  };
196
- return o({
196
+ return t({
197
197
  focus: r
198
198
  }), (i, c) => !n.post && !n.pre ? (d(), m("div", Tt, [
199
- n.label ? (d(), m("div", Dt, N(n.label), 1)) : k("", !0),
199
+ n.label ? (d(), m("div", Dt, M(n.label), 1)) : k("", !0),
200
200
  oe(x("input", {
201
201
  ref_key: "inputRef",
202
202
  ref: s,
@@ -209,7 +209,7 @@ const Tt = {
209
209
  [be, l.value]
210
210
  ])
211
211
  ])) : n.post && n.post.click && !n.pre ? (d(), m("div", It, [
212
- n.label ? (d(), m("div", Lt, N(n.label), 1)) : k("", !0),
212
+ n.label ? (d(), m("div", Lt, M(n.label), 1)) : k("", !0),
213
213
  x("div", Et, [
214
214
  x("div", Bt, [
215
215
  oe(x("input", {
@@ -220,7 +220,7 @@ const Tt = {
220
220
  type: n.password ? "password" : "text",
221
221
  placeholder: n.placeholder,
222
222
  style: { width: "100%" }
223
- }, null, 10, Mt), [
223
+ }, null, 10, Nt), [
224
224
  [be, l.value]
225
225
  ])
226
226
  ]),
@@ -232,7 +232,7 @@ const Tt = {
232
232
  icon: n.post.icon
233
233
  }, {
234
234
  default: D(() => [
235
- U(N(n.post.label), 1)
235
+ G(M(n.post.label), 1)
236
236
  ]),
237
237
  _: 1
238
238
  }, 8, ["scale", "onClick", "icon", "class"])) : (d(), _(ee, {
@@ -243,9 +243,9 @@ const Tt = {
243
243
  icon: n.post.icon
244
244
  }, null, 8, ["scale", "onClick", "icon", "class"]))
245
245
  ])
246
- ])) : !n.post && n.pre && n.pre.click ? (d(), m("div", Nt, [
247
- n.label ? (d(), m("div", Ot, N(n.label), 1)) : k("", !0),
248
- x("div", Ht, [
246
+ ])) : !n.post && n.pre && n.pre.click ? (d(), m("div", Mt, [
247
+ n.label ? (d(), m("div", Rt, M(n.label), 1)) : k("", !0),
248
+ x("div", Ot, [
249
249
  n.pre.label ? (d(), _(ee, {
250
250
  key: 0,
251
251
  scale: n.scale,
@@ -254,7 +254,7 @@ const Tt = {
254
254
  icon: n.pre.icon
255
255
  }, {
256
256
  default: D(() => [
257
- U(N(n.pre.label), 1)
257
+ G(M(n.pre.label), 1)
258
258
  ]),
259
259
  _: 1
260
260
  }, 8, ["scale", "onClick", "icon", "class"])) : (d(), _(ee, {
@@ -264,7 +264,7 @@ const Tt = {
264
264
  onClick: n.pre.click,
265
265
  icon: n.pre.icon
266
266
  }, null, 8, ["scale", "onClick", "icon", "class"])),
267
- x("div", At, [
267
+ x("div", Ht, [
268
268
  oe(x("input", {
269
269
  ref_key: "inputRef",
270
270
  ref: s,
@@ -273,14 +273,14 @@ const Tt = {
273
273
  type: n.password ? "password" : "text",
274
274
  placeholder: n.placeholder,
275
275
  style: { width: "100%" }
276
- }, null, 10, Vt), [
276
+ }, null, 10, At), [
277
277
  [be, l.value]
278
278
  ])
279
279
  ])
280
280
  ])
281
281
  ])) : k("", !0);
282
282
  }
283
- }, Mn = /* @__PURE__ */ K(zt, [["__scopeId", "data-v-95650ea3"]]), Rt = {
283
+ }, Xn = /* @__PURE__ */ K(Vt, [["__scopeId", "data-v-a972038a"]]), zt = {
284
284
  __name: "DBadge",
285
285
  props: {
286
286
  scale: String,
@@ -292,17 +292,17 @@ const Tt = {
292
292
  }
293
293
  },
294
294
  setup(e) {
295
- const o = e, t = f(() => o.scale === "large" ? "badge-lg" : o.scale === "small" ? "badge-sm" : ""), n = f(() => {
296
- const s = o.stress ? "-stress" : "";
297
- return o.type === "primary" ? `badge${s}-blue` : o.type === "success" ? `badge${s}-green` : o.type === "error" ? `badge${s}-red` : o.type === "warning" ? `badge${s}-orange` : o.type === "wait" ? `badge${s}-violet` : o.stress ? `badge${s}-gray` : "";
295
+ const t = e, o = p(() => t.scale === "large" ? "badge-lg" : t.scale === "small" ? "badge-sm" : ""), n = p(() => {
296
+ const s = t.stress ? "-stress" : "";
297
+ return t.type === "primary" ? `badge${s}-blue` : t.type === "success" ? `badge${s}-green` : t.type === "error" ? `badge${s}-red` : t.type === "warning" ? `badge${s}-orange` : t.type === "wait" ? `badge${s}-violet` : t.stress ? `badge${s}-gray` : "";
298
298
  });
299
299
  return (s, a) => (d(), m("div", {
300
- class: E(["badge", [o.class, t.value, n.value].join(" ")])
300
+ class: E(["badge", [t.class, o.value, n.value].join(" ")])
301
301
  }, [
302
- S(s.$slots, "default")
302
+ w(s.$slots, "default")
303
303
  ], 2));
304
304
  }
305
- }, Q = "0px", Wt = {
305
+ }, Q = "0px", Ft = {
306
306
  __name: "DCollapse",
307
307
  props: {
308
308
  duration: {
@@ -327,7 +327,7 @@ const Tt = {
327
327
  }
328
328
  },
329
329
  setup(e) {
330
- const o = e, t = (i) => ({
330
+ const t = e, o = (i) => ({
331
331
  height: i.style.height,
332
332
  width: i.style.width,
333
333
  position: i.style.position,
@@ -352,7 +352,7 @@ const Tt = {
352
352
  }, a = (i, c) => [
353
353
  {
354
354
  height: Q,
355
- opacity: o.opacityClosed,
355
+ opacity: t.opacityClosed,
356
356
  paddingTop: Q,
357
357
  paddingBottom: Q,
358
358
  borderTopWidth: Q,
@@ -362,7 +362,7 @@ const Tt = {
362
362
  },
363
363
  {
364
364
  height: i,
365
- opacity: o.opacityOpened,
365
+ opacity: t.opacityOpened,
366
366
  paddingTop: c.paddingTop,
367
367
  paddingBottom: c.paddingBottom,
368
368
  borderTopWidth: c.borderTopWidth,
@@ -371,28 +371,28 @@ const Tt = {
371
371
  marginBottom: c.marginBottom
372
372
  }
373
373
  ], l = (i, c) => {
374
- const u = i, h = t(u), b = n(u, h), C = a(b, h), M = { duration: o.duration, easing: o.easingEnter };
375
- s(u, h, c, C, M);
374
+ const u = i, h = o(u), b = n(u, h), C = a(b, h), N = { duration: t.duration, easing: t.easingEnter };
375
+ s(u, h, c, C, N);
376
376
  }, r = (i, c) => {
377
- const u = i, h = t(u), { height: b } = getComputedStyle(u);
377
+ const u = i, h = o(u), { height: b } = getComputedStyle(u);
378
378
  u.style.height = b, u.style.overflow = "hidden";
379
- const C = a(b, h).reverse(), M = { duration: o.duration, easing: o.easingLeave };
380
- s(u, h, c, C, M);
379
+ const C = a(b, h).reverse(), N = { duration: t.duration, easing: t.easingLeave };
380
+ s(u, h, c, C, N);
381
381
  };
382
- return (i, c) => (d(), _(Se, {
382
+ return (i, c) => (d(), _(we, {
383
383
  css: !1,
384
384
  onEnter: l,
385
385
  onLeave: r
386
386
  }, {
387
387
  default: D(() => [
388
- S(i.$slots, "default")
388
+ w(i.$slots, "default")
389
389
  ]),
390
390
  _: 3
391
391
  }));
392
392
  }
393
393
  }, ve = {
394
394
  data: void 0
395
- }, De = (e) => e.reduce((o, t) => (o[t] = t) && o, {}), H = De([
395
+ }, De = (e) => e.reduce((t, o) => (t[o] = o) && t, {}), O = De([
396
396
  "drag",
397
397
  "dragend",
398
398
  "dragenter",
@@ -400,7 +400,7 @@ const Tt = {
400
400
  "dragstart",
401
401
  "dragover",
402
402
  "drop"
403
- ]), Ft = De(["copy", "move", "link", "none"]), Pt = De([
403
+ ]), Wt = De(["copy", "move", "link", "none"]), Pt = De([
404
404
  "none",
405
405
  "copy",
406
406
  "copyLink",
@@ -415,7 +415,7 @@ const Tt = {
415
415
  props: {
416
416
  draggable: { type: Boolean, default: !0 },
417
417
  transferData: {},
418
- dropEffect: { validator: (e) => e in Ft },
418
+ dropEffect: { validator: (e) => e in Wt },
419
419
  effectAllowed: { validator: (e) => e in Pt },
420
420
  image: String,
421
421
  imageXOffset: { type: Number, default: 0 },
@@ -424,32 +424,32 @@ const Tt = {
424
424
  tag: { type: String, default: "div" }
425
425
  },
426
426
  setup(e) {
427
- const o = e, t = ye(), n = w(!1), s = f(() => n && o.transferData), a = f(() => ({ position: "fixed", top: "-1000px" })), l = (r, i) => {
427
+ const t = e, o = ye(), n = S(!1), s = p(() => n && t.transferData), a = p(() => ({ position: "fixed", top: "-1000px" })), l = (r, i) => {
428
428
  const c = i.dataTransfer;
429
- if ([H.dragenter, H.dragover].includes(r) && o.dropEffect && (c.dropEffect = o.dropEffect), r === H.dragstart) {
430
- if (o.effectAllowed && (c.effectAllowed = o.effectAllowed), o.image || t.image) {
429
+ if ([O.dragenter, O.dragover].includes(r) && t.dropEffect && (c.dropEffect = t.dropEffect), r === O.dragstart) {
430
+ if (t.effectAllowed && (c.effectAllowed = t.effectAllowed), t.image || o.image) {
431
431
  let u;
432
- o.image ? (u = new Image(), u.src = o.image) : t.image && (u = t.image[0].elm), c.setDragImage && c.setDragImage(u, o.imageXOffset, o.imageYOffset);
432
+ 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);
433
433
  }
434
- o.transferData !== void 0 && (ve.data = o.transferData, i.dataTransfer.setData("text", "")), n.value = !0;
434
+ t.transferData !== void 0 && (ve.data = t.transferData, i.dataTransfer.setData("text", "")), n.value = !0;
435
435
  }
436
436
  };
437
437
  return (r, i) => (d(), _(P(e.tag), {
438
- draggable: o.draggable,
439
- onDrag: i[0] || (i[0] = (c) => l(I(H).drag, c)),
440
- onDragstart: i[1] || (i[1] = q((c) => l(I(H).dragstart, c), ["stop"])),
441
- onDragenter: i[2] || (i[2] = (c) => l(I(H).dragenter, c)),
442
- onDragleave: i[3] || (i[3] = (c) => l(I(H).dragleave, c)),
443
- onDragend: i[4] || (i[4] = (c) => l(I(H).dragend, c))
438
+ draggable: t.draggable,
439
+ onDrag: i[0] || (i[0] = (c) => l(I(O).drag, c)),
440
+ onDragstart: i[1] || (i[1] = U((c) => l(I(O).dragstart, c), ["stop"])),
441
+ onDragenter: i[2] || (i[2] = (c) => l(I(O).dragenter, c)),
442
+ onDragleave: i[3] || (i[3] = (c) => l(I(O).dragleave, c)),
443
+ onDragend: i[4] || (i[4] = (c) => l(I(O).dragend, c))
444
444
  }, {
445
445
  default: D(() => [
446
- S(r.$slots, "default", { transferData: s.value }),
446
+ w(r.$slots, "default", { transferData: s.value }),
447
447
  e.hideImageHtml ? (d(), m("div", {
448
448
  key: 0,
449
- style: O(a.value)
449
+ style: R(a.value)
450
450
  }, [
451
- S(r.$slots, "image", { transferData: s.value })
452
- ], 4)) : S(r.$slots, "image", {
451
+ w(r.$slots, "image", { transferData: s.value })
452
+ ], 4)) : w(r.$slots, "image", {
453
453
  key: 1,
454
454
  transferData: s.value
455
455
  })
@@ -461,8 +461,8 @@ const Tt = {
461
461
  const Xt = (e) => (at("data-v-d8c92d5e"), e = e(), it(), e), Yt = {
462
462
  key: 0,
463
463
  style: { display: "none" }
464
- }, qt = { key: 1 }, Gt = /* @__PURE__ */ Xt(() => /* @__PURE__ */ x("div", { class: "tree-divider" }, null, -1)), Ut = [
465
- Gt
464
+ }, Ut = { key: 1 }, qt = /* @__PURE__ */ Xt(() => /* @__PURE__ */ x("div", { class: "tree-divider" }, null, -1)), Gt = [
465
+ qt
466
466
  ], Zt = { key: 2 }, Kt = { class: "tree-divider-header" }, Jt = { class: "item-title" }, Qt = {
467
467
  key: 0,
468
468
  class: "tree-divider"
@@ -478,127 +478,127 @@ const Xt = (e) => (at("data-v-d8c92d5e"), e = e(), it(), e), Yt = {
478
478
  search: String
479
479
  },
480
480
  emits: ["nodedrop", "nodedragover", "nodedragleave", "nodeclick", "nodecontext"],
481
- setup(e, { emit: o }) {
482
- const t = e, n = w(null), s = w(!1), a = w(!1), l = w(!1), r = f(() => t.model.children && t.model.children.length), i = f(() => (g.actions.isTreeExpanded(t.treeId) && (t.model.expanded = t.model.expanded === void 0 ? !0 : t.model.expanded), t.model.expanded)), c = (L) => {
483
- o("nodeclick", { event: L, model: t.model });
481
+ setup(e, { emit: t }) {
482
+ const o = e, n = S(null), s = S(!1), a = S(!1), l = S(!1), r = p(() => o.model.children && o.model.children.length), i = p(() => (g.actions.isTreeExpanded(o.treeId) && (o.model.expanded = o.model.expanded === void 0 ? !0 : o.model.expanded), o.model.expanded)), c = (L) => {
483
+ t("nodeclick", { event: L, model: o.model });
484
484
  }, u = (L) => {
485
- o("nodeclick", L);
485
+ t("nodeclick", L);
486
486
  }, h = (L) => {
487
- o("nodedrop", L);
487
+ t("nodedrop", L);
488
488
  }, b = (L) => {
489
- o("nodecontext", L);
490
- }, C = f(() => (g.actions.isItemSelected(t.treeId, t.model.id) ? "selected" : "") + (s.value ? "node-over " : "") + (a.value ? "node-top " : "") + (l.value ? "node-bottom " : "")), M = f(() => t.search ? !1 : t.model.draggable === !0), $ = (L) => {
491
- o("nodedrop", { e: L, model: t.model });
489
+ t("nodecontext", L);
490
+ }, C = p(() => (g.actions.isItemSelected(o.treeId, o.model.id) ? "selected" : "") + (s.value ? "node-over " : "") + (a.value ? "node-top " : "") + (l.value ? "node-bottom " : "")), N = p(() => o.search ? !1 : o.model.draggable === !0), $ = (L) => {
491
+ t("nodedrop", { e: L, model: o.model });
492
492
  let y = ve.data;
493
493
  if (y === void 0 || y.model === void 0)
494
494
  return s.value = !1, !1;
495
- if (y.model.id === t.model.id || g.actions.isChildOfParent(t.treeId, t.items, t.model.id, y.model.id) || g.actions.isParentOfChild(t.treeId, t.items, y.model.id, t.model.id))
495
+ if (y.model.id === o.model.id || g.actions.isChildOfParent(o.treeId, o.items, o.model.id, y.model.id) || g.actions.isParentOfChild(o.treeId, o.items, y.model.id, o.model.id))
496
496
  return s.value = !1, a.value = !1, l.value = !1, !1;
497
- if (!g.state.trees[t.treeId].transfer && y.id !== t.treeId)
497
+ if (!g.state.trees[o.treeId].transfer && y.id !== o.treeId)
498
498
  return !1;
499
499
  let B = "";
500
- a.value ? B = "before" : l.value ? B = "after" : B = "inside", g.actions.moveTreeNode(y.id, t.treeId, t.items, y.model.id, t.model.id, B), s.value = !1, a.value = !1, l.value = !1;
501
- }, R = (L) => {
502
- o("nodedragover", { e: L, model: t.model });
500
+ a.value ? B = "before" : l.value ? B = "after" : B = "inside", g.actions.moveTreeNode(y.id, o.treeId, o.items, y.model.id, o.model.id, B), s.value = !1, a.value = !1, l.value = !1;
501
+ }, z = (L) => {
502
+ t("nodedragover", { e: L, model: o.model });
503
503
  let y = ve.data;
504
504
  if (y === void 0 || y.model === void 0)
505
505
  return s.value = !0, !1;
506
- if (y.model.id === t.model.id || g.actions.isChildOfParent(t.treeId, t.items, t.model.id, y.model.id) || g.actions.isParentOfChild(t.treeId, t.items, y.model.id, t.model.id))
506
+ if (y.model.id === o.model.id || g.actions.isChildOfParent(o.treeId, o.items, o.model.id, y.model.id) || g.actions.isParentOfChild(o.treeId, o.items, y.model.id, o.model.id))
507
507
  return !1;
508
- const B = L.y, W = n.value.getBoundingClientRect().top, F = n.value.getBoundingClientRect().height, v = F / 3;
509
- B > W && B <= W + v ? (s.value = !1, a.value = !0, l.value = !1) : B < W + F && B >= W + F - v ? (s.value = !1, a.value = !1, l.value = !0) : (s.value = !0, a.value = !1, l.value = !1);
508
+ const B = L.y, F = n.value.getBoundingClientRect().top, W = n.value.getBoundingClientRect().height, v = W / 3;
509
+ B > F && B <= F + v ? (s.value = !1, a.value = !0, l.value = !1) : B < F + W && B >= F + W - v ? (s.value = !1, a.value = !1, l.value = !0) : (s.value = !0, a.value = !1, l.value = !1);
510
510
  }, X = () => {
511
511
  s.value = !1, a.value = !1, l.value = !1;
512
- }, A = f(() => t.model.title.startsWith("-")), J = f(() => {
513
- if (t.model.title.startsWith("-")) {
514
- let [L, ...y] = t.model.title.split(" ");
512
+ }, H = p(() => o.model.title.startsWith("-")), J = p(() => {
513
+ if (o.model.title.startsWith("-")) {
514
+ let [L, ...y] = o.model.title.split(" ");
515
515
  return y = y.join(" "), y;
516
516
  }
517
517
  return null;
518
518
  });
519
519
  return (L, y) => {
520
- const B = st("d-tree-item", !0), W = we("touch");
521
- return I(g).actions.beforeItem(t.treeId, e.model) ? A.value && !J.value ? (d(), m("li", qt, Ut)) : A.value && J.value ? (d(), m("li", Zt, [
522
- x("div", Kt, N(I(g).actions.renderTitle(t.treeId, J.value)), 1)
520
+ const B = st("d-tree-item", !0), F = Se("touch");
521
+ return I(g).actions.beforeItem(o.treeId, e.model) ? H.value && !J.value ? (d(), m("li", Ut, Gt)) : H.value && J.value ? (d(), m("li", Zt, [
522
+ x("div", Kt, M(I(g).actions.renderTitle(o.treeId, J.value)), 1)
523
523
  ])) : (d(), _(jt, {
524
524
  key: 3,
525
525
  tag: "li",
526
526
  class: "tree-item",
527
- "transfer-data": { id: t.treeId, model: t.model },
528
- draggable: M.value,
529
- onDrop: q($, ["stop"]),
530
- onDragenter: y[1] || (y[1] = q(() => {
527
+ "transfer-data": { id: o.treeId, model: o.model },
528
+ draggable: N.value,
529
+ onDrop: U($, ["stop"]),
530
+ onDragenter: y[1] || (y[1] = U(() => {
531
531
  }, ["prevent"])),
532
- onDragover: q(R, ["prevent", "stop"]),
533
- onDragleave: q(X, ["prevent"])
532
+ onDragover: U(z, ["prevent", "stop"]),
533
+ onDragleave: U(X, ["prevent"])
534
534
  }, {
535
535
  default: D(() => {
536
- var F, v;
536
+ var W, v;
537
537
  return [
538
538
  oe((d(), m("div", {
539
539
  ref_key: "node",
540
540
  ref: n,
541
541
  class: E(C.value),
542
- onContextmenu: y[0] || (y[0] = q((V) => o("nodecontext", { e: V, model: t.model }), ["prevent"]))
542
+ onContextmenu: y[0] || (y[0] = U((A) => t("nodecontext", { e: A, model: o.model }), ["prevent"]))
543
543
  }, [
544
544
  x("div", null, [
545
- t.model.icons && t.model.icons.pre && r.value && !t.search && !A.value ? (d(), _(P(ce), {
545
+ o.model.icons && o.model.icons.pre && r.value && !o.search && !H.value ? (d(), _(P(ce), {
546
546
  key: 0,
547
- component: I(Z).getters.getIcon(t.model.icons.pre.component),
547
+ component: I(Z).getters.getIcon(o.model.icons.pre.component),
548
548
  size: 18,
549
- color: t.model.icons.pre.color ? t.model.icons.pre.color : "inherit",
549
+ color: o.model.icons.pre.color ? o.model.icons.pre.color : "inherit",
550
550
  class: E(i.value ? "tree-open-pre" : "")
551
551
  }, null, 8, ["component", "color", "class"])) : k("", !0),
552
- t.model.icons && t.model.icons.pre && !r.value && !t.search && !A.value ? (d(), _(P(ce), {
552
+ o.model.icons && o.model.icons.pre && !r.value && !o.search && !H.value ? (d(), _(P(ce), {
553
553
  key: 1,
554
- component: I(Z).getters.getIcon(t.model.icons.pre.component),
554
+ component: I(Z).getters.getIcon(o.model.icons.pre.component),
555
555
  size: 18,
556
556
  color: "rgba(0,0,0,0)",
557
557
  class: E(i.value ? "tree-open-pre" : "")
558
558
  }, null, 8, ["component", "class"])) : k("", !0),
559
- t.model.icons && t.model.icons.icon && !A.value ? (d(), _(P(ce), {
559
+ o.model.icons && o.model.icons.icon && !H.value ? (d(), _(P(ce), {
560
560
  key: 2,
561
- component: I(Z).getters.getIcon(t.model.icons.icon.component),
562
- color: t.model.icons.icon.color ? t.model.icons.icon.color : "inherit",
563
- size: t.model.icons.icon.size ? t.model.icons.icon.size : null,
564
- className: t.model.icons.icon.class ? t.model.icons.icon.class : null
561
+ component: I(Z).getters.getIcon(o.model.icons.icon.component),
562
+ color: o.model.icons.icon.color ? o.model.icons.icon.color : "inherit",
563
+ size: o.model.icons.icon.size ? o.model.icons.icon.size : null,
564
+ className: o.model.icons.icon.class ? o.model.icons.icon.class : null
565
565
  }, null, 8, ["component", "color", "size", "className"])) : k("", !0),
566
566
  x("div", Jt, [
567
- A.value ? (d(), m("div", Qt)) : k("", !0),
568
- A.value ? k("", !0) : (d(), m("div", eo, N(I(g).actions.renderTitle(t.treeId, t.model.title)), 1))
567
+ H.value ? (d(), m("div", Qt)) : k("", !0),
568
+ H.value ? k("", !0) : (d(), m("div", eo, M(I(g).actions.renderTitle(o.treeId, o.model.title)), 1))
569
569
  ])
570
570
  ]),
571
571
  x("div", to, [
572
- ((F = t.model.badge) == null ? void 0 : F.value) !== void 0 && !A.value ? (d(), _(P(Rt), {
572
+ ((W = o.model.badge) == null ? void 0 : W.value) !== void 0 && !H.value ? (d(), _(P(zt), {
573
573
  key: 0,
574
- class: E([(v = t.model.badge) == null ? void 0 : v.class, "badge-sm"])
574
+ class: E([(v = o.model.badge) == null ? void 0 : v.class, "badge-sm"])
575
575
  }, {
576
576
  default: D(() => [
577
- U(N(t.model.badge.value), 1)
577
+ G(M(o.model.badge.value), 1)
578
578
  ]),
579
579
  _: 1
580
580
  }, 8, ["class"])) : k("", !0),
581
- t.model.icons && t.model.icons.post && r.value && !t.search && !A.value ? (d(), _(P(ce), {
581
+ o.model.icons && o.model.icons.post && r.value && !o.search && !H.value ? (d(), _(P(ce), {
582
582
  key: 1,
583
- component: I(Z).getters.getIcon(t.model.icons.post.component),
583
+ component: I(Z).getters.getIcon(o.model.icons.post.component),
584
584
  size: 20,
585
- color: t.model.icons.post.color ? t.model.icons.post.color : "inherit",
585
+ color: o.model.icons.post.color ? o.model.icons.post.color : "inherit",
586
586
  class: E(i.value ? "tree-open-post" : "")
587
587
  }, null, 8, ["component", "color", "class"])) : k("", !0)
588
588
  ])
589
589
  ], 34)), [
590
- [W, c]
590
+ [F, c]
591
591
  ]),
592
- ne(Wt, null, {
592
+ ne(Ft, null, {
593
593
  default: D(() => [
594
- r.value && i.value && !t.search ? (d(), m("ul", oo, [
595
- (d(!0), m(te, null, pe(e.model.children, (V) => (d(), _(B, {
594
+ r.value && i.value && !o.search ? (d(), m("ul", oo, [
595
+ (d(!0), m(te, null, fe(e.model.children, (A) => (d(), _(B, {
596
596
  class: "tree-item",
597
- key: V.id,
598
- model: V,
599
- treeId: t.treeId,
600
- items: t.items,
601
- search: t.search,
597
+ key: A.id,
598
+ model: A,
599
+ treeId: o.treeId,
600
+ items: o.items,
601
+ search: o.search,
602
602
  onNodeclick: u,
603
603
  onNodedrop: h,
604
604
  onNodecontext: b
@@ -626,9 +626,9 @@ function ao(e) {
626
626
  * @param {Function} handler Function to call in response to given event
627
627
  * @memberOf eventsBus
628
628
  */
629
- on(o, t) {
630
- const n = e.get(o);
631
- n ? n.push(t) : e.set(o, [t]);
629
+ on(t, o) {
630
+ const n = e.get(t);
631
+ n ? n.push(o) : e.set(t, [o]);
632
632
  },
633
633
  /**
634
634
  * Remove an event handler for the given type.
@@ -637,9 +637,9 @@ function ao(e) {
637
637
  * @param {Function} [handler] Handler function to remove
638
638
  * @memberOf eventsBus
639
639
  */
640
- off(o, t) {
641
- const n = e.get(o);
642
- n && (t ? n.splice(n.indexOf(t) >>> 0, 1) : e.set(o, []));
640
+ off(t, o) {
641
+ const n = e.get(t);
642
+ n && (o ? n.splice(n.indexOf(o) >>> 0, 1) : e.set(t, []));
643
643
  },
644
644
  /**
645
645
  * Invoke all handlers for the given type.
@@ -651,12 +651,12 @@ function ao(e) {
651
651
  * @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler
652
652
  * @memberOf eventsBus
653
653
  */
654
- emit(o, t) {
655
- let n = e.get(o);
654
+ emit(t, o) {
655
+ let n = e.get(t);
656
656
  n && n.slice().map((s) => {
657
- s(t);
657
+ s(o);
658
658
  }), n = e.get("*"), n && n.slice().map((s) => {
659
- s(o, t);
659
+ s(t, o);
660
660
  });
661
661
  }
662
662
  };
@@ -673,41 +673,41 @@ const j = ao(), g = {
673
673
  return g.state.trees[e].selected;
674
674
  },
675
675
  // data - ноды, dataId - ID ноды родителя data
676
- getParentId(e, o, t, n = "id", s = "children", a = {}) {
677
- return t && e && (e.find((l) => l[n] === t ? (a.found = o, l) : g.getters.getParentId(l[s], l.id, t, n, s, a)), a.found) ? a.found : !1;
676
+ getParentId(e, t, o, n = "id", s = "children", a = {}) {
677
+ return o && e && (e.find((l) => l[n] === o ? (a.found = t, l) : g.getters.getParentId(l[s], l.id, o, n, s, a)), a.found) ? a.found : !1;
678
678
  }
679
679
  },
680
680
  mutations: {
681
- setTreeItems(e, o) {
682
- g.state.trees[e].items = o;
681
+ setTreeItems(e, t) {
682
+ g.state.trees[e].items = t;
683
683
  },
684
- setItemSelect(e, o) {
685
- g.state.trees[e].noSelect || (g.state.trees[e].multiSelect ? g.state.trees[e].selected.includes(o.id) ? g.state.trees[e].selected = g.state.trees[e].selected.filter(function(t) {
686
- return t !== o.id;
687
- }) : g.state.trees[e].selected = [...g.state.trees[e].selected, o.id] : g.state.trees[e].selected = [o.id]);
684
+ setItemSelect(e, t) {
685
+ g.state.trees[e].noSelect || (g.state.trees[e].multiSelect ? g.state.trees[e].selected.includes(t.id) ? g.state.trees[e].selected = g.state.trees[e].selected.filter(function(o) {
686
+ return o !== t.id;
687
+ }) : g.state.trees[e].selected = [...g.state.trees[e].selected, t.id] : g.state.trees[e].selected = [t.id]);
688
688
  }
689
689
  },
690
690
  actions: {
691
- initTreeStore(e, o, t, n, s, a, l) {
692
- g.state.trees[e] = [], g.state.trees[e].selected = [], g.state.trees[e].noSelect = o, g.state.trees[e].multiSelect = t, g.state.trees[e].expanded = n, g.state.trees[e].transfer = s, g.state.trees[e].renderTitle = a, g.state.trees[e].beforeItem = l;
691
+ initTreeStore(e, t, o, n, s, a, l) {
692
+ g.state.trees[e] = [], g.state.trees[e].selected = [], g.state.trees[e].noSelect = t, g.state.trees[e].multiSelect = o, g.state.trees[e].expanded = n, g.state.trees[e].transfer = s, g.state.trees[e].renderTitle = a, g.state.trees[e].beforeItem = l;
693
693
  },
694
- renderTitle(e, o) {
695
- return g.state.trees[e].renderTitle ? g.state.trees[e].renderTitle(o) : o;
694
+ renderTitle(e, t) {
695
+ return g.state.trees[e].renderTitle ? g.state.trees[e].renderTitle(t) : t;
696
696
  },
697
- beforeItem(e, o) {
698
- return g.state.trees[e].beforeItem ? g.state.trees[e].beforeItem(o) : !0;
697
+ beforeItem(e, t) {
698
+ return g.state.trees[e].beforeItem ? g.state.trees[e].beforeItem(t) : !0;
699
699
  },
700
- isItemSelected(e, o) {
701
- return g.state.trees[e].selected.includes(o);
700
+ isItemSelected(e, t) {
701
+ return g.state.trees[e].selected.includes(t);
702
702
  },
703
- toggleItem(e, o) {
704
- o.expanded = o.expanded === void 0 || !o.expanded, o.children && o.children.length && (o.expanded ? j.emit(`expand-${e}`, { id: e, model: o }) : j.emit(`collapse-${e}`, { id: e, model: o }));
703
+ toggleItem(e, t) {
704
+ t.expanded = t.expanded === void 0 || !t.expanded, t.children && t.children.length && (t.expanded ? j.emit(`expand-${e}`, { id: e, model: t }) : j.emit(`collapse-${e}`, { id: e, model: t }));
705
705
  },
706
706
  isTreeExpanded(e) {
707
707
  return g.state.trees[e].expanded;
708
708
  },
709
- isChildOfParent(e, o, t, n) {
710
- const s = g.actions.deepSearch(o, t);
709
+ isChildOfParent(e, t, o, n) {
710
+ const s = g.actions.deepSearch(t, o);
711
711
  if (s && s.children) {
712
712
  for (let a = 0; a < s.children.length; a++)
713
713
  if (s.children[a].id === n)
@@ -716,17 +716,17 @@ const j = ao(), g = {
716
716
  return !1;
717
717
  },
718
718
  // Является ли нода родителем указанного потомка
719
- isParentOfChild(e, o, t, n) {
720
- const s = g.actions.deepSearch(o, t);
719
+ isParentOfChild(e, t, o, n) {
720
+ const s = g.actions.deepSearch(t, o);
721
721
  return !!(s && s.children && g.actions.deepSearch(s.children, n));
722
722
  },
723
- deepSearch(e, o, t = "id", n = "children", s = {}) {
724
- return o && e && (e.find((a) => a[t] === o ? (s.found = a, a) : g.actions.deepSearch(a[n], o, t, n, s)), s.found) ? s.found : !1;
723
+ deepSearch(e, t, o = "id", n = "children", s = {}) {
724
+ return t && e && (e.find((a) => a[o] === t ? (s.found = a, a) : g.actions.deepSearch(a[n], t, o, n, s)), s.found) ? s.found : !1;
725
725
  },
726
- deepSearchByTitle(e, o, t = "title", n = "children", s = []) {
727
- if (o && e && (e.find((a) => {
728
- const l = new RegExp(o, "gi");
729
- a[t].toString().toLowerCase().match(l) !== null && s.push(a), g.actions.deepSearchByTitle(a[n], o, t, n, s);
726
+ deepSearchByTitle(e, t, o = "title", n = "children", s = []) {
727
+ if (t && e && (e.find((a) => {
728
+ const l = new RegExp(t, "gi");
729
+ a[o].toString().toLowerCase().match(l) !== null && s.push(a), g.actions.deepSearchByTitle(a[n], t, o, n, s);
730
730
  }), s)) {
731
731
  for (let a = 0; a < s.length; a++)
732
732
  ;
@@ -734,30 +734,30 @@ const j = ao(), g = {
734
734
  }
735
735
  return s;
736
736
  },
737
- moveTreeNode(e, o, t, n, s, a) {
738
- const l = g.actions.deleteTreeNode(t, n);
739
- g.actions.insertTreeNode(t, s, l, a), j.emit(`move-${o}`, { fromTreeId: e, toTreeId: o, moved: l.id, target: s, position: a });
737
+ moveTreeNode(e, t, o, n, s, a) {
738
+ const l = g.actions.deleteTreeNode(o, n);
739
+ g.actions.insertTreeNode(o, s, l, a), j.emit(`move-${t}`, { fromTreeId: e, toTreeId: t, moved: l.id, target: s, position: a });
740
740
  },
741
- insertTreeNode(e, o, t, n) {
741
+ insertTreeNode(e, t, o, n) {
742
742
  if (e)
743
743
  for (let s = 0; s < e.length; s++) {
744
- if (e[s].id === o) {
744
+ if (e[s].id === t) {
745
745
  let l = s;
746
- return n === "after" ? (l++, e.splice(l, 0, t)) : n === "before" ? e.splice(l, 0, t) : n === "inside" && (Object.hasOwn(e[s], "children") || (e[s].children = [], e[s].opened = !0), e[s].children.splice(0, 0, t)), e[s];
746
+ return n === "after" ? (l++, e.splice(l, 0, o)) : n === "before" ? e.splice(l, 0, o) : n === "inside" && (Object.hasOwn(e[s], "children") || (e[s].children = [], e[s].opened = !0), e[s].children.splice(0, 0, o)), e[s];
747
747
  }
748
- const a = this.insertTreeNode(e[s].children, o, t, n);
748
+ const a = this.insertTreeNode(e[s].children, t, o, n);
749
749
  if (a)
750
750
  return a;
751
751
  }
752
752
  },
753
- deleteTreeNode(e, o) {
753
+ deleteTreeNode(e, t) {
754
754
  if (e)
755
- for (let t = 0; t < e.length; t++) {
756
- if (e[t].id === o) {
757
- const s = e[t];
758
- return e.splice(t, 1), s;
755
+ for (let o = 0; o < e.length; o++) {
756
+ if (e[o].id === t) {
757
+ const s = e[o];
758
+ return e.splice(o, 1), s;
759
759
  }
760
- const n = g.actions.deleteTreeNode(e[t].children, o);
760
+ const n = g.actions.deleteTreeNode(e[o].children, t);
761
761
  if (n)
762
762
  return n;
763
763
  }
@@ -768,24 +768,24 @@ const j = ao(), g = {
768
768
  props: {
769
769
  tag: { type: String, default: "div" }
770
770
  },
771
- emits: Object.keys(H),
772
- setup(e, { expose: o, emit: t }) {
771
+ emits: Object.keys(O),
772
+ setup(e, { expose: t, emit: o }) {
773
773
  let n = Te({});
774
- const s = w("false"), a = w(null), l = /* @__PURE__ */ new Set(), r = f(() => s.value && n), i = (u, h) => {
775
- n = ve.data, t(u, h, n), u === H.dragenter && (l.size || h.target === a.value) && l.add(h.target), u === H.dragleave && l.delete(h.target), u === H.drop && l.clear(), s.value = !!l.size;
774
+ const s = S("false"), a = S(null), l = /* @__PURE__ */ new Set(), r = p(() => s.value && n), i = (u, h) => {
775
+ n = ve.data, o(u, h, n), u === O.dragenter && (l.size || h.target === a.value) && l.add(h.target), u === O.dragleave && l.delete(h.target), u === O.drop && l.clear(), s.value = !!l.size;
776
776
  };
777
- return o({
777
+ return t({
778
778
  elementSize: () => Pe(a)
779
779
  }), (u, h) => (d(), _(P(e.tag), {
780
780
  ref_key: "el",
781
781
  ref: a,
782
- onDragenter: h[0] || (h[0] = (b) => i(I(H).dragenter, b)),
783
- onDragleave: h[1] || (h[1] = (b) => i(I(H).dragleave, b)),
784
- onDragover: h[2] || (h[2] = q((b) => i(I(H).dragover, b), ["prevent"])),
785
- onDrop: h[3] || (h[3] = q((b) => i(I(H).drop, b), ["prevent"]))
782
+ onDragenter: h[0] || (h[0] = (b) => i(I(O).dragenter, b)),
783
+ onDragleave: h[1] || (h[1] = (b) => i(I(O).dragleave, b)),
784
+ onDragover: h[2] || (h[2] = U((b) => i(I(O).dragover, b), ["prevent"])),
785
+ onDrop: h[3] || (h[3] = U((b) => i(I(O).drop, b), ["prevent"]))
786
786
  }, {
787
787
  default: D(() => [
788
- S(u.$slots, "default", { transferData: r.value })
788
+ w(u.$slots, "default", { transferData: r.value })
789
789
  ]),
790
790
  _: 3
791
791
  }, 544));
@@ -804,9 +804,9 @@ const j = ao(), g = {
804
804
  beforeItem: Function
805
805
  },
806
806
  emits: ["select"],
807
- setup(e, { expose: o, emit: t }) {
807
+ setup(e, { expose: t, emit: o }) {
808
808
  const n = e;
809
- let s = w(null), a = w(!1);
809
+ let s = S(null), a = S(!1);
810
810
  const l = () => {
811
811
  j.emit("menu-show-request"), a.value = !0;
812
812
  }, r = () => {
@@ -815,7 +815,7 @@ const j = ao(), g = {
815
815
  }, i = () => a.value;
816
816
  j.on("menu-show-request", () => {
817
817
  r();
818
- }), o({
818
+ }), t({
819
819
  show: l,
820
820
  hide: r,
821
821
  elementSize: () => s.value.elementSize(),
@@ -823,11 +823,11 @@ const j = ao(), g = {
823
823
  itemsCount: () => s.value.itemsCount()
824
824
  });
825
825
  const h = (b) => {
826
- t("select", b), b.model.children || r();
826
+ o("select", b), b.model.children || r();
827
827
  };
828
828
  return (b, C) => {
829
- const M = we("click-outside");
830
- return d(), _(Ve, { to: "body" }, [
829
+ const N = Se("click-outside");
830
+ return d(), _(Ae, { to: "body" }, [
831
831
  I(a) ? oe((d(), _(Xe, {
832
832
  key: 0,
833
833
  ref_key: "treeRef",
@@ -835,12 +835,12 @@ const j = ao(), g = {
835
835
  items: n.items,
836
836
  "no-select": n.noSelect,
837
837
  class: E(n.class),
838
- style: O(n.style),
838
+ style: R(n.style),
839
839
  onSelect: h,
840
840
  "render-title": n.renderItemTitle,
841
841
  "before-item": n.beforeItem
842
842
  }, null, 8, ["items", "no-select", "class", "style", "render-title", "before-item"])), [
843
- [M, () => r()]
843
+ [N, () => r()]
844
844
  ]) : k("", !0)
845
845
  ]);
846
846
  };
@@ -853,26 +853,26 @@ const j = ao(), g = {
853
853
  beforeItem: Function
854
854
  },
855
855
  emits: ["select"],
856
- setup(e, { expose: o, emit: t }) {
857
- const n = e, s = w(null), a = w(0), l = w(0), r = f(() => ({
856
+ setup(e, { expose: t, emit: o }) {
857
+ const n = e, s = S(null), a = S(0), l = S(0), r = p(() => ({
858
858
  left: a.value + "px",
859
859
  top: l.value + "px"
860
860
  })), i = (u) => {
861
- s.value.show(), ze(() => {
861
+ s.value.show(), Ve(() => {
862
862
  const h = s.value.elementSize(), b = window.innerWidth, C = window.innerHeight;
863
863
  a.value = b - u.pageX < h.width ? u.pageX - h.width : u.pageX, l.value = C - u.pageY < h.height ? u.pageY - h.height : u.pageY, s.value.itemsCount() === 0 && s.value.hide();
864
864
  });
865
865
  }, c = (u) => {
866
- t("select", u);
866
+ o("select", u);
867
867
  };
868
- return o({
868
+ return t({
869
869
  show: i
870
870
  }), (u, h) => (d(), _(je, {
871
871
  ref_key: "dMenuRef",
872
872
  ref: s,
873
873
  onSelect: c,
874
874
  items: n.items,
875
- style: O(r.value),
875
+ style: R(r.value),
876
876
  class: "context-menu",
877
877
  "no-select": !0,
878
878
  "render-item-title": n.renderItemTitle,
@@ -913,60 +913,60 @@ const j = ao(), g = {
913
913
  }
914
914
  },
915
915
  emits: ["select", "collapse", "expand", "move", "over", "drop"],
916
- setup(e, { expose: o, emit: t }) {
917
- const n = e, s = w(null), a = w(!1), l = w(null), r = Re().uid;
916
+ setup(e, { expose: t, emit: o }) {
917
+ const n = e, s = S(null), a = S(!1), l = S(null), r = ze().uid;
918
918
  g.actions.initTreeStore(r, n.noSelect, n.multiSelect, n.expanded, n.transfer, n.renderTitle, n.beforeItem);
919
- const i = (v, V) => {
920
- console.log(v, V);
919
+ const i = (v, A) => {
920
+ console.log(v, A);
921
921
  };
922
922
  j.on(`expand-${r}`, (v) => {
923
- t("expand", v);
923
+ o("expand", v);
924
924
  }), j.on(`collapse-${r}`, (v) => {
925
- t("collapse", v);
925
+ o("collapse", v);
926
926
  }), j.on(`move-${r}`, (v) => {
927
- t("move", v);
927
+ o("move", v);
928
928
  });
929
- const c = f(() => n.search ? g.actions.deepSearchByTitle(n.items, n.search) : n.items), u = (v = null) => {
930
- g.mutations.setItemSelect(r, v.model), g.actions.toggleItem(r, v.model), t("select", v);
929
+ const c = p(() => n.search ? g.actions.deepSearchByTitle(n.items, n.search) : n.items), u = (v = null) => {
930
+ g.mutations.setItemSelect(r, v.model), g.actions.toggleItem(r, v.model), o("select", v);
931
931
  }, h = (v = null) => {
932
- t("over", v);
932
+ o("over", v);
933
933
  }, b = (v = null) => {
934
- t("drop", v);
935
- }, C = () => s.value.elementSize(), M = () => {
934
+ o("drop", v);
935
+ }, C = () => s.value.elementSize(), N = () => {
936
936
  for (let v = 0; v < n.items.length; v++)
937
937
  n.items[v].expanded = !0;
938
938
  }, $ = () => {
939
939
  for (let v = 0; v < n.items.length; v++)
940
940
  n.items[v].expanded = !1;
941
- }, R = () => r, X = (v) => g.actions.deepSearch(n.items, v), A = (v) => {
941
+ }, z = () => r, X = (v) => g.actions.deepSearch(n.items, v), H = (v) => {
942
942
  X(v) && g.mutations.setItemSelect(r, X(v));
943
943
  }, J = (v) => {
944
944
  n.contextClick({ e: v.e, model: v.model, target: l.value });
945
- }, L = (v) => n.contextBeforeClick({ model: v, target: l.value }), y = f(() => n.context), B = (v) => (y.value && (l.value = v.model, a.value.show(v.e)), !1), W = () => F(c.value), F = (v) => {
946
- let V = 0;
947
- for (let p = 0; p < v.length; p++)
948
- V += g.actions.beforeItem(r, v[p]) ? 1 : 0, v[p].children && v[p].children.length > 0 && (V += F(v[p].children));
949
- return V;
945
+ }, L = (v) => n.contextBeforeClick({ model: v, target: l.value }), y = p(() => n.context), B = (v) => (y.value && (l.value = v.model, a.value.show(v.e)), !1), F = () => W(c.value), W = (v) => {
946
+ let A = 0;
947
+ for (let f = 0; f < v.length; f++)
948
+ A += g.actions.beforeItem(r, v[f]) ? 1 : 0, v[f].children && v[f].children.length > 0 && (A += W(v[f].children));
949
+ return A;
950
950
  };
951
- return o({
951
+ return t({
952
952
  elementSize: C,
953
- expandAll: M,
953
+ expandAll: N,
954
954
  collapseAll: $,
955
- getId: R,
955
+ getId: z,
956
956
  getNode: X,
957
- selectNode: A,
958
- itemsCount: W
959
- }), (v, V) => (d(), _(io, {
957
+ selectNode: H,
958
+ itemsCount: F
959
+ }), (v, A) => (d(), _(io, {
960
960
  ref_key: "treeRef",
961
961
  ref: s,
962
962
  class: "tree",
963
963
  tag: "ul",
964
- onDrop: q(i, ["stop"])
964
+ onDrop: U(i, ["stop"])
965
965
  }, {
966
966
  default: D(() => [
967
- (d(!0), m(te, null, pe(c.value, (p) => (d(), _(so, {
968
- key: p.id,
969
- model: p,
967
+ (d(!0), m(te, null, fe(c.value, (f) => (d(), _(so, {
968
+ key: f.id,
969
+ model: f,
970
970
  treeId: I(r),
971
971
  items: n.items,
972
972
  search: n.search,
@@ -1000,15 +1000,15 @@ const ro = {
1000
1000
  }
1001
1001
  },
1002
1002
  setup(e) {
1003
- const o = e;
1004
- return (t, n) => (d(), _(Xe, {
1003
+ const t = e;
1004
+ return (o, n) => (d(), _(Xe, {
1005
1005
  class: "accordion",
1006
- items: o.items,
1007
- "no-select": o.noSelect,
1008
- "render-title": o.renderTitle
1006
+ items: t.items,
1007
+ "no-select": t.noSelect,
1008
+ "render-title": t.renderTitle
1009
1009
  }, null, 8, ["items", "no-select", "render-title"]));
1010
1010
  }
1011
- }, Nn = /* @__PURE__ */ K(ro, [["__scopeId", "data-v-642edace"]]), co = {
1011
+ }, Yn = /* @__PURE__ */ K(ro, [["__scopeId", "data-v-642edace"]]), co = {
1012
1012
  __name: "DLayoutHeader",
1013
1013
  props: {
1014
1014
  fixed: {
@@ -1042,15 +1042,15 @@ const ro = {
1042
1042
  useMinWidthLayout: Boolean
1043
1043
  },
1044
1044
  setup(e) {
1045
- const o = e, t = f(() => {
1046
- const { fixed: n, zIndex: s, minWidth: a, height: l, paddingLeft: r, transitionDuration: i, transitionTimingFunction: c } = o, u = n ? "fixed" : "static", h = o.useMinWidthLayout ? `min-width:${a}px;` : "";
1045
+ const t = e, o = p(() => {
1046
+ const { fixed: n, zIndex: s, minWidth: a, height: l, paddingLeft: r, transitionDuration: i, transitionTimingFunction: c } = t, u = n ? "fixed" : "static", h = t.useMinWidthLayout ? `min-width:${a}px;` : "";
1047
1047
  return `position:${u};z-index:${s};${h}height:${l}px;padding-left:${r}px;transition-duration:${i}ms;transition-timing-function:${c};`;
1048
1048
  });
1049
1049
  return (n, s) => (d(), m("header", {
1050
1050
  class: "d-layout-header",
1051
- style: O(t.value)
1051
+ style: R(o.value)
1052
1052
  }, [
1053
- S(n.$slots, "default")
1053
+ w(n.$slots, "default")
1054
1054
  ], 4));
1055
1055
  }
1056
1056
  }, uo = {
@@ -1091,18 +1091,18 @@ const ro = {
1091
1091
  useMinWidthLayout: Boolean
1092
1092
  },
1093
1093
  setup(e) {
1094
- const o = e, t = f(() => {
1095
- const { fixed: n, top: s, zIndex: a, minWidth: l, height: r, paddingLeft: i, transitionDuration: c, transitionTimingFunction: u } = o, h = n ? "fixed" : "static", b = o.useMinWidthLayout ? `min-width: ${l}px;` : "";
1094
+ const t = e, o = p(() => {
1095
+ const { fixed: n, top: s, zIndex: a, minWidth: l, height: r, paddingLeft: i, transitionDuration: c, transitionTimingFunction: u } = t, h = n ? "fixed" : "static", b = t.useMinWidthLayout ? `min-width: ${l}px;` : "";
1096
1096
  return `position:${h};top:${s}px;z-index:${a};${b}height:${r}px;padding-left:${i}px;transition-duration:${c}ms;transition-timing-function:${u};`;
1097
1097
  });
1098
1098
  return (n, s) => (d(), m("div", {
1099
1099
  class: "d-layout-tab",
1100
- style: O(t.value)
1100
+ style: R(o.value)
1101
1101
  }, [
1102
- S(n.$slots, "default")
1102
+ w(n.$slots, "default")
1103
1103
  ], 4));
1104
1104
  }
1105
- }, po = {
1105
+ }, fo = {
1106
1106
  __name: "DLayoutFooter",
1107
1107
  props: {
1108
1108
  fixed: {
@@ -1136,18 +1136,18 @@ const ro = {
1136
1136
  useMinWidthLayout: Boolean
1137
1137
  },
1138
1138
  setup(e) {
1139
- const o = e, t = f(() => {
1140
- const { fixed: n, zIndex: s, minWidth: a, height: l, paddingLeft: r, transitionDuration: i, transitionTimingFunction: c } = o, u = n ? "fixed" : "static", h = o.useMinWidthLayout ? `min-width:${a}px;` : "";
1139
+ const t = e, o = p(() => {
1140
+ const { fixed: n, zIndex: s, minWidth: a, height: l, paddingLeft: r, transitionDuration: i, transitionTimingFunction: c } = t, u = n ? "fixed" : "static", h = t.useMinWidthLayout ? `min-width:${a}px;` : "";
1141
1141
  return `position:${u};z-index:${s};${h}height:${l}px;padding-left:${r}px;transition-duration:${i}ms;transition-timing-function:${c};`;
1142
1142
  });
1143
1143
  return (n, s) => (d(), m("footer", {
1144
1144
  class: "d-layout-footer",
1145
- style: O(t.value)
1145
+ style: R(o.value)
1146
1146
  }, [
1147
- S(n.$slots, "default")
1147
+ w(n.$slots, "default")
1148
1148
  ], 4));
1149
1149
  }
1150
- }, fo = {
1150
+ }, po = {
1151
1151
  __name: "DLayoutSidebar",
1152
1152
  props: {
1153
1153
  zIndex: {
@@ -1176,15 +1176,15 @@ const ro = {
1176
1176
  }
1177
1177
  },
1178
1178
  setup(e) {
1179
- const o = e, t = f(() => {
1180
- const { zIndex: n, width: s, paddingTop: a, transitionDuration: l, transitionTimingFunction: r } = o;
1179
+ const t = e, o = p(() => {
1180
+ const { zIndex: n, width: s, paddingTop: a, transitionDuration: l, transitionTimingFunction: r } = t;
1181
1181
  return `z-index:${n};width:${s}px;padding-top:${a}px;transition-duration:${l}ms;transition-timing-function:${r};`;
1182
1182
  });
1183
1183
  return (n, s) => (d(), m("aside", {
1184
1184
  class: "d-layout-sidebar",
1185
- style: O(t.value)
1185
+ style: R(o.value)
1186
1186
  }, [
1187
- S(n.$slots, "default")
1187
+ w(n.$slots, "default")
1188
1188
  ], 4));
1189
1189
  }
1190
1190
  }, mo = {
@@ -1213,23 +1213,23 @@ const ro = {
1213
1213
  }
1214
1214
  },
1215
1215
  setup(e) {
1216
- const o = e, t = f(() => {
1217
- const { paddingTop: n, paddingBottom: s, paddingLeft: a, transitionDuration: l, transitionTimingFunction: r } = o, i = `overflow:${o.overflowHidden ? "hidden" : "visible"};`;
1216
+ const t = e, o = p(() => {
1217
+ const { paddingTop: n, paddingBottom: s, paddingLeft: a, transitionDuration: l, transitionTimingFunction: r } = t, i = `overflow:${t.overflowHidden ? "hidden" : "visible"};`;
1218
1218
  return `padding-top:${n}px;padding-bottom:${s}px;padding-left:${a}px;${i}transition-duration:${l}ms;transition-timing-function:${r};`;
1219
1219
  });
1220
1220
  return (n, s) => (d(), m("main", {
1221
- style: O(t.value),
1221
+ style: R(o.value),
1222
1222
  class: "d-layout-content"
1223
1223
  }, [
1224
- S(n.$slots, "default")
1224
+ w(n.$slots, "default")
1225
1225
  ], 4));
1226
1226
  }
1227
1227
  };
1228
1228
  function ho(e) {
1229
- const o = w(0), t = f(() => `transform: translateX(${-o.value}px);`);
1229
+ const t = S(0), o = p(() => `transform: translateX(${-t.value}px);`);
1230
1230
  let n = !1;
1231
1231
  function s(u) {
1232
- o.value = u;
1232
+ t.value = u;
1233
1233
  }
1234
1234
  function a() {
1235
1235
  var u;
@@ -1248,13 +1248,13 @@ function ho(e) {
1248
1248
  function c() {
1249
1249
  l(), r(), n = !0;
1250
1250
  }
1251
- return We(e, (u) => {
1251
+ return Fe(e, (u) => {
1252
1252
  u ? c() : i();
1253
1253
  }, { immediate: !0 }), lt(() => {
1254
1254
  i();
1255
- }), t;
1255
+ }), o;
1256
1256
  }
1257
- const go = 1001, vo = 999, yo = 998, On = {
1257
+ const go = 1001, vo = 999, yo = 998, Un = {
1258
1258
  __name: "DLayoutAdmin",
1259
1259
  props: {
1260
1260
  mode: {
@@ -1344,39 +1344,39 @@ const go = 1001, vo = 999, yo = 998, On = {
1344
1344
  }
1345
1345
  },
1346
1346
  emits: ["update:sidebar-collapse", "sidebar-mask-click"],
1347
- setup(e, { emit: o }) {
1348
- const t = e, n = f(() => t.useMinWidthLayout ? `min-width:${t.minWidth}px;` : ""), s = f(() => t.useMinWidthLayout && (t.fixedHeaderAndTab || t.fixedFooter)), a = ho(s), l = f(() => t.fixedHeaderAndTab ? a.value : ""), r = f(() => t.fixedFooter ? a.value : ""), i = f(() => {
1349
- const { transitionDuration: y, transitionTimingFunction: B } = t;
1347
+ setup(e, { emit: t }) {
1348
+ const o = e, n = p(() => o.useMinWidthLayout ? `min-width:${o.minWidth}px;` : ""), s = p(() => o.useMinWidthLayout && (o.fixedHeaderAndTab || o.fixedFooter)), a = ho(s), l = p(() => o.fixedHeaderAndTab ? a.value : ""), r = p(() => o.fixedFooter ? a.value : ""), i = p(() => {
1349
+ const { transitionDuration: y, transitionTimingFunction: B } = o;
1350
1350
  return {
1351
1351
  transitionDuration: y,
1352
1352
  transitionTimingFunction: B
1353
1353
  };
1354
- }), c = f(() => t.mode === "vertical"), u = f(() => t.isMobile || c.value ? 1003 : 1e3), h = f({
1354
+ }), c = p(() => o.mode === "vertical"), u = p(() => o.isMobile || c.value ? 1003 : 1e3), h = p({
1355
1355
  get() {
1356
- return t.sidebarCollapse;
1356
+ return o.sidebarCollapse;
1357
1357
  },
1358
1358
  set(y) {
1359
- o("update:sidebar-collapse", y);
1359
+ t("update:sidebar-collapse", y);
1360
1360
  }
1361
1361
  });
1362
1362
  function b() {
1363
- o("sidebar-mask-click");
1363
+ t("sidebar-mask-click");
1364
1364
  }
1365
- const C = f(() => t.isMobile && !h.value), M = f(() => {
1366
- const { transitionDuration: y, transitionTimingFunction: B } = t;
1367
- return `background-color:${t.maskBg};transition-duration:${y}ms;transition-timing-function:${B};`;
1368
- }), $ = f(() => {
1369
- const { sidebarWidth: y, sidebarCollapsedWidth: B } = t, W = t.isMobile ? 0 : B, F = h.value ? W : y;
1370
- return t.sidebarVisible ? F : 0;
1371
- }), R = f(() => t.isMobile ? 0 : $.value), X = f(() => c.value ? R.value : 0), A = f(
1372
- () => !t.isMobile && !c.value && t.headerVisible ? t.headerHeight : 0
1373
- ), J = f(() => {
1365
+ const C = p(() => o.isMobile && !h.value), N = p(() => {
1366
+ const { transitionDuration: y, transitionTimingFunction: B } = o;
1367
+ return `background-color:${o.maskBg};transition-duration:${y}ms;transition-timing-function:${B};`;
1368
+ }), $ = p(() => {
1369
+ const { sidebarWidth: y, sidebarCollapsedWidth: B } = o, F = o.isMobile ? 0 : B, W = h.value ? F : y;
1370
+ return o.sidebarVisible ? W : 0;
1371
+ }), z = p(() => o.isMobile ? 0 : $.value), X = p(() => c.value ? z.value : 0), H = p(
1372
+ () => !o.isMobile && !c.value && o.headerVisible ? o.headerHeight : 0
1373
+ ), J = p(() => {
1374
1374
  let y = 0;
1375
- return t.fixedHeaderAndTab && (t.headerVisible && (y += t.headerHeight), t.tabVisible && (y += t.tabHeight)), y;
1376
- }), L = f(() => t.fixedFooter && t.footerVisible ? t.footerHeight : 0);
1375
+ return o.fixedHeaderAndTab && (o.headerVisible && (y += o.headerHeight), o.tabVisible && (y += o.tabHeight)), y;
1376
+ }), L = p(() => o.fixedFooter && o.footerVisible ? o.footerHeight : 0);
1377
1377
  return (y, B) => (d(), m("div", {
1378
1378
  class: "d-layout",
1379
- style: O(n.value)
1379
+ style: R(n.value)
1380
1380
  }, [
1381
1381
  e.headerVisible ? (d(), _(co, re({ key: 0 }, i.value, {
1382
1382
  fixed: e.fixedHeaderAndTab,
@@ -1387,7 +1387,7 @@ const go = 1001, vo = 999, yo = 998, On = {
1387
1387
  style: l.value
1388
1388
  }), {
1389
1389
  default: D(() => [
1390
- S(y.$slots, "header")
1390
+ w(y.$slots, "header")
1391
1391
  ]),
1392
1392
  _: 3
1393
1393
  }, 16, ["fixed", "min-width", "height", "padding-left", "style"])) : k("", !0),
@@ -1397,51 +1397,51 @@ const go = 1001, vo = 999, yo = 998, On = {
1397
1397
  "min-width": e.minWidth,
1398
1398
  top: e.headerHeight,
1399
1399
  height: e.tabHeight,
1400
- "padding-left": R.value,
1400
+ "padding-left": z.value,
1401
1401
  style: l.value
1402
1402
  }), {
1403
1403
  default: D(() => [
1404
- S(y.$slots, "tab")
1404
+ w(y.$slots, "tab")
1405
1405
  ]),
1406
1406
  _: 3
1407
1407
  }, 16, ["fixed", "min-width", "top", "height", "padding-left", "style"])) : k("", !0),
1408
- e.sidebarVisible ? (d(), _(fo, re({ key: 2 }, i.value, {
1408
+ e.sidebarVisible ? (d(), _(po, re({ key: 2 }, i.value, {
1409
1409
  "z-index": u.value,
1410
1410
  width: $.value,
1411
- "padding-top": A.value
1411
+ "padding-top": H.value
1412
1412
  }), {
1413
1413
  default: D(() => [
1414
- S(y.$slots, "sidebar")
1414
+ w(y.$slots, "sidebar")
1415
1415
  ]),
1416
1416
  _: 3
1417
1417
  }, 16, ["z-index", "width", "padding-top"])) : k("", !0),
1418
1418
  C.value ? (d(), m("div", {
1419
1419
  key: 3,
1420
1420
  class: "d-layout-sidebar-mask",
1421
- style: O(M.value),
1421
+ style: R(N.value),
1422
1422
  onClick: b
1423
1423
  }, null, 4)) : k("", !0),
1424
1424
  ne(mo, re(i.value, {
1425
1425
  "padding-top": J.value,
1426
1426
  "padding-bottom": L.value,
1427
- "padding-left": R.value,
1427
+ "padding-left": z.value,
1428
1428
  "overflow-hidden": e.addMainOverflowHidden
1429
1429
  }), {
1430
1430
  default: D(() => [
1431
- S(y.$slots, "default")
1431
+ w(y.$slots, "default")
1432
1432
  ]),
1433
1433
  _: 3
1434
1434
  }, 16, ["padding-top", "padding-bottom", "padding-left", "overflow-hidden"]),
1435
- e.footerVisible ? (d(), _(po, re({ key: 4 }, i.value, {
1435
+ e.footerVisible ? (d(), _(fo, re({ key: 4 }, i.value, {
1436
1436
  fixed: e.fixedFooter,
1437
1437
  "z-index": yo,
1438
1438
  "min-width": e.minWidth,
1439
1439
  height: e.footerHeight,
1440
- "padding-left": R.value,
1440
+ "padding-left": z.value,
1441
1441
  style: r.value
1442
1442
  }), {
1443
1443
  default: D(() => [
1444
- S(y.$slots, "footer")
1444
+ w(y.$slots, "footer")
1445
1445
  ]),
1446
1446
  _: 3
1447
1447
  }, 16, ["fixed", "min-width", "height", "padding-left", "style"])) : k("", !0)
@@ -1466,7 +1466,7 @@ const go = 1001, vo = 999, yo = 998, On = {
1466
1466
  de.state.theme = de.state.theme === "dark" ? "light" : "dark", document.documentElement.classList.remove("dark"), document.documentElement.classList.remove("light"), document.documentElement.classList.add(de.state.theme);
1467
1467
  }
1468
1468
  }
1469
- }, Hn = {
1469
+ }, qn = {
1470
1470
  __name: "DConfigProvider",
1471
1471
  props: {
1472
1472
  theme: {
@@ -1475,11 +1475,11 @@ const go = 1001, vo = 999, yo = 998, On = {
1475
1475
  }
1476
1476
  },
1477
1477
  setup(e) {
1478
- const o = e;
1479
- return de.mutations.setTheme(o.theme), (t, n) => S(t.$slots, "default");
1478
+ const t = e;
1479
+ return de.mutations.setTheme(t.theme), (o, n) => w(o.$slots, "default");
1480
1480
  }
1481
1481
  };
1482
- const An = {
1482
+ const Gn = {
1483
1483
  __name: "DScrollProvider",
1484
1484
  props: {
1485
1485
  xHide: {
@@ -1492,18 +1492,18 @@ const An = {
1492
1492
  }
1493
1493
  },
1494
1494
  setup(e) {
1495
- const o = e;
1495
+ const t = e;
1496
1496
  _e((a) => ({
1497
- e35a6f9a: t.value,
1497
+ e35a6f9a: o.value,
1498
1498
  e35a6f98: n.value
1499
1499
  }));
1500
- const t = f(() => o.xHide ? "hidden" : "visible"), n = f(() => o.yHide ? "hidden" : "visible"), s = (a) => {
1500
+ const o = p(() => t.xHide ? "hidden" : "visible"), n = p(() => t.yHide ? "hidden" : "visible"), s = (a) => {
1501
1501
  document.body.classList.add(a), document.documentElement.classList.add(a), document.documentElement.classList.add("d-global-scroll");
1502
1502
  };
1503
1503
  return ue(() => {
1504
1504
  s("colored-scroller");
1505
1505
  }), (a, l) => (d(), m("div", null, [
1506
- S(a.$slots, "default")
1506
+ w(a.$slots, "default")
1507
1507
  ]));
1508
1508
  }
1509
1509
  };
@@ -1524,20 +1524,20 @@ const _o = {
1524
1524
  }
1525
1525
  },
1526
1526
  setup(e) {
1527
- const o = e;
1527
+ const t = e;
1528
1528
  _e((s) => ({
1529
- c07fa29a: t.value,
1529
+ c07fa29a: o.value,
1530
1530
  c07fa298: n.value
1531
1531
  }));
1532
- const t = f(() => o.xHide ? "hidden" : "visible"), n = f(() => o.yHide ? "hidden" : "visible");
1532
+ const o = p(() => t.xHide ? "hidden" : "visible"), n = p(() => t.yHide ? "hidden" : "visible");
1533
1533
  return (s, a) => (d(), m("div", {
1534
- class: E(o.autoHide ? "d-scroll-hide" : "d-scroll")
1534
+ class: E(t.autoHide ? "d-scroll-hide" : "d-scroll")
1535
1535
  }, [
1536
- S(s.$slots, "default", {}, void 0, !0)
1536
+ w(s.$slots, "default", {}, void 0, !0)
1537
1537
  ], 2));
1538
1538
  }
1539
- }, Vn = /* @__PURE__ */ K(_o, [["__scopeId", "data-v-d50b3609"]]);
1540
- const bo = { class: "modal-dialog" }, xo = { class: "modal-content" }, $o = { class: "modal-header" }, ko = { class: "modal-title" }, So = { class: "modal-body" }, wo = { class: "modal-footer" }, To = {
1539
+ }, Zn = /* @__PURE__ */ K(_o, [["__scopeId", "data-v-d50b3609"]]);
1540
+ const bo = { class: "modal-dialog" }, xo = { class: "modal-content" }, $o = { class: "modal-header" }, ko = { class: "modal-title" }, wo = { class: "modal-body" }, So = { class: "modal-footer" }, To = {
1541
1541
  __name: "DModal",
1542
1542
  props: {
1543
1543
  show: Boolean,
@@ -1545,25 +1545,25 @@ const bo = { class: "modal-dialog" }, xo = { class: "modal-content" }, $o = { cl
1545
1545
  // ширина диалога 500px, 100% и т.п.
1546
1546
  },
1547
1547
  emits: ["open", "close"],
1548
- setup(e, { expose: o, emit: t }) {
1548
+ setup(e, { expose: t, emit: o }) {
1549
1549
  const n = e;
1550
1550
  _e((i) => ({
1551
1551
  "558e9e46": n.width
1552
1552
  }));
1553
- const s = w(null), a = w(!1);
1553
+ const s = S(null), a = S(!1);
1554
1554
  a.value = n == null ? void 0 : n.show;
1555
1555
  const l = () => {
1556
- a.value = !0, t("open", s);
1556
+ a.value = !0, o("open", s);
1557
1557
  }, r = () => {
1558
- a.value = !1, t("close", s);
1558
+ a.value = !1, o("close", s);
1559
1559
  };
1560
- return o({
1560
+ return t({
1561
1561
  show: l,
1562
1562
  hide: r
1563
1563
  }), (i, c) => {
1564
- const u = we("keydown");
1565
- return d(), _(Ve, { to: "body" }, [
1566
- ne(Se, { name: "fade" }, {
1564
+ const u = Se("keydown");
1565
+ return d(), _(Ae, { to: "body" }, [
1566
+ ne(we, { name: "fade" }, {
1567
1567
  default: D(() => [
1568
1568
  a.value ? oe((d(), m("div", {
1569
1569
  key: 0,
@@ -1575,14 +1575,14 @@ const bo = { class: "modal-dialog" }, xo = { class: "modal-content" }, $o = { cl
1575
1575
  x("div", xo, [
1576
1576
  x("div", $o, [
1577
1577
  x("h5", ko, [
1578
- S(i.$slots, "modal-title", {}, void 0, !0)
1578
+ w(i.$slots, "modal-title", {}, void 0, !0)
1579
1579
  ])
1580
1580
  ]),
1581
- x("div", So, [
1582
- S(i.$slots, "default", {}, void 0, !0)
1583
- ]),
1584
1581
  x("div", wo, [
1585
- S(i.$slots, "modal-footer", {}, void 0, !0)
1582
+ w(i.$slots, "default", {}, void 0, !0)
1583
+ ]),
1584
+ x("div", So, [
1585
+ w(i.$slots, "modal-footer", {}, void 0, !0)
1586
1586
  ])
1587
1587
  ])
1588
1588
  ])
@@ -1599,21 +1599,21 @@ const bo = { class: "modal-dialog" }, xo = { class: "modal-content" }, $o = { cl
1599
1599
  function ke(e) {
1600
1600
  e === void 0 && (e = ie.value.comp.returnValue()), ie.value.resolve(e), ie.value = null;
1601
1601
  }
1602
- function qe(e, o, t = "default") {
1602
+ function Ue(e, t, o = "default") {
1603
1603
  return new Promise((n) => {
1604
1604
  ie.value = {
1605
1605
  dialog: e,
1606
- props: o,
1607
- wrapper: t,
1606
+ props: t,
1607
+ wrapper: o,
1608
1608
  resolve: n
1609
1609
  };
1610
1610
  });
1611
1611
  }
1612
- var Do = (e, o) => {
1613
- const t = e.__vccOpts || e;
1614
- for (const [n, s] of o)
1615
- t[n] = s;
1616
- return t;
1612
+ var Do = (e, t) => {
1613
+ const o = e.__vccOpts || e;
1614
+ for (const [n, s] of t)
1615
+ o[n] = s;
1616
+ return o;
1617
1617
  };
1618
1618
  const Co = dt({
1619
1619
  name: "DialogWrapper",
@@ -1626,8 +1626,8 @@ const Co = dt({
1626
1626
  transitionAttrs: Object
1627
1627
  },
1628
1628
  setup() {
1629
- const e = w();
1630
- return We(e, () => {
1629
+ const e = S();
1630
+ return Fe(e, () => {
1631
1631
  ie.value && (ie.value.comp = e.value);
1632
1632
  }), {
1633
1633
  dialogRef: ie,
@@ -1635,8 +1635,8 @@ const Co = dt({
1635
1635
  };
1636
1636
  }
1637
1637
  });
1638
- function Io(e, o, t, n, s, a) {
1639
- return d(), _(Se, ct(ut(e.transitionAttrs)), {
1638
+ function Io(e, t, o, n, s, a) {
1639
+ return d(), _(we, ct(ut(e.transitionAttrs)), {
1640
1640
  default: D(() => [
1641
1641
  e.dialogRef && e.dialogRef.wrapper === e.name ? (d(), _(P(e.dialogRef.dialog), re({ key: 0 }, e.dialogRef.props, { ref: "dialogInstance" }), null, 16)) : k("", !0)
1642
1642
  ]),
@@ -1650,17 +1650,17 @@ const Eo = { style: { display: "flex", "flex-direction": "row", "justify-content
1650
1650
  title: String,
1651
1651
  message: String
1652
1652
  },
1653
- setup(e, { expose: o }) {
1654
- const t = e;
1655
- return o({
1653
+ setup(e, { expose: t }) {
1654
+ const o = e;
1655
+ return t({
1656
1656
  returnValue: () => !0
1657
1657
  }), (s, a) => (d(), m("div", null, [
1658
1658
  ne(Ye, { show: !0 }, {
1659
1659
  "modal-title": D(() => [
1660
- U(N(t.title), 1)
1660
+ G(M(o.title), 1)
1661
1661
  ]),
1662
1662
  default: D(() => [
1663
- U(N(t.message), 1)
1663
+ G(M(o.message), 1)
1664
1664
  ]),
1665
1665
  "modal-footer": D(() => [
1666
1666
  x("div", Eo, [
@@ -1668,7 +1668,7 @@ const Eo = { style: { display: "flex", "flex-direction": "row", "justify-content
1668
1668
  onClick: a[0] || (a[0] = (l) => I(ke)())
1669
1669
  }, {
1670
1670
  default: D(() => [
1671
- U("Закрыть")
1671
+ G("Закрыть")
1672
1672
  ]),
1673
1673
  _: 1
1674
1674
  })
@@ -1678,31 +1678,31 @@ const Eo = { style: { display: "flex", "flex-direction": "row", "justify-content
1678
1678
  })
1679
1679
  ]));
1680
1680
  }
1681
- }, Mo = { style: { display: "flex", "flex-direction": "row", "justify-content": "center", gap: "5px" } }, No = {
1681
+ }, No = { style: { display: "flex", "flex-direction": "row", "justify-content": "center", gap: "5px" } }, Mo = {
1682
1682
  __name: "DConfirmDialog",
1683
1683
  props: {
1684
1684
  title: String,
1685
1685
  message: String
1686
1686
  },
1687
- setup(e, { expose: o }) {
1688
- const t = e;
1689
- return o({
1687
+ setup(e, { expose: t }) {
1688
+ const o = e;
1689
+ return t({
1690
1690
  returnValue: () => !0
1691
1691
  }), (s, a) => (d(), m("div", null, [
1692
1692
  ne(Ye, { show: !0 }, {
1693
1693
  "modal-title": D(() => [
1694
- U(N(t.title), 1)
1694
+ G(M(o.title), 1)
1695
1695
  ]),
1696
1696
  default: D(() => [
1697
- U(N(t.message), 1)
1697
+ G(M(o.message), 1)
1698
1698
  ]),
1699
1699
  "modal-footer": D(() => [
1700
- x("div", Mo, [
1700
+ x("div", No, [
1701
1701
  ne(ee, {
1702
1702
  onClick: a[0] || (a[0] = (l) => I(ke)())
1703
1703
  }, {
1704
1704
  default: D(() => [
1705
- U("Да")
1705
+ G("Да")
1706
1706
  ]),
1707
1707
  _: 1
1708
1708
  }),
@@ -1711,7 +1711,7 @@ const Eo = { style: { display: "flex", "flex-direction": "row", "justify-content
1711
1711
  onClick: a[1] || (a[1] = (l) => I(ke)(!1))
1712
1712
  }, {
1713
1713
  default: D(() => [
1714
- U("Нет")
1714
+ G("Нет")
1715
1715
  ]),
1716
1716
  _: 1
1717
1717
  })
@@ -1721,7 +1721,7 @@ const Eo = { style: { display: "flex", "flex-direction": "row", "justify-content
1721
1721
  })
1722
1722
  ]));
1723
1723
  }
1724
- }, Oo = { class: "dropdown" }, zn = {
1724
+ }, Ro = { class: "dropdown" }, Kn = {
1725
1725
  __name: "DDropdown",
1726
1726
  props: {
1727
1727
  class: String,
@@ -1736,35 +1736,35 @@ const Eo = { style: { display: "flex", "flex-direction": "row", "justify-content
1736
1736
  type: String
1737
1737
  },
1738
1738
  emits: ["select", "click"],
1739
- setup(e, { expose: o, emit: t }) {
1740
- const n = e, s = ye(), a = w(null), l = w(null), r = w(0), i = w(0), c = (C) => {
1741
- if (t("click", C), a.value.isShowed()) {
1739
+ setup(e, { expose: t, emit: o }) {
1740
+ const n = e, s = ye(), a = S(null), l = S(null), r = S(0), i = S(0), c = (C) => {
1741
+ if (o("click", C), a.value.isShowed()) {
1742
1742
  a.value.hide();
1743
1743
  return;
1744
1744
  }
1745
- a.value.show(), ze(() => {
1746
- const M = a.value.elementSize(), $ = l.value.elementSize(), R = window.innerWidth, X = window.innerHeight;
1747
- r.value = R - ($.x + $.width) < M.width ? $.left - M.width + $.width : $.left, i.value = X - ($.y + $.height) < M.height ? $.top - M.height - 5 : $.height + $.top + 5;
1745
+ a.value.show(), Ve(() => {
1746
+ const N = a.value.elementSize(), $ = l.value.elementSize(), z = window.innerWidth, X = window.innerHeight;
1747
+ r.value = z - ($.x + $.width) < N.width ? $.left - N.width + $.width : $.left, i.value = X - ($.y + $.height) < N.height ? $.top - N.height - 5 : $.height + $.top + 5;
1748
1748
  });
1749
1749
  }, u = (C) => {
1750
- t("select", C);
1751
- }, h = f(() => ({ left: r.value + "px", top: i.value + "px", ...n.menuStyle }));
1752
- o({
1750
+ o("select", C);
1751
+ }, h = p(() => ({ left: r.value + "px", top: i.value + "px", ...n.menuStyle }));
1752
+ t({
1753
1753
  show: c
1754
1754
  });
1755
1755
  const b = (C) => !!s[C];
1756
- return (C, M) => (d(), m("div", Oo, [
1756
+ return (C, N) => (d(), m("div", Ro, [
1757
1757
  b("default") ? (d(), _(ee, {
1758
1758
  key: 0,
1759
1759
  ref_key: "buttonRef",
1760
1760
  ref: l,
1761
1761
  class: E(n.class),
1762
1762
  icon: n.icon,
1763
- onClick: q(c, ["stop", "prevent"]),
1763
+ onClick: U(c, ["stop", "prevent"]),
1764
1764
  type: n.type
1765
1765
  }, {
1766
1766
  default: D(() => [
1767
- S(C.$slots, "default")
1767
+ w(C.$slots, "default")
1768
1768
  ]),
1769
1769
  _: 3
1770
1770
  }, 8, ["class", "icon", "onClick", "type"])) : (d(), _(ee, {
@@ -1773,7 +1773,7 @@ const Eo = { style: { display: "flex", "flex-direction": "row", "justify-content
1773
1773
  ref: l,
1774
1774
  class: E(n.class),
1775
1775
  icon: n.icon,
1776
- onClick: q(c, ["stop", "prevent"]),
1776
+ onClick: U(c, ["stop", "prevent"]),
1777
1777
  type: n.type
1778
1778
  }, null, 8, ["class", "icon", "onClick", "type"])),
1779
1779
  ne(je, {
@@ -1781,7 +1781,7 @@ const Eo = { style: { display: "flex", "flex-direction": "row", "justify-content
1781
1781
  ref: a,
1782
1782
  items: n.items,
1783
1783
  class: "dropdown-menu",
1784
- style: O(h.value),
1784
+ style: R(h.value),
1785
1785
  "no-select": !0,
1786
1786
  onSelect: u,
1787
1787
  "render-item-title": n.renderItemTitle,
@@ -1789,27 +1789,27 @@ const Eo = { style: { display: "flex", "flex-direction": "row", "justify-content
1789
1789
  }, null, 8, ["items", "style", "render-item-title", "before-item"])
1790
1790
  ]));
1791
1791
  }
1792
- }, Ho = {}, Ao = { class: "d-panel" };
1793
- function Vo(e, o) {
1794
- return d(), m("div", Ao, [
1795
- S(e.$slots, "default")
1792
+ }, Oo = {}, Ho = { class: "d-panel" };
1793
+ function Ao(e, t) {
1794
+ return d(), m("div", Ho, [
1795
+ w(e.$slots, "default")
1796
1796
  ]);
1797
1797
  }
1798
- const zo = /* @__PURE__ */ K(Ho, [["render", Vo]]), Ro = { class: "card-header" }, Wo = { class: "modal-title" }, Fo = { class: "card-body" }, Po = { class: "card-footer" }, Rn = {
1798
+ const Vo = /* @__PURE__ */ K(Oo, [["render", Ao]]), zo = { class: "card-header" }, Fo = { class: "modal-title" }, Wo = { class: "card-body" }, Po = { class: "card-footer" }, Jn = {
1799
1799
  __name: "DCard",
1800
1800
  setup(e) {
1801
- return (o, t) => (d(), _(zo, { class: "d-card" }, {
1801
+ return (t, o) => (d(), _(Vo, { class: "d-card" }, {
1802
1802
  default: D(() => [
1803
- x("div", Ro, [
1804
- x("h5", Wo, [
1805
- S(o.$slots, "title")
1803
+ x("div", zo, [
1804
+ x("h5", Fo, [
1805
+ w(t.$slots, "title")
1806
1806
  ])
1807
1807
  ]),
1808
- x("div", Fo, [
1809
- S(o.$slots, "default")
1808
+ x("div", Wo, [
1809
+ w(t.$slots, "default")
1810
1810
  ]),
1811
1811
  x("div", Po, [
1812
- S(o.$slots, "footer")
1812
+ w(t.$slots, "footer")
1813
1813
  ])
1814
1814
  ]),
1815
1815
  _: 3
@@ -1817,8 +1817,8 @@ const zo = /* @__PURE__ */ K(Ho, [["render", Vo]]), Ro = { class: "card-header"
1817
1817
  }
1818
1818
  }, jo = /* @__PURE__ */ new Map();
1819
1819
  class Xo {
1820
- constructor(o, t, n) {
1821
- this.remaining = t, this.callback = o, this.notifyItem = n, this.resume();
1820
+ constructor(t, o, n) {
1821
+ this.remaining = o, this.callback = t, this.notifyItem = n, this.resume();
1822
1822
  }
1823
1823
  pause() {
1824
1824
  clearTimeout(this.notifyItem.timer), this.remaining -= Date.now() - this.start;
@@ -1850,11 +1850,11 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
1850
1850
  type: e,
1851
1851
  value: 0
1852
1852
  };
1853
- for (let o = 0; o < Be.length; o++) {
1854
- const t = Be[o];
1855
- if (t.regexp.test(e))
1853
+ for (let t = 0; t < Be.length; t++) {
1854
+ const o = Be[t];
1855
+ if (o.regexp.test(e))
1856
1856
  return {
1857
- type: t.name,
1857
+ type: o.name,
1858
1858
  value: parseFloat(e)
1859
1859
  };
1860
1860
  }
@@ -1862,7 +1862,7 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
1862
1862
  type: "",
1863
1863
  value: e
1864
1864
  };
1865
- }, qo = (e) => {
1865
+ }, Uo = (e) => {
1866
1866
  switch (typeof e) {
1867
1867
  case "number":
1868
1868
  return { type: "px", value: e };
@@ -1871,15 +1871,15 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
1871
1871
  default:
1872
1872
  return { type: "", value: e };
1873
1873
  }
1874
- }, Me = {
1874
+ }, Ne = {
1875
1875
  x: /* @__PURE__ */ new Set(["left", "center", "right"]),
1876
1876
  y: /* @__PURE__ */ new Set(["top", "bottom"])
1877
- }, Go = ((e) => () => e++)(0), Uo = (e) => typeof e != "string" ? [] : e.split(/\s+/gi).filter(Boolean), Zo = (e) => {
1878
- typeof e == "string" && (e = Uo(e));
1879
- let o = null, t = null;
1877
+ }, qo = ((e) => () => e++)(0), Go = (e) => typeof e != "string" ? [] : e.split(/\s+/gi).filter(Boolean), Zo = (e) => {
1878
+ typeof e == "string" && (e = Go(e));
1879
+ let t = null, o = null;
1880
1880
  return e.forEach((n) => {
1881
- Me.y.has(n) && (t = n), Me.x.has(n) && (o = n);
1882
- }), { x: o, y: t };
1881
+ Ne.y.has(n) && (o = n), Ne.x.has(n) && (t = n);
1882
+ }), { x: t, y: o };
1883
1883
  }, $e = {
1884
1884
  position: ["top", "right"],
1885
1885
  cssAnimation: "fade",
@@ -1896,23 +1896,23 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
1896
1896
  }, Ko = {
1897
1897
  __name: "VelocityGroup",
1898
1898
  emits: ["enter", "leave", "after-leave"],
1899
- setup(e, { emit: o }) {
1900
- const t = (a, l) => {
1901
- o("enter", a, l);
1899
+ setup(e, { emit: t }) {
1900
+ const o = (a, l) => {
1901
+ t("enter", a, l);
1902
1902
  }, n = (a, l) => {
1903
- o("leave", a, l);
1903
+ t("leave", a, l);
1904
1904
  }, s = () => {
1905
- o("after-leave");
1905
+ t("after-leave");
1906
1906
  };
1907
- return (a, l) => (d(), _(Fe, {
1907
+ return (a, l) => (d(), _(We, {
1908
1908
  tag: "span",
1909
1909
  css: !1,
1910
- onEnter: t,
1910
+ onEnter: o,
1911
1911
  onLeave: n,
1912
1912
  onAfterLeave: s
1913
1913
  }, {
1914
1914
  default: D(() => [
1915
- S(a.$slots, "default")
1915
+ w(a.$slots, "default")
1916
1916
  ]),
1917
1917
  _: 3
1918
1918
  }));
@@ -1925,13 +1925,13 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
1925
1925
  name: String
1926
1926
  },
1927
1927
  setup(e) {
1928
- const o = e;
1929
- return (t, n) => (d(), _(Fe, {
1928
+ const t = e;
1929
+ return (o, n) => (d(), _(We, {
1930
1930
  tag: "span",
1931
- name: o.name
1931
+ name: t.name
1932
1932
  }, {
1933
1933
  default: D(() => [
1934
- S(t.$slots, "default")
1934
+ w(o.$slots, "default")
1935
1935
  ]),
1936
1936
  _: 3
1937
1937
  }, 8, ["name"]));
@@ -1939,7 +1939,7 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
1939
1939
  }), Qo = ["data-id"], en = ["onClick"], tn = ["innerHTML"], on = ["innerHTML"], nn = {
1940
1940
  key: 0,
1941
1941
  class: "d-notification-title"
1942
- }, sn = { class: "notification-content" }, Wn = {
1942
+ }, sn = { class: "notification-content" }, Qn = {
1943
1943
  __name: "DNotificationProvider",
1944
1944
  props: {
1945
1945
  group: {
@@ -2008,110 +2008,110 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
2008
2008
  }
2009
2009
  },
2010
2010
  emits: ["click", "destroy", "start"],
2011
- setup(e, { emit: o }) {
2012
- const t = e, n = {
2011
+ setup(e, { emit: t }) {
2012
+ const o = e, n = {
2013
2013
  IDLE: 0,
2014
2014
  DESTROYED: 2
2015
- }, s = w([]), a = w(null), l = w(jo.get("velocity")), r = f(() => t.animationType === "velocity"), i = f(() => r.value ? Ko : Jo), c = f(() => s.value.filter((p) => p.state !== n.DESTROYED)), u = f(() => qo(t.width)), h = f(() => {
2016
- const { x: p, y: z } = Zo(t.position), T = u.value.value, se = u.value.type, le = {
2015
+ }, s = S([]), a = S(null), l = S(jo.get("velocity")), r = p(() => o.animationType === "velocity"), i = p(() => r.value ? Ko : Jo), c = p(() => s.value.filter((f) => f.state !== n.DESTROYED)), u = p(() => Uo(o.width)), h = p(() => {
2016
+ const { x: f, y: V } = Zo(o.position), T = u.value.value, se = u.value.type, le = {
2017
2017
  width: T + se
2018
2018
  };
2019
- return z && (le[z] = "0px"), p && (p === "center" ? le.left = `calc(50% - ${+T / 2}${se})` : le[p] = "0px"), le;
2020
- }), b = f(() => "bottom" in h.value), C = (p) => {
2021
- o("click", p), t.closeOnClick && L(p);
2022
- }, M = () => {
2023
- var p;
2024
- t.pauseOnHover && ((p = a.value) == null || p.pause());
2019
+ return V && (le[V] = "0px"), f && (f === "center" ? le.left = `calc(50% - ${+T / 2}${se})` : le[f] = "0px"), le;
2020
+ }), b = p(() => "bottom" in h.value), C = (f) => {
2021
+ t("click", f), o.closeOnClick && L(f);
2022
+ }, N = () => {
2023
+ var f;
2024
+ o.pauseOnHover && ((f = a.value) == null || f.pause());
2025
2025
  }, $ = () => {
2026
- var p;
2027
- t.pauseOnHover && ((p = a.value) == null || p.resume());
2028
- }, R = (p) => {
2029
- if (p.group || (p.group = ""), p.data || (p.data = {}), t.group !== p.group)
2026
+ var f;
2027
+ o.pauseOnHover && ((f = a.value) == null || f.resume());
2028
+ }, z = (f) => {
2029
+ if (f.group || (f.group = ""), f.data || (f.data = {}), o.group !== f.group)
2030
2030
  return;
2031
- if (p.clean || p.clear) {
2031
+ if (f.clean || f.clear) {
2032
2032
  B();
2033
2033
  return;
2034
2034
  }
2035
- const z = typeof p.duration == "number" ? p.duration : t.duration, T = typeof p.speed == "number" ? p.speed : t.speed, se = typeof p.ignoreDuplicates == "boolean" ? p.ignoreDuplicates : t.ignoreDuplicates, { title: le, text: Je, type: Qe, data: et, id: tt } = p, ae = {
2036
- id: tt || Go(),
2035
+ const V = typeof f.duration == "number" ? f.duration : o.duration, T = typeof f.speed == "number" ? f.speed : o.speed, se = typeof f.ignoreDuplicates == "boolean" ? f.ignoreDuplicates : o.ignoreDuplicates, { title: le, text: Je, type: Qe, data: et, id: tt } = f, ae = {
2036
+ id: tt || qo(),
2037
2037
  title: le,
2038
2038
  text: Je,
2039
2039
  type: Qe,
2040
2040
  state: n.IDLE,
2041
2041
  speed: T,
2042
- length: z + 2 * T,
2042
+ length: V + 2 * T,
2043
2043
  data: et
2044
2044
  };
2045
- z >= 0 && (a.value = new Xo(() => L(ae), ae.length, ae));
2046
- const ot = t.reverse ? !b.value : b.value;
2047
- let fe = -1;
2048
- const nt = c.value.some((Le) => Le.title === p.title && Le.text === p.text);
2049
- (!se || !nt) && (ot ? (s.value.push(ae), o("start", ae), c.value.length > t.max && (fe = 0)) : (s.value.unshift(ae), o("start", ae), c.value.length > t.max && (fe = c.value.length - 1)), fe !== -1 && L(c.value[fe]));
2050
- }, X = (p) => {
2051
- y(p);
2052
- }, A = (p) => [
2045
+ V >= 0 && (a.value = new Xo(() => L(ae), ae.length, ae));
2046
+ const ot = o.reverse ? !b.value : b.value;
2047
+ let pe = -1;
2048
+ const nt = c.value.some((Le) => Le.title === f.title && Le.text === f.text);
2049
+ (!se || !nt) && (ot ? (s.value.push(ae), t("start", ae), c.value.length > o.max && (pe = 0)) : (s.value.unshift(ae), t("start", ae), c.value.length > o.max && (pe = c.value.length - 1)), pe !== -1 && L(c.value[pe]));
2050
+ }, X = (f) => {
2051
+ y(f);
2052
+ }, H = (f) => [
2053
2053
  "d-notification-template",
2054
- t.classes,
2055
- p.type || ""
2056
- ], J = (p) => r.value ? void 0 : { transition: `all ${p.speed}ms` }, L = (p) => {
2057
- clearTimeout(p.timer), p.state = n.DESTROYED, V(), o("destroy", p);
2058
- }, y = (p) => {
2059
- const z = s.value.find((T) => T.id === p);
2060
- z && L(z);
2054
+ o.classes,
2055
+ f.type || ""
2056
+ ], J = (f) => r.value ? void 0 : { transition: `all ${f.speed}ms` }, L = (f) => {
2057
+ clearTimeout(f.timer), f.state = n.DESTROYED, A(), t("destroy", f);
2058
+ }, y = (f) => {
2059
+ const V = s.value.find((T) => T.id === f);
2060
+ V && L(V);
2061
2061
  }, B = () => {
2062
2062
  c.value.forEach(L);
2063
- }, W = (p, z) => {
2063
+ }, F = (f, V) => {
2064
2064
  var se;
2065
- const T = (se = t.animation) == null ? void 0 : se[p];
2066
- return typeof T == "function" ? T(z) : T;
2067
- }, F = (p, z) => {
2065
+ const T = (se = o.animation) == null ? void 0 : se[f];
2066
+ return typeof T == "function" ? T(V) : T;
2067
+ }, W = (f, V) => {
2068
2068
  if (!r.value)
2069
2069
  return;
2070
- const T = W("enter", p);
2071
- l.value(p, T, {
2072
- duration: t.speed,
2073
- complete: z
2070
+ const T = F("enter", f);
2071
+ l.value(f, T, {
2072
+ duration: o.speed,
2073
+ complete: V
2074
2074
  });
2075
- }, v = (p, z) => {
2075
+ }, v = (f, V) => {
2076
2076
  if (!r.value)
2077
2077
  return;
2078
- const T = W("leave", p);
2079
- l.value(p, T, {
2080
- duration: t.speed,
2081
- complete: z
2078
+ const T = F("leave", f);
2079
+ l.value(f, T, {
2080
+ duration: o.speed,
2081
+ complete: V
2082
2082
  });
2083
2083
  };
2084
- function V() {
2085
- s.value = s.value.filter((p) => p.state !== n.DESTROYED);
2084
+ function A() {
2085
+ s.value = s.value.filter((f) => f.state !== n.DESTROYED);
2086
2086
  }
2087
2087
  return ue(() => {
2088
- j.on("notification-add", R), j.on("notification-close", X);
2089
- }), (p, z) => (d(), m("div", {
2088
+ j.on("notification-add", z), j.on("notification-close", X);
2089
+ }), (f, V) => (d(), m("div", {
2090
2090
  class: "d-notification-group",
2091
- style: O(h.value)
2091
+ style: R(h.value)
2092
2092
  }, [
2093
2093
  (d(), _(P(i.value), {
2094
2094
  name: e.animationName,
2095
- onEnter: F,
2095
+ onEnter: W,
2096
2096
  onLeave: v,
2097
- onAfterLeave: V
2097
+ onAfterLeave: A
2098
2098
  }, {
2099
2099
  default: D(() => [
2100
- (d(!0), m(te, null, pe(c.value, (T) => (d(), m("div", {
2100
+ (d(!0), m(te, null, fe(c.value, (T) => (d(), m("div", {
2101
2101
  key: T.id,
2102
2102
  class: "d-notification-wrapper",
2103
- style: O(J(T)),
2103
+ style: R(J(T)),
2104
2104
  "data-id": T.id,
2105
- onMouseenter: M,
2105
+ onMouseenter: N,
2106
2106
  onMouseleave: $
2107
2107
  }, [
2108
- S(p.$slots, "body", {
2108
+ w(f.$slots, "body", {
2109
2109
  class: E([e.classes, T.type]),
2110
2110
  item: T,
2111
2111
  close: () => L(T)
2112
2112
  }, () => [
2113
2113
  x("div", {
2114
- class: E(A(T)),
2114
+ class: E(H(T)),
2115
2115
  onClick: (se) => C(T)
2116
2116
  }, [
2117
2117
  e.dangerouslySetInnerHtml ? (d(), m(te, { key: 0 }, [
@@ -2125,8 +2125,8 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
2125
2125
  innerHTML: T.text
2126
2126
  }, null, 8, on)
2127
2127
  ], 64)) : (d(), m(te, { key: 1 }, [
2128
- T.title ? (d(), m("div", nn, N(T.title), 1)) : k("", !0),
2129
- x("div", sn, N(T.text), 1)
2128
+ T.title ? (d(), m("div", nn, M(T.title), 1)) : k("", !0),
2129
+ x("div", sn, M(T.text), 1)
2130
2130
  ], 64))
2131
2131
  ], 10, en)
2132
2132
  ])
@@ -2136,7 +2136,7 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
2136
2136
  }, 40, ["name"]))
2137
2137
  ], 4));
2138
2138
  }
2139
- }, an = { class: "d-info-progress-icon-container" }, ln = { class: "d-info-progress-icon" }, rn = { class: "d-info-progress-data-container" }, dn = ["innerHTML"], Fn = {
2139
+ }, an = { class: "d-info-progress-icon-container" }, ln = { class: "d-info-progress-icon" }, rn = { class: "d-info-progress-data-container" }, dn = ["innerHTML"], es = {
2140
2140
  __name: "DInfoProgress",
2141
2141
  props: {
2142
2142
  style: [String, Object],
@@ -2146,18 +2146,18 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
2146
2146
  type: String
2147
2147
  },
2148
2148
  emits: ["click"],
2149
- setup(e, { emit: o }) {
2150
- const t = e, n = f(() => t.icon ? Z.getters.getIcon(t.icon) : null);
2149
+ setup(e, { emit: t }) {
2150
+ const o = e, n = p(() => o.icon ? Z.getters.getIcon(o.icon) : null);
2151
2151
  return (s, a) => (d(), m("div", {
2152
- class: E(["d-info-progress", t.type ? `d-info-progress-${t.type}` : null]),
2153
- style: O(t.style),
2152
+ class: E(["d-info-progress", o.type ? `d-info-progress-${o.type}` : null]),
2153
+ style: R(o.style),
2154
2154
  onClick: a[0] || (a[0] = (l) => {
2155
- o("click", l);
2155
+ t("click", l);
2156
2156
  })
2157
2157
  }, [
2158
2158
  x("div", an, [
2159
2159
  x("div", ln, [
2160
- t.icon ? (d(), _(P(ce), {
2160
+ o.icon ? (d(), _(P(ce), {
2161
2161
  key: 0,
2162
2162
  component: n.value,
2163
2163
  color: "inherit",
@@ -2168,7 +2168,7 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
2168
2168
  x("div", rn, [
2169
2169
  x("div", {
2170
2170
  class: "d-info-progress-line",
2171
- style: O("width: " + t.progress + "%;")
2171
+ style: R("width: " + o.progress + "%;")
2172
2172
  }, null, 4),
2173
2173
  x("div", {
2174
2174
  class: "d-info-progress-label",
@@ -2177,7 +2177,7 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
2177
2177
  ])
2178
2178
  ], 6));
2179
2179
  }
2180
- }, cn = { class: "d-checkbox" }, un = ["id", "checked", "disabled"], pn = ["for"], Pn = {
2180
+ }, cn = { class: "d-checkbox" }, un = ["id", "checked", "disabled"], fn = ["for"], ts = {
2181
2181
  __name: "DCheckbox",
2182
2182
  props: {
2183
2183
  label: String,
@@ -2190,11 +2190,11 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
2190
2190
  checked: Boolean
2191
2191
  },
2192
2192
  emits: ["update:modelValue"],
2193
- setup(e, { emit: o }) {
2194
- const t = e, s = Re().uid, a = f({
2195
- get: () => t.modelValue,
2193
+ setup(e, { emit: t }) {
2194
+ const o = e, s = ze().uid, a = p({
2195
+ get: () => o.modelValue,
2196
2196
  set: (l) => {
2197
- o("update:modelValue", l);
2197
+ t("update:modelValue", l);
2198
2198
  }
2199
2199
  });
2200
2200
  return (l, r) => (d(), m("div", cn, [
@@ -2202,33 +2202,33 @@ const xe = "[-+]?[0-9]*.?[0-9]+", Be = [
2202
2202
  "onUpdate:modelValue": r[0] || (r[0] = (i) => a.value = i),
2203
2203
  id: `i-${I(s)}`,
2204
2204
  type: "checkbox",
2205
- checked: t.checked,
2206
- disabled: t.disabled,
2207
- onChange: r[1] || (r[1] = (...i) => t.change && t.change(...i))
2205
+ checked: o.checked,
2206
+ disabled: o.disabled,
2207
+ onChange: r[1] || (r[1] = (...i) => o.change && o.change(...i))
2208
2208
  }, null, 40, un), [
2209
- [pt, a.value]
2209
+ [ft, a.value]
2210
2210
  ]),
2211
2211
  x("label", {
2212
2212
  for: `i-${I(s)}`
2213
- }, N(t.label), 9, pn)
2213
+ }, M(o.label), 9, fn)
2214
2214
  ]));
2215
2215
  }
2216
2216
  };
2217
- async function fn(e, o) {
2218
- return await qe(No, { title: e, message: o });
2217
+ async function pn(e, t) {
2218
+ return await Ue(Mo, { title: e, message: t });
2219
2219
  }
2220
- async function mn(e, o) {
2221
- return await qe(Bo, { title: e, message: o });
2220
+ async function mn(e, t) {
2221
+ return await Ue(Bo, { title: e, message: t });
2222
2222
  }
2223
- const jn = {
2223
+ const os = {
2224
2224
  __name: "DDialogProvider",
2225
2225
  setup(e) {
2226
- return window.alert = mn, window.confirm = fn, (o, t) => (d(), _(I(Lo)));
2226
+ return window.alert = mn, window.confirm = pn, (t, o) => (d(), _(I(Lo)));
2227
2227
  }
2228
2228
  }, hn = { class: "d-select" }, gn = {
2229
2229
  key: 0,
2230
2230
  class: "label"
2231
- }, vn = ["value", "selected", "disabled"], Xn = {
2231
+ }, vn = ["value", "selected", "disabled"], ns = {
2232
2232
  __name: "DSelect",
2233
2233
  props: {
2234
2234
  label: String,
@@ -2239,33 +2239,33 @@ const jn = {
2239
2239
  // small, larger
2240
2240
  },
2241
2241
  emits: ["update:modelValue"],
2242
- setup(e, { emit: o }) {
2243
- const t = e, n = f(() => t.scale ? "d-select-" + t.scale : ""), s = f({
2244
- get: () => t.modelValue,
2242
+ setup(e, { emit: t }) {
2243
+ const o = e, n = p(() => o.scale ? "d-select-" + o.scale : ""), s = p({
2244
+ get: () => o.modelValue,
2245
2245
  set: (a) => {
2246
- o("update:modelValue", a);
2246
+ t("update:modelValue", a);
2247
2247
  }
2248
2248
  });
2249
- for (let a = 0; a < t.options.length; a++)
2250
- if (t.options[a].selected) {
2251
- s.value = t.options[a].value;
2249
+ for (let a = 0; a < o.options.length; a++)
2250
+ if (o.options[a].selected) {
2251
+ s.value = o.options[a].value;
2252
2252
  break;
2253
2253
  }
2254
2254
  return (a, l) => (d(), m("div", hn, [
2255
- t.label ? (d(), m("div", gn, N(t.label), 1)) : k("", !0),
2255
+ o.label ? (d(), m("div", gn, M(o.label), 1)) : k("", !0),
2256
2256
  oe(x("select", {
2257
2257
  "onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
2258
2258
  class: E(n.value),
2259
- style: O(t.size === "wide" ? "width:100%" : "")
2259
+ style: R(o.size === "wide" ? "width:100%" : "")
2260
2260
  }, [
2261
- (d(!0), m(te, null, pe(t.options, (r, i) => (d(), m("option", {
2261
+ (d(!0), m(te, null, fe(o.options, (r, i) => (d(), m("option", {
2262
2262
  key: i,
2263
2263
  value: r.value,
2264
2264
  selected: r.selected,
2265
2265
  disabled: r.disabled
2266
- }, N(r.label), 9, vn))), 128))
2266
+ }, M(r.label), 9, vn))), 128))
2267
2267
  ], 6), [
2268
- [ft, s.value]
2268
+ [pt, s.value]
2269
2269
  ])
2270
2270
  ]));
2271
2271
  }
@@ -2276,23 +2276,23 @@ const yn = { class: "d-tabs" }, _n = ["onClick"], bn = {
2276
2276
  tabs: Array
2277
2277
  },
2278
2278
  setup(e) {
2279
- const t = mt(e, "tabs"), n = w(0), s = (a) => {
2279
+ const o = mt(e, "tabs"), n = S(0), s = (a) => {
2280
2280
  n.value = a;
2281
2281
  };
2282
2282
  return (a, l) => (d(), m(te, null, [
2283
2283
  x("div", yn, [
2284
- (d(!0), m(te, null, pe(t.value, (r, i) => (d(), m("div", {
2284
+ (d(!0), m(te, null, fe(o.value, (r, i) => (d(), m("div", {
2285
2285
  key: i,
2286
2286
  class: E([i === n.value ? "active" : "", "d-tab-title"]),
2287
2287
  onClick: (c) => s(i)
2288
- }, N(r.label), 11, _n))), 128))
2288
+ }, M(r.label), 11, _n))), 128))
2289
2289
  ]),
2290
2290
  (d(), _(ht, null, [
2291
- (d(), _(P(t.value[n.value].component)))
2291
+ (d(), _(P(o.value[n.value].component)))
2292
2292
  ], 1024))
2293
2293
  ], 64));
2294
2294
  }
2295
- }, Yn = /* @__PURE__ */ K(bn, [["__scopeId", "data-v-89cd9234"]]);
2295
+ }, ss = /* @__PURE__ */ K(bn, [["__scopeId", "data-v-89cd9234"]]);
2296
2296
  const xn = { class: "d-grid" }, $n = {
2297
2297
  __name: "DGrid",
2298
2298
  props: {
@@ -2311,7 +2311,7 @@ const xn = { class: "d-grid" }, $n = {
2311
2311
  colXxl: String
2312
2312
  },
2313
2313
  setup(e) {
2314
- const o = e;
2314
+ const t = e;
2315
2315
  _e((u) => ({
2316
2316
  "09eba472": i[0],
2317
2317
  "09eba434": i[1],
@@ -2319,17 +2319,17 @@ const xn = { class: "d-grid" }, $n = {
2319
2319
  "09eba3b8": i[3],
2320
2320
  "09eba37a": i[4],
2321
2321
  "09eba33c": i[5],
2322
- "898eb2ac": o.gap
2322
+ "898eb2ac": t.gap
2323
2323
  }));
2324
- const { colXs: t, colSm: n, colMd: s, colLg: a, colXl: l, colXxl: r } = gt(o), i = [t.value, n.value, s.value, a.value, l.value, r.value];
2324
+ const { colXs: o, colSm: n, colMd: s, colLg: a, colXl: l, colXxl: r } = gt(t), i = [o.value, n.value, s.value, a.value, l.value, r.value];
2325
2325
  let c = null;
2326
2326
  for (let u = 0; u < i.length; u++)
2327
2327
  c || (c = i[0]), u > 0 && (i[u] ? c = i[u] : i[u] = c);
2328
2328
  return (u, h) => (d(), m("div", xn, [
2329
- S(u.$slots, "default", {}, void 0, !0)
2329
+ w(u.$slots, "default", {}, void 0, !0)
2330
2330
  ]));
2331
2331
  }
2332
- }, qn = /* @__PURE__ */ K($n, [["__scopeId", "data-v-b45e8130"]]), kn = ["src", "alt", "title"], Gn = {
2332
+ }, as = /* @__PURE__ */ K($n, [["__scopeId", "data-v-b45e8130"]]), kn = ["src", "alt", "title"], is = {
2333
2333
  __name: "DImage",
2334
2334
  props: {
2335
2335
  src: String,
@@ -2341,23 +2341,23 @@ const xn = { class: "d-grid" }, $n = {
2341
2341
  radius: String
2342
2342
  },
2343
2343
  setup(e) {
2344
- const o = e, t = w(null), n = new Image();
2344
+ const t = e, o = S(null), n = new Image();
2345
2345
  return n.onload = () => {
2346
- t.value = n.src;
2346
+ o.value = n.src;
2347
2347
  }, n.onerror = () => {
2348
- t.value = o.srcFail;
2348
+ o.value = t.srcFail;
2349
2349
  }, ue(() => {
2350
- n.src = o.src;
2351
- }), (s, a) => t.value ? (d(), m("img", {
2350
+ n.src = t.src;
2351
+ }), (s, a) => o.value ? (d(), m("img", {
2352
2352
  key: 0,
2353
- src: t.value,
2354
- alt: o.alt,
2355
- title: o.title,
2356
- style: O({ width: o.width, height: o.height, borderRadius: o.radius })
2353
+ src: o.value,
2354
+ alt: t.alt,
2355
+ title: t.title,
2356
+ style: R({ width: t.width, height: t.height, borderRadius: t.radius })
2357
2357
  }, null, 12, kn)) : k("", !0);
2358
2358
  }
2359
2359
  };
2360
- const Sn = { class: "d-textarea" }, wn = {
2360
+ const wn = { class: "d-textarea" }, Sn = {
2361
2361
  key: 0,
2362
2362
  class: "label"
2363
2363
  }, Tn = ["rows", "cols", "placeholder"], Dn = {
@@ -2379,11 +2379,11 @@ const Sn = { class: "d-textarea" }, wn = {
2379
2379
  focus: Boolean
2380
2380
  },
2381
2381
  emits: ["update:modelValue"],
2382
- setup(e, { expose: o, emit: t }) {
2383
- const n = e, s = w(null), a = f(() => n.scale === "small" ? "d-textarea-small" : n.scale === "large" ? "d-textarea-large" : ""), l = f({
2382
+ setup(e, { expose: t, emit: o }) {
2383
+ const n = e, s = S(null), a = p(() => n.scale === "small" ? "d-textarea-small" : n.scale === "large" ? "d-textarea-large" : ""), l = p({
2384
2384
  get: () => n.modelValue,
2385
2385
  set: (i) => {
2386
- t("update:modelValue", i);
2386
+ o("update:modelValue", i);
2387
2387
  }
2388
2388
  });
2389
2389
  ue(() => {
@@ -2392,10 +2392,10 @@ const Sn = { class: "d-textarea" }, wn = {
2392
2392
  const r = () => {
2393
2393
  s.value.focus();
2394
2394
  };
2395
- return o({
2395
+ return t({
2396
2396
  focus: r
2397
- }), (i, c) => (d(), m("div", Sn, [
2398
- n.label ? (d(), m("div", wn, N(n.label), 1)) : k("", !0),
2397
+ }), (i, c) => (d(), m("div", wn, [
2398
+ n.label ? (d(), m("div", Sn, M(n.label), 1)) : k("", !0),
2399
2399
  oe(x("textarea", {
2400
2400
  ref_key: "inputRef",
2401
2401
  ref: s,
@@ -2410,36 +2410,48 @@ const Sn = { class: "d-textarea" }, wn = {
2410
2410
  ])
2411
2411
  ]));
2412
2412
  }
2413
- }, Un = /* @__PURE__ */ K(Dn, [["__scopeId", "data-v-0e805d5d"]]), Ge = (e) => {
2413
+ }, ls = /* @__PURE__ */ K(Dn, [["__scopeId", "data-v-0e805d5d"]]);
2414
+ class rs {
2415
+ constructor(t) {
2416
+ this.fields = t;
2417
+ }
2418
+ validate() {
2419
+ let t = !1;
2420
+ for (let o in this.fields)
2421
+ this.fields[o].ref.value.validate() === !0 && (t = !0);
2422
+ return !t;
2423
+ }
2424
+ }
2425
+ const qe = (e) => {
2414
2426
  typeof e == "string" && (e = { title: "", text: e }), typeof e == "object" && j.emit("notification-add", e);
2415
2427
  };
2416
- Ge.close = (e) => {
2428
+ qe.close = (e) => {
2417
2429
  j.emit("notification-close", e);
2418
2430
  };
2419
- const Zn = () => ({ notify: Ge }), Kn = {
2420
- mounted: function(e, o) {
2421
- e.clickOutsideEvent = function(t) {
2422
- e === t.target || e.contains(t.target) || o.value(t, e);
2431
+ const ds = () => ({ notify: qe }), cs = {
2432
+ mounted: function(e, t) {
2433
+ e.clickOutsideEvent = function(o) {
2434
+ e === o.target || e.contains(o.target) || t.value(o, e);
2423
2435
  }, document.addEventListener("click", e.clickOutsideEvent);
2424
2436
  },
2425
2437
  unmounted: function(e) {
2426
2438
  document.removeEventListener("click", e.clickOutsideEvent);
2427
2439
  }
2428
- }, Jn = {
2429
- beforeMount(e, o) {
2430
- e._keydownCallback = (t) => {
2431
- t.key === o.arg && o.value();
2440
+ }, us = {
2441
+ beforeMount(e, t) {
2442
+ e._keydownCallback = (o) => {
2443
+ o.key === t.arg && t.value();
2432
2444
  }, document.addEventListener("keydown", e._keydownCallback);
2433
2445
  },
2434
- unmounted(e, o) {
2446
+ unmounted(e, t) {
2435
2447
  document.removeEventListener("keydown", e._keydownCallback), delete e._keydownCallback;
2436
2448
  }
2437
- }, Qn = {
2449
+ }, fs = {
2438
2450
  beforeMount(e) {
2439
2451
  e.focus();
2440
2452
  }
2441
2453
  };
2442
- function Ue(e) {
2454
+ function Ge(e) {
2443
2455
  return e.type.indexOf("mouse") !== -1 ? e.clientX : e.touches[0].clientX;
2444
2456
  }
2445
2457
  function Ze(e) {
@@ -2448,12 +2460,12 @@ function Ze(e) {
2448
2460
  var Cn = function() {
2449
2461
  var e = !1;
2450
2462
  try {
2451
- var o = Object.defineProperty({}, "passive", {
2463
+ var t = Object.defineProperty({}, "passive", {
2452
2464
  get: function() {
2453
2465
  e = !0;
2454
2466
  }
2455
2467
  });
2456
- window.addEventListener("test", null, o);
2468
+ window.addEventListener("test", null, t);
2457
2469
  } catch {
2458
2470
  }
2459
2471
  return e;
@@ -2474,65 +2486,65 @@ var Cn = function() {
2474
2486
  // ms
2475
2487
  };
2476
2488
  function me(e) {
2477
- var o = this.$$touchObj, t = e.type.indexOf("touch") >= 0, n = e.type.indexOf("mouse") >= 0, s = this;
2478
- t && (o.lastTouchStartTime = e.timeStamp), !(n && o.lastTouchStartTime && e.timeStamp - o.lastTouchStartTime < 350) && (o.touchStarted || (Ke(this), o.touchStarted = !0, o.touchMoved = !1, o.swipeOutBounded = !1, o.startX = Ue(e), o.startY = Ze(e), o.currentX = 0, o.currentY = 0, o.touchStartTime = e.timeStamp, o.hasSwipe = Y(this, "swipe") || Y(this, "swipe.left") || Y(this, "swipe.right") || Y(this, "swipe.top") || Y(this, "swipe.bottom"), Y(this, "hold") && (o.touchHoldTimer = setTimeout(function() {
2479
- o.touchHoldTimer = null, G(e, s, "hold");
2480
- }, o.options.touchHoldTolerance)), G(e, this, "press")));
2489
+ var t = this.$$touchObj, o = e.type.indexOf("touch") >= 0, n = e.type.indexOf("mouse") >= 0, s = this;
2490
+ o && (t.lastTouchStartTime = e.timeStamp), !(n && t.lastTouchStartTime && e.timeStamp - t.lastTouchStartTime < 350) && (t.touchStarted || (Ke(this), t.touchStarted = !0, t.touchMoved = !1, t.swipeOutBounded = !1, t.startX = Ge(e), t.startY = Ze(e), t.currentX = 0, t.currentY = 0, t.touchStartTime = e.timeStamp, t.hasSwipe = Y(this, "swipe") || Y(this, "swipe.left") || Y(this, "swipe.right") || Y(this, "swipe.top") || Y(this, "swipe.bottom"), Y(this, "hold") && (t.touchHoldTimer = setTimeout(function() {
2491
+ t.touchHoldTimer = null, q(e, s, "hold");
2492
+ }, t.options.touchHoldTolerance)), q(e, this, "press")));
2481
2493
  }
2482
2494
  function he(e) {
2483
- var o = this.$$touchObj, t = Ue(e), n = Ze(e), s = o.currentX != t || o.currentY != n;
2484
- if (o.currentX = t, o.currentY = n, o.touchMoved) {
2485
- if (o.hasSwipe && !o.swipeOutBounded) {
2486
- var l = o.options.swipeTolerance;
2487
- o.swipeOutBounded = Math.abs(o.startX - o.currentX) > l && Math.abs(o.startY - o.currentY) > l;
2495
+ var t = this.$$touchObj, o = Ge(e), n = Ze(e), s = t.currentX != o || t.currentY != n;
2496
+ if (t.currentX = o, t.currentY = n, t.touchMoved) {
2497
+ if (t.hasSwipe && !t.swipeOutBounded) {
2498
+ var l = t.options.swipeTolerance;
2499
+ t.swipeOutBounded = Math.abs(t.startX - t.currentX) > l && Math.abs(t.startY - t.currentY) > l;
2488
2500
  }
2489
2501
  } else {
2490
- var a = o.options.tapTolerance;
2491
- o.touchMoved = Math.abs(o.startX - o.currentX) > a || Math.abs(o.startY - o.currentY) > a, o.touchMoved && (Ie(o), G(e, this, "drag.once"));
2502
+ var a = t.options.tapTolerance;
2503
+ t.touchMoved = Math.abs(t.startX - t.currentX) > a || Math.abs(t.startY - t.currentY) > a, t.touchMoved && (Ie(t), q(e, this, "drag.once"));
2492
2504
  }
2493
2505
  if (Y(this, "rollover") && s) {
2494
- var r = e.timeStamp, i = o.options.rollOverFrequency;
2495
- (o.touchRollTime == null || r > o.touchRollTime + i) && (o.touchRollTime = r, G(e, this, "rollover"));
2506
+ var r = e.timeStamp, i = t.options.rollOverFrequency;
2507
+ (t.touchRollTime == null || r > t.touchRollTime + i) && (t.touchRollTime = r, q(e, this, "rollover"));
2496
2508
  }
2497
- if (Y(this, "drag") && o.touchStarted && o.touchMoved && s) {
2498
- var r = e.timeStamp, i = o.options.dragFrequency;
2499
- (o.touchDragTime == null || r > o.touchDragTime + i) && (o.touchDragTime = r, G(e, this, "drag"));
2509
+ if (Y(this, "drag") && t.touchStarted && t.touchMoved && s) {
2510
+ var r = e.timeStamp, i = t.options.dragFrequency;
2511
+ (t.touchDragTime == null || r > t.touchDragTime + i) && (t.touchDragTime = r, q(e, this, "drag"));
2500
2512
  }
2501
2513
  }
2502
- function Ne() {
2514
+ function Me() {
2503
2515
  var e = this.$$touchObj;
2504
2516
  Ie(e), Ce(this), e.touchStarted = e.touchMoved = !1, e.startX = e.startY = 0;
2505
2517
  }
2506
2518
  function ge(e) {
2507
- var o = this.$$touchObj, t = e.type.indexOf("touch") >= 0, n = e.type.indexOf("mouse") >= 0;
2508
- t && (o.lastTouchEndTime = e.timeStamp);
2509
- var s = t && !o.touchHoldTimer;
2510
- if (Ie(o), o.touchStarted = !1, Ce(this), !(n && o.lastTouchEndTime && e.timeStamp - o.lastTouchEndTime < 350))
2511
- if (G(e, this, "release"), o.touchMoved) {
2512
- if (o.hasSwipe && !o.swipeOutBounded) {
2513
- var a = o.options.swipeTolerance, l, r = Math.abs(o.startY - o.currentY), i = Math.abs(o.startX - o.currentX);
2514
- (r > a || i > a) && (r > a ? l = o.startY > o.currentY ? "top" : "bottom" : l = o.startX > o.currentX ? "left" : "right", Y(this, "swipe." + l) ? G(e, this, "swipe." + l, l) : G(e, this, "swipe", l));
2519
+ var t = this.$$touchObj, o = e.type.indexOf("touch") >= 0, n = e.type.indexOf("mouse") >= 0;
2520
+ o && (t.lastTouchEndTime = e.timeStamp);
2521
+ var s = o && !t.touchHoldTimer;
2522
+ if (Ie(t), t.touchStarted = !1, Ce(this), !(n && t.lastTouchEndTime && e.timeStamp - t.lastTouchEndTime < 350))
2523
+ if (q(e, this, "release"), t.touchMoved) {
2524
+ if (t.hasSwipe && !t.swipeOutBounded) {
2525
+ var a = t.options.swipeTolerance, l, r = Math.abs(t.startY - t.currentY), i = Math.abs(t.startX - t.currentX);
2526
+ (r > a || i > a) && (r > a ? l = t.startY > t.currentY ? "top" : "bottom" : l = t.startX > t.currentX ? "left" : "right", Y(this, "swipe." + l) ? q(e, this, "swipe." + l, l) : q(e, this, "swipe", l));
2515
2527
  }
2516
- } else if (Y(this, "longtap") && e.timeStamp - o.touchStartTime > o.options.longTapTimeInterval)
2517
- e.cancelable && e.preventDefault(), G(e, this, "longtap");
2528
+ } else if (Y(this, "longtap") && e.timeStamp - t.touchStartTime > t.options.longTapTimeInterval)
2529
+ e.cancelable && e.preventDefault(), q(e, this, "longtap");
2518
2530
  else if (Y(this, "hold") && s) {
2519
2531
  e.cancelable && e.preventDefault();
2520
2532
  return;
2521
2533
  } else
2522
- G(e, this, "tap");
2534
+ q(e, this, "tap");
2523
2535
  }
2524
- function Oe() {
2536
+ function Re() {
2525
2537
  Ke(this);
2526
2538
  }
2527
- function He() {
2539
+ function Oe() {
2528
2540
  Ce(this);
2529
2541
  }
2530
- function Y(e, o) {
2531
- var t = e.$$touchObj.callbacks[o];
2532
- return t != null && t.length > 0;
2542
+ function Y(e, t) {
2543
+ var o = e.$$touchObj.callbacks[t];
2544
+ return o != null && o.length > 0;
2533
2545
  }
2534
- function G(e, o, t, n) {
2535
- var s = o.$$touchObj, a = s.callbacks[t];
2546
+ function q(e, t, o, n) {
2547
+ var s = t.$$touchObj, a = s.callbacks[o];
2536
2548
  if (a == null || a.length === 0)
2537
2549
  return null;
2538
2550
  for (var l = 0; l < a.length; l++) {
@@ -2541,18 +2553,18 @@ function G(e, o, t, n) {
2541
2553
  }
2542
2554
  }
2543
2555
  function Ke(e) {
2544
- var o = e.$$touchObj.options.touchClass;
2545
- o && e.classList.add(o);
2556
+ var t = e.$$touchObj.options.touchClass;
2557
+ t && e.classList.add(t);
2546
2558
  }
2547
2559
  function Ce(e) {
2548
- var o = e.$$touchObj.options.touchClass;
2549
- o && e.classList.remove(o);
2560
+ var t = e.$$touchObj.options.touchClass;
2561
+ t && e.classList.remove(t);
2550
2562
  }
2551
2563
  function Ie(e) {
2552
2564
  e.touchHoldTimer && (clearTimeout(e.touchHoldTimer), e.touchHoldTimer = null);
2553
2565
  }
2554
- function Ln(e, o) {
2555
- var t = e.$$touchObj || {
2566
+ function Ln(e, t) {
2567
+ var o = e.$$touchObj || {
2556
2568
  // an object contains all callbacks registered,
2557
2569
  // key is event name, value is an array
2558
2570
  callbacks: {},
@@ -2561,86 +2573,162 @@ function Ln(e, o) {
2561
2573
  // default options, would be override by v-touch-options
2562
2574
  options: In
2563
2575
  };
2564
- return o && (t.options = Object.assign({}, t.options, o)), e.$$touchObj = t, e.$$touchObj;
2576
+ return t && (o.options = Object.assign({}, o.options, t)), e.$$touchObj = o, e.$$touchObj;
2565
2577
  }
2566
- const es = {
2567
- beforeMount: function(e, o) {
2568
- const t = Ln(e);
2578
+ const ps = {
2579
+ beforeMount: function(e, t) {
2580
+ const o = Ln(e);
2569
2581
  let n = Cn ? { passive: !0 } : !1;
2570
- const s = o.arg || "tap";
2582
+ const s = t.arg || "tap";
2571
2583
  switch (s) {
2572
2584
  case "swipe":
2573
- let a = o.modifiers;
2585
+ let a = t.modifiers;
2574
2586
  if (a.left || a.right || a.top || a.bottom) {
2575
- for (let l in o.modifiers)
2587
+ for (let l in t.modifiers)
2576
2588
  if (["left", "right", "top", "bottom"].indexOf(l) >= 0) {
2577
2589
  let r = "swipe." + l;
2578
- t.callbacks[r] = t.callbacks[r] || [], t.callbacks[r].push(o);
2590
+ o.callbacks[r] = o.callbacks[r] || [], o.callbacks[r].push(t);
2579
2591
  }
2580
2592
  } else
2581
- t.callbacks.swipe = t.callbacks.swipe || [], t.callbacks.swipe.push(o);
2593
+ o.callbacks.swipe = o.callbacks.swipe || [], o.callbacks.swipe.push(t);
2582
2594
  break;
2583
2595
  case "press":
2584
2596
  case "drag":
2585
- o.modifiers.disablePassive && (n = !1);
2597
+ t.modifiers.disablePassive && (n = !1);
2586
2598
  default:
2587
- t.callbacks[s] = t.callbacks[s] || [], t.callbacks[s].push(o);
2599
+ o.callbacks[s] = o.callbacks[s] || [], o.callbacks[s].push(t);
2588
2600
  }
2589
- t.hasBindTouchEvents || (e.addEventListener("touchstart", me, n), e.addEventListener("touchmove", he, n), e.addEventListener("touchcancel", Ne), e.addEventListener("touchend", ge), t.options.disableClick || (e.addEventListener("mousedown", me), e.addEventListener("mousemove", he), e.addEventListener("mouseup", ge), e.addEventListener("mouseenter", Oe), e.addEventListener("mouseleave", He)), t.hasBindTouchEvents = !0);
2601
+ o.hasBindTouchEvents || (e.addEventListener("touchstart", me, n), e.addEventListener("touchmove", he, n), e.addEventListener("touchcancel", Me), e.addEventListener("touchend", ge), o.options.disableClick || (e.addEventListener("mousedown", me), e.addEventListener("mousemove", he), e.addEventListener("mouseup", ge), e.addEventListener("mouseenter", Re), e.addEventListener("mouseleave", Oe)), o.hasBindTouchEvents = !0);
2590
2602
  },
2591
2603
  unmounted: function(e) {
2592
- e.removeEventListener("touchstart", me), e.removeEventListener("touchmove", he), e.removeEventListener("touchcancel", Ne), e.removeEventListener("touchend", ge), e.$$touchObj && !e.$$touchObj.options.disableClick && (e.removeEventListener("mousedown", me), e.removeEventListener("mousemove", he), e.removeEventListener("mouseup", ge), e.removeEventListener("mouseenter", Oe), e.removeEventListener("mouseleave", He)), delete e.$$touchObj;
2604
+ e.removeEventListener("touchstart", me), e.removeEventListener("touchmove", he), e.removeEventListener("touchcancel", Me), e.removeEventListener("touchend", ge), e.$$touchObj && !e.$$touchObj.options.disableClick && (e.removeEventListener("mousedown", me), e.removeEventListener("mousemove", he), e.removeEventListener("mouseup", ge), e.removeEventListener("mouseenter", Re), e.removeEventListener("mouseleave", Oe)), delete e.$$touchObj;
2605
+ }
2606
+ };
2607
+ class En {
2608
+ validate(t, o = "https") {
2609
+ return this._isValidURL(t) || (t = o + "://" + t), this._isValidURL(t);
2610
+ }
2611
+ message(t, o) {
2612
+ let n = "";
2613
+ switch (t) {
2614
+ case "url":
2615
+ n = o;
2616
+ break;
2617
+ }
2618
+ return n;
2619
+ }
2620
+ _isValidURL(t) {
2621
+ try {
2622
+ return new URL(t), !0;
2623
+ } catch {
2624
+ return !1;
2625
+ }
2626
+ }
2627
+ }
2628
+ const Bn = new En();
2629
+ class Nn {
2630
+ validate(t = "") {
2631
+ return t !== "";
2632
+ }
2633
+ message(t) {
2634
+ return t;
2593
2635
  }
2636
+ }
2637
+ const Mn = new Nn();
2638
+ class Rn {
2639
+ validate(t = "", o = 0) {
2640
+ return t.length >= o;
2641
+ }
2642
+ message(t) {
2643
+ return t;
2644
+ }
2645
+ }
2646
+ const On = new Rn();
2647
+ class Hn {
2648
+ validate(t = "", o = 0) {
2649
+ return t.length <= o;
2650
+ }
2651
+ message(t) {
2652
+ return t;
2653
+ }
2654
+ }
2655
+ const An = new Hn();
2656
+ class Vn {
2657
+ validate(t) {
2658
+ return /^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(t);
2659
+ }
2660
+ message(t) {
2661
+ return t;
2662
+ }
2663
+ }
2664
+ const zn = new Vn();
2665
+ class Fn {
2666
+ validate(t) {
2667
+ return !isNaN(parseFloat(t)) && !isNaN(t - 0);
2668
+ }
2669
+ message(t) {
2670
+ return t;
2671
+ }
2672
+ }
2673
+ const Wn = new Fn(), ms = {
2674
+ RulesUrl: Bn,
2675
+ RulesRequired: Mn,
2676
+ RulesMin: On,
2677
+ RulesMax: An,
2678
+ RulesEmail: zn,
2679
+ RulesNumber: Wn
2594
2680
  };
2595
2681
  export {
2596
- Nn as DAccordion,
2682
+ Yn as DAccordion,
2597
2683
  Bo as DAlertDialog,
2598
- Rt as DBadge,
2684
+ zt as DBadge,
2599
2685
  ee as DButton,
2600
- Rn as DCard,
2601
- Pn as DCheckbox,
2602
- Wt as DCollapse,
2603
- Hn as DConfigProvider,
2604
- No as DConfirmDialog,
2686
+ Jn as DCard,
2687
+ ts as DCheckbox,
2688
+ Ft as DCollapse,
2689
+ qn as DConfigProvider,
2690
+ Mo as DConfirmDialog,
2605
2691
  lo as DContextMenu,
2606
- jn as DDialogProvider,
2692
+ os as DDialogProvider,
2607
2693
  jt as DDrag,
2608
2694
  io as DDrop,
2609
- zn as DDropdown,
2695
+ Kn as DDropdown,
2696
+ rs as DForm,
2610
2697
  de as DGlobalStore,
2611
- qn as DGrid,
2698
+ as as DGrid,
2612
2699
  ce as DIcon,
2613
2700
  Z as DIconStore,
2614
- Gn as DImage,
2615
- Fn as DInfoProgress,
2616
- Mn as DInput,
2617
- On as DLayoutAdmin,
2701
+ is as DImage,
2702
+ es as DInfoProgress,
2703
+ Xn as DInput,
2704
+ Un as DLayoutAdmin,
2618
2705
  mo as DLayoutContent,
2619
- po as DLayoutFooter,
2706
+ fo as DLayoutFooter,
2620
2707
  co as DLayoutHeader,
2621
- fo as DLayoutSidebar,
2708
+ po as DLayoutSidebar,
2622
2709
  uo as DLayoutTab,
2623
2710
  je as DMenu,
2624
2711
  Ye as DModal,
2625
- Wn as DNotificationProvider,
2626
- zo as DPanel,
2627
- Vn as DScroll,
2628
- An as DScrollProvider,
2629
- Xn as DSelect,
2630
- Yn as DTabs,
2631
- Un as DTextarea,
2712
+ Qn as DNotificationProvider,
2713
+ Vo as DPanel,
2714
+ Zn as DScroll,
2715
+ Gn as DScrollProvider,
2716
+ ns as DSelect,
2717
+ ss as DTabs,
2718
+ ls as DTextarea,
2632
2719
  ve as DTransferStore,
2633
2720
  Xe as DTree,
2634
2721
  so as DTreeItem,
2635
2722
  g as DTreeStore,
2723
+ ms as Rules,
2636
2724
  mn as alert,
2637
- Kn as clickOutside,
2638
- fn as confirm,
2725
+ cs as clickOutside,
2726
+ pn as confirm,
2639
2727
  j as emitter,
2640
2728
  ao as eventsBus,
2641
- Qn as focus,
2642
- Jn as keydown,
2643
- Ge as notify,
2644
- es as touch,
2645
- Zn as useNotification
2729
+ fs as focus,
2730
+ us as keydown,
2731
+ qe as notify,
2732
+ ps as touch,
2733
+ ds as useNotification
2646
2734
  };