@mobilon-dev/chotto 0.0.42 → 0.0.43

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,5 +1,5 @@
1
1
  import { ref as p, openBlock as n, createElementBlock as s, createElementVNode as t, toDisplayString as i, Fragment as m, renderList as _, withDirectives as h, vModelCheckbox as v } from "vue";
2
- import { _ as f } from "./index-CHmuDCUh.js";
2
+ import { _ as f } from "./index-DBRE6h4G.js";
3
3
  const g = { class: "participant-list" }, k = ["id", "value"], y = ["for"], b = {
4
4
  __name: "SelectUser2",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { openBlock as l, createElementBlock as c, createElementVNode as o, Fragment as B, renderList as Y, normalizeClass as D, createCommentVNode as y, toDisplayString as w, ref as b, computed as T, normalizeStyle as z, createTextVNode as wn, unref as q, createVNode as S, Transition as H, withCtx as K, createBlock as L, Teleport as kn, onMounted as Ie, withDirectives as te, vShow as pe, renderSlot as J, defineComponent as de, inject as Ge, getCurrentInstance as Nn, toRaw as Zf, watch as we, onBeforeUnmount as Dn, provide as jn, reactive as Vn, readonly as En, vModelText as Gf, resolveComponent as Je, onUnmounted as Tn, mergeModels as zf, useModel as xn, withKeys as Sn, onUpdated as zn, resolveDynamicComponent as On, nextTick as uf, toRef as Cn, vModelCheckbox as Un, h as Of, defineAsyncComponent as Ln, createApp as Qn } from "vue";
1
+ import { openBlock as l, createElementBlock as c, createElementVNode as o, Fragment as B, renderList as Y, normalizeClass as D, createCommentVNode as y, toDisplayString as w, ref as b, computed as x, normalizeStyle as z, createTextVNode as wn, unref as q, createVNode as S, Transition as H, withCtx as K, createBlock as L, Teleport as kn, onMounted as Ie, withDirectives as te, vShow as pe, renderSlot as J, defineComponent as de, inject as Ge, getCurrentInstance as Nn, toRaw as Zf, watch as we, onBeforeUnmount as Dn, provide as jn, reactive as Vn, readonly as En, vModelText as Gf, resolveComponent as Je, onUnmounted as Tn, mergeModels as zf, useModel as xn, withKeys as Sn, onUpdated as zn, resolveDynamicComponent as On, nextTick as uf, toRef as Cn, vModelCheckbox as Un, h as Of, defineAsyncComponent as Ln, createApp as Qn } from "vue";
2
2
  const j = (e, f) => {
3
3
  const n = e.__vccOpts || e;
4
4
  for (const [a, t] of f)
@@ -101,7 +101,7 @@ const Z1 = (e) => {
101
101
  a.value = !0;
102
102
  }, s = () => {
103
103
  a.value = !1, n.value = !1;
104
- }, A = T(() => Ne(f.message.status));
104
+ }, A = x(() => Ne(f.message.status));
105
105
  function i(u) {
106
106
  return u.position === "left" ? "file-message__left" : "file-message__right";
107
107
  }
@@ -171,7 +171,7 @@ const Z1 = (e) => {
171
171
  ], 32)
172
172
  ], 42, Wn));
173
173
  }
174
- }, fa = /* @__PURE__ */ j(ea, [["__scopeId", "data-v-4d117017"]]), na = ["messageId"], aa = ["src"], ta = {
174
+ }, fa = /* @__PURE__ */ j(ea, [["__scopeId", "data-v-466aa00c"]]), na = ["messageId"], aa = ["src"], ta = {
175
175
  key: 1,
176
176
  class: "image-message__subtext"
177
177
  }, Aa = ["src", "alt"], sa = { class: "image-message__info-container" }, ia = {
@@ -196,7 +196,7 @@ const Z1 = (e) => {
196
196
  t.value = !0;
197
197
  }, A = () => {
198
198
  t.value = !1, a.value = !1;
199
- }, i = T(() => Ne(f.message.status));
199
+ }, i = x(() => Ne(f.message.status));
200
200
  function u(r) {
201
201
  return r.position === "left" ? "image-message__left" : "image-message__right";
202
202
  }
