doph-js 0.2.37 → 0.2.39

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
@@ -298,7 +298,7 @@ const Yt = {
298
298
  ])
299
299
  ])) : $("", !0);
300
300
  }
301
- }, ws = /* @__PURE__ */ le(ao, [["__scopeId", "data-v-a972038a"]]), io = {
301
+ }, Ss = /* @__PURE__ */ le(ao, [["__scopeId", "data-v-a972038a"]]), io = {
302
302
  __name: "DBadge",
303
303
  props: {
304
304
  scale: String,
@@ -476,24 +476,25 @@ const Yt = {
476
476
  }, 40, ["draggable"]));
477
477
  }
478
478
  };
479
- const po = (e) => (wt("data-v-d8c92d5e"), e = e(), St(), e), fo = {
479
+ const po = (e) => (wt("data-v-f1230613"), e = e(), St(), e), fo = {
480
480
  key: 0,
481
481
  style: { display: "none" }
482
482
  }, mo = { key: 1 }, ho = /* @__PURE__ */ po(() => /* @__PURE__ */ _("div", { class: "tree-divider" }, null, -1)), go = [
483
483
  ho
484
- ], vo = { key: 2 }, yo = { class: "tree-divider-header" }, _o = { class: "item-title" }, bo = {
484
+ ], vo = { key: 2 }, yo = { class: "tree-divider-header" }, _o = { key: 3 }, bo = { class: "item-title" }, xo = {
485
485
  key: 0,
486
486
  class: "tree-divider"
487
- }, xo = { key: 1 }, $o = { style: { display: "flex", "flex-direction": "row", "justify-content": "flex-end" } }, ko = {
487
+ }, $o = { key: 1 }, ko = { style: { display: "flex", "flex-direction": "row", "justify-content": "flex-end" } }, wo = {
488
488
  key: 0,
489
489
  class: "sub-menu"
490
- }, wo = {
490
+ }, So = {
491
491
  __name: "DTreeItem",
492
492
  props: {
493
493
  model: Object,
494
494
  treeId: [String, Number],
495
495
  items: Array,
496
- search: String
496
+ search: String,
497
+ component: Object
497
498
  },
498
499
  emits: ["nodedrop", "nodedragover", "nodedragleave", "nodeclick", "nodecontext"],
499
500
  setup(e, { emit: t }) {
@@ -538,8 +539,10 @@ const po = (e) => (wt("data-v-d8c92d5e"), e = e(), St(), e), fo = {
538
539
  const O = kt("d-tree-item", !0), W = Ne("touch");
539
540
  return M(v).actions.beforeItem(o.treeId, e.model) ? C.value && !E.value ? (d(), f("li", mo, go)) : C.value && E.value ? (d(), f("li", vo, [
540
541
  _("div", yo, A(M(v).actions.renderTitle(o.treeId, E.value)), 1)
542
+ ])) : o.model.component ? (d(), f("li", _o, [
543
+ (d(), x(X(o.model.component)))
541
544
  ])) : (d(), x(uo, {
542
- key: 3,
545
+ key: 4,
543
546
  tag: "li",
544
547
  class: "tree-item",
545
548
  "transfer-data": { id: o.treeId, model: o.model },
@@ -581,12 +584,12 @@ const po = (e) => (wt("data-v-d8c92d5e"), e = e(), St(), e), fo = {
581
584
  size: o.model.icons.icon.size ? o.model.icons.icon.size : null,
582
585
  className: o.model.icons.icon.class ? o.model.icons.icon.class : null
583
586
  }, null, 8, ["component", "color", "size", "className"])) : $("", !0),
584
- _("div", _o, [
585
- C.value ? (d(), f("div", bo)) : $("", !0),
586
- C.value ? $("", !0) : (d(), f("div", xo, A(M(v).actions.renderTitle(o.treeId, o.model.title)), 1))
587
+ _("div", bo, [
588
+ C.value ? (d(), f("div", xo)) : $("", !0),
589
+ C.value ? $("", !0) : (d(), f("div", $o, A(M(v).actions.renderTitle(o.treeId, o.model.title)), 1))
587
590
  ])
588
591
  ]),
589
- _("div", $o, [
592
+ _("div", ko, [
590
593
  ((P = o.model.badge) == null ? void 0 : P.value) !== void 0 && !C.value ? (d(), x(X(io), {
591
594
  key: 0,
592
595
  class: D([(g = o.model.badge) == null ? void 0 : g.class, "badge-sm"])
@@ -609,7 +612,7 @@ const po = (e) => (wt("data-v-d8c92d5e"), e = e(), St(), e), fo = {
609
612
  ]),
610
613
  oe(lo, null, {
611
614
  default: I(() => [
612
- r.value && i.value && !o.search ? (d(), f("ul", ko, [
615
+ r.value && i.value && !o.search ? (d(), f("ul", wo, [
613
616
  (d(!0), f(ie, null, he(e.model.children, (V) => (d(), x(O, {
614
617
  class: "tree-item",
615
618
  key: V.id,
@@ -631,8 +634,8 @@ const po = (e) => (wt("data-v-d8c92d5e"), e = e(), St(), e), fo = {
631
634
  }, 8, ["transfer-data", "draggable", "onDrop", "onDragover", "onDragleave"])) : (d(), f("li", fo));
632
635
  };
633
636
  }
634
- }, So = /* @__PURE__ */ le(wo, [["__scopeId", "data-v-d8c92d5e"]]);
635
- function To(e) {
637
+ }, To = /* @__PURE__ */ le(So, [["__scopeId", "data-v-f1230613"]]);
638
+ function Do(e) {
636
639
  return e = e || /* @__PURE__ */ new Map(), {
637
640
  /**
638
641
  * A Map of event names to registered handler functions.
@@ -679,7 +682,7 @@ function To(e) {
679
682
  }
680
683
  };
681
684
  }
682
- const U = To(), v = {
685
+ const U = Do(), v = {
683
686
  state: Re({
684
687
  trees: {}
685
688
  }),
@@ -781,7 +784,7 @@ const U = To(), v = {
781
784
  }
782
785
  }
783
786
  }
784
- }, Do = {
787
+ }, Lo = {
785
788
  __name: "DDrop",
786
789
  props: {
787
790
  tag: { type: String, default: "div" }
@@ -867,7 +870,7 @@ const U = To(), v = {
867
870
  ]);
868
871
  };
869
872
  }
870
- }, Lo = {
873
+ }, Co = {
871
874
  __name: "DContextMenu",
872
875
  props: {
873
876
  items: Array,
@@ -978,7 +981,7 @@ const U = To(), v = {
978
981
  getNode: R,
979
982
  selectNode: C,
980
983
  itemsCount: W
981
- }), (g, V) => (d(), x(Do, {
984
+ }), (g, V) => (d(), x(Lo, {
982
985
  ref_key: "treeRef",
983
986
  ref: s,
984
987
  class: "tree",
@@ -986,7 +989,7 @@ const U = To(), v = {
986
989
  onDrop: Z(i, ["stop"])
987
990
  }, {
988
991
  default: I(() => [
989
- (d(!0), f(ie, null, he(c.value, (p) => (d(), x(So, {
992
+ (d(!0), f(ie, null, he(c.value, (p) => (d(), x(To, {
990
993
  key: p.id,
991
994
  model: p,
992
995
  treeId: M(r),
@@ -997,7 +1000,7 @@ const U = To(), v = {
997
1000
  onNodedrop: b,
998
1001
  onNodecontext: O
999
1002
  }, null, 8, ["model", "treeId", "items", "search"]))), 128)),
1000
- y.value ? (d(), x(Lo, {
1003
+ y.value ? (d(), x(Co, {
1001
1004
  key: 0,
1002
1005
  ref_key: "contextTreeRef",
1003
1006
  ref: a,
@@ -1010,7 +1013,7 @@ const U = To(), v = {
1010
1013
  }, 8, ["onDrop"]));
1011
1014
  }
1012
1015
  };
1013
- const Co = {
1016
+ const Io = {
1014
1017
  __name: "DAccordion",
1015
1018
  props: {
1016
1019
  items: Array,
@@ -1030,7 +1033,7 @@ const Co = {
1030
1033
  "render-title": t.renderTitle
1031
1034
  }, null, 8, ["items", "no-select", "render-title"]));
1032
1035
  }
1033
- }, Ss = /* @__PURE__ */ le(Co, [["__scopeId", "data-v-642edace"]]), Io = {
1036
+ }, Ts = /* @__PURE__ */ le(Io, [["__scopeId", "data-v-642edace"]]), Eo = {
1034
1037
  __name: "DLayoutHeader",
1035
1038
  props: {
1036
1039
  fixed: {
@@ -1075,7 +1078,7 @@ const Co = {
1075
1078
  L(n.$slots, "default")
1076
1079
  ], 4));
1077
1080
  }
1078
- }, Eo = {
1081
+ }, Bo = {
1079
1082
  __name: "DLayoutTab",
1080
1083
  props: {
1081
1084
  fixed: {
@@ -1124,7 +1127,7 @@ const Co = {
1124
1127
  L(n.$slots, "default")
1125
1128
  ], 4));
1126
1129
  }
1127
- }, Bo = {
1130
+ }, Mo = {
1128
1131
  __name: "DLayoutFooter",
1129
1132
  props: {
1130
1133
  fixed: {
@@ -1169,7 +1172,7 @@ const Co = {
1169
1172
  L(n.$slots, "default")
1170
1173
  ], 4));
1171
1174
  }
1172
- }, Mo = {
1175
+ }, No = {
1173
1176
  __name: "DLayoutSidebar",
1174
1177
  props: {
1175
1178
  zIndex: {
@@ -1209,7 +1212,7 @@ const Co = {
1209
1212
  L(n.$slots, "default")
1210
1213
  ], 4));
1211
1214
  }
1212
- }, No = {
1215
+ }, Ro = {
1213
1216
  __name: "DLayoutContent",
1214
1217
  props: {
1215
1218
  paddingTop: {
@@ -1247,7 +1250,7 @@ const Co = {
1247
1250
  ], 4));
1248
1251
  }
1249
1252
  };
1250
- function Ro(e) {
1253
+ function Oo(e) {
1251
1254
  const t = w(0), o = m(() => `transform: translateX(${-t.value}px);`);
1252
1255
  let n = !1;
1253
1256
  function s(u) {
@@ -1276,7 +1279,7 @@ function Ro(e) {
1276
1279
  i();
1277
1280
  }), o;
1278
1281
  }
1279
- const Oo = 1001, Ao = 999, Ho = 998, Ts = {
1282
+ const Ao = 1001, Ho = 999, Vo = 998, Ds = {
1280
1283
  __name: "DLayoutAdmin",
1281
1284
  props: {
1282
1285
  mode: {
@@ -1367,7 +1370,7 @@ const Oo = 1001, Ao = 999, Ho = 998, Ts = {
1367
1370
  },
1368
1371
  emits: ["update:sidebar-collapse", "sidebar-mask-click"],
1369
1372
  setup(e, { emit: t }) {
1370
- const o = e, n = m(() => o.useMinWidthLayout ? `min-width:${o.minWidth}px;` : ""), s = m(() => o.useMinWidthLayout && (o.fixedHeaderAndTab || o.fixedFooter)), a = Ro(s), l = m(() => o.fixedHeaderAndTab ? a.value : ""), r = m(() => o.fixedFooter ? a.value : ""), i = m(() => {
1373
+ const o = e, n = m(() => o.useMinWidthLayout ? `min-width:${o.minWidth}px;` : ""), s = m(() => o.useMinWidthLayout && (o.fixedHeaderAndTab || o.fixedFooter)), a = Oo(s), l = m(() => o.fixedHeaderAndTab ? a.value : ""), r = m(() => o.fixedFooter ? a.value : ""), i = m(() => {
1371
1374
  const { transitionDuration: y, transitionTimingFunction: O } = o;
1372
1375
  return {
1373
1376
  transitionDuration: y,
@@ -1400,9 +1403,9 @@ const Oo = 1001, Ao = 999, Ho = 998, Ts = {
1400
1403
  class: "d-layout",
1401
1404
  style: H(n.value)
1402
1405
  }, [
1403
- e.headerVisible ? (d(), x(Io, ue({ key: 0 }, i.value, {
1406
+ e.headerVisible ? (d(), x(Eo, ue({ key: 0 }, i.value, {
1404
1407
  fixed: e.fixedHeaderAndTab,
1405
- "z-index": Oo,
1408
+ "z-index": Ao,
1406
1409
  "min-width": e.minWidth,
1407
1410
  height: e.headerHeight,
1408
1411
  "padding-left": R.value,
@@ -1413,9 +1416,9 @@ const Oo = 1001, Ao = 999, Ho = 998, Ts = {
1413
1416
  ]),
1414
1417
  _: 3
1415
1418
  }, 16, ["fixed", "min-width", "height", "padding-left", "style"])) : $("", !0),
1416
- e.tabVisible ? (d(), x(Eo, ue({ key: 1 }, i.value, {
1419
+ e.tabVisible ? (d(), x(Bo, ue({ key: 1 }, i.value, {
1417
1420
  fixed: e.fixedHeaderAndTab,
1418
- "z-index": Ao,
1421
+ "z-index": Ho,
1419
1422
  "min-width": e.minWidth,
1420
1423
  top: e.headerHeight,
1421
1424
  height: e.tabHeight,
@@ -1427,7 +1430,7 @@ const Oo = 1001, Ao = 999, Ho = 998, Ts = {
1427
1430
  ]),
1428
1431
  _: 3
1429
1432
  }, 16, ["fixed", "min-width", "top", "height", "padding-left", "style"])) : $("", !0),
1430
- e.sidebarVisible ? (d(), x(Mo, ue({ key: 2 }, i.value, {
1433
+ e.sidebarVisible ? (d(), x(No, ue({ key: 2 }, i.value, {
1431
1434
  "z-index": u.value,
1432
1435
  width: k.value,
1433
1436
  "padding-top": C.value
@@ -1443,7 +1446,7 @@ const Oo = 1001, Ao = 999, Ho = 998, Ts = {
1443
1446
  style: H(N.value),
1444
1447
  onClick: b
1445
1448
  }, null, 4)) : $("", !0),
1446
- oe(No, ue(i.value, {
1449
+ oe(Ro, ue(i.value, {
1447
1450
  "padding-top": E.value,
1448
1451
  "padding-bottom": B.value,
1449
1452
  "padding-left": F.value,
@@ -1454,9 +1457,9 @@ const Oo = 1001, Ao = 999, Ho = 998, Ts = {
1454
1457
  ]),
1455
1458
  _: 3
1456
1459
  }, 16, ["padding-top", "padding-bottom", "padding-left", "overflow-hidden"]),
1457
- e.footerVisible ? (d(), x(Bo, ue({ key: 4 }, i.value, {
1460
+ e.footerVisible ? (d(), x(Mo, ue({ key: 4 }, i.value, {
1458
1461
  fixed: e.fixedFooter,
1459
- "z-index": Ho,
1462
+ "z-index": Vo,
1460
1463
  "min-width": e.minWidth,
1461
1464
  height: e.footerHeight,
1462
1465
  "padding-left": F.value,
@@ -1488,7 +1491,7 @@ const Oo = 1001, Ao = 999, Ho = 998, Ts = {
1488
1491
  pe.state.theme = pe.state.theme === "dark" ? "light" : "dark", document.documentElement.classList.remove("dark"), document.documentElement.classList.remove("light"), document.documentElement.classList.add(pe.state.theme);
1489
1492
  }
1490
1493
  }
1491
- }, Ds = {
1494
+ }, Ls = {
1492
1495
  __name: "DConfigProvider",
1493
1496
  props: {
1494
1497
  theme: {
@@ -1501,7 +1504,7 @@ const Oo = 1001, Ao = 999, Ho = 998, Ts = {
1501
1504
  return pe.mutations.setTheme(t.theme), (o, n) => L(o.$slots, "default");
1502
1505
  }
1503
1506
  };
1504
- const Ls = {
1507
+ const Cs = {
1505
1508
  __name: "DScrollProvider",
1506
1509
  props: {
1507
1510
  xHide: {
@@ -1529,7 +1532,7 @@ const Ls = {
1529
1532
  ]));
1530
1533
  }
1531
1534
  };
1532
- const Vo = {
1535
+ const zo = {
1533
1536
  __name: "DScroll",
1534
1537
  props: {
1535
1538
  autoHide: {
@@ -1558,7 +1561,7 @@ const Vo = {
1558
1561
  L(s.$slots, "default", {}, void 0, !0)
1559
1562
  ], 2));
1560
1563
  }
1561
- }, Cs = /* @__PURE__ */ le(Vo, [["__scopeId", "data-v-d50b3609"]]), zo = { class: "modal-content" }, Fo = { class: "modal-header" }, Wo = { class: "modal-title" }, Po = { class: "modal-body" }, jo = { class: "modal-footer" }, vt = {
1564
+ }, Is = /* @__PURE__ */ le(zo, [["__scopeId", "data-v-d50b3609"]]), Fo = { class: "modal-content" }, Wo = { class: "modal-header" }, Po = { class: "modal-title" }, jo = { class: "modal-body" }, Xo = { class: "modal-footer" }, vt = {
1562
1565
  __name: "DModal",
1563
1566
  props: {
1564
1567
  show: Boolean,
@@ -1594,16 +1597,16 @@ const Vo = {
1594
1597
  class: "modal-dialog",
1595
1598
  style: H({ width: n.width, maxWidth: n.maxWidth })
1596
1599
  }, [
1597
- _("div", zo, [
1598
- _("div", Fo, [
1599
- _("h5", Wo, [
1600
+ _("div", Fo, [
1601
+ _("div", Wo, [
1602
+ _("h5", Po, [
1600
1603
  L(i.$slots, "modal-title")
1601
1604
  ])
1602
1605
  ]),
1603
- _("div", Po, [
1606
+ _("div", jo, [
1604
1607
  L(i.$slots, "default")
1605
1608
  ]),
1606
- _("div", jo, [
1609
+ _("div", Xo, [
1607
1610
  L(i.$slots, "modal-footer")
1608
1611
  ])
1609
1612
  ])
@@ -1631,13 +1634,13 @@ function yt(e, t, o = "default") {
1631
1634
  };
1632
1635
  });
1633
1636
  }
1634
- var Xo = (e, t) => {
1637
+ var Yo = (e, t) => {
1635
1638
  const o = e.__vccOpts || e;
1636
1639
  for (const [n, s] of t)
1637
1640
  o[n] = s;
1638
1641
  return o;
1639
1642
  };
1640
- const Yo = Lt({
1643
+ const Uo = Lt({
1641
1644
  name: "DialogWrapper",
1642
1645
  components: {},
1643
1646
  props: {
@@ -1657,7 +1660,7 @@ const Yo = Lt({
1657
1660
  };
1658
1661
  }
1659
1662
  });
1660
- function Uo(e, t, o, n, s, a) {
1663
+ function qo(e, t, o, n, s, a) {
1661
1664
  return d(), x(Me, Ct(It(e.transitionAttrs)), {
1662
1665
  default: I(() => [
1663
1666
  e.dialogRef && e.dialogRef.wrapper === e.name ? (d(), x(X(e.dialogRef.dialog), ue({ key: 0 }, e.dialogRef.props, { ref: "dialogInstance" }), null, 16)) : $("", !0)
@@ -1665,8 +1668,8 @@ function Uo(e, t, o, n, s, a) {
1665
1668
  _: 1
1666
1669
  }, 16);
1667
1670
  }
1668
- var qo = /* @__PURE__ */ Xo(Yo, [["render", Uo]]);
1669
- const Go = { style: { display: "flex", "flex-direction": "row", "justify-content": "center", gap: "5px" } }, Zo = {
1671
+ var Go = /* @__PURE__ */ Yo(Uo, [["render", qo]]);
1672
+ const Zo = { style: { display: "flex", "flex-direction": "row", "justify-content": "center", gap: "5px" } }, Ko = {
1670
1673
  __name: "DAlertDialog",
1671
1674
  props: {
1672
1675
  title: String,
@@ -1685,7 +1688,7 @@ const Go = { style: { display: "flex", "flex-direction": "row", "justify-content
1685
1688
  K(A(o.message), 1)
1686
1689
  ]),
1687
1690
  "modal-footer": I(() => [
1688
- _("div", Go, [
1691
+ _("div", Zo, [
1689
1692
  oe(ae, {
1690
1693
  onClick: a[0] || (a[0] = (l) => M(Be)())
1691
1694
  }, {
@@ -1700,7 +1703,7 @@ const Go = { style: { display: "flex", "flex-direction": "row", "justify-content
1700
1703
  })
1701
1704
  ]));
1702
1705
  }
1703
- }, Ko = { style: { display: "flex", "flex-direction": "row", "justify-content": "center", gap: "5px" } }, Jo = {
1706
+ }, Jo = { style: { display: "flex", "flex-direction": "row", "justify-content": "center", gap: "5px" } }, Qo = {
1704
1707
  __name: "DConfirmDialog",
1705
1708
  props: {
1706
1709
  title: String,
@@ -1719,7 +1722,7 @@ const Go = { style: { display: "flex", "flex-direction": "row", "justify-content
1719
1722
  K(A(o.message), 1)
1720
1723
  ]),
1721
1724
  "modal-footer": I(() => [
1722
- _("div", Ko, [
1725
+ _("div", Jo, [
1723
1726
  oe(ae, {
1724
1727
  onClick: a[0] || (a[0] = (l) => M(Be)())
1725
1728
  }, {
@@ -1743,7 +1746,7 @@ const Go = { style: { display: "flex", "flex-direction": "row", "justify-content
1743
1746
  })
1744
1747
  ]));
1745
1748
  }
1746
- }, Qo = { class: "dropdown" }, Is = {
1749
+ }, en = { class: "dropdown" }, Es = {
1747
1750
  __name: "DDropdown",
1748
1751
  props: {
1749
1752
  class: String,
@@ -1779,7 +1782,7 @@ const Go = { style: { display: "flex", "flex-direction": "row", "justify-content
1779
1782
  show: c
1780
1783
  });
1781
1784
  const b = (S) => !!s[S];
1782
- return (S, N) => (d(), f("div", Qo, [
1785
+ return (S, N) => (d(), f("div", en, [
1783
1786
  b("default") ? (d(), x(ae, {
1784
1787
  key: 0,
1785
1788
  ref_key: "buttonRef",
@@ -1816,34 +1819,34 @@ const Go = { style: { display: "flex", "flex-direction": "row", "justify-content
1816
1819
  }, null, 8, ["items", "style", "render-item-title", "before-item", "body-as-parent"])
1817
1820
  ]));
1818
1821
  }
1819
- }, en = {}, tn = { class: "d-panel" };
1820
- function on(e, t) {
1821
- return d(), f("div", tn, [
1822
+ }, tn = {}, on = { class: "d-panel" };
1823
+ function nn(e, t) {
1824
+ return d(), f("div", on, [
1822
1825
  L(e.$slots, "default")
1823
1826
  ]);
1824
1827
  }
1825
- const nn = /* @__PURE__ */ le(en, [["render", on]]), sn = { class: "card-header" }, an = { class: "modal-title" }, ln = { class: "card-body" }, rn = { class: "card-footer" }, Es = {
1828
+ const sn = /* @__PURE__ */ le(tn, [["render", nn]]), an = { class: "card-header" }, ln = { class: "modal-title" }, rn = { class: "card-body" }, dn = { class: "card-footer" }, Bs = {
1826
1829
  __name: "DCard",
1827
1830
  setup(e) {
1828
- return (t, o) => (d(), x(nn, { class: "d-card" }, {
1831
+ return (t, o) => (d(), x(sn, { class: "d-card" }, {
1829
1832
  default: I(() => [
1830
- _("div", sn, [
1831
- _("h5", an, [
1833
+ _("div", an, [
1834
+ _("h5", ln, [
1832
1835
  L(t.$slots, "title")
1833
1836
  ])
1834
1837
  ]),
1835
- _("div", ln, [
1838
+ _("div", rn, [
1836
1839
  L(t.$slots, "default")
1837
1840
  ]),
1838
- _("div", rn, [
1841
+ _("div", dn, [
1839
1842
  L(t.$slots, "footer")
1840
1843
  ])
1841
1844
  ]),
1842
1845
  _: 3
1843
1846
  }));
1844
1847
  }
1845
- }, dn = /* @__PURE__ */ new Map();
1846
- class cn {
1848
+ }, cn = /* @__PURE__ */ new Map();
1849
+ class un {
1847
1850
  constructor(t, o, n) {
1848
1851
  this.remaining = o, this.callback = t, this.notifyItem = n, this.resume();
1849
1852
  }
@@ -1871,7 +1874,7 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
1871
1874
  name: "px",
1872
1875
  regexp: new RegExp(`^${Ie}$`)
1873
1876
  }
1874
- ], un = (e) => {
1877
+ ], pn = (e) => {
1875
1878
  if (e === "auto")
1876
1879
  return {
1877
1880
  type: e,
@@ -1889,20 +1892,20 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
1889
1892
  type: "",
1890
1893
  value: e
1891
1894
  };
1892
- }, pn = (e) => {
1895
+ }, fn = (e) => {
1893
1896
  switch (typeof e) {
1894
1897
  case "number":
1895
1898
  return { type: "px", value: e };
1896
1899
  case "string":
1897
- return un(e);
1900
+ return pn(e);
1898
1901
  default:
1899
1902
  return { type: "", value: e };
1900
1903
  }
1901
1904
  }, st = {
1902
1905
  x: /* @__PURE__ */ new Set(["left", "center", "right"]),
1903
1906
  y: /* @__PURE__ */ new Set(["top", "bottom"])
1904
- }, fn = ((e) => () => e++)(0), mn = (e) => typeof e != "string" ? [] : e.split(/\s+/gi).filter(Boolean), hn = (e) => {
1905
- typeof e == "string" && (e = mn(e));
1907
+ }, mn = ((e) => () => e++)(0), hn = (e) => typeof e != "string" ? [] : e.split(/\s+/gi).filter(Boolean), gn = (e) => {
1908
+ typeof e == "string" && (e = hn(e));
1906
1909
  let t = null, o = null;
1907
1910
  return e.forEach((n) => {
1908
1911
  st.y.has(n) && (o = n), st.x.has(n) && (t = n);
@@ -1920,7 +1923,7 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
1920
1923
  opacity: [0, 1]
1921
1924
  }
1922
1925
  }
1923
- }, gn = {
1926
+ }, vn = {
1924
1927
  __name: "VelocityGroup",
1925
1928
  emits: ["enter", "leave", "after-leave"],
1926
1929
  setup(e, { emit: t }) {
@@ -1944,7 +1947,7 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
1944
1947
  _: 3
1945
1948
  }));
1946
1949
  }
1947
- }, vn = /* @__PURE__ */ Object.assign({
1950
+ }, yn = /* @__PURE__ */ Object.assign({
1948
1951
  inheritAttrs: !1
1949
1952
  }, {
1950
1953
  __name: "CssGroup",
@@ -1963,10 +1966,10 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
1963
1966
  _: 3
1964
1967
  }, 8, ["name"]));
1965
1968
  }
1966
- }), yn = ["data-id"], _n = ["onClick"], bn = ["innerHTML"], xn = ["innerHTML"], $n = {
1969
+ }), _n = ["data-id"], bn = ["onClick"], xn = ["innerHTML"], $n = ["innerHTML"], kn = {
1967
1970
  key: 0,
1968
1971
  class: "d-notification-title"
1969
- }, kn = { class: "notification-content" }, Bs = {
1972
+ }, wn = { class: "notification-content" }, Ms = {
1970
1973
  __name: "DNotificationProvider",
1971
1974
  props: {
1972
1975
  group: {
@@ -2039,8 +2042,8 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
2039
2042
  const o = e, n = {
2040
2043
  IDLE: 0,
2041
2044
  DESTROYED: 2
2042
- }, s = w([]), a = w(null), l = w(dn.get("velocity")), r = m(() => o.animationType === "velocity"), i = m(() => r.value ? gn : vn), c = m(() => s.value.filter((p) => p.state !== n.DESTROYED)), u = m(() => pn(o.width)), h = m(() => {
2043
- const { x: p, y: z } = hn(o.position), T = u.value.value, q = u.value.type, ne = {
2045
+ }, s = w([]), a = w(null), l = w(cn.get("velocity")), r = m(() => o.animationType === "velocity"), i = m(() => r.value ? vn : yn), c = m(() => s.value.filter((p) => p.state !== n.DESTROYED)), u = m(() => fn(o.width)), h = m(() => {
2046
+ const { x: p, y: z } = gn(o.position), T = u.value.value, q = u.value.type, ne = {
2044
2047
  width: T + q
2045
2048
  };
2046
2049
  return z && (ne[z] = "0px"), p && (p === "center" ? ne.left = `calc(50% - ${+T / 2}${q})` : ne[p] = "0px"), ne;
@@ -2060,7 +2063,7 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
2060
2063
  return;
2061
2064
  }
2062
2065
  const z = typeof p.duration == "number" ? p.duration : o.duration, T = typeof p.speed == "number" ? p.speed : o.speed, q = typeof p.ignoreDuplicates == "boolean" ? p.ignoreDuplicates : o.ignoreDuplicates, { title: ne, text: ge, type: ve, data: ye, id: _e } = p, J = {
2063
- id: _e || fn(),
2066
+ id: _e || mn(),
2064
2067
  title: ne,
2065
2068
  text: ge,
2066
2069
  type: ve,
@@ -2069,7 +2072,7 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
2069
2072
  length: z + 2 * T,
2070
2073
  data: ye
2071
2074
  };
2072
- z >= 0 && (a.value = new cn(() => B(J), J.length, J));
2075
+ z >= 0 && (a.value = new un(() => B(J), J.length, J));
2073
2076
  const be = o.reverse ? !b.value : b.value;
2074
2077
  let re = -1;
2075
2078
  const xe = c.value.some((me) => me.title === p.title && me.text === p.text);
@@ -2146,24 +2149,24 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
2146
2149
  key: 0,
2147
2150
  class: "d-notification-title",
2148
2151
  innerHTML: T.timer
2149
- }, null, 8, bn)) : $("", !0),
2152
+ }, null, 8, xn)) : $("", !0),
2150
2153
  _("div", {
2151
2154
  class: "notification-content",
2152
2155
  innerHTML: T.text
2153
- }, null, 8, xn)
2156
+ }, null, 8, $n)
2154
2157
  ], 64)) : (d(), f(ie, { key: 1 }, [
2155
- T.title ? (d(), f("div", $n, A(T.title), 1)) : $("", !0),
2156
- _("div", kn, A(T.text), 1)
2158
+ T.title ? (d(), f("div", kn, A(T.title), 1)) : $("", !0),
2159
+ _("div", wn, A(T.text), 1)
2157
2160
  ], 64))
2158
- ], 10, _n)
2161
+ ], 10, bn)
2159
2162
  ])
2160
- ], 44, yn))), 128))
2163
+ ], 44, _n))), 128))
2161
2164
  ]),
2162
2165
  _: 3
2163
2166
  }, 40, ["name"]))
2164
2167
  ], 4));
2165
2168
  }
2166
- }, wn = { class: "d-info-progress-icon-container" }, Sn = { class: "d-info-progress-icon" }, Tn = { class: "d-info-progress-data-container" }, Dn = ["innerHTML"], Ms = {
2169
+ }, Sn = { class: "d-info-progress-icon-container" }, Tn = { class: "d-info-progress-icon" }, Dn = { class: "d-info-progress-data-container" }, Ln = ["innerHTML"], Ns = {
2167
2170
  __name: "DInfoProgress",
2168
2171
  props: {
2169
2172
  style: [String, Object],
@@ -2182,8 +2185,8 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
2182
2185
  t("click", l);
2183
2186
  })
2184
2187
  }, [
2185
- _("div", wn, [
2186
- _("div", Sn, [
2188
+ _("div", Sn, [
2189
+ _("div", Tn, [
2187
2190
  o.icon ? (d(), x(X(de), {
2188
2191
  key: 0,
2189
2192
  component: n.value,
@@ -2192,7 +2195,7 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
2192
2195
  }, null, 8, ["component"])) : $("", !0)
2193
2196
  ])
2194
2197
  ]),
2195
- _("div", Tn, [
2198
+ _("div", Dn, [
2196
2199
  _("div", {
2197
2200
  class: "d-info-progress-line",
2198
2201
  style: H("width: " + o.progress + "%;")
@@ -2200,11 +2203,11 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
2200
2203
  _("div", {
2201
2204
  class: "d-info-progress-label",
2202
2205
  innerHTML: e.label
2203
- }, null, 8, Dn)
2206
+ }, null, 8, Ln)
2204
2207
  ])
2205
2208
  ], 6));
2206
2209
  }
2207
- }, Ln = { class: "d-checkbox" }, Cn = ["id", "checked", "disabled"], In = ["for"], Ns = {
2210
+ }, Cn = { class: "d-checkbox" }, In = ["id", "checked", "disabled"], En = ["for"], Rs = {
2208
2211
  __name: "DCheckbox",
2209
2212
  props: {
2210
2213
  label: String,
@@ -2224,7 +2227,7 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
2224
2227
  t("update:modelValue", l);
2225
2228
  }
2226
2229
  });
2227
- return (l, r) => (d(), f("div", Ln, [
2230
+ return (l, r) => (d(), f("div", Cn, [
2228
2231
  te(_("input", {
2229
2232
  "onUpdate:modelValue": r[0] || (r[0] = (i) => a.value = i),
2230
2233
  id: `i-${M(s)}`,
@@ -2232,30 +2235,30 @@ const Ie = "[-+]?[0-9]*.?[0-9]+", nt = [
2232
2235
  checked: o.checked,
2233
2236
  disabled: o.disabled,
2234
2237
  onChange: r[1] || (r[1] = (...i) => o.change && o.change(...i))
2235
- }, null, 40, Cn), [
2238
+ }, null, 40, In), [
2236
2239
  [Et, a.value]
2237
2240
  ]),
2238
2241
  _("label", {
2239
2242
  for: `i-${M(s)}`
2240
- }, A(o.label), 9, In)
2243
+ }, A(o.label), 9, En)
2241
2244
  ]));
2242
2245
  }
2243
2246
  };
2244
- async function En(e, t) {
2245
- return await yt(Jo, { title: e, message: t });
2246
- }
2247
2247
  async function Bn(e, t) {
2248
- return await yt(Zo, { title: e, message: t });
2248
+ return await yt(Qo, { title: e, message: t });
2249
+ }
2250
+ async function Mn(e, t) {
2251
+ return await yt(Ko, { title: e, message: t });
2249
2252
  }
2250
- const Rs = {
2253
+ const Os = {
2251
2254
  __name: "DDialogProvider",
2252
2255
  setup(e) {
2253
- return window.alert = Bn, window.confirm = En, (t, o) => (d(), x(M(qo)));
2256
+ return window.alert = Mn, window.confirm = Bn, (t, o) => (d(), x(M(Go)));
2254
2257
  }
2255
- }, Mn = { class: "d-select" }, Nn = {
2258
+ }, Nn = { class: "d-select" }, Rn = {
2256
2259
  key: 0,
2257
2260
  class: "label"
2258
- }, Rn = ["value", "selected", "disabled"], Os = {
2261
+ }, On = ["value", "selected", "disabled"], As = {
2259
2262
  __name: "DSelect",
2260
2263
  props: {
2261
2264
  label: String,
@@ -2278,8 +2281,8 @@ const Rs = {
2278
2281
  s.value = o.options[a].value;
2279
2282
  break;
2280
2283
  }
2281
- return (a, l) => (d(), f("div", Mn, [
2282
- o.label ? (d(), f("div", Nn, A(o.label), 1)) : $("", !0),
2284
+ return (a, l) => (d(), f("div", Nn, [
2285
+ o.label ? (d(), f("div", Rn, A(o.label), 1)) : $("", !0),
2283
2286
  te(_("select", {
2284
2287
  "onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
2285
2288
  class: D(n.value),
@@ -2290,13 +2293,13 @@ const Rs = {
2290
2293
  value: r.value,
2291
2294
  selected: r.selected,
2292
2295
  disabled: r.disabled
2293
- }, A(r.label), 9, Rn))), 128))
2296
+ }, A(r.label), 9, On))), 128))
2294
2297
  ], 6), [
2295
2298
  [Bt, s.value]
2296
2299
  ])
2297
2300
  ]));
2298
2301
  }
2299
- }, On = ["title"], An = ["title"], Hn = {
2302
+ }, An = ["title"], Hn = ["title"], Vn = {
2300
2303
  __name: "DTabLabel",
2301
2304
  props: {
2302
2305
  tab: Object
@@ -2306,17 +2309,17 @@ const Rs = {
2306
2309
  return (o, n) => t.tab.label ? (d(), f("span", {
2307
2310
  key: 0,
2308
2311
  title: t.tab.title ? t.tab.title : ""
2309
- }, A(t.tab.label), 9, On)) : t.tab.icon ? (d(), f("span", {
2312
+ }, A(t.tab.label), 9, An)) : t.tab.icon ? (d(), f("span", {
2310
2313
  key: 1,
2311
2314
  title: t.tab.title ? t.tab.title : ""
2312
2315
  }, [
2313
2316
  oe(M(de), {
2314
2317
  component: t.tab.icon
2315
2318
  }, null, 8, ["component"])
2316
- ], 8, An)) : $("", !0);
2319
+ ], 8, Hn)) : $("", !0);
2317
2320
  }
2318
2321
  };
2319
- const Vn = { class: "d-tabs" }, zn = {
2322
+ const zn = { class: "d-tabs" }, Fn = {
2320
2323
  __name: "DTabs",
2321
2324
  props: {
2322
2325
  tabs: Array
@@ -2326,8 +2329,8 @@ const Vn = { class: "d-tabs" }, zn = {
2326
2329
  n.value = a;
2327
2330
  };
2328
2331
  return (a, l) => (d(), f(ie, null, [
2329
- _("div", Vn, [
2330
- (d(!0), f(ie, null, he(o.value, (r, i) => (d(), x(Hn, {
2332
+ _("div", zn, [
2333
+ (d(!0), f(ie, null, he(o.value, (r, i) => (d(), x(Vn, {
2331
2334
  index: i,
2332
2335
  tab: r,
2333
2336
  class: D(["d-tab-title", i === n.value ? "active" : ""]),
@@ -2339,8 +2342,8 @@ const Vn = { class: "d-tabs" }, zn = {
2339
2342
  ], 1024))
2340
2343
  ], 64));
2341
2344
  }
2342
- }, As = /* @__PURE__ */ le(zn, [["__scopeId", "data-v-c98761cd"]]);
2343
- const Fn = { class: "d-grid" }, Wn = {
2345
+ }, Hs = /* @__PURE__ */ le(Fn, [["__scopeId", "data-v-c98761cd"]]);
2346
+ const Wn = { class: "d-grid" }, Pn = {
2344
2347
  __name: "DGrid",
2345
2348
  props: {
2346
2349
  gap: {
@@ -2372,11 +2375,11 @@ const Fn = { class: "d-grid" }, Wn = {
2372
2375
  let c = null;
2373
2376
  for (let u = 0; u < i.length; u++)
2374
2377
  c || (c = i[0]), u > 0 && (i[u] ? c = i[u] : i[u] = c);
2375
- return (u, h) => (d(), f("div", Fn, [
2378
+ return (u, h) => (d(), f("div", Wn, [
2376
2379
  L(u.$slots, "default", {}, void 0, !0)
2377
2380
  ]));
2378
2381
  }
2379
- }, Hs = /* @__PURE__ */ le(Wn, [["__scopeId", "data-v-b45e8130"]]), Pn = ["src", "alt", "title"], Vs = {
2382
+ }, Vs = /* @__PURE__ */ le(Pn, [["__scopeId", "data-v-b45e8130"]]), jn = ["src", "alt", "title"], zs = {
2380
2383
  __name: "DImage",
2381
2384
  props: {
2382
2385
  src: String,
@@ -2401,13 +2404,13 @@ const Fn = { class: "d-grid" }, Wn = {
2401
2404
  alt: t.alt,
2402
2405
  title: t.title,
2403
2406
  style: H({ width: t.width, height: t.height, borderRadius: t.radius })
2404
- }, null, 12, Pn)) : $("", !0);
2407
+ }, null, 12, jn)) : $("", !0);
2405
2408
  }
2406
2409
  };
2407
- const jn = { class: "d-textarea" }, Xn = {
2410
+ const Xn = { class: "d-textarea" }, Yn = {
2408
2411
  key: 0,
2409
2412
  class: "label"
2410
- }, Yn = ["rows", "cols", "placeholder"], Un = {
2413
+ }, Un = ["rows", "cols", "placeholder"], qn = {
2411
2414
  __name: "DTextarea",
2412
2415
  props: {
2413
2416
  label: String,
@@ -2441,8 +2444,8 @@ const jn = { class: "d-textarea" }, Xn = {
2441
2444
  };
2442
2445
  return t({
2443
2446
  focus: r
2444
- }), (i, c) => (d(), f("div", jn, [
2445
- n.label ? (d(), f("div", Xn, A(n.label), 1)) : $("", !0),
2447
+ }), (i, c) => (d(), f("div", Xn, [
2448
+ n.label ? (d(), f("div", Yn, A(n.label), 1)) : $("", !0),
2446
2449
  te(_("textarea", {
2447
2450
  ref_key: "inputRef",
2448
2451
  ref: s,
@@ -2452,13 +2455,13 @@ const jn = { class: "d-textarea" }, Xn = {
2452
2455
  placeholder: n.placeholder,
2453
2456
  class: D(a.value),
2454
2457
  style: { width: "100%" }
2455
- }, null, 10, Yn), [
2458
+ }, null, 10, Un), [
2456
2459
  [Ot, l.value]
2457
2460
  ])
2458
2461
  ]));
2459
2462
  }
2460
- }, zs = /* @__PURE__ */ le(Un, [["__scopeId", "data-v-0e805d5d"]]);
2461
- class Fs {
2463
+ }, Fs = /* @__PURE__ */ le(qn, [["__scopeId", "data-v-0e805d5d"]]);
2464
+ class Ws {
2462
2465
  constructor(t) {
2463
2466
  this.fields = t;
2464
2467
  }
@@ -2469,7 +2472,7 @@ class Fs {
2469
2472
  return !t;
2470
2473
  }
2471
2474
  }
2472
- class qn {
2475
+ class Gn {
2473
2476
  validate(t, o = "https") {
2474
2477
  return this._isValidURL(t) || (t = o + "://" + t), this._isValidURL(t);
2475
2478
  }
@@ -2490,8 +2493,8 @@ class qn {
2490
2493
  }
2491
2494
  }
2492
2495
  }
2493
- const Gn = new qn();
2494
- class Zn {
2496
+ const Zn = new Gn();
2497
+ class Kn {
2495
2498
  validate(t = "") {
2496
2499
  return t !== "";
2497
2500
  }
@@ -2499,8 +2502,8 @@ class Zn {
2499
2502
  return t;
2500
2503
  }
2501
2504
  }
2502
- const Kn = new Zn();
2503
- class Jn {
2505
+ const Jn = new Kn();
2506
+ class Qn {
2504
2507
  validate(t = "", o = 0) {
2505
2508
  return t.length >= o;
2506
2509
  }
@@ -2508,8 +2511,8 @@ class Jn {
2508
2511
  return t;
2509
2512
  }
2510
2513
  }
2511
- const Qn = new Jn();
2512
- class es {
2514
+ const es = new Qn();
2515
+ class ts {
2513
2516
  validate(t = "", o = 0) {
2514
2517
  return t.length <= o;
2515
2518
  }
@@ -2517,8 +2520,8 @@ class es {
2517
2520
  return t;
2518
2521
  }
2519
2522
  }
2520
- const ts = new es();
2521
- class os {
2523
+ const os = new ts();
2524
+ class ns {
2522
2525
  validate(t) {
2523
2526
  return /^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/.test(t);
2524
2527
  }
@@ -2526,8 +2529,8 @@ class os {
2526
2529
  return t;
2527
2530
  }
2528
2531
  }
2529
- const ns = new os();
2530
- class ss {
2532
+ const ss = new ns();
2533
+ class as {
2531
2534
  validate(t) {
2532
2535
  return !isNaN(parseFloat(t)) && !isNaN(t - 0);
2533
2536
  }
@@ -2535,15 +2538,15 @@ class ss {
2535
2538
  return t;
2536
2539
  }
2537
2540
  }
2538
- const as = new ss(), Y = {
2539
- RulesUrl: Gn,
2540
- RulesRequired: Kn,
2541
- RulesMin: Qn,
2542
- RulesMax: ts,
2543
- RulesEmail: ns,
2544
- RulesNumber: as
2541
+ const is = new as(), Y = {
2542
+ RulesUrl: Zn,
2543
+ RulesRequired: Jn,
2544
+ RulesMin: es,
2545
+ RulesMax: os,
2546
+ RulesEmail: ss,
2547
+ RulesNumber: is
2545
2548
  };
2546
- class is {
2549
+ class ls {
2547
2550
  validate(t, o) {
2548
2551
  var s, a, l, r, i, c, u, h, b, S, N, k, F, R;
2549
2552
  let n = "";
@@ -2577,13 +2580,13 @@ class is {
2577
2580
  return n;
2578
2581
  }
2579
2582
  }
2580
- const ls = new is(), rs = { style: { display: "flex", "flex-direction": "column" } }, ds = {
2583
+ const rs = new ls(), ds = { style: { display: "flex", "flex-direction": "column" } }, cs = {
2581
2584
  key: 0,
2582
2585
  class: "d-label"
2583
- }, cs = {
2586
+ }, us = {
2584
2587
  key: 0,
2585
2588
  class: "text-red"
2586
- }, us = { style: { display: "flex", "flex-direction": "row" } }, ps = { style: { flex: "1", position: "relative" } }, fs = /* @__PURE__ */ _("svg", {
2589
+ }, ps = { style: { display: "flex", "flex-direction": "row" } }, fs = { style: { flex: "1", position: "relative" } }, ms = /* @__PURE__ */ _("svg", {
2587
2590
  xmlns: "http://www.w3.org/2000/svg",
2588
2591
  viewBox: "0 0 24 24"
2589
2592
  }, [
@@ -2591,9 +2594,9 @@ const ls = new is(), rs = { style: { display: "flex", "flex-direction": "column"
2591
2594
  d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41z",
2592
2595
  fill: "currentColor"
2593
2596
  })
2594
- ], -1), ms = [
2595
- fs
2596
- ], hs = ["id", "type", "placeholder", "disabled"], gs = /* @__PURE__ */ _("svg", {
2597
+ ], -1), hs = [
2598
+ ms
2599
+ ], gs = ["id", "type", "placeholder", "disabled"], vs = /* @__PURE__ */ _("svg", {
2597
2600
  xmlns: "http://www.w3.org/2000/svg",
2598
2601
  viewBox: "0 0 24 24"
2599
2602
  }, [
@@ -2601,15 +2604,15 @@ const ls = new is(), rs = { style: { display: "flex", "flex-direction": "column"
2601
2604
  d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41z",
2602
2605
  fill: "currentColor"
2603
2606
  })
2604
- ], -1), vs = [
2605
- gs
2606
- ], ys = {
2607
+ ], -1), ys = [
2608
+ vs
2609
+ ], _s = {
2607
2610
  key: 1,
2608
2611
  class: "d-help"
2609
- }, _s = {
2612
+ }, bs = {
2610
2613
  key: 2,
2611
2614
  class: "d-error text-red"
2612
- }, Ws = {
2615
+ }, Ps = {
2613
2616
  __name: "DInputString",
2614
2617
  props: {
2615
2618
  form: Object,
@@ -2643,7 +2646,7 @@ const ls = new is(), rs = { style: { display: "flex", "flex-direction": "column"
2643
2646
  }
2644
2647
  }), c = m(() => n.type === "password" ? "password" : "text"), u = m(() => n.scale), h = (R) => {
2645
2648
  o("input", R), b();
2646
- }, b = () => (s.value = ls.validate(i.value, n.form.fields[n.name].rules), !!s.value);
2649
+ }, b = () => (s.value = rs.validate(i.value, n.form.fields[n.name].rules), !!s.value);
2647
2650
  fe(() => {
2648
2651
  S();
2649
2652
  });
@@ -2666,12 +2669,12 @@ const ls = new is(), rs = { style: { display: "flex", "flex-direction": "column"
2666
2669
  return d(), f("div", {
2667
2670
  class: D(["d-input-string", u.value])
2668
2671
  }, [
2669
- _("div", rs, [
2670
- n.label ? (d(), f("div", ds, [
2672
+ _("div", ds, [
2673
+ n.label ? (d(), f("div", cs, [
2671
2674
  K(A(n.label), 1),
2672
- (E = n.form) != null && E.fields[n.name].rules && n.form.fields[n.name].rules.hasOwnProperty("required") ? (d(), f("span", cs, "*")) : $("", !0)
2675
+ (E = n.form) != null && E.fields[n.name].rules && n.form.fields[n.name].rules.hasOwnProperty("required") ? (d(), f("span", us, "*")) : $("", !0)
2673
2676
  ])) : $("", !0),
2674
- _("div", us, [
2677
+ _("div", ps, [
2675
2678
  (y = (B = n.pre) == null ? void 0 : B.outside) != null && y.component ? (d(), f("div", {
2676
2679
  key: 0,
2677
2680
  class: D(["d-pre", n.disabled ? "disabled" : ""])
@@ -2685,12 +2688,12 @@ const ls = new is(), rs = { style: { display: "flex", "flex-direction": "column"
2685
2688
  class: D(["d-text", l.value ? "focused" : ""])
2686
2689
  }, A((p = (V = n.pre) == null ? void 0 : V.outside) == null ? void 0 : p.text), 3)
2687
2690
  ], 2)) : $("", !0),
2688
- _("div", ps, [
2691
+ _("div", fs, [
2689
2692
  (T = (z = n.pre) == null ? void 0 : z.inside) != null && T.action && ((ne = (q = n.pre) == null ? void 0 : q.inside) == null ? void 0 : ne.action) === "clear" && ((ge = i.value) == null ? void 0 : ge.length) > 0 ? (d(), f("div", {
2690
2693
  key: 0,
2691
2694
  class: "d-pre-inside-button",
2692
2695
  onClick: N
2693
- }, ms)) : $("", !0),
2696
+ }, hs)) : $("", !0),
2694
2697
  te(_("input", {
2695
2698
  id: M(a),
2696
2699
  ref_key: "inputRef",
@@ -2710,14 +2713,14 @@ const ls = new is(), rs = { style: { display: "flex", "flex-direction": "column"
2710
2713
  l.value ? "focused" : ""
2711
2714
  ]),
2712
2715
  disabled: n.disabled
2713
- }, null, 42, hs), [
2716
+ }, null, 42, gs), [
2714
2717
  [Se, i.value]
2715
2718
  ]),
2716
2719
  (je = (Pe = n.post) == null ? void 0 : Pe.inside) != null && je.action && ((Ye = (Xe = n.post) == null ? void 0 : Xe.inside) == null ? void 0 : Ye.action) === "clear" && ((Ue = i.value) == null ? void 0 : Ue.length) > 0 ? (d(), f("div", {
2717
2720
  key: 1,
2718
2721
  class: "d-post-inside-button",
2719
2722
  onClick: N
2720
- }, vs)) : $("", !0)
2723
+ }, ys)) : $("", !0)
2721
2724
  ]),
2722
2725
  (Ge = (qe = n.post) == null ? void 0 : qe.outside) != null && Ge.component ? (d(), f("div", {
2723
2726
  key: 2,
@@ -2733,8 +2736,8 @@ const ls = new is(), rs = { style: { display: "flex", "flex-direction": "column"
2733
2736
  }, A((tt = (et = n.post) == null ? void 0 : et.outside) == null ? void 0 : tt.text), 3)
2734
2737
  ], 2)) : $("", !0)
2735
2738
  ]),
2736
- n.help ? (d(), f("div", ys, A(n.help), 1)) : $("", !0),
2737
- s.value ? (d(), f("div", _s, A(s.value), 1)) : $("", !0)
2739
+ n.help ? (d(), f("div", _s, A(n.help), 1)) : $("", !0),
2740
+ s.value ? (d(), f("div", bs, A(s.value), 1)) : $("", !0)
2738
2741
  ])
2739
2742
  ], 2);
2740
2743
  };
@@ -2745,7 +2748,7 @@ const ls = new is(), rs = { style: { display: "flex", "flex-direction": "column"
2745
2748
  _t.close = (e) => {
2746
2749
  U.emit("notification-close", e);
2747
2750
  };
2748
- const Ps = () => ({ notify: _t }), js = {
2751
+ const js = () => ({ notify: _t }), Xs = {
2749
2752
  mounted: function(e, t) {
2750
2753
  e.clickOutsideEvent = function(o) {
2751
2754
  e === o.target || e.contains(o.target) || t.value(o, e);
@@ -2754,7 +2757,7 @@ const Ps = () => ({ notify: _t }), js = {
2754
2757
  unmounted: function(e) {
2755
2758
  document.removeEventListener("click", e.clickOutsideEvent);
2756
2759
  }
2757
- }, Xs = {
2760
+ }, Ys = {
2758
2761
  beforeMount(e, t) {
2759
2762
  e._keydownCallback = (o) => {
2760
2763
  o.key === t.arg && t.value();
@@ -2763,7 +2766,7 @@ const Ps = () => ({ notify: _t }), js = {
2763
2766
  unmounted(e, t) {
2764
2767
  document.removeEventListener("keydown", e._keydownCallback), delete e._keydownCallback;
2765
2768
  }
2766
- }, Ys = {
2769
+ }, Us = {
2767
2770
  beforeMount(e) {
2768
2771
  e.focus();
2769
2772
  }
@@ -2774,7 +2777,7 @@ function bt(e) {
2774
2777
  function xt(e) {
2775
2778
  return e.type.indexOf("mouse") !== -1 ? e.clientY : e.touches[0].clientY;
2776
2779
  }
2777
- var bs = function() {
2780
+ var xs = function() {
2778
2781
  var e = !1;
2779
2782
  try {
2780
2783
  var t = Object.defineProperty({}, "passive", {
@@ -2786,7 +2789,7 @@ var bs = function() {
2786
2789
  } catch {
2787
2790
  }
2788
2791
  return e;
2789
- }(), xs = {
2792
+ }(), $s = {
2790
2793
  disableClick: !1,
2791
2794
  tapTolerance: 10,
2792
2795
  // px
@@ -2880,7 +2883,7 @@ function He(e) {
2880
2883
  function Ve(e) {
2881
2884
  e.touchHoldTimer && (clearTimeout(e.touchHoldTimer), e.touchHoldTimer = null);
2882
2885
  }
2883
- function $s(e, t) {
2886
+ function ks(e, t) {
2884
2887
  var o = e.$$touchObj || {
2885
2888
  // an object contains all callbacks registered,
2886
2889
  // key is event name, value is an array
@@ -2888,14 +2891,14 @@ function $s(e, t) {
2888
2891
  // prevent bind twice, set to true when event bound
2889
2892
  hasBindTouchEvents: !1,
2890
2893
  // default options, would be override by v-touch-options
2891
- options: xs
2894
+ options: $s
2892
2895
  };
2893
2896
  return t && (o.options = Object.assign({}, o.options, t)), e.$$touchObj = o, e.$$touchObj;
2894
2897
  }
2895
- const Us = {
2898
+ const qs = {
2896
2899
  beforeMount: function(e, t) {
2897
- const o = $s(e);
2898
- let n = bs ? { passive: !0 } : !1;
2900
+ const o = ks(e);
2901
+ let n = xs ? { passive: !0 } : !1;
2899
2902
  const s = t.arg || "tap";
2900
2903
  switch (s) {
2901
2904
  case "swipe":
@@ -2922,57 +2925,57 @@ const Us = {
2922
2925
  }
2923
2926
  };
2924
2927
  export {
2925
- Ss as DAccordion,
2926
- Zo as DAlertDialog,
2928
+ Ts as DAccordion,
2929
+ Ko as DAlertDialog,
2927
2930
  io as DBadge,
2928
2931
  ae as DButton,
2929
- Es as DCard,
2930
- Ns as DCheckbox,
2932
+ Bs as DCard,
2933
+ Rs as DCheckbox,
2931
2934
  lo as DCollapse,
2932
- Ds as DConfigProvider,
2933
- Jo as DConfirmDialog,
2934
- Lo as DContextMenu,
2935
- Rs as DDialogProvider,
2935
+ Ls as DConfigProvider,
2936
+ Qo as DConfirmDialog,
2937
+ Co as DContextMenu,
2938
+ Os as DDialogProvider,
2936
2939
  uo as DDrag,
2937
- Do as DDrop,
2938
- Is as DDropdown,
2939
- Fs as DForm,
2940
+ Lo as DDrop,
2941
+ Es as DDropdown,
2942
+ Ws as DForm,
2940
2943
  pe as DGlobalStore,
2941
- Hs as DGrid,
2944
+ Vs as DGrid,
2942
2945
  de as DIcon,
2943
2946
  ee as DIconStore,
2944
- Vs as DImage,
2945
- Ms as DInfoProgress,
2946
- ws as DInput,
2947
- Ws as DInputString,
2948
- Ts as DLayoutAdmin,
2949
- No as DLayoutContent,
2950
- Bo as DLayoutFooter,
2951
- Io as DLayoutHeader,
2952
- Mo as DLayoutSidebar,
2953
- Eo as DLayoutTab,
2947
+ zs as DImage,
2948
+ Ns as DInfoProgress,
2949
+ Ss as DInput,
2950
+ Ps as DInputString,
2951
+ Ds as DLayoutAdmin,
2952
+ Ro as DLayoutContent,
2953
+ Mo as DLayoutFooter,
2954
+ Eo as DLayoutHeader,
2955
+ No as DLayoutSidebar,
2956
+ Bo as DLayoutTab,
2954
2957
  ht as DMenu,
2955
2958
  vt as DModal,
2956
- Bs as DNotificationProvider,
2957
- nn as DPanel,
2958
- Cs as DScroll,
2959
- Ls as DScrollProvider,
2960
- Os as DSelect,
2961
- As as DTabs,
2962
- zs as DTextarea,
2959
+ Ms as DNotificationProvider,
2960
+ sn as DPanel,
2961
+ Is as DScroll,
2962
+ Cs as DScrollProvider,
2963
+ As as DSelect,
2964
+ Hs as DTabs,
2965
+ Fs as DTextarea,
2963
2966
  Te as DTransferStore,
2964
2967
  gt as DTree,
2965
- So as DTreeItem,
2968
+ To as DTreeItem,
2966
2969
  v as DTreeStore,
2967
2970
  Y as Rules,
2968
- Bn as alert,
2969
- js as clickOutside,
2970
- En as confirm,
2971
+ Mn as alert,
2972
+ Xs as clickOutside,
2973
+ Bn as confirm,
2971
2974
  U as emitter,
2972
- To as eventsBus,
2973
- Ys as focus,
2974
- Xs as keydown,
2975
+ Do as eventsBus,
2976
+ Us as focus,
2977
+ Ys as keydown,
2975
2978
  _t as notify,
2976
- Us as touch,
2977
- Ps as useNotification
2979
+ qs as touch,
2980
+ js as useNotification
2978
2981
  };