tuikit-atomicx-vue3 4.5.1 → 4.5.3

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.
Files changed (122) hide show
  1. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-jPzZ5INK.js → MessageInput.vue_vue_type_script_setup_true_lang-3RVYOdkv.js} +38 -38
  2. package/dist/{PopoverPortal-DghpKKm8.js → PopoverPortal-DV6zFXcf.js} +3 -3
  3. package/dist/{PopoverTrigger-BajjNkGO.js → PopoverTrigger-DIjW4PKa.js} +4 -4
  4. package/dist/{PopperContent-SLoFuK7k.js → PopperContent-D__dbwpA.js} +1 -1
  5. package/dist/{Teleport-DFrneqLM.js → Teleport-98QrIYDI.js} +278 -268
  6. package/dist/baseComp/Modal/Modal.js +3 -3
  7. package/dist/components/AudioSettingPanel/index.js +14 -14
  8. package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +2 -2
  9. package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
  10. package/dist/components/BarrageInput/TextEditor/EditorCore.js +4 -4
  11. package/dist/components/ConversationList/ConversationActions/ConversationActions.js +53 -50
  12. package/dist/components/ConversationList/ConversationActions/ConversationActions.vue.d.ts +2 -0
  13. package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +25 -25
  14. package/dist/components/ConversationList/ConversationList.vue.d.ts +16 -0
  15. package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +16 -0
  16. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +18 -18
  17. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js +13 -13
  18. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.js +11 -11
  19. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +84 -75
  20. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +4 -0
  21. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +14 -14
  22. package/dist/components/ConversationList/i18n/en-US.d.ts +1 -0
  23. package/dist/components/ConversationList/i18n/en-US.js +2 -1
  24. package/dist/components/ConversationList/i18n/zh-CN.d.ts +1 -0
  25. package/dist/components/ConversationList/i18n/zh-CN.js +2 -1
  26. package/dist/components/ConversationList/index.d.ts +48 -0
  27. package/dist/components/LiveScenePanel/index.js +9 -10
  28. package/dist/components/MessageInput/AttachmentPicker/index.js +2 -2
  29. package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +2 -2
  30. package/dist/components/MessageInput/MessageInput.js +1 -1
  31. package/dist/components/MessageInput/TextEditor/EditorCore.js +1 -1
  32. package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +3 -3
  33. package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +1 -1
  34. package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.js +1 -1
  35. package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.js +1 -1
  36. package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +2 -2
  37. package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.js +2 -2
  38. package/dist/components/MessageInput/TextEditor/index.js +1 -1
  39. package/dist/components/MessageInput/index.js +1 -1
  40. package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +3 -3
  41. package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.js +37 -28
  42. package/dist/components/MessageList/MessageList.js +77 -67
  43. package/dist/components/ScheduleRoomPanel/RoomDetail.js +22 -22
  44. package/dist/components/ScheduleRoomPanel/RoomEdit.js +1 -1
  45. package/dist/components/ScheduleRoomPanel/RoomShare.js +4 -4
  46. package/dist/components/ScheduleRoomPanel/ScheduleRoomPanel.js +1 -1
  47. package/dist/components/ScheduleRoomPanel/ScheduledRoomList.js +1 -1
  48. package/dist/components/UIKitModal/chatErrorModal/chatErrorModal.d.ts +72 -0
  49. package/dist/components/UIKitModal/chatErrorModal/chatErrorModal.js +95 -0
  50. package/dist/components/UIKitModal/chatErrorModal/i18n/en-US/index.d.ts +40 -0
  51. package/dist/components/UIKitModal/chatErrorModal/i18n/en-US/index.js +51 -0
  52. package/dist/components/UIKitModal/chatErrorModal/i18n/index.d.ts +4 -0
  53. package/dist/components/UIKitModal/chatErrorModal/i18n/index.js +6 -0
  54. package/dist/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.d.ts +40 -0
  55. package/dist/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.js +51 -0
  56. package/dist/components/UIKitModal/chatErrorModal/index.d.ts +3 -0
  57. package/dist/components/UIKitModal/chatErrorModal/index.js +11 -0
  58. package/dist/components/VideoSettingPanel/index.js +1 -1
  59. package/dist/hooks/useReadReceipt/useReadReceipt.js +44 -41
  60. package/dist/index-CTthrJb2.js +1461 -0
  61. package/dist/{index-CzCDLp99.js → index-DXC5bPY4.js} +32 -32
  62. package/dist/{index-C8Jw_xE4.js → index-DuAffztD.js} +1731 -1648
  63. package/dist/{index-CiYL_XsE.js → index-hHVD-MG2.js} +1 -1
  64. package/dist/index.js +59 -58
  65. package/dist/states/GroupSettingState/GroupSettingState.js +109 -102
  66. package/dist/states/LoginState.js +43 -43
  67. package/dist/states/MessageInputState/MessageInputState.js +75 -78
  68. package/dist/states/MessageListState/MessageListState.js +26 -23
  69. package/dist/states/RoomParticipantState/index.js +83 -24
  70. package/dist/states/RoomParticipantState/participantEventManager.d.ts +2 -2
  71. package/dist/states/RoomParticipantState/participantEventManager.js +217 -205
  72. package/dist/states/RoomParticipantState/participantManager.d.ts +4 -0
  73. package/dist/states/RoomParticipantState/participantManager.js +159 -127
  74. package/dist/states/RoomState/callManager.d.ts +3 -3
  75. package/dist/states/RoomState/callManager.js +20 -20
  76. package/dist/states/RoomState/common.d.ts +3 -2
  77. package/dist/states/RoomState/common.js +34 -24
  78. package/dist/states/RoomState/roomManager.d.ts +1 -1
  79. package/dist/states/RoomState/roomManager.js +37 -34
  80. package/dist/states/RoomState/scheduleManager.js +21 -27
  81. package/dist/styles/index.css +1 -1
  82. package/dist/subEntry/chat/chat.d.ts +48 -0
  83. package/dist/subEntry/live/index.js +46 -45
  84. package/dist/subEntry/room/index.js +39 -38
  85. package/dist/types/beauty.d.ts +20 -0
  86. package/dist/types/index.js +37 -36
  87. package/dist/types/participant.d.ts +2 -0
  88. package/dist/types/room.d.ts +45 -1
  89. package/dist/types/room.js +4 -3
  90. package/dist/{useId-D5WE76CM.js → useId-B1VwPJLm.js} +1 -1
  91. package/dist/utils/call.js +77 -71
  92. package/dist/{utils-CttDpxqz.js → utils-BU8IkP_V.js} +1 -1
  93. package/package.json +5 -6
  94. package/src/components/AudioSettingPanel/index.vue +4 -5
  95. package/src/components/ConversationList/ConversationActions/ConversationActions.vue +7 -1
  96. package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +5 -1
  97. package/src/components/ConversationList/ConversationList.vue +0 -1
  98. package/src/components/ConversationList/ConversationPreview/ConversationPreview.scss +2 -2
  99. package/src/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue +15 -0
  100. package/src/components/ConversationList/i18n/en-US.ts +1 -0
  101. package/src/components/ConversationList/i18n/zh-CN.ts +1 -0
  102. package/src/components/LiveScenePanel/index.vue +0 -1
  103. package/src/components/MessageInput/MessageInput.module.scss +1 -0
  104. package/src/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.vue +12 -3
  105. package/src/components/MessageList/MessageList.vue +14 -0
  106. package/src/components/ScheduleRoomPanel/RoomDetail.vue +1 -0
  107. package/src/components/ScheduleRoomPanel/RoomEdit.vue +2 -1
  108. package/src/components/ScheduleRoomPanel/RoomShare.vue +1 -0
  109. package/src/components/ScheduleRoomPanel/ScheduleRoomPanel.vue +1 -0
  110. package/src/components/ScheduleRoomPanel/ScheduledRoomList.vue +1 -0
  111. package/src/components/UIKitModal/chatErrorModal/chatErrorModal.ts +205 -0
  112. package/src/components/UIKitModal/chatErrorModal/i18n/en-US/index.ts +56 -0
  113. package/src/components/UIKitModal/chatErrorModal/i18n/index.ts +4 -0
  114. package/src/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.ts +56 -0
  115. package/src/components/UIKitModal/chatErrorModal/index.ts +16 -0
  116. package/src/components/VideoSettingPanel/index.vue +1 -0
  117. package/src/hooks/useReadReceipt/useReadReceipt.ts +5 -4
  118. package/src/types/beauty.ts +20 -0
  119. package/src/types/participant.ts +3 -0
  120. package/src/types/room.ts +49 -1
  121. package/src/utils/call.ts +8 -0
  122. package/dist/index-BvFYOUyz.js +0 -2936
