@mobilon-dev/chotto 0.0.60 → 0.0.61
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 { openBlock as r, createElementBlock as c, createElementVNode as o, toDisplayString as D, createCommentVNode as
|
1
|
+
import { openBlock as r, createElementBlock as c, createElementVNode as o, toDisplayString as D, createCommentVNode as b, renderSlot as te, ref as I, defineComponent as Z, inject as de, watch as Ae, nextTick as tf, unref as C, withDirectives as ce, withKeys as ka, vModelText as cf, normalizeClass as L, createVNode as R, Transition as P, withCtx as W, createBlock as K, Fragment as $, renderList as G, onUpdated as Na, resolveDynamicComponent as Da, normalizeStyle as J, useId as Rt, onMounted as we, onUnmounted as ct, computed as Y, Teleport as yf, toRef as ja, vModelRadio as Rn, reactive as Yn, getCurrentInstance as Ea, toRaw as qn, onBeforeUnmount as Ta, provide as Yt, readonly as Va, vShow as Lf, resolveComponent as Sf, withModifiers as Qe, h as yn, defineAsyncComponent as xa, createApp as Sa } from "vue";
|
2
2
|
const Ca = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", za = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", Re = (e, f) => {
|
3
3
|
for (const t in f)
|
4
4
|
e[t] = f[t];
|
@@ -144,7 +144,7 @@ se.prototype = {
|
|
144
144
|
return a.j[e] = A, A;
|
145
145
|
}
|
146
146
|
};
|
147
|
-
const O = (e, f, t, n, a) => e.ta(f, t, n, a), F = (e, f, t, n, a) => e.tr(f, t, n, a), Mn = (e, f, t, n, a) => e.ts(f, t, n, a),
|
147
|
+
const O = (e, f, t, n, a) => e.ta(f, t, n, a), F = (e, f, t, n, a) => e.tr(f, t, n, a), Mn = (e, f, t, n, a) => e.ts(f, t, n, a), _ = (e, f, t, n, a) => e.tt(f, t, n, a), Ie = "WORD", Ct = "UWORD", Hn = "ASCIINUMERICAL", Fn = "ALPHANUMERICAL", df = "LOCALHOST", zt = "TLD", Ot = "UTLD", Cf = "SCHEME", Be = "SLASH_SCHEME", qt = "NUM", Lt = "WS", $t = "NL", af = "OPENBRACE", sf = "CLOSEBRACE", Uf = "OPENBRACKET", Bf = "CLOSEBRACKET", Qf = "OPENPAREN", Rf = "CLOSEPAREN", Yf = "OPENANGLEBRACKET", qf = "CLOSEANGLEBRACKET", $f = "FULLWIDTHLEFTPAREN", Hf = "FULLWIDTHRIGHTPAREN", Ff = "LEFTCORNERBRACKET", Pf = "RIGHTCORNERBRACKET", Wf = "LEFTWHITECORNERBRACKET", Kf = "RIGHTWHITECORNERBRACKET", Jf = "FULLWIDTHLESSTHAN", Gf = "FULLWIDTHGREATERTHAN", Zf = "AMPERSAND", Ht = "APOSTROPHE", Xf = "ASTERISK", De = "AT", et = "BACKSLASH", ft = "BACKTICK", tt = "CARET", je = "COLON", Ft = "COMMA", nt = "DOLLAR", me = "DOT", at = "EQUALS", Pt = "EXCLAMATION", oe = "HYPHEN", Af = "PERCENT", st = "PIPE", At = "PLUS", it = "POUND", of = "QUERY", Wt = "QUOTE", Pn = "FULLWIDTHMIDDLEDOT", Kt = "SEMI", pe = "SLASH", lf = "TILDE", ot = "UNDERSCORE", Wn = "EMOJI", lt = "SYM";
|
148
148
|
var Kn = /* @__PURE__ */ Object.freeze({
|
149
149
|
__proto__: null,
|
150
150
|
WORD: Ie,
|
@@ -210,7 +210,7 @@ function Ya(e = []) {
|
|
210
210
|
const f = {};
|
211
211
|
se.groups = f;
|
212
212
|
const t = new se();
|
213
|
-
jf == null && (jf = bn(Ca)), Ef == null && (Ef = bn(za)),
|
213
|
+
jf == null && (jf = bn(Ca)), Ef == null && (Ef = bn(za)), _(t, "'", Ht), _(t, "{", af), _(t, "}", sf), _(t, "[", Uf), _(t, "]", Bf), _(t, "(", Qf), _(t, ")", Rf), _(t, "<", Yf), _(t, ">", qf), _(t, "(", $f), _(t, ")", Hf), _(t, "「", Ff), _(t, "」", Pf), _(t, "『", Wf), _(t, "』", Kf), _(t, "<", Jf), _(t, ">", Gf), _(t, "&", Zf), _(t, "*", Xf), _(t, "@", De), _(t, "`", ft), _(t, "^", tt), _(t, ":", je), _(t, ",", Ft), _(t, "$", nt), _(t, ".", me), _(t, "=", at), _(t, "!", Pt), _(t, "-", oe), _(t, "%", Af), _(t, "|", st), _(t, "+", At), _(t, "#", it), _(t, "?", of), _(t, '"', Wt), _(t, "/", pe), _(t, ";", Kt), _(t, "~", lf), _(t, "_", ot), _(t, "\\", et), _(t, "・", Pn);
|
214
214
|
const n = F(t, be, qt, {
|
215
215
|
[Tt]: !0
|
216
216
|
});
|
@@ -227,20 +227,20 @@ function Ya(e = []) {
|
|
227
227
|
[xt]: !0
|
228
228
|
});
|
229
229
|
F(i, ve), F(i, be, s), F(i, Xe, i), F(s, be, s), F(s, ve), F(s, Xe, s);
|
230
|
-
const l =
|
230
|
+
const l = _(t, It, $t, {
|
231
231
|
[vt]: !0
|
232
|
-
}), u =
|
232
|
+
}), u = _(t, vn, Lt, {
|
233
233
|
[vt]: !0
|
234
234
|
}), g = F(t, _t, Lt, {
|
235
235
|
[vt]: !0
|
236
236
|
});
|
237
|
-
|
237
|
+
_(t, wt, g), _(u, It, l), _(u, wt, g), F(u, _t, g), _(g, vn), _(g, It), F(g, _t, g), _(g, wt, g);
|
238
238
|
const d = F(t, bt, Wn, {
|
239
239
|
[$n]: !0
|
240
240
|
});
|
241
|
-
|
242
|
-
const p =
|
243
|
-
|
241
|
+
_(d, "#"), F(d, bt, d), _(d, Qa, d);
|
242
|
+
const p = _(d, Ra);
|
243
|
+
_(p, "#"), F(p, bt, d);
|
244
244
|
const m = [[ve, A], [be, a]], h = [[ve, null], [Xe, i], [be, s]];
|
245
245
|
for (let M = 0; M < jf.length; M++)
|
246
246
|
Ne(t, jf[M], zt, Ie, m);
|
@@ -566,34 +566,34 @@ const In = dt("email", {
|
|
566
566
|
function Ha({
|
567
567
|
groups: e
|
568
568
|
}) {
|
569
|
-
const f = e.domain.concat([Zf, Xf, De, et, ft, tt, nt, at, oe, qt, Af, st, At, it, pe, lt, lf, ot]), t = [je, Ft, me, Pt, Af, of, Wt, Kt, Yf, qf, af, sf, Bf, Uf, Qf, Rf, $f, Hf, Ff, Pf, Wf, Kf, Jf, Gf], n = [Zf, Ht, Xf, et, ft, tt, nt, at, oe, af, sf, Af, st, At, it, of, pe, lt, lf, ot], a = ie(), s =
|
569
|
+
const f = e.domain.concat([Zf, Xf, De, et, ft, tt, nt, at, oe, qt, Af, st, At, it, pe, lt, lf, ot]), t = [je, Ft, me, Pt, Af, of, Wt, Kt, Yf, qf, af, sf, Bf, Uf, Qf, Rf, $f, Hf, Ff, Pf, Wf, Kf, Jf, Gf], n = [Zf, Ht, Xf, et, ft, tt, nt, at, oe, af, sf, Af, st, At, it, of, pe, lt, lf, ot], a = ie(), s = _(a, lf);
|
570
570
|
O(s, n, s), O(s, e.domain, s);
|
571
571
|
const A = ie(), i = ie(), l = ie();
|
572
572
|
O(a, e.domain, A), O(a, e.scheme, i), O(a, e.slashscheme, l), O(A, n, s), O(A, e.domain, A);
|
573
|
-
const u =
|
574
|
-
|
575
|
-
const g =
|
573
|
+
const u = _(A, De);
|
574
|
+
_(s, De, u), _(i, De, u), _(l, De, u);
|
575
|
+
const g = _(s, me);
|
576
576
|
O(g, n, s), O(g, e.domain, s);
|
577
577
|
const d = ie();
|
578
578
|
O(u, e.domain, d), O(d, e.domain, d);
|
579
|
-
const p =
|
579
|
+
const p = _(d, me);
|
580
580
|
O(p, e.domain, d);
|
581
581
|
const m = ie(In);
|
582
|
-
O(p, e.tld, m), O(p, e.utld, m),
|
583
|
-
const h =
|
584
|
-
|
585
|
-
const M =
|
582
|
+
O(p, e.tld, m), O(p, e.utld, m), _(u, df, m);
|
583
|
+
const h = _(d, oe);
|
584
|
+
_(h, oe, h), O(h, e.domain, d), O(m, e.domain, d), _(m, me, p), _(m, oe, h);
|
585
|
+
const M = _(m, je);
|
586
586
|
O(M, e.numeric, In);
|
587
|
-
const y =
|
588
|
-
|
587
|
+
const y = _(A, oe), v = _(A, me);
|
588
|
+
_(y, oe, y), O(y, e.domain, A), O(v, n, s), O(v, e.domain, A);
|
589
589
|
const k = ie(Tf);
|
590
|
-
O(
|
591
|
-
const
|
592
|
-
O(
|
590
|
+
O(v, e.tld, k), O(v, e.utld, k), O(k, e.domain, A), O(k, n, s), _(k, me, v), _(k, oe, y), _(k, De, u);
|
591
|
+
const S = _(k, je), w = ie(Tf);
|
592
|
+
O(S, e.numeric, w);
|
593
593
|
const j = ie(Tf), B = ie();
|
594
|
-
O(j, f, j), O(j, t, B), O(B, f, j), O(B, t, B),
|
595
|
-
const E =
|
596
|
-
O(i, e.domain, A),
|
594
|
+
O(j, f, j), O(j, t, B), O(B, f, j), O(B, t, B), _(k, pe, j), _(w, pe, j);
|
595
|
+
const E = _(i, je), x = _(l, je), T = _(x, pe), U = _(T, pe);
|
596
|
+
O(i, e.domain, A), _(i, me, v), _(i, oe, y), O(l, e.domain, A), _(l, me, v), _(l, oe, y), O(E, e.domain, j), _(E, pe, j), _(E, of, j), O(U, e.domain, j), O(U, f, j), _(U, pe, j);
|
597
597
|
const N = [
|
598
598
|
[af, sf],
|
599
599
|
// {}
|
@@ -613,14 +613,14 @@ function Ha({
|
|
613
613
|
// <>
|
614
614
|
];
|
615
615
|
for (let V = 0; V < N.length; V++) {
|
616
|
-
const [z, H] = N[V], X =
|
617
|
-
|
616
|
+
const [z, H] = N[V], X = _(j, z);
|
617
|
+
_(B, z, X), _(X, H, j);
|
618
618
|
const q = ie(Tf);
|
619
619
|
O(X, f, q);
|
620
620
|
const ee = ie();
|
621
|
-
O(X, t), O(q, f, q), O(q, t, ee), O(ee, f, q), O(ee, t, ee),
|
621
|
+
O(X, t), O(q, f, q), O(q, t, ee), O(ee, f, q), O(ee, t, ee), _(q, H, j), _(ee, H, j);
|
622
622
|
}
|
623
|
-
return
|
623
|
+
return _(a, df, k), _(a, $t, $a), {
|
624
624
|
start: a,
|
625
625
|
tokens: Kn
|
626
626
|
};
|
@@ -746,12 +746,12 @@ const Q = (e, f) => {
|
|
746
746
|
]),
|
747
747
|
o("div", fs, [
|
748
748
|
o("h2", ts, D(e.chat.name), 1),
|
749
|
-
e.chat["lastActivity.time"] ? (r(), c("p", ns, D(e.chat["lastActivity.time"]), 1)) :
|
749
|
+
e.chat["lastActivity.time"] ? (r(), c("p", ns, D(e.chat["lastActivity.time"]), 1)) : b("", !0)
|
750
750
|
]),
|
751
751
|
o("div", as, [
|
752
752
|
te(n.$slots, "actions", {}, void 0, !0)
|
753
753
|
])
|
754
|
-
])) :
|
754
|
+
])) : b("", !0);
|
755
755
|
}
|
756
756
|
}, nc = /* @__PURE__ */ Q(ss, [["__scopeId", "data-v-26bb16be"]]), _e = I([]), Mf = (e) => {
|
757
757
|
const f = I(0);
|
@@ -868,23 +868,23 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
868
868
|
return (d, p) => (r(), c("div", rs, [
|
869
869
|
o("div", us, [
|
870
870
|
o("div", {
|
871
|
-
id: "chat-input-first-line-" +
|
871
|
+
id: "chat-input-first-line-" + C(n),
|
872
872
|
class: "chat-input__first-line"
|
873
873
|
}, null, 8, cs),
|
874
874
|
o("div", ds, [
|
875
875
|
ce(o("textarea", {
|
876
876
|
ref_key: "refInput",
|
877
877
|
ref: i,
|
878
|
-
"onUpdate:modelValue": p[0] || (p[0] = (m) =>
|
878
|
+
"onUpdate:modelValue": p[0] || (p[0] = (m) => C(s)().text = m),
|
879
879
|
class: "chat-input__input",
|
880
|
-
placeholder:
|
880
|
+
placeholder: C(Oe)("component.ChatInput.InputPlaceholder"),
|
881
881
|
onKeydown: ka(u, ["enter"]),
|
882
882
|
onInput: l
|
883
883
|
}, null, 40, gs), [
|
884
|
-
[cf,
|
884
|
+
[cf, C(s)().text]
|
885
885
|
]),
|
886
886
|
o("button", {
|
887
|
-
class: L(["chat-input__button-send", { "chat-input__button-send-disabled":
|
887
|
+
class: L(["chat-input__button-send", { "chat-input__button-send-disabled": C(s)().text == "" && !C(s)().file }]),
|
888
888
|
onClick: g
|
889
889
|
}, p[1] || (p[1] = [
|
890
890
|
o("span", { class: "pi pi-send" }, null, -1)
|
@@ -943,34 +943,34 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
943
943
|
class: "chat-list__title-container",
|
944
944
|
onMouseleave: a
|
945
945
|
}, [
|
946
|
-
o("h2", ys, D(
|
946
|
+
o("h2", ys, D(C(Oe)("component.ChatList.Title")), 1),
|
947
947
|
e.actions.length ? (r(), c("button", {
|
948
948
|
key: 0,
|
949
949
|
class: "chat-list__button-actions",
|
950
950
|
onClick: p[0] || (p[0] = (m) => n.value = !n.value)
|
951
951
|
}, [
|
952
952
|
n.value ? (r(), c("span", Ms)) : (r(), c("span", vs))
|
953
|
-
])) :
|
953
|
+
])) : b("", !0),
|
954
954
|
R(P, null, {
|
955
955
|
default: W(() => [
|
956
|
-
n.value && e.actions ? (r(), K(
|
956
|
+
n.value && e.actions ? (r(), K(C(Ve), {
|
957
957
|
key: 0,
|
958
958
|
actions: e.actions,
|
959
959
|
class: "chat-list__context-menu",
|
960
960
|
onClick: g
|
961
|
-
}, null, 8, ["actions"])) :
|
961
|
+
}, null, 8, ["actions"])) : b("", !0)
|
962
962
|
]),
|
963
963
|
_: 1
|
964
964
|
})
|
965
965
|
], 32),
|
966
|
-
e.filterEnabled ? (r(), K(
|
966
|
+
e.filterEnabled ? (r(), K(C(FA), {
|
967
967
|
key: 0,
|
968
968
|
class: "chat-list__filter",
|
969
969
|
onUpdate: u
|
970
|
-
})) :
|
970
|
+
})) : b("", !0),
|
971
971
|
o("div", bs, [
|
972
972
|
o("div", _s, [
|
973
|
-
(r(!0), c($, null, G(l().filter((m) => m.isFixedTop), (m) => (r(), K(
|
973
|
+
(r(!0), c($, null, G(l().filter((m) => m.isFixedTop), (m) => (r(), K(C(Nt), {
|
974
974
|
key: m.chatId,
|
975
975
|
class: "chat-list__item",
|
976
976
|
chat: m,
|
@@ -979,7 +979,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
979
979
|
}, null, 8, ["chat"]))), 128))
|
980
980
|
]),
|
981
981
|
o("div", Is, [
|
982
|
-
(r(!0), c($, null, G(l().filter((m) => !m.isFixedBottom && !m.isFixedTop), (m) => (r(), K(
|
982
|
+
(r(!0), c($, null, G(l().filter((m) => !m.isFixedBottom && !m.isFixedTop), (m) => (r(), K(C(Nt), {
|
983
983
|
key: m.chatId,
|
984
984
|
class: "chat-list__item",
|
985
985
|
chat: m,
|
@@ -988,7 +988,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
988
988
|
}, null, 8, ["chat"]))), 128))
|
989
989
|
]),
|
990
990
|
o("div", ws, [
|
991
|
-
(r(!0), c($, null, G(l().filter((m) => m.isFixedBottom), (m) => (r(), K(
|
991
|
+
(r(!0), c($, null, G(l().filter((m) => m.isFixedBottom), (m) => (r(), K(C(Nt), {
|
992
992
|
key: m.chatId,
|
993
993
|
class: "chat-list__item",
|
994
994
|
chat: m,
|
@@ -1027,9 +1027,9 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1027
1027
|
},
|
1028
1028
|
emits: ["messageAction", "loadMore", "messageVisible"],
|
1029
1029
|
setup(e, { emit: f }) {
|
1030
|
-
const t = I(), n = I(), a = I(!1), s = e, A = de("chatAppId"), i = f, l = () => {
|
1031
|
-
const
|
1032
|
-
|
1030
|
+
const t = I(), n = I(), a = I(!1), s = e, A = de("chatAppId"), i = f, l = (y = !0) => {
|
1031
|
+
const v = C(n);
|
1032
|
+
v.scrollHeight - v.scrollTop - v.clientHeight < 100 ? a.value = !1 : a.value = !0, v.scrollTop === 0 && y && i("loadMore");
|
1033
1033
|
}, u = (y) => ({
|
1034
1034
|
"message.text": pr,
|
1035
1035
|
"message.image": Ar,
|
@@ -1043,13 +1043,13 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1043
1043
|
})[y];
|
1044
1044
|
function g() {
|
1045
1045
|
s.isScrollToBottomOnUpdateObjectsEnabled && tf(function() {
|
1046
|
-
const y =
|
1046
|
+
const y = C(n);
|
1047
1047
|
y.scrollTop = y.scrollHeight;
|
1048
1048
|
});
|
1049
1049
|
}
|
1050
1050
|
function d() {
|
1051
1051
|
tf(function() {
|
1052
|
-
const y =
|
1052
|
+
const y = C(n);
|
1053
1053
|
y.scrollTop = y.scrollHeight;
|
1054
1054
|
});
|
1055
1055
|
}
|
@@ -1057,8 +1057,8 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1057
1057
|
const p = (y) => {
|
1058
1058
|
i("messageAction", y);
|
1059
1059
|
}, m = (y) => {
|
1060
|
-
y.forEach((
|
1061
|
-
|
1060
|
+
y.forEach((v) => {
|
1061
|
+
v.isIntersecting && i("messageVisible", JSON.parse(v.target.id));
|
1062
1062
|
});
|
1063
1063
|
}, h = {
|
1064
1064
|
root: document.getElementById("feed-container-" + A),
|
@@ -1069,16 +1069,16 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1069
1069
|
() => s.objects,
|
1070
1070
|
() => {
|
1071
1071
|
tf(() => {
|
1072
|
-
t.value = document.querySelectorAll(".message-feed__message"), t.value.forEach((y) => M.observe(y));
|
1072
|
+
l(!1), t.value = document.querySelectorAll(".message-feed__message"), t.value.forEach((y) => M.observe(y));
|
1073
1073
|
});
|
1074
1074
|
},
|
1075
1075
|
{ immediate: !0 }
|
1076
|
-
), (y,
|
1076
|
+
), (y, v) => (r(), c("div", {
|
1077
1077
|
ref_key: "refFeed",
|
1078
1078
|
ref: n,
|
1079
1079
|
class: "message-feed",
|
1080
|
-
onScroll: l,
|
1081
|
-
id: "feed-container-" +
|
1080
|
+
onScroll: v[0] || (v[0] = (k) => l()),
|
1081
|
+
id: "feed-container-" + C(A)
|
1082
1082
|
}, [
|
1083
1083
|
o("div", Ds, [
|
1084
1084
|
(r(!0), c($, null, G(e.objects, (k) => (r(), K(Da(u(k.type)), {
|
@@ -1089,13 +1089,13 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1089
1089
|
onAction: p
|
1090
1090
|
}, null, 40, ["id", "message"]))), 128))
|
1091
1091
|
]),
|
1092
|
-
e.typing ? (r(), K(
|
1092
|
+
e.typing ? (r(), K(C(Qn), {
|
1093
1093
|
key: 0,
|
1094
1094
|
message: {
|
1095
1095
|
subText: e.typing.title,
|
1096
1096
|
avatar: e.typing.avatar
|
1097
1097
|
}
|
1098
|
-
}, null, 8, ["message"])) :
|
1098
|
+
}, null, 8, ["message"])) : b("", !0),
|
1099
1099
|
R(P, null, {
|
1100
1100
|
default: W(() => [
|
1101
1101
|
a.value ? (r(), c("button", {
|
@@ -1103,15 +1103,15 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1103
1103
|
class: "message-feed__button-down",
|
1104
1104
|
onClick: d
|
1105
1105
|
}, [
|
1106
|
-
e.buttonParams ? (r(), c("div", js, D(e.buttonParams.unreadAmount), 1)) :
|
1107
|
-
|
1108
|
-
])) :
|
1106
|
+
e.buttonParams ? (r(), c("div", js, D(e.buttonParams.unreadAmount), 1)) : b("", !0),
|
1107
|
+
v[1] || (v[1] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
|
1108
|
+
])) : b("", !0)
|
1109
1109
|
]),
|
1110
1110
|
_: 1
|
1111
1111
|
})
|
1112
1112
|
], 40, Ns));
|
1113
1113
|
}
|
1114
|
-
}), Ac = /* @__PURE__ */ Q(Es, [["__scopeId", "data-v-
|
1114
|
+
}), Ac = /* @__PURE__ */ Q(Es, [["__scopeId", "data-v-6729c8ab"]]), Ts = { class: "profile" }, Vs = {
|
1115
1115
|
key: 0,
|
1116
1116
|
class: "profile__container"
|
1117
1117
|
}, xs = {
|
@@ -1138,11 +1138,11 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1138
1138
|
height: "48",
|
1139
1139
|
width: "48"
|
1140
1140
|
}, null, 8, Ss)
|
1141
|
-
])) :
|
1141
|
+
])) : b("", !0),
|
1142
1142
|
o("h2", Cs, D(e.user.name), 1),
|
1143
1143
|
o("p", zs, D(e.user.email), 1),
|
1144
1144
|
o("p", Os, D(e.user.phone), 1)
|
1145
|
-
])) :
|
1145
|
+
])) : b("", !0)
|
1146
1146
|
]));
|
1147
1147
|
}
|
1148
1148
|
}, ic = /* @__PURE__ */ Q(Ls, [["__scopeId", "data-v-04a5ab7d"]]), Us = ["id"], Bs = {
|
@@ -1216,7 +1216,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1216
1216
|
}), ct(() => {
|
1217
1217
|
document.removeEventListener("click", d);
|
1218
1218
|
}), (p, m) => (r(), c("div", {
|
1219
|
-
id: "container-" +
|
1219
|
+
id: "container-" + C(n),
|
1220
1220
|
ref_key: "actionScope",
|
1221
1221
|
ref: A,
|
1222
1222
|
style: { position: "relative", width: "fit-content" }
|
@@ -1233,8 +1233,8 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1233
1233
|
class: L(e.buttonClass)
|
1234
1234
|
}, D(e.buttonTitle), 3)
|
1235
1235
|
], 34),
|
1236
|
-
R(
|
1237
|
-
id: "context-menu-" +
|
1236
|
+
R(C(Ve), {
|
1237
|
+
id: "context-menu-" + C(n),
|
1238
1238
|
ref_key: "contextMenu",
|
1239
1239
|
ref: s,
|
1240
1240
|
actions: e.actions,
|
@@ -1391,11 +1391,11 @@ const lc = (e) => {
|
|
1391
1391
|
title: "Файл",
|
1392
1392
|
prime: "file"
|
1393
1393
|
}
|
1394
|
-
], y = Y(() => !h().file),
|
1394
|
+
], y = Y(() => !h().file), v = () => {
|
1395
1395
|
n.value = null, m(), s.value = "", a.value = "";
|
1396
1396
|
}, k = (E) => {
|
1397
|
-
|
1398
|
-
},
|
1397
|
+
v(), console.log("onFileSelected", E.target.files[0]), n.value = E.target.files[0], n.value && (S(), w());
|
1398
|
+
}, S = () => {
|
1399
1399
|
const E = n.value, x = Nn(E.type);
|
1400
1400
|
if (A.value = !1, i.value = !1, l.value = !1, x === "image" ? A.value = !0 : x === "video" ? i.value = !0 : x === "audio" && (l.value = !0), A.value || i.value) {
|
1401
1401
|
const V = new FileReader();
|
@@ -1460,20 +1460,20 @@ const lc = (e) => {
|
|
1460
1460
|
onChange: k
|
1461
1461
|
}, null, 544)
|
1462
1462
|
]),
|
1463
|
-
|
1463
|
+
C(h)().file ? (r(), K(yf, {
|
1464
1464
|
key: 0,
|
1465
|
-
to: "#chat-input-first-line-" +
|
1465
|
+
to: "#chat-input-first-line-" + C(d)
|
1466
1466
|
}, [
|
1467
1467
|
R(Xs, {
|
1468
1468
|
"preview-url": s.value,
|
1469
1469
|
"is-image": A.value,
|
1470
1470
|
"is-video": i.value,
|
1471
1471
|
"is-audio": l.value,
|
1472
|
-
"file-name":
|
1472
|
+
"file-name": C(h)().file.name,
|
1473
1473
|
"file-size": g.value,
|
1474
|
-
onReset:
|
1474
|
+
onReset: v
|
1475
1475
|
}, null, 8, ["preview-url", "is-image", "is-video", "is-audio", "file-name", "file-size"])
|
1476
|
-
], 8, ["to"])) :
|
1476
|
+
], 8, ["to"])) : b("", !0)
|
1477
1477
|
], 64));
|
1478
1478
|
}
|
1479
1479
|
}, cc = /* @__PURE__ */ Q(nA, [["__scopeId", "data-v-1cdabe09"]]), aA = { key: 0 }, sA = ["value", "selected"], AA = {
|
@@ -1508,7 +1508,7 @@ const lc = (e) => {
|
|
1508
1508
|
selected: l.default === !0
|
1509
1509
|
}, D(l.name), 9, sA))), 128))
|
1510
1510
|
], 32)
|
1511
|
-
])) :
|
1511
|
+
])) : b("", !0);
|
1512
1512
|
}
|
1513
1513
|
}, dc = /* @__PURE__ */ Q(AA, [["__scopeId", "data-v-a950b8eb"]]), iA = { class: "sidebar" }, oA = { class: "sidebar__container" }, lA = { class: "sidebar__list" }, rA = ["onClick"], uA = ["src", "alt"], cA = { key: 1 }, dA = { class: "sidebar__list-fixed" }, gA = ["onClick"], mA = ["src", "alt"], pA = { key: 1 }, hA = {
|
1514
1514
|
__name: "SideBar",
|
@@ -1544,8 +1544,8 @@ const lc = (e) => {
|
|
1544
1544
|
u.notificationCount ? (r(), c("span", {
|
1545
1545
|
key: 0,
|
1546
1546
|
style: J({ backgroundColor: u.notificationColor ? u.notificationColor : "red" })
|
1547
|
-
}, D(u.notificationCount > 99 ? "99+" : u.notificationCount), 5)) :
|
1548
|
-
u.name ? (r(), c("p", cA, D(A(u.name)), 1)) :
|
1547
|
+
}, D(u.notificationCount > 99 ? "99+" : u.notificationCount), 5)) : b("", !0),
|
1548
|
+
u.name ? (r(), c("p", cA, D(A(u.name)), 1)) : b("", !0)
|
1549
1549
|
], 8, rA))), 128))
|
1550
1550
|
]),
|
1551
1551
|
o("ul", dA, [
|
@@ -1562,8 +1562,8 @@ const lc = (e) => {
|
|
1562
1562
|
u.notificationCount ? (r(), c("span", {
|
1563
1563
|
key: 0,
|
1564
1564
|
style: J({ backgroundColor: u.notificationColor ? u.notificationColor : "red" })
|
1565
|
-
}, D(u.notificationCount > 99 ? "99+" : u.notificationCount), 5)) :
|
1566
|
-
u.name ? (r(), c("p", pA, D(A(u.name)), 1)) :
|
1565
|
+
}, D(u.notificationCount > 99 ? "99+" : u.notificationCount), 5)) : b("", !0),
|
1566
|
+
u.name ? (r(), c("p", pA, D(A(u.name)), 1)) : b("", !0)
|
1567
1567
|
], 8, gA))), 128))
|
1568
1568
|
])
|
1569
1569
|
])
|
@@ -1585,7 +1585,7 @@ const lc = (e) => {
|
|
1585
1585
|
setup(e, { emit: f }) {
|
1586
1586
|
return (t, n) => (r(), c("div", yA, [
|
1587
1587
|
o("div", MA, [
|
1588
|
-
e.title ? (r(), c("p", vA, D(e.title), 1)) :
|
1588
|
+
e.title ? (r(), c("p", vA, D(e.title), 1)) : b("", !0),
|
1589
1589
|
o("button", {
|
1590
1590
|
class: "chat-panel__button-close",
|
1591
1591
|
onClick: n[0] || (n[0] = (a) => t.$emit("close-panel"))
|
@@ -1639,7 +1639,7 @@ const lc = (e) => {
|
|
1639
1639
|
o("img", {
|
1640
1640
|
src: s.value.icon
|
1641
1641
|
}, null, 8, kA)
|
1642
|
-
])) :
|
1642
|
+
])) : b("", !0),
|
1643
1643
|
o("span", NA, D(s.value.title), 1)
|
1644
1644
|
])) : (r(), c("span", DA, "Канал не выбран")),
|
1645
1645
|
R(fa, {
|
@@ -1703,7 +1703,7 @@ const lc = (e) => {
|
|
1703
1703
|
}, 1e3) : (m.value = 0, clearInterval(p));
|
1704
1704
|
},
|
1705
1705
|
{ immediate: !0 }
|
1706
|
-
), (y,
|
1706
|
+
), (y, v) => (r(), c("div", {
|
1707
1707
|
class: L(s()),
|
1708
1708
|
onClick: a
|
1709
1709
|
}, [
|
@@ -1726,37 +1726,37 @@ const lc = (e) => {
|
|
1726
1726
|
]),
|
1727
1727
|
o("div", xA, [
|
1728
1728
|
o("div", SA, D(e.chat.name), 1),
|
1729
|
-
e.chat.lastMessage || e.chat.typing ? (r(), c("div", CA, D(M.value), 1)) :
|
1729
|
+
e.chat.lastMessage || e.chat.typing ? (r(), c("div", CA, D(M.value), 1)) : b("", !0)
|
1730
1730
|
]),
|
1731
1731
|
o("div", zA, [
|
1732
|
-
e.chat["lastActivity.time"] && !l.value ? (r(), c("div", OA, D(e.chat["lastActivity.time"]), 1)) :
|
1733
|
-
e.chat.countUnread > 0 ? (r(), c("div", LA, D(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) :
|
1732
|
+
e.chat["lastActivity.time"] && !l.value ? (r(), c("div", OA, D(e.chat["lastActivity.time"]), 1)) : b("", !0),
|
1733
|
+
e.chat.countUnread > 0 ? (r(), c("div", LA, D(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) : b("", !0),
|
1734
1734
|
l.value && e.chat.actions ? (r(), c("button", {
|
1735
1735
|
key: 2,
|
1736
1736
|
class: "chat-item__menu-button",
|
1737
|
-
onClick:
|
1738
|
-
},
|
1737
|
+
onClick: v[0] || (v[0] = (k) => i.value = !i.value)
|
1738
|
+
}, v[1] || (v[1] = [
|
1739
1739
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
1740
|
-
]))) :
|
1740
|
+
]))) : b("", !0),
|
1741
1741
|
e.chat.countUnread < 1 ? (r(), c("div", UA, [
|
1742
|
-
|
1742
|
+
C(Ke).includes(e.chat["lastMessage.status"]) ? (r(), c("div", {
|
1743
1743
|
key: 0,
|
1744
1744
|
class: L(["chat-item__status-message", d.value])
|
1745
1745
|
}, [
|
1746
|
-
e.chat["lastMessage.status"] !== "sent" ? (r(), c("span", BA)) :
|
1747
|
-
|
1748
|
-
], 2)) :
|
1749
|
-
e.chat.isFixedTop || e.chat.isFixedBottom ? (r(), c("span", QA)) :
|
1750
|
-
])) :
|
1746
|
+
e.chat["lastMessage.status"] !== "sent" ? (r(), c("span", BA)) : b("", !0),
|
1747
|
+
v[2] || (v[2] = o("span", { class: "pi pi-check" }, null, -1))
|
1748
|
+
], 2)) : b("", !0),
|
1749
|
+
e.chat.isFixedTop || e.chat.isFixedBottom ? (r(), c("span", QA)) : b("", !0)
|
1750
|
+
])) : b("", !0)
|
1751
1751
|
]),
|
1752
1752
|
R(P, { name: "menu" }, {
|
1753
1753
|
default: W(() => [
|
1754
|
-
i.value && e.chat.actions ? (r(), K(
|
1754
|
+
i.value && e.chat.actions ? (r(), K(C(Ve), {
|
1755
1755
|
key: 0,
|
1756
1756
|
class: "chat-item__context-menu",
|
1757
1757
|
actions: e.chat.actions,
|
1758
1758
|
onClick: A
|
1759
|
-
}, null, 8, ["actions"])) :
|
1759
|
+
}, null, 8, ["actions"])) : b("", !0)
|
1760
1760
|
]),
|
1761
1761
|
_: 1
|
1762
1762
|
})
|
@@ -1768,7 +1768,7 @@ const lc = (e) => {
|
|
1768
1768
|
emits: ["update"],
|
1769
1769
|
setup(e, { emit: f }) {
|
1770
1770
|
const t = I(""), n = f, a = () => {
|
1771
|
-
const s =
|
1771
|
+
const s = C(t);
|
1772
1772
|
n("update", s.value);
|
1773
1773
|
};
|
1774
1774
|
return (s, A) => (r(), c("div", YA, [
|
@@ -1778,7 +1778,7 @@ const lc = (e) => {
|
|
1778
1778
|
ref: t,
|
1779
1779
|
class: "chat-filter__input",
|
1780
1780
|
type: "text",
|
1781
|
-
placeholder:
|
1781
|
+
placeholder: C(Oe)("component.ChatFilter.InputPlaceholder"),
|
1782
1782
|
onInput: a
|
1783
1783
|
}, null, 40, $A)
|
1784
1784
|
])
|
@@ -1831,8 +1831,8 @@ const lc = (e) => {
|
|
1831
1831
|
})
|
1832
1832
|
]),
|
1833
1833
|
o("ul", JA, [
|
1834
|
-
(r(!0), c($, null, G(e.groupTemplates, (y,
|
1835
|
-
key:
|
1834
|
+
(r(!0), c($, null, G(e.groupTemplates, (y, v) => (r(), c("li", {
|
1835
|
+
key: v,
|
1836
1836
|
class: L(["template-selector__item-group", { "template-selector__item-selected": i.value === y }]),
|
1837
1837
|
onClick: d
|
1838
1838
|
}, [
|
@@ -1842,9 +1842,9 @@ const lc = (e) => {
|
|
1842
1842
|
class: "template-selector__item-group-icon",
|
1843
1843
|
src: y.iconUrl,
|
1844
1844
|
alt: y.title
|
1845
|
-
}, null, 8, ZA)) :
|
1845
|
+
}, null, 8, ZA)) : b("", !0),
|
1846
1846
|
ce(o("input", {
|
1847
|
-
id:
|
1847
|
+
id: v,
|
1848
1848
|
"onUpdate:modelValue": M[1] || (M[1] = (k) => i.value = k),
|
1849
1849
|
value: y,
|
1850
1850
|
class: "template-selector__input-group",
|
@@ -1868,8 +1868,8 @@ const lc = (e) => {
|
|
1868
1868
|
]),
|
1869
1869
|
o("div", fi, [
|
1870
1870
|
m.value.length !== 0 ? (r(), c("ul", ti, [
|
1871
|
-
(r(!0), c($, null, G(m.value, (y,
|
1872
|
-
key:
|
1871
|
+
(r(!0), c($, null, G(m.value, (y, v) => (r(), c("li", {
|
1872
|
+
key: v,
|
1873
1873
|
class: L(["template-selector__item-template", { "template-selector__item-selected": y.isSelected }]),
|
1874
1874
|
onClick: (k) => g(y)
|
1875
1875
|
}, [
|
@@ -2029,12 +2029,12 @@ const lc = (e) => {
|
|
2029
2029
|
}, p = Y(() => i.value ? t.wabaTemplates.filter((N) => N.groupId === i.value.groupId) : t.wabaTemplates), m = Y(() => {
|
2030
2030
|
const N = u.value.trim().toLowerCase();
|
2031
2031
|
return p.value.filter((V) => V.title.toLowerCase().includes(N) || V.template.toLowerCase().includes(N));
|
2032
|
-
}), h = Yn({}), M = I(!1), y = I(null),
|
2033
|
-
|
2032
|
+
}), h = Yn({}), M = I(!1), y = I(null), v = I(null), k = I(""), S = (N) => {
|
2033
|
+
v.value = N, k.value = h[N] || "", M.value = !0;
|
2034
2034
|
}, w = () => {
|
2035
|
-
M.value = !1,
|
2035
|
+
M.value = !1, v.value = null, k.value = "";
|
2036
2036
|
}, j = () => {
|
2037
|
-
B(
|
2037
|
+
B(v.value, k.value), w();
|
2038
2038
|
}, B = (N, V) => {
|
2039
2039
|
h[N] = V;
|
2040
2040
|
}, E = Y(() => {
|
@@ -2085,7 +2085,7 @@ const lc = (e) => {
|
|
2085
2085
|
class: "template-selector__item-group-icon",
|
2086
2086
|
src: z.iconUrl,
|
2087
2087
|
alt: z.title
|
2088
|
-
}, null, 8, _i)) :
|
2088
|
+
}, null, 8, _i)) : b("", !0),
|
2089
2089
|
ce(o("input", {
|
2090
2090
|
id: H,
|
2091
2091
|
"onUpdate:modelValue": V[0] || (V[0] = (X) => i.value = X),
|
@@ -2133,8 +2133,8 @@ const lc = (e) => {
|
|
2133
2133
|
index: z.index,
|
2134
2134
|
value: h[z.index] || "Заполнить",
|
2135
2135
|
"is-filled": !!h[z.index],
|
2136
|
-
onClick: (X) =>
|
2137
|
-
}, null, 8, ["index", "value", "is-filled", "onClick"])) :
|
2136
|
+
onClick: (X) => S(z.index)
|
2137
|
+
}, null, 8, ["index", "value", "is-filled", "onClick"])) : b("", !0)
|
2138
2138
|
], 64))), 128))
|
2139
2139
|
]),
|
2140
2140
|
V[3] || (V[3] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1))
|
@@ -2162,7 +2162,7 @@ const lc = (e) => {
|
|
2162
2162
|
class: "template-selector__modal-button-cancel",
|
2163
2163
|
onClick: w
|
2164
2164
|
}, " Отменить ")
|
2165
|
-
])) :
|
2165
|
+
])) : b("", !0)
|
2166
2166
|
]),
|
2167
2167
|
_: 1
|
2168
2168
|
}),
|
@@ -14678,7 +14678,7 @@ var Ro = function(f, t) {
|
|
14678
14678
|
function Yo(e) {
|
14679
14679
|
var f, t = e.state, n = e.name, a = e.options, s = t.elements.arrow, A = t.modifiersData.popperOffsets, i = he(t.placement), l = nn(i), u = [ae, ue].indexOf(i) >= 0, g = u ? "height" : "width";
|
14680
14680
|
if (!(!s || !A)) {
|
14681
|
-
var d = Ro(a.padding, t), p = tn(s), m = l === "y" ? ne : ae, h = l === "y" ? re : ue, M = t.rects.reference[g] + t.rects.reference[l] - A[l] - t.rects.popper[g], y = A[l] - t.rects.reference[l],
|
14681
|
+
var d = Ro(a.padding, t), p = tn(s), m = l === "y" ? ne : ae, h = l === "y" ? re : ue, M = t.rects.reference[g] + t.rects.reference[l] - A[l] - t.rects.popper[g], y = A[l] - t.rects.reference[l], v = bf(s), k = v ? l === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, S = M / 2 - y / 2, w = d[m], j = k - p[g] - d[h], B = k / 2 - p[g] / 2 + S, E = rf(w, B, j), x = l;
|
14682
14682
|
t.modifiersData[n] = (f = {}, f[x] = E, f.centerOffset = E - B, f);
|
14683
14683
|
}
|
14684
14684
|
}
|
@@ -14712,7 +14712,7 @@ function Fo(e) {
|
|
14712
14712
|
};
|
14713
14713
|
}
|
14714
14714
|
function Sn(e) {
|
14715
|
-
var f, t = e.popper, n = e.popperRect, a = e.placement, s = e.variation, A = e.offsets, i = e.position, l = e.gpuAcceleration, u = e.adaptive, g = e.roundOffsets, d = e.isFixed, p = g === !0 ? Fo(A) : typeof g == "function" ? g(A) : A, m = p.x, h = m === void 0 ? 0 : m, M = p.y, y = M === void 0 ? 0 : M,
|
14715
|
+
var f, t = e.popper, n = e.popperRect, a = e.placement, s = e.variation, A = e.offsets, i = e.position, l = e.gpuAcceleration, u = e.adaptive, g = e.roundOffsets, d = e.isFixed, p = g === !0 ? Fo(A) : typeof g == "function" ? g(A) : A, m = p.x, h = m === void 0 ? 0 : m, M = p.y, y = M === void 0 ? 0 : M, v = A.hasOwnProperty("x"), k = A.hasOwnProperty("y"), S = ae, w = ne, j = window;
|
14716
14716
|
if (u) {
|
14717
14717
|
var B = bf(t), E = "clientHeight", x = "clientWidth";
|
14718
14718
|
if (B === ge(t) && (B = Te(t), Me(B).position !== "static" && i === "absolute" && (E = "scrollHeight", x = "scrollWidth")), B = B, a === ne || (a === ae || a === ue) && s === pf) {
|
@@ -14721,7 +14721,7 @@ function Sn(e) {
|
|
14721
14721
|
y -= T - n.height, y *= l ? 1 : -1;
|
14722
14722
|
}
|
14723
14723
|
if (a === ae || (a === ne || a === re) && s === pf) {
|
14724
|
-
|
14724
|
+
S = ue;
|
14725
14725
|
var U = d && j.visualViewport ? j.visualViewport.width : B[x];
|
14726
14726
|
h -= U - n.width, h *= l ? 1 : -1;
|
14727
14727
|
}
|
@@ -14731,9 +14731,9 @@ function Sn(e) {
|
|
14731
14731
|
}, u && Ho);
|
14732
14732
|
if (l) {
|
14733
14733
|
var V;
|
14734
|
-
return Object.assign({}, N, (V = {}, V[w] = k ? "0" : "", V[
|
14734
|
+
return Object.assign({}, N, (V = {}, V[w] = k ? "0" : "", V[S] = v ? "0" : "", V.transform = (j.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + y + "px)" : "translate3d(" + h + "px, " + y + "px, 0)", V));
|
14735
14735
|
}
|
14736
|
-
return Object.assign({}, N, (f = {}, f[w] = k ? y + "px" : "", f[
|
14736
|
+
return Object.assign({}, N, (f = {}, f[w] = k ? y + "px" : "", f[S] = v ? h + "px" : "", f.transform = "", f));
|
14737
14737
|
}
|
14738
14738
|
function Po(e) {
|
14739
14739
|
var f = e.state, t = e.options, n = t.gpuAcceleration, a = n === void 0 ? !0 : n, s = t.adaptive, A = s === void 0 ? !0 : s, i = t.roundOffsets, l = i === void 0 ? !0 : i, u = {
|
@@ -14923,16 +14923,16 @@ function ma(e) {
|
|
14923
14923
|
}
|
14924
14924
|
function hf(e, f) {
|
14925
14925
|
f === void 0 && (f = {});
|
14926
|
-
var t = f, n = t.placement, a = n === void 0 ? e.placement : n, s = t.boundary, A = s === void 0 ? Io : s, i = t.rootBoundary, l = i === void 0 ? ia : i, u = t.elementContext, g = u === void 0 ? ef : u, d = t.altBoundary, p = d === void 0 ? !1 : d, m = t.padding, h = m === void 0 ? 0 : m, M = ca(typeof h != "number" ? h : da(h, vf)), y = g === ef ? wo : ef,
|
14926
|
+
var t = f, n = t.placement, a = n === void 0 ? e.placement : n, s = t.boundary, A = s === void 0 ? Io : s, i = t.rootBoundary, l = i === void 0 ? ia : i, u = t.elementContext, g = u === void 0 ? ef : u, d = t.altBoundary, p = d === void 0 ? !1 : d, m = t.padding, h = m === void 0 ? 0 : m, M = ca(typeof h != "number" ? h : da(h, vf)), y = g === ef ? wo : ef, v = e.rects.popper, k = e.elements[p ? y : g], S = nl($e(k) ? k : k.contextElement || Te(e.elements.popper), A, l), w = Fe(e.elements.reference), j = ma({
|
14927
14927
|
reference: w,
|
14928
|
-
element:
|
14928
|
+
element: v,
|
14929
14929
|
strategy: "absolute",
|
14930
14930
|
placement: a
|
14931
|
-
}), B = Qt(Object.assign({},
|
14932
|
-
top:
|
14933
|
-
bottom: E.bottom -
|
14934
|
-
left:
|
14935
|
-
right: E.right -
|
14931
|
+
}), B = Qt(Object.assign({}, v, j)), E = g === ef ? B : w, x = {
|
14932
|
+
top: S.top - E.top + M.top,
|
14933
|
+
bottom: E.bottom - S.bottom + M.bottom,
|
14934
|
+
left: S.left - E.left + M.left,
|
14935
|
+
right: E.right - S.right + M.right
|
14936
14936
|
}, T = e.modifiersData.offset;
|
14937
14937
|
if (g === ef && T) {
|
14938
14938
|
var U = T[a];
|
@@ -14972,7 +14972,7 @@ function sl(e) {
|
|
14972
14972
|
function Al(e) {
|
14973
14973
|
var f = e.state, t = e.options, n = e.name;
|
14974
14974
|
if (!f.modifiersData[n]._skip) {
|
14975
|
-
for (var a = t.mainAxis, s = a === void 0 ? !0 : a, A = t.altAxis, i = A === void 0 ? !0 : A, l = t.fallbackPlacements, u = t.padding, g = t.boundary, d = t.rootBoundary, p = t.altBoundary, m = t.flipVariations, h = m === void 0 ? !0 : m, M = t.allowedAutoPlacements, y = f.options.placement,
|
14975
|
+
for (var a = t.mainAxis, s = a === void 0 ? !0 : a, A = t.altAxis, i = A === void 0 ? !0 : A, l = t.fallbackPlacements, u = t.padding, g = t.boundary, d = t.rootBoundary, p = t.altBoundary, m = t.flipVariations, h = m === void 0 ? !0 : m, M = t.allowedAutoPlacements, y = f.options.placement, v = he(y), k = v === y, S = l || (k || !h ? [zf(y)] : sl(y)), w = [y].concat(S).reduce(function(Ue, ke) {
|
14976
14976
|
return Ue.concat(he(ke) === fn ? al(f, {
|
14977
14977
|
placement: ke,
|
14978
14978
|
boundary: g,
|
@@ -15117,7 +15117,7 @@ function pl(e) {
|
|
15117
15117
|
rootBoundary: u,
|
15118
15118
|
padding: d,
|
15119
15119
|
altBoundary: g
|
15120
|
-
}),
|
15120
|
+
}), v = he(f.placement), k = Pe(f.placement), S = !k, w = nn(v), j = ml(w), B = f.modifiersData.popperOffsets, E = f.rects.reference, x = f.rects.popper, T = typeof M == "function" ? M(Object.assign({}, f.rects, {
|
15121
15121
|
placement: f.placement
|
15122
15122
|
})) : M, U = typeof T == "number" ? {
|
15123
15123
|
mainAxis: T,
|
@@ -15134,11 +15134,11 @@ function pl(e) {
|
|
15134
15134
|
var z, H = w === "y" ? ne : ae, X = w === "y" ? re : ue, q = w === "y" ? "height" : "width", ee = B[w], If = ee + y[H], xe = ee - y[X], wf = m ? -x[q] / 2 : 0, pt = k === qe ? E[q] : x[q], Ge = k === qe ? -x[q] : -E[q], kf = f.elements.arrow, Ue = m && kf ? tn(kf) : {
|
15135
15135
|
width: 0,
|
15136
15136
|
height: 0
|
15137
|
-
}, ke = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : ua(), Ze = ke[H], Nf = ke[X], Se = rf(0, E[q], Ue[q]), ht =
|
15137
|
+
}, ke = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : ua(), Ze = ke[H], Nf = ke[X], Se = rf(0, E[q], Ue[q]), ht = S ? E[q] / 2 - wf - Se - Ze - U.mainAxis : pt - Se - Ze - U.mainAxis, Ma = S ? -E[q] / 2 + wf + Se + Nf + U.mainAxis : Ge + Se + Nf + U.mainAxis, yt = f.elements.arrow && bf(f.elements.arrow), va = yt ? w === "y" ? yt.clientTop || 0 : yt.clientLeft || 0 : 0, ln = (z = N == null ? void 0 : N[w]) != null ? z : 0, ba = ee + ht - ln - va, _a = ee + Ma - ln, rn = rf(m ? ut(If, ba) : If, ee, m ? Le(xe, _a) : xe);
|
15138
15138
|
B[w] = rn, V[w] = rn - ee;
|
15139
15139
|
}
|
15140
15140
|
if (i) {
|
15141
|
-
var un, Ia = w === "x" ? ne : ae, wa = w === "x" ? re : ue, Ce = B[j], Df = j === "y" ? "height" : "width", cn = Ce + y[Ia], dn = Ce - y[wa], Mt = [ne, ae].indexOf(
|
15141
|
+
var un, Ia = w === "x" ? ne : ae, wa = w === "x" ? re : ue, Ce = B[j], Df = j === "y" ? "height" : "width", cn = Ce + y[Ia], dn = Ce - y[wa], Mt = [ne, ae].indexOf(v) !== -1, gn = (un = N == null ? void 0 : N[j]) != null ? un : 0, mn = Mt ? cn : Ce - E[Df] - x[Df] - gn + U.altAxis, pn = Mt ? Ce + E[Df] + x[Df] - gn - U.altAxis : dn, hn = m && Mt ? Qo(mn, Ce, pn) : rf(m ? mn : cn, Ce, m ? pn : dn);
|
15142
15142
|
B[j] = hn, V[j] = hn - Ce;
|
15143
15143
|
}
|
15144
15144
|
f.modifiersData[n] = V;
|
@@ -15259,24 +15259,24 @@ function Nl(e) {
|
|
15259
15259
|
styles: {}
|
15260
15260
|
}, d = [], p = !1, m = {
|
15261
15261
|
state: g,
|
15262
|
-
setOptions: function(
|
15263
|
-
var k = typeof
|
15262
|
+
setOptions: function(v) {
|
15263
|
+
var k = typeof v == "function" ? v(g.options) : v;
|
15264
15264
|
M(), g.options = Object.assign({}, s, g.options, k), g.scrollParents = {
|
15265
15265
|
reference: $e(i) ? uf(i) : i.contextElement ? uf(i.contextElement) : [],
|
15266
15266
|
popper: uf(l)
|
15267
15267
|
};
|
15268
|
-
var
|
15269
|
-
return g.orderedModifiers =
|
15268
|
+
var S = Il(kl([].concat(n, g.options.modifiers)));
|
15269
|
+
return g.orderedModifiers = S.filter(function(w) {
|
15270
15270
|
return w.enabled;
|
15271
15271
|
}), h(), m.update();
|
15272
15272
|
},
|
15273
15273
|
forceUpdate: function() {
|
15274
15274
|
if (!p) {
|
15275
|
-
var
|
15276
|
-
if (Bn(k,
|
15275
|
+
var v = g.elements, k = v.reference, S = v.popper;
|
15276
|
+
if (Bn(k, S)) {
|
15277
15277
|
g.rects = {
|
15278
|
-
reference: bl(k, bf(
|
15279
|
-
popper: tn(
|
15278
|
+
reference: bl(k, bf(S), g.options.strategy === "fixed"),
|
15279
|
+
popper: tn(S)
|
15280
15280
|
}, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function(U) {
|
15281
15281
|
return g.modifiersData[U.name] = Object.assign({}, U.data);
|
15282
15282
|
});
|
@@ -15312,13 +15312,13 @@ function Nl(e) {
|
|
15312
15312
|
});
|
15313
15313
|
function h() {
|
15314
15314
|
g.orderedModifiers.forEach(function(y) {
|
15315
|
-
var
|
15315
|
+
var v = y.name, k = y.options, S = k === void 0 ? {} : k, w = y.effect;
|
15316
15316
|
if (typeof w == "function") {
|
15317
15317
|
var j = w({
|
15318
15318
|
state: g,
|
15319
|
-
name:
|
15319
|
+
name: v,
|
15320
15320
|
instance: m,
|
15321
|
-
options:
|
15321
|
+
options: S
|
15322
15322
|
}), B = function() {
|
15323
15323
|
};
|
15324
15324
|
d.push(j || B);
|
@@ -15407,8 +15407,8 @@ const Tl = Z({
|
|
15407
15407
|
}
|
15408
15408
|
function m(h, M) {
|
15409
15409
|
var y;
|
15410
|
-
const
|
15411
|
-
|
15410
|
+
const v = (y = h == null ? void 0 : h.target) == null ? void 0 : y.closest("button");
|
15411
|
+
v && (v.innerHTML = `<span>${Of(M)}</span>`);
|
15412
15412
|
}
|
15413
15413
|
return Ae(
|
15414
15414
|
() => e.activeGroup,
|
@@ -15456,7 +15456,7 @@ function Ul(e, f, t, n, a, s) {
|
|
15456
15456
|
class: L(e.isSticky ? "v3-sticky" : "")
|
15457
15457
|
}, D(e.groupNames[A]), 3)), [
|
15458
15458
|
[Lf, e.emojis[A]]
|
15459
|
-
]) :
|
15459
|
+
]) : b("", !0),
|
15460
15460
|
ce(o("div", Sl, [
|
15461
15461
|
(r(!0), c($, null, G(e.emojis[A], (i) => (r(), c("button", {
|
15462
15462
|
key: i.r,
|
@@ -15553,8 +15553,8 @@ function n1(e, f, t, n, a, s) {
|
|
15553
15553
|
}, null, 8, Xl)
|
15554
15554
|
], 8, Zl)
|
15555
15555
|
], 10, Gl))), 128))
|
15556
|
-
])) :
|
15557
|
-
e.hasGroupIcons && e.hasSearch ? (r(), c("div", e1)) :
|
15556
|
+
])) : b("", !0),
|
15557
|
+
e.hasGroupIcons && e.hasSearch ? (r(), c("div", e1)) : b("", !0),
|
15558
15558
|
e.hasSearch ? (r(), c("div", f1, [
|
15559
15559
|
ce(o("input", {
|
15560
15560
|
"onUpdate:modelValue": f[0] || (f[0] = (A) => e.searchValue = A),
|
@@ -15563,8 +15563,8 @@ function n1(e, f, t, n, a, s) {
|
|
15563
15563
|
}, null, 8, t1), [
|
15564
15564
|
[cf, e.searchValue]
|
15565
15565
|
])
|
15566
|
-
])) :
|
15567
|
-
])) :
|
15566
|
+
])) : b("", !0)
|
15567
|
+
])) : b("", !0);
|
15568
15568
|
}
|
15569
15569
|
var a1 = /* @__PURE__ */ _f(Wl, [["render", n1]]);
|
15570
15570
|
const s1 = Z({
|
@@ -15648,7 +15648,7 @@ function c1(e, f, t, n, a, s) {
|
|
15648
15648
|
onClick: (i) => e.selectSkinTone(A)
|
15649
15649
|
}, null, 10, u1))), 128))
|
15650
15650
|
], 2)
|
15651
|
-
], 64)) :
|
15651
|
+
], 64)) : b("", !0)
|
15652
15652
|
], 32);
|
15653
15653
|
}
|
15654
15654
|
var d1 = /* @__PURE__ */ _f(s1, [["render", c1]]);
|
@@ -15695,8 +15695,8 @@ const g1 = Z({
|
|
15695
15695
|
const { state: u } = de("store"), g = Y(() => u.options.colorTheme);
|
15696
15696
|
function d(y) {
|
15697
15697
|
if (i) {
|
15698
|
-
const
|
15699
|
-
|
15698
|
+
const v = u.options.mode;
|
15699
|
+
v === "prepend" ? A.value = y.i + A.value : v === "insert" && l !== -1 ? (A.value = `${A.value.slice(0, l)}${y.i}${A.value.slice(l)}`, l += y.i.length) : A.value += y.i, f("update:text", A.value);
|
15700
15700
|
}
|
15701
15701
|
f("select", y);
|
15702
15702
|
}
|
@@ -15705,8 +15705,8 @@ const g1 = Z({
|
|
15705
15705
|
t.value && (l = ((y = t.value) == null ? void 0 : y.selectionEnd) || -1);
|
15706
15706
|
}
|
15707
15707
|
function m(y) {
|
15708
|
-
var
|
15709
|
-
!((
|
15708
|
+
var v;
|
15709
|
+
!((v = y.target) != null && v.closest(
|
15710
15710
|
".v3-input-picker-wrap"
|
15711
15711
|
)) && s.value && (s.value = !1);
|
15712
15712
|
}
|
@@ -15980,7 +15980,7 @@ const k1 = {
|
|
15980
15980
|
onMouseover: g,
|
15981
15981
|
onMouseout: d
|
15982
15982
|
}, [
|
15983
|
-
R(
|
15983
|
+
R(C(w1), {
|
15984
15984
|
native: !0,
|
15985
15985
|
theme: i.value,
|
15986
15986
|
"picker-type": "",
|
@@ -16022,7 +16022,7 @@ const k1 = {
|
|
16022
16022
|
}, null, 8, T1)) : i.prime ? (r(), c("i", {
|
16023
16023
|
key: 1,
|
16024
16024
|
class: L("pi pi-" + i.prime)
|
16025
|
-
}, null, 2)) :
|
16025
|
+
}, null, 2)) : b("", !0),
|
16026
16026
|
o("span", null, D(i.title), 1)
|
16027
16027
|
], 8, E1))), 128))
|
16028
16028
|
])
|
@@ -16082,8 +16082,8 @@ const k1 = {
|
|
16082
16082
|
height: "32",
|
16083
16083
|
width: "32",
|
16084
16084
|
style: J({ gridRow: e.message.subText ? "2" : "1" })
|
16085
|
-
}, null, 12, S1)) :
|
16086
|
-
e.message.subText ? (r(), c("p", C1, D(e.message.subText), 1)) :
|
16085
|
+
}, null, 12, S1)) : b("", !0),
|
16086
|
+
e.message.subText ? (r(), c("p", C1, D(e.message.subText), 1)) : b("", !0),
|
16087
16087
|
o("div", {
|
16088
16088
|
class: "file-message__content",
|
16089
16089
|
onMouseenter: g
|
@@ -16105,15 +16105,15 @@ const k1 = {
|
|
16105
16105
|
}, [
|
16106
16106
|
M[2] || (M[2] = o("span", { class: "pi pi-eye" }, null, -1)),
|
16107
16107
|
o("p", null, D(e.message.views), 1)
|
16108
|
-
])) :
|
16108
|
+
])) : b("", !0),
|
16109
16109
|
o("span", U1, D(e.message.time), 1),
|
16110
|
-
m(e.message) === "file-message__right" &&
|
16110
|
+
m(e.message) === "file-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
|
16111
16111
|
key: 1,
|
16112
16112
|
class: L(["file-message__status", p.value])
|
16113
16113
|
}, [
|
16114
|
-
e.message.status !== "sent" ? (r(), c("span", B1)) :
|
16114
|
+
e.message.status !== "sent" ? (r(), c("span", B1)) : b("", !0),
|
16115
16115
|
M[3] || (M[3] = o("span", { class: "pi pi-check" }, null, -1))
|
16116
|
-
], 2)) :
|
16116
|
+
], 2)) : b("", !0)
|
16117
16117
|
]),
|
16118
16118
|
s.value && e.message.actions ? (r(), c("button", {
|
16119
16119
|
key: 0,
|
@@ -16121,7 +16121,7 @@ const k1 = {
|
|
16121
16121
|
onClick: M[0] || (M[0] = (y) => a.value = !a.value)
|
16122
16122
|
}, M[4] || (M[4] = [
|
16123
16123
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
16124
|
-
]))) :
|
16124
|
+
]))) : b("", !0),
|
16125
16125
|
o("a", {
|
16126
16126
|
class: "file-message__download-button",
|
16127
16127
|
href: e.message.url,
|
@@ -16133,12 +16133,12 @@ const k1 = {
|
|
16133
16133
|
]), 8, Q1),
|
16134
16134
|
R(P, null, {
|
16135
16135
|
default: W(() => [
|
16136
|
-
a.value && e.message.actions ? (r(), K(
|
16136
|
+
a.value && e.message.actions ? (r(), K(C(Ve), {
|
16137
16137
|
key: 0,
|
16138
16138
|
class: "file-message__context-menu",
|
16139
16139
|
actions: e.message.actions,
|
16140
16140
|
onClick: u
|
16141
|
-
}, null, 8, ["actions"])) :
|
16141
|
+
}, null, 8, ["actions"])) : b("", !0)
|
16142
16142
|
]),
|
16143
16143
|
_: 1
|
16144
16144
|
}),
|
@@ -16147,7 +16147,7 @@ const k1 = {
|
|
16147
16147
|
innerHTML: A.value,
|
16148
16148
|
onClick: i
|
16149
16149
|
}, null, 8, Y1)
|
16150
|
-
])) :
|
16150
|
+
])) : b("", !0)
|
16151
16151
|
], 32)
|
16152
16152
|
], 42, x1));
|
16153
16153
|
}
|
@@ -16198,7 +16198,7 @@ const k1 = {
|
|
16198
16198
|
function M(y) {
|
16199
16199
|
return y.position === "left" ? "image-message__left" : "image-message__right";
|
16200
16200
|
}
|
16201
|
-
return (y,
|
16201
|
+
return (y, v) => (r(), c("div", {
|
16202
16202
|
class: L(["image-message", M(e.message)]),
|
16203
16203
|
messageId: e.message.messageId,
|
16204
16204
|
onMouseleave: m
|
@@ -16209,14 +16209,14 @@ const k1 = {
|
|
16209
16209
|
src: e.message.avatar,
|
16210
16210
|
height: "32",
|
16211
16211
|
width: "32"
|
16212
|
-
}, null, 8, F1)) :
|
16213
|
-
e.message.subText ? (r(), c("p", P1, D(e.message.subText), 1)) :
|
16212
|
+
}, null, 8, F1)) : b("", !0),
|
16213
|
+
e.message.subText ? (r(), c("p", P1, D(e.message.subText), 1)) : b("", !0),
|
16214
16214
|
o("div", W1, [
|
16215
16215
|
o("div", {
|
16216
16216
|
class: "image-message__preview-button",
|
16217
|
-
onClick:
|
16217
|
+
onClick: v[0] || (v[0] = (k) => a.value = !0),
|
16218
16218
|
onMouseenter: p,
|
16219
|
-
onMouseleave:
|
16219
|
+
onMouseleave: v[1] || (v[1] = (k) => i.value = !i.value)
|
16220
16220
|
}, [
|
16221
16221
|
o("img", {
|
16222
16222
|
class: "image-message__preview-image",
|
@@ -16232,18 +16232,18 @@ const k1 = {
|
|
16232
16232
|
onClick: Qe(g, ["stop"]),
|
16233
16233
|
class: "image-message__views"
|
16234
16234
|
}, [
|
16235
|
-
|
16235
|
+
v[4] || (v[4] = o("span", { class: "pi pi-eye" }, null, -1)),
|
16236
16236
|
o("p", null, D(e.message.views), 1)
|
16237
|
-
])) :
|
16237
|
+
])) : b("", !0),
|
16238
16238
|
o("span", G1, D(e.message.time), 1),
|
16239
|
-
M(e.message) === "image-message__right" &&
|
16239
|
+
M(e.message) === "image-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
|
16240
16240
|
key: 1,
|
16241
16241
|
class: L(["image-message__status", h.value])
|
16242
16242
|
}, [
|
16243
|
-
e.message.status !== "sent" ? (r(), c("span", Z1)) :
|
16244
|
-
|
16245
|
-
], 2)) :
|
16246
|
-
])) :
|
16243
|
+
e.message.status !== "sent" ? (r(), c("span", Z1)) : b("", !0),
|
16244
|
+
v[5] || (v[5] = o("span", { class: "pi pi-check" }, null, -1))
|
16245
|
+
], 2)) : b("", !0)
|
16246
|
+
])) : b("", !0)
|
16247
16247
|
]),
|
16248
16248
|
_: 1
|
16249
16249
|
}),
|
@@ -16256,9 +16256,9 @@ const k1 = {
|
|
16256
16256
|
href: e.message.url,
|
16257
16257
|
download: "",
|
16258
16258
|
target: "_blank"
|
16259
|
-
},
|
16259
|
+
}, v[6] || (v[6] = [
|
16260
16260
|
o("span", { class: "pi pi-download" }, null, -1)
|
16261
|
-
]), 8, X1)) :
|
16261
|
+
]), 8, X1)) : b("", !0)
|
16262
16262
|
]),
|
16263
16263
|
_: 1
|
16264
16264
|
})
|
@@ -16268,21 +16268,21 @@ const k1 = {
|
|
16268
16268
|
A.value && e.message.actions ? (r(), c("button", {
|
16269
16269
|
key: 0,
|
16270
16270
|
class: "image-message__menu-button",
|
16271
|
-
onClick:
|
16272
|
-
},
|
16271
|
+
onClick: v[2] || (v[2] = (k) => s.value = !s.value)
|
16272
|
+
}, v[7] || (v[7] = [
|
16273
16273
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
16274
|
-
]))) :
|
16274
|
+
]))) : b("", !0)
|
16275
16275
|
]),
|
16276
16276
|
_: 1
|
16277
16277
|
}),
|
16278
16278
|
R(P, { name: "context-menu" }, {
|
16279
16279
|
default: W(() => [
|
16280
|
-
s.value && e.message.actions ? (r(), K(
|
16280
|
+
s.value && e.message.actions ? (r(), K(C(Ve), {
|
16281
16281
|
key: 0,
|
16282
16282
|
class: "image-message__context-menu",
|
16283
16283
|
actions: e.message.actions,
|
16284
16284
|
onClick: d
|
16285
|
-
}, null, 8, ["actions"])) :
|
16285
|
+
}, null, 8, ["actions"])) : b("", !0)
|
16286
16286
|
]),
|
16287
16287
|
_: 1
|
16288
16288
|
}),
|
@@ -16291,7 +16291,7 @@ const k1 = {
|
|
16291
16291
|
innerHTML: l.value,
|
16292
16292
|
onClick: u
|
16293
16293
|
}, null, 8, fr)
|
16294
|
-
])) :
|
16294
|
+
])) : b("", !0)
|
16295
16295
|
]),
|
16296
16296
|
(r(), K(yf, { to: "body" }, [
|
16297
16297
|
R(P, { name: "modal-fade" }, {
|
@@ -16300,8 +16300,8 @@ const k1 = {
|
|
16300
16300
|
o("div", nr, [
|
16301
16301
|
o("button", {
|
16302
16302
|
class: "image-message__modal-close-button",
|
16303
|
-
onClick:
|
16304
|
-
},
|
16303
|
+
onClick: v[3] || (v[3] = (k) => a.value = !1)
|
16304
|
+
}, v[8] || (v[8] = [
|
16305
16305
|
o("span", null, [
|
16306
16306
|
o("i", { class: "pi pi-times" })
|
16307
16307
|
], -1)
|
@@ -16312,7 +16312,7 @@ const k1 = {
|
|
16312
16312
|
alt: e.message.alt
|
16313
16313
|
}, null, 8, ar)
|
16314
16314
|
])
|
16315
|
-
])) :
|
16315
|
+
])) : b("", !0)
|
16316
16316
|
]),
|
16317
16317
|
_: 1
|
16318
16318
|
})
|
@@ -16374,8 +16374,8 @@ const k1 = {
|
|
16374
16374
|
height: "32",
|
16375
16375
|
width: "32",
|
16376
16376
|
style: J({ gridRow: e.message.subText ? "2" : "1" })
|
16377
|
-
}, null, 12, lr)) :
|
16378
|
-
e.message.subText ? (r(), c("p", rr, D(e.message.subText), 1)) :
|
16377
|
+
}, null, 12, lr)) : b("", !0),
|
16378
|
+
e.message.subText ? (r(), c("p", rr, D(e.message.subText), 1)) : b("", !0),
|
16379
16379
|
o("div", {
|
16380
16380
|
class: "text-message__content",
|
16381
16381
|
onMouseenter: l
|
@@ -16393,15 +16393,15 @@ const k1 = {
|
|
16393
16393
|
}, [
|
16394
16394
|
M[1] || (M[1] = o("span", { class: "pi pi-eye" }, null, -1)),
|
16395
16395
|
o("p", null, D(e.message.views), 1)
|
16396
|
-
])) :
|
16397
|
-
e.message.time ? (r(), c("span", dr, D(e.message.time), 1)) :
|
16398
|
-
m(e.message) === "text-message__right" &&
|
16396
|
+
])) : b("", !0),
|
16397
|
+
e.message.time ? (r(), c("span", dr, D(e.message.time), 1)) : b("", !0),
|
16398
|
+
m(e.message) === "text-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
|
16399
16399
|
key: 2,
|
16400
16400
|
class: L(["text-message__status", g.value])
|
16401
16401
|
}, [
|
16402
|
-
e.message.status !== "sent" ? (r(), c("span", gr)) :
|
16402
|
+
e.message.status !== "sent" ? (r(), c("span", gr)) : b("", !0),
|
16403
16403
|
M[2] || (M[2] = o("span", { class: "pi pi-check" }, null, -1))
|
16404
|
-
], 2)) :
|
16404
|
+
], 2)) : b("", !0)
|
16405
16405
|
]),
|
16406
16406
|
s.value && e.message.actions ? (r(), c("button", {
|
16407
16407
|
key: 0,
|
@@ -16409,15 +16409,15 @@ const k1 = {
|
|
16409
16409
|
onClick: M[0] || (M[0] = (y) => a.value = !a.value)
|
16410
16410
|
}, M[3] || (M[3] = [
|
16411
16411
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
16412
|
-
]))) :
|
16412
|
+
]))) : b("", !0),
|
16413
16413
|
R(P, null, {
|
16414
16414
|
default: W(() => [
|
16415
|
-
a.value && e.message.actions ? (r(), K(
|
16415
|
+
a.value && e.message.actions ? (r(), K(C(Ve), {
|
16416
16416
|
key: 0,
|
16417
16417
|
class: "text-message__context-menu",
|
16418
16418
|
actions: e.message.actions,
|
16419
16419
|
onClick: d
|
16420
|
-
}, null, 8, ["actions"])) :
|
16420
|
+
}, null, 8, ["actions"])) : b("", !0)
|
16421
16421
|
]),
|
16422
16422
|
_: 1
|
16423
16423
|
})
|
@@ -16468,14 +16468,14 @@ const k1 = {
|
|
16468
16468
|
}, M = () => {
|
16469
16469
|
n("action", { messageId: t.message.messageId, type: "views" });
|
16470
16470
|
}, y = () => {
|
16471
|
-
},
|
16471
|
+
}, v = Y(() => Je(t.message.status));
|
16472
16472
|
function k() {
|
16473
16473
|
a.value && (s.value ? a.value.pause() : a.value.play(), s.value = !s.value);
|
16474
16474
|
}
|
16475
|
-
const
|
16475
|
+
const S = (x) => {
|
16476
16476
|
const T = Math.floor(x / 60), U = Math.floor(x % 60);
|
16477
16477
|
return `${T.toString().padStart(2, "0")}:${U.toString().padStart(2, "0")}`;
|
16478
|
-
}, w = Y(() => a.value ?
|
16478
|
+
}, w = Y(() => a.value ? S(i.value) : "0:00"), j = Y(() => a.value ? S(A.value) : "0:00"), B = Y(() => A.value > 0 ? i.value / A.value * 100 : 0);
|
16479
16479
|
function E(x) {
|
16480
16480
|
return x.position === "left" ? "audio-message__left" : "audio-message__right";
|
16481
16481
|
}
|
@@ -16499,8 +16499,8 @@ const k1 = {
|
|
16499
16499
|
height: "32",
|
16500
16500
|
width: "32",
|
16501
16501
|
style: J({ gridRow: e.message.subText ? "2" : "1" })
|
16502
|
-
}, null, 12, yr)) :
|
16503
|
-
e.message.subText ? (r(), c("p", Mr, D(e.message.subText), 1)) :
|
16502
|
+
}, null, 12, yr)) : b("", !0),
|
16503
|
+
e.message.subText ? (r(), c("p", Mr, D(e.message.subText), 1)) : b("", !0),
|
16504
16504
|
o("div", {
|
16505
16505
|
class: "audio-message__content",
|
16506
16506
|
onMouseenter: m
|
@@ -16541,15 +16541,15 @@ const k1 = {
|
|
16541
16541
|
}, [
|
16542
16542
|
T[5] || (T[5] = o("span", { class: "pi pi-eye" }, null, -1)),
|
16543
16543
|
o("p", null, D(e.message.views), 1)
|
16544
|
-
])) :
|
16544
|
+
])) : b("", !0),
|
16545
16545
|
o("span", wr, D(e.message.time), 1),
|
16546
|
-
E(e.message) === "audio-message__right" &&
|
16546
|
+
E(e.message) === "audio-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
|
16547
16547
|
key: 1,
|
16548
|
-
class: L(["audio-message__status",
|
16548
|
+
class: L(["audio-message__status", v.value])
|
16549
16549
|
}, [
|
16550
|
-
e.message.status !== "sent" ? (r(), c("span", kr)) :
|
16550
|
+
e.message.status !== "sent" ? (r(), c("span", kr)) : b("", !0),
|
16551
16551
|
T[6] || (T[6] = o("span", { class: "pi pi-check" }, null, -1))
|
16552
|
-
], 2)) :
|
16552
|
+
], 2)) : b("", !0)
|
16553
16553
|
]),
|
16554
16554
|
u.value && e.message.actions ? (r(), c("button", {
|
16555
16555
|
key: 0,
|
@@ -16557,7 +16557,7 @@ const k1 = {
|
|
16557
16557
|
onClick: T[0] || (T[0] = (N) => l.value = !l.value)
|
16558
16558
|
}, T[7] || (T[7] = [
|
16559
16559
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
16560
|
-
]))) :
|
16560
|
+
]))) : b("", !0),
|
16561
16561
|
o("a", {
|
16562
16562
|
class: "audio-message__download-button",
|
16563
16563
|
onClick: Qe(() => "//Предотвращаем всплытие события клика", ["stop"]),
|
@@ -16569,12 +16569,12 @@ const k1 = {
|
|
16569
16569
|
]), 8, Nr),
|
16570
16570
|
R(P, null, {
|
16571
16571
|
default: W(() => [
|
16572
|
-
l.value && e.message.actions ? (r(), K(
|
16572
|
+
l.value && e.message.actions ? (r(), K(C(Ve), {
|
16573
16573
|
key: 0,
|
16574
16574
|
class: "audio-message__context-menu",
|
16575
16575
|
actions: e.message.actions,
|
16576
16576
|
onClick: y
|
16577
|
-
}, null, 8, ["actions"])) :
|
16577
|
+
}, null, 8, ["actions"])) : b("", !0)
|
16578
16578
|
]),
|
16579
16579
|
_: 1
|
16580
16580
|
}),
|
@@ -16582,7 +16582,7 @@ const k1 = {
|
|
16582
16582
|
o("p", {
|
16583
16583
|
onClick: T[1] || (T[1] = (N) => d.value = !d.value)
|
16584
16584
|
}, D(e.message.transcript.text), 1)
|
16585
|
-
])) :
|
16585
|
+
])) : b("", !0),
|
16586
16586
|
(r(), K(yf, { to: "body" }, [
|
16587
16587
|
R(P, { name: "modal-fade" }, {
|
16588
16588
|
default: W(() => {
|
@@ -16600,7 +16600,7 @@ const k1 = {
|
|
16600
16600
|
])),
|
16601
16601
|
o("p", null, D((N = e.message.transcript) == null ? void 0 : N.text), 1)
|
16602
16602
|
])
|
16603
|
-
])) :
|
16603
|
+
])) : b("", !0)
|
16604
16604
|
];
|
16605
16605
|
}),
|
16606
16606
|
_: 1
|
@@ -16611,7 +16611,7 @@ const k1 = {
|
|
16611
16611
|
innerHTML: g.value,
|
16612
16612
|
onClick: p
|
16613
16613
|
}, null, 8, Vr)
|
16614
|
-
])) :
|
16614
|
+
])) : b("", !0)
|
16615
16615
|
], 32)
|
16616
16616
|
], 42, hr);
|
16617
16617
|
};
|
@@ -16659,8 +16659,8 @@ const k1 = {
|
|
16659
16659
|
emits: ["action"],
|
16660
16660
|
setup(e, { emit: f }) {
|
16661
16661
|
const t = e, n = f;
|
16662
|
-
function a(
|
16663
|
-
return
|
16662
|
+
function a(S) {
|
16663
|
+
return S.position === "left" ? "video-message__left" : "video-message__right";
|
16664
16664
|
}
|
16665
16665
|
const s = I(), A = I(), i = I(!1), l = I(!1), u = I(!1), g = I(!1), d = I("");
|
16666
16666
|
Ae(
|
@@ -16670,8 +16670,8 @@ const k1 = {
|
|
16670
16670
|
},
|
16671
16671
|
{ immediate: !0 }
|
16672
16672
|
);
|
16673
|
-
function p(
|
16674
|
-
|
16673
|
+
function p(S) {
|
16674
|
+
S.preventDefault(), S.target.href && window.open(S.target.href, "_blank");
|
16675
16675
|
}
|
16676
16676
|
const m = () => {
|
16677
16677
|
n("action", { messageId: t.message.messageId, type: "views" });
|
@@ -16680,12 +16680,12 @@ const k1 = {
|
|
16680
16680
|
u.value = !0, g.value = !0;
|
16681
16681
|
}, y = () => {
|
16682
16682
|
u.value = !1, l.value = !1;
|
16683
|
-
},
|
16683
|
+
}, v = Y(() => Je(t.message.status)), k = () => {
|
16684
16684
|
A.value && (A.value.currentTime = 0, A.value.play());
|
16685
16685
|
};
|
16686
|
-
return Ae([s, A], ([
|
16687
|
-
|
16688
|
-
}), (
|
16686
|
+
return Ae([s, A], ([S, w]) => {
|
16687
|
+
S ? w && (w.pause(), w.currentTime = 0) : w && (w.play(), w.currentTime = 0);
|
16688
|
+
}), (S, w) => (r(), c("div", {
|
16689
16689
|
class: L(["video-message", a(e.message)]),
|
16690
16690
|
messageId: e.message.messageId,
|
16691
16691
|
onMouseleave: y
|
@@ -16696,8 +16696,8 @@ const k1 = {
|
|
16696
16696
|
src: e.message.avatar,
|
16697
16697
|
height: "32",
|
16698
16698
|
width: "32"
|
16699
|
-
}, null, 8, Qr)) :
|
16700
|
-
e.message.subText ? (r(), c("p", Rr, D(e.message.subText), 1)) :
|
16699
|
+
}, null, 8, Qr)) : b("", !0),
|
16700
|
+
e.message.subText ? (r(), c("p", Rr, D(e.message.subText), 1)) : b("", !0),
|
16701
16701
|
o("div", Yr, [
|
16702
16702
|
o("div", {
|
16703
16703
|
class: "video-message__preview-button",
|
@@ -16725,16 +16725,16 @@ const k1 = {
|
|
16725
16725
|
}, [
|
16726
16726
|
w[4] || (w[4] = o("span", { class: "pi pi-eye" }, null, -1)),
|
16727
16727
|
o("p", null, D(e.message.views), 1)
|
16728
|
-
])) :
|
16728
|
+
])) : b("", !0),
|
16729
16729
|
o("span", Hr, D(e.message.time), 1),
|
16730
|
-
a(e.message) === "video-message__right" &&
|
16730
|
+
a(e.message) === "video-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
|
16731
16731
|
key: 1,
|
16732
|
-
class: L(["video-message__status",
|
16732
|
+
class: L(["video-message__status", v.value])
|
16733
16733
|
}, [
|
16734
|
-
e.message.status !== "sent" ? (r(), c("span", Fr)) :
|
16734
|
+
e.message.status !== "sent" ? (r(), c("span", Fr)) : b("", !0),
|
16735
16735
|
w[5] || (w[5] = o("span", { class: "pi pi-check" }, null, -1))
|
16736
|
-
], 2)) :
|
16737
|
-
])) :
|
16736
|
+
], 2)) : b("", !0)
|
16737
|
+
])) : b("", !0)
|
16738
16738
|
]),
|
16739
16739
|
_: 1
|
16740
16740
|
}),
|
@@ -16749,7 +16749,7 @@ const k1 = {
|
|
16749
16749
|
target: "_blank"
|
16750
16750
|
}, w[6] || (w[6] = [
|
16751
16751
|
o("span", { class: "pi pi-download" }, null, -1)
|
16752
|
-
]), 8, Pr)) :
|
16752
|
+
]), 8, Pr)) : b("", !0)
|
16753
16753
|
]),
|
16754
16754
|
_: 1
|
16755
16755
|
})
|
@@ -16762,18 +16762,18 @@ const k1 = {
|
|
16762
16762
|
onClick: w[2] || (w[2] = (j) => l.value = !l.value)
|
16763
16763
|
}, w[7] || (w[7] = [
|
16764
16764
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
16765
|
-
]))) :
|
16765
|
+
]))) : b("", !0)
|
16766
16766
|
]),
|
16767
16767
|
_: 1
|
16768
16768
|
}),
|
16769
16769
|
R(P, { name: "context-menu" }, {
|
16770
16770
|
default: W(() => [
|
16771
|
-
l.value && e.message.actions ? (r(), K(
|
16771
|
+
l.value && e.message.actions ? (r(), K(C(Ve), {
|
16772
16772
|
key: 0,
|
16773
16773
|
class: "video-message__context-menu",
|
16774
16774
|
actions: e.message.actions,
|
16775
16775
|
onClick: h
|
16776
|
-
}, null, 8, ["actions"])) :
|
16776
|
+
}, null, 8, ["actions"])) : b("", !0)
|
16777
16777
|
]),
|
16778
16778
|
_: 1
|
16779
16779
|
}),
|
@@ -16782,7 +16782,7 @@ const k1 = {
|
|
16782
16782
|
innerHTML: d.value,
|
16783
16783
|
onClick: p
|
16784
16784
|
}, null, 8, Kr)
|
16785
|
-
])) :
|
16785
|
+
])) : b("", !0)
|
16786
16786
|
]),
|
16787
16787
|
(r(), K(yf, { to: "body" }, [
|
16788
16788
|
R(P, { name: "modal-fade" }, {
|
@@ -16807,7 +16807,7 @@ const k1 = {
|
|
16807
16807
|
autoplay: ""
|
16808
16808
|
}, null, 8, Zr)
|
16809
16809
|
])
|
16810
|
-
])) :
|
16810
|
+
])) : b("", !0)
|
16811
16811
|
]),
|
16812
16812
|
_: 1
|
16813
16813
|
})
|
@@ -16873,8 +16873,8 @@ const k1 = {
|
|
16873
16873
|
height: "32",
|
16874
16874
|
width: "32",
|
16875
16875
|
style: J({ gridRow: e.message.subText ? "2" : "1" })
|
16876
|
-
}, null, 12, nu)) :
|
16877
|
-
e.message.subText ? (r(), c("p", au, D(e.message.subText), 1)) :
|
16876
|
+
}, null, 12, nu)) : b("", !0),
|
16877
|
+
e.message.subText ? (r(), c("p", au, D(e.message.subText), 1)) : b("", !0),
|
16878
16878
|
o("div", su, [
|
16879
16879
|
o("span", {
|
16880
16880
|
class: "call-message__icon pi pi-phone",
|
@@ -16891,7 +16891,7 @@ const k1 = {
|
|
16891
16891
|
onClick: s[0] || (s[0] = (i) => f.value = !f.value)
|
16892
16892
|
}, s[2] || (s[2] = [
|
16893
16893
|
o("span", { class: "pi pi-arrow-up-right" }, null, -1)
|
16894
|
-
]))) :
|
16894
|
+
]))) : b("", !0),
|
16895
16895
|
(r(), K(yf, { to: "body" }, [
|
16896
16896
|
R(P, { name: "modal-fade" }, {
|
16897
16897
|
default: W(() => {
|
@@ -16914,7 +16914,7 @@ const k1 = {
|
|
16914
16914
|
o("span", null, D(l.time), 1)
|
16915
16915
|
], 2))), 256))
|
16916
16916
|
])
|
16917
|
-
])) :
|
16917
|
+
])) : b("", !0)
|
16918
16918
|
];
|
16919
16919
|
}),
|
16920
16920
|
_: 1
|
@@ -16961,8 +16961,8 @@ const k1 = {
|
|
16961
16961
|
height: "32",
|
16962
16962
|
width: "32",
|
16963
16963
|
style: J({ gridRow: e.message.subText ? "2" : "1" })
|
16964
|
-
}, null, 12, wu)) :
|
16965
|
-
e.message.subText ? (r(), c("p", ku, D(e.message.subText), 1)) :
|
16964
|
+
}, null, 12, wu)) : b("", !0),
|
16965
|
+
e.message.subText ? (r(), c("p", ku, D(e.message.subText), 1)) : b("", !0),
|
16966
16966
|
t[0] || (t[0] = o("div", { class: "typing-message__loader-container" }, [
|
16967
16967
|
o("div", { class: "typing-message__loader" })
|
16968
16968
|
], -1))
|
@@ -17049,7 +17049,7 @@ function on({ component: e, attrs: f }) {
|
|
17049
17049
|
const vc = async (e, f) => {
|
17050
17050
|
const t = await on({
|
17051
17051
|
//в component должен быть встроен emit change(key: value)
|
17052
|
-
component: import("./SelectUser2-
|
17052
|
+
component: import("./SelectUser2-BEc8U26U.js"),
|
17053
17053
|
attrs: {
|
17054
17054
|
title: e,
|
17055
17055
|
users: f
|
@@ -17080,7 +17080,7 @@ const vc = async (e, f) => {
|
|
17080
17080
|
setup(e) {
|
17081
17081
|
const f = Rt();
|
17082
17082
|
return Yt("chatAppId", f), (t, n) => (r(), c("div", {
|
17083
|
-
id:
|
17083
|
+
id: C(f),
|
17084
17084
|
class: "base"
|
17085
17085
|
}, [
|
17086
17086
|
o("div", {
|
@@ -17138,7 +17138,7 @@ const vc = async (e, f) => {
|
|
17138
17138
|
);
|
17139
17139
|
}), u.value = a.value.offsetHeight - s.value.offsetHeight;
|
17140
17140
|
}), (h, M) => (r(), c("div", {
|
17141
|
-
id:
|
17141
|
+
id: C(g),
|
17142
17142
|
ref_key: "element",
|
17143
17143
|
ref: a,
|
17144
17144
|
class: "float-window",
|
@@ -17166,7 +17166,7 @@ const vc = async (e, f) => {
|
|
17166
17166
|
class: "float-window__avatar",
|
17167
17167
|
src: t.avatar,
|
17168
17168
|
alt: t.title
|
17169
|
-
}, null, 8, Ou)) :
|
17169
|
+
}, null, 8, Ou)) : b("", !0),
|
17170
17170
|
o("p", Lu, D(t.title), 1),
|
17171
17171
|
o("button", {
|
17172
17172
|
class: "float-window__close-button",
|
@@ -17220,7 +17220,7 @@ const kc = /* @__PURE__ */ Q(Bu, [["render", qu], ["__scopeId", "data-v-a5df3fcf
|
|
17220
17220
|
ref_key: "resizableDiv",
|
17221
17221
|
ref: f,
|
17222
17222
|
class: "extend-layout__second-col resizable-div",
|
17223
|
-
style: J({ userSelect:
|
17223
|
+
style: J({ userSelect: C(t) ? "none" : "auto" }),
|
17224
17224
|
onMousedown: A,
|
17225
17225
|
onMouseup: l
|
17226
17226
|
}, [
|
@@ -17262,7 +17262,7 @@ const Dc = /* @__PURE__ */ Q(Wu, [["render", Gu], ["__scopeId", "data-v-e71ea0ed
|
|
17262
17262
|
e.isSelectedChat ? (r(), c("div", Xu, [
|
17263
17263
|
te(f.$slots, "default", {}, void 0, !0)
|
17264
17264
|
])) : (r(), c("div", ec, [
|
17265
|
-
o("p", null, D(
|
17265
|
+
o("p", null, D(C(Oe)("layout.ChatWrapper.noSelectedChat")), 1)
|
17266
17266
|
])),
|
17267
17267
|
e.isOpenChatPanel ? (r(), c("div", {
|
17268
17268
|
key: 2,
|
@@ -17270,7 +17270,7 @@ const Dc = /* @__PURE__ */ Q(Wu, [["render", Gu], ["__scopeId", "data-v-e71ea0ed
|
|
17270
17270
|
style: J({ "flex-basis": e.isOpenChatPanel ? "40%" : "0%" })
|
17271
17271
|
}, [
|
17272
17272
|
te(f.$slots, "chatpanel", {}, void 0, !0)
|
17273
|
-
], 4)) :
|
17273
|
+
], 4)) : b("", !0)
|
17274
17274
|
]));
|
17275
17275
|
}
|
17276
17276
|
}), jc = /* @__PURE__ */ Q(fc, [["__scopeId", "data-v-12c6a622"]]);
|