@@ -295,7 +295,7 @@ const Z1 = (e) => {
295
295
  ], 32)
296
296
  ], 42, na));
297
297
  }
298
- }, ma = /* @__PURE__ */ j(ga, [["__scopeId", "data-v-6e5ff1ec"]]), pa = { class: "text-message" }, Ma = ["messageId"], ha = ["src"], ya = {
298
+ }, ma = /* @__PURE__ */ j(ga, [["__scopeId", "data-v-199dd630"]]), pa = { class: "text-message" }, Ma = ["messageId"], ha = ["src"], ya = {
299
299
  key: 1,
300
300
  class: "text-message__subtext"
301
301
  }, ba = { class: "text-message__text" }, va = { class: "text-message__info-container" }, _a = {
@@ -318,7 +318,7 @@ const Z1 = (e) => {
318
318
  s.value = !0;
319
319
  }, i = () => {
320
320
  s.value = !1, t.value = !1;
321
- }, u = T(() => Ne(n.message.status)), r = (m) => {
321
+ }, u = x(() => Ne(n.message.status)), r = (m) => {
322
322
  i(), a("action", { messageId: n.message.messageId, type: "menu", ...m });
323
323
  }, g = () => {
324
324
  i(), a("action", { messageId: n.message.messageId, type: "views" });
@@ -405,14 +405,14 @@ const Z1 = (e) => {
405
405
  i.value = !0;
406
406
  }, r = () => {
407
407
  i.value = !1, A.value = !1;
408
- }, g = T(() => Ne(f.message.status));
408
+ }, g = x(() => Ne(f.message.status));
409
409
  function d() {
410
410
  n.value && (a.value ? n.value.pause() : n.value.play(), a.value = !a.value);
411
411
  }
412
412
  const m = (k) => {
413
413
  const v = Math.floor(k / 60), _ = Math.floor(k % 60);
414
414
  return `${v.toString().padStart(2, "0")}:${_.toString().padStart(2, "0")}`;
415
- }, p = T(() => n.value ? m(s.value) : "0:00"), h = T(() => n.value ? m(t.value) : "0:00"), I = T(() => t.value > 0 ? s.value / t.value * 100 : 0);
415
+ }, p = x(() => n.value ? m(s.value) : "0:00"), h = x(() => n.value ? m(t.value) : "0:00"), I = x(() => t.value > 0 ? s.value / t.value * 100 : 0);
416
416
  function M(k) {
417
417
  return k.position === "left" ? "audio-message__left" : "audio-message__right";
418
418
  }