@@ -1,10 +1,10 @@
1
- import { P as en, a as tn, Z as Nn, _ as Bn, $ as nn, E as rn, a0 as Vn, a1 as kn, a2 as $n } from "./index-C8Jw_xE4.js";
1
+ import { P as en, a as tn, s as Nn, r as Bn, u as nn, E as rn, v as Vn, x as kn, y as $n } from "./index-DuAffztD.js";
2
2
  import { defineComponent as Ue, shallowRef as In, onMounted as xt, onBeforeUnmount as pt, h as Le, ref as Et, getCurrentInstance as Wn, watchEffect as _n, nextTick as Fn, unref as Un, markRaw as on, reactive as qn, render as Ht, customRef as Kn } from "vue";
3
3
  var $ = "top", z = "bottom", Y = "right", I = "left", Tt = "auto", qe = [$, z, Y, I], Ce = "start", Ie = "end", zn = "clippingParents", an = "viewport", Be = "popper", Yn = "reference", jt = /* @__PURE__ */ qe.reduce(function(t, e) {
4
4
  return t.concat([e + "-" + Ce, e + "-" + Ie]);
5
5
  }, []), sn = /* @__PURE__ */ [].concat(qe, [Tt]).reduce(function(t, e) {
6
6
  return t.concat([e, e + "-" + Ce, e + "-" + Ie]);
7
- }, []), Xn = "beforeRead", Gn = "read", Jn = "afterRead", Zn = "beforeMain", Qn = "main", er = "afterMain", tr = "beforeWrite", nr = "write", rr = "afterWrite", ir = [Xn, Gn, Jn, Zn, Qn, er, tr, nr, rr];
7
+ }, []), Xn = "beforeRead", Gn = "read", Jn = "afterRead", Qn = "beforeMain", Zn = "main", er = "afterMain", tr = "beforeWrite", nr = "write", rr = "afterWrite", ir = [Xn, Gn, Jn, Qn, Zn, er, tr, nr, rr];
8
8
  function te(t) {
9
9
  return t ? (t.nodeName || "").toLowerCase() : null;
10
10
  }
