@mobilon-dev/chotto 0.2.6 → 0.2.8

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.
@@ -1052,7 +1052,7 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1052
1052
  const D = p.scrollTop;
1053
1053
  p.style.height = "auto";
1054
1054
  const w = parseFloat(getComputedStyle(p).lineHeight) * 11, M = p.scrollHeight;
1055
- s().text.trim() ? M <= w ? (p.style.height = M + "px", p.style.overflowY = "hidden") : (p.style.height = w + "px", p.style.overflowY = "auto", p.scrollTop = D) : (p.style.height = "40px", p.style.overflowY = "hidden");
1055
+ !s().text.trim() || M <= 61 ? (p.style.height = "40px", p.style.overflowY = "hidden") : M <= w ? (p.style.height = M + "px", p.style.overflowY = "hidden") : (p.style.height = w + "px", p.style.overflowY = "auto", p.scrollTop = D);
1056
1056
  });
1057
1057
  },
1058
1058
  { immediate: !0 }
@@ -1135,7 +1135,7 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1135
1135
  ])
1136
1136
  ]));
1137
1137
  }
1138
- }), Fg = /* @__PURE__ */ O(Ps, [["__scopeId", "data-v-400477cb"]]), qs = { class: "chat-tabs__list" }, Hs = ["aria-pressed", "onClick"], Ws = {
1138
+ }), Fg = /* @__PURE__ */ O(Ps, [["__scopeId", "data-v-a0db4a0f"]]), qs = { class: "chat-tabs__list" }, Hs = ["aria-pressed", "onClick"], Ws = {
1139
1139
  key: 0,
1140
1140
  class: "chat-tabs__badge"
1141
1141
  }, Ks = {
@@ -2172,7 +2172,7 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2172
2172
  ]))
2173
2173
  ], 64));
2174
2174
  }
2175
- }), Tt = /* @__PURE__ */ O(io, [["__scopeId", "data-v-207b0a9d"]]), oo = ["onClick"], lo = ["src", "alt"], ro = { key: 1 }, co = ["onClick"], Ao = ["src", "alt"], uo = ["src"], go = { class: "sidebar__settings-container" }, mo = { class: "sidebar__settings-btn" }, po = {
2175
+ }), Tt = /* @__PURE__ */ O(io, [["__scopeId", "data-v-5b4c312a"]]), oo = ["onClick"], lo = ["src", "alt"], ro = { key: 1 }, co = ["onClick"], Ao = ["src", "alt"], uo = ["src"], go = { class: "sidebar__settings-container" }, mo = { class: "sidebar__settings-btn" }, po = {
2176
2176
  __name: "SideBar",
2177
2177
  props: {
2178
2178
  sidebarItems: {
@@ -2523,7 +2523,7 @@ const e2 = (e, t = null) => {
2523
2523
  return (w, M) => (l(), A("div", null, [
2524
2524
  o("div", {
2525
2525
  class: x(["chat-item__container", u()]),
2526
- onMouseenter: M[2] || (M[2] = (I) => f.value = !0),
2526
+ onMouseenter: M[2] || (M[2] = (I) => f.value = !1),
2527
2527
  onMouseleave: C,
2528
2528
  onClick: r
2529
2529
  }, [
@@ -2635,7 +2635,7 @@ const e2 = (e, t = null) => {
2635
2635
  ])) : h("", !0)
2636
2636
  ]));
2637
2637
  }
2638
- }), Rn = /* @__PURE__ */ O(Xo, [["__scopeId", "data-v-b2e1d18a"]]), el = {}, tl = {
2638
+ }), Rn = /* @__PURE__ */ O(Xo, [["__scopeId", "data-v-670b8adc"]]), el = {}, tl = {
2639
2639
  width: "17",
2640
2640
  height: "16",
2641
2641
  viewBox: "0 0 17 16",
@@ -17728,7 +17728,7 @@ const iu = ["data-theme"], ou = {
17728
17728
  }, _a = /* @__PURE__ */ O(cu, [["__scopeId", "data-v-bfa49925"]]), r2 = async (e, t, n) => {
17729
17729
  const a = await zt({
17730
17730
  //в component должен быть встроен emit change(key: value)
17731
- component: import("./SelectUser2-q3CaXX96.js"),
17731
+ component: import("./SelectUser2-BZ8TrADC.js"),
17732
17732
  attrs: {
17733
17733
  title: e,
17734
17734
  users: t
@@ -17800,7 +17800,7 @@ const iu = ["data-theme"], ou = {
17800
17800
  }
17801
17801
  }, Uf = /* @__PURE__ */ O(du, [["__scopeId", "data-v-2d8b60f8"]]), u2 = async (e, t, n, a, f, s) => await zt({
17802
17802
  //в component должен быть встроен emit change(key: value)
17803
- component: import("./CreateDialog-DL_hcfgv.js"),
17803
+ component: import("./CreateDialog-7xKDZw0V.js"),
17804
17804
  attrs: {
17805
17805
  title: e,
17806
17806
  name: t,
@@ -17814,7 +17814,7 @@ const iu = ["data-theme"], ou = {
17814
17814
  }
17815
17815
  }), gu = async (e) => await zt({
17816
17816
  //в component должен быть встроен emit change(key: value)
17817
- component: import("./ModalVideoRecorder-C8gNbFGW.js"),
17817
+ component: import("./ModalVideoRecorder-CRBxrr2K.js"),
17818
17818
  attrs: {},
17819
17819
  Modal: Uf,
17820
17820
  modalAttrs: {
@@ -18250,7 +18250,7 @@ const iu = ["data-theme"], ou = {
18250
18250
  ], 36)
18251
18251
  ], 42, $u));
18252
18252
  }
18253
- }), Xu = /* @__PURE__ */ O(Gu, [["__scopeId", "data-v-dbe01086"]]), ed = ["messageId"], td = ["src"], nd = {
18253
+ }), Xu = /* @__PURE__ */ O(Gu, [["__scopeId", "data-v-79b52f0a"]]), ed = ["messageId"], td = ["src"], nd = {
18254
18254
  key: 1,
18255
18255
  class: "image-message__subtext"
18256
18256
  }, ad = { class: "image-message__content" }, fd = ["src", "alt"], sd = {
@@ -18570,7 +18570,7 @@ const iu = ["data-theme"], ou = {
18570
18570
  ], 32)
