@mobilon-dev/chotto 0.2.36 → 0.2.37
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/dist/{CreateDialog-DX-cM3zl.js → CreateDialog-i48L2Hv1.js} +1 -1
- package/dist/{ModalVideoRecorder-BjXicZi7.js → ModalVideoRecorder-HBEg6FMi.js} +1 -1
- package/dist/{SelectUser2-CrCU7S-i.js → SelectUser2-CDxN2-8x.js} +1 -1
- package/dist/chotto.css +1 -1
- package/dist/{index-BHuMEG0n.js → index-D1LrTQdi.js} +173 -180
- package/dist/vuessages.es.js +1 -1
- package/dist/vuessages.umd.js +6 -6
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { createElementBlock as u, openBlock as l, createStaticVNode as bf, inject as ie, computed as P, createCommentVNode as b, createElementVNode as o, createVNode as
|
1
|
+
import { createElementBlock as u, openBlock as l, createStaticVNode as bf, inject as ie, computed as P, createCommentVNode as b, createElementVNode as o, createVNode as Y, createTextVNode as Pe, toDisplayString as E, renderSlot as ue, unref as T, ref as h, customRef as yn, defineComponent as G, watch as ae, nextTick as ge, onMounted as me, withDirectives as _e, withKeys as Dt, vModelText as Sf, normalizeClass as j, createBlock as B, resolveDynamicComponent as ze, Fragment as K, renderList as ce, Transition as re, withCtx as Z, useTemplateRef as Mn, normalizeStyle as de, Teleport as Te, onUnmounted as gf, vShow as Ye, useId as G1, toRef as Jt, vModelRadio as Tt, reactive as wn, provide as kf, getCurrentInstance as na, toRaw as Cn, onBeforeUnmount as aa, readonly as sa, resolveComponent as v1, h as Gt, defineAsyncComponent as ia, createApp as oa, withModifiers as Xf } from "vue";
|
2
2
|
const la = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", ua = "ελ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", _t = "numeric", ht = "ascii", vt = "alpha", Yf = "asciinumeric", Pf = "alphanumeric", bt = "domain", In = "emoji", ca = "scheme", ra = "slashscheme", ot = "whitespace";
|
3
3
|
function da(e, f) {
|
4
4
|
return e in f || (f[e] = []), f[e];
|
@@ -608,9 +608,9 @@ function va({
|
|
608
608
|
[L1, O1]
|
609
609
|
// <>
|
610
610
|
];
|
611
|
-
for (let
|
612
|
-
const [
|
613
|
-
L(g,
|
611
|
+
for (let q = 0; q < X.length; q++) {
|
612
|
+
const [H, F] = X[q], oe = L(M, H);
|
613
|
+
L(g, H, oe), L(oe, F, M);
|
614
614
|
const J = Le(p1);
|
615
615
|
ne(oe, f, J);
|
616
616
|
const se = Le();
|
@@ -807,7 +807,7 @@ const Ln = /* @__PURE__ */ O(Ia, [["render", xa]]), Da = {
|
|
807
807
|
width: "40",
|
808
808
|
height: "40"
|
809
809
|
}, null, 8, Ea)) : (l(), u("span", ja, [
|
810
|
-
|
810
|
+
Y(Ln, { size: 40 })
|
811
811
|
]))
|
812
812
|
]),
|
813
813
|
o("div", Sa, [
|
@@ -1396,12 +1396,12 @@ const ei = /* @__PURE__ */ O(Js, [["render", Xs]]), fi = { class: "chat-input__c
|
|
1396
1396
|
if (!I) return;
|
1397
1397
|
const M = I.scrollTop;
|
1398
1398
|
I.style.height = "auto";
|
1399
|
-
const g = getComputedStyle(I), v = parseFloat(g.fontSize) || 16, N = parseFloat(g.lineHeight) || v * 1.4, U = 40, z = N * 11, X = I.scrollHeight,
|
1399
|
+
const g = getComputedStyle(I), v = parseFloat(g.fontSize) || 16, N = parseFloat(g.lineHeight) || v * 1.4, U = 40, z = N * 11, X = I.scrollHeight, H = i().text.split(`
|
1400
1400
|
`).length > 1, F = document.createElement("div");
|
1401
1401
|
F.style.position = "absolute", F.style.visibility = "hidden", F.style.whiteSpace = "nowrap", F.style.font = g.font, F.style.fontSize = g.fontSize, F.style.fontFamily = g.fontFamily, F.style.fontWeight = g.fontWeight, F.style.letterSpacing = g.letterSpacing, F.textContent = i().text, document.body.appendChild(F);
|
1402
1402
|
const oe = F.offsetWidth;
|
1403
1403
|
document.body.removeChild(F);
|
1404
|
-
const J = parseFloat(g.paddingLeft) || 0, se = parseFloat(g.paddingRight) || 0, be = I.clientWidth - J - se, pe = oe > be, Ce =
|
1404
|
+
const J = parseFloat(g.paddingLeft) || 0, se = parseFloat(g.paddingRight) || 0, be = I.clientWidth - J - se, pe = oe > be, Ce = H || pe;
|
1405
1405
|
i().text.trim() && Ce ? X <= z ? (I.style.height = X + "px", I.style.overflowY = "hidden") : (I.style.height = z + "px", I.style.overflowY = "auto", I.scrollTop = M) : (I.style.height = U + "px", I.style.overflowY = "hidden");
|
1406
1406
|
});
|
1407
1407
|
},
|
@@ -1701,7 +1701,7 @@ const ei = /* @__PURE__ */ O(Js, [["render", Xs]]), fi = { class: "chat-input__c
|
|
1701
1701
|
])
|
1702
1702
|
], 64))
|
1703
1703
|
], 544),
|
1704
|
-
|
1704
|
+
Y(re, null, {
|
1705
1705
|
default: Z(() => [
|
1706
1706
|
r.value ? (l(), u("button", {
|
1707
1707
|
key: 0,
|
@@ -1876,10 +1876,10 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
1876
1876
|
};
|
1877
1877
|
function z(S = !0) {
|
1878
1878
|
const $ = T(a);
|
1879
|
-
let
|
1880
|
-
n.value && (
|
1879
|
+
let W = 0;
|
1880
|
+
n.value && (W = n.value.refKeyboard.clientHeight);
|
1881
1881
|
const te = 100, le = $.scrollHeight - $.scrollTop - $.clientHeight;
|
1882
|
-
le < te +
|
1882
|
+
le < te + W ? (i.value = !1, s.value = !0) : (i.value = !0, s.value = !1), A.value ? ($.scrollTop < 300 && (d.value = !1, r.value = !1), le < 300 && (c.value = !1, d.value = !0)) : S && ($.scrollTop < 300 && (r.value = !1), le < 300 && (c.value = !1)), fe(), m.value = !0, k && window.clearTimeout(k), k = window.setTimeout(() => {
|
1883
1883
|
m.value = !1;
|
1884
1884
|
}, 500);
|
1885
1885
|
}
|
@@ -1892,9 +1892,9 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
1892
1892
|
() => C.isLoadingMore,
|
1893
1893
|
(S, $) => {
|
1894
1894
|
$ === !1 && S === !0 && (w.value = C.objects.length, y.value = 0), $ === !0 && S === !1 && ge(() => {
|
1895
|
-
const
|
1896
|
-
if (
|
1897
|
-
const te =
|
1895
|
+
const W = C.objects;
|
1896
|
+
if (W && W.length > w.value) {
|
1897
|
+
const te = W.length - w.value;
|
1898
1898
|
y.value = te, ge(() => {
|
1899
1899
|
const le = document.querySelectorAll(".tracking-message");
|
1900
1900
|
Array.from(le).slice(0, te).forEach((Me) => {
|
@@ -1936,9 +1936,9 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
1936
1936
|
const X = (S) => {
|
1937
1937
|
const $ = T(a);
|
1938
1938
|
(S.offsetX > $.clientWidth || S.offsetY > $.clientHeight) && (A.value = !0);
|
1939
|
-
},
|
1939
|
+
}, q = () => {
|
1940
1940
|
A.value = !1;
|
1941
|
-
},
|
1941
|
+
}, H = Ci(() => z(), 250), F = (S) => ({
|
1942
1942
|
"message.text": F3,
|
1943
1943
|
"message.image": V3,
|
1944
1944
|
"message.file": y3,
|
@@ -1970,7 +1970,7 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
1970
1970
|
ae(
|
1971
1971
|
() => C.scrollToBottom,
|
1972
1972
|
() => {
|
1973
|
-
|
1973
|
+
C.scrollToBottom && oe();
|
1974
1974
|
},
|
1975
1975
|
{ immediate: !0 }
|
1976
1976
|
);
|
@@ -1980,8 +1980,8 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
1980
1980
|
g("clickRepliedMessage", S);
|
1981
1981
|
}, Ce = (S, $) => {
|
1982
1982
|
if (C.enableDoubleClickReply && (S == null || S.preventDefault(), $.type.indexOf("system") == -1 && $.type.indexOf("typing") == -1)) {
|
1983
|
-
const
|
1984
|
-
|
1983
|
+
const W = document.getElementById("chat-input-reply-line-" + D);
|
1984
|
+
W && (W.style.display = "inherit"), x({
|
1985
1985
|
messageId: $.messageId,
|
1986
1986
|
type: $.type,
|
1987
1987
|
text: $.text,
|
@@ -2009,9 +2009,9 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
2009
2009
|
(S, $) => {
|
2010
2010
|
ge(() => {
|
2011
2011
|
if (!p.value && S.length > 0 && J(), $ && S.length > $.length) {
|
2012
|
-
const
|
2012
|
+
const W = S.length - $.length;
|
2013
2013
|
setTimeout(() => {
|
2014
|
-
C.isLoadingMore && (y.value =
|
2014
|
+
C.isLoadingMore && (y.value = W, w.value = $.length, setTimeout(() => {
|
2015
2015
|
const te = document.querySelectorAll(".tracking-message.new-message");
|
2016
2016
|
console.log("📱 Найдено новых сообщений для анимации:", te.length), te.forEach((le, ye) => {
|
2017
2017
|
setTimeout(() => {
|
@@ -2021,18 +2021,11 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
2021
2021
|
te.forEach((le) => {
|
2022
2022
|
le.classList.remove("new-message", "animate");
|
2023
2023
|
}), y.value = 0;
|
2024
|
-
},
|
2024
|
+
}, W * 150 + 1500);
|
2025
2025
|
}, 50));
|
2026
2026
|
}, 10);
|
2027
2027
|
}
|
2028
|
-
|
2029
|
-
const Y = T(a);
|
2030
|
-
d.value && (Y.scrollTop = Y.scrollHeight - 400), d.value || (Y.scrollTop = 400);
|
2031
|
-
}
|
2032
|
-
if (t.value = document.querySelectorAll(".tracking-message"), t.value.forEach((Y) => Ve.observe(Y)), C.scrollToBottom) {
|
2033
|
-
const Y = T(a);
|
2034
|
-
Y && Y.scrollHeight - Y.scrollTop - Y.clientHeight < 100 && (Y.style.scrollBehavior = "auto", Y.scrollTop = Y.scrollHeight);
|
2035
|
-
}
|
2028
|
+
r.value = !0, c.value = !0, z(!1), t.value = document.querySelectorAll(".tracking-message"), t.value.forEach((W) => Ve.observe(W));
|
2036
2029
|
});
|
2037
2030
|
},
|
2038
2031
|
{ immediate: !0 }
|
@@ -2042,16 +2035,16 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
2042
2035
|
var S;
|
2043
2036
|
if (C.scrollTo) {
|
2044
2037
|
const $ = C.scrollTo;
|
2045
|
-
let
|
2046
|
-
|
2038
|
+
let W = document.getElementById($), te = document.getElementById("feed-container-" + D);
|
2039
|
+
W instanceof HTMLElement && te instanceof HTMLElement && (te.scrollTop = W.offsetTop + W.clientHeight / 2 - te.clientHeight / 2), (S = document.getElementById($)) == null || S.children[0].classList.add("focused-message"), setTimeout(() => {
|
2047
2040
|
var le;
|
2048
2041
|
(le = document.getElementById($)) == null || le.children[0].classList.remove("focused-message");
|
2049
2042
|
}, 2e3);
|
2050
2043
|
}
|
2051
2044
|
}
|
2052
2045
|
);
|
2053
|
-
const Q = P(() => !C.objects || C.objects.length === 0 ? [] : C.objects.map((S, $,
|
2054
|
-
const te = $ > 0 &&
|
2046
|
+
const Q = P(() => !C.objects || C.objects.length === 0 ? [] : C.objects.map((S, $, W) => {
|
2047
|
+
const te = $ > 0 && W[$ - 1].position === S.position && W[$ - 1].header === S.header, le = $ > 0 && !["message.system", "message.typing"].includes(W[$ - 1].type), ye = !te || !le, Me = C.isLoadingMore && y.value > 0 && $ < y.value;
|
2055
2048
|
return {
|
2056
2049
|
...S,
|
2057
2050
|
isFirstInSeries: ye,
|
@@ -2062,24 +2055,24 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
2062
2055
|
const S = T(a);
|
2063
2056
|
if (!S || !t.value) return;
|
2064
2057
|
const $ = S.getBoundingClientRect().top;
|
2065
|
-
let
|
2058
|
+
let W = null;
|
2066
2059
|
for (const te of t.value) {
|
2067
2060
|
const le = te.getBoundingClientRect();
|
2068
2061
|
if (le.top <= $ + 1 && le.bottom > $) {
|
2069
|
-
|
2062
|
+
W = te;
|
2070
2063
|
break;
|
2071
2064
|
}
|
2072
2065
|
}
|
2073
|
-
if (!
|
2066
|
+
if (!W) {
|
2074
2067
|
for (const te of t.value)
|
2075
2068
|
if (te.getBoundingClientRect().top >= $) {
|
2076
|
-
|
2069
|
+
W = te;
|
2077
2070
|
break;
|
2078
2071
|
}
|
2079
2072
|
}
|
2080
|
-
if (
|
2073
|
+
if (W)
|
2081
2074
|
try {
|
2082
|
-
const te = JSON.parse(
|
2075
|
+
const te = JSON.parse(W.id);
|
2083
2076
|
if (!te || !te.timestamp) return;
|
2084
2077
|
const le = new Date(Number(te.timestamp) * 1e3);
|
2085
2078
|
_.value = le.toLocaleDateString();
|
@@ -2097,11 +2090,11 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
2097
2090
|
ref_key: "refFeed",
|
2098
2091
|
ref: a,
|
2099
2092
|
class: "message-feed",
|
2100
|
-
onScroll: $[0] || ($[0] = (
|
2093
|
+
onScroll: $[0] || ($[0] = (W) => T(H)()),
|
2101
2094
|
onMousedown: X,
|
2102
|
-
onMouseup:
|
2095
|
+
onMouseup: q
|
2103
2096
|
}, [
|
2104
|
-
|
2097
|
+
Y(re, null, {
|
2105
2098
|
default: Z(() => [
|
2106
2099
|
m.value ? (l(), B(T(SA), {
|
2107
2100
|
key: 0,
|
@@ -2111,18 +2104,18 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
2111
2104
|
]),
|
2112
2105
|
_: 1
|
2113
2106
|
}),
|
2114
|
-
(l(!0), u(K, null, ce(Q.value, (
|
2115
|
-
id: JSON.stringify(
|
2116
|
-
key: `${
|
2117
|
-
class: j(["tracking-message", { "new-message":
|
2118
|
-
onDblclick: (le) => Ce(le,
|
2107
|
+
(l(!0), u(K, null, ce(Q.value, (W, te) => (l(), u("div", {
|
2108
|
+
id: JSON.stringify(W),
|
2109
|
+
key: `${W.messageId ?? "mid"}-${te}`,
|
2110
|
+
class: j(["tracking-message", { "new-message": W.isNewMessage }]),
|
2111
|
+
onDblclick: (le) => Ce(le, W)
|
2119
2112
|
}, [
|
2120
|
-
(l(), B(ze(F(
|
2121
|
-
key: `${
|
2113
|
+
(l(), B(ze(F(W.type)), {
|
2114
|
+
key: `${W.messageId ?? "mid"}-${te}`,
|
2122
2115
|
class: "message-feed__message",
|
2123
|
-
message:
|
2116
|
+
message: W,
|
2124
2117
|
"apply-style": e.applyStyle,
|
2125
|
-
"is-first-in-series":
|
2118
|
+
"is-first-in-series": W.isFirstInSeries,
|
2126
2119
|
"subtext-tooltip-data": e.subtextTooltipData,
|
2127
2120
|
onAction: be,
|
2128
2121
|
onReply: pe
|
@@ -2135,7 +2128,7 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
2135
2128
|
avatar: e.typing.avatar
|
2136
2129
|
}
|
2137
2130
|
}, null, 8, ["message"])) : b("", !0),
|
2138
|
-
|
2131
|
+
Y(re, null, {
|
2139
2132
|
default: Z(() => [
|
2140
2133
|
v.value ? (l(), B(xi, {
|
2141
2134
|
key: 0,
|
@@ -2149,7 +2142,7 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
2149
2142
|
]),
|
2150
2143
|
_: 1
|
2151
2144
|
}),
|
2152
|
-
|
2145
|
+
Y(re, null, {
|
2153
2146
|
default: Z(() => [
|
2154
2147
|
i.value ? (l(), u("button", {
|
2155
2148
|
key: 0,
|
@@ -2182,7 +2175,7 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
2182
2175
|
key: 2,
|
2183
2176
|
to: "#chat-input-reply-line-" + T(D)
|
2184
2177
|
}, [
|
2185
|
-
|
2178
|
+
Y(T(Of), {
|
2186
2179
|
class: "chat-input-reply",
|
2187
2180
|
message: T(I)().reply,
|
2188
2181
|
onReset: Fe
|
@@ -2190,7 +2183,7 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
2190
2183
|
], 8, ["to"])) : b("", !0)
|
2191
2184
|
], 64));
|
2192
2185
|
}
|
2193
|
-
}), C6 = /* @__PURE__ */ O(Li, [["__scopeId", "data-v-
|
2186
|
+
}), C6 = /* @__PURE__ */ O(Li, [["__scopeId", "data-v-583ab249"]]), Oi = {
|
2194
2187
|
key: 0,
|
2195
2188
|
class: "profile__container"
|
2196
2189
|
}, zi = {
|
@@ -2381,7 +2374,7 @@ const Ii = ["onClick"], ki = /* @__PURE__ */ G({
|
|
2381
2374
|
])
|
2382
2375
|
]),
|
2383
2376
|
(l(), B(Te, { to: "body" }, [
|
2384
|
-
|
2377
|
+
Y(re, { name: "modal-fade" }, {
|
2385
2378
|
default: Z(() => [
|
2386
2379
|
A.value ? (l(), B(s1, {
|
2387
2380
|
key: 0,
|
@@ -2536,7 +2529,7 @@ const po = /* @__PURE__ */ O(Ao, [["render", mo]]), _o = { key: 0 }, ho = { key:
|
|
2536
2529
|
onClick: y,
|
2537
2530
|
onButtonClick: w
|
2538
2531
|
}, [
|
2539
|
-
|
2532
|
+
Y(po)
|
2540
2533
|
], 42, vo),
|
2541
2534
|
o("input", {
|
2542
2535
|
ref_key: "fileInput",
|
@@ -2689,7 +2682,7 @@ const po = /* @__PURE__ */ O(Ao, [["render", mo]]), _o = { key: 0 }, ho = { key:
|
|
2689
2682
|
ue(M.$slots, "default")
|
2690
2683
|
]),
|
2691
2684
|
(l(), B(Te, { to: "body" }, [
|
2692
|
-
|
2685
|
+
Y(T(yf), {
|
2693
2686
|
id: "context-menu-" + T(r) + T(n),
|
2694
2687
|
actions: e.actions,
|
2695
2688
|
"data-theme": T(i)().theme ? T(i)().theme : "light",
|
@@ -2784,7 +2777,7 @@ const Do = /* @__PURE__ */ O(Io, [["render", xo]]), To = ["data-theme"], No = /*
|
|
2784
2777
|
ue(w.$slots, "default", {}, void 0, !0)
|
2785
2778
|
], 544),
|
2786
2779
|
(l(), B(Te, { to: "body" }, [
|
2787
|
-
|
2780
|
+
Y(re, null, {
|
2788
2781
|
default: Z(() => [
|
2789
2782
|
s.value ? (l(), u("span", {
|
2790
2783
|
key: 0,
|
@@ -2952,7 +2945,7 @@ const Do = /* @__PURE__ */ O(Io, [["render", xo]]), To = ["data-theme"], No = /*
|
|
2952
2945
|
], 2)
|
2953
2946
|
]),
|
2954
2947
|
o("div", Bo, [
|
2955
|
-
|
2948
|
+
Y(tt, {
|
2956
2949
|
actions: n.value,
|
2957
2950
|
mode: "click",
|
2958
2951
|
"menu-side": "top-right",
|
@@ -2961,7 +2954,7 @@ const Do = /* @__PURE__ */ O(Io, [["render", xo]]), To = ["data-theme"], No = /*
|
|
2961
2954
|
}, {
|
2962
2955
|
default: Z(() => [
|
2963
2956
|
o("button", $o, [
|
2964
|
-
|
2957
|
+
Y(Do)
|
2965
2958
|
])
|
2966
2959
|
]),
|
2967
2960
|
_: 1
|
@@ -3011,7 +3004,7 @@ const Yo = /* @__PURE__ */ O(Qo, [["render", Po]]), qo = { class: "chat-panel" }
|
|
3011
3004
|
onClick: a[0] || (a[0] = (n) => t.$emit("close-panel"))
|
3012
3005
|
}, [
|
3013
3006
|
o("span", Wo, [
|
3014
|
-
|
3007
|
+
Y(Yo)
|
3015
3008
|
])
|
3016
3009
|
]),
|
3017
3010
|
e.titleEnabled ? (l(), u("div", Zo, [
|
@@ -3064,7 +3057,7 @@ const Yo = /* @__PURE__ */ O(Qo, [["render", Po]]), qo = { class: "chat-panel" }
|
|
3064
3057
|
}, null, 8, Xo)) : b("", !0),
|
3065
3058
|
o("span", el, E(r.value.title), 1)
|
3066
3059
|
])) : (l(), u("span", fl, E(T(ve)("component.ChannelSelector.Placeholder")), 1)),
|
3067
|
-
|
3060
|
+
Y(tt, {
|
3068
3061
|
actions: e.channels,
|
3069
3062
|
mode: e.mode,
|
3070
3063
|
"menu-side": "top",
|
@@ -3223,11 +3216,11 @@ const j6 = (e, f = null) => {
|
|
3223
3216
|
height: "48",
|
3224
3217
|
width: "48"
|
3225
3218
|
}, null, 8, al)) : (l(), u("div", sl, [
|
3226
|
-
|
3219
|
+
Y(Ln)
|
3227
3220
|
]))
|
3228
3221
|
]),
|
3229
3222
|
o("div", il, [
|
3230
|
-
|
3223
|
+
Y(ke, {
|
3231
3224
|
text: e.chat.name,
|
3232
3225
|
position: "bottom"
|
3233
3226
|
}, {
|
@@ -3236,7 +3229,7 @@ const j6 = (e, f = null) => {
|
|
3236
3229
|
]),
|
3237
3230
|
_: 1
|
3238
3231
|
}, 8, ["text"]),
|
3239
|
-
|
3232
|
+
Y(ke, {
|
3240
3233
|
text: e.chat.lastMessage,
|
3241
3234
|
position: "bottom"
|
3242
3235
|
}, {
|
@@ -3365,7 +3358,7 @@ const Dl = /* @__PURE__ */ O(Il, [["render", xl]]), Tl = { class: "chat-filter__
|
|
3365
3358
|
};
|
3366
3359
|
return (i, s) => (l(), u("div", Tl, [
|
3367
3360
|
o("div", Nl, [
|
3368
|
-
|
3361
|
+
Y(Dl)
|
3369
3362
|
]),
|
3370
3363
|
o("input", {
|
3371
3364
|
ref_key: "refInput",
|
@@ -3590,7 +3583,7 @@ const Fl = /* @__PURE__ */ O($l, [["render", Ql]]), Pl = { class: "contact-info"
|
|
3590
3583
|
class: "contact-info__button",
|
3591
3584
|
onClick: p[2] || (p[2] = (M) => w.$emit("open-crm"))
|
3592
3585
|
}, [
|
3593
|
-
|
3586
|
+
Y(ei),
|
3594
3587
|
p[4] || (p[4] = Pe(" Открыть контакт в CRM ", -1))
|
3595
3588
|
])
|
3596
3589
|
])
|
@@ -3643,31 +3636,31 @@ const Fl = /* @__PURE__ */ O($l, [["render", Ql]]), Pl = { class: "contact-info"
|
|
3643
3636
|
}, D = () => {
|
3644
3637
|
y.value && (_.value == "grid" ? I() : m.value == "grid" && M());
|
3645
3638
|
}, x = () => {
|
3646
|
-
const
|
3647
|
-
|
3639
|
+
const q = document.getElementById("template-selector-container-" + a);
|
3640
|
+
q.style.setProperty("--chotto-template-first-col-display", "grid"), q.style.setProperty("--chotto-template-second-col-display", "none"), g();
|
3648
3641
|
}, I = () => {
|
3649
|
-
const
|
3650
|
-
|
3642
|
+
const q = document.getElementById("template-selector-container-" + a);
|
3643
|
+
q.style.setProperty("--chotto-template-third-col-display", "grid"), q.style.setProperty("--chotto-template-second-col-display", "none"), g();
|
3651
3644
|
}, M = () => {
|
3652
|
-
const
|
3653
|
-
|
3645
|
+
const q = document.getElementById("template-selector-container-" + a);
|
3646
|
+
q.style.setProperty("--chotto-template-second-col-display", "grid"), q.style.setProperty("--chotto-template-first-col-display", "none"), q.style.setProperty("--chotto-template-third-col-display", "none"), g();
|
3654
3647
|
}, g = () => {
|
3655
|
-
const
|
3656
|
-
m.value =
|
3657
|
-
}, v = (
|
3658
|
-
t.templates.forEach((
|
3648
|
+
const q = document.getElementById("template-selector-container-" + a), H = window.getComputedStyle(q);
|
3649
|
+
m.value = H.getPropertyValue("--chotto-template-first-col-display"), _.value = H.getPropertyValue("--chotto-template-second-col-display"), k.value = H.getPropertyValue("--chotto-template-third-col-display");
|
3650
|
+
}, v = (q) => {
|
3651
|
+
t.templates.forEach((H) => H.isSelected = !1), q.isSelected = !0, c.value = q, I();
|
3659
3652
|
}, N = () => {
|
3660
|
-
M(), t.templates.forEach((
|
3661
|
-
}, U = P(() => r.value ? t.templates.filter((
|
3662
|
-
const
|
3663
|
-
return U.value.filter((
|
3664
|
-
}), X = new ResizeObserver((
|
3665
|
-
const
|
3666
|
-
|
3653
|
+
M(), t.templates.forEach((q) => q.isSelected = !1);
|
3654
|
+
}, U = P(() => r.value ? t.templates.filter((q) => q.groupId === r.value.groupId) : t.templates), z = P(() => {
|
3655
|
+
const q = d.value.trim().toLowerCase();
|
3656
|
+
return U.value.filter((H) => H.title.toLowerCase().includes(q) || H.template.toLowerCase().includes(q));
|
3657
|
+
}), X = new ResizeObserver((q) => {
|
3658
|
+
const H = q[0].target.clientWidth;
|
3659
|
+
H > 700 && (y.value = !1), H < 700 && (y.value = !0);
|
3667
3660
|
});
|
3668
3661
|
return me(() => {
|
3669
3662
|
g(), T(A) && X.observe(T(A));
|
3670
|
-
}), (
|
3663
|
+
}), (q, H) => (l(), u("div", o0, [
|
3671
3664
|
o("div", {
|
3672
3665
|
id: "template-selector-container-" + T(a),
|
3673
3666
|
ref_key: "refContainer",
|
@@ -3695,7 +3688,7 @@ const Fl = /* @__PURE__ */ O($l, [["render", Ql]]), Pl = { class: "contact-info"
|
|
3695
3688
|
o("button", A0, [
|
3696
3689
|
o("span", {
|
3697
3690
|
class: "pi pi-times",
|
3698
|
-
onClick:
|
3691
|
+
onClick: H[0] || (H[0] = (F) => q.$emit("closeTemplateWindow"))
|
3699
3692
|
})
|
3700
3693
|
])
|
3701
3694
|
]),
|
@@ -3719,7 +3712,7 @@ const Fl = /* @__PURE__ */ O($l, [["render", Ql]]), Pl = { class: "contact-info"
|
|
3719
3712
|
}, null, 8, h0)) : b("", !0),
|
3720
3713
|
_e(o("input", {
|
3721
3714
|
id: oe,
|
3722
|
-
"onUpdate:modelValue":
|
3715
|
+
"onUpdate:modelValue": H[1] || (H[1] = (J) => r.value = J),
|
3723
3716
|
value: F,
|
3724
3717
|
class: "template-selector__input-group",
|
3725
3718
|
type: "radio"
|
@@ -3737,7 +3730,7 @@ const Fl = /* @__PURE__ */ O($l, [["render", Ql]]), Pl = { class: "contact-info"
|
|
3737
3730
|
}, [
|
3738
3731
|
o("div", y0, [
|
3739
3732
|
_e(o("input", {
|
3740
|
-
"onUpdate:modelValue":
|
3733
|
+
"onUpdate:modelValue": H[2] || (H[2] = (F) => d.value = F),
|
3741
3734
|
class: "template-selector__searching-input",
|
3742
3735
|
type: "text",
|
3743
3736
|
placeholder: "Поиск шаблона"
|
@@ -3768,7 +3761,7 @@ const Fl = /* @__PURE__ */ O($l, [["render", Ql]]), Pl = { class: "contact-info"
|
|
3768
3761
|
c.value ? (l(), u("div", E0, [
|
3769
3762
|
o("div", j0, [
|
3770
3763
|
o("p", S0, E(c.value.template), 1),
|
3771
|
-
|
3764
|
+
H[3] || (H[3] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1))
|
3772
3765
|
])
|
3773
3766
|
])) : (l(), u("p", V0, " Предпросмотр шаблона "))
|
3774
3767
|
]),
|
@@ -3840,7 +3833,7 @@ const $0 = /* @__PURE__ */ O(z0, [["render", B0]]), R0 = { class: "" }, Q0 = {
|
|
3840
3833
|
return me(() => {
|
3841
3834
|
i.value.style.display = "none";
|
3842
3835
|
}), (A, m) => (l(), u(K, null, [
|
3843
|
-
|
3836
|
+
Y(ke, {
|
3844
3837
|
text: "Шаблоны сообщений",
|
3845
3838
|
position: "left"
|
3846
3839
|
}, {
|
@@ -3855,13 +3848,13 @@ const $0 = /* @__PURE__ */ O(z0, [["render", B0]]), R0 = { class: "" }, Q0 = {
|
|
3855
3848
|
onMouseout: c
|
3856
3849
|
}, [
|
3857
3850
|
o("span", R0, [
|
3858
|
-
|
3851
|
+
Y($0)
|
3859
3852
|
])
|
3860
3853
|
], 34))
|
3861
3854
|
]),
|
3862
3855
|
_: 1
|
3863
3856
|
}),
|
3864
|
-
|
3857
|
+
Y(re, null, {
|
3865
3858
|
default: Z(() => [
|
3866
3859
|
_e(o("div", {
|
3867
3860
|
ref_key: "template",
|
@@ -3869,7 +3862,7 @@ const $0 = /* @__PURE__ */ O(z0, [["render", B0]]), R0 = { class: "" }, Q0 = {
|
|
3869
3862
|
onMouseover: r,
|
3870
3863
|
onMouseout: c
|
3871
3864
|
}, [
|
3872
|
-
|
3865
|
+
Y(O0, {
|
3873
3866
|
templates: e.templates,
|
3874
3867
|
"group-templates": e.groupTemplates,
|
3875
3868
|
"elevated-window": e.elevatedWindow,
|
@@ -4189,9 +4182,9 @@ const $0 = /* @__PURE__ */ O(z0, [["render", B0]]), R0 = { class: "" }, Q0 = {
|
|
4189
4182
|
}, C = P(() => d.value ? t.wabaTemplates.filter((Q) => Q.groupId === d.value.groupId) : t.wabaTemplates), D = P(() => {
|
4190
4183
|
const Q = _.value.trim().toLowerCase();
|
4191
4184
|
return C.value.filter((fe) => fe.title.toLowerCase().includes(Q) || fe.template.toLowerCase().includes(Q));
|
4192
|
-
}), x = wn({}), I = h(null), M = h(), g = h(""), v = h(""), N = h(""), U = h(!1), z = P(() => !!(U.value && (N.value == "grid" && v.value == "none" || v.value == "grid" && g.value == "none"))), X = P(() => !!(U.value && (g.value == "grid" && v.value == "none" || v.value == "grid" && N.value == "none"))),
|
4185
|
+
}), x = wn({}), I = h(null), M = h(), g = h(""), v = h(""), N = h(""), U = h(!1), z = P(() => !!(U.value && (N.value == "grid" && v.value == "none" || v.value == "grid" && g.value == "none"))), X = P(() => !!(U.value && (g.value == "grid" && v.value == "none" || v.value == "grid" && N.value == "none"))), q = () => {
|
4193
4186
|
U.value && (v.value == "grid" ? F() : N.value == "grid" && J());
|
4194
|
-
},
|
4187
|
+
}, H = () => {
|
4195
4188
|
U.value && (v.value == "grid" ? oe() : g.value == "grid" && J());
|
4196
4189
|
}, F = () => {
|
4197
4190
|
const Q = document.getElementById("waba-template-selector-container-" + a);
|
@@ -4208,8 +4201,8 @@ const $0 = /* @__PURE__ */ O(z0, [["render", B0]]), R0 = { class: "" }, Q0 = {
|
|
4208
4201
|
}, be = (Q) => {
|
4209
4202
|
x[Q[1]] = Q[0];
|
4210
4203
|
}, pe = P(() => {
|
4211
|
-
var
|
4212
|
-
const Q = (
|
4204
|
+
var W;
|
4205
|
+
const Q = (W = A.value) == null ? void 0 : W.template;
|
4213
4206
|
if (!Q) return [];
|
4214
4207
|
const fe = [...Q.matchAll(/{{\d+}}/g)], S = [];
|
4215
4208
|
let $ = 0;
|
@@ -4259,13 +4252,13 @@ const $0 = /* @__PURE__ */ O(z0, [["render", B0]]), R0 = { class: "" }, Q0 = {
|
|
4259
4252
|
z.value ? (l(), u("button", ru, [
|
4260
4253
|
o("span", {
|
4261
4254
|
class: "pi pi-arrow-left",
|
4262
|
-
onClick:
|
4255
|
+
onClick: q
|
4263
4256
|
})
|
4264
4257
|
])) : b("", !0),
|
4265
4258
|
X.value ? (l(), u("button", du, [
|
4266
4259
|
o("span", {
|
4267
4260
|
class: "pi pi-arrow-right",
|
4268
|
-
onClick:
|
4261
|
+
onClick: H
|
4269
4262
|
})
|
4270
4263
|
])) : b("", !0)
|
4271
4264
|
]),
|
@@ -4293,7 +4286,7 @@ const $0 = /* @__PURE__ */ O(z0, [["render", B0]]), R0 = { class: "" }, Q0 = {
|
|
4293
4286
|
}, null, 8, _u)) : b("", !0),
|
4294
4287
|
_e(o("input", {
|
4295
4288
|
id: $,
|
4296
|
-
"onUpdate:modelValue": fe[0] || (fe[0] = (
|
4289
|
+
"onUpdate:modelValue": fe[0] || (fe[0] = (W) => d.value = W),
|
4297
4290
|
value: S,
|
4298
4291
|
class: "template-selector__input-group",
|
4299
4292
|
type: "radio"
|
@@ -4321,7 +4314,7 @@ const $0 = /* @__PURE__ */ O(z0, [["render", B0]]), R0 = { class: "" }, Q0 = {
|
|
4321
4314
|
(l(!0), u(K, null, ce(D.value, (S, $) => (l(), u("li", {
|
4322
4315
|
key: $,
|
4323
4316
|
class: j(["template-selector__item-template", { "template-selector__item-selected": S.isSelected }]),
|
4324
|
-
onClick: (
|
4317
|
+
onClick: (W) => w(S)
|
4325
4318
|
}, [
|
4326
4319
|
o("div", Cu, [
|
4327
4320
|
o("p", Iu, E(S.title), 1),
|
@@ -4352,7 +4345,7 @@ const $0 = /* @__PURE__ */ O(z0, [["render", B0]]), R0 = { class: "" }, Q0 = {
|
|
4352
4345
|
index: S.index,
|
4353
4346
|
value: x[S.index] || "Заполнить",
|
4354
4347
|
"is-filled": !!x[S.index],
|
4355
|
-
onClick: (
|
4348
|
+
onClick: (W) => I.value = S.index,
|
4356
4349
|
onEdit: be
|
4357
4350
|
}, null, 8, ["index", "value", "is-filled", "onClick"])) : b("", !0)
|
4358
4351
|
], 64))), 128))
|
@@ -4370,7 +4363,7 @@ const $0 = /* @__PURE__ */ O(z0, [["render", B0]]), R0 = { class: "" }, Q0 = {
|
|
4370
4363
|
class: "template-selector__semitransparent-overlay",
|
4371
4364
|
onClick: y
|
4372
4365
|
}),
|
4373
|
-
|
4366
|
+
Y(iu, {
|
4374
4367
|
buttons: A.value.buttons,
|
4375
4368
|
onSelectAllVariants: y
|
4376
4369
|
}, null, 8, ["buttons"])
|
@@ -4454,7 +4447,7 @@ const $0 = /* @__PURE__ */ O(z0, [["render", B0]]), R0 = { class: "" }, Q0 = {
|
|
4454
4447
|
onMouseover: d,
|
4455
4448
|
onMouseout: A
|
4456
4449
|
}, [
|
4457
|
-
|
4450
|
+
Y(zu, {
|
4458
4451
|
"waba-templates": e.wabaTemplates,
|
4459
4452
|
"group-templates": e.groupTemplates,
|
4460
4453
|
"elevated-window": e.elevatedWindow,
|
@@ -16950,8 +16943,8 @@ function An(e) {
|
|
16950
16943
|
position: r
|
16951
16944
|
}, d && Bc);
|
16952
16945
|
if (c) {
|
16953
|
-
var
|
16954
|
-
return Object.assign({}, X, (
|
16946
|
+
var q;
|
16947
|
+
return Object.assign({}, X, (q = {}, q[I] = D ? "0" : "", q[x] = C ? "0" : "", q.transform = (M.devicePixelRatio || 1) <= 1 ? "translate(" + y + "px, " + p + "px)" : "translate3d(" + y + "px, " + p + "px, 0)", q));
|
16955
16948
|
}
|
16956
16949
|
return Object.assign({}, X, (f = {}, f[I] = D ? p + "px" : "", f[x] = C ? y + "px" : "", f.transform = "", f));
|
16957
16950
|
}
|
@@ -17156,8 +17149,8 @@ function a1(e, f) {
|
|
17156
17149
|
if (A === Qf && U) {
|
17157
17150
|
var z = U[n];
|
17158
17151
|
Object.keys(N).forEach(function(X) {
|
17159
|
-
var
|
17160
|
-
N[X] += z[
|
17152
|
+
var q = [$e, Be].indexOf(X) >= 0 ? 1 : -1, H = [xe, Be].indexOf(X) >= 0 ? "y" : "x";
|
17153
|
+
N[X] += z[H] * q;
|
17161
17154
|
});
|
17162
17155
|
}
|
17163
17156
|
return N;
|
@@ -17201,16 +17194,16 @@ function e2(e) {
|
|
17201
17194
|
allowedAutoPlacements: w
|
17202
17195
|
}) : Q);
|
17203
17196
|
}, []), M = f.rects.reference, g = f.rects.popper, v = /* @__PURE__ */ new Map(), N = !0, U = I[0], z = 0; z < I.length; z++) {
|
17204
|
-
var X = I[z],
|
17197
|
+
var X = I[z], q = Ge(X), H = jf(X) === Df, F = [xe, Be].indexOf(q) >= 0, oe = F ? "width" : "height", J = a1(f, {
|
17205
17198
|
placement: X,
|
17206
17199
|
boundary: A,
|
17207
17200
|
rootBoundary: m,
|
17208
17201
|
altBoundary: _,
|
17209
17202
|
padding: d
|
17210
|
-
}), se = F ?
|
17203
|
+
}), se = F ? H ? $e : De : H ? Be : xe;
|
17211
17204
|
M[oe] > g[oe] && (se = y1(se));
|
17212
17205
|
var be = y1(se), pe = [];
|
17213
|
-
if (i && pe.push(J[
|
17206
|
+
if (i && pe.push(J[q] <= 0), r && pe.push(J[se] <= 0, J[be] <= 0), pe.every(function(Ve) {
|
17214
17207
|
return Ve;
|
17215
17208
|
})) {
|
17216
17209
|
U = X, N = !1;
|
@@ -17223,8 +17216,8 @@ function e2(e) {
|
|
17223
17216
|
var fe = I.find(function(S) {
|
17224
17217
|
var $ = v.get(S);
|
17225
17218
|
if ($)
|
17226
|
-
return $.slice(0, Q).every(function(
|
17227
|
-
return
|
17219
|
+
return $.slice(0, Q).every(function(W) {
|
17220
|
+
return W;
|
17228
17221
|
});
|
17229
17222
|
});
|
17230
17223
|
if (fe)
|
@@ -17343,23 +17336,23 @@ function c2(e) {
|
|
17343
17336
|
} : Object.assign({
|
17344
17337
|
mainAxis: 0,
|
17345
17338
|
altAxis: 0
|
17346
|
-
}, U), X = f.modifiersData.offset ? f.modifiersData.offset[f.placement] : null,
|
17339
|
+
}, U), X = f.modifiersData.offset ? f.modifiersData.offset[f.placement] : null, q = {
|
17347
17340
|
x: 0,
|
17348
17341
|
y: 0
|
17349
17342
|
};
|
17350
17343
|
if (g) {
|
17351
17344
|
if (i) {
|
17352
|
-
var
|
17345
|
+
var H, F = I === "y" ? xe : De, oe = I === "y" ? Be : $e, J = I === "y" ? "height" : "width", se = g[I], be = se + p[F], pe = se - p[oe], Ce = k ? -N[J] / 2 : 0, Fe = D === Df ? v[J] : N[J], je = D === Df ? -N[J] : -v[J], Se = f.elements.arrow, Ve = k && Se ? Qt(Se) : {
|
17353
17346
|
width: 0,
|
17354
17347
|
height: 0
|
17355
|
-
}, Q = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : Hn(), fe = Q[F], S = Q[oe], $ = Jf(0, v[J], Ve[J]),
|
17356
|
-
g[I] = d1,
|
17348
|
+
}, Q = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : Hn(), fe = Q[F], S = Q[oe], $ = Jf(0, v[J], Ve[J]), W = x ? v[J] / 2 - Ce - $ - fe - z.mainAxis : Fe - $ - fe - z.mainAxis, te = x ? -v[J] / 2 + Ce + $ + S + z.mainAxis : je + $ + S + z.mainAxis, le = f.elements.arrow && o1(f.elements.arrow), ye = le ? I === "y" ? le.clientTop || 0 : le.clientLeft || 0 : 0, Me = (H = X == null ? void 0 : X[I]) != null ? H : 0, We = se + W - Me - ye, Mf = se + te - Me, d1 = Jf(k ? J1(be, We) : be, se, k ? vf(pe, Mf) : pe);
|
17349
|
+
g[I] = d1, q[I] = d1 - se;
|
17357
17350
|
}
|
17358
17351
|
if (r) {
|
17359
17352
|
var A1, zf = I === "x" ? xe : De, st = I === "x" ? Be : $e, ff = g[M], wf = M === "y" ? "height" : "width", sf = ff + p[zf], Uf = ff - p[st], Cf = [xe, De].indexOf(C) !== -1, Bf = (A1 = X == null ? void 0 : X[M]) != null ? A1 : 0, pf = Cf ? sf : ff - v[wf] - N[wf] - Bf + z.altAxis, Ze = Cf ? ff + v[wf] + N[wf] - Bf - z.altAxis : Uf, V = k && Cf ? Vc(pf, ff, Ze) : Jf(k ? pf : sf, ff, k ? Ze : Uf);
|
17360
|
-
g[M] = V,
|
17353
|
+
g[M] = V, q[M] = V - ff;
|
17361
17354
|
}
|
17362
|
-
f.modifiersData[a] =
|
17355
|
+
f.modifiersData[a] = q;
|
17363
17356
|
}
|
17364
17357
|
}
|
17365
17358
|
var r2 = {
|
@@ -18007,9 +18000,9 @@ function gr(e, f, t, a, n, i) {
|
|
18007
18000
|
ref: "picker",
|
18008
18001
|
class: j(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
|
18009
18002
|
}, [
|
18010
|
-
|
18011
|
-
|
18012
|
-
|
18003
|
+
Y(s),
|
18004
|
+
Y(r, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
|
18005
|
+
Y(c)
|
18013
18006
|
], 2)
|
18014
18007
|
], 2)
|
18015
18008
|
])
|
@@ -18017,9 +18010,9 @@ function gr(e, f, t, a, n, i) {
|
|
18017
18010
|
key: 1,
|
18018
18011
|
class: j(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
|
18019
18012
|
}, [
|
18020
|
-
|
18021
|
-
|
18022
|
-
|
18013
|
+
Y(s),
|
18014
|
+
Y(r, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
|
18015
|
+
Y(c)
|
18023
18016
|
], 2));
|
18024
18017
|
}
|
18025
18018
|
var mr = /* @__PURE__ */ l1(lr, [["render", gr]]);
|
@@ -26837,17 +26830,17 @@ const Mr = /* @__PURE__ */ O(vr, [["render", yr]]), wr = {
|
|
26837
26830
|
onClick: m
|
26838
26831
|
}, [
|
26839
26832
|
o("span", kr, [
|
26840
|
-
|
26833
|
+
Y(Mr)
|
26841
26834
|
])
|
26842
26835
|
], 2)),
|
26843
|
-
|
26836
|
+
Y(re, null, {
|
26844
26837
|
default: Z(() => [
|
26845
26838
|
_e(o("div", {
|
26846
26839
|
ref_key: "emoji",
|
26847
26840
|
ref: t,
|
26848
26841
|
class: "emoji"
|
26849
26842
|
}, [
|
26850
|
-
|
26843
|
+
Y(T(hr), {
|
26851
26844
|
native: !1,
|
26852
26845
|
theme: a.value,
|
26853
26846
|
"picker-type": "",
|
@@ -27081,7 +27074,7 @@ const zr = { class: "feed-search__container" }, Ur = { style: { "line-height": "
|
|
27081
27074
|
key: m.messageId,
|
27082
27075
|
onClick: (_) => r(m)
|
27083
27076
|
}, [
|
27084
|
-
|
27077
|
+
Y(Jr, {
|
27085
27078
|
object: m,
|
27086
27079
|
selected: m == i.value
|
27087
27080
|
}, null, 8, ["object", "selected"])
|
@@ -27290,7 +27283,7 @@ const od = ["data-theme"], ld = {
|
|
27290
27283
|
}, Ht = /* @__PURE__ */ O(rd, [["__scopeId", "data-v-4a9f3ae8"]]), Q6 = async (e, f, t) => {
|
27291
27284
|
const a = await u1({
|
27292
27285
|
//в component должен быть встроен emit change(key: value)
|
27293
|
-
component: import("./SelectUser2-
|
27286
|
+
component: import("./SelectUser2-CDxN2-8x.js"),
|
27294
27287
|
attrs: {
|
27295
27288
|
title: e,
|
27296
27289
|
users: f
|
@@ -27362,7 +27355,7 @@ const od = ["data-theme"], ld = {
|
|
27362
27355
|
}
|
27363
27356
|
}, fa = /* @__PURE__ */ O(gd, [["__scopeId", "data-v-fcb0f158"]]), Y6 = async (e, f, t, a, n, i) => await u1({
|
27364
27357
|
//в component должен быть встроен emit change(key: value)
|
27365
|
-
component: import("./CreateDialog-
|
27358
|
+
component: import("./CreateDialog-i48L2Hv1.js"),
|
27366
27359
|
attrs: {
|
27367
27360
|
title: e,
|
27368
27361
|
name: f,
|
@@ -27376,7 +27369,7 @@ const od = ["data-theme"], ld = {
|
|
27376
27369
|
}
|
27377
27370
|
}), md = async (e) => await u1({
|
27378
27371
|
//в component должен быть встроен emit change(key: value)
|
27379
|
-
component: import("./ModalVideoRecorder-
|
27372
|
+
component: import("./ModalVideoRecorder-HBEg6FMi.js"),
|
27380
27373
|
attrs: {},
|
27381
27374
|
Modal: fa,
|
27382
27375
|
modalAttrs: {
|
@@ -27619,9 +27612,9 @@ const od = ["data-theme"], ld = {
|
|
27619
27612
|
}
|
27620
27613
|
), X = P(
|
27621
27614
|
() => s.value ? Ve(s.value) : []
|
27622
|
-
),
|
27615
|
+
), q = P(
|
27623
27616
|
() => d.value && A.value && X.value.length > 0 && s.value !== "phone" && se(s.value)
|
27624
|
-
),
|
27617
|
+
), H = {
|
27625
27618
|
phone: "Позвонить",
|
27626
27619
|
whatsapp: "Выберите контакт и канал для отправки сообщения",
|
27627
27620
|
telegram: "Выберите контакт и канал для отправки сообщения",
|
@@ -27629,7 +27622,7 @@ const od = ["data-theme"], ld = {
|
|
27629
27622
|
sms: "Выберите контакт и канал для отправки сообщения"
|
27630
27623
|
}, F = (V) => {
|
27631
27624
|
var R;
|
27632
|
-
return ((R = t.channelTooltips) == null ? void 0 : R[V]) ??
|
27625
|
+
return ((R = t.channelTooltips) == null ? void 0 : R[V]) ?? H[V] ?? "";
|
27633
27626
|
}, oe = (V) => {
|
27634
27627
|
if (!V) return null;
|
27635
27628
|
const [R] = V.split(".");
|
@@ -27682,7 +27675,7 @@ const od = ["data-theme"], ld = {
|
|
27682
27675
|
y.value === V && s.value === V ? $() : (s.value = V, c.value = !0, d.value = !1, _.value = null, k.value = !1, sf());
|
27683
27676
|
}, $ = () => {
|
27684
27677
|
c.value = !1, s.value = null, _.value = null, k.value = !1, d.value = !1;
|
27685
|
-
},
|
27678
|
+
}, W = () => {
|
27686
27679
|
var V;
|
27687
27680
|
if (s.value === "phone")
|
27688
27681
|
le(U.value);
|
@@ -27817,7 +27810,7 @@ const od = ["data-theme"], ld = {
|
|
27817
27810
|
onMouseleave: R[0] || (R[0] = (uf) => r.value = null)
|
27818
27811
|
}, [
|
27819
27812
|
be(ee.type) ? (l(), u(K, { key: 0 }, [
|
27820
|
-
|
27813
|
+
Y(ke, {
|
27821
27814
|
ref_for: !0,
|
27822
27815
|
ref: (uf) => {
|
27823
27816
|
uf && (x.value = uf);
|
@@ -27874,7 +27867,7 @@ const od = ["data-theme"], ld = {
|
|
27874
27867
|
onMouseenter: R[1] || (R[1] = (Ie) => We(Ie)),
|
27875
27868
|
onMouseleave: Mf,
|
27876
27869
|
onMouseover: zf,
|
27877
|
-
onClick: R[2] || (R[2] = (Ie) =>
|
27870
|
+
onClick: R[2] || (R[2] = (Ie) => W())
|
27878
27871
|
}, [
|
27879
27872
|
o("div", kd, [
|
27880
27873
|
o("span", xd, E((ee = U.value) == null ? void 0 : ee.value), 1)
|
@@ -27896,7 +27889,7 @@ const od = ["data-theme"], ld = {
|
|
27896
27889
|
onMouseenter: R[3] || (R[3] = (ee) => We(ee)),
|
27897
27890
|
onMouseleave: Mf,
|
27898
27891
|
onMouseover: zf,
|
27899
|
-
onClick: R[4] || (R[4] = (ee) =>
|
27892
|
+
onClick: R[4] || (R[4] = (ee) => W())
|
27900
27893
|
}, [
|
27901
27894
|
o("div", Dd, [
|
27902
27895
|
o("span", Td, E((lf = U.value) == null ? void 0 : lf.value), 1)
|
@@ -27929,7 +27922,7 @@ const od = ["data-theme"], ld = {
|
|
27929
27922
|
], 2))
|
27930
27923
|
])
|
27931
27924
|
], 42, Ed))), 128)),
|
27932
|
-
d.value &&
|
27925
|
+
d.value && q.value ? (l(), u("div", {
|
27933
27926
|
key: 4,
|
27934
27927
|
class: "sub-menu left",
|
27935
27928
|
style: de({ top: p.value + "px" }),
|
@@ -28036,10 +28029,10 @@ const od = ["data-theme"], ld = {
|
|
28036
28029
|
onClick: k
|
28037
28030
|
}, [
|
28038
28031
|
o("span", Rd, [
|
28039
|
-
|
28032
|
+
Y(Wa)
|
28040
28033
|
]),
|
28041
28034
|
(l(), B(Te, { to: "body" }, [
|
28042
|
-
|
28035
|
+
Y(T(yf), {
|
28043
28036
|
id: "context-menu-" + T(r) + T(n),
|
28044
28037
|
actions: e.actions,
|
28045
28038
|
"data-theme": T(i)().theme ? T(i)().theme : "light",
|
@@ -28259,7 +28252,7 @@ const od = ["data-theme"], ld = {
|
|
28259
28252
|
style: de({ gridRow: e.message.subText ? "2" : "1" })
|
28260
28253
|
}, null, 12, r3)) : b("", !0),
|
28261
28254
|
e.message.subText && e.isFirstInSeries ? (l(), u("p", d3, [
|
28262
|
-
|
28255
|
+
Y(ke, {
|
28263
28256
|
text: r.value,
|
28264
28257
|
position: e.message.position === "left" ? "right" : "left",
|
28265
28258
|
offset: 8
|
@@ -28334,7 +28327,7 @@ const od = ["data-theme"], ld = {
|
|
28334
28327
|
}, C[5] || (C[5] = [
|
28335
28328
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
28336
28329
|
]))) : b("", !0),
|
28337
|
-
|
28330
|
+
Y(re, null, {
|
28338
28331
|
default: Z(() => [
|
28339
28332
|
n.value && e.message.actions ? (l(), B(T(yf), {
|
28340
28333
|
key: 0,
|
@@ -28426,7 +28419,7 @@ const od = ["data-theme"], ld = {
|
|
28426
28419
|
width: "32"
|
28427
28420
|
}, null, 8, w3)) : b("", !0),
|
28428
28421
|
e.message.subText && e.isFirstInSeries ? (l(), u("p", C3, [
|
28429
|
-
|
28422
|
+
Y(ke, {
|
28430
28423
|
text: c.value,
|
28431
28424
|
position: e.message.position === "left" ? "right" : "left",
|
28432
28425
|
offset: 8
|
@@ -28459,7 +28452,7 @@ const od = ["data-theme"], ld = {
|
|
28459
28452
|
src: e.message.url,
|
28460
28453
|
alt: e.message.alt
|
28461
28454
|
}, null, 12, I3),
|
28462
|
-
|
28455
|
+
Y(re, { name: "modal-fade" }, {
|
28463
28456
|
default: Z(() => [
|
28464
28457
|
A.value ? (l(), u("div", k3, [
|
28465
28458
|
e.message.views ? (l(), u("div", {
|
@@ -28482,7 +28475,7 @@ const od = ["data-theme"], ld = {
|
|
28482
28475
|
]),
|
28483
28476
|
_: 1
|
28484
28477
|
}),
|
28485
|
-
|
28478
|
+
Y(re, { name: "modal-fade" }, {
|
28486
28479
|
default: Z(() => [
|
28487
28480
|
A.value ? (l(), u("a", {
|
28488
28481
|
key: 0,
|
@@ -28498,7 +28491,7 @@ const od = ["data-theme"], ld = {
|
|
28498
28491
|
_: 1
|
28499
28492
|
})
|
28500
28493
|
], 32),
|
28501
|
-
|
28494
|
+
Y(re, { name: "modal-fade" }, {
|
28502
28495
|
default: Z(() => [
|
28503
28496
|
d.value && e.message.actions ? (l(), u("button", {
|
28504
28497
|
key: 0,
|
@@ -28510,7 +28503,7 @@ const od = ["data-theme"], ld = {
|
|
28510
28503
|
]),
|
28511
28504
|
_: 1
|
28512
28505
|
}),
|
28513
|
-
|
28506
|
+
Y(re, { name: "context-menu" }, {
|
28514
28507
|
default: Z(() => [
|
28515
28508
|
r.value && e.message.actions ? (l(), B(T(yf), {
|
28516
28509
|
key: 0,
|
@@ -28539,7 +28532,7 @@ const od = ["data-theme"], ld = {
|
|
28539
28532
|
}, null, 8, ["class", "embed"])) : b("", !0)
|
28540
28533
|
], 2),
|
28541
28534
|
(l(), B(Te, { to: "body" }, [
|
28542
|
-
|
28535
|
+
Y(re, { name: "modal-fade" }, {
|
28543
28536
|
default: Z(() => [
|
28544
28537
|
s.value ? (l(), B(s1, {
|
28545
28538
|
key: 0,
|
@@ -28637,7 +28630,7 @@ const od = ["data-theme"], ld = {
|
|
28637
28630
|
style: de({ gridRow: e.message.subText && e.isFirstInSeries ? "2" : "1" })
|
28638
28631
|
}, null, 12, O3)) : b("", !0),
|
28639
28632
|
e.message.subText && e.isFirstInSeries ? (l(), u("p", z3, [
|
28640
|
-
|
28633
|
+
Y(ke, {
|
28641
28634
|
text: r.value,
|
28642
28635
|
position: e.message.position === "left" ? "right" : "left",
|
28643
28636
|
offset: 8
|
@@ -28698,7 +28691,7 @@ const od = ["data-theme"], ld = {
|
|
28698
28691
|
}, C[3] || (C[3] = [
|
28699
28692
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
28700
28693
|
]))) : b("", !0),
|
28701
|
-
|
28694
|
+
Y(re, null, {
|
28702
28695
|
default: Z(() => [
|
28703
28696
|
n.value && e.message.actions ? (l(), B(T(yf), {
|
28704
28697
|
key: 0,
|
@@ -28768,15 +28761,15 @@ const od = ["data-theme"], ld = {
|
|
28768
28761
|
speed: 2,
|
28769
28762
|
selected: !1
|
28770
28763
|
}
|
28771
|
-
]), s = (
|
28764
|
+
]), s = (H) => {
|
28772
28765
|
for (let F of i.value)
|
28773
28766
|
F.selected = !1;
|
28774
|
-
i.value[
|
28775
|
-
}, r = f, c = h(), d = h(!1), A = h(0), m = h(0), _ = P(() => n.subtextTooltipData && n.subtextTooltipData[n.message.messageId] ? n.subtextTooltipData[n.message.messageId] : n.message.subText || ""), k = h(!1), y = h(!1), w = h(!1), p = P(() => n.message.text ? qe(n.message.text) : ""), C = (
|
28776
|
-
r("reply",
|
28767
|
+
i.value[H].selected = !0, c.value && (c.value.playbackRate = i.value[H].speed);
|
28768
|
+
}, r = f, c = h(), d = h(!1), A = h(0), m = h(0), _ = P(() => n.subtextTooltipData && n.subtextTooltipData[n.message.messageId] ? n.subtextTooltipData[n.message.messageId] : n.message.subText || ""), k = h(!1), y = h(!1), w = h(!1), p = P(() => n.message.text ? qe(n.message.text) : ""), C = (H) => {
|
28769
|
+
r("reply", H);
|
28777
28770
|
};
|
28778
|
-
function D(
|
28779
|
-
|
28771
|
+
function D(H) {
|
28772
|
+
H.preventDefault(), H.target.href && window.open(H.target.href, "_blank");
|
28780
28773
|
}
|
28781
28774
|
const x = () => {
|
28782
28775
|
y.value = !0;
|
@@ -28789,8 +28782,8 @@ const od = ["data-theme"], ld = {
|
|
28789
28782
|
function N() {
|
28790
28783
|
c.value && (d.value ? c.value.pause() : c.value.play(), d.value = !d.value);
|
28791
28784
|
}
|
28792
|
-
const U = (
|
28793
|
-
const F = Math.floor(
|
28785
|
+
const U = (H) => {
|
28786
|
+
const F = Math.floor(H / 60), oe = Math.floor(H % 60);
|
28794
28787
|
return `${F.toString().padStart(2, "0")}:${oe.toString().padStart(2, "0")}`;
|
28795
28788
|
}, z = P(() => c.value ? U(m.value) : "0:00");
|
28796
28789
|
ae(
|
@@ -28800,8 +28793,8 @@ const od = ["data-theme"], ld = {
|
|
28800
28793
|
}
|
28801
28794
|
);
|
28802
28795
|
const X = P(() => c.value ? U(A.value) : "0:00");
|
28803
|
-
function H
|
28804
|
-
return
|
28796
|
+
function q(H) {
|
28797
|
+
return H.position === "left" ? "audio-message__left" : "audio-message__right";
|
28805
28798
|
}
|
28806
28799
|
return me(() => {
|
28807
28800
|
c.value != null && (c.value.addEventListener("loadedmetadata", () => {
|
@@ -28811,11 +28804,11 @@ const od = ["data-theme"], ld = {
|
|
28811
28804
|
}), c.value.addEventListener("timeupdate", () => {
|
28812
28805
|
m.value = c.value != null ? c.value.currentTime : 0;
|
28813
28806
|
}));
|
28814
|
-
}), (
|
28807
|
+
}), (H, F) => {
|
28815
28808
|
var oe;
|
28816
28809
|
return l(), u("div", {
|
28817
28810
|
class: j(["audio-message", [
|
28818
|
-
|
28811
|
+
q(e.message),
|
28819
28812
|
e.applyStyle(e.message)
|
28820
28813
|
]]),
|
28821
28814
|
messageId: e.message.messageId,
|
@@ -28831,7 +28824,7 @@ const od = ["data-theme"], ld = {
|
|
28831
28824
|
style: de({ gridRow: e.message.subText ? "2" : "1" })
|
28832
28825
|
}, null, 12, Y3)) : b("", !0),
|
28833
28826
|
e.message.subText && e.isFirstInSeries ? (l(), u("p", q3, [
|
28834
|
-
|
28827
|
+
Y(ke, {
|
28835
28828
|
text: _.value,
|
28836
28829
|
position: e.message.position === "left" ? "right" : "left",
|
28837
28830
|
offset: 8
|
@@ -28937,7 +28930,7 @@ const od = ["data-theme"], ld = {
|
|
28937
28930
|
o("p", null, E(e.message.views), 1)
|
28938
28931
|
])) : b("", !0),
|
28939
28932
|
o("span", s4, E(e.message.time), 1),
|
28940
|
-
|
28933
|
+
q(e.message) === "audio-message__right" && T(Vf).includes(e.message.status) ? (l(), u("div", {
|
28941
28934
|
key: 1,
|
28942
28935
|
class: j(["audio-message__status", v.value])
|
28943
28936
|
}, [
|
@@ -28952,7 +28945,7 @@ const od = ["data-theme"], ld = {
|
|
28952
28945
|
}, F[9] || (F[9] = [
|
28953
28946
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
28954
28947
|
]))) : b("", !0),
|
28955
|
-
|
28948
|
+
Y(re, null, {
|
28956
28949
|
default: Z(() => [
|
28957
28950
|
k.value && e.message.actions ? (l(), B(T(yf), {
|
28958
28951
|
key: 0,
|
@@ -28964,7 +28957,7 @@ const od = ["data-theme"], ld = {
|
|
28964
28957
|
_: 1
|
28965
28958
|
}),
|
28966
28959
|
(l(), B(Te, { to: "body" }, [
|
28967
|
-
|
28960
|
+
Y(re, { name: "modal-fade" }, {
|
28968
28961
|
default: Z(() => {
|
28969
28962
|
var J;
|
28970
28963
|
return [
|
@@ -29094,7 +29087,7 @@ const od = ["data-theme"], ld = {
|
|
29094
29087
|
width: "32"
|
29095
29088
|
}, null, 8, _4)) : b("", !0),
|
29096
29089
|
e.message.subText && e.isFirstInSeries ? (l(), u("p", h4, [
|
29097
|
-
|
29090
|
+
Y(ke, {
|
29098
29091
|
text: A.value,
|
29099
29092
|
position: e.message.position === "left" ? "right" : "left",
|
29100
29093
|
offset: 8
|
@@ -29131,7 +29124,7 @@ const od = ["data-theme"], ld = {
|
|
29131
29124
|
autoplay: "",
|
29132
29125
|
onEnded: g
|
29133
29126
|
}, null, 44, v4),
|
29134
|
-
|
29127
|
+
Y(re, { name: "modal-fade" }, {
|
29135
29128
|
default: Z(() => [
|
29136
29129
|
y.value ? (l(), u("div", b4, [
|
29137
29130
|
e.message.views ? (l(), u("div", {
|
@@ -29154,7 +29147,7 @@ const od = ["data-theme"], ld = {
|
|
29154
29147
|
]),
|
29155
29148
|
_: 1
|
29156
29149
|
}),
|
29157
|
-
|
29150
|
+
Y(re, { name: "modal-fade" }, {
|
29158
29151
|
default: Z(() => [
|
29159
29152
|
y.value ? (l(), u("a", {
|
29160
29153
|
key: 0,
|
@@ -29170,7 +29163,7 @@ const od = ["data-theme"], ld = {
|
|
29170
29163
|
_: 1
|
29171
29164
|
})
|
29172
29165
|
], 32),
|
29173
|
-
|
29166
|
+
Y(re, { name: "modal-fade" }, {
|
29174
29167
|
default: Z(() => [
|
29175
29168
|
k.value && e.message.actions ? (l(), u("button", {
|
29176
29169
|
key: 0,
|
@@ -29182,7 +29175,7 @@ const od = ["data-theme"], ld = {
|
|
29182
29175
|
]),
|
29183
29176
|
_: 1
|
29184
29177
|
}),
|
29185
|
-
|
29178
|
+
Y(re, { name: "context-menu" }, {
|
29186
29179
|
default: Z(() => [
|
29187
29180
|
_.value && e.message.actions ? (l(), B(T(yf), {
|
29188
29181
|
key: 0,
|
@@ -29212,7 +29205,7 @@ const od = ["data-theme"], ld = {
|
|
29212
29205
|
], 2)
|
29213
29206
|
], 46, p4),
|
29214
29207
|
(l(), B(Te, { to: "body" }, [
|
29215
|
-
|
29208
|
+
Y(re, { name: "modal-fade" }, {
|
29216
29209
|
default: Z(() => [
|
29217
29210
|
m.value ? (l(), B(s1, {
|
29218
29211
|
key: 0,
|
@@ -29308,7 +29301,7 @@ const od = ["data-theme"], ld = {
|
|
29308
29301
|
style: de({ gridRow: e.message.subText ? "2" : "1" })
|
29309
29302
|
}, null, 12, N4)) : b("", !0),
|
29310
29303
|
e.message.subText ? (l(), u("p", E4, [
|
29311
|
-
|
29304
|
+
Y(ke, {
|
29312
29305
|
text: i.value,
|
29313
29306
|
position: e.message.position === "left" ? "right" : "left",
|
29314
29307
|
offset: 8
|
@@ -29336,7 +29329,7 @@ const od = ["data-theme"], ld = {
|
|
29336
29329
|
o("span", { class: "pi pi-arrow-up-right" }, null, -1)
|
29337
29330
|
]))) : b("", !0),
|
29338
29331
|
(l(), B(Te, { to: "body" }, [
|
29339
|
-
|
29332
|
+
Y(re, { name: "modal-fade" }, {
|
29340
29333
|
default: Z(() => {
|
29341
29334
|
var m;
|
29342
29335
|
return [
|
@@ -29487,7 +29480,7 @@ const od = ["data-theme"], ld = {
|
|
29487
29480
|
}, null, 8, iA)) : b("", !0)
|
29488
29481
|
]),
|
29489
29482
|
(l(), B(Te, { to: "body" }, [
|
29490
|
-
|
29483
|
+
Y(re, { name: "modal-fade" }, {
|
29491
29484
|
default: Z(() => [
|
29492
29485
|
n.value ? (l(), B(s1, {
|
29493
29486
|
key: 0,
|
@@ -29596,7 +29589,7 @@ const od = ["data-theme"], ld = {
|
|
29596
29589
|
}, null, 8, vA)) : b("", !0)
|
29597
29590
|
]),
|
29598
29591
|
(l(), B(Te, { to: "body" }, [
|
29599
|
-
|
29592
|
+
Y(re, { name: "modal-fade" }, {
|
29600
29593
|
default: Z(() => [
|
29601
29594
|
i.value ? (l(), B(s1, {
|
29602
29595
|
key: 0,
|