@@ -569,8 +569,8 @@ function Lr(t) {
569
569
  });
570
570
  if (re)
571
571
  return R = re, "break";
572
- }, Z = J; Z > 0; Z--) {
573
- var de = ce(Z);
572
+ }, Q = J; Q > 0; Q--) {
573
+ var de = ce(Q);
574
574
  if (de === "break") break;
575
575
  }
576
576
  e.placement !== R && (e.modifiersData[r]._skip = !0, e.placement = R, e.reset = !0);
@@ -688,14 +688,14 @@ function $r(t) {
688
688
  };
689
689
  if (f) {
690
690
  if (a) {
691
- var L, W = i === "y" ? $ : I, _ = i === "y" ? z : Y, B = i === "y" ? "height" : "width", V = f[i], N = V + O[W], G = V - O[_], J = h ? -H[B] / 2 : 0, ce = C === Ce ? A[B] : H[B], Z = C === Ce ? -H[B] : -A[B], de = e.elements.arrow, ne = h && de ? Dt(de) : {
691
+ var L, W = i === "y" ? $ : I, _ = i === "y" ? z : Y, B = i === "y" ? "height" : "width", V = f[i], N = V + O[W], G = V - O[_], J = h ? -H[B] / 2 : 0, ce = C === Ce ? A[B] : H[B], Q = C === Ce ? -H[B] : -A[B], de = e.elements.arrow, ne = h && de ? Dt(de) : {
692
692
  width: 0,
693
693
  height: 0
694
- }, X = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : cn(), re = X[W], ye = X[_], ie = Ve(0, A[B], ne[B]), be = S ? A[B] / 2 - J - ie - re - P.mainAxis : ce - ie - re - P.mainAxis, ue = S ? -A[B] / 2 + J + ie + ye + P.mainAxis : Z + ie + ye + P.mainAxis, we = e.elements.arrow && Ke(e.elements.arrow), ze = we ? i === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, Me = (L = j == null ? void 0 : j[i]) != null ? L : 0, Ye = V + be - Me - ze, Xe = V + ue - Me, Re = Ve(h ? st(N, Ye) : N, V, h ? me(G, Xe) : G);
694
+ }, X = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : cn(), re = X[W], ye = X[_], ie = Ve(0, A[B], ne[B]), be = S ? A[B] / 2 - J - ie - re - P.mainAxis : ce - ie - re - P.mainAxis, ue = S ? -A[B] / 2 + J + ie + ye + P.mainAxis : Q + ie + ye + P.mainAxis, we = e.elements.arrow && Ke(e.elements.arrow), ze = we ? i === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, Me = (L = j == null ? void 0 : j[i]) != null ? L : 0, Ye = V + be - Me - ze, Xe = V + ue - Me, Re = Ve(h ? st(N, Ye) : N, V, h ? me(G, Xe) : G);
695
695
  f[i] = Re, M[i] = Re - V;
696
696
  }
697
697
  if (u) {
698
- var He, Ge = i === "x" ? $ : I, Je = i === "x" ? z : Y, oe = f[E], pe = E === "y" ? "height" : "width", je = oe + O[Ge], fe = oe - O[Je], Ne = [$, I].indexOf(T) !== -1, Ze = (He = j == null ? void 0 : j[E]) != null ? He : 0, Qe = Ne ? je : oe - A[pe] - H[pe] - Ze + P.altAxis, et = Ne ? oe + A[pe] + H[pe] - Ze - P.altAxis : fe, tt = h && Ne ? pr(Qe, oe, et) : Ve(h ? Qe : je, oe, h ? et : fe);
698
+ var He, Ge = i === "x" ? $ : I, Je = i === "x" ? z : Y, oe = f[E], pe = E === "y" ? "height" : "width", je = oe + O[Ge], fe = oe - O[Je], Ne = [$, I].indexOf(T) !== -1, Qe = (He = j == null ? void 0 : j[E]) != null ? He : 0, Ze = Ne ? je : oe - A[pe] - H[pe] - Qe + P.altAxis, et = Ne ? oe + A[pe] + H[pe] - Qe - P.altAxis : fe, tt = h && Ne ? pr(Ze, oe, et) : Ve(h ? Ze : je, oe, h ? et : fe);
699
699
  f[E] = tt, M[E] = tt - oe;
700
700
  }
701
701
  e.modifiersData[r] = M;
@@ -900,7 +900,7 @@ function Xr(t) {
900
900
  }
901
901
  var Gr = [br, Vr, gr, un, Nr, Pr, Ir, fr, Rr], Jr = /* @__PURE__ */ Xr({
902
902
  defaultModifiers: Gr
903
- }), Zr = "tippy-box", mn = "tippy-content", Qr = "tippy-backdrop", gn = "tippy-arrow", yn = "tippy-svg-arrow", he = {
903
+ }), Qr = "tippy-box", mn = "tippy-content", Zr = "tippy-backdrop", gn = "tippy-arrow", yn = "tippy-svg-arrow", he = {
904
904
  passive: !0,
905
905
  capture: !0
906
906
  }, bn = function() {
@@ -1023,15 +1023,15 @@ function zt(t, e) {
1023
1023
  }
1024
1024
  return !1;
1025
1025
  }
