@mobilon-dev/chotto 0.0.31 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref as p, openBlock as n, createElementBlock as s, createElementVNode as t, toDisplayString as i, Fragment as m, renderList as _, withDirectives as h, vModelCheckbox as v } from "vue";
|
2
|
-
import { _ as f } from "./index-
|
3
|
-
const g = { class: "participant-list" }, k = ["id", "value"], y = ["for"],
|
2
|
+
import { _ as f } from "./index-Bz-UKF_D.js";
|
3
|
+
const g = { class: "participant-list" }, k = ["id", "value"], y = ["for"], b = {
|
4
4
|
__name: "SelectUser2",
|
5
5
|
props: {
|
6
6
|
users: {
|
@@ -14,10 +14,10 @@ const g = { class: "participant-list" }, k = ["id", "value"], y = ["for"], x = {
|
|
14
14
|
},
|
15
15
|
emits: ["change"],
|
16
16
|
setup(o, { emit: a }) {
|
17
|
-
const r = p([]), c = a,
|
17
|
+
const r = p([]), c = a, d = () => {
|
18
18
|
console.log("check"), c("change", { selectedUsers: r.value });
|
19
19
|
};
|
20
|
-
return (
|
20
|
+
return (x, l) => (n(), s("div", null, [
|
21
21
|
t("h2", null, i(o.title), 1),
|
22
22
|
t("div", g, [
|
23
23
|
(n(!0), s(m, null, _(o.users, (e) => (n(), s("div", {
|
@@ -26,10 +26,10 @@ const g = { class: "participant-list" }, k = ["id", "value"], y = ["for"], x = {
|
|
26
26
|
}, [
|
27
27
|
h(t("input", {
|
28
28
|
id: e.userId,
|
29
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
29
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => r.value = u),
|
30
30
|
type: "checkbox",
|
31
31
|
value: e.userId,
|
32
|
-
onChange:
|
32
|
+
onChange: d
|
33
33
|
}, null, 40, k), [
|
34
34
|
[v, r.value]
|
35
35
|
]),
|
@@ -40,7 +40,7 @@ const g = { class: "participant-list" }, k = ["id", "value"], y = ["for"], x = {
|
|
40
40
|
])
|
41
41
|
]));
|
42
42
|
}
|
43
|
-
},
|
43
|
+
}, S = /* @__PURE__ */ f(b, [["__scopeId", "data-v-db76010b"]]);
|
44
44
|
export {
|
45
|
-
|
45
|
+
S as default
|
46
46
|
};
|
@@ -38,7 +38,7 @@ const N = (e, f) => {
|
|
38
38
|
])
|
39
39
|
]));
|
40
40
|
}
|
41
|
-
}, de = /* @__PURE__ */ N(Yn, [["__scopeId", "data-v-
|
41
|
+
}, de = /* @__PURE__ */ N(Yn, [["__scopeId", "data-v-8e12dd7e"]]), Rn = ["messageId"], qn = ["src"], Fn = {
|
42
42
|
key: 1,
|
43
43
|
class: "file-message__subtext"
|
44
44
|
}, Jn = ["href"], Wn = { class: "file-message__info-container" }, Hn = { class: "file-message__time" }, Kn = {
|
@@ -129,7 +129,7 @@ const N = (e, f) => {
|
|
129
129
|
], 32)
|
130
130
|
], 42, Rn));
|
131
131
|
}
|
132
|
-
}, Zn = /* @__PURE__ */ N(Pn, [["__scopeId", "data-v-
|
132
|
+
}, Zn = /* @__PURE__ */ N(Pn, [["__scopeId", "data-v-c2ab0283"]]), $n = ["messageId"], Gn = ["src"], Xn = {
|
133
133
|
key: 1,
|
134
134
|
class: "image-message__subtext"
|
135
135
|
}, ea = ["src", "alt"], fa = { class: "image-message__info-container" }, na = { class: "image-message__time" }, aa = {
|
@@ -248,7 +248,7 @@ const N = (e, f) => {
|
|
248
248
|
], 32)
|
249
249
|
], 42, $n));
|
250
250
|
}
|
251
|
-
}, oa = /* @__PURE__ */ N(ia, [["__scopeId", "data-v-
|
251
|
+
}, oa = /* @__PURE__ */ N(ia, [["__scopeId", "data-v-4fd6ddff"]]), ua = { class: "text-message" }, ra = ["messageId"], la = ["src"], ca = {
|
252
252
|
key: 1,
|
253
253
|
class: "text-message__subtext"
|
254
254
|
}, da = { class: "text-message__text" }, ga = { class: "text-message__info-container" }, ma = {
|
@@ -339,7 +339,7 @@ const N = (e, f) => {
|
|
339
339
|
], 42, ra)
|
340
340
|
]));
|
341
341
|
}
|
342
|
-
}, ha = /* @__PURE__ */ N(Ma, [["__scopeId", "data-v-
|
342
|
+
}, ha = /* @__PURE__ */ N(Ma, [["__scopeId", "data-v-222290f8"]]), ba = ["messageId"], ya = ["src"], va = {
|
343
343
|
key: 1,
|
344
344
|
class: "audio-message__subtext"
|
345
345
|
}, Ia = ["src"], _a = { class: "audio-message__progress-bar-container" }, wa = { class: "audio-message__remaining-time" }, Da = { class: "audio-message__info-container" }, Na = { class: "audio-message__time" }, ka = {
|
@@ -461,7 +461,7 @@ const N = (e, f) => {
|
|
461
461
|
], 32)
|
462
462
|
], 42, ba));
|
463
463
|
}
|
464
|
-
}, Va = /* @__PURE__ */ N(ja, [["__scopeId", "data-v-
|
464
|
+
}, Va = /* @__PURE__ */ N(ja, [["__scopeId", "data-v-f1daf135"]]), Ea = { class: "date-message" }, Ta = { class: "date-message__container" }, xa = { class: "date-message__text" }, Sa = {
|
465
465
|
__name: "DateMessage",
|
466
466
|
props: {
|
467
467
|
message: {
|
@@ -478,7 +478,7 @@ const N = (e, f) => {
|
|
478
478
|
])
|
479
479
|
]));
|
480
480
|
}
|
481
|
-
}, za = /* @__PURE__ */ N(Sa, [["__scopeId", "data-v-
|
481
|
+
}, za = /* @__PURE__ */ N(Sa, [["__scopeId", "data-v-2ef5fab4"]]), Oa = {
|
482
482
|
key: 0,
|
483
483
|
class: "chat-info__container"
|
484
484
|
}, Ca = { class: "chat-info__avatar-container" }, Ua = ["src"], La = {
|
@@ -516,7 +516,7 @@ const N = (e, f) => {
|
|
516
516
|
])
|
517
517
|
])) : y("", !0);
|
518
518
|
}
|
519
|
-
}, eo = /* @__PURE__ */ N(qa, [["__scopeId", "data-v-
|
519
|
+
}, eo = /* @__PURE__ */ N(qa, [["__scopeId", "data-v-cf0f3099"]]), Kf = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", Pf = {
|
520
520
|
recent: "Recently used",
|
521
521
|
smileys_people: "Smiles & People",
|
522
522
|
animals_nature: "Animals & Nature",
|
@@ -14277,7 +14277,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14277
14277
|
])
|
14278
14278
|
], 512));
|
14279
14279
|
}
|
14280
|
-
}, O1 = /* @__PURE__ */ N(z1, [["__scopeId", "data-v-
|
14280
|
+
}, O1 = /* @__PURE__ */ N(z1, [["__scopeId", "data-v-86fe4e8b"]]), C1 = { class: "chat-input" }, U1 = { class: "chat-input__container" }, L1 = {
|
14281
14281
|
__name: "ChatInput",
|
14282
14282
|
props: /* @__PURE__ */ Ef({
|
14283
14283
|
enableEmoji: {
|
@@ -14365,7 +14365,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14365
14365
|
])
|
14366
14366
|
]));
|
14367
14367
|
}
|
14368
|
-
}, fo = /* @__PURE__ */ N(L1, [["__scopeId", "data-v-
|
14368
|
+
}, fo = /* @__PURE__ */ N(L1, [["__scopeId", "data-v-3f584ec9"]]), Q1 = { class: "chat-item__avatar-container" }, B1 = ["src"], Y1 = {
|
14369
14369
|
key: 1,
|
14370
14370
|
class: "pi pi-user"
|
14371
14371
|
}, R1 = { class: "chat-item__info-container" }, q1 = { class: "chat-item__name" }, F1 = {
|
@@ -14381,7 +14381,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14381
14381
|
key: 3,
|
14382
14382
|
class: "chat-item__fixed pi pi-thumbtack"
|
14383
14383
|
}, P1 = {
|
14384
|
-
__name: "
|
14384
|
+
__name: "ChatItem",
|
14385
14385
|
props: {
|
14386
14386
|
chat: {
|
14387
14387
|
type: Object,
|
@@ -14450,7 +14450,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14450
14450
|
], 32)
|
14451
14451
|
], 2));
|
14452
14452
|
}
|
14453
|
-
}, sf = /* @__PURE__ */ N(P1, [["__scopeId", "data-v-
|
14453
|
+
}, sf = /* @__PURE__ */ N(P1, [["__scopeId", "data-v-82adffb7"]]), Z1 = { class: "chat-filter" }, $1 = { class: "chat-filter__container" }, G1 = {
|
14454
14454
|
__name: "ChatFilter",
|
14455
14455
|
emits: ["update"],
|
14456
14456
|
setup(e, { emit: f }) {
|
@@ -14471,7 +14471,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14471
14471
|
])
|
14472
14472
|
]));
|
14473
14473
|
}
|
14474
|
-
}, X1 = /* @__PURE__ */ N(G1, [["__scopeId", "data-v-
|
14474
|
+
}, X1 = /* @__PURE__ */ N(G1, [["__scopeId", "data-v-6a3eaa55"]]), es = { class: "chat-list" }, fs = {
|
14475
14475
|
key: 0,
|
14476
14476
|
class: "chat-list__title"
|
14477
14477
|
}, ns = {
|
@@ -14577,7 +14577,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14577
14577
|
])
|
14578
14578
|
]));
|
14579
14579
|
}
|
14580
|
-
}, no = /* @__PURE__ */ N(os, [["__scopeId", "data-v-
|
14580
|
+
}, no = /* @__PURE__ */ N(os, [["__scopeId", "data-v-51316d13"]]), us = ["messageId"], rs = ["src"], ls = ["src"], cs = { class: "video-message__controls" }, ds = { class: "video-message__remaining-time" }, gs = { class: "video-message__info-container" }, ms = { class: "video-message__time" }, ps = {
|
14581
14581
|
key: 0,
|
14582
14582
|
class: "pi pi-check"
|
14583
14583
|
}, Ms = {
|
@@ -14705,7 +14705,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14705
14705
|
], 32)
|
14706
14706
|
], 42, us));
|
14707
14707
|
}
|
14708
|
-
}, hs = /* @__PURE__ */ N(Ms, [["__scopeId", "data-v-
|
14708
|
+
}, hs = /* @__PURE__ */ N(Ms, [["__scopeId", "data-v-00309bae"]]), bs = { class: "call-message" }, ys = ["messageId"], vs = ["src"], Is = {
|
14709
14709
|
key: 1,
|
14710
14710
|
class: "call-message__subtext"
|
14711
14711
|
}, _s = { class: "call-message__content" }, ws = {
|
@@ -14763,7 +14763,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14763
14763
|
], 10, ys)
|
14764
14764
|
]));
|
14765
14765
|
}
|
14766
|
-
}, xs = /* @__PURE__ */ N(Ts, [["__scopeId", "data-v-
|
14766
|
+
}, xs = /* @__PURE__ */ N(Ts, [["__scopeId", "data-v-9b209155"]]), Ss = { class: "system-message" }, zs = { class: "system-message__container" }, Os = { class: "system-message__text" }, Cs = {
|
14767
14767
|
__name: "SystemMessage",
|
14768
14768
|
props: {
|
14769
14769
|
message: {
|
@@ -14778,7 +14778,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14778
14778
|
])
|
14779
14779
|
]));
|
14780
14780
|
}
|
14781
|
-
}, Us = /* @__PURE__ */ N(Cs, [["__scopeId", "data-v-
|
14781
|
+
}, Us = /* @__PURE__ */ N(Cs, [["__scopeId", "data-v-b17746f3"]]), Ls = { class: "message-feed__container" }, Qs = {
|
14782
14782
|
__name: "Feed",
|
14783
14783
|
props: {
|
14784
14784
|
objects: {
|
@@ -14841,7 +14841,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14841
14841
|
})
|
14842
14842
|
], 544));
|
14843
14843
|
}
|
14844
|
-
}, ao = /* @__PURE__ */ N(Qs, [["__scopeId", "data-v-
|
14844
|
+
}, ao = /* @__PURE__ */ N(Qs, [["__scopeId", "data-v-35db7c9c"]]), Bs = { class: "profile" }, Ys = {
|
14845
14845
|
key: 0,
|
14846
14846
|
class: "profile__container"
|
14847
14847
|
}, Rs = {
|
@@ -14875,7 +14875,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14875
14875
|
])) : y("", !0)
|
14876
14876
|
]));
|
14877
14877
|
}
|
14878
|
-
}, Ao = /* @__PURE__ */ N(Hs, [["__scopeId", "data-v-
|
14878
|
+
}, Ao = /* @__PURE__ */ N(Hs, [["__scopeId", "data-v-db3ba19b"]]), Ks = {
|
14879
14879
|
key: 0,
|
14880
14880
|
class: "chat-input__button-file"
|
14881
14881
|
}, Ps = { key: 1 }, Zs = { key: 2 }, $s = { key: 3 }, Gs = {
|
@@ -14941,7 +14941,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14941
14941
|
]))) : y("", !0)
|
14942
14942
|
]));
|
14943
14943
|
}
|
14944
|
-
}, Xs = /* @__PURE__ */ N(Gs, [["__scopeId", "data-v-
|
14944
|
+
}, Xs = /* @__PURE__ */ N(Gs, [["__scopeId", "data-v-0e7c76bc"]]), ei = ["value"], fi = {
|
14945
14945
|
__name: "ThemeMode",
|
14946
14946
|
props: {
|
14947
14947
|
themes: {
|
@@ -14965,7 +14965,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
14965
14965
|
], 32)
|
14966
14966
|
]));
|
14967
14967
|
}
|
14968
|
-
}, to = /* @__PURE__ */ N(fi, [["__scopeId", "data-v-
|
14968
|
+
}, to = /* @__PURE__ */ N(fi, [["__scopeId", "data-v-7c5c98e9"]]), ni = { class: "sidebar" }, ai = { class: "sidebar__container" }, Ai = { class: "sidebar__list" }, ti = ["onClick"], si = ["src", "alt"], ii = { key: 1 }, oi = { class: "sidebar__list-fixed" }, ui = ["onClick"], ri = ["src", "alt"], li = { key: 1 }, ci = {
|
14969
14969
|
__name: "SideBar",
|
14970
14970
|
props: {
|
14971
14971
|
sidebarItems: {
|
@@ -15024,7 +15024,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
15024
15024
|
])
|
15025
15025
|
]));
|
15026
15026
|
}
|
15027
|
-
}, so = /* @__PURE__ */ N(ci, [["__scopeId", "data-v-
|
15027
|
+
}, so = /* @__PURE__ */ N(ci, [["__scopeId", "data-v-5e22516c"]]), di = { class: "chat-panel" }, gi = { class: "chat-panel__title-container" }, mi = {
|
15028
15028
|
key: 0,
|
15029
15029
|
class: "chat-panel__title"
|
15030
15030
|
}, pi = {
|
@@ -15053,7 +15053,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
15053
15053
|
])
|
15054
15054
|
]));
|
15055
15055
|
}
|
15056
|
-
}, io = /* @__PURE__ */ N(pi, [["__scopeId", "data-v-
|
15056
|
+
}, io = /* @__PURE__ */ N(pi, [["__scopeId", "data-v-cd721096"]]), Mi = {
|
15057
15057
|
key: 0,
|
15058
15058
|
class: "new-chat-modal"
|
15059
15059
|
}, hi = { class: "modal-content" }, bi = { class: "participant-list" }, yi = ["id", "value"], vi = ["for"], Ii = {
|
@@ -15109,7 +15109,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
15109
15109
|
])) : y("", !0)
|
15110
15110
|
]));
|
15111
15111
|
}
|
15112
|
-
}, oo = /* @__PURE__ */ N(Ii, [["__scopeId", "data-v-
|
15112
|
+
}, oo = /* @__PURE__ */ N(Ii, [["__scopeId", "data-v-66249b80"]]), _i = { class: "modal-backdrop" }, wi = {
|
15113
15113
|
class: "modal",
|
15114
15114
|
role: "dialog",
|
15115
15115
|
"aria-labelledby": "modalTitle",
|
@@ -15151,7 +15151,7 @@ const w1 = { class: "channels__container" }, D1 = { class: "channels__title-cont
|
|
15151
15151
|
_: 3
|
15152
15152
|
}));
|
15153
15153
|
}
|
15154
|
-
}, ji = /* @__PURE__ */ N(ki, [["__scopeId", "data-v-
|
15154
|
+
}, ji = /* @__PURE__ */ N(ki, [["__scopeId", "data-v-d48a1772"]]);
|
15155
15155
|
function cn({ component: e, attrs: f }) {
|
15156
15156
|
return new Promise((n) => {
|
15157
15157
|
const a = document.createElement("div");
|
@@ -15189,7 +15189,7 @@ function cn({ component: e, attrs: f }) {
|
|
15189
15189
|
const uo = async (e, f) => {
|
15190
15190
|
const n = await cn({
|
15191
15191
|
//в component должен быть встроен emit change(key: value)
|
15192
|
-
component: import("./SelectUser2-
|
15192
|
+
component: import("./SelectUser2-CIj1XpAc.js"),
|
15193
15193
|
attrs: {
|
15194
15194
|
title: e,
|
15195
15195
|
users: f
|
@@ -15223,7 +15223,7 @@ const uo = async (e, f) => {
|
|
15223
15223
|
W(n.$slots, "default", {}, void 0, !0)
|
15224
15224
|
], 4));
|
15225
15225
|
}
|
15226
|
-
}, lo = /* @__PURE__ */ N(Vi, [["__scopeId", "data-v-
|
15226
|
+
}, lo = /* @__PURE__ */ N(Vi, [["__scopeId", "data-v-db2052ac"]]), Ei = { class: "float-window__container" }, Ti = ["src", "alt"], xi = { class: "float-window__title" }, Si = {
|
15227
15227
|
__name: "FloatContainer",
|
15228
15228
|
props: {
|
15229
15229
|
title: {
|
@@ -15321,7 +15321,7 @@ const uo = async (e, f) => {
|
|
15321
15321
|
])
|
15322
15322
|
], 4));
|
15323
15323
|
}
|
15324
|
-
}, co = /* @__PURE__ */ N(Si, [["__scopeId", "data-v-
|
15324
|
+
}, co = /* @__PURE__ */ N(Si, [["__scopeId", "data-v-58ac42f4"]]), zi = {}, Oi = { class: "base-layout__container" }, Ci = { class: "base-layout__first-col" }, Ui = { class: "base-layout__second-col" };
|
15325
15325
|
function Li(e, f) {
|
15326
15326
|
return r(), d("div", Oi, [
|
15327
15327
|
o("div", Ci, [
|
@@ -15332,7 +15332,7 @@ function Li(e, f) {
|
|
15332
15332
|
])
|
15333
15333
|
]);
|
15334
15334
|
}
|
15335
|
-
const go = /* @__PURE__ */ N(zi, [["render", Li], ["__scopeId", "data-v-
|
15335
|
+
const go = /* @__PURE__ */ N(zi, [["render", Li], ["__scopeId", "data-v-b6a80f19"]]), Qi = {}, Bi = { class: "extend-layout__container" }, Yi = { class: "extend-layout__first-col" }, Ri = { class: "extend-layout__second-col" }, qi = { class: "extend-layout__third-col" };
|
15336
15336
|
function Fi(e, f) {
|
15337
15337
|
return r(), d("div", Bi, [
|
15338
15338
|
o("div", Yi, [
|
@@ -15346,7 +15346,7 @@ function Fi(e, f) {
|
|
15346
15346
|
])
|
15347
15347
|
]);
|
15348
15348
|
}
|
15349
|
-
const mo = /* @__PURE__ */ N(Qi, [["render", Fi], ["__scopeId", "data-v-
|
15349
|
+
const mo = /* @__PURE__ */ N(Qi, [["render", Fi], ["__scopeId", "data-v-cfdb8a37"]]), Ji = {}, Wi = { class: "base-layout__container" }, Hi = { class: "base-layout__first-col" };
|
15350
15350
|
function Ki(e, f) {
|
15351
15351
|
return r(), d("div", Wi, [
|
15352
15352
|
o("div", Hi, [
|
@@ -15354,7 +15354,7 @@ function Ki(e, f) {
|
|
15354
15354
|
])
|
15355
15355
|
]);
|
15356
15356
|
}
|
15357
|
-
const po = /* @__PURE__ */ N(Ji, [["render", Ki], ["__scopeId", "data-v-
|
15357
|
+
const po = /* @__PURE__ */ N(Ji, [["render", Ki], ["__scopeId", "data-v-3face7ce"]]), Pi = { style: { display: "flex", height: "100%", width: "100%", "align-items": "stretch" } }, Zi = {
|
15358
15358
|
key: 0,
|
15359
15359
|
style: { height: "100%", width: "100%", display: "flex", "flex-direction": "column", "align-items": "stretch" }
|
15360
15360
|
}, $i = {
|
@@ -15388,7 +15388,7 @@ const po = /* @__PURE__ */ N(Ji, [["render", Ki], ["__scopeId", "data-v-e59dbf95
|
|
15388
15388
|
], 4)) : y("", !0)
|
15389
15389
|
]));
|
15390
15390
|
}
|
15391
|
-
}), Mo = /* @__PURE__ */ N(Gi, [["__scopeId", "data-v-
|
15391
|
+
}), Mo = /* @__PURE__ */ N(Gi, [["__scopeId", "data-v-8ce07c9d"]]);
|
15392
15392
|
function ho(e) {
|
15393
15393
|
if (!e || e === "") return;
|
15394
15394
|
const f = +new Date(Number(e) * 1e3), n = +/* @__PURE__ */ new Date(), a = Math.floor((n - f) / 1e3), A = Math.floor(a / 60), s = Math.floor(A / 60), t = Math.floor(s / 24);
|