@mobilon-dev/chotto 0.0.61 → 0.0.62
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.
@@ -753,7 +753,7 @@ const Q = (e, f) => {
|
|
753
753
|
])
|
754
754
|
])) : b("", !0);
|
755
755
|
}
|
756
|
-
},
|
756
|
+
}, tc = /* @__PURE__ */ Q(ss, [["__scopeId", "data-v-26bb16be"]]), _e = I([]), Mf = (e) => {
|
757
757
|
const f = I(0);
|
758
758
|
let t = _e.value.find(({ id: l }) => l == e);
|
759
759
|
t != null ? f.value = _e.value.indexOf(t) : (_e.value.push({
|
@@ -896,7 +896,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
896
896
|
])
|
897
897
|
]));
|
898
898
|
}
|
899
|
-
}),
|
899
|
+
}), nc = /* @__PURE__ */ Q(ps, [["__scopeId", "data-v-51a488f2"]]), hs = { class: "chat-list" }, ys = { class: "chat-list__title" }, Ms = {
|
900
900
|
key: 0,
|
901
901
|
class: "pi pi-minus"
|
902
902
|
}, vs = {
|
@@ -999,7 +999,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
999
999
|
])
|
1000
1000
|
]));
|
1001
1001
|
}
|
1002
|
-
},
|
1002
|
+
}, ac = /* @__PURE__ */ Q(ks, [["__scopeId", "data-v-ba9fb868"]]), Ns = ["id"], Ds = { class: "message-feed__container" }, js = {
|
1003
1003
|
key: 0,
|
1004
1004
|
class: "message-feed__unread-amount"
|
1005
1005
|
}, Es = /* @__PURE__ */ Z({
|
@@ -1031,14 +1031,14 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1031
1031
|
const v = C(n);
|
1032
1032
|
v.scrollHeight - v.scrollTop - v.clientHeight < 100 ? a.value = !1 : a.value = !0, v.scrollTop === 0 && y && i("loadMore");
|
1033
1033
|
}, u = (y) => ({
|
1034
|
-
"message.text":
|
1034
|
+
"message.text": mr,
|
1035
1035
|
"message.image": Ar,
|
1036
1036
|
"message.file": $1,
|
1037
|
-
"message.audio":
|
1038
|
-
"message.video":
|
1039
|
-
"message.call":
|
1040
|
-
"message.system":
|
1041
|
-
"system.date":
|
1037
|
+
"message.audio": xr,
|
1038
|
+
"message.video": Xr,
|
1039
|
+
"message.call": mu,
|
1040
|
+
"message.system": vu,
|
1041
|
+
"system.date": Lr,
|
1042
1042
|
"message.typing": Qn
|
1043
1043
|
})[y];
|
1044
1044
|
function g() {
|
@@ -1111,7 +1111,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1111
1111
|
})
|
1112
1112
|
], 40, Ns));
|
1113
1113
|
}
|
1114
|
-
}),
|
1114
|
+
}), sc = /* @__PURE__ */ Q(Es, [["__scopeId", "data-v-6729c8ab"]]), Ts = { class: "profile" }, Vs = {
|
1115
1115
|
key: 0,
|
1116
1116
|
class: "profile__container"
|
1117
1117
|
}, xs = {
|
@@ -1145,7 +1145,7 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1145
1145
|
])) : b("", !0)
|
1146
1146
|
]));
|
1147
1147
|
}
|
1148
|
-
},
|
1148
|
+
}, Ac = /* @__PURE__ */ Q(Ls, [["__scopeId", "data-v-04a5ab7d"]]), Us = ["id"], Bs = {
|
1149
1149
|
__name: "ButtonContextMenu",
|
1150
1150
|
props: {
|
1151
1151
|
actions: {
|
@@ -1245,12 +1245,12 @@ const rs = { class: "chat-input" }, us = { class: "chat-input__container" }, cs
|
|
1245
1245
|
], 8, Us));
|
1246
1246
|
}
|
1247
1247
|
}, fa = /* @__PURE__ */ Q(Bs, [["__scopeId", "data-v-a6a945c1"]]);
|
1248
|
-
function
|
1248
|
+
function ic(e) {
|
1249
1249
|
if (!e || e === "") return;
|
1250
1250
|
const f = +new Date(Number(e) * 1e3), t = +/* @__PURE__ */ new Date(), n = Math.floor((t - f) / 1e3), a = Math.floor(n / 60), s = Math.floor(a / 60), A = Math.floor(s / 24);
|
1251
1251
|
return A > 30 ? new Date(f).toLocaleDateString("ru-RU") : A > 0 ? `${A} ${A === 1 ? "день" : "дня"} назад` : s > 0 ? `${s} ${s === 1 ? "час" : "часа"} назад` : a > 0 ? `${a} ${a === 1 ? "минута" : "минуты"} назад` : n > 0 ? `${n} ${n === 1 ? "секунда" : "секунды"} назад` : "Только что";
|
1252
1252
|
}
|
1253
|
-
const
|
1253
|
+
const oc = (e) => {
|
1254
1254
|
const f = [];
|
1255
1255
|
let t = null;
|
1256
1256
|
for (let n = 0; n < e.length; n++) {
|
@@ -1264,7 +1264,7 @@ const lc = (e) => {
|
|
1264
1264
|
}), t = s), f.push(a);
|
1265
1265
|
}
|
1266
1266
|
return f;
|
1267
|
-
},
|
1267
|
+
}, lc = async () => {
|
1268
1268
|
try {
|
1269
1269
|
if (await navigator.mediaDevices.getUserMedia({ audio: !0 })) {
|
1270
1270
|
const f = new Audio();
|
@@ -1273,7 +1273,7 @@ const lc = (e) => {
|
|
1273
1273
|
} catch {
|
1274
1274
|
console.log("no audio permissions");
|
1275
1275
|
}
|
1276
|
-
},
|
1276
|
+
}, rc = (e) => e.sort((f, t) => Number(f.timestamp) < Number(t.timestamp) ? -1 : Number(f.timestamp) > Number(t.timestamp) ? 1 : 0), Nn = (e) => {
|
1277
1277
|
let f = "file";
|
1278
1278
|
return e.startsWith("image/") ? f = "image" : e.startsWith("video/") ? f = "video" : e.startsWith("audio/") && (f = "audio"), f;
|
1279
1279
|
}, Ke = ["read", "received", "sent"], Je = (e) => {
|
@@ -1476,7 +1476,7 @@ const lc = (e) => {
|
|
1476
1476
|
], 8, ["to"])) : b("", !0)
|
1477
1477
|
], 64));
|
1478
1478
|
}
|
1479
|
-
},
|
1479
|
+
}, uc = /* @__PURE__ */ Q(nA, [["__scopeId", "data-v-1cdabe09"]]), aA = { key: 0 }, sA = ["value", "selected"], AA = {
|
1480
1480
|
__name: "ThemeMode",
|
1481
1481
|
props: {
|
1482
1482
|
themes: {
|
@@ -1510,7 +1510,7 @@ const lc = (e) => {
|
|
1510
1510
|
], 32)
|
1511
1511
|
])) : b("", !0);
|
1512
1512
|
}
|
1513
|
-
},
|
1513
|
+
}, cc = /* @__PURE__ */ Q(AA, [["__scopeId", "data-v-a950b8eb"]]), iA = { class: "sidebar" }, oA = { class: "sidebar__container" }, lA = { class: "sidebar__list" }, rA = ["onClick"], uA = ["src", "alt"], cA = { key: 1 }, dA = { class: "sidebar__list-fixed" }, gA = ["onClick"], mA = ["src", "alt"], pA = { key: 1 }, hA = {
|
1514
1514
|
__name: "SideBar",
|
1515
1515
|
props: {
|
1516
1516
|
sidebarItems: {
|
@@ -1569,7 +1569,7 @@ const lc = (e) => {
|
|
1569
1569
|
])
|
1570
1570
|
]));
|
1571
1571
|
}
|
1572
|
-
},
|
1572
|
+
}, dc = /* @__PURE__ */ Q(hA, [["__scopeId", "data-v-5e22516c"]]), yA = { class: "chat-panel" }, MA = { class: "chat-panel__title-container" }, vA = {
|
1573
1573
|
key: 0,
|
1574
1574
|
class: "chat-panel__title"
|
1575
1575
|
}, bA = {
|
@@ -1598,7 +1598,7 @@ const lc = (e) => {
|
|
1598
1598
|
])
|
1599
1599
|
]));
|
1600
1600
|
}
|
1601
|
-
},
|
1601
|
+
}, gc = /* @__PURE__ */ Q(bA, [["__scopeId", "data-v-1f6ac199"]]), _A = { class: "channels" }, IA = {
|
1602
1602
|
key: 0,
|
1603
1603
|
class: "channels__selected"
|
1604
1604
|
}, wA = {
|
@@ -1653,7 +1653,7 @@ const lc = (e) => {
|
|
1653
1653
|
], 2)
|
1654
1654
|
]));
|
1655
1655
|
}
|
1656
|
-
},
|
1656
|
+
}, mc = /* @__PURE__ */ Q(jA, [["__scopeId", "data-v-018ec6fe"]]), EA = { class: "chat-item__avatar-container" }, TA = ["src"], VA = {
|
1657
1657
|
key: 1,
|
1658
1658
|
class: "pi pi-user"
|
1659
1659
|
}, xA = { class: "chat-item__info-container" }, SA = { class: "chat-item__name" }, CA = {
|
@@ -1964,7 +1964,7 @@ const lc = (e) => {
|
|
1964
1964
|
})
|
1965
1965
|
], 64));
|
1966
1966
|
}
|
1967
|
-
},
|
1967
|
+
}, pc = /* @__PURE__ */ Q(mi, [["__scopeId", "data-v-8d6cf607"]]), pi = {
|
1968
1968
|
__name: "PlaceholderComponent",
|
1969
1969
|
props: {
|
1970
1970
|
index: {
|
@@ -2244,7 +2244,7 @@ const lc = (e) => {
|
|
2244
2244
|
], 544)
|
2245
2245
|
], 64));
|
2246
2246
|
}
|
2247
|
-
},
|
2247
|
+
}, hc = /* @__PURE__ */ Q(qi, [["__scopeId", "data-v-78800319"]]), ta = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", na = {
|
2248
2248
|
recent: "Recently used",
|
2249
2249
|
smileys_people: "Smiles & People",
|
2250
2250
|
animals_nature: "Animals & Nature",
|
@@ -15992,7 +15992,7 @@ const k1 = {
|
|
15992
15992
|
})
|
15993
15993
|
], 64));
|
15994
15994
|
}
|
15995
|
-
},
|
15995
|
+
}, yc = /* @__PURE__ */ Q(k1, [["__scopeId", "data-v-a6a1f980"]]), N1 = { class: "context-menu" }, D1 = { class: "context-menu__container" }, j1 = { class: "context-menu__list" }, E1 = ["onClick"], T1 = ["src"], V1 = {
|
15996
15996
|
__name: "ContextMenu",
|
15997
15997
|
props: {
|
15998
15998
|
actions: {
|
@@ -16319,16 +16319,16 @@ const k1 = {
|
|
16319
16319
|
]))
|
16320
16320
|
], 42, H1));
|
16321
16321
|
}
|
16322
|
-
}), Ar = /* @__PURE__ */ Q(sr, [["__scopeId", "data-v-0c152b1c"]]), ir =
|
16322
|
+
}), Ar = /* @__PURE__ */ Q(sr, [["__scopeId", "data-v-0c152b1c"]]), ir = ["messageId"], or = ["src"], lr = {
|
16323
16323
|
key: 1,
|
16324
16324
|
class: "text-message__subtext"
|
16325
|
-
},
|
16325
|
+
}, rr = ["innerHTML"], ur = { class: "text-message__info-container" }, cr = {
|
16326
16326
|
key: 1,
|
16327
16327
|
class: "text-message__time"
|
16328
|
-
},
|
16328
|
+
}, dr = {
|
16329
16329
|
key: 0,
|
16330
16330
|
class: "pi pi-check"
|
16331
|
-
},
|
16331
|
+
}, gr = /* @__PURE__ */ Z({
|
16332
16332
|
__name: "TextMessage",
|
16333
16333
|
props: {
|
16334
16334
|
message: {
|
@@ -16361,86 +16361,84 @@ const k1 = {
|
|
16361
16361
|
function m(h) {
|
16362
16362
|
return h.position === "left" ? "text-message__left" : "text-message__right";
|
16363
16363
|
}
|
16364
|
-
return (h, M) => (r(), c("div",
|
16364
|
+
return (h, M) => (r(), c("div", {
|
16365
|
+
class: L(["text-message", m(e.message)]),
|
16366
|
+
messageId: e.message.messageId,
|
16367
|
+
onMouseleave: u
|
16368
|
+
}, [
|
16369
|
+
e.message.avatar ? (r(), c("img", {
|
16370
|
+
key: 0,
|
16371
|
+
class: "text-message__avatar",
|
16372
|
+
src: e.message.avatar,
|
16373
|
+
height: "32",
|
16374
|
+
width: "32",
|
16375
|
+
style: J({ gridRow: e.message.subText ? "2" : "1" })
|
16376
|
+
}, null, 12, or)) : b("", !0),
|
16377
|
+
e.message.subText ? (r(), c("p", lr, D(e.message.subText), 1)) : b("", !0),
|
16365
16378
|
o("div", {
|
16366
|
-
class:
|
16367
|
-
|
16368
|
-
onMouseleave: u
|
16379
|
+
class: "text-message__content",
|
16380
|
+
onMouseenter: l
|
16369
16381
|
}, [
|
16370
|
-
|
16382
|
+
o("p", {
|
16383
|
+
innerHTML: A.value,
|
16384
|
+
class: "text-message__text",
|
16385
|
+
onClick: i
|
16386
|
+
}, null, 8, rr),
|
16387
|
+
o("div", ur, [
|
16388
|
+
e.message.views ? (r(), c("div", {
|
16389
|
+
key: 0,
|
16390
|
+
class: "text-message__views",
|
16391
|
+
onClick: p
|
16392
|
+
}, [
|
16393
|
+
M[1] || (M[1] = o("span", { class: "pi pi-eye" }, null, -1)),
|
16394
|
+
o("p", null, D(e.message.views), 1)
|
16395
|
+
])) : b("", !0),
|
16396
|
+
e.message.time ? (r(), c("span", cr, D(e.message.time), 1)) : b("", !0),
|
16397
|
+
m(e.message) === "text-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
|
16398
|
+
key: 2,
|
16399
|
+
class: L(["text-message__status", g.value])
|
16400
|
+
}, [
|
16401
|
+
e.message.status !== "sent" ? (r(), c("span", dr)) : b("", !0),
|
16402
|
+
M[2] || (M[2] = o("span", { class: "pi pi-check" }, null, -1))
|
16403
|
+
], 2)) : b("", !0)
|
16404
|
+
]),
|
16405
|
+
s.value && e.message.actions ? (r(), c("button", {
|
16371
16406
|
key: 0,
|
16372
|
-
class: "text-
|
16373
|
-
|
16374
|
-
|
16375
|
-
|
16376
|
-
|
16377
|
-
|
16378
|
-
|
16379
|
-
|
16380
|
-
class: "text-message__content",
|
16381
|
-
onMouseenter: l
|
16382
|
-
}, [
|
16383
|
-
o("p", {
|
16384
|
-
innerHTML: A.value,
|
16385
|
-
class: "text-message__text",
|
16386
|
-
onClick: i
|
16387
|
-
}, null, 8, ur),
|
16388
|
-
o("div", cr, [
|
16389
|
-
e.message.views ? (r(), c("div", {
|
16407
|
+
class: "text-message__menu-button",
|
16408
|
+
onClick: M[0] || (M[0] = (y) => a.value = !a.value)
|
16409
|
+
}, M[3] || (M[3] = [
|
16410
|
+
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
16411
|
+
]))) : b("", !0),
|
16412
|
+
R(P, null, {
|
16413
|
+
default: W(() => [
|
16414
|
+
a.value && e.message.actions ? (r(), K(C(Ve), {
|
16390
16415
|
key: 0,
|
16391
|
-
class: "text-
|
16392
|
-
|
16393
|
-
|
16394
|
-
|
16395
|
-
o("p", null, D(e.message.views), 1)
|
16396
|
-
])) : b("", !0),
|
16397
|
-
e.message.time ? (r(), c("span", dr, D(e.message.time), 1)) : b("", !0),
|
16398
|
-
m(e.message) === "text-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
|
16399
|
-
key: 2,
|
16400
|
-
class: L(["text-message__status", g.value])
|
16401
|
-
}, [
|
16402
|
-
e.message.status !== "sent" ? (r(), c("span", gr)) : b("", !0),
|
16403
|
-
M[2] || (M[2] = o("span", { class: "pi pi-check" }, null, -1))
|
16404
|
-
], 2)) : b("", !0)
|
16416
|
+
class: "text-message__context-menu",
|
16417
|
+
actions: e.message.actions,
|
16418
|
+
onClick: d
|
16419
|
+
}, null, 8, ["actions"])) : b("", !0)
|
16405
16420
|
]),
|
16406
|
-
|
16407
|
-
|
16408
|
-
|
16409
|
-
|
16410
|
-
}, M[3] || (M[3] = [
|
16411
|
-
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
16412
|
-
]))) : b("", !0),
|
16413
|
-
R(P, null, {
|
16414
|
-
default: W(() => [
|
16415
|
-
a.value && e.message.actions ? (r(), K(C(Ve), {
|
16416
|
-
key: 0,
|
16417
|
-
class: "text-message__context-menu",
|
16418
|
-
actions: e.message.actions,
|
16419
|
-
onClick: d
|
16420
|
-
}, null, 8, ["actions"])) : b("", !0)
|
16421
|
-
]),
|
16422
|
-
_: 1
|
16423
|
-
})
|
16424
|
-
], 32)
|
16425
|
-
], 42, or)
|
16426
|
-
]));
|
16421
|
+
_: 1
|
16422
|
+
})
|
16423
|
+
], 32)
|
16424
|
+
], 42, ir));
|
16427
16425
|
}
|
16428
|
-
}),
|
16426
|
+
}), mr = /* @__PURE__ */ Q(gr, [["__scopeId", "data-v-329a2e3c"]]), pr = ["messageId"], hr = ["src"], yr = {
|
16429
16427
|
key: 1,
|
16430
16428
|
class: "audio-message__subtext"
|
16431
|
-
},
|
16429
|
+
}, Mr = ["src"], vr = { class: "audio-message__progress-bar-container" }, br = { class: "audio-message__remaining-time" }, _r = { class: "audio-message__info-container" }, Ir = { class: "audio-message__time" }, wr = {
|
16432
16430
|
key: 0,
|
16433
16431
|
class: "pi pi-check"
|
16434
|
-
},
|
16432
|
+
}, kr = ["href"], Nr = {
|
16435
16433
|
key: 1,
|
16436
16434
|
class: "audio-message__transcript-container"
|
16437
|
-
},
|
16435
|
+
}, Dr = {
|
16438
16436
|
key: 0,
|
16439
16437
|
class: "audio-message__modal-overlay"
|
16440
|
-
},
|
16438
|
+
}, jr = { class: "audio-message__modal" }, Er = {
|
16441
16439
|
key: 2,
|
16442
16440
|
class: "audio-message__text-container"
|
16443
|
-
},
|
16441
|
+
}, Tr = ["innerHTML"], Vr = /* @__PURE__ */ Z({
|
16444
16442
|
__name: "AudioMessage",
|
16445
16443
|
props: {
|
16446
16444
|
message: {
|
@@ -16499,8 +16497,8 @@ const k1 = {
|
|
16499
16497
|
height: "32",
|
16500
16498
|
width: "32",
|
16501
16499
|
style: J({ gridRow: e.message.subText ? "2" : "1" })
|
16502
|
-
}, null, 12,
|
16503
|
-
e.message.subText ? (r(), c("p",
|
16500
|
+
}, null, 12, hr)) : b("", !0),
|
16501
|
+
e.message.subText ? (r(), c("p", yr, D(e.message.subText), 1)) : b("", !0),
|
16504
16502
|
o("div", {
|
16505
16503
|
class: "audio-message__content",
|
16506
16504
|
onMouseenter: m
|
@@ -16509,7 +16507,7 @@ const k1 = {
|
|
16509
16507
|
ref_key: "player",
|
16510
16508
|
ref: a,
|
16511
16509
|
src: e.message.url
|
16512
|
-
}, null, 8,
|
16510
|
+
}, null, 8, Mr),
|
16513
16511
|
ce(o("button", {
|
16514
16512
|
class: "audio-message__play",
|
16515
16513
|
onClick: k
|
@@ -16526,14 +16524,14 @@ const k1 = {
|
|
16526
16524
|
]), 512), [
|
16527
16525
|
[Lf, s.value]
|
16528
16526
|
]),
|
16529
|
-
o("div",
|
16527
|
+
o("div", vr, [
|
16530
16528
|
o("div", {
|
16531
16529
|
class: "audio-message__progress-bar",
|
16532
16530
|
style: J({ width: B.value + "%" })
|
16533
16531
|
}, null, 4)
|
16534
16532
|
]),
|
16535
|
-
o("p",
|
16536
|
-
o("div",
|
16533
|
+
o("p", br, D(`${w.value} / ${j.value}`), 1),
|
16534
|
+
o("div", _r, [
|
16537
16535
|
e.message.views ? (r(), c("div", {
|
16538
16536
|
key: 0,
|
16539
16537
|
onClick: M,
|
@@ -16542,12 +16540,12 @@ const k1 = {
|
|
16542
16540
|
T[5] || (T[5] = o("span", { class: "pi pi-eye" }, null, -1)),
|
16543
16541
|
o("p", null, D(e.message.views), 1)
|
16544
16542
|
])) : b("", !0),
|
16545
|
-
o("span",
|
16543
|
+
o("span", Ir, D(e.message.time), 1),
|
16546
16544
|
E(e.message) === "audio-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
|
16547
16545
|
key: 1,
|
16548
16546
|
class: L(["audio-message__status", v.value])
|
16549
16547
|
}, [
|
16550
|
-
e.message.status !== "sent" ? (r(), c("span",
|
16548
|
+
e.message.status !== "sent" ? (r(), c("span", wr)) : b("", !0),
|
16551
16549
|
T[6] || (T[6] = o("span", { class: "pi pi-check" }, null, -1))
|
16552
16550
|
], 2)) : b("", !0)
|
16553
16551
|
]),
|
@@ -16566,7 +16564,7 @@ const k1 = {
|
|
16566
16564
|
target: "_blank"
|
16567
16565
|
}, T[8] || (T[8] = [
|
16568
16566
|
o("span", { class: "pi pi-download" }, null, -1)
|
16569
|
-
]), 8,
|
16567
|
+
]), 8, kr),
|
16570
16568
|
R(P, null, {
|
16571
16569
|
default: W(() => [
|
16572
16570
|
l.value && e.message.actions ? (r(), K(C(Ve), {
|
@@ -16578,7 +16576,7 @@ const k1 = {
|
|
16578
16576
|
]),
|
16579
16577
|
_: 1
|
16580
16578
|
}),
|
16581
|
-
(U = e.message.transcript) != null && U.text ? (r(), c("div",
|
16579
|
+
(U = e.message.transcript) != null && U.text ? (r(), c("div", Nr, [
|
16582
16580
|
o("p", {
|
16583
16581
|
onClick: T[1] || (T[1] = (N) => d.value = !d.value)
|
16584
16582
|
}, D(e.message.transcript.text), 1)
|
@@ -16588,8 +16586,8 @@ const k1 = {
|
|
16588
16586
|
default: W(() => {
|
16589
16587
|
var N;
|
16590
16588
|
return [
|
16591
|
-
d.value ? (r(), c("div",
|
16592
|
-
o("div",
|
16589
|
+
d.value ? (r(), c("div", Dr, [
|
16590
|
+
o("div", jr, [
|
16593
16591
|
o("button", {
|
16594
16592
|
class: "audio-message__modal-close-button",
|
16595
16593
|
onClick: T[2] || (T[2] = (V) => d.value = !1)
|
@@ -16606,17 +16604,17 @@ const k1 = {
|
|
16606
16604
|
_: 1
|
16607
16605
|
})
|
16608
16606
|
])),
|
16609
|
-
e.message.text ? (r(), c("div",
|
16607
|
+
e.message.text ? (r(), c("div", Er, [
|
16610
16608
|
o("p", {
|
16611
16609
|
innerHTML: g.value,
|
16612
16610
|
onClick: p
|
16613
|
-
}, null, 8,
|
16611
|
+
}, null, 8, Tr)
|
16614
16612
|
])) : b("", !0)
|
16615
16613
|
], 32)
|
16616
|
-
], 42,
|
16614
|
+
], 42, pr);
|
16617
16615
|
};
|
16618
16616
|
}
|
16619
|
-
}),
|
16617
|
+
}), xr = /* @__PURE__ */ Q(Vr, [["__scopeId", "data-v-1e745361"]]), Sr = { class: "date-message" }, Cr = { class: "date-message__container" }, zr = { class: "date-message__text" }, Or = /* @__PURE__ */ Z({
|
16620
16618
|
__name: "DateMessage",
|
16621
16619
|
props: {
|
16622
16620
|
message: {
|
@@ -16627,28 +16625,28 @@ const k1 = {
|
|
16627
16625
|
}
|
16628
16626
|
},
|
16629
16627
|
setup(e) {
|
16630
|
-
return (f, t) => (r(), c("div",
|
16631
|
-
o("div",
|
16632
|
-
o("p",
|
16628
|
+
return (f, t) => (r(), c("div", Sr, [
|
16629
|
+
o("div", Cr, [
|
16630
|
+
o("p", zr, D(e.message.text), 1)
|
16633
16631
|
])
|
16634
16632
|
]));
|
16635
16633
|
}
|
16636
|
-
}),
|
16634
|
+
}), Lr = /* @__PURE__ */ Q(Or, [["__scopeId", "data-v-b2b05bd8"]]), Ur = ["messageId"], Br = ["src"], Qr = {
|
16637
16635
|
key: 1,
|
16638
16636
|
class: "video-message__subtext"
|
16639
|
-
},
|
16637
|
+
}, Rr = { class: "video-message__content" }, Yr = ["src"], qr = {
|
16640
16638
|
key: 0,
|
16641
16639
|
class: "video-message__info-container"
|
16642
|
-
},
|
16640
|
+
}, $r = { class: "video-message__time" }, Hr = {
|
16643
16641
|
key: 0,
|
16644
16642
|
class: "pi pi-check"
|
16645
|
-
},
|
16643
|
+
}, Fr = ["href"], Pr = {
|
16646
16644
|
key: 0,
|
16647
16645
|
class: "video-message__text-container"
|
16648
|
-
},
|
16646
|
+
}, Wr = ["innerHTML"], Kr = {
|
16649
16647
|
key: 0,
|
16650
16648
|
class: "video-message__modal-overlay"
|
16651
|
-
},
|
16649
|
+
}, Jr = { class: "video-message__modal" }, Gr = ["src", "alt"], Zr = /* @__PURE__ */ Z({
|
16652
16650
|
__name: "VideoMessage",
|
16653
16651
|
props: {
|
16654
16652
|
message: {
|
@@ -16696,9 +16694,9 @@ const k1 = {
|
|
16696
16694
|
src: e.message.avatar,
|
16697
16695
|
height: "32",
|
16698
16696
|
width: "32"
|
16699
|
-
}, null, 8,
|
16700
|
-
e.message.subText ? (r(), c("p",
|
16701
|
-
o("div",
|
16697
|
+
}, null, 8, Br)) : b("", !0),
|
16698
|
+
e.message.subText ? (r(), c("p", Qr, D(e.message.subText), 1)) : b("", !0),
|
16699
|
+
o("div", Rr, [
|
16702
16700
|
o("div", {
|
16703
16701
|
class: "video-message__preview-button",
|
16704
16702
|
onClick: w[0] || (w[0] = (j) => i.value = !0),
|
@@ -16714,10 +16712,10 @@ const k1 = {
|
|
16714
16712
|
src: e.message.url,
|
16715
16713
|
muted: !0,
|
16716
16714
|
autoplay: ""
|
16717
|
-
}, null, 44,
|
16715
|
+
}, null, 44, Yr),
|
16718
16716
|
R(P, { name: "modal-fade" }, {
|
16719
16717
|
default: W(() => [
|
16720
|
-
g.value ? (r(), c("div",
|
16718
|
+
g.value ? (r(), c("div", qr, [
|
16721
16719
|
e.message.views ? (r(), c("div", {
|
16722
16720
|
key: 0,
|
16723
16721
|
onClick: Qe(m, ["stop"]),
|
@@ -16726,12 +16724,12 @@ const k1 = {
|
|
16726
16724
|
w[4] || (w[4] = o("span", { class: "pi pi-eye" }, null, -1)),
|
16727
16725
|
o("p", null, D(e.message.views), 1)
|
16728
16726
|
])) : b("", !0),
|
16729
|
-
o("span",
|
16727
|
+
o("span", $r, D(e.message.time), 1),
|
16730
16728
|
a(e.message) === "video-message__right" && C(Ke).includes(e.message.status) ? (r(), c("div", {
|
16731
16729
|
key: 1,
|
16732
16730
|
class: L(["video-message__status", v.value])
|
16733
16731
|
}, [
|
16734
|
-
e.message.status !== "sent" ? (r(), c("span",
|
16732
|
+
e.message.status !== "sent" ? (r(), c("span", Hr)) : b("", !0),
|
16735
16733
|
w[5] || (w[5] = o("span", { class: "pi pi-check" }, null, -1))
|
16736
16734
|
], 2)) : b("", !0)
|
16737
16735
|
])) : b("", !0)
|
@@ -16749,7 +16747,7 @@ const k1 = {
|
|
16749
16747
|
target: "_blank"
|
16750
16748
|
}, w[6] || (w[6] = [
|
16751
16749
|
o("span", { class: "pi pi-download" }, null, -1)
|
16752
|
-
]), 8,
|
16750
|
+
]), 8, Fr)) : b("", !0)
|
16753
16751
|
]),
|
16754
16752
|
_: 1
|
16755
16753
|
})
|
@@ -16777,18 +16775,18 @@ const k1 = {
|
|
16777
16775
|
]),
|
16778
16776
|
_: 1
|
16779
16777
|
}),
|
16780
|
-
e.message.text ? (r(), c("div",
|
16778
|
+
e.message.text ? (r(), c("div", Pr, [
|
16781
16779
|
o("p", {
|
16782
16780
|
innerHTML: d.value,
|
16783
16781
|
onClick: p
|
16784
|
-
}, null, 8,
|
16782
|
+
}, null, 8, Wr)
|
16785
16783
|
])) : b("", !0)
|
16786
16784
|
]),
|
16787
16785
|
(r(), K(yf, { to: "body" }, [
|
16788
16786
|
R(P, { name: "modal-fade" }, {
|
16789
16787
|
default: W(() => [
|
16790
|
-
i.value ? (r(), c("div",
|
16791
|
-
o("div",
|
16788
|
+
i.value ? (r(), c("div", Kr, [
|
16789
|
+
o("div", Jr, [
|
16792
16790
|
o("button", {
|
16793
16791
|
class: "video-message__modal-close-button",
|
16794
16792
|
onClick: w[3] || (w[3] = (j) => i.value = !1)
|
@@ -16805,37 +16803,37 @@ const k1 = {
|
|
16805
16803
|
alt: e.message.alt,
|
16806
16804
|
controls: "",
|
16807
16805
|
autoplay: ""
|
16808
|
-
}, null, 8,
|
16806
|
+
}, null, 8, Gr)
|
16809
16807
|
])
|
16810
16808
|
])) : b("", !0)
|
16811
16809
|
]),
|
16812
16810
|
_: 1
|
16813
16811
|
})
|
16814
16812
|
]))
|
16815
|
-
], 42,
|
16813
|
+
], 42, Ur));
|
16816
16814
|
}
|
16817
|
-
}),
|
16815
|
+
}), Xr = /* @__PURE__ */ Q(Zr, [["__scopeId", "data-v-e3f7949f"]]), eu = { class: "call-message" }, fu = ["messageId"], tu = ["src"], nu = {
|
16818
16816
|
key: 1,
|
16819
16817
|
class: "call-message__subtext"
|
16820
|
-
},
|
16818
|
+
}, au = { class: "call-message__content" }, su = {
|
16821
16819
|
key: 0,
|
16822
16820
|
class: "call-message__title"
|
16823
|
-
},
|
16821
|
+
}, Au = {
|
16824
16822
|
key: 1,
|
16825
16823
|
class: "call-message__title"
|
16826
|
-
},
|
16824
|
+
}, iu = {
|
16827
16825
|
key: 2,
|
16828
16826
|
class: "call-message__duration"
|
16829
|
-
},
|
16827
|
+
}, ou = {
|
16830
16828
|
key: 3,
|
16831
16829
|
class: "call-message__duration"
|
16832
|
-
},
|
16830
|
+
}, lu = {
|
16833
16831
|
key: 4,
|
16834
16832
|
class: "call-message__duration"
|
16835
|
-
},
|
16833
|
+
}, ru = { class: "call-message__info-container" }, uu = { class: "call-message__time" }, cu = {
|
16836
16834
|
key: 0,
|
16837
16835
|
class: "call-message__modal-overlay"
|
16838
|
-
},
|
16836
|
+
}, du = { class: "call-message__modal" }, gu = /* @__PURE__ */ Z({
|
16839
16837
|
__name: "CallMessage",
|
16840
16838
|
props: {
|
16841
16839
|
message: {
|
@@ -16861,7 +16859,7 @@ const k1 = {
|
|
16861
16859
|
}
|
16862
16860
|
return (a, s) => {
|
16863
16861
|
var A;
|
16864
|
-
return r(), c("div",
|
16862
|
+
return r(), c("div", eu, [
|
16865
16863
|
o("div", {
|
16866
16864
|
class: L(n(e.message, t.message)),
|
16867
16865
|
messageId: e.message.messageId
|
@@ -16873,17 +16871,17 @@ const k1 = {
|
|
16873
16871
|
height: "32",
|
16874
16872
|
width: "32",
|
16875
16873
|
style: J({ gridRow: e.message.subText ? "2" : "1" })
|
16876
|
-
}, null, 12,
|
16877
|
-
e.message.subText ? (r(), c("p",
|
16878
|
-
o("div",
|
16874
|
+
}, null, 12, tu)) : b("", !0),
|
16875
|
+
e.message.subText ? (r(), c("p", nu, D(e.message.subText), 1)) : b("", !0),
|
16876
|
+
o("div", au, [
|
16879
16877
|
o("span", {
|
16880
16878
|
class: "call-message__icon pi pi-phone",
|
16881
16879
|
style: J({ color: e.message.isMissedCall ? "var(--p-red-500)" : "var(--neutral-100)" })
|
16882
16880
|
}, null, 4),
|
16883
|
-
e.message.isMissedCall ? (r(), c("span",
|
16884
|
-
e.message.callDuration ? (r(), c("span",
|
16885
|
-
o("div",
|
16886
|
-
o("span",
|
16881
|
+
e.message.isMissedCall ? (r(), c("span", Au, "Пропущенный аудиозвонок")) : (r(), c("span", su, "Аудиозвонок")),
|
16882
|
+
e.message.callDuration ? (r(), c("span", iu, D(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (r(), c("span", ou, "Нажмите, чтобы перезвонить")) : (r(), c("span", lu, "Нет ответа")),
|
16883
|
+
o("div", ru, [
|
16884
|
+
o("span", uu, D(e.message.time), 1)
|
16887
16885
|
]),
|
16888
16886
|
(A = e.message.transcript) != null && A.dialog ? (r(), c("button", {
|
16889
16887
|
key: 5,
|
@@ -16897,8 +16895,8 @@ const k1 = {
|
|
16897
16895
|
default: W(() => {
|
16898
16896
|
var i;
|
16899
16897
|
return [
|
16900
|
-
f.value ? (r(), c("div",
|
16901
|
-
o("div",
|
16898
|
+
f.value ? (r(), c("div", cu, [
|
16899
|
+
o("div", du, [
|
16902
16900
|
o("button", {
|
16903
16901
|
class: "call-message__modal-close-button",
|
16904
16902
|
onClick: s[1] || (s[1] = (l) => f.value = !1)
|
@@ -16921,11 +16919,11 @@ const k1 = {
|
|
16921
16919
|
})
|
16922
16920
|
]))
|
16923
16921
|
])
|
16924
|
-
], 10,
|
16922
|
+
], 10, fu)
|
16925
16923
|
]);
|
16926
16924
|
};
|
16927
16925
|
}
|
16928
|
-
}),
|
16926
|
+
}), mu = /* @__PURE__ */ Q(gu, [["__scopeId", "data-v-8307ae2a"]]), pu = { class: "system-message" }, hu = { class: "system-message__container" }, yu = { class: "system-message__text" }, Mu = /* @__PURE__ */ Z({
|
16929
16927
|
__name: "SystemMessage",
|
16930
16928
|
props: {
|
16931
16929
|
message: {
|
@@ -16934,16 +16932,16 @@ const k1 = {
|
|
16934
16932
|
}
|
16935
16933
|
},
|
16936
16934
|
setup(e) {
|
16937
|
-
return (f, t) => (r(), c("div",
|
16938
|
-
o("div",
|
16939
|
-
o("p",
|
16935
|
+
return (f, t) => (r(), c("div", pu, [
|
16936
|
+
o("div", hu, [
|
16937
|
+
o("p", yu, D(e.message.text), 1)
|
16940
16938
|
])
|
16941
16939
|
]));
|
16942
16940
|
}
|
16943
|
-
}),
|
16941
|
+
}), vu = /* @__PURE__ */ Q(Mu, [["__scopeId", "data-v-d0876c1e"]]), bu = { class: "typing-message" }, _u = { class: "typing-message__container" }, Iu = ["src"], wu = {
|
16944
16942
|
key: 1,
|
16945
16943
|
class: "typing-message__subtext"
|
16946
|
-
},
|
16944
|
+
}, ku = /* @__PURE__ */ Z({
|
16947
16945
|
__name: "TypingMessage",
|
16948
16946
|
props: {
|
16949
16947
|
message: {
|
@@ -16952,8 +16950,8 @@ const k1 = {
|
|
16952
16950
|
}
|
16953
16951
|
},
|
16954
16952
|
setup(e) {
|
16955
|
-
return (f, t) => (r(), c("div",
|
16956
|
-
o("div",
|
16953
|
+
return (f, t) => (r(), c("div", bu, [
|
16954
|
+
o("div", _u, [
|
16957
16955
|
e.message.avatar ? (r(), c("img", {
|
16958
16956
|
key: 0,
|
16959
16957
|
class: "typing-message__avatar",
|
@@ -16961,23 +16959,23 @@ const k1 = {
|
|
16961
16959
|
height: "32",
|
16962
16960
|
width: "32",
|
16963
16961
|
style: J({ gridRow: e.message.subText ? "2" : "1" })
|
16964
|
-
}, null, 12,
|
16965
|
-
e.message.subText ? (r(), c("p",
|
16962
|
+
}, null, 12, Iu)) : b("", !0),
|
16963
|
+
e.message.subText ? (r(), c("p", wu, D(e.message.subText), 1)) : b("", !0),
|
16966
16964
|
t[0] || (t[0] = o("div", { class: "typing-message__loader-container" }, [
|
16967
16965
|
o("div", { class: "typing-message__loader" })
|
16968
16966
|
], -1))
|
16969
16967
|
])
|
16970
16968
|
]));
|
16971
16969
|
}
|
16972
|
-
}), Qn = /* @__PURE__ */ Q(
|
16970
|
+
}), Qn = /* @__PURE__ */ Q(ku, [["__scopeId", "data-v-88389095"]]), Nu = { class: "modal-backdrop" }, Du = {
|
16973
16971
|
class: "modal",
|
16974
16972
|
role: "dialog",
|
16975
16973
|
"aria-labelledby": "modalTitle",
|
16976
16974
|
"aria-describedby": "modalDescription"
|
16977
|
-
},
|
16975
|
+
}, ju = {
|
16978
16976
|
id: "modalDescription",
|
16979
16977
|
class: "modal-body"
|
16980
|
-
},
|
16978
|
+
}, Eu = { class: "buttons" }, Tu = {
|
16981
16979
|
__name: "Modal",
|
16982
16980
|
emits: ["close", "submit"],
|
16983
16981
|
setup(e, { emit: f }) {
|
@@ -16986,12 +16984,12 @@ const k1 = {
|
|
16986
16984
|
}, a = I(null);
|
16987
16985
|
return (s, A) => (r(), K(P, { name: "modal-fade" }, {
|
16988
16986
|
default: W(() => [
|
16989
|
-
o("div",
|
16990
|
-
o("div",
|
16991
|
-
o("div",
|
16987
|
+
o("div", Nu, [
|
16988
|
+
o("div", Du, [
|
16989
|
+
o("div", ju, [
|
16992
16990
|
te(s.$slots, "default", {}, void 0, !0)
|
16993
16991
|
]),
|
16994
|
-
o("div",
|
16992
|
+
o("div", Eu, [
|
16995
16993
|
o("button", {
|
16996
16994
|
type: "button",
|
16997
16995
|
class: "btn-green",
|
@@ -17011,7 +17009,7 @@ const k1 = {
|
|
17011
17009
|
_: 3
|
17012
17010
|
}));
|
17013
17011
|
}
|
17014
|
-
},
|
17012
|
+
}, Vu = /* @__PURE__ */ Q(Tu, [["__scopeId", "data-v-d48a1772"]]);
|
17015
17013
|
function on({ component: e, attrs: f }) {
|
17016
17014
|
return new Promise((t) => {
|
17017
17015
|
const n = document.createElement("div");
|
@@ -17026,7 +17024,7 @@ function on({ component: e, attrs: f }) {
|
|
17026
17024
|
}, l = Z({
|
17027
17025
|
render() {
|
17028
17026
|
return yn(
|
17029
|
-
|
17027
|
+
Vu,
|
17030
17028
|
{
|
17031
17029
|
onSubmit: A,
|
17032
17030
|
onClose: s
|
@@ -17046,17 +17044,17 @@ function on({ component: e, attrs: f }) {
|
|
17046
17044
|
u.mount(n);
|
17047
17045
|
});
|
17048
17046
|
}
|
17049
|
-
const
|
17047
|
+
const Mc = async (e, f) => {
|
17050
17048
|
const t = await on({
|
17051
17049
|
//в component должен быть встроен emit change(key: value)
|
17052
|
-
component: import("./SelectUser2-
|
17050
|
+
component: import("./SelectUser2-CUi7WZKk.js"),
|
17053
17051
|
attrs: {
|
17054
17052
|
title: e,
|
17055
17053
|
users: f
|
17056
17054
|
}
|
17057
17055
|
});
|
17058
17056
|
return console.log("data", t), t;
|
17059
|
-
},
|
17057
|
+
}, vc = async (e) => {
|
17060
17058
|
const f = await on({
|
17061
17059
|
//в component должен быть встроен emit change(key: value)
|
17062
17060
|
component: import("./CreateChat-fkFKBxtQ.js"),
|
@@ -17065,13 +17063,13 @@ const vc = async (e, f) => {
|
|
17065
17063
|
}
|
17066
17064
|
});
|
17067
17065
|
return console.log("data", f), f;
|
17068
|
-
},
|
17066
|
+
}, bc = async (e) => await on({
|
17069
17067
|
//в component должен быть встроен emit change(key: value)
|
17070
17068
|
component: import("./CreateChat2-DgUQ2F5L.js"),
|
17071
17069
|
attrs: {
|
17072
17070
|
title: e
|
17073
17071
|
}
|
17074
|
-
}),
|
17072
|
+
}), xu = ["id"], _c = {
|
17075
17073
|
__name: "BaseContainer",
|
17076
17074
|
props: {
|
17077
17075
|
height: String,
|
@@ -17089,9 +17087,9 @@ const vc = async (e, f) => {
|
|
17089
17087
|
}, [
|
17090
17088
|
te(t.$slots, "default")
|
17091
17089
|
], 4)
|
17092
|
-
], 8,
|
17090
|
+
], 8, xu));
|
17093
17091
|
}
|
17094
|
-
},
|
17092
|
+
}, Su = ["id"], Cu = { class: "float-window__container" }, zu = ["src", "alt"], Ou = { class: "float-window__title" }, Lu = {
|
17095
17093
|
__name: "FloatContainer",
|
17096
17094
|
props: {
|
17097
17095
|
title: {
|
@@ -17151,7 +17149,7 @@ const vc = async (e, f) => {
|
|
17151
17149
|
display: "flex"
|
17152
17150
|
})
|
17153
17151
|
}, [
|
17154
|
-
o("div",
|
17152
|
+
o("div", Cu, [
|
17155
17153
|
o("div", {
|
17156
17154
|
ref_key: "container",
|
17157
17155
|
ref: s,
|
@@ -17166,8 +17164,8 @@ const vc = async (e, f) => {
|
|
17166
17164
|
class: "float-window__avatar",
|
17167
17165
|
src: t.avatar,
|
17168
17166
|
alt: t.title
|
17169
|
-
}, null, 8,
|
17170
|
-
o("p",
|
17167
|
+
}, null, 8, zu)) : b("", !0),
|
17168
|
+
o("p", Ou, D(t.title), 1),
|
17171
17169
|
o("button", {
|
17172
17170
|
class: "float-window__close-button",
|
17173
17171
|
onClick: M[0] || (M[0] = (y) => h.$emit("close-window"))
|
@@ -17182,20 +17180,20 @@ const vc = async (e, f) => {
|
|
17182
17180
|
te(h.$slots, "default", {}, void 0, !0)
|
17183
17181
|
], 4)
|
17184
17182
|
])
|
17185
|
-
], 12,
|
17183
|
+
], 12, Su));
|
17186
17184
|
}
|
17187
|
-
},
|
17188
|
-
function
|
17189
|
-
return r(), c("div",
|
17190
|
-
o("div",
|
17185
|
+
}, Ic = /* @__PURE__ */ Q(Lu, [["__scopeId", "data-v-b0994783"]]), Uu = {}, Bu = { class: "base-layout__container" }, Qu = { class: "base-layout__first-col" }, Ru = { class: "base-layout__second-col" };
|
17186
|
+
function Yu(e, f) {
|
17187
|
+
return r(), c("div", Bu, [
|
17188
|
+
o("div", Qu, [
|
17191
17189
|
te(e.$slots, "first-col", {}, void 0, !0)
|
17192
17190
|
]),
|
17193
|
-
o("div",
|
17191
|
+
o("div", Ru, [
|
17194
17192
|
te(e.$slots, "second-col", {}, void 0, !0)
|
17195
17193
|
])
|
17196
17194
|
]);
|
17197
17195
|
}
|
17198
|
-
const
|
17196
|
+
const wc = /* @__PURE__ */ Q(Uu, [["render", Yu], ["__scopeId", "data-v-a5df3fcf"]]), qu = { class: "extend-layout__container" }, $u = { class: "extend-layout__first-col" }, Hu = { class: "extend-layout__third-col" }, Fu = {
|
17199
17197
|
__name: "ExtendedLayout",
|
17200
17198
|
setup(e) {
|
17201
17199
|
const f = I(null);
|
@@ -17212,8 +17210,8 @@ const kc = /* @__PURE__ */ Q(Bu, [["render", qu], ["__scopeId", "data-v-a5df3fcf
|
|
17212
17210
|
};
|
17213
17211
|
return we(() => {
|
17214
17212
|
f.value && (f.value.style.width = "350px");
|
17215
|
-
}), (u, g) => (r(), c("div",
|
17216
|
-
o("div",
|
17213
|
+
}), (u, g) => (r(), c("div", qu, [
|
17214
|
+
o("div", $u, [
|
17217
17215
|
te(u.$slots, "first-col", {}, void 0, !0)
|
17218
17216
|
]),
|
17219
17217
|
o("div", {
|
@@ -17226,26 +17224,26 @@ const kc = /* @__PURE__ */ Q(Bu, [["render", qu], ["__scopeId", "data-v-a5df3fcf
|
|
17226
17224
|
}, [
|
17227
17225
|
te(u.$slots, "second-col", {}, void 0, !0)
|
17228
17226
|
], 36),
|
17229
|
-
o("div",
|
17227
|
+
o("div", Hu, [
|
17230
17228
|
te(u.$slots, "third-col", {}, void 0, !0)
|
17231
17229
|
])
|
17232
17230
|
]));
|
17233
17231
|
}
|
17234
|
-
},
|
17235
|
-
function
|
17236
|
-
return r(), c("div",
|
17237
|
-
o("div",
|
17232
|
+
}, kc = /* @__PURE__ */ Q(Fu, [["__scopeId", "data-v-7c3b977d"]]), Pu = {}, Wu = { class: "base-layout__container" }, Ku = { class: "base-layout__first-col" };
|
17233
|
+
function Ju(e, f) {
|
17234
|
+
return r(), c("div", Wu, [
|
17235
|
+
o("div", Ku, [
|
17238
17236
|
te(e.$slots, "default", {}, void 0, !0)
|
17239
17237
|
])
|
17240
17238
|
]);
|
17241
17239
|
}
|
17242
|
-
const
|
17240
|
+
const Nc = /* @__PURE__ */ Q(Pu, [["render", Ju], ["__scopeId", "data-v-e71ea0ed"]]), Gu = { class: "chat-wrapper" }, Zu = {
|
17243
17241
|
key: 0,
|
17244
17242
|
class: "chat-wrapper__selected-chat"
|
17245
|
-
},
|
17243
|
+
}, Xu = {
|
17246
17244
|
key: 1,
|
17247
17245
|
style: { width: "100%" }
|
17248
|
-
},
|
17246
|
+
}, ec = /* @__PURE__ */ Z({
|
17249
17247
|
__name: "ChatWrapper",
|
17250
17248
|
props: {
|
17251
17249
|
isOpenChatPanel: {
|
@@ -17258,10 +17256,10 @@ const Dc = /* @__PURE__ */ Q(Wu, [["render", Gu], ["__scopeId", "data-v-e71ea0ed
|
|
17258
17256
|
}
|
17259
17257
|
},
|
17260
17258
|
setup(e) {
|
17261
|
-
return (f, t) => (r(), c("div",
|
17262
|
-
e.isSelectedChat ? (r(), c("div",
|
17259
|
+
return (f, t) => (r(), c("div", Gu, [
|
17260
|
+
e.isSelectedChat ? (r(), c("div", Zu, [
|
17263
17261
|
te(f.$slots, "default", {}, void 0, !0)
|
17264
|
-
])) : (r(), c("div",
|
17262
|
+
])) : (r(), c("div", Xu, [
|
17265
17263
|
o("p", null, D(C(Oe)("layout.ChatWrapper.noSelectedChat")), 1)
|
17266
17264
|
])),
|
17267
17265
|
e.isOpenChatPanel ? (r(), c("div", {
|
@@ -17273,50 +17271,50 @@ const Dc = /* @__PURE__ */ Q(Wu, [["render", Gu], ["__scopeId", "data-v-e71ea0ed
|
|
17273
17271
|
], 4)) : b("", !0)
|
17274
17272
|
]));
|
17275
17273
|
}
|
17276
|
-
}),
|
17274
|
+
}), Dc = /* @__PURE__ */ Q(ec, [["__scopeId", "data-v-12c6a622"]]);
|
17277
17275
|
export {
|
17278
|
-
|
17276
|
+
xr as A,
|
17279
17277
|
fa as B,
|
17280
|
-
|
17281
|
-
|
17282
|
-
|
17278
|
+
mu as C,
|
17279
|
+
Lr as D,
|
17280
|
+
kc as E,
|
17283
17281
|
$1 as F,
|
17284
|
-
|
17285
|
-
|
17282
|
+
oc as G,
|
17283
|
+
lc as H,
|
17286
17284
|
Ar as I,
|
17287
|
-
|
17285
|
+
rc as J,
|
17288
17286
|
Nn as K,
|
17289
17287
|
Ke as L,
|
17290
17288
|
Je as M,
|
17291
|
-
|
17292
|
-
|
17293
|
-
|
17294
|
-
|
17289
|
+
vu as S,
|
17290
|
+
mr as T,
|
17291
|
+
Ac as U,
|
17292
|
+
Xr as V,
|
17295
17293
|
Q as _,
|
17296
17294
|
Qn as a,
|
17297
|
-
|
17298
|
-
|
17299
|
-
|
17300
|
-
|
17301
|
-
|
17302
|
-
|
17303
|
-
|
17304
|
-
|
17305
|
-
|
17295
|
+
tc as b,
|
17296
|
+
nc as c,
|
17297
|
+
ac as d,
|
17298
|
+
sc as e,
|
17299
|
+
uc as f,
|
17300
|
+
cc as g,
|
17301
|
+
dc as h,
|
17302
|
+
gc as i,
|
17303
|
+
mc as j,
|
17306
17304
|
Nt as k,
|
17307
17305
|
FA as l,
|
17308
17306
|
gi as m,
|
17309
|
-
|
17310
|
-
|
17311
|
-
|
17307
|
+
pc as n,
|
17308
|
+
hc as o,
|
17309
|
+
yc as p,
|
17312
17310
|
Ve as q,
|
17313
|
-
|
17314
|
-
|
17315
|
-
|
17316
|
-
|
17317
|
-
|
17318
|
-
|
17319
|
-
|
17320
|
-
|
17321
|
-
|
17311
|
+
vc as r,
|
17312
|
+
bc as s,
|
17313
|
+
_c as t,
|
17314
|
+
Mc as u,
|
17315
|
+
Ic as v,
|
17316
|
+
wc as w,
|
17317
|
+
Nc as x,
|
17318
|
+
Dc as y,
|
17319
|
+
ic as z
|
17322
17320
|
};
|