18571
18571
  ], 42, gd));
18572
18572
  }
18573
- }), _d = /* @__PURE__ */ O(Md, [["__scopeId", "data-v-b2124f5b"]]), Id = ["messageId"], wd = ["src"], kd = {
18573
+ }), _d = /* @__PURE__ */ O(Md, [["__scopeId", "data-v-ec58b970"]]), Id = ["messageId"], wd = ["src"], kd = {
18574
18574
  key: 1,
18575
18575
  class: "audio-message__subtext"
18576
18576
  }, Nd = { class: "audio-message__audio-container" }, Dd = ["src"], Td = ["max"], Cd = { class: "audio-message__player-controls" }, Ed = { class: "audio-message__remaining-time" }, xd = { class: "audio-message__speed-btn-container" }, jd = ["onClick"], Vd = ["href"], Sd = {
@@ -18831,7 +18831,7 @@ const iu = ["data-theme"], ou = {
18831
18831
  ], 42, Id);
18832
18832
  };
18833
18833
  }
18834
- }), Fd = /* @__PURE__ */ O(Yd, [["__scopeId", "data-v-9edbf4fa"]]), Pd = { class: "date-message__container" }, qd = { class: "date-message__text" }, Hd = /* @__PURE__ */ F({
18834
+ }), Fd = /* @__PURE__ */ O(Yd, [["__scopeId", "data-v-a2ffe7d3"]]), Pd = { class: "date-message__container" }, qd = { class: "date-message__text" }, Hd = /* @__PURE__ */ F({
18835
18835
  __name: "DateMessage",
18836
18836
  props: {
18837
18837
  message: {
@@ -18846,7 +18846,7 @@ const iu = ["data-theme"], ou = {
18846
18846
  o("p", qd, T(e.message.text), 1)
18847
18847
  ]));
18848
18848
  }
18849
- }), Wd = /* @__PURE__ */ O(Hd, [["__scopeId", "data-v-dd2395ca"]]), Kd = ["messageId"], Jd = ["src"], Zd = {
18849
+ }), Wd = /* @__PURE__ */ O(Hd, [["__scopeId", "data-v-9cdb72b8"]]), Kd = ["messageId"], Jd = ["src"], Zd = {
18850
18850
  key: 1,
18851
18851
  class: "video-message__subtext"
18852
18852
  }, Gd = { class: "video-message__content" }, Xd = ["src"], e0 = {
@@ -19169,7 +19169,7 @@ const iu = ["data-theme"], ou = {
19169
19169
  ], 10, r0);
