@mobilon-dev/chotto 0.0.100 → 0.0.102
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.
- package/README.md +2 -2
- package/dist/{CreateDialog-DA14LMwr.js → CreateDialog-DYLAu6u4.js} +1 -1
- package/dist/ModalVideoRecorder-Cyk9jDqV.js +143 -0
- package/dist/{SelectUser2-C3_AeExs.js → SelectUser2-Ckk2MZef.js} +1 -1
- package/dist/{index-CajaIOuC.js → index-DEJsbVgZ.js} +255 -249
- package/dist/style.css +1 -1
- package/dist/vuessages.es.js +1 -1
- package/dist/vuessages.umd.js +4 -4
- package/package.json +1 -1
- package/dist/ModalVideoRecorder-DzrQvpjE.js +0 -107
@@ -1,4 +1,4 @@
|
|
1
|
-
import { inject as ee, computed as Q, openBlock as r, createElementBlock as u, createElementVNode as o, createCommentVNode as v, toDisplayString as T, renderSlot as ne, unref as
|
1
|
+
import { inject as ee, computed as Q, openBlock as r, createElementBlock as u, createElementVNode as o, createCommentVNode as v, toDisplayString as T, renderSlot as ne, unref as N, ref as b, customRef as Zf, withKeys as Jn, defineComponent as W, onMounted as ie, withDirectives as ce, vShow as We, createBlock as B, Teleport as Ae, createVNode as F, Transition as X, withCtx as K, watch as G, nextTick as et, vModelText as lt, normalizeClass as O, Fragment as q, renderList as te, normalizeStyle as se, resolveDynamicComponent as Xf, useId as Gn, onUnmounted as Ke, toRef as Ba, vModelRadio as ea, reactive as ta, provide as In, getCurrentInstance as Ra, toRaw as na, onBeforeUnmount as Qa, readonly as $a, resolveComponent as Pt, h as Tf, defineAsyncComponent as Ya, createApp as Pa, withModifiers as kt } from "vue";
|
2
2
|
const Fa = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", qa = "ελ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", tt = (e, t) => {
|
3
3
|
for (const n in t)
|
4
4
|
e[n] = t[n];
|
@@ -144,7 +144,7 @@ me.prototype = {
|
|
144
144
|
return a.j[e] = i, i;
|
145
145
|
}
|
146
146
|
};
|
147
|
-
const P = (e, t, n, f, a) => e.ta(t, n, f, a), ae = (e, t, n, f, a) => e.tr(t, n, f, a), jf = (e, t, n, f, a) => e.ts(t, n, f, a),
|
147
|
+
const P = (e, t, n, f, a) => e.ta(t, n, f, a), ae = (e, t, n, f, a) => e.tr(t, n, f, a), jf = (e, t, n, f, a) => e.ts(t, n, f, a), E = (e, t, n, f, a) => e.tt(t, n, f, a), Ce = "WORD", Yn = "UWORD", aa = "ASCIINUMERICAL", sa = "ALPHANUMERICAL", Nt = "LOCALHOST", Pn = "TLD", Fn = "UTLD", Ft = "SCHEME", Xe = "SLASH_SCHEME", Zn = "NUM", qn = "WS", Xn = "NL", vt = "OPENBRACE", yt = "CLOSEBRACE", Wt = "OPENBRACKET", Kt = "CLOSEBRACKET", Jt = "OPENPAREN", Gt = "CLOSEPAREN", Zt = "OPENANGLEBRACKET", Xt = "CLOSEANGLEBRACKET", en = "FULLWIDTHLEFTPAREN", tn = "FULLWIDTHRIGHTPAREN", nn = "LEFTCORNERBRACKET", fn = "RIGHTCORNERBRACKET", an = "LEFTWHITECORNERBRACKET", sn = "RIGHTWHITECORNERBRACKET", on = "FULLWIDTHLESSTHAN", ln = "FULLWIDTHGREATERTHAN", rn = "AMPERSAND", ef = "APOSTROPHE", An = "ASTERISK", Ue = "AT", cn = "BACKSLASH", un = "BACKTICK", dn = "CARET", Be = "COLON", tf = "COMMA", gn = "DOLLAR", De = "DOT", mn = "EQUALS", nf = "EXCLAMATION", ye = "HYPHEN", bt = "PERCENT", pn = "PIPE", hn = "PLUS", vn = "POUND", Mt = "QUERY", ff = "QUOTE", ia = "FULLWIDTHMIDDLEDOT", af = "SEMI", Ee = "SLASH", _t = "TILDE", yn = "UNDERSCORE", oa = "EMOJI", bn = "SYM";
|
148
148
|
var la = /* @__PURE__ */ Object.freeze({
|
149
149
|
__proto__: null,
|
150
150
|
WORD: Ce,
|
@@ -210,7 +210,7 @@ function Xa(e = []) {
|
|
210
210
|
const t = {};
|
211
211
|
me.groups = t;
|
212
212
|
const n = new me();
|
213
|
-
Bt == null && (Bt = Vf(Fa)), Rt == null && (Rt = Vf(qa)),
|
213
|
+
Bt == null && (Bt = Vf(Fa)), Rt == null && (Rt = Vf(qa)), E(n, "'", ef), E(n, "{", vt), E(n, "}", yt), E(n, "[", Wt), E(n, "]", Kt), E(n, "(", Jt), E(n, ")", Gt), E(n, "<", Zt), E(n, ">", Xt), E(n, "(", en), E(n, ")", tn), E(n, "「", nn), E(n, "」", fn), E(n, "『", an), E(n, "』", sn), E(n, "<", on), E(n, ">", ln), E(n, "&", rn), E(n, "*", An), E(n, "@", Ue), E(n, "`", un), E(n, "^", dn), E(n, ":", Be), E(n, ",", tf), E(n, "$", gn), E(n, ".", De), E(n, "=", mn), E(n, "!", nf), E(n, "-", ye), E(n, "%", bt), E(n, "|", pn), E(n, "+", hn), E(n, "#", vn), E(n, "?", Mt), E(n, '"', ff), E(n, "/", Ee), E(n, ";", af), E(n, "~", _t), E(n, "_", yn), E(n, "\\", cn), E(n, "・", ia);
|
214
214
|
const f = ae(n, Se, Zn, {
|
215
215
|
[Bn]: !0
|
216
216
|
});
|
@@ -227,20 +227,20 @@ function Xa(e = []) {
|
|
227
227
|
[Qn]: !0
|
228
228
|
});
|
229
229
|
ae(l, Ve), ae(l, Se, s), ae(l, ut, l), ae(s, Se, s), ae(s, Ve), ae(s, ut, s);
|
230
|
-
const c =
|
230
|
+
const c = E(n, Vn, Xn, {
|
231
231
|
[Tn]: !0
|
232
|
-
}), A =
|
232
|
+
}), A = E(n, xf, qn, {
|
233
233
|
[Tn]: !0
|
234
234
|
}), d = ae(n, xn, qn, {
|
235
235
|
[Tn]: !0
|
236
236
|
});
|
237
|
-
|
237
|
+
E(n, Sn, d), E(A, Vn, c), E(A, Sn, d), ae(A, xn, d), E(d, xf), E(d, Vn), ae(d, xn, d), E(d, Sn, d);
|
238
238
|
const g = ae(n, jn, oa, {
|
239
239
|
[fa]: !0
|
240
240
|
});
|
241
|
-
|
242
|
-
const m =
|
243
|
-
|
241
|
+
E(g, "#"), ae(g, jn, g), E(g, Ga, g);
|
242
|
+
const m = E(g, Za);
|
243
|
+
E(m, "#"), ae(m, jn, g);
|
244
244
|
const M = [[Ve, i], [Se, a]], p = [[Ve, null], [ut, l], [Se, s]];
|
245
245
|
for (let y = 0; y < Bt.length; y++)
|
246
246
|
Le(n, Bt[y], Pn, Ce, M);
|
@@ -566,34 +566,34 @@ const Cf = wn("email", {
|
|
566
566
|
function ns({
|
567
567
|
groups: e
|
568
568
|
}) {
|
569
|
-
const t = e.domain.concat([rn, An, Ue, cn, un, dn, gn, mn, ye, Zn, bt, pn, hn, vn, Ee, bn, _t, yn]), n = [Be, tf, De, nf, bt, Mt, ff, af, Zt, Xt, vt, yt, Kt, Wt, Jt, Gt, en, tn, nn, fn, an, sn, on, ln], f = [rn, ef, An, cn, un, dn, gn, mn, ye, vt, yt, bt, pn, hn, vn, Mt, Ee, bn, _t, yn], a = ve(), s =
|
569
|
+
const t = e.domain.concat([rn, An, Ue, cn, un, dn, gn, mn, ye, Zn, bt, pn, hn, vn, Ee, bn, _t, yn]), n = [Be, tf, De, nf, bt, Mt, ff, af, Zt, Xt, vt, yt, Kt, Wt, Jt, Gt, en, tn, nn, fn, an, sn, on, ln], f = [rn, ef, An, cn, un, dn, gn, mn, ye, vt, yt, bt, pn, hn, vn, Mt, Ee, bn, _t, yn], a = ve(), s = E(a, _t);
|
570
570
|
P(s, f, s), P(s, e.domain, s);
|
571
571
|
const i = ve(), l = ve(), c = ve();
|
572
572
|
P(a, e.domain, i), P(a, e.scheme, l), P(a, e.slashscheme, c), P(i, f, s), P(i, e.domain, i);
|
573
|
-
const A =
|
574
|
-
|
575
|
-
const d =
|
573
|
+
const A = E(i, Ue);
|
574
|
+
E(s, Ue, A), E(l, Ue, A), E(c, Ue, A);
|
575
|
+
const d = E(s, De);
|
576
576
|
P(d, f, s), P(d, e.domain, s);
|
577
577
|
const g = ve();
|
578
578
|
P(A, e.domain, g), P(g, e.domain, g);
|
579
|
-
const m =
|
579
|
+
const m = E(g, De);
|
580
580
|
P(m, e.domain, g);
|
581
581
|
const M = ve(Cf);
|
582
|
-
P(m, e.tld, M), P(m, e.utld, M),
|
583
|
-
const p =
|
584
|
-
|
585
|
-
const y =
|
582
|
+
P(m, e.tld, M), P(m, e.utld, M), E(A, Nt, M);
|
583
|
+
const p = E(g, ye);
|
584
|
+
E(p, ye, p), P(p, e.domain, g), P(M, e.domain, g), E(M, De, m), E(M, ye, p);
|
585
|
+
const y = E(M, Be);
|
586
586
|
P(y, e.numeric, Cf);
|
587
|
-
const h =
|
588
|
-
|
587
|
+
const h = E(i, ye), V = E(i, De);
|
588
|
+
E(h, ye, h), P(h, e.domain, i), P(V, f, s), P(V, e.domain, i);
|
589
589
|
const S = ve(Qt);
|
590
|
-
P(V, e.tld, S), P(V, e.utld, S), P(S, e.domain, i), P(S, f, s),
|
591
|
-
const j =
|
590
|
+
P(V, e.tld, S), P(V, e.utld, S), P(S, e.domain, i), P(S, f, s), E(S, De, V), E(S, ye, h), E(S, Ue, A);
|
591
|
+
const j = E(S, Be), L = ve(Qt);
|
592
592
|
P(j, e.numeric, L);
|
593
593
|
const _ = ve(Qt), x = ve();
|
594
|
-
P(_, t, _), P(_, n, x), P(x, t, _), P(x, n, x),
|
595
|
-
const C =
|
596
|
-
P(l, e.domain, i),
|
594
|
+
P(_, t, _), P(_, n, x), P(x, t, _), P(x, n, x), E(S, Ee, _), E(L, Ee, _);
|
595
|
+
const C = E(l, Be), k = E(c, Be), D = E(k, Ee), w = E(D, Ee);
|
596
|
+
P(l, e.domain, i), E(l, De, V), E(l, ye, h), P(c, e.domain, i), E(c, De, V), E(c, ye, h), P(C, e.domain, _), E(C, Ee, _), E(C, Mt, _), P(w, e.domain, _), P(w, t, _), E(w, Ee, _);
|
597
597
|
const I = [
|
598
598
|
[vt, yt],
|
599
599
|
// {}
|
@@ -613,14 +613,14 @@ function ns({
|
|
613
613
|
// <>
|
614
614
|
];
|
615
615
|
for (let U = 0; U < I.length; U++) {
|
616
|
-
const [$, J] = I[U], le =
|
617
|
-
|
616
|
+
const [$, J] = I[U], le = E(_, $);
|
617
|
+
E(x, $, le), E(le, J, _);
|
618
618
|
const Z = ve(Qt);
|
619
619
|
P(le, t, Z);
|
620
620
|
const fe = ve();
|
621
|
-
P(le, n), P(Z, t, Z), P(Z, n, fe), P(fe, t, Z), P(fe, n, fe),
|
621
|
+
P(le, n), P(Z, t, Z), P(Z, n, fe), P(fe, t, Z), P(fe, n, fe), E(Z, J, _), E(fe, J, _);
|
622
622
|
}
|
623
|
-
return
|
623
|
+
return E(a, Nt, S), E(a, Xn, ts), {
|
624
624
|
start: a,
|
625
625
|
tokens: la
|
626
626
|
};
|
@@ -777,7 +777,7 @@ const R = (e, t) => {
|
|
777
777
|
]),
|
778
778
|
o("div", {
|
779
779
|
class: "chat-info__search-panel",
|
780
|
-
id: "chat-info-search-panel-" +
|
780
|
+
id: "chat-info-search-panel-" + N(a)
|
781
781
|
}, [
|
782
782
|
ne(i.$slots, "search", {}, void 0, !0)
|
783
783
|
], 8, hs)
|
@@ -987,7 +987,7 @@ const ga = (e) => {
|
|
987
987
|
class: "modal__overlay",
|
988
988
|
onClick: s,
|
989
989
|
onKeyup: l[1] || (l[1] = Jn((c) => n("close"), ["esc"])),
|
990
|
-
"data-theme":
|
990
|
+
"data-theme": N(a)().theme
|
991
991
|
}, [
|
992
992
|
o("div", Ns, [
|
993
993
|
o("button", {
|
@@ -1087,10 +1087,10 @@ const ga = (e) => {
|
|
1087
1087
|
class: "preview__audio-control",
|
1088
1088
|
onClick: d
|
1089
1089
|
}, [
|
1090
|
-
|
1090
|
+
ce(o("span", Cs, null, 512), [
|
1091
1091
|
[We, !s.value]
|
1092
1092
|
]),
|
1093
|
-
|
1093
|
+
ce(o("span", zs, null, 512), [
|
1094
1094
|
[We, s.value]
|
1095
1095
|
])
|
1096
1096
|
])
|
@@ -1114,7 +1114,7 @@ const ga = (e) => {
|
|
1114
1114
|
onClick: y[2] || (y[2] = (h) => n("reset"))
|
1115
1115
|
})
|
1116
1116
|
]),
|
1117
|
-
(r(), B(
|
1117
|
+
(r(), B(Ae, { to: "body" }, [
|
1118
1118
|
F(X, { name: "modal-fade" }, {
|
1119
1119
|
default: K(() => [
|
1120
1120
|
c.value ? (r(), B(lf, {
|
@@ -1175,7 +1175,7 @@ const ga = (e) => {
|
|
1175
1175
|
() => p.focusOnInputArea,
|
1176
1176
|
() => {
|
1177
1177
|
p.focusOnInputArea && et(() => {
|
1178
|
-
const _ =
|
1178
|
+
const _ = N(g);
|
1179
1179
|
_ == null || _.focus();
|
1180
1180
|
});
|
1181
1181
|
},
|
@@ -1225,11 +1225,11 @@ const ga = (e) => {
|
|
1225
1225
|
for (let k of x)
|
1226
1226
|
if (k.type.indexOf("image") !== -1) {
|
1227
1227
|
_.preventDefault();
|
1228
|
-
const
|
1229
|
-
if (
|
1228
|
+
const D = k.getAsFile();
|
1229
|
+
if (D) {
|
1230
1230
|
d(!0);
|
1231
1231
|
const w = typeof p.filebumpUrl == "string" ? p.filebumpUrl : null;
|
1232
|
-
await xt(w,
|
1232
|
+
await xt(w, D).then((I) => {
|
1233
1233
|
d(!1), I.status == "success" && (c({
|
1234
1234
|
url: I.url,
|
1235
1235
|
name: I.name,
|
@@ -1254,29 +1254,29 @@ const ga = (e) => {
|
|
1254
1254
|
window.addEventListener("paste", j);
|
1255
1255
|
}), (_, x) => (r(), u("div", qs, [
|
1256
1256
|
o("div", {
|
1257
|
-
id: "chat-input-reply-line-" +
|
1257
|
+
id: "chat-input-reply-line-" + N(f),
|
1258
1258
|
class: "chat-input__reply-line"
|
1259
1259
|
}, null, 8, Hs),
|
1260
1260
|
o("div", {
|
1261
|
-
id: "chat-input-file-line-" +
|
1261
|
+
id: "chat-input-file-line-" + N(f),
|
1262
1262
|
class: "chat-input__file-line"
|
1263
1263
|
}, null, 8, Ws),
|
1264
1264
|
o("div", Ks, [
|
1265
|
-
|
1266
|
-
disabled: e.state == "disabled" ||
|
1265
|
+
ce(o("textarea", {
|
1266
|
+
disabled: e.state == "disabled" || N(s)().isRecording,
|
1267
1267
|
ref_key: "refInput",
|
1268
1268
|
ref: g,
|
1269
|
-
"onUpdate:modelValue": x[0] || (x[0] = (C) =>
|
1269
|
+
"onUpdate:modelValue": x[0] || (x[0] = (C) => N(s)().text = C),
|
1270
1270
|
class: "chat-input__input",
|
1271
|
-
placeholder:
|
1271
|
+
placeholder: N(pe)("component.ChatInput.InputPlaceholder"),
|
1272
1272
|
onKeydown: Jn(V, ["enter"]),
|
1273
1273
|
onInput: h
|
1274
1274
|
}, null, 40, Js), [
|
1275
|
-
[lt,
|
1275
|
+
[lt, N(s)().text]
|
1276
1276
|
]),
|
1277
1277
|
o("button", {
|
1278
1278
|
class: O(["chat-input__button", { "chat-input__button-disabled": y.value }]),
|
1279
|
-
disabled:
|
1279
|
+
disabled: N(s)().isRecording,
|
1280
1280
|
onClick: S
|
1281
1281
|
}, x[1] || (x[1] = [
|
1282
1282
|
o("span", { class: "pi pi-send" }, null, -1)
|
@@ -1285,9 +1285,9 @@ const ga = (e) => {
|
|
1285
1285
|
o("div", Zs, [
|
1286
1286
|
ne(_.$slots, "buttons", {}, void 0, !0)
|
1287
1287
|
]),
|
1288
|
-
|
1288
|
+
N(s)().file ? (r(), B(Ae, {
|
1289
1289
|
key: 0,
|
1290
|
-
to: "#chat-input-file-line-" +
|
1290
|
+
to: "#chat-input-file-line-" + N(f)
|
1291
1291
|
}, [
|
1292
1292
|
M.value ? (r(), B(Vt, {
|
1293
1293
|
key: 0,
|
@@ -1325,7 +1325,7 @@ const ga = (e) => {
|
|
1325
1325
|
const n = e, f = t, a = b(""), s = b(!1), i = b(), l = () => {
|
1326
1326
|
s.value = !1;
|
1327
1327
|
}, c = () => {
|
1328
|
-
const p =
|
1328
|
+
const p = N(i);
|
1329
1329
|
p.scrollHeight - p.scrollTop - p.clientHeight <= 0 && f("loadMoreChats");
|
1330
1330
|
}, A = (p) => {
|
1331
1331
|
n.chats.forEach((h) => {
|
@@ -1357,7 +1357,7 @@ const ga = (e) => {
|
|
1357
1357
|
class: "chat-list__title-container",
|
1358
1358
|
onMouseleave: l
|
1359
1359
|
}, [
|
1360
|
-
o("h2", ti, T(
|
1360
|
+
o("h2", ti, T(N(pe)("component.ChatList.Title")), 1),
|
1361
1361
|
e.actions.length ? (r(), u("button", {
|
1362
1362
|
key: 0,
|
1363
1363
|
class: "chat-list__button-actions",
|
@@ -1367,7 +1367,7 @@ const ga = (e) => {
|
|
1367
1367
|
])) : v("", !0),
|
1368
1368
|
F(X, null, {
|
1369
1369
|
default: K(() => [
|
1370
|
-
s.value && e.actions ? (r(), B(
|
1370
|
+
s.value && e.actions ? (r(), B(N($e), {
|
1371
1371
|
key: 0,
|
1372
1372
|
actions: e.actions,
|
1373
1373
|
class: "chat-list__context-menu",
|
@@ -1378,7 +1378,7 @@ const ga = (e) => {
|
|
1378
1378
|
})
|
1379
1379
|
], 32),
|
1380
1380
|
ne(p.$slots, "sidebar", {}, void 0, !0),
|
1381
|
-
e.filterEnabled ? (r(), B(
|
1381
|
+
e.filterEnabled ? (r(), B(N(ho), {
|
1382
1382
|
key: 0,
|
1383
1383
|
class: "chat-list__filter",
|
1384
1384
|
onUpdate: m
|
@@ -1390,7 +1390,7 @@ const ga = (e) => {
|
|
1390
1390
|
onScroll: c
|
1391
1391
|
}, [
|
1392
1392
|
o("div", ai, [
|
1393
|
-
(r(!0), u(q, null, te(g().filter((h) => h.isFixedTop), (h) => (r(), B(
|
1393
|
+
(r(!0), u(q, null, te(g().filter((h) => h.isFixedTop), (h) => (r(), B(N(zn), {
|
1394
1394
|
key: h.chatId,
|
1395
1395
|
class: "chat-list__item",
|
1396
1396
|
chat: h,
|
@@ -1399,7 +1399,7 @@ const ga = (e) => {
|
|
1399
1399
|
}, null, 8, ["chat"]))), 128))
|
1400
1400
|
]),
|
1401
1401
|
o("div", si, [
|
1402
|
-
(r(!0), u(q, null, te(g().filter((h) => !h.isFixedBottom && !h.isFixedTop), (h) => (r(), B(
|
1402
|
+
(r(!0), u(q, null, te(g().filter((h) => !h.isFixedBottom && !h.isFixedTop), (h) => (r(), B(N(zn), {
|
1403
1403
|
key: h.chatId,
|
1404
1404
|
class: "chat-list__item",
|
1405
1405
|
chat: h,
|
@@ -1408,7 +1408,7 @@ const ga = (e) => {
|
|
1408
1408
|
}, null, 8, ["chat"]))), 128))
|
1409
1409
|
]),
|
1410
1410
|
o("div", ii, [
|
1411
|
-
(r(!0), u(q, null, te(g().filter((h) => h.isFixedBottom), (h) => (r(), B(
|
1411
|
+
(r(!0), u(q, null, te(g().filter((h) => h.isFixedBottom), (h) => (r(), B(N(zn), {
|
1412
1412
|
key: h.chatId,
|
1413
1413
|
class: "chat-list__item",
|
1414
1414
|
chat: h,
|
@@ -1487,11 +1487,11 @@ const ga = (e) => {
|
|
1487
1487
|
const n = b(), f = b(), a = b(), s = b(!1), i = b(!1), l = e, c = ee("chatAppId"), { setReply: A, getMessage: d } = Ie(c), g = t, m = Q(() => !!(i.value && l.objects.length > 0 && l.objects[l.objects.length - 1].keyboard)), M = (k) => {
|
1488
1488
|
g("keyboardAction", k);
|
1489
1489
|
}, p = (k = !0) => {
|
1490
|
-
const
|
1490
|
+
const D = N(f);
|
1491
1491
|
let w = 0;
|
1492
1492
|
a.value && (w = a.value.$el.clientHeight);
|
1493
|
-
const I = 100, U =
|
1494
|
-
U < I + w ? (s.value = !1, i.value = !0) : (s.value = !0, i.value = !1),
|
1493
|
+
const I = 100, U = D.scrollHeight - D.scrollTop - D.clientHeight;
|
1494
|
+
U < I + w ? (s.value = !1, i.value = !0) : (s.value = !0, i.value = !1), D.scrollTop === 0 && k && g("loadMore"), U <= 0 && k && g("loadMoreDown");
|
1495
1495
|
}, y = (k) => ({
|
1496
1496
|
"message.text": f1,
|
1497
1497
|
"message.image": Wu,
|
@@ -1505,7 +1505,7 @@ const ga = (e) => {
|
|
1505
1505
|
})[k];
|
1506
1506
|
function h() {
|
1507
1507
|
et(function() {
|
1508
|
-
const k =
|
1508
|
+
const k = N(f);
|
1509
1509
|
k.scrollTop = k.scrollHeight;
|
1510
1510
|
});
|
1511
1511
|
}
|
@@ -1523,17 +1523,17 @@ const ga = (e) => {
|
|
1523
1523
|
g("messageAction", k);
|
1524
1524
|
}, j = (k) => {
|
1525
1525
|
g("clickRepliedMessage", k);
|
1526
|
-
}, L = (k,
|
1527
|
-
l.enableDoubleClickReply && (k == null || k.preventDefault(),
|
1528
|
-
messageId:
|
1529
|
-
type:
|
1530
|
-
text:
|
1531
|
-
filename:
|
1532
|
-
url:
|
1526
|
+
}, L = (k, D) => {
|
1527
|
+
l.enableDoubleClickReply && (k == null || k.preventDefault(), D.type.indexOf("system") == -1 && D.type.indexOf("typing") == -1 && A({
|
1528
|
+
messageId: D.messageId,
|
1529
|
+
type: D.type,
|
1530
|
+
text: D.text,
|
1531
|
+
filename: D.filename,
|
1532
|
+
url: D.url
|
1533
1533
|
}));
|
1534
1534
|
}, _ = (k) => {
|
1535
|
-
k.forEach((
|
1536
|
-
|
1535
|
+
k.forEach((D) => {
|
1536
|
+
D.isIntersecting && g("messageVisible", JSON.parse(D.target.id));
|
1537
1537
|
});
|
1538
1538
|
}, x = {
|
1539
1539
|
root: document.getElementById("feed-container-" + c),
|
@@ -1553,21 +1553,21 @@ const ga = (e) => {
|
|
1553
1553
|
() => {
|
1554
1554
|
var k;
|
1555
1555
|
if (l.scrollTo) {
|
1556
|
-
const
|
1557
|
-
let w = document.getElementById(
|
1558
|
-
w instanceof HTMLElement && I instanceof HTMLElement && (I.scrollTop = w.offsetTop + w.clientHeight / 2 - I.clientHeight / 2), (k = document.getElementById(
|
1556
|
+
const D = l.scrollTo;
|
1557
|
+
let w = document.getElementById(D), I = document.getElementById("feed-container-" + c);
|
1558
|
+
w instanceof HTMLElement && I instanceof HTMLElement && (I.scrollTop = w.offsetTop + w.clientHeight / 2 - I.clientHeight / 2), (k = document.getElementById(D)) == null || k.children[0].classList.add("focused-message"), setTimeout(() => {
|
1559
1559
|
var U;
|
1560
|
-
(U = document.getElementById(
|
1560
|
+
(U = document.getElementById(D)) == null || U.children[0].classList.remove("focused-message");
|
1561
1561
|
}, 2e3);
|
1562
1562
|
}
|
1563
1563
|
}
|
1564
|
-
), (k,
|
1564
|
+
), (k, D) => (r(), u(q, null, [
|
1565
1565
|
o("div", {
|
1566
1566
|
ref_key: "refFeed",
|
1567
1567
|
ref: f,
|
1568
1568
|
class: "message-feed",
|
1569
|
-
onScroll:
|
1570
|
-
id: "feed-container-" +
|
1569
|
+
onScroll: D[0] || (D[0] = (w) => p()),
|
1570
|
+
id: "feed-container-" + N(c)
|
1571
1571
|
}, [
|
1572
1572
|
(r(!0), u(q, null, te(e.objects, (w) => (r(), u("div", {
|
1573
1573
|
onDblclick: (I) => L(I, w),
|
@@ -1582,7 +1582,7 @@ const ga = (e) => {
|
|
1582
1582
|
onReply: j
|
1583
1583
|
}, null, 40, ["message"]))
|
1584
1584
|
], 40, di))), 256)),
|
1585
|
-
e.typing ? (r(), B(
|
1585
|
+
e.typing ? (r(), B(N(Gf), {
|
1586
1586
|
key: 0,
|
1587
1587
|
message: {
|
1588
1588
|
subText: e.typing.title,
|
@@ -1610,18 +1610,18 @@ const ga = (e) => {
|
|
1610
1610
|
onClick: V
|
1611
1611
|
}, [
|
1612
1612
|
e.buttonParams ? (r(), u("div", gi, T(e.buttonParams.unreadAmount), 1)) : v("", !0),
|
1613
|
-
|
1613
|
+
D[1] || (D[1] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
|
1614
1614
|
])) : v("", !0)
|
1615
1615
|
]),
|
1616
1616
|
_: 1
|
1617
1617
|
})
|
1618
1618
|
], 40, ui),
|
1619
|
-
|
1619
|
+
N(d)().reply ? (r(), B(Ae, {
|
1620
1620
|
key: 0,
|
1621
|
-
to: "#chat-input-reply-line-" +
|
1621
|
+
to: "#chat-input-reply-line-" + N(c)
|
1622
1622
|
}, [
|
1623
|
-
F(
|
1624
|
-
message:
|
1623
|
+
F(N(ct), {
|
1624
|
+
message: N(d)().reply,
|
1625
1625
|
class: "chat-input-reply"
|
1626
1626
|
}, null, 8, ["message"])
|
1627
1627
|
], 8, ["to"])) : v("", !0)
|
@@ -1730,7 +1730,7 @@ const ga = (e) => {
|
|
1730
1730
|
}), Ke(() => {
|
1731
1731
|
document.removeEventListener("click", g);
|
1732
1732
|
}), (m, M) => (r(), u("div", {
|
1733
|
-
id: "container-" +
|
1733
|
+
id: "container-" + N(f),
|
1734
1734
|
ref_key: "actionScope",
|
1735
1735
|
ref: i,
|
1736
1736
|
style: { position: "relative", width: "fit-content" }
|
@@ -1747,8 +1747,8 @@ const ga = (e) => {
|
|
1747
1747
|
class: O(e.buttonClass)
|
1748
1748
|
}, T(e.buttonTitle), 3)
|
1749
1749
|
], 34),
|
1750
|
-
F(
|
1751
|
-
id: "context-menu-" +
|
1750
|
+
F(N($e), {
|
1751
|
+
id: "context-menu-" + N(f),
|
1752
1752
|
ref_key: "contextMenu",
|
1753
1753
|
ref: s,
|
1754
1754
|
actions: e.actions,
|
@@ -1825,7 +1825,7 @@ const ga = (e) => {
|
|
1825
1825
|
o("p", null, "Загрузка файла...", -1)
|
1826
1826
|
]))) : f.value === "error" ? (r(), u("div", Ni, V[1] || (V[1] = [
|
1827
1827
|
o("p", null, "Ошибка при загрузке файла.", -1)
|
1828
|
-
]))) :
|
1828
|
+
]))) : N(A)().isRecording ? v("", !0) : (r(), B(ma, {
|
1829
1829
|
key: 2,
|
1830
1830
|
actions: d,
|
1831
1831
|
mode: "hover",
|
@@ -1842,9 +1842,9 @@ const ga = (e) => {
|
|
1842
1842
|
type: "file",
|
1843
1843
|
onChange: M
|
1844
1844
|
}, null, 544),
|
1845
|
-
|
1845
|
+
N(A)().file ? (r(), B(Ae, {
|
1846
1846
|
key: 3,
|
1847
|
-
to: "#chat-input-file-line-" +
|
1847
|
+
to: "#chat-input-file-line-" + N(i)
|
1848
1848
|
}, [
|
1849
1849
|
s.value ? (r(), B(Vt, {
|
1850
1850
|
key: 0,
|
@@ -2020,7 +2020,7 @@ const ga = (e) => {
|
|
2020
2020
|
const n = e, f = ee("chatAppId"), { getMessage: a } = Ie(f), s = t, l = b(n.channels.find((A) => A.type === "default")), c = (A) => {
|
2021
2021
|
l.value = A, s("selectChannel", l.value);
|
2022
2022
|
};
|
2023
|
-
return (A, d) =>
|
2023
|
+
return (A, d) => N(a)().isRecording ? v("", !0) : (r(), u("div", {
|
2024
2024
|
key: 0,
|
2025
2025
|
class: O(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
|
2026
2026
|
}, [
|
@@ -2031,7 +2031,7 @@ const ga = (e) => {
|
|
2031
2031
|
class: "channels__icon"
|
2032
2032
|
}, null, 8, $i)) : v("", !0),
|
2033
2033
|
o("span", Yi, T(l.value.title), 1)
|
2034
|
-
])) : (r(), u("span", Pi, T(
|
2034
|
+
])) : (r(), u("span", Pi, T(N(pe)("component.ChannelSelector.Placeholder")), 1)),
|
2035
2035
|
F(ma, {
|
2036
2036
|
actions: e.channels,
|
2037
2037
|
mode: e.mode,
|
@@ -2107,7 +2107,7 @@ const xg = (e, t = null) => {
|
|
2107
2107
|
m.style.top = g[i.position].top + "px", m.style.left = g[i.position].left + "px", m.style.opacity = "1", m.style.visibility = "visible";
|
2108
2108
|
}
|
2109
2109
|
}, A = () => {
|
2110
|
-
const d =
|
2110
|
+
const d = N(a);
|
2111
2111
|
d && (d.style.top = "0", d.style.left = "0", d.style.opacity = "0", d.style.visibility = "hidden");
|
2112
2112
|
};
|
2113
2113
|
return ie(() => {
|
@@ -2122,12 +2122,12 @@ const xg = (e, t = null) => {
|
|
2122
2122
|
}, [
|
2123
2123
|
ne(d.$slots, "default", {}, void 0, !0)
|
2124
2124
|
], 544),
|
2125
|
-
s.value ? (r(), B(
|
2125
|
+
s.value ? (r(), B(Ae, {
|
2126
2126
|
key: 0,
|
2127
|
-
to: "#float-windows-" +
|
2127
|
+
to: "#float-windows-" + N(t)
|
2128
2128
|
}, [
|
2129
2129
|
o("span", {
|
2130
|
-
"data-theme":
|
2130
|
+
"data-theme": N(n)().theme ? N(n)().theme : null,
|
2131
2131
|
ref_key: "tooltip",
|
2132
2132
|
ref: a,
|
2133
2133
|
class: O(l.value)
|
@@ -2172,29 +2172,29 @@ const xg = (e, t = null) => {
|
|
2172
2172
|
},
|
2173
2173
|
emits: ["select", "action"],
|
2174
2174
|
setup(e, { emit: t }) {
|
2175
|
-
const n = ee("chatAppId"), f = e, a = b(), s = b(), i = b(!1), l = t, c = (
|
2176
|
-
|
2177
|
-
}, A = (
|
2178
|
-
l("select", { chat: f.chat, dialog:
|
2179
|
-
}, d = () => f.chat.isSelected ? "chat-item__selected" : "", g = (
|
2180
|
-
p.value = !1, M.value = !1, l("action", { chat: f.chat, ...
|
2181
|
-
}, M = b(!1), p = b(!1), y = () => f.chat.dialogs.toSorted((
|
2182
|
-
if (Number(
|
2183
|
-
if (Number(
|
2184
|
-
if (Number(
|
2175
|
+
const n = ee("chatAppId"), f = e, a = b(), s = b(), i = b(!1), l = t, c = (D) => {
|
2176
|
+
D.target instanceof HTMLElement && D.target.id != "noSelectButton" && !f.chat.dialogs && l("select", { chat: f.chat, dialog: null }), f.chat.dialogs && (f.chat.dialogsExpanded = !f.chat.dialogsExpanded);
|
2177
|
+
}, A = (D) => {
|
2178
|
+
l("select", { chat: f.chat, dialog: D });
|
2179
|
+
}, d = () => f.chat.isSelected ? "chat-item__selected" : "", g = (D) => D.isSelected ? "dialog__selected" : "", m = (D) => {
|
2180
|
+
p.value = !1, M.value = !1, l("action", { chat: f.chat, ...D });
|
2181
|
+
}, M = b(!1), p = b(!1), y = () => f.chat.dialogs.toSorted((D, w) => {
|
2182
|
+
if (Number(D["lastActivity.timestamp"]) > Number(w["lastActivity.timestamp"])) return -1;
|
2183
|
+
if (Number(D["lastActivity.timestamp"]) < Number(w["lastActivity.timestamp"])) return 1;
|
2184
|
+
if (Number(D["lastActivity.timestamp"]) == Number(w["lastActivity.timestamp"])) return 0;
|
2185
2185
|
}), h = () => {
|
2186
2186
|
M.value = !M.value, et(() => {
|
2187
2187
|
V();
|
2188
2188
|
});
|
2189
2189
|
}, V = () => {
|
2190
2190
|
if (a.value && s.value) {
|
2191
|
-
const
|
2192
|
-
w.style.top = (
|
2191
|
+
const D = a.value.getBoundingClientRect(), w = s.value.$el;
|
2192
|
+
w.style.top = (D == null ? void 0 : D.bottom) + "px", w.style.left = (D == null ? void 0 : D.left) - w.getBoundingClientRect().width / 1.5 + "px";
|
2193
2193
|
}
|
2194
2194
|
}, S = () => {
|
2195
2195
|
p.value = !0, M.value = !1;
|
2196
|
-
}, j = (
|
2197
|
-
const w =
|
2196
|
+
}, j = (D) => {
|
2197
|
+
const w = D.relatedTarget;
|
2198
2198
|
p.value = !1, (!w || w.className !== "context-menu__list") && (M.value = !1);
|
2199
2199
|
}, L = Q(() => At(f.chat["lastMessage.status"]));
|
2200
2200
|
let _;
|
@@ -2209,7 +2209,7 @@ const xg = (e, t = null) => {
|
|
2209
2209
|
{ immediate: !0 }
|
2210
2210
|
), ie(() => {
|
2211
2211
|
document.getElementById("float-windows-" + n) && (i.value = !0);
|
2212
|
-
}), (
|
2212
|
+
}), (D, w) => (r(), u("div", null, [
|
2213
2213
|
o("div", {
|
2214
2214
|
class: O(["chat-item__container", d()]),
|
2215
2215
|
onMouseenter: S,
|
@@ -2269,7 +2269,7 @@ const xg = (e, t = null) => {
|
|
2269
2269
|
}, null, -1)
|
2270
2270
|
]), 512)) : v("", !0),
|
2271
2271
|
e.chat.countUnread < 1 ? (r(), u("div", no, [
|
2272
|
-
|
2272
|
+
N(rt).includes(e.chat["lastMessage.status"]) ? (r(), u("div", {
|
2273
2273
|
key: 0,
|
2274
2274
|
class: O(["chat-item__status-message", L.value])
|
2275
2275
|
}, [
|
@@ -2305,11 +2305,11 @@ const xg = (e, t = null) => {
|
|
2305
2305
|
])) : v("", !0),
|
2306
2306
|
F(X, { name: "menu" }, {
|
2307
2307
|
default: K(() => [
|
2308
|
-
i.value ? (r(), B(
|
2308
|
+
i.value ? (r(), B(Ae, {
|
2309
2309
|
key: 0,
|
2310
|
-
to: "#float-windows-" +
|
2310
|
+
to: "#float-windows-" + N(n)
|
2311
2311
|
}, [
|
2312
|
-
M.value && e.chat.actions ? (r(), B(
|
2312
|
+
M.value && e.chat.actions ? (r(), B(N($e), {
|
2313
2313
|
key: 0,
|
2314
2314
|
ref_key: "refContextMenu",
|
2315
2315
|
ref: s,
|
@@ -2354,7 +2354,7 @@ const xg = (e, t = null) => {
|
|
2354
2354
|
emits: ["update"],
|
2355
2355
|
setup(e, { emit: t }) {
|
2356
2356
|
const n = b(""), f = t, a = () => {
|
2357
|
-
const s =
|
2357
|
+
const s = N(n);
|
2358
2358
|
f("update", s.value);
|
2359
2359
|
};
|
2360
2360
|
return (s, i) => (r(), u("input", {
|
@@ -2362,7 +2362,7 @@ const xg = (e, t = null) => {
|
|
2362
2362
|
ref: n,
|
2363
2363
|
class: "chat-filter__input",
|
2364
2364
|
type: "text",
|
2365
|
-
placeholder:
|
2365
|
+
placeholder: N(pe)("component.ChatFilter.InputPlaceholder"),
|
2366
2366
|
onInput: a
|
2367
2367
|
}, null, 40, mo));
|
2368
2368
|
}
|
@@ -2427,15 +2427,15 @@ const xg = (e, t = null) => {
|
|
2427
2427
|
n.templates.forEach(($) => $.isSelected = !1), U.isSelected = !0, c.value = U, L();
|
2428
2428
|
}, k = () => {
|
2429
2429
|
_(), n.templates.forEach((U) => U.isSelected = !1);
|
2430
|
-
},
|
2430
|
+
}, D = Q(() => l.value ? n.templates.filter((U) => U.groupId === l.value.groupId) : n.templates), w = Q(() => {
|
2431
2431
|
const U = A.value.trim().toLowerCase();
|
2432
|
-
return
|
2432
|
+
return D.value.filter(($) => $.title.toLowerCase().includes(U) || $.template.toLowerCase().includes(U));
|
2433
2433
|
}), I = new ResizeObserver((U) => {
|
2434
2434
|
const $ = U[0].target.clientWidth;
|
2435
2435
|
$ > 700 && (p.value = !1), $ < 700 && (p.value = !0);
|
2436
2436
|
});
|
2437
2437
|
return ie(() => {
|
2438
|
-
x(),
|
2438
|
+
x(), N(d) && I.observe(N(d));
|
2439
2439
|
}), (U, $) => (r(), u("div", vo, [
|
2440
2440
|
o("div", {
|
2441
2441
|
class: O({
|
@@ -2444,7 +2444,7 @@ const xg = (e, t = null) => {
|
|
2444
2444
|
}),
|
2445
2445
|
ref_key: "refContainer",
|
2446
2446
|
ref: d,
|
2447
|
-
id: "template-selector-container-" +
|
2447
|
+
id: "template-selector-container-" + N(f)
|
2448
2448
|
}, [
|
2449
2449
|
o("div", bo, [
|
2450
2450
|
o("div", Mo, [
|
@@ -2471,7 +2471,7 @@ const xg = (e, t = null) => {
|
|
2471
2471
|
o("div", ko, [
|
2472
2472
|
o("div", {
|
2473
2473
|
class: "template-selector__first-col",
|
2474
|
-
id: "template-selector-first-col-" +
|
2474
|
+
id: "template-selector-first-col-" + N(f)
|
2475
2475
|
}, [
|
2476
2476
|
o("ul", Do, [
|
2477
2477
|
(r(!0), u(q, null, te(e.groupTemplates, (J, le) => (r(), u("li", {
|
@@ -2486,7 +2486,7 @@ const xg = (e, t = null) => {
|
|
2486
2486
|
src: J.iconUrl,
|
2487
2487
|
alt: J.title
|
2488
2488
|
}, null, 8, To)) : v("", !0),
|
2489
|
-
|
2489
|
+
ce(o("input", {
|
2490
2490
|
id: le,
|
2491
2491
|
"onUpdate:modelValue": $[1] || ($[1] = (Z) => l.value = Z),
|
2492
2492
|
value: J,
|
@@ -2502,10 +2502,10 @@ const xg = (e, t = null) => {
|
|
2502
2502
|
], 8, No),
|
2503
2503
|
o("div", {
|
2504
2504
|
class: "template-selector__second-col",
|
2505
|
-
id: "template-selector-second-col-" +
|
2505
|
+
id: "template-selector-second-col-" + N(f)
|
2506
2506
|
}, [
|
2507
2507
|
o("div", Vo, [
|
2508
|
-
|
2508
|
+
ce(o("input", {
|
2509
2509
|
"onUpdate:modelValue": $[2] || ($[2] = (J) => A.value = J),
|
2510
2510
|
class: "template-selector__searching-input",
|
2511
2511
|
type: "text",
|
@@ -2531,7 +2531,7 @@ const xg = (e, t = null) => {
|
|
2531
2531
|
], 8, xo),
|
2532
2532
|
o("div", {
|
2533
2533
|
class: "template-selector__third-col",
|
2534
|
-
id: "template-selector-third-col-" +
|
2534
|
+
id: "template-selector-third-col-" + N(f)
|
2535
2535
|
}, [
|
2536
2536
|
o("div", Qo, [
|
2537
2537
|
c.value ? (r(), u("div", $o, [
|
@@ -2590,7 +2590,7 @@ const xg = (e, t = null) => {
|
|
2590
2590
|
return ie(() => {
|
2591
2591
|
s.value.style.display = "none";
|
2592
2592
|
}), (d, g) => (r(), u(q, null, [
|
2593
|
-
|
2593
|
+
N(f)().isRecording ? v("", !0) : (r(), u("button", {
|
2594
2594
|
key: 0,
|
2595
2595
|
ref_key: "templateButton",
|
2596
2596
|
ref: a,
|
@@ -2672,7 +2672,7 @@ const xg = (e, t = null) => {
|
|
2672
2672
|
}), (g, m) => (r(), u("span", {
|
2673
2673
|
ref_key: "refPlaceholder",
|
2674
2674
|
ref: i,
|
2675
|
-
id: "placeholder" +
|
2675
|
+
id: "placeholder" + N(n) + e.index,
|
2676
2676
|
contenteditable: "",
|
2677
2677
|
class: O([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"]),
|
2678
2678
|
onKeydown: Jn(A, ["enter"]),
|
@@ -2732,7 +2732,7 @@ const xg = (e, t = null) => {
|
|
2732
2732
|
i.value = "Файл слишком большого размера";
|
2733
2733
|
else if (!i.value) {
|
2734
2734
|
a.value = y, l.value = "uploading";
|
2735
|
-
const S =
|
2735
|
+
const S = N(f.value);
|
2736
2736
|
xt(typeof S == "string" ? S : null, y).then((j) => {
|
2737
2737
|
l.value = j.status, j.status == "success" && (A("fileSelected", {
|
2738
2738
|
url: j.url,
|
@@ -2927,10 +2927,10 @@ const xg = (e, t = null) => {
|
|
2927
2927
|
}, V = Q(() => A.value ? n.wabaTemplates.filter((z) => z.groupId === A.value.groupId) : n.wabaTemplates), S = Q(() => {
|
2928
2928
|
const z = m.value.trim().toLowerCase();
|
2929
2929
|
return V.value.filter((H) => H.title.toLowerCase().includes(z) || H.template.toLowerCase().includes(z));
|
2930
|
-
}), j = ta({}), L = b(null), _ = b(), x = b(""), C = b(""), k = b(""),
|
2931
|
-
|
2930
|
+
}), j = ta({}), L = b(null), _ = b(), x = b(""), C = b(""), k = b(""), D = b(!1), w = Q(() => !!(D.value && (k.value == "grid" && C.value == "none" || C.value == "grid" && x.value == "none"))), I = Q(() => !!(D.value && (x.value == "grid" && C.value == "none" || C.value == "grid" && k.value == "none"))), U = () => {
|
2931
|
+
D.value && (C.value == "grid" ? J() : k.value == "grid" && Z());
|
2932
2932
|
}, $ = () => {
|
2933
|
-
|
2933
|
+
D.value && (C.value == "grid" ? le() : x.value == "grid" && Z());
|
2934
2934
|
}, J = () => {
|
2935
2935
|
const z = document.getElementById("waba-template-selector-container-" + f);
|
2936
2936
|
z.style.setProperty("--waba-template-first-col-display", "grid"), z.style.setProperty("--waba-template-second-col-display", "none"), console.log(z, window.getComputedStyle(z).getPropertyValue("--waba-template-first-col-display")), fe();
|
@@ -2981,10 +2981,10 @@ const xg = (e, t = null) => {
|
|
2981
2981
|
return z;
|
2982
2982
|
}), Oe = new ResizeObserver((z) => {
|
2983
2983
|
const H = z[0].target.clientWidth;
|
2984
|
-
H > 700 && (
|
2984
|
+
H > 700 && (D.value = !1), H < 700 && (D.value = !0);
|
2985
2985
|
});
|
2986
2986
|
return ie(() => {
|
2987
|
-
fe(),
|
2987
|
+
fe(), N(_) && Oe.observe(N(_));
|
2988
2988
|
}), (z, H) => (r(), u("div", dl, [
|
2989
2989
|
o("div", {
|
2990
2990
|
class: O({
|
@@ -2993,7 +2993,7 @@ const xg = (e, t = null) => {
|
|
2993
2993
|
}),
|
2994
2994
|
ref_key: "refContainer",
|
2995
2995
|
ref: _,
|
2996
|
-
id: "waba-template-selector-container-" +
|
2996
|
+
id: "waba-template-selector-container-" + N(f)
|
2997
2997
|
}, [
|
2998
2998
|
o("div", ml, [
|
2999
2999
|
o("div", pl, [
|
@@ -3032,7 +3032,7 @@ const xg = (e, t = null) => {
|
|
3032
3032
|
src: Y.iconUrl,
|
3033
3033
|
alt: Y.title
|
3034
3034
|
}, null, 8, Il)) : v("", !0),
|
3035
|
-
|
3035
|
+
ce(o("input", {
|
3036
3036
|
id: oe,
|
3037
3037
|
"onUpdate:modelValue": H[0] || (H[0] = (Ne) => A.value = Ne),
|
3038
3038
|
value: Y,
|
@@ -3048,7 +3048,7 @@ const xg = (e, t = null) => {
|
|
3048
3048
|
]),
|
3049
3049
|
o("div", kl, [
|
3050
3050
|
o("div", Nl, [
|
3051
|
-
|
3051
|
+
ce(o("input", {
|
3052
3052
|
"onUpdate:modelValue": H[1] || (H[1] = (Y) => m.value = Y),
|
3053
3053
|
class: "template-selector__searching-input",
|
3054
3054
|
type: "text",
|
@@ -3177,7 +3177,7 @@ const xg = (e, t = null) => {
|
|
3177
3177
|
l("sendWabaValues", M);
|
3178
3178
|
};
|
3179
3179
|
return (M, p) => (r(), u(q, null, [
|
3180
|
-
|
3180
|
+
N(a)().isRecording ? v("", !0) : (r(), u("button", {
|
3181
3181
|
key: 0,
|
3182
3182
|
ref_key: "templateButton",
|
3183
3183
|
ref: s,
|
@@ -15451,7 +15451,7 @@ function _r() {
|
|
15451
15451
|
updateSelect: d
|
15452
15452
|
};
|
15453
15453
|
}
|
15454
|
-
var
|
15454
|
+
var ue = "top", Me = "bottom", _e = "right", de = "left", df = "auto", St = [ue, Me, _e, de], ft = "start", Tt = "end", Ir = "clippingParents", Ma = "viewport", gt = "popper", wr = "reference", $f = /* @__PURE__ */ St.reduce(function(e, t) {
|
15455
15455
|
return e.concat([t + "-" + ft, t + "-" + Tt]);
|
15456
15456
|
}, []), _a = /* @__PURE__ */ [].concat(St, [df]).reduce(function(e, t) {
|
15457
15457
|
return e.concat([t, t + "-" + ft, t + "-" + Tt]);
|
@@ -15636,9 +15636,9 @@ var Qr = function(t, n) {
|
|
15636
15636
|
})) : t, Na(typeof t != "number" ? t : Da(t, St));
|
15637
15637
|
};
|
15638
15638
|
function $r(e) {
|
15639
|
-
var t, n = e.state, f = e.name, a = e.options, s = n.elements.arrow, i = n.modifiersData.popperOffsets, l = Te(n.placement), c = mf(l), A = [
|
15639
|
+
var t, n = e.state, f = e.name, a = e.options, s = n.elements.arrow, i = n.modifiersData.popperOffsets, l = Te(n.placement), c = mf(l), A = [de, _e].indexOf(l) >= 0, d = A ? "height" : "width";
|
15640
15640
|
if (!(!s || !i)) {
|
15641
|
-
var g = Qr(a.padding, n), m = gf(s), M = c === "y" ?
|
15641
|
+
var g = Qr(a.padding, n), m = gf(s), M = c === "y" ? ue : de, p = c === "y" ? Me : _e, y = n.rects.reference[d] + n.rects.reference[c] - i[c] - n.rects.popper[d], h = i[c] - n.rects.reference[c], V = Ct(s), S = V ? c === "y" ? V.clientHeight || 0 : V.clientWidth || 0 : 0, j = y / 2 - h / 2, L = g[M], _ = S - m[d] - g[p], x = S / 2 - m[d] / 2 + j, C = It(L, x, _), k = c;
|
15642
15642
|
n.modifiersData[f] = (t = {}, t[k] = C, t.centerOffset = C - x, t);
|
15643
15643
|
}
|
15644
15644
|
}
|
@@ -15672,15 +15672,15 @@ function qr(e) {
|
|
15672
15672
|
};
|
15673
15673
|
}
|
15674
15674
|
function Pf(e) {
|
15675
|
-
var t, n = e.popper, f = e.popperRect, a = e.placement, s = e.variation, i = e.offsets, l = e.position, c = e.gpuAcceleration, A = e.adaptive, d = e.roundOffsets, g = e.isFixed, m = d === !0 ? qr(i) : typeof d == "function" ? d(i) : i, M = m.x, p = M === void 0 ? 0 : M, y = m.y, h = y === void 0 ? 0 : y, V = i.hasOwnProperty("x"), S = i.hasOwnProperty("y"), j =
|
15675
|
+
var t, n = e.popper, f = e.popperRect, a = e.placement, s = e.variation, i = e.offsets, l = e.position, c = e.gpuAcceleration, A = e.adaptive, d = e.roundOffsets, g = e.isFixed, m = d === !0 ? qr(i) : typeof d == "function" ? d(i) : i, M = m.x, p = M === void 0 ? 0 : M, y = m.y, h = y === void 0 ? 0 : y, V = i.hasOwnProperty("x"), S = i.hasOwnProperty("y"), j = de, L = ue, _ = window;
|
15676
15676
|
if (A) {
|
15677
15677
|
var x = Ct(n), C = "clientHeight", k = "clientWidth";
|
15678
|
-
if (x === ke(n) && (x = Qe(n), xe(x).position !== "static" && l === "absolute" && (C = "scrollHeight", k = "scrollWidth")), x = x, a ===
|
15678
|
+
if (x === ke(n) && (x = Qe(n), xe(x).position !== "static" && l === "absolute" && (C = "scrollHeight", k = "scrollWidth")), x = x, a === ue || (a === de || a === _e) && s === Tt) {
|
15679
15679
|
L = Me;
|
15680
|
-
var
|
15681
|
-
h -=
|
15680
|
+
var D = g && _.visualViewport ? _.visualViewport.height : x[C];
|
15681
|
+
h -= D - f.height, h *= c ? 1 : -1;
|
15682
15682
|
}
|
15683
|
-
if (a ===
|
15683
|
+
if (a === de || (a === ue || a === Me) && s === Tt) {
|
15684
15684
|
j = _e;
|
15685
15685
|
var w = g && _.visualViewport ? _.visualViewport.width : x[k];
|
15686
15686
|
p -= w - f.width, p *= c ? 1 : -1;
|
@@ -15837,7 +15837,7 @@ function fA(e, t, n) {
|
|
15837
15837
|
function Ta(e) {
|
15838
15838
|
var t = e.reference, n = e.element, f = e.placement, a = f ? Te(f) : null, s = f ? ot(f) : null, i = t.x + t.width / 2 - n.width / 2, l = t.y + t.height / 2 - n.height / 2, c;
|
15839
15839
|
switch (a) {
|
15840
|
-
case
|
15840
|
+
case ue:
|
15841
15841
|
c = {
|
15842
15842
|
x: i,
|
15843
15843
|
y: t.y - n.height
|
@@ -15855,7 +15855,7 @@ function Ta(e) {
|
|
15855
15855
|
y: l
|
15856
15856
|
};
|
15857
15857
|
break;
|
15858
|
-
case
|
15858
|
+
case de:
|
15859
15859
|
c = {
|
15860
15860
|
x: t.x - n.width,
|
15861
15861
|
y: l
|
@@ -15893,11 +15893,11 @@ function jt(e, t) {
|
|
15893
15893
|
bottom: C.bottom - j.bottom + y.bottom,
|
15894
15894
|
left: j.left - C.left + y.left,
|
15895
15895
|
right: C.right - j.right + y.right
|
15896
|
-
},
|
15897
|
-
if (d === gt &&
|
15898
|
-
var w =
|
15896
|
+
}, D = e.modifiersData.offset;
|
15897
|
+
if (d === gt && D) {
|
15898
|
+
var w = D[a];
|
15899
15899
|
Object.keys(k).forEach(function(I) {
|
15900
|
-
var U = [_e, Me].indexOf(I) >= 0 ? 1 : -1, $ = [
|
15900
|
+
var U = [_e, Me].indexOf(I) >= 0 ? 1 : -1, $ = [ue, Me].indexOf(I) >= 0 ? "y" : "x";
|
15901
15901
|
k[I] += w[$] * U;
|
15902
15902
|
});
|
15903
15903
|
}
|
@@ -15941,20 +15941,20 @@ function iA(e) {
|
|
15941
15941
|
flipVariations: p,
|
15942
15942
|
allowedAutoPlacements: y
|
15943
15943
|
}) : z);
|
15944
|
-
}, []), _ = t.rects.reference, x = t.rects.popper, C = /* @__PURE__ */ new Map(), k = !0,
|
15945
|
-
var I = L[w], U = Te(I), $ = ot(I) === ft, J = [
|
15944
|
+
}, []), _ = t.rects.reference, x = t.rects.popper, C = /* @__PURE__ */ new Map(), k = !0, D = L[0], w = 0; w < L.length; w++) {
|
15945
|
+
var I = L[w], U = Te(I), $ = ot(I) === ft, J = [ue, Me].indexOf(U) >= 0, le = J ? "width" : "height", Z = jt(t, {
|
15946
15946
|
placement: I,
|
15947
15947
|
boundary: d,
|
15948
15948
|
rootBoundary: g,
|
15949
15949
|
altBoundary: m,
|
15950
15950
|
padding: A
|
15951
|
-
}), fe = J ? $ ? _e :
|
15951
|
+
}), fe = J ? $ ? _e : de : $ ? Me : ue;
|
15952
15952
|
_[le] > x[le] && (fe = qt(fe));
|
15953
15953
|
var Je = qt(fe), he = [];
|
15954
15954
|
if (s && he.push(Z[U] <= 0), l && he.push(Z[fe] <= 0, Z[Je] <= 0), he.every(function(Oe) {
|
15955
15955
|
return Oe;
|
15956
15956
|
})) {
|
15957
|
-
|
15957
|
+
D = I, k = !1;
|
15958
15958
|
break;
|
15959
15959
|
}
|
15960
15960
|
C.set(I, he);
|
@@ -15969,13 +15969,13 @@ function iA(e) {
|
|
15969
15969
|
});
|
15970
15970
|
});
|
15971
15971
|
if (H)
|
15972
|
-
return
|
15972
|
+
return D = H, "break";
|
15973
15973
|
}, ze = Ge; ze > 0; ze--) {
|
15974
15974
|
var Ye = Ze(ze);
|
15975
15975
|
if (Ye === "break")
|
15976
15976
|
break;
|
15977
15977
|
}
|
15978
|
-
t.placement !==
|
15978
|
+
t.placement !== D && (t.modifiersData[f]._skip = !0, t.placement = D, t.reset = !0);
|
15979
15979
|
}
|
15980
15980
|
}
|
15981
15981
|
var oA = {
|
@@ -16000,7 +16000,7 @@ function Hf(e, t, n) {
|
|
16000
16000
|
};
|
16001
16001
|
}
|
16002
16002
|
function Wf(e) {
|
16003
|
-
return [
|
16003
|
+
return [ue, _e, Me, de].some(function(t) {
|
16004
16004
|
return e[t] >= 0;
|
16005
16005
|
});
|
16006
16006
|
}
|
@@ -16028,10 +16028,10 @@ var rA = {
|
|
16028
16028
|
fn: lA
|
16029
16029
|
};
|
16030
16030
|
function AA(e, t, n) {
|
16031
|
-
var f = Te(e), a = [
|
16031
|
+
var f = Te(e), a = [de, ue].indexOf(f) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, {
|
16032
16032
|
placement: e
|
16033
16033
|
})) : n, i = s[0], l = s[1];
|
16034
|
-
return i = i || 0, l = (l || 0) * a, [
|
16034
|
+
return i = i || 0, l = (l || 0) * a, [de, _e].indexOf(f) >= 0 ? {
|
16035
16035
|
x: l,
|
16036
16036
|
y: i
|
16037
16037
|
} : {
|
@@ -16077,28 +16077,28 @@ function pA(e) {
|
|
16077
16077
|
rootBoundary: A,
|
16078
16078
|
padding: g,
|
16079
16079
|
altBoundary: d
|
16080
|
-
}), V = Te(t.placement), S = ot(t.placement), j = !S, L = mf(V), _ = mA(L), x = t.modifiersData.popperOffsets, C = t.rects.reference, k = t.rects.popper,
|
16080
|
+
}), V = Te(t.placement), S = ot(t.placement), j = !S, L = mf(V), _ = mA(L), x = t.modifiersData.popperOffsets, C = t.rects.reference, k = t.rects.popper, D = typeof y == "function" ? y(Object.assign({}, t.rects, {
|
16081
16081
|
placement: t.placement
|
16082
|
-
})) : y, w = typeof
|
16083
|
-
mainAxis:
|
16084
|
-
altAxis:
|
16082
|
+
})) : y, w = typeof D == "number" ? {
|
16083
|
+
mainAxis: D,
|
16084
|
+
altAxis: D
|
16085
16085
|
} : Object.assign({
|
16086
16086
|
mainAxis: 0,
|
16087
16087
|
altAxis: 0
|
16088
|
-
},
|
16088
|
+
}, D), I = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, U = {
|
16089
16089
|
x: 0,
|
16090
16090
|
y: 0
|
16091
16091
|
};
|
16092
16092
|
if (x) {
|
16093
16093
|
if (s) {
|
16094
|
-
var $, J = L === "y" ?
|
16094
|
+
var $, J = L === "y" ? ue : de, le = L === "y" ? Me : _e, Z = L === "y" ? "height" : "width", fe = x[L], Je = fe + h[J], he = fe - h[le], Ge = M ? -k[Z] / 2 : 0, Ze = S === ft ? C[Z] : k[Z], ze = S === ft ? -k[Z] : -C[Z], Ye = t.elements.arrow, Oe = M && Ye ? gf(Ye) : {
|
16095
16095
|
width: 0,
|
16096
16096
|
height: 0
|
16097
16097
|
}, z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ka(), H = z[J], Y = z[le], oe = It(0, C[Z], Oe[Z]), Ne = j ? C[Z] / 2 - Ge - oe - H - w.mainAxis : Ze - oe - H - w.mainAxis, Pe = j ? -C[Z] / 2 + Ge + oe + Y + w.mainAxis : ze + oe + Y + w.mainAxis, Dn = t.elements.arrow && Ct(t.elements.arrow), Ca = Dn ? L === "y" ? Dn.clientTop || 0 : Dn.clientLeft || 0 : 0, bf = ($ = I == null ? void 0 : I[L]) != null ? $ : 0, za = fe + Ne - bf - Ca, Oa = fe + Pe - bf, Mf = It(M ? _n(Je, za) : Je, fe, M ? He(he, Oa) : he);
|
16098
16098
|
x[L] = Mf, U[L] = Mf - fe;
|
16099
16099
|
}
|
16100
16100
|
if (l) {
|
16101
|
-
var _f, La = L === "x" ?
|
16101
|
+
var _f, La = L === "x" ? ue : de, Ua = L === "x" ? Me : _e, Fe = x[_], Ut = _ === "y" ? "height" : "width", If = Fe + h[La], wf = Fe - h[Ua], En = [ue, de].indexOf(V) !== -1, kf = (_f = I == null ? void 0 : I[_]) != null ? _f : 0, Nf = En ? If : Fe - C[Ut] - k[Ut] - kf + w.altAxis, Df = En ? Fe + C[Ut] + k[Ut] - kf - w.altAxis : wf, Ef = M && En ? Rr(Nf, Fe, Df) : It(M ? Nf : If, Fe, M ? Df : wf);
|
16102
16102
|
x[_] = Ef, U[_] = Ef - Fe;
|
16103
16103
|
}
|
16104
16104
|
t.modifiersData[f] = U;
|
@@ -16245,11 +16245,11 @@ function NA(e) {
|
|
16245
16245
|
d.reset = !1, L = -1;
|
16246
16246
|
continue;
|
16247
16247
|
}
|
16248
|
-
var _ = d.orderedModifiers[L], x = _.fn, C = _.options, k = C === void 0 ? {} : C,
|
16248
|
+
var _ = d.orderedModifiers[L], x = _.fn, C = _.options, k = C === void 0 ? {} : C, D = _.name;
|
16249
16249
|
typeof x == "function" && (d = x({
|
16250
16250
|
state: d,
|
16251
16251
|
options: k,
|
16252
|
-
name:
|
16252
|
+
name: D,
|
16253
16253
|
instance: M
|
16254
16254
|
}) || d);
|
16255
16255
|
}
|
@@ -16411,13 +16411,13 @@ function UA(e, t, n, f, a, s) {
|
|
16411
16411
|
key: i,
|
16412
16412
|
class: "v3-group"
|
16413
16413
|
}, [
|
16414
|
-
e.hasGroupNames ?
|
16414
|
+
e.hasGroupNames ? ce((r(), u("h5", {
|
16415
16415
|
key: 0,
|
16416
16416
|
class: O(e.isSticky ? "v3-sticky" : "")
|
16417
16417
|
}, T(e.groupNames[i]), 3)), [
|
16418
16418
|
[We, e.emojis[i]]
|
16419
16419
|
]) : v("", !0),
|
16420
|
-
|
16420
|
+
ce(o("div", SA, [
|
16421
16421
|
(r(!0), u(q, null, te(e.emojis[i], (l) => (r(), u("button", {
|
16422
16422
|
key: l.r,
|
16423
16423
|
type: "button",
|
@@ -16516,7 +16516,7 @@ function fc(e, t, n, f, a, s) {
|
|
16516
16516
|
])) : v("", !0),
|
16517
16517
|
e.hasGroupIcons && e.hasSearch ? (r(), u("div", ec)) : v("", !0),
|
16518
16518
|
e.hasSearch ? (r(), u("div", tc, [
|
16519
|
-
|
16519
|
+
ce(o("input", {
|
16520
16520
|
"onUpdate:modelValue": t[0] || (t[0] = (i) => e.searchValue = i),
|
16521
16521
|
type: "text",
|
16522
16522
|
placeholder: e.placeholder
|
@@ -16921,7 +16921,7 @@ const kc = {
|
|
16921
16921
|
}), Ke(() => {
|
16922
16922
|
document.removeEventListener("click", m);
|
16923
16923
|
}), (M, p) => (r(), u(q, null, [
|
16924
|
-
|
16924
|
+
N(i)().isRecording ? v("", !0) : (r(), u("div", {
|
16925
16925
|
key: 0,
|
16926
16926
|
ref_key: "emojiButton",
|
16927
16927
|
ref: f,
|
@@ -16941,7 +16941,7 @@ const kc = {
|
|
16941
16941
|
onMouseover: d,
|
16942
16942
|
onMouseout: g
|
16943
16943
|
}, [
|
16944
|
-
F(
|
16944
|
+
F(N(wc), {
|
16945
16945
|
native: !0,
|
16946
16946
|
theme: l.value,
|
16947
16947
|
"picker-type": "",
|
@@ -17030,25 +17030,25 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
|
|
17030
17030
|
}
|
17031
17031
|
);
|
17032
17032
|
const A = () => {
|
17033
|
-
const d =
|
17033
|
+
const d = N(i);
|
17034
17034
|
d && (d.value = ""), f().text = "", a("cancel");
|
17035
17035
|
};
|
17036
17036
|
return ie(() => {
|
17037
|
-
const d =
|
17037
|
+
const d = N(i);
|
17038
17038
|
d == null || d.focus();
|
17039
17039
|
}), (d, g) => (r(), B(X, null, {
|
17040
17040
|
default: K(() => [
|
17041
17041
|
o("div", Sc, [
|
17042
|
-
o("span", Cc, T(
|
17043
|
-
|
17042
|
+
o("span", Cc, T(N(pe)("component.FeedSearch.SearchLabel")), 1),
|
17043
|
+
ce(o("input", {
|
17044
17044
|
ref_key: "refInput",
|
17045
17045
|
ref: i,
|
17046
17046
|
class: "feed-search__input",
|
17047
17047
|
type: "text",
|
17048
|
-
placeholder:
|
17049
|
-
"onUpdate:modelValue": g[0] || (g[0] = (m) =>
|
17048
|
+
placeholder: N(pe)("component.FeedSearch.SearchPlaceholder"),
|
17049
|
+
"onUpdate:modelValue": g[0] || (g[0] = (m) => N(f)().text = m)
|
17050
17050
|
}, null, 8, zc), [
|
17051
|
-
[lt,
|
17051
|
+
[lt, N(f)().text]
|
17052
17052
|
]),
|
17053
17053
|
o("i", {
|
17054
17054
|
class: "pi pi-times",
|
@@ -17153,11 +17153,11 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
|
|
17153
17153
|
}), l = (A) => {
|
17154
17154
|
A.messageId && (n("clickedSearch", A.messageId), s.value = A);
|
17155
17155
|
}, c = () => {
|
17156
|
-
const A =
|
17156
|
+
const A = N(a);
|
17157
17157
|
A.scrollHeight - A.scrollTop - A.clientHeight <= 0 && n("loadMore");
|
17158
17158
|
};
|
17159
17159
|
return (A, d) => (r(), u(q, null, [
|
17160
|
-
o("h3", Wc, T(
|
17160
|
+
o("h3", Wc, T(N(pe)("component.FeedFoundObjects.results")) + ": " + T(e.foundAmount), 1),
|
17161
17161
|
e.foundAmount > 0 ? (r(), u("div", {
|
17162
17162
|
key: 0,
|
17163
17163
|
class: "feed-found-objects__items",
|
@@ -17196,21 +17196,23 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
|
|
17196
17196
|
emits: ["send", "typing"],
|
17197
17197
|
setup(e, { emit: t }) {
|
17198
17198
|
const n = ee("chatAppId"), { getMessage: f, setMessageFile: a, resetMessageFile: s, setRecordingMessage: i } = Ie(n), l = b(), c = b(0), A = b(0), d = b(0), g = b(0), m = Q(() => {
|
17199
|
-
let
|
17200
|
-
return
|
17199
|
+
let D = g.value < 10 ? "0" + g.value : g.value, w = d.value < 10 ? "0" + d.value : d.value, I = A.value < 10 ? "0" + A.value : A.value, U = c.value < 10 ? "00" + c.value : c.value < 100 ? "0" + c.value : c.value;
|
17200
|
+
return D + ":" + w + ":" + I + ":" + U;
|
17201
17201
|
}), M = b(""), p = b(!1), y = b(), h = b([]), V = b(), S = b(), j = e, L = async () => {
|
17202
|
-
|
17203
|
-
|
17204
|
-
|
17205
|
-
|
17206
|
-
|
17207
|
-
|
17202
|
+
if (!f().file && j.state == "active") {
|
17203
|
+
const D = await navigator.mediaDevices.getUserMedia({ audio: !0, video: !1 });
|
17204
|
+
l.value = setInterval(() => {
|
17205
|
+
c.value += 10, c.value == 1e3 && (c.value = 0, A.value++, A.value == 60 && (A.value = 0, d.value++, d.value == 60 && (d.value = 0, g.value++)));
|
17206
|
+
}, 10), i(!0), p.value = !0, y.value = new MediaRecorder(D), y.value.start(), y.value.ondataavailable = (w) => {
|
17207
|
+
h.value.push(w.data);
|
17208
|
+
};
|
17209
|
+
}
|
17208
17210
|
}, _ = () => {
|
17209
17211
|
C(), V.value = void 0;
|
17210
17212
|
}, x = () => {
|
17211
17213
|
y.value && (y.value.stop(), y.value.onstop = async () => {
|
17212
|
-
const
|
17213
|
-
V.value = w, M.value = "uploading", await xt(j.filebumpUrl,
|
17214
|
+
const D = new File(h.value, "voicemessage.mp3", { type: "audio/*" }), w = URL.createObjectURL(D);
|
17215
|
+
V.value = w, M.value = "uploading", await xt(j.filebumpUrl, D).then((I) => {
|
17214
17216
|
M.value = I.status, I.status == "success" && (a({
|
17215
17217
|
url: I.url,
|
17216
17218
|
name: I.name,
|
@@ -17236,13 +17238,12 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
|
|
17236
17238
|
() => {
|
17237
17239
|
f().file || (S.value = void 0);
|
17238
17240
|
}
|
17239
|
-
), (
|
17241
|
+
), (D, w) => (r(), u("div", Zc, [
|
17240
17242
|
M.value === "uploading" ? (r(), u("div", Xc, w[0] || (w[0] = [
|
17241
17243
|
o("p", null, "Загрузка файла...", -1)
|
17242
17244
|
]))) : v("", !0),
|
17243
17245
|
p.value && M.value != "uploading" ? (r(), u("div", eu, [
|
17244
17246
|
w[3] || (w[3] = o("span", { class: "audio-recorder__recording-icon pi pi-circle-fill" }, null, -1)),
|
17245
|
-
o("span", tu, T(m.value), 1),
|
17246
17247
|
o("button", {
|
17247
17248
|
class: "audio-recorder__button audio-recorder__button-record",
|
17248
17249
|
onClick: _
|
@@ -17253,19 +17254,20 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
|
|
17253
17254
|
class: "audio-recorder__button audio-recorder__button-record",
|
17254
17255
|
onClick: x
|
17255
17256
|
}, w[2] || (w[2] = [
|
17256
|
-
o("
|
17257
|
-
]))
|
17257
|
+
o("div", { class: "audio-recorder__stop" }, null, -1)
|
17258
|
+
])),
|
17259
|
+
o("span", tu, T(m.value), 1)
|
17258
17260
|
])) : v("", !0),
|
17259
|
-
!p.value && M.value != "uploading" && !
|
17261
|
+
!p.value && M.value != "uploading" && !N(f)().isRecording ? (r(), u("button", {
|
17260
17262
|
key: 2,
|
17261
|
-
class: O(["audio-recorder__button", { "audio-recorder__button-disabled": e.state == "disabled" }]),
|
17263
|
+
class: O(["audio-recorder__button", { "audio-recorder__button-disabled": e.state == "disabled" || N(f)().file }]),
|
17262
17264
|
onClick: L
|
17263
17265
|
}, w[4] || (w[4] = [
|
17264
17266
|
o("span", { class: "pi pi-microphone" }, null, -1)
|
17265
17267
|
]), 2)) : v("", !0),
|
17266
|
-
|
17268
|
+
N(f)().file ? (r(), B(Ae, {
|
17267
17269
|
key: 3,
|
17268
|
-
to: "#chat-input-file-line-" +
|
17270
|
+
to: "#chat-input-file-line-" + N(n)
|
17269
17271
|
}, [
|
17270
17272
|
S.value ? (r(), B(Vt, {
|
17271
17273
|
key: 0,
|
@@ -17275,7 +17277,7 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
|
|
17275
17277
|
], 8, ["to"])) : v("", !0)
|
17276
17278
|
]));
|
17277
17279
|
}
|
17278
|
-
}), Bg = /* @__PURE__ */ R(nu, [["__scopeId", "data-v-
|
17280
|
+
}), Bg = /* @__PURE__ */ R(nu, [["__scopeId", "data-v-92d0c239"]]);
|
17279
17281
|
function Ot({ component: e, attrs: t, Modal: n, modalAttrs: f }) {
|
17280
17282
|
return new Promise((a) => {
|
17281
17283
|
const s = document.createElement("div");
|
@@ -17370,7 +17372,7 @@ const fu = ["data-theme"], au = {
|
|
17370
17372
|
}, yf = /* @__PURE__ */ R(ou, [["__scopeId", "data-v-a44139f6"]]), Rg = async (e, t) => {
|
17371
17373
|
const n = await Ot({
|
17372
17374
|
//в component должен быть встроен emit change(key: value)
|
17373
|
-
component: import("./SelectUser2-
|
17375
|
+
component: import("./SelectUser2-Ckk2MZef.js"),
|
17374
17376
|
attrs: {
|
17375
17377
|
title: e,
|
17376
17378
|
users: t
|
@@ -17439,7 +17441,7 @@ const fu = ["data-theme"], au = {
|
|
17439
17441
|
}
|
17440
17442
|
}, Sa = /* @__PURE__ */ R(cu, [["__scopeId", "data-v-564d1d1f"]]), Yg = async (e, t, n, f, a) => await Ot({
|
17441
17443
|
//в component должен быть встроен emit change(key: value)
|
17442
|
-
component: import("./CreateDialog-
|
17444
|
+
component: import("./CreateDialog-DYLAu6u4.js"),
|
17443
17445
|
attrs: {
|
17444
17446
|
title: e,
|
17445
17447
|
name: t,
|
@@ -17452,7 +17454,7 @@ const fu = ["data-theme"], au = {
|
|
17452
17454
|
}
|
17453
17455
|
}), uu = async (e) => await Ot({
|
17454
17456
|
//в component должен быть встроен emit change(key: value)
|
17455
|
-
component: import("./ModalVideoRecorder-
|
17457
|
+
component: import("./ModalVideoRecorder-Cyk9jDqV.js"),
|
17456
17458
|
attrs: {},
|
17457
17459
|
Modal: Sa,
|
17458
17460
|
modalAttrs: {
|
@@ -17478,7 +17480,7 @@ const fu = ["data-theme"], au = {
|
|
17478
17480
|
},
|
17479
17481
|
setup(e) {
|
17480
17482
|
const t = ee("chatAppId"), { getMessage: n, setMessageFile: f, setRecordingMessage: a, resetMessageFile: s } = Ie(t), i = b(""), l = b(), c = e, A = async () => {
|
17481
|
-
await uu().then(async (g) => {
|
17483
|
+
!n().file && c.state == "active" && await uu().then(async (g) => {
|
17482
17484
|
g.videoFile && (i.value = "uploading", a(!0), await xt(c.filebumpUrl, g.videoFile).then((m) => {
|
17483
17485
|
a(!1), i.value = m.status, m.status == "success" && (f({
|
17484
17486
|
url: m.url,
|
@@ -17504,10 +17506,10 @@ const fu = ["data-theme"], au = {
|
|
17504
17506
|
n().file || (l.value = void 0);
|
17505
17507
|
}
|
17506
17508
|
), (g, m) => (r(), u(q, null, [
|
17507
|
-
|
17509
|
+
N(n)().isRecording ? v("", !0) : (r(), u("div", du, [
|
17508
17510
|
i.value != "uploading" ? (r(), u("button", {
|
17509
17511
|
key: 0,
|
17510
|
-
class: O(["video-recorder__button", { "video-recorder__button-disabled": e.state == "disabled" }]),
|
17512
|
+
class: O(["video-recorder__button", { "video-recorder__button-disabled": e.state == "disabled" || N(n)().file }]),
|
17511
17513
|
onClick: A
|
17512
17514
|
}, m[0] || (m[0] = [
|
17513
17515
|
o("span", { class: "pi pi-video" }, null, -1)
|
@@ -17516,9 +17518,9 @@ const fu = ["data-theme"], au = {
|
|
17516
17518
|
i.value === "uploading" ? (r(), u("div", gu, m[1] || (m[1] = [
|
17517
17519
|
o("p", null, "Загрузка файла...", -1)
|
17518
17520
|
]))) : v("", !0),
|
17519
|
-
|
17521
|
+
N(n)().file ? (r(), B(Ae, {
|
17520
17522
|
key: 2,
|
17521
|
-
to: "#chat-input-file-line-" +
|
17523
|
+
to: "#chat-input-file-line-" + N(t)
|
17522
17524
|
}, [
|
17523
17525
|
l.value ? (r(), B(Vt, {
|
17524
17526
|
key: 0,
|
@@ -17528,7 +17530,7 @@ const fu = ["data-theme"], au = {
|
|
17528
17530
|
], 8, ["to"])) : v("", !0)
|
17529
17531
|
], 64));
|
17530
17532
|
}
|
17531
|
-
}), Pg = /* @__PURE__ */ R(mu, [["__scopeId", "data-v-
|
17533
|
+
}), Pg = /* @__PURE__ */ R(mu, [["__scopeId", "data-v-c7530777"]]), ct = /* @__PURE__ */ W({
|
17532
17534
|
__name: "BaseReplyMessage",
|
17533
17535
|
props: {
|
17534
17536
|
message: {
|
@@ -17698,7 +17700,7 @@ const fu = ["data-theme"], au = {
|
|
17698
17700
|
o("p", null, T(e.message.views), 1)
|
17699
17701
|
])) : v("", !0),
|
17700
17702
|
o("span", xu, T(e.message.time), 1),
|
17701
|
-
p(e.message) === "file-message__right" &&
|
17703
|
+
p(e.message) === "file-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
|
17702
17704
|
key: 1,
|
17703
17705
|
class: O(["file-message__status", M.value])
|
17704
17706
|
}, [
|
@@ -17715,7 +17717,7 @@ const fu = ["data-theme"], au = {
|
|
17715
17717
|
]))) : v("", !0),
|
17716
17718
|
F(X, null, {
|
17717
17719
|
default: K(() => [
|
17718
|
-
a.value && e.message.actions ? (r(), B(
|
17720
|
+
a.value && e.message.actions ? (r(), B(N($e), {
|
17719
17721
|
key: 0,
|
17720
17722
|
class: "file-message__context-menu",
|
17721
17723
|
actions: e.message.actions,
|
@@ -17826,7 +17828,7 @@ const fu = ["data-theme"], au = {
|
|
17826
17828
|
o("p", null, T(e.message.views), 1)
|
17827
17829
|
])) : v("", !0),
|
17828
17830
|
o("span", Qu, T(e.message.time), 1),
|
17829
|
-
V(e.message) === "image-message__right" &&
|
17831
|
+
V(e.message) === "image-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
|
17830
17832
|
key: 1,
|
17831
17833
|
class: O(["image-message__status", h.value])
|
17832
17834
|
}, [
|
@@ -17867,7 +17869,7 @@ const fu = ["data-theme"], au = {
|
|
17867
17869
|
}),
|
17868
17870
|
F(X, { name: "context-menu" }, {
|
17869
17871
|
default: K(() => [
|
17870
|
-
s.value && e.message.actions ? (r(), B(
|
17872
|
+
s.value && e.message.actions ? (r(), B(N($e), {
|
17871
17873
|
key: 0,
|
17872
17874
|
class: "image-message__context-menu",
|
17873
17875
|
actions: e.message.actions,
|
@@ -17888,7 +17890,7 @@ const fu = ["data-theme"], au = {
|
|
17888
17890
|
linkPreview: e.message.linkPreview
|
17889
17891
|
}, null, 8, ["class", "linkPreview"])) : v("", !0)
|
17890
17892
|
]),
|
17891
|
-
(r(), B(
|
17893
|
+
(r(), B(Ae, { to: "body" }, [
|
17892
17894
|
F(X, { name: "modal-fade" }, {
|
17893
17895
|
default: K(() => [
|
17894
17896
|
a.value ? (r(), B(lf, {
|
@@ -17999,7 +18001,7 @@ const fu = ["data-theme"], au = {
|
|
17999
18001
|
o("p", null, T(e.message.views), 1)
|
18000
18002
|
])) : v("", !0),
|
18001
18003
|
e.message.time ? (r(), u("span", e1, T(e.message.time), 1)) : v("", !0),
|
18002
|
-
p(e.message) === "text-message__right" &&
|
18004
|
+
p(e.message) === "text-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
|
18003
18005
|
key: 2,
|
18004
18006
|
class: O(["text-message__status", g.value])
|
18005
18007
|
}, [
|
@@ -18016,7 +18018,7 @@ const fu = ["data-theme"], au = {
|
|
18016
18018
|
]))) : v("", !0),
|
18017
18019
|
F(X, null, {
|
18018
18020
|
default: K(() => [
|
18019
|
-
a.value && e.message.actions ? (r(), B(
|
18021
|
+
a.value && e.message.actions ? (r(), B(N($e), {
|
18020
18022
|
key: 0,
|
18021
18023
|
class: "text-message__context-menu",
|
18022
18024
|
actions: e.message.actions,
|
@@ -18108,7 +18110,7 @@ const fu = ["data-theme"], au = {
|
|
18108
18110
|
}
|
18109
18111
|
);
|
18110
18112
|
const k = Q(() => i.value ? x(c.value) : "0:00");
|
18111
|
-
function
|
18113
|
+
function D(w) {
|
18112
18114
|
return w.position === "left" ? "audio-message__left" : "audio-message__right";
|
18113
18115
|
}
|
18114
18116
|
return ie(() => {
|
@@ -18122,7 +18124,7 @@ const fu = ["data-theme"], au = {
|
|
18122
18124
|
}), (w, I) => {
|
18123
18125
|
var U;
|
18124
18126
|
return r(), u("div", {
|
18125
|
-
class: O(["audio-message",
|
18127
|
+
class: O(["audio-message", D(e.message)]),
|
18126
18128
|
messageId: e.message.messageId,
|
18127
18129
|
onMouseleave: V
|
18128
18130
|
}, [
|
@@ -18153,7 +18155,7 @@ const fu = ["data-theme"], au = {
|
|
18153
18155
|
src: e.message.url,
|
18154
18156
|
type: "audio/webm"
|
18155
18157
|
}, null, 8, l1),
|
18156
|
-
|
18158
|
+
ce(o("button", {
|
18157
18159
|
class: "audio-message__play",
|
18158
18160
|
onClick: _
|
18159
18161
|
}, I[4] || (I[4] = [
|
@@ -18161,7 +18163,7 @@ const fu = ["data-theme"], au = {
|
|
18161
18163
|
]), 512), [
|
18162
18164
|
[We, !l.value]
|
18163
18165
|
]),
|
18164
|
-
|
18166
|
+
ce(o("button", {
|
18165
18167
|
class: "audio-message__pause",
|
18166
18168
|
onClick: _
|
18167
18169
|
}, I[5] || (I[5] = [
|
@@ -18169,7 +18171,7 @@ const fu = ["data-theme"], au = {
|
|
18169
18171
|
]), 512), [
|
18170
18172
|
[We, l.value]
|
18171
18173
|
]),
|
18172
|
-
|
18174
|
+
ce(o("input", {
|
18173
18175
|
class: "audio-message__progress-bar-container",
|
18174
18176
|
type: "range",
|
18175
18177
|
min: 0,
|
@@ -18224,7 +18226,7 @@ const fu = ["data-theme"], au = {
|
|
18224
18226
|
o("p", null, T(e.message.views), 1)
|
18225
18227
|
])) : v("", !0),
|
18226
18228
|
o("span", y1, T(e.message.time), 1),
|
18227
|
-
|
18229
|
+
D(e.message) === "audio-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
|
18228
18230
|
key: 1,
|
18229
18231
|
class: O(["audio-message__status", L.value])
|
18230
18232
|
}, [
|
@@ -18241,7 +18243,7 @@ const fu = ["data-theme"], au = {
|
|
18241
18243
|
]))) : v("", !0),
|
18242
18244
|
F(X, null, {
|
18243
18245
|
default: K(() => [
|
18244
|
-
d.value && e.message.actions ? (r(), B(
|
18246
|
+
d.value && e.message.actions ? (r(), B(N($e), {
|
18245
18247
|
key: 0,
|
18246
18248
|
class: "audio-message__context-menu",
|
18247
18249
|
actions: e.message.actions,
|
@@ -18250,7 +18252,7 @@ const fu = ["data-theme"], au = {
|
|
18250
18252
|
]),
|
18251
18253
|
_: 1
|
18252
18254
|
}),
|
18253
|
-
(r(), B(
|
18255
|
+
(r(), B(Ae, { to: "body" }, [
|
18254
18256
|
F(X, { name: "modal-fade" }, {
|
18255
18257
|
default: K(() => {
|
18256
18258
|
var $;
|
@@ -18376,9 +18378,9 @@ const fu = ["data-theme"], au = {
|
|
18376
18378
|
}, null, 8, ["class", "message"])) : v("", !0),
|
18377
18379
|
o("div", {
|
18378
18380
|
class: "video-message__preview-button",
|
18379
|
-
onClick: k[0] || (k[0] = (
|
18381
|
+
onClick: k[0] || (k[0] = (D) => c.value = !0),
|
18380
18382
|
onMouseenter: h,
|
18381
|
-
onMouseleave: k[1] || (k[1] = (
|
18383
|
+
onMouseleave: k[1] || (k[1] = (D) => g.value = !g.value)
|
18382
18384
|
}, [
|
18383
18385
|
o("video", {
|
18384
18386
|
ref_key: "previewPlayer",
|
@@ -18402,7 +18404,7 @@ const fu = ["data-theme"], au = {
|
|
18402
18404
|
o("p", null, T(e.message.views), 1)
|
18403
18405
|
])) : v("", !0),
|
18404
18406
|
o("span", O1, T(e.message.time), 1),
|
18405
|
-
s(e.message) === "video-message__right" &&
|
18407
|
+
s(e.message) === "video-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
|
18406
18408
|
key: 1,
|
18407
18409
|
class: O(["video-message__status", S.value])
|
18408
18410
|
}, [
|
@@ -18434,7 +18436,7 @@ const fu = ["data-theme"], au = {
|
|
18434
18436
|
d.value && e.message.actions ? (r(), u("button", {
|
18435
18437
|
key: 0,
|
18436
18438
|
class: "video-message__menu-button",
|
18437
|
-
onClick: k[2] || (k[2] = (
|
18439
|
+
onClick: k[2] || (k[2] = (D) => A.value = !A.value)
|
18438
18440
|
}, k[6] || (k[6] = [
|
18439
18441
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
18440
18442
|
]))) : v("", !0)
|
@@ -18443,7 +18445,7 @@ const fu = ["data-theme"], au = {
|
|
18443
18445
|
}),
|
18444
18446
|
F(X, { name: "context-menu" }, {
|
18445
18447
|
default: K(() => [
|
18446
|
-
A.value && e.message.actions ? (r(), B(
|
18448
|
+
A.value && e.message.actions ? (r(), B(N($e), {
|
18447
18449
|
key: 0,
|
18448
18450
|
class: "video-message__context-menu",
|
18449
18451
|
actions: e.message.actions,
|
@@ -18465,7 +18467,7 @@ const fu = ["data-theme"], au = {
|
|
18465
18467
|
}, null, 8, ["class", "linkPreview"])) : v("", !0)
|
18466
18468
|
])
|
18467
18469
|
], 42, j1),
|
18468
|
-
(r(), B(
|
18470
|
+
(r(), B(Ae, { to: "body" }, [
|
18469
18471
|
F(X, { name: "modal-fade" }, {
|
18470
18472
|
default: K(() => [
|
18471
18473
|
c.value ? (r(), B(lf, {
|
@@ -18568,7 +18570,7 @@ const fu = ["data-theme"], au = {
|
|
18568
18570
|
}, s[2] || (s[2] = [
|
18569
18571
|
o("span", { class: "pi pi-arrow-up-right" }, null, -1)
|
18570
18572
|
]))) : v("", !0),
|
18571
|
-
(r(), B(
|
18573
|
+
(r(), B(Ae, { to: "body" }, [
|
18572
18574
|
F(X, { name: "modal-fade" }, {
|
18573
18575
|
default: K(() => {
|
18574
18576
|
var l;
|
@@ -18716,7 +18718,7 @@ const fu = ["data-theme"], au = {
|
|
18716
18718
|
onClick: a
|
18717
18719
|
}, null, 8, vd)) : v("", !0)
|
18718
18720
|
]),
|
18719
|
-
(r(), B(
|
18721
|
+
(r(), B(Ae, { to: "body" }, [
|
18720
18722
|
F(X, { name: "modal-fade" }, {
|
18721
18723
|
default: K(() => [
|
18722
18724
|
n.value ? (r(), u("div", {
|
@@ -18767,7 +18769,7 @@ const fu = ["data-theme"], au = {
|
|
18767
18769
|
s.preventDefault(), s.target.href && window.open(s.target.href, "_blank");
|
18768
18770
|
}
|
18769
18771
|
return (s, i) => (r(), u(q, null, [
|
18770
|
-
|
18772
|
+
ce(o("div", Id, i[0] || (i[0] = [
|
18771
18773
|
o("span", { class: "pi pi-play" }, null, -1)
|
18772
18774
|
]), 512), [
|
18773
18775
|
[We, !n.value]
|
@@ -18836,7 +18838,7 @@ const fu = ["data-theme"], au = {
|
|
18836
18838
|
onClick: s
|
18837
18839
|
}, null, 8, jd)) : v("", !0)
|
18838
18840
|
]),
|
18839
|
-
(r(), B(
|
18841
|
+
(r(), B(Ae, { to: "body" }, [
|
18840
18842
|
F(X, { name: "modal-fade" }, {
|
18841
18843
|
default: K(() => [
|
18842
18844
|
f.value ? (r(), u("div", {
|
@@ -18914,7 +18916,7 @@ const fu = ["data-theme"], au = {
|
|
18914
18916
|
setup(e) {
|
18915
18917
|
const t = Gn();
|
18916
18918
|
return In("chatAppId", t), (n, f) => (r(), u("div", {
|
18917
|
-
id:
|
18919
|
+
id: N(t),
|
18918
18920
|
class: "base"
|
18919
18921
|
}, [
|
18920
18922
|
o("div", {
|
@@ -18922,9 +18924,11 @@ const fu = ["data-theme"], au = {
|
|
18922
18924
|
style: se({ height: e.height, width: e.width })
|
18923
18925
|
}, [
|
18924
18926
|
ne(n.$slots, "default"),
|
18925
|
-
|
18926
|
-
|
18927
|
-
|
18927
|
+
(r(), B(Ae, { to: "body" }, [
|
18928
|
+
o("div", {
|
18929
|
+
id: "float-windows-" + N(t)
|
18930
|
+
}, null, 8, Qd)
|
18931
|
+
]))
|
18928
18932
|
], 4)
|
18929
18933
|
], 8, Rd));
|
18930
18934
|
}
|
@@ -18971,7 +18975,7 @@ const fu = ["data-theme"], au = {
|
|
18971
18975
|
));
|
18972
18976
|
}), A.value = a.value.offsetHeight - s.value.offsetHeight;
|
18973
18977
|
}), (p, y) => (r(), u("div", {
|
18974
|
-
id:
|
18978
|
+
id: N(d),
|
18975
18979
|
ref_key: "element",
|
18976
18980
|
ref: a,
|
18977
18981
|
class: "float-window",
|
@@ -19015,14 +19019,16 @@ const fu = ["data-theme"], au = {
|
|
19015
19019
|
style: se({ height: A.value + "px" })
|
19016
19020
|
}, [
|
19017
19021
|
ne(p.$slots, "default", {}, void 0, !0),
|
19018
|
-
|
19019
|
-
|
19020
|
-
|
19022
|
+
(r(), B(Ae, { to: "body" }, [
|
19023
|
+
o("div", {
|
19024
|
+
id: "float-windows-" + N(d)
|
19025
|
+
}, null, 8, Hd)
|
19026
|
+
]))
|
19021
19027
|
], 4)
|
19022
19028
|
])
|
19023
19029
|
], 12, $d));
|
19024
19030
|
}
|
19025
|
-
}, qg = /* @__PURE__ */ R(Wd, [["__scopeId", "data-v-
|
19031
|
+
}, qg = /* @__PURE__ */ R(Wd, [["__scopeId", "data-v-d7630bab"]]), Kd = {}, Jd = { class: "base-layout__container" }, Gd = { class: "base-layout__first-col" }, Zd = { class: "base-layout__second-col" };
|
19026
19032
|
function Xd(e, t) {
|
19027
19033
|
return r(), u("div", Jd, [
|
19028
19034
|
o("div", Gd, [
|
@@ -19089,12 +19095,12 @@ const Kg = /* @__PURE__ */ R(ig, [["render", rg], ["__scopeId", "data-v-a4657f8e
|
|
19089
19095
|
{ immediate: !0 }
|
19090
19096
|
), (f, a) => (r(), u("div", {
|
19091
19097
|
class: "chat-wrapper",
|
19092
|
-
id: "chat-wrapper-" +
|
19098
|
+
id: "chat-wrapper-" + N(n)
|
19093
19099
|
}, [
|
19094
19100
|
e.isSelectedChat ? (r(), u("div", cg, [
|
19095
19101
|
ne(f.$slots, "default", {}, void 0, !0)
|
19096
19102
|
])) : (r(), u("div", ug, [
|
19097
|
-
o("p", null, T(
|
19103
|
+
o("p", null, T(N(pe)("layout.ChatWrapper.noSelectedChat")), 1)
|
19098
19104
|
])),
|
19099
19105
|
e.isOpenChatPanel ? (r(), u("div", {
|
19100
19106
|
key: 2,
|
@@ -19139,23 +19145,23 @@ const Kg = /* @__PURE__ */ R(ig, [["render", rg], ["__scopeId", "data-v-a4657f8e
|
|
19139
19145
|
}), (s, i) => (r(), u("div", {
|
19140
19146
|
class: "extend-layout__container",
|
19141
19147
|
ref: "refContainer",
|
19142
|
-
id: "extern-layout-container-" +
|
19148
|
+
id: "extern-layout-container-" + N(n)
|
19143
19149
|
}, [
|
19144
19150
|
o("div", {
|
19145
19151
|
class: "extend-layout__first-col",
|
19146
|
-
id: "extend-layout-first-col-" +
|
19152
|
+
id: "extend-layout-first-col-" + N(n)
|
19147
19153
|
}, [
|
19148
19154
|
ne(s.$slots, "first-col", {}, void 0, !0)
|
19149
19155
|
], 8, mg),
|
19150
19156
|
o("div", {
|
19151
19157
|
class: "extend-layout__second-col",
|
19152
|
-
id: "extend-layout-second-col-" +
|
19158
|
+
id: "extend-layout-second-col-" + N(n)
|
19153
19159
|
}, [
|
19154
19160
|
ne(s.$slots, "second-col", {}, void 0, !0)
|
19155
19161
|
], 8, pg),
|
19156
19162
|
o("div", {
|
19157
19163
|
class: "extend-layout__third-col",
|
19158
|
-
id: "extend-layout-third-col-" +
|
19164
|
+
id: "extend-layout-third-col-" + N(n)
|
19159
19165
|
}, [
|
19160
19166
|
ne(s.$slots, "third-col", {}, void 0, !0)
|
19161
19167
|
], 8, hg)
|