@@ -13068,8 +13068,8 @@ var oA = function(f, n) {
13068
13068
  function lA(e) {
13069
13069
  var f, n = e.state, a = e.name, t = e.options, s = n.elements.arrow, A = n.modifiersData.popperOffsets, i = fe(n.placement), u = bf(i), r = [$, G].indexOf(i) >= 0, g = r ? "height" : "width";
13070
13070
  if (!(!s || !A)) {
13071
- var d = oA(t.padding, n), m = yf(s), p = u === "y" ? F : $, h = u === "y" ? Z : G, I = n.rects.reference[g] + n.rects.reference[u] - A[u] - n.rects.popper[g], M = A[u] - n.rects.reference[u], k = Le(s), v = k ? u === "y" ? k.clientHeight || 0 : k.clientWidth || 0 : 0, _ = I / 2 - M / 2, N = d[p], E = v - m[g] - d[h], V = v / 2 - m[g] / 2 + _, x = xe(N, V, E), O = u;
13072
- n.modifiersData[a] = (f = {}, f[O] = x, f.centerOffset = x - V, f);
13071
+ var d = oA(t.padding, n), m = yf(s), p = u === "y" ? F : $, h = u === "y" ? Z : G, I = n.rects.reference[g] + n.rects.reference[u] - A[u] - n.rects.popper[g], M = A[u] - n.rects.reference[u], k = Le(s), v = k ? u === "y" ? k.clientHeight || 0 : k.clientWidth || 0 : 0, _ = I / 2 - M / 2, N = d[p], E = v - m[g] - d[h], V = v / 2 - m[g] / 2 + _, T = xe(N, V, E), O = u;
13072
+ n.modifiersData[a] = (f = {}, f[O] = T, f.centerOffset = T - V, f);
13073
13073
  }
13074
13074
  }
13075
13075
  function uA(e) {
@@ -13104,10 +13104,10 @@ function dA(e) {
13104
13104
  function qf(e) {
13105
13105
  var f, n = e.popper, a = e.popperRect, t = e.placement, s = e.variation, A = e.offsets, i = e.position, u = e.gpuAcceleration, r = e.adaptive, g = e.roundOffsets, d = e.isFixed, m = g === !0 ? dA(A) : typeof g == "function" ? g(A) : A, p = m.x, h = p === void 0 ? 0 : p, I = m.y, M = I === void 0 ? 0 : I, k = A.hasOwnProperty("x"), v = A.hasOwnProperty("y"), _ = $, N = F, E = window;
13106
13106
  if (r) {
13107
- var V = Le(n), x = "clientHeight", O = "clientWidth";
13108
- if (V === ee(n) && (V = ie(n), ae(V).position !== "static" && i === "absolute" && (x = "scrollHeight", O = "scrollWidth")), V = V, t === F || (t === $ || t === G) && s === Oe) {
13107
+ var V = Le(n), T = "clientHeight", O = "clientWidth";
13108
+ if (V === ee(n) && (V = ie(n), ae(V).position !== "static" && i === "absolute" && (T = "scrollHeight", O = "scrollWidth")), V = V, t === F || (t === $ || t === G) && s === Oe) {
13109
13109
  N = Z;
13110
- var Q = d && E.visualViewport ? E.visualViewport.height : V[x];
13110
+ var Q = d && E.visualViewport ? E.visualViewport.height : V[T];
13111
13111
  M -= Q - a.height, M *= u ? 1 : -1;
13112
13112
  }
13113
13113
  if (t === $ || (t === F || t === Z) && s === Oe) {
@@ -13318,11 +13318,11 @@ function Ce(e, f) {
13318
13318
  element: k,
13319
13319
  strategy: "absolute",
13320
13320
  placement: t
13321
- }), V = df(Object.assign({}, k, E)), x = g === Te ? V : N, O = {
13322
- top: _.top - x.top + I.top,
13323
- bottom: x.bottom - _.bottom + I.bottom,
13324
- left: _.left - x.left + I.left,
13325
- right: x.right - _.right + I.right
13321
+ }), V = df(Object.assign({}, k, E)), T = g === Te ? V : N, O = {
13322
+ top: _.top - T.top + I.top,
13323
+ bottom: T.bottom - _.bottom + I.bottom,
13324
+ left: _.left - T.left + I.left,
13325
+ right: T.right - _.right + I.right
13326
13326
  }, Q = e.modifiersData.offset;
13327
13327
  if (g === Te && Q) {
13328
13328
  var C = Q[t];
@@ -13371,7 +13371,7 @@ function DA(e) {
13371
13371
  flipVariations: h,
13372
13372
  allowedAutoPlacements: I
13373
13373
  }) : Ae);
13374
- }, []), E = f.rects.reference, V = f.rects.popper, x = /* @__PURE__ */ new Map(), O = !0, Q = N[0], C = 0; C < N.length; C++) {
13374
+ }, []), E = f.rects.reference, V = f.rects.popper, T = /* @__PURE__ */ new Map(), O = !0, Q = N[0], C = 0; C < N.length; C++) {
13375
13375
  var U = N[C], R = fe(U), oe = _e(U) === he, De = [F, Z].indexOf(R) >= 0, je = De ? "width" : "height", W = Ce(f, {
13376
13376
  placement: U,
13377
13377
  boundary: g,
@@ -13387,12 +13387,12 @@ function DA(e) {
13387
13387
  Q = U, O = !1;
13388
13388
  break;
13389
13389
  }
13390
- x.set(U, le);
13390
+ T.set(U, le);
13391
13391
  }
13392
13392
  if (O)
13393
13393
  for (var Ye = h ? 3 : 1, ff = function(Ae) {
13394
13394
  var Ee = N.find(function(qe) {
13395
- var ue = x.get(qe);
13395
+ var ue = T.get(qe);
13396
13396
  if (ue)
13397
13397
  return ue.slice(0, Ae).every(function(nf) {
13398
13398
  return nf;
@@ -13507,7 +13507,7 @@ function UA(e) {
13507
13507
  rootBoundary: r,
13508
13508
  padding: d,
13509
13509
  altBoundary: g
13510
- }), k = fe(f.placement), v = _e(f.placement), _ = !v, N = bf(k), E = CA(N), V = f.modifiersData.popperOffsets, x = f.rects.reference, O = f.rects.popper, Q = typeof I == "function" ? I(Object.assign({}, f.rects, {
13510
+ }), k = fe(f.placement), v = _e(f.placement), _ = !v, N = bf(k), E = CA(N), V = f.modifiersData.popperOffsets, T = f.rects.reference, O = f.rects.popper, Q = typeof I == "function" ? I(Object.assign({}, f.rects, {
13511
13511
  placement: f.placement
13512
13512
  })) : I, C = typeof Q == "number" ? {
13513
13513
  mainAxis: Q,
@@ -13521,14 +13521,14 @@ function UA(e) {
13521
13521
  };
13522
13522
  if (V) {
13523
13523
  if (s) {
13524
- var oe, De = N === "y" ? F : $, je = N === "y" ? Z : G, W = N === "y" ? "height" : "width", X = V[N], Be = X + M[De], le = X - M[je], Ye = p ? -O[W] / 2 : 0, ff = v === he ? x[W] : O[W], Ve = v === he ? -O[W] : -x[W], Re = f.elements.arrow, me = p && Re ? yf(Re) : {
13524
+ var oe, De = N === "y" ? F : $, je = N === "y" ? Z : G, W = N === "y" ? "height" : "width", X = V[N], Be = X + M[De], le = X - M[je], Ye = p ? -O[W] / 2 : 0, ff = v === he ? T[W] : O[W], Ve = v === he ? -O[W] : -T[W], Re = f.elements.arrow, me = p && Re ? yf(Re) : {
13525
13525
  width: 0,
13526
13526
  height: 0
13527
- }, Ae = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : ln(), Ee = Ae[De], qe = Ae[je], ue = xe(0, x[W], me[W]), nf = _ ? x[W] / 2 - Ye - ue - Ee - C.mainAxis : ff - ue - Ee - C.mainAxis, hn = _ ? -x[W] / 2 + Ye + ue + qe + C.mainAxis : Ve + ue + qe + C.mainAxis, af = f.elements.arrow && Le(f.elements.arrow), yn = af ? N === "y" ? af.clientTop || 0 : af.clientLeft || 0 : 0, kf = (oe = U == null ? void 0 : U[N]) != null ? oe : 0, bn = X + nf - kf - yn, vn = X + hn - kf, Nf = xe(p ? Ze(Be, bn) : Be, X, p ? ce(le, vn) : le);
13527
+ }, Ae = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : ln(), Ee = Ae[De], qe = Ae[je], ue = xe(0, T[W], me[W]), nf = _ ? T[W] / 2 - Ye - ue - Ee - C.mainAxis : ff - ue - Ee - C.mainAxis, hn = _ ? -T[W] / 2 + Ye + ue + qe + C.mainAxis : Ve + ue + qe + C.mainAxis, af = f.elements.arrow && Le(f.elements.arrow), yn = af ? N === "y" ? af.clientTop || 0 : af.clientLeft || 0 : 0, kf = (oe = U == null ? void 0 : U[N]) != null ? oe : 0, bn = X + nf - kf - yn, vn = X + hn - kf, Nf = xe(p ? Ze(Be, bn) : Be, X, p ? ce(le, vn) : le);
13528
13528
  V[N] = Nf, R[N] = Nf - X;
13529
13529
  }
13530
13530
  if (i) {
13531
- var Df, _n = N === "x" ? F : $, In = N === "x" ? Z : G, re = V[E], Fe = E === "y" ? "height" : "width", jf = re + M[_n], Vf = re - M[In], tf = [F, $].indexOf(k) !== -1, Ef = (Df = U == null ? void 0 : U[E]) != null ? Df : 0, Tf = tf ? jf : re - x[Fe] - O[Fe] - Ef + C.altAxis, xf = tf ? re + x[Fe] + O[Fe] - Ef - C.altAxis : Vf, Sf = p && tf ? iA(Tf, re, xf) : xe(p ? Tf : jf, re, p ? xf : Vf);
13531
+ var Df, _n = N === "x" ? F : $, In = N === "x" ? Z : G, re = V[E], Fe = E === "y" ? "height" : "width", jf = re + M[_n], Vf = re - M[In], tf = [F, $].indexOf(k) !== -1, Ef = (Df = U == null ? void 0 : U[E]) != null ? Df : 0, Tf = tf ? jf : re - T[Fe] - O[Fe] - Ef + C.altAxis, xf = tf ? re + T[Fe] + O[Fe] - Ef - C.altAxis : Vf, Sf = p && tf ? iA(Tf, re, xf) : xe(p ? Tf : jf, re, p ? xf : Vf);
13532
13532
  V[E] = Sf, R[E] = Sf - re;
13533
13533
  }
13534
13534
  f.modifiersData[a] = R;
@@ -13675,7 +13675,7 @@ function JA(e) {
13675
13675
  g.reset = !1, N = -1;
13676
13676
  continue;
13677
13677
  }
13678
- var E = g.orderedModifiers[N], V = E.fn, x = E.options, O = x === void 0 ? {} : x, Q = E.name;
13678
+ var E = g.orderedModifiers[N], V = E.fn, T = E.options, O = T === void 0 ? {} : T, Q = E.name;
13679
13679
  typeof V == "function" && (g = V({
13680
13680
  state: g,
13681
13681
  options: O,
@@ -13775,12 +13775,12 @@ const ZA = de({
13775
13775
  select: (e) => !0
13776
13776
  },
13777
13777
  setup() {
13778
- const { state: e, updateEmoji: f, updateSelect: n } = Ge("store"), a = b(null), t = T(() => PA(
13778
+ const { state: e, updateEmoji: f, updateSelect: n } = Ge("store"), a = b(null), t = x(() => PA(
13779
13779
  e.emojis,
13780
13780
  e.search,
13781
13781
  e.skinTone,
13782
13782
  e.options.disabledGroups
13783
- )), s = Nn(), A = T(() => !e.options.hideGroupNames), i = T(() => !e.options.disableStickyGroupNames), u = Zf(e.options.groupNames), r = e.orderedGroupKeys;
13783
+ )), s = Nn(), A = x(() => !e.options.hideGroupNames), i = x(() => !e.options.disableStickyGroupNames), u = Zf(e.options.groupNames), r = e.orderedGroupKeys;
13784
13784
  e.options.additionalGroups && Object.keys(e.options.additionalGroups).map((h) => {
13785
13785
  e.options.groupNames[h] ? u[h] = e.options.groupNames[h] : u[h] = pn(h);
13786
13786
  });
@@ -13872,9 +13872,9 @@ var ss = /* @__PURE__ */ Qe(ZA, [["render", As]]), is = "data:image/svg+xml;base
13872
13872
  const ms = de({
13873
13873
  name: "Header",
13874
13874
  setup(e) {
13875
- const { state: f, updateSearch: n, updateActiveGroup: a } = Ge("store"), t = T(() => !f.options.hideSearch), s = T(() => !f.options.hideGroupIcons), A = JSON.parse(JSON.stringify(f.orderedGroupKeys)), i = T(
13875
+ const { state: f, updateSearch: n, updateActiveGroup: a } = Ge("store"), t = x(() => !f.options.hideSearch), s = x(() => !f.options.hideGroupIcons), A = JSON.parse(JSON.stringify(f.orderedGroupKeys)), i = x(
13876
13876
  () => f.options.staticTexts.placeholder || ""
13877
- ), u = T({
13877
+ ), u = x({
13878
13878
  get: () => f.search,
13879
13879
  set: (d) => n(d)
13880
13880
  }), r = [
@@ -13960,9 +13960,9 @@ var ks = /* @__PURE__ */ Qe(ms, [["render", ws]]);
13960
13960
  const Ns = de({
13961
13961
  name: "Header",
13962
13962
  setup() {
13963
- const { state: e, updateSkinTone: f } = Ge("store"), n = b(!1), a = b(!1), t = T(() => e.skinTone), s = T(
13963
+ const { state: e, updateSkinTone: f } = Ge("store"), n = b(!1), a = b(!1), t = x(() => e.skinTone), s = x(
13964
13964
  () => e.options.staticTexts.skinTone || "Skin tone"
13965
- ), A = T(() => !e.options.disableSkinTones), i = mn() ? "is-mac" : "", u = T(() => ({
13965
+ ), A = x(() => !e.options.disableSkinTones), i = mn() ? "is-mac" : "", u = x(() => ({
13966
13966
  ...e.emoji,
13967
13967
  src: Xf + "/" + e.emoji[ze] + ".png"
13968
13968
  }));
@@ -14082,7 +14082,7 @@ const Os = de({
14082
14082
  setup(e, { emit: f }) {
14083
14083
  const n = b(), a = b(), t = b(), s = b(!1), A = b(e.text), i = e.type === "input" || e.type === "textarea";
14084
14084
  let u = -1;
14085
- const { state: r } = Ge("store"), g = T(() => r.options.colorTheme);
14085
+ const { state: r } = Ge("store"), g = x(() => r.options.colorTheme);
14086
14086
  function d(M) {
14087
14087
  if (i) {
14088
14088
  const k = r.options.mode;
@@ -14515,7 +14515,7 @@ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks =
14515
14515
  n.templates.forEach((i) => i.isSelected = !1);
14516
14516
  const A = n.templates.find((i) => i.templateId === s.templateId);
14517
14517
  A.isSelected = !0;
14518
- }, t = T(() => n.templates.find((s) => s.isSelected));
14518
+ }, t = x(() => n.templates.find((s) => s.isSelected));
14519
14519
  return (s, A) => (l(), c("div", ii, [
14520
14520
  o("div", oi, [
14521
14521
  o("button", li, [
@@ -14572,6 +14572,9 @@ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks =
14572
14572
  type: Array,
14573
14573
  required: !1,
14574
14574
  default: () => []
14575
+ },
14576
+ filebumpUrl: {
14577
+ type: String
14575
14578
  }
14576
14579
  }, {
14577
14580
  modelValue: { type: String },
@@ -14581,7 +14584,7 @@ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks =
14581
14584
  setup(e, { emit: f }) {
14582
14585
  const n = f, a = xn(e, "modelValue"), t = b(null), s = b(null), A = b(""), i = b(!1), u = (v) => {
14583
14586
  a.value = v, i.value = !i.value;
14584
- }, r = T(() => !s.value || s.value === "");
14587
+ }, r = x(() => !s.value || s.value === "");
14585
14588
  we(
14586
14589
  () => a.value,
14587
14590
  () => {
@@ -14609,7 +14612,7 @@ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks =
14609
14612
  text: null
14610
14613
  };
14611
14614
  s.value ? (v.type = "message." + s.value.type, v.url = s.value.url, v.filename = s.value.filename, v.size = s.value.size, v.text = (_ = a == null ? void 0 : a.value) == null ? void 0 : _.trim()) : (v.type = "message.text", v.text = a.value.trim()), n("send", v), s.value = !1, a.value = null, q(t).focus();
14612
- }, M = T(() => {
14615
+ }, M = x(() => {
14613
14616
  if (document.documentElement.classList.contains("dark"))
14614
14617
  return "dark";
14615
14618
  }), k = (v) => {
@@ -14650,8 +14653,9 @@ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks =
14650
14653
  o("div", Di, [
14651
14654
  S(q(Po), {
14652
14655
  "can-upload-file": r.value,
14656
+ "filebump-url": e.filebumpUrl,
14653
14657
  onFileUploaded: d
14654
- }, null, 8, ["can-upload-file"]),
14658
+ }, null, 8, ["can-upload-file", "filebump-url"]),
14655
14659
  o("button", {
14656
14660
  class: "chat-input__button-emoji",
14657
14661
  onClick: _[1] || (_[1] = (...N) => v.toogleDialogEmoji && v.toogleDialogEmoji(...N))
@@ -14695,7 +14699,7 @@ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks =
14695
14699
  ])
14696
14700
  ]));
14697
14701
  }
14698
- }, fl = /* @__PURE__ */ j(ji, [["__scopeId", "data-v-ea34b17e"]]), Vi = { class: "chat-item__avatar-container" }, Ei = ["src"], Ti = {
14702
+ }, fl = /* @__PURE__ */ j(ji, [["__scopeId", "data-v-255a3a21"]]), Vi = { class: "chat-item__avatar-container" }, Ei = ["src"], Ti = {
14699
14703
  key: 1,
14700
14704
  class: "pi pi-user"
14701
14705
  }, xi = { class: "chat-item__info-container" }, Si = { class: "chat-item__name" }, zi = {
@@ -14734,9 +14738,9 @@ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks =
14734
14738
  u.value = !0;
14735
14739
  }, g = () => {
14736
14740
  u.value = !1, i.value = !1;
14737
- }, d = T(() => Ne(n.chat["lastMessage.status"]));
14741
+ }, d = x(() => Ne(n.chat["lastMessage.status"]));
14738
14742
  let m;
14739
- const p = b(0), h = ["typing.", "typing..", "typing..."], I = T(() => n.chat.typing ? h[p.value] : n.chat.lastMessage);
14743
+ const p = b(0), h = ["typing.", "typing..", "typing..."], I = x(() => n.chat.typing ? h[p.value] : n.chat.lastMessage);
14740
14744
  return we(
14741
14745
  () => n.chat.typing,
14742
14746
  () => {
@@ -14956,14 +14960,14 @@ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks =
14956
14960
  u.value = !0;
14957
14961
  }, g = () => {
14958
14962
  u.value = !1, i.value = !1;
14959
- }, d = T(() => Ne(f.message.status));
14963
+ }, d = x(() => Ne(f.message.status));
14960
14964
  function m() {
14961
14965
  a.value && (t.value ? a.value.pause() : a.value.play(), t.value = !t.value);
14962
14966
  }
14963
14967
  const p = (I) => {
14964
14968
  const M = Math.floor(I / 60), k = Math.floor(I % 60);
14965
14969
  return `${M.toString().padStart(2, "0")}:${k.toString().padStart(2, "0")}`;
14966
- }, h = T(() => {
14970
+ }, h = x(() => {
14967
14971
  if (a.value) {
14968
14972
  if (A.value >= s.value)
14969
14973
  return t.value = !1, "00:00";
@@ -15064,7 +15068,7 @@ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks =
15064
15068
  ], 32)
15065
15069
  ], 42, fo));
15066
15070
  }
15067
- }, ro = /* @__PURE__ */ j(uo, [["__scopeId", "data-v-b35fb647"]]), co = { class: "call-message" }, go = ["messageId"], mo = ["src"], po = {
15071
+ }, ro = /* @__PURE__ */ j(uo, [["__scopeId", "data-v-c2e27925"]]), co = { class: "call-message" }, go = ["messageId"], mo = ["src"], po = {
15068
15072
  key: 1,
15069
15073
  class: "call-message__subtext"
15070
15074
  }, Mo = { class: "call-message__content" }, ho = {
@@ -15306,6 +15310,9 @@ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks =
15306
15310
  storybook: {
15307
15311
  type: Boolean,
15308
15312
  default: !1
15313
+ },
15314
+ filebumpUrl: {
15315
+ type: String
15309
15316
  }
15310
15317
  },
15311
15318
  emits: ["fileUploaded"],
@@ -15357,17 +15364,17 @@ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks =
15357
15364
  t.value = "uploading";
15358
15365
  const _ = new FormData();
15359
15366
  _.append("file", a.value);
15360
- const N = "https://filebump.services.mobilon.ru/upload";
15367
+ const E = (n.filebumpUrl ? n.filebumpUrl : "https://filebump2.services.mobilon.ru") + "/upload";
15361
15368
  try {
15362
- const V = await (await fetch(
15363
- N,
15369
+ const T = await (await fetch(
15370
+ E,
15364
15371
  {
15365
15372
  method: "POST",
15366
15373
  body: _
15367
15374
  }
15368
15375
  )).json();
15369
- s.value = V.url, t.value = "success", m("fileUploaded", {
15370
- url: V.url,
15376
+ s.value = T.url, t.value = "success", m("fileUploaded", {
15377
+ url: T.url,
15371
15378
  type: Cf(a.value.type),
15372
15379
  filename: a.value.name,
15373
15380
  size: a.value.size,
@@ -15377,8 +15384,8 @@ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks =
15377
15384
  isAudio: r.value,
15378
15385
  selectedFile: a.value
15379
15386
  });
15380
- } catch (E) {
15381
- console.error("Ошибка при загрузке файла:", E), t.value = "error";
15387
+ } catch (V) {
15388
+ console.error("Ошибка при загрузке файла:", V), t.value = "error";
15382
15389
  }
15383
15390
  }, k = (_) => {
15384
15391
  g.value && n.canUploadFile && (g.value.accept = _.action, g.value.click());
@@ -15415,7 +15422,7 @@ const Ws = ["id"], Js = ["id"], Hs = { class: "context-menu__container" }, Ks =
15415
15422
  ], 2))
15416
15423
  ], 2));
15417
15424
  }
15418
- }, Po = /* @__PURE__ */ j(Ko, [["__scopeId", "data-v-d58a941d"]]), Zo = { key: 0 }, Go = ["value", "selected"], Xo = {
15425
+ }, Po = /* @__PURE__ */ j(Ko, [["__scopeId", "data-v-1cc69f33"]]), Zo = { key: 0 }, Go = ["value", "selected"], Xo = {
15419
15426
  __name: "ThemeMode",
15420
15427
  props: {
15421
15428
  themes: {
@@ -15673,7 +15680,7 @@ function wf({ component: e, attrs: f }) {
15673
15680
  const ll = async (e, f) => {
15674
15681
  const n = await wf({
15675
15682
  //в component должен быть встроен emit change(key: value)
15676
- component: import("./SelectUser2-yYgCBcYh.js"),
15683
+ component: import("./SelectUser2-Ct3qMxtV.js"),
15677
15684
  attrs: {
15678
15685
  title: e,
15679
15686
  users: f