19170
19170
  };
19171
19171
  }
19172
- }), I0 = /* @__PURE__ */ O(_0, [["__scopeId", "data-v-1a1a1a5c"]]), w0 = { class: "system-message__container" }, k0 = { class: "system-message__text" }, N0 = /* @__PURE__ */ F({
19172
+ }), I0 = /* @__PURE__ */ O(_0, [["__scopeId", "data-v-9221835d"]]), w0 = { class: "system-message__container" }, k0 = { class: "system-message__text" }, N0 = /* @__PURE__ */ F({
19173
19173
  __name: "SystemMessage",
19174
19174
  props: {
19175
19175
  message: {
@@ -19182,7 +19182,7 @@ const iu = ["data-theme"], ou = {
19182
19182
  o("p", k0, T(e.message.text), 1)
19183
19183
  ]));
19184
19184
  }
19185
- }), D0 = /* @__PURE__ */ O(N0, [["__scopeId", "data-v-0592fb68"]]), T0 = { class: "typing-message__container" }, C0 = ["src"], E0 = {
19185
+ }), D0 = /* @__PURE__ */ O(N0, [["__scopeId", "data-v-da4a8ecf"]]), T0 = { class: "typing-message__container" }, C0 = ["src"], E0 = {
19186
19186
  key: 1,
19187
19187
  class: "typing-message__subtext"
19188
19188
  }, x0 = /* @__PURE__ */ F({
@@ -19209,7 +19209,7 @@ const iu = ["data-theme"], ou = {
19209
19209
  ], -1))
19210
19210
  ]));
19211
19211
  }
19212
- }), ef = /* @__PURE__ */ O(x0, [["__scopeId", "data-v-3494299c"]]), j0 = { class: "container" }, V0 = { key: 0 }, S0 = ["innerHTML"], O0 = /* @__PURE__ */ F({
19212
+ }), ef = /* @__PURE__ */ O(x0, [["__scopeId", "data-v-32b7d3cd"]]), j0 = { class: "container" }, V0 = { key: 0 }, S0 = ["innerHTML"], O0 = /* @__PURE__ */ F({
19213
19213
  __name: "ReplyTextMessage",
19214
19214
  props: {
19215
19215
  message: {
@@ -1,4 +1,4 @@
1
- import { Y as s, A as t, z as o, P as l, W as r, f as i, G as d, r as n, u, B as M, t as p, C as g, o as C, q as m, g as y, h as c, p as h, i as S, n as B, $ as F, v as T, D as R, X as x, j as L, x as f, Z as A, w as I, F as P, k as V, Q as D, I as E, L as U, c as b, e as j, b as k, R as v, d as W, m as w, H as N, S as O, s as q, T as z, l as G, y as H, a as J, U as K, V as Q, E as X, a0 as Y, a6 as Z, a4 as $, a1 as _, a2 as aa, a3 as ea, a5 as sa, K as ta, M as oa, N as la, J as ra, O as ia } from "./index-D0tyoXsi.js";
1
+ import { Y as s, A as t, z as o, P as l, W as r, f as i, G as d, r as n, u, B as M, t as p, C as g, o as C, q as m, g as y, h as c, p as h, i as S, n as B, $ as F, v as T, D as R, X as x, j as L, x as f, Z as A, w as I, F as P, k as V, Q as D, I as E, L as U, c as b, e as j, b as k, R as v, d as W, m as w, H as N, S as O, s as q, T as z, l as G, y as H, a as J, U as K, V as Q, E as X, a0 as Y, a6 as Z, a4 as $, a1 as _, a2 as aa, a3 as ea, a5 as sa, K as ta, M as oa, N as la, J as ra, O as ia } from "./index-69fxhx1L.js";
2
2
  export {
3
3
  s as AdaptiveExtendedLayout,
4
4
  t as AudioMessage,