@dao-style/core 1.6.1-beta.4 → 1.6.1-beta.6

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.
@@ -1,4 +1,4 @@
1
- import { ref as G, computed as k, defineComponent as q, toRefs as Ee, openBlock as T, createElementBlock as C, normalizeClass as j, withKeys as Fe, createElementVNode as R, normalizeStyle as tt, renderSlot as S, withDirectives as Me, vShow as Be, getCurrentInstance as wt, onBeforeUnmount as Bt, onMounted as gt, nextTick as Yt, getCurrentScope as oc, onScopeDispose as ac, watch as se, unref as ie, reactive as Ne, resolveComponent as U, createBlock as ue, Teleport as er, createVNode as Z, Transition as Qt, withCtx as z, createTextVNode as oe, toDisplayString as Y, createSlots as ht, createCommentVNode as V, h as rt, inject as _e, onUnmounted as to, shallowRef as sc, onBeforeMount as rc, Fragment as Ie, Text as lc, provide as Oe, mergeProps as On, withModifiers as ze, vModelText as tr, renderList as Qe, normalizeProps as Pa, guardReactiveProps as Ra, toRef as nr, resolveDynamicComponent as or, watchEffect as no, readonly as ic, TransitionGroup as cc } from "vue";
1
+ import { ref as G, computed as k, defineComponent as q, toRefs as Ee, openBlock as T, createElementBlock as C, normalizeClass as j, withKeys as Fe, createElementVNode as R, normalizeStyle as tt, renderSlot as S, withDirectives as Me, vShow as Be, getCurrentInstance as wt, onBeforeUnmount as Bt, onMounted as gt, nextTick as Qt, getCurrentScope as oc, onScopeDispose as ac, watch as se, unref as ie, reactive as Ne, resolveComponent as U, createBlock as ue, Teleport as er, createVNode as Z, Transition as Xt, withCtx as z, createTextVNode as oe, toDisplayString as Y, createSlots as ht, createCommentVNode as V, h as rt, inject as _e, onUnmounted as to, shallowRef as sc, onBeforeMount as rc, Fragment as Ie, Text as lc, provide as Oe, mergeProps as On, withModifiers as ze, vModelText as tr, renderList as Qe, normalizeProps as Pa, guardReactiveProps as Ra, toRef as nr, resolveDynamicComponent as or, watchEffect as no, readonly as ic, TransitionGroup as cc } from "vue";
2
2
  const So = G(), uc = () => k(() => So.value);
3
3
  function dc(e) {
4
4
  const t = e;
@@ -876,7 +876,7 @@ function It(e) {
876
876
  return s.replace(/%s/, a);
877
877
  }, e);
878
878
  }