1026
- var Q = {
1026
+ var Z = {
1027
1027
  isTouch: !1
1028
1028
  }, Yt = 0;
1029
1029
  function ci() {
1030
- Q.isTouch || (Q.isTouch = !0, window.performance && document.addEventListener("mousemove", On));
1030
+ Z.isTouch || (Z.isTouch = !0, window.performance && document.addEventListener("mousemove", On));
1031
1031
  }
1032
1032
  function On() {
1033
1033
  var t = performance.now();
1034
- t - Yt < 20 && (Q.isTouch = !1, document.removeEventListener("mousemove", On)), Yt = t;
1034
+ t - Yt < 20 && (Z.isTouch = !1, document.removeEventListener("mousemove", On)), Yt = t;
1035
1035
  }
1036
1036
  function di() {
1037
1037
  var t = document.activeElement;
@@ -1228,7 +1228,7 @@ function Jt(t) {
1228
1228
  var e = $e();
1229
1229
  return t === !0 ? e.className = gn : (e.className = yn, _e(t) ? e.appendChild(t) : wt(e, t)), e;
1230
1230
  }
1231
- function Zt(t, e) {
1231
+ function Qt(t, e) {
1232
1232
  _e(e.content) ? (wt(t, ""), t.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? wt(t, e.content) : t.textContent = e.content);
1233
1233
  }
1234
1234
  function Ot(t) {
@@ -1242,18 +1242,18 @@ function Ot(t) {
1242
1242
  return r.classList.contains(gn) || r.classList.contains(yn);
1243
1243
  }),
1244
1244
  backdrop: n.find(function(r) {
1245
- return r.classList.contains(Qr);
1245
+ return r.classList.contains(Zr);
1246
1246
  })
1247
1247
  };
1248
1248
  }
1249
1249
  function Dn(t) {
1250
1250
  var e = $e(), n = $e();
1251
- n.className = Zr, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
1251
+ n.className = Qr, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
1252
1252
  var r = $e();
1253
- r.className = mn, r.setAttribute("data-state", "hidden"), Zt(r, t.props), e.appendChild(n), n.appendChild(r), o(t.props, t.props);
1253
+ r.className = mn, r.setAttribute("data-state", "hidden"), Qt(r, t.props), e.appendChild(n), n.appendChild(r), o(t.props, t.props);
1254
1254
  function o(a, p) {
1255
1255
  var u = Ot(e), s = u.box, d = u.content, c = u.arrow;
1256
- p.theme ? s.setAttribute("data-theme", p.theme) : s.removeAttribute("data-theme"), typeof p.animation == "string" ? s.setAttribute("data-animation", p.animation) : s.removeAttribute("data-animation"), p.inertia ? s.setAttribute("data-inertia", "") : s.removeAttribute("data-inertia"), s.style.maxWidth = typeof p.maxWidth == "number" ? p.maxWidth + "px" : p.maxWidth, p.role ? s.setAttribute("role", p.role) : s.removeAttribute("role"), (a.content !== p.content || a.allowHTML !== p.allowHTML) && Zt(d, t.props), p.arrow ? c ? a.arrow !== p.arrow && (s.removeChild(c), s.appendChild(Jt(p.arrow))) : s.appendChild(Jt(p.arrow)) : c && s.removeChild(c);
1256
+ p.theme ? s.setAttribute("data-theme", p.theme) : s.removeAttribute("data-theme"), typeof p.animation == "string" ? s.setAttribute("data-animation", p.animation) : s.removeAttribute("data-animation"), p.inertia ? s.setAttribute("data-inertia", "") : s.removeAttribute("data-inertia"), s.style.maxWidth = typeof p.maxWidth == "number" ? p.maxWidth + "px" : p.maxWidth, p.role ? s.setAttribute("role", p.role) : s.removeAttribute("role"), (a.content !== p.content || a.allowHTML !== p.allowHTML) && Qt(d, t.props), p.arrow ? c ? a.arrow !== p.arrow && (s.removeChild(c), s.appendChild(Jt(p.arrow))) : s.appendChild(Jt(p.arrow)) : c && s.removeChild(c);
1257
1257
  }
1258
1258
  return {
1259
1259
  popper: e,
@@ -1284,14 +1284,14 @@ function Ci(t, e) {
1284
1284
  state: S,
1285
1285
  plugins: C,
1286
1286
  // methods
1287
- clearDelayTimeouts: Qe,
1287
+ clearDelayTimeouts: Ze,
1288
1288
  setProps: et,
1289
1289
  setContent: tt,
1290
1290
  show: Ln,
1291
1291
  hide: Pn,
1292
1292
  hideWithInteractivity: Mn,
1293
1293
  enable: Ne,
1294
- disable: Ze,
1294
+ disable: Qe,
1295
1295
  unmount: Rn,
1296
1296
  destroy: Hn
1297
1297
  };
@@ -1329,7 +1329,7 @@ function Ci(t, e) {
1329
1329
  return Ot(f);
1330
1330
  }
1331
1331
  function B(l) {
1332
- return i.state.isMounted && !i.state.isVisible || Q.isTouch || c && c.type === "focus" ? 0 : ft(i.props.delay, l ? 0 : 1, F.delay);
1332
+ return i.state.isMounted && !i.state.isVisible || Z.isTouch || c && c.type === "focus" ? 0 : ft(i.props.delay, l ? 0 : 1, F.delay);
1333
1333
  }
1334
1334
  function V(l) {
1335
1335
  l === void 0 && (l = !1), f.style.pointerEvents = i.props.interactive && !l ? "" : "none", f.style.zIndex = "" + i.props.zIndex;
@@ -1370,14 +1370,14 @@ function Ci(t, e) {
1370
1370
  return l !== b;
1371
1371
  });
1372
1372
  }
1373
- function Z(l) {
1374
- if (!(Q.isTouch && (s || l.type === "mousedown"))) {
1373
+ function Q(l) {
1374
+ if (!(Z.isTouch && (s || l.type === "mousedown"))) {
1375
1375
  var v = l.composedPath && l.composedPath()[0] || l.target;
1376
1376
  if (!(i.props.interactive && zt(f, v))) {
1377
1377
  if (Te(i.props.triggerTarget || t).some(function(m) {
1378
1378
  return zt(m, v);
1379
1379
  })) {
1380
- if (Q.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
1380
+ if (Z.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
1381
1381
  return;
1382
1382
  } else
1383
1383
  N("onClickOutside", [i, l]);
@@ -1395,11 +1395,11 @@ function Ci(t, e) {
1395
1395
  }
1396
1396
  function X() {
1397
1397
  var l = W();
1398
- l.addEventListener("mousedown", Z, !0), l.addEventListener("touchend", Z, he), l.addEventListener("touchstart", ne, he), l.addEventListener("touchmove", de, he);
1398
+ l.addEventListener("mousedown", Q, !0), l.addEventListener("touchend", Q, he), l.addEventListener("touchstart", ne, he), l.addEventListener("touchmove", de, he);
1399
1399
  }
1400
1400
  function re() {
1401
1401
  var l = W();
1402
- l.removeEventListener("mousedown", Z, !0), l.removeEventListener("touchend", Z, he), l.removeEventListener("touchstart", ne, he), l.removeEventListener("touchmove", de, he);
1402
+ l.removeEventListener("mousedown", Q, !0), l.removeEventListener("touchend", Q, he), l.removeEventListener("touchstart", ne, he), l.removeEventListener("touchmove", de, he);
1403
1403
  }
1404
1404
  function ye(l, v) {
1405
1405
  be(l, function() {
@@ -1493,7 +1493,7 @@ function Ci(t, e) {
1493
1493
  i.props.trigger.indexOf("focusin") < 0 && l.target !== L() || i.props.interactive && l.relatedTarget && f.contains(l.relatedTarget) || fe(l);
1494
1494
  }
1495
1495
  function He(l) {
1496
- return Q.isTouch ? j() !== l.type.indexOf("touch") >= 0 : !1;
1496
+ return Z.isTouch ? j() !== l.type.indexOf("touch") >= 0 : !1;
1497
1497
  }
1498
1498
  function Ge() {
1499
1499
  Je();
@@ -1571,7 +1571,7 @@ function Ci(t, e) {
1571
1571
  function je(l) {
1572
1572
  i.clearDelayTimeouts(), l && N("onTrigger", [i, l]), X();
1573
1573
  var v = B(!0), m = P(), D = m[0], x = m[1];
1574
- Q.isTouch && D === "hold" && x && (v = x), v ? r = setTimeout(function() {
1574
+ Z.isTouch && D === "hold" && x && (v = x), v ? r = setTimeout(function() {
1575
1575
  i.show();
1576
1576
  }, v) : i.show();
1577
1577
  }
@@ -1592,10 +1592,10 @@ function Ci(t, e) {
1592
1592
  function Ne() {
1593
1593
  i.state.isEnabled = !0;
1594
1594
  }
1595
- function Ze() {
1595
+ function Qe() {
1596
1596
  i.hide(), i.state.isEnabled = !1;
1597
1597
  }
1598
- function Qe() {
1598
+ function Ze() {
1599
1599
  clearTimeout(r), clearTimeout(o), cancelAnimationFrame(a);
1600
1600
  }
1601
1601
  function et(l) {
@@ -1618,7 +1618,7 @@ function Ci(t, e) {
1618
1618
  }
1619
1619
  function Ln() {
1620
1620
  process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Ee("show"));
1621
- var l = i.state.isVisible, v = i.state.isDestroyed, m = !i.state.isEnabled, D = Q.isTouch && !i.props.touch, x = ft(i.props.duration, 0, F.duration);
1621
+ var l = i.state.isVisible, v = i.state.isDestroyed, m = !i.state.isEnabled, D = Z.isTouch && !i.props.touch, x = ft(i.props.duration, 0, F.duration);
1622
1622
  if (!(l || v || m || D) && !L().hasAttribute("disabled") && (N("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1623
1623
  if (i.state.isVisible = !0, M() && (f.style.visibility = "visible"), V(), X(), i.state.isMounted || (f.style.transition = "none"), M()) {
1624
1624
  var k = _(), q = k.box, Oe = k.content;
@@ -1687,7 +1687,7 @@ function Pe(t, e) {
1687
1687
  }
1688
1688
  Pe.defaultProps = F;
1689
1689
  Pe.setDefaultProps = Oi;
1690
- Pe.currentInput = Q;
1690
+ Pe.currentInput = Z;
1691
1691
  Object.assign({}, un, {
1692
1692
  effect: function(e) {
1693
1693
  var n = e.state, r = {
@@ -1968,7 +1968,7 @@ Ue({
1968
1968
  };
1969
1969
  }
1970
1970
  });
1971
- function Qt(t) {
1971
+ function Zt(t) {
1972
1972
  return Kn((e, n) => ({
1973
1973
  get() {
1974
1974
  return e(), t;
@@ -1984,7 +1984,7 @@ function Qt(t) {
1984
1984
  }
1985
1985
  class Si extends $n {
1986
1986
  constructor(e = {}) {
1987
- return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState = Qt(this.view.state), this.reactiveExtensionStorage = Qt(this.extensionStorage), this.on("beforeTransaction", ({ nextState: n }) => {
1987
+ return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState = Zt(this.view.state), this.reactiveExtensionStorage = Zt(this.extensionStorage), this.on("beforeTransaction", ({ nextState: n }) => {
1988
1988
  this.reactiveState.value = n, this.reactiveExtensionStorage.value = this.extensionStorage;
1989
1989
  }), on(this);
1990
1990
  }