@mobilon-dev/chotto 0.0.93 → 0.0.94
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-DaJU2ELm.js → CreateDialog-CEvb8Sk0.js} +1 -1
- package/dist/{SelectUser2-DO8qeyJk.js → SelectUser2-fn7Im9x_.js} +1 -1
- package/dist/{index-CuCei7Uy.js → index-D3Jzk78y.js} +7 -7
- 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
@@ -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-D3Jzk78y.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 { 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-D3Jzk78y.js";
|
3
3
|
const g = { class: "participant-list" }, k = ["id", "value"], y = ["for"], x = {
|
4
4
|
__name: "SelectUser2",
|
5
5
|
props: {
|
@@ -16963,13 +16963,13 @@ const Mc = { class: "feed-search__container" }, _c = { style: { "line-height": "
|
|
16963
16963
|
c.value += 10, c.value == 1e3 && (c.value = 0, r.value++, r.value == 60 && (r.value = 0, d.value++, d.value == 60 && (d.value = 0, g.value++)));
|
16964
16964
|
}, 10), i(!0), h.value = !0;
|
16965
16965
|
const O = await navigator.mediaDevices.getUserMedia({ audio: !0, video: !1 });
|
16966
|
-
v.value = new MediaRecorder(O), v.value.start(), v.value.ondataavailable = (V) => {
|
16966
|
+
v.value = new MediaRecorder(O), console.log("init ", v.value), v.value.start(), console.log("start ", v.value), v.value.ondataavailable = (V) => {
|
16967
16967
|
m.value.push(V.data);
|
16968
16968
|
};
|
16969
16969
|
}, w = () => {
|
16970
16970
|
E(), _.value = void 0;
|
16971
16971
|
}, C = () => {
|
16972
|
-
v.value.stop(), v.value.onstop = async () => {
|
16972
|
+
v.value && (console.log("pre stop ", v.value), v.value.stop(), console.log("stop ", v.value), v.value.onstop = async () => {
|
16973
16973
|
const O = new File(m.value, "voicemessage.mp3", { type: "audio/*" }), V = URL.createObjectURL(O);
|
16974
16974
|
_.value = V, M.value = "uploading", await sn(k.filebumpUrl, O).then((B) => {
|
16975
16975
|
M.value = B.status, B.status == "success" && (a({
|
@@ -16986,9 +16986,9 @@ const Mc = { class: "feed-search__container" }, _c = { style: { "line-height": "
|
|
16986
16986
|
fileSize: B.preview.fileSize
|
16987
16987
|
}));
|
16988
16988
|
});
|
16989
|
-
}, E();
|
16989
|
+
}), E();
|
16990
16990
|
}, E = () => {
|
16991
|
-
clearInterval(l.value), c.value = 0, r.value = 0, d.value = 0, g.value = 0, i(!1), h.value = !1, v.value =
|
16991
|
+
clearInterval(l.value), c.value = 0, r.value = 0, d.value = 0, g.value = 0, i(!1), h.value = !1, v.value = void 0, m.value = [];
|
16992
16992
|
}, j = () => {
|
16993
16993
|
s(), x.value = void 0;
|
16994
16994
|
};
|
@@ -17031,7 +17031,7 @@ const Mc = { class: "feed-search__container" }, _c = { style: { "line-height": "
|
|
17031
17031
|
], 8, ["to"])) : y("", !0)
|
17032
17032
|
]));
|
17033
17033
|
}
|
17034
|
-
}), _g = /* @__PURE__ */ U(Pc, [["__scopeId", "data-v-
|
17034
|
+
}), _g = /* @__PURE__ */ U(Pc, [["__scopeId", "data-v-30ac2fcf"]]), lt = /* @__PURE__ */ H({
|
17035
17035
|
__name: "BaseReplyMessage",
|
17036
17036
|
props: {
|
17037
17037
|
message: {
|
@@ -18485,7 +18485,7 @@ const md = ["data-theme"], pd = {
|
|
18485
18485
|
}, hn = /* @__PURE__ */ U(vd, [["__scopeId", "data-v-273f65a1"]]), Ig = async (e, t) => {
|
18486
18486
|
const f = await wf({
|
18487
18487
|
//в component должен быть встроен emit change(key: value)
|
18488
|
-
component: import("./SelectUser2-
|
18488
|
+
component: import("./SelectUser2-fn7Im9x_.js"),
|
18489
18489
|
attrs: {
|
18490
18490
|
title: e,
|
18491
18491
|
users: t
|
@@ -18554,7 +18554,7 @@ const md = ["data-theme"], pd = {
|
|
18554
18554
|
}
|
18555
18555
|
}, wd = /* @__PURE__ */ U(Id, [["__scopeId", "data-v-738b3092"]]), Ng = async (e, t, f, n, a) => await wf({
|
18556
18556
|
//в component должен быть встроен emit change(key: value)
|
18557
|
-
component: import("./CreateDialog-
|
18557
|
+
component: import("./CreateDialog-CEvb8Sk0.js"),
|
18558
18558
|
attrs: {
|
18559
18559
|
title: e,
|
18560
18560
|
name: t,
|