879
- var Wt = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', yu = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', Wa = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
879
+ var Ht = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', yu = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', Wa = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
880
880
  function bu(e) {
881
881
  e.forEach(function(t) {
882
882
  [].concat(Object.keys(t), Wa).filter(function(n, o, s) {
@@ -884,25 +884,25 @@ function bu(e) {
884
884
  }).forEach(function(n) {
885
885
  switch (n) {
886
886
  case "name":
887
- typeof t.name != "string" && console.error(It(Wt, String(t.name), '"name"', '"string"', '"' + String(t.name) + '"'));
887
+ typeof t.name != "string" && console.error(It(Ht, String(t.name), '"name"', '"string"', '"' + String(t.name) + '"'));
888
888
  break;
889
889
  case "enabled":
890
- typeof t.enabled != "boolean" && console.error(It(Wt, t.name, '"enabled"', '"boolean"', '"' + String(t.enabled) + '"'));
890
+ typeof t.enabled != "boolean" && console.error(It(Ht, t.name, '"enabled"', '"boolean"', '"' + String(t.enabled) + '"'));
891
891
  break;
892
892
  case "phase":
893
- Io.indexOf(t.phase) < 0 && console.error(It(Wt, t.name, '"phase"', "either " + Io.join(", "), '"' + String(t.phase) + '"'));
893
+ Io.indexOf(t.phase) < 0 && console.error(It(Ht, t.name, '"phase"', "either " + Io.join(", "), '"' + String(t.phase) + '"'));
894
894
  break;
895
895
  case "fn":
896
- typeof t.fn != "function" && console.error(It(Wt, t.name, '"fn"', '"function"', '"' + String(t.fn) + '"'));
896
+ typeof t.fn != "function" && console.error(It(Ht, t.name, '"fn"', '"function"', '"' + String(t.fn) + '"'));
897
897
  break;
898
898
  case "effect":
899
- t.effect != null && typeof t.effect != "function" && console.error(It(Wt, t.name, '"effect"', '"function"', '"' + String(t.fn) + '"'));
899
+ t.effect != null && typeof t.effect != "function" && console.error(It(Ht, t.name, '"effect"', '"function"', '"' + String(t.fn) + '"'));
900
900
  break;
901
901
  case "requires":
902
- t.requires != null && !Array.isArray(t.requires) && console.error(It(Wt, t.name, '"requires"', '"array"', '"' + String(t.requires) + '"'));
902
+ t.requires != null && !Array.isArray(t.requires) && console.error(It(Ht, t.name, '"requires"', '"array"', '"' + String(t.requires) + '"'));
903
903
  break;
904
904
  case "requiresIfExists":
905
- Array.isArray(t.requiresIfExists) || console.error(It(Wt, t.name, '"requiresIfExists"', '"array"', '"' + String(t.requiresIfExists) + '"'));
905
+ Array.isArray(t.requiresIfExists) || console.error(It(Ht, t.name, '"requiresIfExists"', '"array"', '"' + String(t.requiresIfExists) + '"'));
906
906
  break;
907
907
  case "options":
908
908
  case "data":
@@ -1079,7 +1079,7 @@ function Ou(e) {
1079
1079
  wt() && Bt(e);
1080
1080
  }
1081
1081
  function Cu(e, t = !0) {
1082
- wt() ? gt(e) : t ? e() : Yt(e);
1082
+ wt() ? gt(e) : t ? e() : Qt(e);
1083
1083
  }
1084
1084
  function Xn(e) {
1085
1085
  var t;
@@ -1159,7 +1159,7 @@ const pa = () => (qa += 1, `popper_${qa}_${Date.now()}`), Su = (e, t, n) => {
1159
1159
  }, Iu = (e, t, n) => {
1160
1160
  e && t && n && e.removeEventListener(t, n, !1);
1161
1161
  };
1162
- function Ht(e, t, n = {}) {
1162
+ function Gt(e, t, n = {}) {
1163
1163
  let o;
1164
1164
  Array.isArray(t) ? o = t : o = [t], e.setOptions((s) => ({
1165
1165
  ...s,
@@ -1234,7 +1234,7 @@ const ma = (e, t, n, o = Qn) => {
1234
1234
  ...ie(m),
1235
1235
  modifiers: le
1236
1236
  };
1237
- a && r && (s = Nu(a, r, De)), await Yt(), y.value = !0, s == null || s.update();
1237
+ a && r && (s = Nu(a, r, De)), await Qt(), y.value = !0, s == null || s.update();
1238
1238
  }, b = (P) => {
1239
1239
  if (s) {
1240
1240
  P && P(), s == null || s.update();
@@ -1244,12 +1244,12 @@ const ma = (e, t, n, o = Qn) => {
1244
1244
  }, L = () => {
1245
1245
  s && (s.destroy(), s = null);
1246
1246
  }, A = () => {
1247
- ie(y) || (s && (y.value = !0, Ht(s, {
1247
+ ie(y) || (s && (y.value = !0, Gt(s, {
1248
1248
  name: "eventListeners",
1249
1249
  enabled: !0
1250
1250
  }), o("after-show")), b());
1251
1251
  }, W = () => {
1252
- !ie(y) || (y.value = !1, s && Ht(s, {
1252
+ !ie(y) || (y.value = !1, s && Gt(s, {
1253
1253
  name: "eventListeners",
1254
1254
  enabled: !1
1255
1255
  }), o("after-hide"));
@@ -1296,7 +1296,7 @@ const ma = (e, t, n, o = Qn) => {
1296
1296
  pe(Iu);
1297
1297
  }, ge = se(c, (P) => {
1298
1298
  s && b(() => {
1299
- s && Ht(s, {
1299
+ s && Gt(s, {
1300
1300
  name: "offset",
1301
1301
  options: {
1302
1302
  offset: [0, Number(P)]
@@ -1305,7 +1305,7 @@ const ma = (e, t, n, o = Qn) => {
1305
1305
  });
1306
1306
  }), he = se(() => h.value, (P) => {
1307
1307
  s && P && b(() => {
1308
- s && Ht(s, {
1308
+ s && Gt(s, {
1309
1309
  name: "preventOverflow",
1310
1310
  options: {
1311
1311
  boundary: P
@@ -1314,13 +1314,13 @@ const ma = (e, t, n, o = Qn) => {
1314
1314
  });
1315
1315
  }), $e = se(() => f.value, (P) => {
1316
1316
  s && b(() => {
1317
- s && Ht(s, [], {
1317
+ s && Gt(s, [], {
1318
1318
  placement: P
1319
1319
  });
1320
1320
  });
1321
1321
  }), Ae = se([v, w], ([P]) => {
1322
1322
  s && b(() => {
1323
- s && i && Ht(s, [
1323
+ s && i && Gt(s, [
1324
1324
  Ba,
1325
1325
  {
1326
1326
  name: "arrow",
@@ -1333,7 +1333,7 @@ const ma = (e, t, n, o = Qn) => {
1333
1333
  });
1334
1334
  }), F = se(m, (P) => {
1335
1335
  s && b(() => {
1336
- s && Ht(s, [], P);
1336
+ s && Gt(s, [], P);
1337
1337
  });
1338
1338
  });
1339
1339
  return Cu(() => {
@@ -1437,7 +1437,7 @@ function Lu(e, t, n, o, s, a) {
1437
1437
  to: e.actualAppendTo,
1438
1438
  disabled: e.isTelDisabled
1439
1439
  }, [
1440
- Z(Qt, { name: e.transition }, {
1440
+ Z(Xt, { name: e.transition }, {
1441
1441
  default: z(() => [
1442
1442
  Me(Z(r, {
1443
1443
  ref: "popper",
@@ -1586,12 +1586,12 @@ function Bu(e, t, n, o, s, a) {
1586
1586
  ]), 1032, ["content", "disabled"])
1587
1587
  ], 10, Fu));
1588
1588
  }
1589
- const Vu = /* @__PURE__ */ x(Pu, [["render", Bu]]), zu = Vu, Zt = zu;
1589
+ const Vu = /* @__PURE__ */ x(Pu, [["render", Bu]]), zu = Vu, zt = zu;
1590
1590
  const Rt = typeof window < "u";
1591
- let Je, Xt;
1591
+ let Je, qt;
1592
1592
  if (process.env.NODE_ENV !== "production") {
1593
1593
  const e = Rt && window.performance;
1594
- e && e.mark && e.measure && e.clearMarks && e.clearMeasures && (Je = (t) => e.mark(t), Xt = (t, n, o) => {
1594
+ e && e.mark && e.measure && e.clearMarks && e.clearMeasures && (Je = (t) => e.mark(t), qt = (t, n, o) => {
1595
1595
  e.measure(t, n, o), e.clearMarks(n), e.clearMarks(o);
1596
1596
  });
1597
1597
  }
@@ -2403,25 +2403,25 @@ const Sr = {
2403
2403
  I18nInit: "i18n:init",
2404
2404
  FunctionTranslate: "function:translate"
2405
2405
  };
2406
- const zt = [];
2407
- zt[0] = {
2406
+ const Ut = [];
2407
+ Ut[0] = {
2408
2408
  w: [0],
2409
2409
  i: [3, 0],
2410
2410
  ["["]: [4],
2411
2411
  o: [7]
2412
2412
  };
2413
- zt[1] = {
2413
+ Ut[1] = {
2414
2414
  w: [1],
2415
2415
  ["."]: [2],
2416
2416
  ["["]: [4],
2417
2417
  o: [7]
2418
2418
  };
2419
- zt[2] = {
2419
+ Ut[2] = {
2420
2420
  w: [2],
2421
2421
  i: [3, 0],
2422
2422
  [0]: [3, 0]
2423
2423
  };
2424
- zt[3] = {
2424
+ Ut[3] = {
2425
2425
  i: [3, 0],
2426
2426
  [0]: [3, 0],
2427
2427
  w: [1, 1],
@@ -2429,7 +2429,7 @@ zt[3] = {
2429
2429
  ["["]: [4, 1],
2430
2430
  o: [7, 1]
2431
2431
  };
2432
- zt[4] = {
2432
+ Ut[4] = {
2433
2433
  ["'"]: [5, 0],
2434
2434
  ['"']: [6, 0],
2435
2435
  ["["]: [
@@ -2440,12 +2440,12 @@ zt[4] = {
2440
2440
  o: 8,
2441
2441
  l: [4, 0]
2442
2442
  };
2443
- zt[5] = {
2443
+ Ut[5] = {
2444
2444
  ["'"]: [4, 0],
2445
2445
  o: 8,
2446
2446
  l: [5, 0]
2447
2447
  };
2448
- zt[6] = {
2448
+ Ut[6] = {
2449
2449
  ['"']: [4, 0],
2450
2450
  o: 8,
2451
2451
  l: [6, 0]
@@ -2513,7 +2513,7 @@ function Td(e) {
2513
2513
  }
2514
2514
  for (; o !== null; )
2515
2515
  if (n++, a = e[n], !(a === "\\" && f())) {
2516
- if (l = $d(a), u = zt[o], d = u[l] || u.l || 8, d === 8 || (o = d[0], d[1] !== void 0 && (c = m[d[1]], c && (i = a, c() === !1))))
2516
+ if (l = $d(a), u = Ut[o], d = u[l] || u.l || 8, d === 8 || (o = d[0], d[1] !== void 0 && (c = m[d[1]], c && (i = a, c() === !1))))
2517
2517
  return;
2518
2518
  if (o === 7)
2519
2519
  return t;
@@ -2842,7 +2842,7 @@ function Br(e, t, n, o, s, a) {
2842
2842
  message: f,
2843
2843
  time: O - y,
2844
2844
  groupId: `${h}:${t}`
2845
- }), w && N && Je && Xt && (Je(N), Xt("intlify message resolve", w, N));
2845
+ }), w && N && Je && qt && (Je(N), qt("intlify message resolve", w, N));
2846
2846
  }
2847
2847
  if (Q(f) || je(f))
2848
2848
  break;
@@ -2877,7 +2877,7 @@ function Vr(e, t, n, o, s, a) {
2877
2877
  message: o,
2878
2878
  time: m - l,
2879
2879
  groupId: `translate:${t}`
2880
- }), d && c && Je && Xt && (Je(c), Xt("intlify message compilation", d, c));
2880
+ }), d && c && Je && qt && (Je(c), qt("intlify message compilation", d, c));
2881
2881
  }
2882
2882
  return u.locale = n, u.key = t, u.source = o, u;
2883
2883
  }
@@ -2892,7 +2892,7 @@ function af(e, t, n) {
2892
2892
  value: r,
2893
2893
  time: i - o,
2894
2894
  groupId: `translate:${t.key}`
2895
- }), s && a && Je && Xt && (Je(a), Xt("intlify message evaluation", s, a));
2895
+ }), s && a && Je && qt && (Je(a), qt("intlify message evaluation", s, a));
2896
2896
  }
2897
2897
  return r;
2898
2898
  }
@@ -3346,20 +3346,20 @@ function vf(e = {}, t) {
3346
3346
  else
3347
3347
  ft = $(D);
3348
3348
  if (Ge(ft) && ft === fo) {
3349
- const [Ut, nc] = I();
3350
- if (process.env.NODE_ENV !== "production" && n && Q(Ut) && fe(ee, nc) && (m && (mo(u, Ut) || Fr(c, Ut)) && Bn(Gr(Et.FALLBACK_TO_ROOT, {
3351
- key: Ut,
3349
+ const [Wt, nc] = I();
3350
+ if (process.env.NODE_ENV !== "production" && n && Q(Wt) && fe(ee, nc) && (m && (mo(u, Wt) || Fr(c, Wt)) && Bn(Gr(Et.FALLBACK_TO_ROOT, {
3351
+ key: Wt,
3352
3352
  type: ee
3353
3353
  })), process.env.NODE_ENV !== "production")) {
3354
3354
  const { __v_emitter: Aa } = D;
3355
3355
  Aa && m && Aa.emit("fallback", {
3356
3356
  type: ee,
3357
- key: Ut,
3357
+ key: Wt,
3358
3358
  to: "global",
3359
- groupId: `${ee}:${Ut}`
3359
+ groupId: `${ee}:${Wt}`
3360
3360
  });
3361
3361
  }
3362
- return n && m ? X(n) : be(Ut);
3362
+ return n && m ? X(n) : be(Wt);
3363
3363
  } else {
3364
3364
  if (St(ft))
3365
3365
  return ft;
@@ -4158,18 +4158,18 @@ function Nm(e, t) {
4158
4158
  var n = this.__data__;
4159
4159
  return this.size += this.has(e) ? 0 : 1, n[e] = Ln && t === void 0 ? Tm : t, this;
4160
4160
  }
4161
- function qt(e) {
4161
+ function Zt(e) {
4162
4162
  var t = -1, n = e == null ? 0 : e.length;
4163
4163
  for (this.clear(); ++t < n; ) {
4164
4164
  var o = e[t];
4165
4165
  this.set(o[0], o[1]);
4166
4166
  }
4167
4167
  }
4168
- qt.prototype.clear = vm;
4169
- qt.prototype.delete = gm;
4170
- qt.prototype.get = _m;
4171
- qt.prototype.has = Dm;
4172
- qt.prototype.set = Nm;
4168
+ Zt.prototype.clear = vm;
4169
+ Zt.prototype.delete = gm;
4170
+ Zt.prototype.get = _m;
4171
+ Zt.prototype.has = Dm;
4172
+ Zt.prototype.set = Nm;
4173
4173
  function wm() {
4174
4174
  this.__data__ = [], this.size = 0;
4175
4175
  }
@@ -4214,9 +4214,9 @@ var Lm = gn(bt, "Map");
4214
4214
  const An = Lm;
4215
4215
  function Am() {
4216
4216
  this.size = 0, this.__data__ = {
4217
- hash: new qt(),
4217
+ hash: new Zt(),
4218
4218
  map: new (An || Ot)(),
4219
- string: new qt()
4219
+ string: new Zt()
4220
4220
  };
4221
4221
  }
4222
4222
  function Pm(e) {
@@ -4371,8 +4371,8 @@ var mv = gn(bt, "Promise");
4371
4371
  const Yo = mv;
4372
4372
  var vv = gn(bt, "Set");
4373
4373
  const Qo = vv;
4374
- var Ps = "[object Map]", gv = "[object Object]", Rs = "[object Promise]", Fs = "[object Set]", js = "[object WeakMap]", Bs = "[object DataView]", hv = Jt(Ko), yv = Jt(An), bv = Jt(Yo), _v = Jt(Qo), Ev = Jt(Go), Gt = vn;
4375
- (Ko && Gt(new Ko(new ArrayBuffer(1))) != Bs || An && Gt(new An()) != Ps || Yo && Gt(Yo.resolve()) != Rs || Qo && Gt(new Qo()) != Fs || Go && Gt(new Go()) != js) && (Gt = function(e) {
4374
+ var Ps = "[object Map]", gv = "[object Object]", Rs = "[object Promise]", Fs = "[object Set]", js = "[object WeakMap]", Bs = "[object DataView]", hv = Jt(Ko), yv = Jt(An), bv = Jt(Yo), _v = Jt(Qo), Ev = Jt(Go), Kt = vn;
4375
+ (Ko && Kt(new Ko(new ArrayBuffer(1))) != Bs || An && Kt(new An()) != Ps || Yo && Kt(Yo.resolve()) != Rs || Qo && Kt(new Qo()) != Fs || Go && Kt(new Go()) != js) && (Kt = function(e) {
4376
4376
  var t = vn(e), n = t == gv ? e.constructor : void 0, o = n ? Jt(n) : "";
4377
4377
  if (o)
4378
4378
  switch (o) {
@@ -4389,7 +4389,7 @@ var Ps = "[object Map]", gv = "[object Object]", Rs = "[object Promise]", Fs = "
4389
4389
  }
4390
4390
  return t;
4391
4391
  });
4392
- const Xo = Gt;
4392
+ const Xo = Kt;
4393
4393
  var $v = bt.Uint8Array;
4394
4394
  const Vs = $v;
4395
4395
  var Dv = "__lodash_hash_undefined__";
@@ -5654,7 +5654,7 @@ const uh = /* @__PURE__ */ x(th, [["render", ch]]), dh = uh, Nl = dh, fh = q({
5654
5654
  return (((p = s == null ? void 0 : s.options) == null ? void 0 : p.indexOf(d)) ?? -1) === (s == null ? void 0 : s.optionFocusIndex);
5655
5655
  });
5656
5656
  se(m, (_) => {
5657
- Yt(() => {
5657
+ Qt(() => {
5658
5658
  if (_) {
5659
5659
  const p = t.value;
5660
5660
  (p == null ? void 0 : p.scrollIntoViewIfNeeded) && (p == null ? void 0 : p.scrollIntoViewIfNeeded(!1)) || p != null && p.scrollIntoView && p.scrollIntoView(!1);
@@ -5845,7 +5845,7 @@ const gh = /* @__PURE__ */ x(fh, [["render", vh]]), hh = gh, Ta = hh, wl = {
5845
5845
  }, h = (b) => {
5846
5846
  setTimeout(
5847
5847
  () => {
5848
- Yt(() => {
5848
+ Qt(() => {
5849
5849
  n.value && (n.value = !1), t("blur", b);
5850
5850
  });
5851
5851
  }
@@ -5870,7 +5870,7 @@ const gh = /* @__PURE__ */ x(fh, [["render", vh]]), hh = gh, Ta = hh, wl = {
5870
5870
  !this.cleanup && b && (this.cleanup = fa(
5871
5871
  b,
5872
5872
  (L) => {
5873
- Yt(() => {
5873
+ Qt(() => {
5874
5874
  n.value = !1, h(L);
5875
5875
  });
5876
5876
  }
@@ -6695,7 +6695,7 @@ const py = /* @__PURE__ */ x(cy, [["render", fy]]), my = py, at = my, tn = "dao-
6695
6695
  }, vy = q({
6696
6696
  name: "DaoDialogHeader",
6697
6697
  components: {
6698
- DaoActionIcon: Zt,
6698
+ DaoActionIcon: zt,
6699
6699
  DaoEllipsis: at
6700
6700
  },
6701
6701
  props: Wl,
@@ -6724,8 +6724,9 @@ function yy(e, t, n, o, s, a) {
6724
6724
  ]),
6725
6725
  e.showClose ? (T(), ue(i, {
6726
6726
  key: 0,
6727
- class: "dao-action-icon--close",
6727
+ class: "dao-dialog__header--close",
6728
6728
  name: "icon-close",
6729
+ type: "simple",
6729
6730
  onClick: e.onClose
6730
6731
  }, null, 8, ["onClick"])) : V("", !0)
6731
6732
  ])
@@ -6866,7 +6867,7 @@ const Ql = /* @__PURE__ */ x(by, [["render", Ey]]), $y = q({
6866
6867
  const Dy = { class: "dao-dialog__body" };
6867
6868
  function Ty(e, t, n, o, s, a) {
6868
6869
  const r = U("dialog-header"), i = U("dialog-footer");
6869
- return T(), ue(Qt, {
6870
+ return T(), ue(Xt, {
6870
6871
  appear: "",
6871
6872
  name: "dao-dialog",
6872
6873
  onBeforeEnter: e.onBeforeEnter,
@@ -6987,7 +6988,7 @@ const Ny = /* @__PURE__ */ x($y, [["render", Ty]]), wy = Ny, ky = wy, Oy = Ql, C
6987
6988
  const s = 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]';
6988
6989
  if (e) {
6989
6990
  const a = Array.from(e.querySelectorAll(s));
6990
- n = a[0], o = a[a.length - 1], n == null || n.focus();
6991
+ n = a[0], o = a[a.length - 1];
6991
6992
  }
6992
6993
  return {
6993
6994
  lastTab: o,
@@ -7000,7 +7001,7 @@ const Ny = /* @__PURE__ */ x($y, [["render", Ty]]), wy = Ny, ky = wy, Oy = Ql, C
7000
7001
  name: "DaoDrawer",
7001
7002
  components: {
7002
7003
  DaoButton: xt,
7003
- DaoActionIcon: Zt,
7004
+ DaoActionIcon: zt,
7004
7005
  DaoEllipsis: at
7005
7006
  },
7006
7007
  props: Xl,
@@ -7085,7 +7086,7 @@ const Py = { class: "dao-drawer__content" }, Ry = {
7085
7086
  function zy(e, t, n, o, s, a) {
7086
7087
  const r = U("dao-ellipsis"), i = U("dao-action-icon"), l = U("dao-button");
7087
7088
  return T(), C("div", null, [
7088
- Z(Qt, {
7089
+ Z(Xt, {
7089
7090
  name: "fade-in",
7090
7091
  appear: ""
7091
7092
  }, {
@@ -7107,7 +7108,7 @@ function zy(e, t, n, o, s, a) {
7107
7108
  onClick: t[2] || (t[2] = (...d) => e.handleWrapClick && e.handleWrapClick(...d)),
7108
7109
  onKeydown: t[3] || (t[3] = (...d) => e.handleWrapClick && e.handleWrapClick(...d))
7109
7110
  }, [
7110
- Z(Qt, {
7111
+ Z(Xt, {
7111
7112
  name: "slide-in-right",
7112
7113
  appear: "",
7113
7114
  onAfterEnter: e.onBeforeEnter,
@@ -7129,7 +7130,8 @@ function zy(e, t, n, o, s, a) {
7129
7130
  }),
7130
7131
  e.hideCloseIcon ? V("", !0) : (T(), ue(i, {
7131
7132
  key: 0,
7132
- class: "dao-action-icon--close",
7133
+ class: "dao-drawer__header--close",
7134
+ type: "simple",
7133
7135
  name: "icon-close",
7134
7136
  onClick: e.close
7135
7137
  }, null, 8, ["onClick"]))
@@ -7404,7 +7406,7 @@ function sb(e, t, n, o, s, a) {
7404
7406
  })) : S(e.$slots, "action", { key: 1 })
7405
7407
  ])) : V("", !0)
7406
7408
  ]),
7407
- Z(Qt, {
7409
+ Z(Xt, {
7408
7410
  name: "dao-expansion-item",
7409
7411
  onBeforeEnter: e.onBeforeEnter,
7410
7412
  onEnter: e.onEnter,
@@ -7852,6 +7854,9 @@ const Yb = /* @__PURE__ */ x(Gb, [["render", Kb]]), Qb = Yb, Xb = Qb, qb = mi, Z
7852
7854
  show: () => B()
7853
7855
  }, Jb = q({
7854
7856
  name: "DaoMessage",
7857
+ components: {
7858
+ DaoActionIcon: zt
7859
+ },
7855
7860
  props: vi,
7856
7861
  emits: Object.keys(gi),
7857
7862
  setup(e, { emit: t, slots: n }) {
@@ -7861,7 +7866,7 @@ const Yb = /* @__PURE__ */ x(Gb, [["render", Kb]]), Qb = Yb, Xb = Qb, qb = mi, Z
7861
7866
  }
7862
7867
  let i = !1;
7863
7868
  se(a, async (c) => {
7864
- !c && i ? (t("beforeClose"), await Yt(), t("closed")) : c && (t("beforeShow"), await Yt(), t("show"));
7869
+ !c && i ? (t("beforeClose"), await Qt(), t("closed")) : c && (t("beforeShow"), await Qt(), t("show"));
7865
7870
  }, {
7866
7871
  immediate: !0
7867
7872
  }), gt(() => {
@@ -7885,11 +7890,12 @@ const xb = { class: "dao-message-icon" }, e_ = { class: "dao-message-section" },
7885
7890
  class: "dao-message-content"
7886
7891
  };
7887
7892
  function o_(e, t, n, o, s, a) {
7893
+ const r = U("dao-action-icon");
7888
7894
  return e.isMessageShow ? (T(), C("div", {
7889
7895
  key: 0,
7890
7896
  class: j(["dao-message-outer", e.typeClass]),
7891
7897
  tabindex: "1",
7892
- onKeydown: t[1] || (t[1] = Fe(ze((...r) => e.closeMessage && e.closeMessage(...r), ["self"]), ["esc"]))
7898
+ onKeydown: t[0] || (t[0] = Fe(ze((...i) => e.closeMessage && e.closeMessage(...i), ["self"]), ["esc"]))
7893
7899
  }, [
7894
7900
  S(e.$slots, "main", {}, () => [
7895
7901
  R("div", {
@@ -7915,11 +7921,13 @@ function o_(e, t, n, o, s, a) {
7915
7921
  ])
7916
7922
  ])
7917
7923
  ]),
7918
- e.isCloseShow ? (T(), C("i", {
7924
+ e.isCloseShow ? (T(), ue(r, {
7919
7925
  key: 0,
7920
- class: "icon-close dao-message-close",
7921
- onClick: t[0] || (t[0] = (...r) => e.closeMessage && e.closeMessage(...r))
7922
- })) : V("", !0)
7926
+ type: "simple",
7927
+ name: "icon-close",
7928
+ class: "dao-message-close",
7929
+ onClick: e.closeMessage
7930
+ }, null, 8, ["onClick"])) : V("", !0)
7923
7931
  ], 2)
7924
7932
  ])
7925
7933
  ], 34)) : V("", !0);
@@ -8394,7 +8402,7 @@ function F_(e, t, n, o, s, a) {
8394
8402
  ]),
8395
8403
  !e.realLocked && e.fold ? (T(), C("i", L_)) : V("", !0)
8396
8404
  ], 34),
8397
- Z(Qt, { name: "dao-nav" }, {
8405
+ Z(Xt, { name: "dao-nav" }, {
8398
8406
  default: z(() => [
8399
8407
  Me(R("div", null, [
8400
8408
  A_,
@@ -9190,7 +9198,7 @@ function LE(e, t, n, o, s, a) {
9190
9198
  const AE = /* @__PURE__ */ x(ME, [["render", LE]]), PE = q({
9191
9199
  name: "DaoToolbar",
9192
9200
  components: {
9193
- DaoActionIcon: Zt,
9201
+ DaoActionIcon: zt,
9194
9202
  DaoToolbarFilter: AE,
9195
9203
  DaoTag: Pi
9196
9204
  },
@@ -9387,7 +9395,7 @@ const qE = /* @__PURE__ */ x(KE, [["render", XE]]), ZE = qE, Ma = ZE, zi = {
9387
9395
  DaoButton: xt,
9388
9396
  DaoPopper: mn,
9389
9397
  DaoCheckbox: Eo,
9390
- DaoActionIcon: Zt,
9398
+ DaoActionIcon: zt,
9391
9399
  DaoCheckboxGroup: Fl,
9392
9400
  DaoEllipsis: at,
9393
9401
  DaoTooltip: At,
@@ -9684,7 +9692,7 @@ const Wi = {
9684
9692
  ...Ia
9685
9693
  }, i$ = q({
9686
9694
  components: {
9687
- DaoActionIcon: Zt,
9695
+ DaoActionIcon: zt,
9688
9696
  DaoDropdown: bo,
9689
9697
  DaoDropdownMenu: Da
9690
9698
  },
@@ -10299,7 +10307,7 @@ function R$(e, t, n, o, s, a) {
10299
10307
  ];
10300
10308
  })
10301
10309
  ]),
10302
- Z(Qt, {
10310
+ Z(Xt, {
10303
10311
  name: "dao-fade",
10304
10312
  mode: "out-in"
10305
10313
  }, {
@@ -10693,7 +10701,7 @@ const sD = ["normal", "full"], wn = {
10693
10701
  components: {
10694
10702
  DaoCheckbox: Eo,
10695
10703
  DaoInput: Vn,
10696
- DaoActionIcon: Zt,
10704
+ DaoActionIcon: zt,
10697
10705
  DaoTextButton: _o,
10698
10706
  DaoEllipsis: at,
10699
10707
  DaoEmpty: Ma
@@ -11159,7 +11167,7 @@ function fD(e, t, n, o, s, a) {
11159
11167
  }
11160
11168
  const pD = /* @__PURE__ */ x(dD, [["render", fD]]), mD = pD, vD = mD, gD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11161
11169
  __proto__: null,
11162
- DaoActionIcon: Zt,
11170
+ DaoActionIcon: zt,
11163
11171
  actionIconProps: Or,
11164
11172
  DaoAutocomplete: $h,
11165
11173
  autocompleteProps: wl,
@@ -11330,7 +11338,7 @@ const hD = (e) => {
11330
11338
  Object.values(gD).forEach((t) => {
11331
11339
  ec(t) && t.name && e.component(t.name, t);
11332
11340
  });
11333
- }, yD = hD, Kt = Ne(
11341
+ }, yD = hD, Yt = Ne(
11334
11342
  /* @__PURE__ */ new Map()
11335
11343
  ), bD = q({
11336
11344
  name: "DaoPopperContentWrapper",
@@ -11342,7 +11350,7 @@ const hD = (e) => {
11342
11350
  var n;
11343
11351
  return [
11344
11352
  (n = t == null ? void 0 : t.default) == null ? void 0 : n.call(t),
11345
- ...Array.from(Kt.values()).map(({
11353
+ ...Array.from(Yt.values()).map(({
11346
11354
  content: o,
11347
11355
  props: s,
11348
11356
  resolve: a,
@@ -11364,9 +11372,9 @@ const hD = (e) => {
11364
11372
  }), kn = /* @__PURE__ */ new WeakMap(), oa = /* @__PURE__ */ new WeakMap(), tc = (e, t, n) => {
11365
11373
  const o = pa();
11366
11374
  kn.set(e, o);
11367
- const s = Kt.get(o) || {};
11375
+ const s = Yt.get(o) || {};
11368
11376
  return new Promise((a, r) => {
11369
- Kt.set(o, Ne({
11377
+ Yt.set(o, Ne({
11370
11378
  id: o,
11371
11379
  resolve: a,
11372
11380
  reject: r,
@@ -11424,23 +11432,23 @@ const _D = {
11424
11432
  a.disabled = !t.value, xs(a, t, e), oa.set(e, a), a.isOpen = n, ma(e, s, a);
11425
11433
  },
11426
11434
  updated(e, t) {
11427
- const n = kn.get(e), o = Kt.get(n) ?? {}, s = oa.get(e);
11435
+ const n = kn.get(e), o = Yt.get(n) ?? {}, s = oa.get(e);
11428
11436
  if (s) {
11429
11437
  const a = Ne({
11430
11438
  ...Ee(o)
11431
11439
  });
11432
- a.content = t.value, a.props || (a.props = {}), a.props.width = e.dataset.tooltipWidth ?? $t.width.default, a.props.popperClass = e.dataset.tooltipPopperClass ?? $t.popperClass.default, a.props.visibleArrow = !0, Kt.set(n, a), s.disabled = !t.value, xs(s, t, e);
11440
+ a.content = t.value, a.props || (a.props = {}), a.props.width = e.dataset.tooltipWidth ?? $t.width.default, a.props.popperClass = e.dataset.tooltipPopperClass ?? $t.popperClass.default, a.props.visibleArrow = !0, Yt.set(n, a), s.disabled = !t.value, xs(s, t, e);
11433
11441
  }
11434
11442
  },
11435
11443
  beforeUnmount(e) {
11436
11444
  const t = kn.get(e);
11437
- Kt.delete(t), kn.delete(e);
11445
+ Yt.delete(t), kn.delete(e);
11438
11446
  }
11439
11447
  }, ED = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11440
11448
  __proto__: null,
11441
11449
  vDaoTooltip: _D,
11442
11450
  DaoPopperContentWrapper: bD,
11443
- popperContentMap: Kt,
11451
+ popperContentMap: Yt,
11444
11452
  popperIdWeakMap: kn,
11445
11453
  popperOptionsWeakMap: oa,
11446
11454
  createPopperContent: tc
@@ -11589,7 +11597,7 @@ export {
11589
11597
  Vl as DIALOG_DEFAULT_PADDING_TOP,
11590
11598
  ta as DIALOG_MINIMUM_PADDING,
11591
11599
  tn as DIALOG_NUM_ATTR,
11592
- Zt as DaoActionIcon,
11600
+ zt as DaoActionIcon,
11593
11601
  $h as DaoAutocomplete,
11594
11602
  Il as DaoBatchBar,
11595
11603
  Xb as DaoBreadcrumb,
@@ -11731,7 +11739,7 @@ export {
11731
11739
  iy as popoverEmits,
11732
11740
  jl as popoverProps,
11733
11741
  gr as popperContentEmits,
11734
- Kt as popperContentMap,
11742
+ Yt as popperContentMap,
11735
11743
  vr as popperContentProps,
11736
11744
  so as popperEmits,
11737
11745
  kn as popperIdWeakMap,