@mobilon-dev/chotto 0.0.132 → 0.0.134
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-f-6c0Xt6.js → CreateDialog-CkWwgw3m.js} +25 -18
- package/dist/{ModalVideoRecorder-CVgCL3QK.js → ModalVideoRecorder-Cu9AcI5s.js} +5 -5
- package/dist/{SelectUser2-Bc0kEe7S.js → SelectUser2-DMq8u9iB.js} +7 -7
- package/dist/chotto.css +1 -1
- package/dist/{index-DC1hOwVt.js → index-BktFzFod.js} +2546 -2634
- package/dist/vuessages.es.js +4 -5
- package/dist/vuessages.umd.js +5 -5
- package/package.json +53 -54
@@ -1,6 +1,6 @@
|
|
1
|
-
import { ref as v, computed as d, createElementBlock as r, openBlock as
|
2
|
-
import { _ as D } from "./index-
|
3
|
-
const S = { class: "modal__contact-line" },
|
1
|
+
import { ref as v, computed as d, createElementBlock as r, openBlock as i, createElementVNode as t, toDisplayString as u, withDirectives as m, Fragment as f, renderList as p, vModelSelect as _ } from "vue";
|
2
|
+
import { _ as D } from "./index-BktFzFod.js";
|
3
|
+
const S = { class: "modal__contact-line" }, k = ["value"], q = { class: "modal__channel-line" }, w = ["disabled"], x = ["value"], V = ["disabled"], A = {
|
4
4
|
__name: "CreateDialog",
|
5
5
|
props: {
|
6
6
|
title: {
|
@@ -21,36 +21,43 @@ const S = { class: "modal__contact-line" }, q = ["value"], k = { class: "modal__
|
|
21
21
|
},
|
22
22
|
filter: {
|
23
23
|
type: Function,
|
24
|
-
required: !1
|
24
|
+
required: !1,
|
25
|
+
default: null
|
25
26
|
}
|
26
27
|
},
|
27
28
|
emits: ["change", "submit"],
|
28
|
-
setup(
|
29
|
-
const
|
30
|
-
c("change", { channel: s.value, contact:
|
29
|
+
setup(o, { emit: g }) {
|
30
|
+
const n = o, s = v(), a = v(), y = d(() => !!(s.value && a.value)), h = d(() => !!(n.filter && a.value || !n.filter)), b = d(() => n.filter && a.value ? n.filter(a.value, n.channels) : n.channels), c = g, C = () => {
|
31
|
+
c("change", { channel: s.value, contact: a.value }), c("submit");
|
31
32
|
};
|
32
|
-
return (B, l) => (
|
33
|
-
t("h3", null, u(
|
34
|
-
t("div", null, " Контакт: " + u(
|
33
|
+
return (B, l) => (i(), r("div", null, [
|
34
|
+
t("h3", null, u(o.title), 1),
|
35
|
+
t("div", null, " Контакт: " + u(o.name), 1),
|
35
36
|
t("div", S, [
|
36
37
|
l[2] || (l[2] = t("h3", { style: { margin: "0" } }, " Куда пишем ", -1)),
|
37
38
|
m(t("select", {
|
38
39
|
id: "folder",
|
39
|
-
"onUpdate:modelValue": l[0] || (l[0] = (e) =>
|
40
|
+
"onUpdate:modelValue": l[0] || (l[0] = (e) => a.value = e)
|
40
41
|
}, [
|
41
|
-
(
|
42
|
+
(i(!0), r(f, null, p(o.contacts, (e) => (i(), r("option", {
|
43
|
+
key: e.id || e.value,
|
44
|
+
value: e
|
45
|
+
}, u(e.value), 9, k))), 128))
|
42
46
|
], 512), [
|
43
|
-
[_,
|
47
|
+
[_, a.value]
|
44
48
|
])
|
45
49
|
]),
|
46
|
-
t("div",
|
50
|
+
t("div", q, [
|
47
51
|
l[3] || (l[3] = t("h3", { style: { margin: "0" } }, " Через какой канал ", -1)),
|
48
52
|
m(t("select", {
|
49
53
|
id: "folder",
|
50
54
|
"onUpdate:modelValue": l[1] || (l[1] = (e) => s.value = e),
|
51
|
-
disabled: !
|
55
|
+
disabled: !h.value
|
52
56
|
}, [
|
53
|
-
(
|
57
|
+
(i(!0), r(f, null, p(b.value, (e) => (i(), r("option", {
|
58
|
+
key: e.id || e.title,
|
59
|
+
value: e
|
60
|
+
}, u(e.title), 9, x))), 128))
|
54
61
|
], 8, w), [
|
55
62
|
[_, s.value]
|
56
63
|
])
|
@@ -59,12 +66,12 @@ const S = { class: "modal__contact-line" }, q = ["value"], k = { class: "modal__
|
|
59
66
|
type: "button",
|
60
67
|
class: "modal__button-start",
|
61
68
|
"aria-label": "Close modal",
|
62
|
-
disabled: !
|
69
|
+
disabled: !y.value,
|
63
70
|
onClick: C
|
64
71
|
}, " Начать диалог ", 8, V)
|
65
72
|
]));
|
66
73
|
}
|
67
|
-
}, U = /* @__PURE__ */ D(A, [["__scopeId", "data-v-
|
74
|
+
}, U = /* @__PURE__ */ D(A, [["__scopeId", "data-v-0aa7743b"]]);
|
68
75
|
export {
|
69
76
|
U as default
|
70
77
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as N, ref as l, computed as z, onMounted as $, createElementBlock as m, openBlock as f, Fragment as q, createElementVNode as o, withDirectives as E, vShow as I, createCommentVNode as g, normalizeClass as y, toDisplayString as A, nextTick as G, unref as k } from "vue";
|
2
|
-
import { _ as H } from "./index-
|
2
|
+
import { _ as H } from "./index-BktFzFod.js";
|
3
3
|
const J = { class: "video-recorder__header" }, K = { class: "video-recorder__controls" }, P = { class: "video-recorder__recording-container" }, Q = { class: "video-recorder__recording-time" }, W = /* @__PURE__ */ N({
|
4
4
|
__name: "ModalVideoRecorder",
|
5
5
|
emits: ["change", "submit", "close"],
|
@@ -71,16 +71,16 @@ const J = { class: "video-recorder__header" }, K = { class: "video-recorder__con
|
|
71
71
|
]),
|
72
72
|
o("div", null, [
|
73
73
|
E(o("video", {
|
74
|
-
class: "video-recorder__view-area",
|
75
74
|
ref_key: "refVideo",
|
76
|
-
ref: _
|
75
|
+
ref: _,
|
76
|
+
class: "video-recorder__view-area"
|
77
77
|
}, null, 512), [
|
78
78
|
[I, !i.value]
|
79
79
|
]),
|
80
80
|
E(o("video", {
|
81
|
-
class: "video-recorder__view-area",
|
82
81
|
ref_key: "refRecord",
|
83
82
|
ref: R,
|
83
|
+
class: "video-recorder__view-area",
|
84
84
|
controls: ""
|
85
85
|
}, null, 512), [
|
86
86
|
[I, i.value]
|
@@ -137,7 +137,7 @@ const J = { class: "video-recorder__header" }, K = { class: "video-recorder__con
|
|
137
137
|
])
|
138
138
|
], 64));
|
139
139
|
}
|
140
|
-
}), ee = /* @__PURE__ */ H(W, [["__scopeId", "data-v-
|
140
|
+
}), ee = /* @__PURE__ */ H(W, [["__scopeId", "data-v-dc1ec565"]]);
|
141
141
|
export {
|
142
142
|
ee as default
|
143
143
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref as p, createElementBlock as n, openBlock 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-
|
3
|
-
const g = { class: "participant-list" }, k = ["id", "value"], y = ["for"],
|
2
|
+
import { _ as f } from "./index-BktFzFod.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: i }) {
|
17
|
-
const r = p([]), c = i,
|
17
|
+
const r = p([]), c = i, u = () => {
|
18
18
|
console.log("check"), c("change", { selectedUsers: r.value });
|
19
19
|
};
|
20
|
-
return (
|
20
|
+
return (x, l) => (s(), n("div", null, [
|
21
21
|
t("h2", null, a(o.title), 1),
|
22
22
|
t("div", g, [
|
23
23
|
(s(!0), n(m, null, _(o.users, (e) => (s(), n("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] = (d) => r.value = d),
|
30
30
|
type: "checkbox",
|
31
31
|
value: e.userId,
|
32
|
-
onChange:
|
32
|
+
onChange: u
|
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
|
-
}, S = /* @__PURE__ */ f(
|
43
|
+
}, S = /* @__PURE__ */ f(b, [["__scopeId", "data-v-aabb547e"]]);
|
44
44
|
export {
|
45
45
|
S as default
|
46
46
|
};
|