@mobilon-dev/chotto 0.0.100 → 0.0.101
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-o27tJbMY.js} +1 -1
- package/dist/{ModalVideoRecorder-DzrQvpjE.js → ModalVideoRecorder-DI-hUcNt.js} +1 -1
- package/dist/{SelectUser2-C3_AeExs.js → SelectUser2-DQI-YvpZ.js} +1 -1
- package/dist/{index-CajaIOuC.js → index-D8nDb3IQ.js} +60 -56
- package/dist/style.css +1 -1
- package/dist/vuessages.es.js +1 -1
- package/dist/vuessages.umd.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -26,12 +26,12 @@ Vue3 UI components for chats, conversations, ai
|
|
26
26
|
|
27
27
|
## examples
|
28
28
|
|
29
|
-
[simple](https://github.com/antirek/chotto-sample)
|
30
|
-
|
31
29
|
[demo1: 1 manager + 3 site users](https://determaer.github.io/chat-demo/) ([source](https://github.com/determaer/chat-demo))
|
32
30
|
|
33
31
|
[demo2: waba templates](https://determaer.github.io/waba-chat-demo/) ([source](https://github.com/determaer/waba-chat-demo))
|
34
32
|
|
33
|
+
[all demos](https://determaer.github.io/chotto-demo/) ([source](https://github.com/determaer/chotto-demo))
|
34
|
+
|
35
35
|
|
36
36
|
# development
|
37
37
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as d, computed as y, openBlock as a, createElementBlock as n, createElementVNode as t, toDisplayString as s, withDirectives as c, Fragment as m, renderList as v, vModelSelect as p } from "vue";
|
2
|
-
import { _ as b } from "./index-
|
2
|
+
import { _ as b } from "./index-D8nDb3IQ.js";
|
3
3
|
const h = { class: "modal__contact-line" }, C = ["value"], D = { class: "modal__channel-line" }, S = ["value"], q = ["disabled"], k = {
|
4
4
|
__name: "CreateDialog",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as T, ref as a, computed as j, onMounted as B, openBlock as c, createElementBlock as _, Fragment as N, createElementVNode as o, withDirectives as h, vShow as M, normalizeClass as R, createCommentVNode as y, toDisplayString as O, nextTick as z, unref as x } from "vue";
|
2
|
-
import { _ as $ } from "./index-
|
2
|
+
import { _ as $ } from "./index-D8nDb3IQ.js";
|
3
3
|
const q = { class: "video-recorder__header" }, A = { class: "video-recorder__controls" }, G = { class: "video-recorder__recording-container" }, H = { class: "video-recorder__recording-time" }, J = /* @__PURE__ */ T({
|
4
4
|
__name: "ModalVideoRecorder",
|
5
5
|
emits: ["change", "submit", "close"],
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as p, openBlock as n, createElementBlock as s, createElementVNode as t, toDisplayString as a, Fragment as m, renderList as _, withDirectives as h, vModelCheckbox as v } from "vue";
|
2
|
-
import { _ as f } from "./index-
|
2
|
+
import { _ as f } from "./index-D8nDb3IQ.js";
|
3
3
|
const g = { class: "participant-list" }, k = ["id", "value"], y = ["for"], x = {
|
4
4
|
__name: "SelectUser2",
|
5
5
|
props: {
|
@@ -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 E, ref as b, customRef as Zf, withKeys as Jn, defineComponent as W, onMounted as ie, withDirectives 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 E, 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];
|
@@ -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, {
|
@@ -1262,7 +1262,7 @@ const ga = (e) => {
|
|
1262
1262
|
class: "chat-input__file-line"
|
1263
1263
|
}, null, 8, Ws),
|
1264
1264
|
o("div", Ks, [
|
1265
|
-
|
1265
|
+
ce(o("textarea", {
|
1266
1266
|
disabled: e.state == "disabled" || E(s)().isRecording,
|
1267
1267
|
ref_key: "refInput",
|
1268
1268
|
ref: g,
|
@@ -1285,7 +1285,7 @@ const ga = (e) => {
|
|
1285
1285
|
o("div", Zs, [
|
1286
1286
|
ne(_.$slots, "buttons", {}, void 0, !0)
|
1287
1287
|
]),
|
1288
|
-
E(s)().file ? (r(), B(
|
1288
|
+
E(s)().file ? (r(), B(Ae, {
|
1289
1289
|
key: 0,
|
1290
1290
|
to: "#chat-input-file-line-" + E(f)
|
1291
1291
|
}, [
|
@@ -1616,7 +1616,7 @@ const ga = (e) => {
|
|
1616
1616
|
_: 1
|
1617
1617
|
})
|
1618
1618
|
], 40, ui),
|
1619
|
-
E(d)().reply ? (r(), B(
|
1619
|
+
E(d)().reply ? (r(), B(Ae, {
|
1620
1620
|
key: 0,
|
1621
1621
|
to: "#chat-input-reply-line-" + E(c)
|
1622
1622
|
}, [
|
@@ -1842,7 +1842,7 @@ const ga = (e) => {
|
|
1842
1842
|
type: "file",
|
1843
1843
|
onChange: M
|
1844
1844
|
}, null, 544),
|
1845
|
-
E(A)().file ? (r(), B(
|
1845
|
+
E(A)().file ? (r(), B(Ae, {
|
1846
1846
|
key: 3,
|
1847
1847
|
to: "#chat-input-file-line-" + E(i)
|
1848
1848
|
}, [
|
@@ -2122,7 +2122,7 @@ 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
2127
|
to: "#float-windows-" + E(t)
|
2128
2128
|
}, [
|
@@ -2305,7 +2305,7 @@ 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
2310
|
to: "#float-windows-" + E(n)
|
2311
2311
|
}, [
|
@@ -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,
|
@@ -2505,7 +2505,7 @@ const xg = (e, t = null) => {
|
|
2505
2505
|
id: "template-selector-second-col-" + E(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",
|
@@ -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",
|
@@ -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
15680
|
var N = g && _.visualViewport ? _.visualViewport.height : x[C];
|
15681
15681
|
h -= N - 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
|
@@ -15897,7 +15897,7 @@ function jt(e, t) {
|
|
15897
15897
|
if (d === gt && N) {
|
15898
15898
|
var w = N[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
|
}
|
@@ -15942,13 +15942,13 @@ function iA(e) {
|
|
15942
15942
|
allowedAutoPlacements: y
|
15943
15943
|
}) : z);
|
15944
15944
|
}, []), _ = t.rects.reference, x = t.rects.popper, C = /* @__PURE__ */ new Map(), k = !0, N = L[0], w = 0; w < L.length; w++) {
|
15945
|
-
var I = L[w], U = Te(I), $ = ot(I) === ft, J = [
|
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) {
|
@@ -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
|
} : {
|
@@ -16091,14 +16091,14 @@ function pA(e) {
|
|
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;
|
@@ -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
|
@@ -17040,7 +17040,7 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
|
|
17040
17040
|
default: K(() => [
|
17041
17041
|
o("div", Sc, [
|
17042
17042
|
o("span", Cc, T(E(pe)("component.FeedSearch.SearchLabel")), 1),
|
17043
|
-
|
17043
|
+
ce(o("input", {
|
17044
17044
|
ref_key: "refInput",
|
17045
17045
|
ref: i,
|
17046
17046
|
class: "feed-search__input",
|
@@ -17263,7 +17263,7 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
|
|
17263
17263
|
}, w[4] || (w[4] = [
|
17264
17264
|
o("span", { class: "pi pi-microphone" }, null, -1)
|
17265
17265
|
]), 2)) : v("", !0),
|
17266
|
-
E(f)().file ? (r(), B(
|
17266
|
+
E(f)().file ? (r(), B(Ae, {
|
17267
17267
|
key: 3,
|
17268
17268
|
to: "#chat-input-file-line-" + E(n)
|
17269
17269
|
}, [
|
@@ -17370,7 +17370,7 @@ const fu = ["data-theme"], au = {
|
|
17370
17370
|
}, yf = /* @__PURE__ */ R(ou, [["__scopeId", "data-v-a44139f6"]]), Rg = async (e, t) => {
|
17371
17371
|
const n = await Ot({
|
17372
17372
|
//в component должен быть встроен emit change(key: value)
|
17373
|
-
component: import("./SelectUser2-
|
17373
|
+
component: import("./SelectUser2-DQI-YvpZ.js"),
|
17374
17374
|
attrs: {
|
17375
17375
|
title: e,
|
17376
17376
|
users: t
|
@@ -17439,7 +17439,7 @@ const fu = ["data-theme"], au = {
|
|
17439
17439
|
}
|
17440
17440
|
}, Sa = /* @__PURE__ */ R(cu, [["__scopeId", "data-v-564d1d1f"]]), Yg = async (e, t, n, f, a) => await Ot({
|
17441
17441
|
//в component должен быть встроен emit change(key: value)
|
17442
|
-
component: import("./CreateDialog-
|
17442
|
+
component: import("./CreateDialog-o27tJbMY.js"),
|
17443
17443
|
attrs: {
|
17444
17444
|
title: e,
|
17445
17445
|
name: t,
|
@@ -17452,7 +17452,7 @@ const fu = ["data-theme"], au = {
|
|
17452
17452
|
}
|
17453
17453
|
}), uu = async (e) => await Ot({
|
17454
17454
|
//в component должен быть встроен emit change(key: value)
|
17455
|
-
component: import("./ModalVideoRecorder-
|
17455
|
+
component: import("./ModalVideoRecorder-DI-hUcNt.js"),
|
17456
17456
|
attrs: {},
|
17457
17457
|
Modal: Sa,
|
17458
17458
|
modalAttrs: {
|
@@ -17516,7 +17516,7 @@ const fu = ["data-theme"], au = {
|
|
17516
17516
|
i.value === "uploading" ? (r(), u("div", gu, m[1] || (m[1] = [
|
17517
17517
|
o("p", null, "Загрузка файла...", -1)
|
17518
17518
|
]))) : v("", !0),
|
17519
|
-
E(n)().file ? (r(), B(
|
17519
|
+
E(n)().file ? (r(), B(Ae, {
|
17520
17520
|
key: 2,
|
17521
17521
|
to: "#chat-input-file-line-" + E(t)
|
17522
17522
|
}, [
|
@@ -17888,7 +17888,7 @@ const fu = ["data-theme"], au = {
|
|
17888
17888
|
linkPreview: e.message.linkPreview
|
17889
17889
|
}, null, 8, ["class", "linkPreview"])) : v("", !0)
|
17890
17890
|
]),
|
17891
|
-
(r(), B(
|
17891
|
+
(r(), B(Ae, { to: "body" }, [
|
17892
17892
|
F(X, { name: "modal-fade" }, {
|
17893
17893
|
default: K(() => [
|
17894
17894
|
a.value ? (r(), B(lf, {
|
@@ -18153,7 +18153,7 @@ const fu = ["data-theme"], au = {
|
|
18153
18153
|
src: e.message.url,
|
18154
18154
|
type: "audio/webm"
|
18155
18155
|
}, null, 8, l1),
|
18156
|
-
|
18156
|
+
ce(o("button", {
|
18157
18157
|
class: "audio-message__play",
|
18158
18158
|
onClick: _
|
18159
18159
|
}, I[4] || (I[4] = [
|
@@ -18161,7 +18161,7 @@ const fu = ["data-theme"], au = {
|
|
18161
18161
|
]), 512), [
|
18162
18162
|
[We, !l.value]
|
18163
18163
|
]),
|
18164
|
-
|
18164
|
+
ce(o("button", {
|
18165
18165
|
class: "audio-message__pause",
|
18166
18166
|
onClick: _
|
18167
18167
|
}, I[5] || (I[5] = [
|
@@ -18169,7 +18169,7 @@ const fu = ["data-theme"], au = {
|
|
18169
18169
|
]), 512), [
|
18170
18170
|
[We, l.value]
|
18171
18171
|
]),
|
18172
|
-
|
18172
|
+
ce(o("input", {
|
18173
18173
|
class: "audio-message__progress-bar-container",
|
18174
18174
|
type: "range",
|
18175
18175
|
min: 0,
|
@@ -18250,7 +18250,7 @@ const fu = ["data-theme"], au = {
|
|
18250
18250
|
]),
|
18251
18251
|
_: 1
|
18252
18252
|
}),
|
18253
|
-
(r(), B(
|
18253
|
+
(r(), B(Ae, { to: "body" }, [
|
18254
18254
|
F(X, { name: "modal-fade" }, {
|
18255
18255
|
default: K(() => {
|
18256
18256
|
var $;
|
@@ -18465,7 +18465,7 @@ const fu = ["data-theme"], au = {
|
|
18465
18465
|
}, null, 8, ["class", "linkPreview"])) : v("", !0)
|
18466
18466
|
])
|
18467
18467
|
], 42, j1),
|
18468
|
-
(r(), B(
|
18468
|
+
(r(), B(Ae, { to: "body" }, [
|
18469
18469
|
F(X, { name: "modal-fade" }, {
|
18470
18470
|
default: K(() => [
|
18471
18471
|
c.value ? (r(), B(lf, {
|
@@ -18568,7 +18568,7 @@ const fu = ["data-theme"], au = {
|
|
18568
18568
|
}, s[2] || (s[2] = [
|
18569
18569
|
o("span", { class: "pi pi-arrow-up-right" }, null, -1)
|
18570
18570
|
]))) : v("", !0),
|
18571
|
-
(r(), B(
|
18571
|
+
(r(), B(Ae, { to: "body" }, [
|
18572
18572
|
F(X, { name: "modal-fade" }, {
|
18573
18573
|
default: K(() => {
|
18574
18574
|
var l;
|
@@ -18716,7 +18716,7 @@ const fu = ["data-theme"], au = {
|
|
18716
18716
|
onClick: a
|
18717
18717
|
}, null, 8, vd)) : v("", !0)
|
18718
18718
|
]),
|
18719
|
-
(r(), B(
|
18719
|
+
(r(), B(Ae, { to: "body" }, [
|
18720
18720
|
F(X, { name: "modal-fade" }, {
|
18721
18721
|
default: K(() => [
|
18722
18722
|
n.value ? (r(), u("div", {
|
@@ -18767,7 +18767,7 @@ const fu = ["data-theme"], au = {
|
|
18767
18767
|
s.preventDefault(), s.target.href && window.open(s.target.href, "_blank");
|
18768
18768
|
}
|
18769
18769
|
return (s, i) => (r(), u(q, null, [
|
18770
|
-
|
18770
|
+
ce(o("div", Id, i[0] || (i[0] = [
|
18771
18771
|
o("span", { class: "pi pi-play" }, null, -1)
|
18772
18772
|
]), 512), [
|
18773
18773
|
[We, !n.value]
|
@@ -18836,7 +18836,7 @@ const fu = ["data-theme"], au = {
|
|
18836
18836
|
onClick: s
|
18837
18837
|
}, null, 8, jd)) : v("", !0)
|
18838
18838
|
]),
|
18839
|
-
(r(), B(
|
18839
|
+
(r(), B(Ae, { to: "body" }, [
|
18840
18840
|
F(X, { name: "modal-fade" }, {
|
18841
18841
|
default: K(() => [
|
18842
18842
|
f.value ? (r(), u("div", {
|
@@ -18922,9 +18922,11 @@ const fu = ["data-theme"], au = {
|
|
18922
18922
|
style: se({ height: e.height, width: e.width })
|
18923
18923
|
}, [
|
18924
18924
|
ne(n.$slots, "default"),
|
18925
|
-
|
18926
|
-
|
18927
|
-
|
18925
|
+
(r(), B(Ae, { to: "body" }, [
|
18926
|
+
o("div", {
|
18927
|
+
id: "float-windows-" + E(t)
|
18928
|
+
}, null, 8, Qd)
|
18929
|
+
]))
|
18928
18930
|
], 4)
|
18929
18931
|
], 8, Rd));
|
18930
18932
|
}
|
@@ -19015,14 +19017,16 @@ const fu = ["data-theme"], au = {
|
|
19015
19017
|
style: se({ height: A.value + "px" })
|
19016
19018
|
}, [
|
19017
19019
|
ne(p.$slots, "default", {}, void 0, !0),
|
19018
|
-
|
19019
|
-
|
19020
|
-
|
19020
|
+
(r(), B(Ae, { to: "body" }, [
|
19021
|
+
o("div", {
|
19022
|
+
id: "float-windows-" + E(d)
|
19023
|
+
}, null, 8, Hd)
|
19024
|
+
]))
|
19021
19025
|
], 4)
|
19022
19026
|
])
|
19023
19027
|
], 12, $d));
|
19024
19028
|
}
|
19025
|
-
}, qg = /* @__PURE__ */ R(Wd, [["__scopeId", "data-v-
|
19029
|
+
}, 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
19030
|
function Xd(e, t) {
|
19027
19031
|
return r(), u("div", Jd, [
|
19028
19032
|
o("div", Gd, [
|