tuikit-atomicx-vue3 4.5.3 → 4.5.4
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/baseComp/Input/InputH5.vue.d.ts +1 -1
- package/dist/baseComp/Input/InputPC.vue.d.ts +1 -1
- package/dist/baseComp/Input/InputWX.vue.d.ts +1 -1
- package/dist/baseComp/Input/index.d.ts +15 -15
- package/dist/components/BarrageInput/TextEditor/TextEditor.vue.d.ts +1 -1
- package/dist/components/BarrageInput/index.d.ts +6 -6
- package/dist/components/ChatSetting/SettingItem/SettingItem.vue.d.ts +2 -2
- package/dist/components/ContactList/index.d.ts +6 -6
- package/dist/components/ConversationList/ConversationList.vue.d.ts +190 -190
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +82 -82
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +16 -16
- package/dist/components/ConversationList/ConversationSearch/ConversationSearch.vue.d.ts +36 -36
- package/dist/components/ConversationList/index.d.ts +416 -416
- package/dist/components/LiveView/PlayerControl/PlayerControl.js +145 -128
- package/dist/components/LiveView/PlayerControl/PlayerControlState.d.ts +6 -4
- package/dist/components/LiveView/PlayerControl/PlayerControlState.js +148 -122
- package/dist/components/LiveView/PlayerControl/utils/domHelpers.d.ts +2 -1
- package/dist/components/LiveView/PlayerControl/utils/domHelpers.js +7 -6
- package/dist/components/LiveView/i18n/en-US/index.d.ts +3 -0
- package/dist/components/LiveView/i18n/en-US/index.js +4 -1
- package/dist/components/LiveView/i18n/zh-CN/index.d.ts +3 -0
- package/dist/components/LiveView/i18n/zh-CN/index.js +4 -1
- package/dist/components/LiveView/index.js +78 -78
- package/dist/components/MessageInput/MessageInput.vue.d.ts +1 -1
- package/dist/components/MessageInput/TextEditor/TextEditor.vue.d.ts +1 -1
- package/dist/components/MessageInput/index.d.ts +30 -30
- package/dist/components/RoomParticipantList/useParticpantAction/useNameCardAction/index.d.ts +10 -2
- package/dist/components/Search/Search.vue.d.ts +12 -12
- package/dist/components/Search/index.d.ts +18 -18
- package/dist/components/StreamView/Layout/CustomLayout.vue.d.ts +2 -1
- package/dist/components/StreamView/Layout/FloatLayout.vue.d.ts +2 -1
- package/dist/components/StreamView/Layout/GridLayout.vue.d.ts +2 -1
- package/dist/components/StreamView/Layout/MeetingLayout.vue.d.ts +1 -1
- package/dist/components/StreamView/common/StreamList/index.vue.d.ts +1 -1
- package/dist/components/StreamView/common/StreamRegion/StreamRegionPC.vue.d.ts +2 -2
- package/dist/components/StreamView/index.d.ts +1 -1
- package/dist/components/StreamView/index.vue.d.ts +1 -1
- package/dist/hooks/useRoomEngine.d.ts +2 -2
- package/dist/hooks/useUserActions/index.d.ts +18 -2
- package/dist/hooks/useUserActions/useChangeNameCardAction/index.d.ts +9 -1
- package/dist/hooks/useUserActions/useKickUserAction.d.ts +9 -1
- package/dist/hooks/useUserActions/useTransferOwnerAction.d.ts +9 -1
- package/dist/hooks/useUserActions/useVideoAction.d.ts +9 -1
- package/dist/states/BarrageState/BarrageState.d.ts +2 -2
- package/dist/states/BattleState/BattleState.d.ts +5 -5
- package/dist/states/CoGuestState.d.ts +1 -1
- package/dist/states/LiveAudienceState.d.ts +4 -4
- package/dist/states/LiveListState/LiveListState.d.ts +2 -2
- package/dist/states/LiveSeatState/index.d.ts +6 -6
- package/dist/states/LiveSeatState/seatManager.d.ts +6 -6
- package/dist/states/SeatStore.d.ts +148 -16
- package/dist/states/UserState/userManager.d.ts +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/subEntry/chat/chat.d.ts +457 -457
- package/dist/subEntry/live/server.d.ts +1 -1
- package/dist/subEntry/room/server.d.ts +1 -1
- package/package.json +3 -2
- package/src/components/LiveView/PlayerControl/PlayerControl.vue +39 -15
- package/src/components/LiveView/PlayerControl/PlayerControlState.ts +61 -18
- package/src/components/LiveView/PlayerControl/utils/domHelpers.ts +4 -4
- package/src/components/LiveView/i18n/en-US/index.ts +3 -0
- package/src/components/LiveView/i18n/zh-CN/index.ts +3 -0
- package/src/components/LiveView/index.vue +7 -3
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import { addI18n as J } from "../../i18n/index.js";
|
|
2
2
|
import Q from "./DefaultStreamViewUI.js";
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { useUIKit as
|
|
5
|
-
import { useLiveSeatState as
|
|
6
|
-
import { useLoginState as
|
|
3
|
+
import { defineComponent as se, useSlots as ve, computed as n, ref as p, onMounted as H, onBeforeUnmount as T, watch as O, createElementBlock as x, openBlock as v, normalizeClass as he, createCommentVNode as w, createElementVNode as N, createBlock as M, toDisplayString as ce, unref as g, normalizeStyle as A, renderSlot as E, createVNode as de, Fragment as fe, renderList as me, mergeProps as K, normalizeProps as pe, Teleport as we } from "vue";
|
|
4
|
+
import { useUIKit as ge } from "@tencentcloud/uikit-base-component-vue3";
|
|
5
|
+
import { useLiveSeatState as Ie } from "../../states/LiveSeatState/index.js";
|
|
6
|
+
import { useLoginState as ye } from "../../states/LoginState.js";
|
|
7
7
|
import { getContentSize as j } from "../../utils/domOperation.js";
|
|
8
8
|
import q from "./PlayerControl/PlayerControl.js";
|
|
9
|
-
import
|
|
10
|
-
import { usePlayerControlState as
|
|
11
|
-
import { useLiveListState as
|
|
9
|
+
import Se from "./CoreViewDecorate/LiveCoreDecorate.js";
|
|
10
|
+
import { usePlayerControlState as xe } from "./PlayerControl/PlayerControlState.js";
|
|
11
|
+
import { useLiveListState as Le } from "../../states/LiveListState/LiveListState.js";
|
|
12
12
|
import { isMobile as G } from "../../utils/env.js";
|
|
13
|
-
import { _ as
|
|
14
|
-
import { resource as
|
|
15
|
-
import { resource as
|
|
16
|
-
const
|
|
13
|
+
import { _ as Ce } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
import { resource as Ve } from "./i18n/en-US/index.js";
|
|
15
|
+
import { resource as ze } from "./i18n/zh-CN/index.js";
|
|
16
|
+
const Me = {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: "live-core-placeholder"
|
|
19
|
-
},
|
|
19
|
+
}, $e = { class: "placeholder-text" }, be = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "live-core-ui"
|
|
22
|
-
},
|
|
22
|
+
}, Pe = /* @__PURE__ */ se({
|
|
23
23
|
__name: "index",
|
|
24
|
-
setup(
|
|
25
|
-
const { isFullscreen: U, isLandscapeStyleMode: X } =
|
|
24
|
+
setup(Re) {
|
|
25
|
+
const { isFullscreen: U, isLandscapeStyleMode: X, isPictureInPicture: ee, exitPictureInPicture: te } = xe(), { t: ae } = ge(), { seatList: d, canvas: u, startPlayStream: le, stopPlayStream: ie } = Ie(), { currentLive: L } = Le(), re = ve(), C = n(() => re.localVideo), { loginUserInfo: $ } = ye(), b = p(!1), P = p(!1), oe = n(() => !(!C.value && V.value && h.value < c.value && G)), Y = n(() => {
|
|
26
26
|
var e;
|
|
27
|
-
return ((e =
|
|
27
|
+
return ((e = L.value) == null ? void 0 : e.liveId) && !d.value.some((l) => {
|
|
28
28
|
var t, a;
|
|
29
29
|
return ((t = l.userInfo) == null ? void 0 : t.userId) === ((a = $.value) == null ? void 0 : a.userId);
|
|
30
30
|
});
|
|
31
31
|
});
|
|
32
32
|
H(async () => {
|
|
33
|
-
|
|
33
|
+
P.value = !0, await le({ view: "atomicx-live-stream-content" }), b.value = !0;
|
|
34
34
|
}), T(async () => {
|
|
35
|
-
|
|
35
|
+
ee.value && te(), P.value = !1, await ie(), b.value = !1;
|
|
36
36
|
});
|
|
37
|
-
const V = p(!0), s = p(),
|
|
37
|
+
const V = p(!0), s = p(), R = p({
|
|
38
38
|
width: 0,
|
|
39
39
|
height: 0
|
|
40
|
-
}),
|
|
40
|
+
}), i = p({
|
|
41
41
|
width: 0,
|
|
42
42
|
height: 0,
|
|
43
43
|
transformX: 0,
|
|
44
44
|
transformY: 0,
|
|
45
45
|
scale: 1
|
|
46
|
-
}),
|
|
46
|
+
}), _ = n(() => {
|
|
47
47
|
var t;
|
|
48
48
|
const e = u.value, l = (t = d.value) == null ? void 0 : t.map((a) => {
|
|
49
49
|
var o;
|
|
@@ -57,20 +57,20 @@ const Ve = {
|
|
|
57
57
|
height: a.h === e.height ? -1 : a.h / e.width,
|
|
58
58
|
zOrder: a.zOrder
|
|
59
59
|
})) : [];
|
|
60
|
-
}),
|
|
61
|
-
width:
|
|
62
|
-
height:
|
|
60
|
+
}), I = n(() => ({
|
|
61
|
+
width: i.value.width * i.value.scale,
|
|
62
|
+
height: i.value.height * i.value.scale
|
|
63
63
|
})), z = n(() => d.value.map((e, l) => {
|
|
64
|
-
var
|
|
65
|
-
const t =
|
|
64
|
+
var r, F;
|
|
65
|
+
const t = _.value[l], a = V.value && y.value === "fill", o = d.value.length === 1 || ((r = e.region) == null ? void 0 : r.w) === u.value.width && ((F = e.region) == null ? void 0 : F.h) === u.value.height;
|
|
66
66
|
return !C.value && a && o ? {
|
|
67
67
|
userInfo: e.userInfo,
|
|
68
68
|
region: {
|
|
69
69
|
position: "absolute",
|
|
70
70
|
left: "50%",
|
|
71
71
|
top: "50%",
|
|
72
|
-
width: `${
|
|
73
|
-
height: `${
|
|
72
|
+
width: `${R.value.width}px`,
|
|
73
|
+
height: `${R.value.height}px`,
|
|
74
74
|
transform: "translate(-50%, -50%)",
|
|
75
75
|
zIndex: Number(t.zOrder) || 0
|
|
76
76
|
}
|
|
@@ -78,29 +78,29 @@ const Ve = {
|
|
|
78
78
|
userInfo: e.userInfo,
|
|
79
79
|
region: {
|
|
80
80
|
position: "absolute",
|
|
81
|
-
left: `${
|
|
82
|
-
top: `${
|
|
83
|
-
width: `${Math.ceil(
|
|
84
|
-
height: t.height === -1 ? `${
|
|
81
|
+
left: `${I.value.width * t.x}px`,
|
|
82
|
+
top: `${I.value.width * t.y}px`,
|
|
83
|
+
width: `${Math.ceil(I.value.width * t.width)}px`,
|
|
84
|
+
height: t.height === -1 ? `${I.value.height}px` : `${I.value.width * t.height}px`,
|
|
85
85
|
zIndex: Number(t.zOrder) || 0
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
})),
|
|
88
|
+
})), ne = n(() => z.value.find((e) => {
|
|
89
89
|
var l, t;
|
|
90
90
|
return ((l = e == null ? void 0 : e.userInfo) == null ? void 0 : l.userId) === ((t = $.value) == null ? void 0 : t.userId);
|
|
91
|
-
})),
|
|
91
|
+
})), k = n(() => C.value ? z.value.filter((e) => {
|
|
92
92
|
var l, t;
|
|
93
93
|
return ((l = e.userInfo) == null ? void 0 : l.userId) !== ((t = $.value) == null ? void 0 : t.userId);
|
|
94
94
|
}) : z.value), f = n(() => {
|
|
95
|
-
if (!V.value && h.value < c.value &&
|
|
96
|
-
const e =
|
|
97
|
-
userId:
|
|
98
|
-
left:
|
|
99
|
-
top:
|
|
100
|
-
width:
|
|
101
|
-
height:
|
|
102
|
-
zIndex:
|
|
103
|
-
})), l = Math.min(...e.map((
|
|
95
|
+
if (!V.value && h.value < c.value && _.value.length > 0) {
|
|
96
|
+
const e = _.value.map((r) => ({
|
|
97
|
+
userId: r.userId,
|
|
98
|
+
left: i.value.width * r.x,
|
|
99
|
+
top: i.value.width * r.y,
|
|
100
|
+
width: i.value.width * r.width,
|
|
101
|
+
height: r.height === -1 ? i.value.height : i.value.width * r.height,
|
|
102
|
+
zIndex: r.zOrder
|
|
103
|
+
})), l = Math.min(...e.map((r) => r.left)), t = Math.min(...e.map((r) => r.top)), a = Math.max(...e.map((r) => r.left + r.width)), o = Math.max(...e.map((r) => r.top + r.height));
|
|
104
104
|
return {
|
|
105
105
|
width: a - l,
|
|
106
106
|
height: o - t,
|
|
@@ -115,38 +115,38 @@ const Ve = {
|
|
|
115
115
|
centerY: 0
|
|
116
116
|
};
|
|
117
117
|
});
|
|
118
|
-
|
|
118
|
+
O(f, () => {
|
|
119
119
|
W();
|
|
120
120
|
});
|
|
121
121
|
function W() {
|
|
122
122
|
if (s.value)
|
|
123
123
|
if (f.value.width && f.value.height) {
|
|
124
124
|
const e = s.value.getBoundingClientRect(), l = Math.floor(e.width), t = Math.floor(e.height), a = l / f.value.width, o = t / f.value.height;
|
|
125
|
-
|
|
125
|
+
i.value.scale = Math.min(a, o), i.value.transformX = i.value.width / 2 - f.value.centerX, i.value.transformY = i.value.height / 2 - f.value.centerY;
|
|
126
126
|
} else
|
|
127
|
-
S(),
|
|
127
|
+
S(), i.value.scale = 1, i.value.transformX = 0, i.value.transformY = 0;
|
|
128
128
|
}
|
|
129
|
-
const
|
|
130
|
-
width: `${Math.
|
|
131
|
-
height: `${Math.
|
|
132
|
-
transform: `translate(${
|
|
129
|
+
const ue = n(() => ({
|
|
130
|
+
width: `${Math.ceil(i.value.width) * i.value.scale}px`,
|
|
131
|
+
height: `${Math.ceil(i.value.height) * i.value.scale}px`,
|
|
132
|
+
transform: `translate(${i.value.transformX * i.value.scale}px, ${i.value.transformY * i.value.scale}px)`
|
|
133
133
|
})), m = n(() => {
|
|
134
134
|
var e, l;
|
|
135
|
-
return u.value.width && u.value.height ? `${u.value.width}:${u.value.height}` :
|
|
136
|
-
}), h = n(() => !m.value || m.value.indexOf(":") < 0 ? 0 : Number(m.value.split(":")[0])), c = n(() => !m.value || m.value.indexOf(":") < 0 ? 0 : Number(m.value.split(":")[1])),
|
|
135
|
+
return u.value.width && u.value.height ? `${u.value.width}:${u.value.height}` : L.value && ((e = L.value) == null ? void 0 : e.layoutTemplate) >= 200 && ((l = L.value) == null ? void 0 : l.layoutTemplate) <= 599 ? "16:9" : "9:16";
|
|
136
|
+
}), h = n(() => !m.value || m.value.indexOf(":") < 0 ? 0 : Number(m.value.split(":")[0])), c = n(() => !m.value || m.value.indexOf(":") < 0 ? 0 : Number(m.value.split(":")[1])), y = p(
|
|
137
137
|
"fit"
|
|
138
138
|
/* Fit */
|
|
139
139
|
);
|
|
140
|
-
|
|
140
|
+
O(() => [u.value, d.value], () => {
|
|
141
141
|
if (u.value.width > u.value.height) {
|
|
142
|
-
|
|
142
|
+
y.value = "fit", S();
|
|
143
143
|
return;
|
|
144
144
|
}
|
|
145
145
|
const e = d.value.length === 1, l = d.value.find((t) => {
|
|
146
146
|
var a, o;
|
|
147
147
|
return ((a = t.region) == null ? void 0 : a.w) === u.value.width && ((o = t.region) == null ? void 0 : o.h) === u.value.height;
|
|
148
148
|
});
|
|
149
|
-
!C.value && (e || l) ?
|
|
149
|
+
!C.value && (e || l) ? y.value = "fill" : y.value = "fit", S();
|
|
150
150
|
}, { deep: !0 });
|
|
151
151
|
function S() {
|
|
152
152
|
if (!s.value)
|
|
@@ -154,12 +154,12 @@ const Ve = {
|
|
|
154
154
|
const e = j(s.value).width, l = j(s.value).height;
|
|
155
155
|
let t = e, a = l;
|
|
156
156
|
if (h.value && c.value) {
|
|
157
|
-
const o = e / h.value,
|
|
158
|
-
|
|
157
|
+
const o = e / h.value, r = l / c.value;
|
|
158
|
+
y.value === "fit" ? (o > r && (t = l / c.value * h.value, a = l), o <= r && (t = e, a = e / h.value * c.value)) : (o > r && (t = e, a = e / h.value * c.value), o <= r && (t = l / c.value * h.value, a = l));
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
i.value.width = t, i.value.height = a;
|
|
161
161
|
}
|
|
162
|
-
|
|
162
|
+
O(
|
|
163
163
|
() => m.value,
|
|
164
164
|
() => {
|
|
165
165
|
S();
|
|
@@ -169,7 +169,7 @@ const Ve = {
|
|
|
169
169
|
if (!s.value)
|
|
170
170
|
return;
|
|
171
171
|
const e = s.value.getBoundingClientRect();
|
|
172
|
-
V.value = e.width < e.height,
|
|
172
|
+
V.value = e.width < e.height, R.value = {
|
|
173
173
|
width: e.width,
|
|
174
174
|
height: e.height
|
|
175
175
|
};
|
|
@@ -182,40 +182,40 @@ const Ve = {
|
|
|
182
182
|
D.unobserve(s.value);
|
|
183
183
|
}), (e, l) => {
|
|
184
184
|
var t;
|
|
185
|
-
return v(),
|
|
185
|
+
return v(), x("div", {
|
|
186
186
|
ref_key: "liveCoreViewContainerRef",
|
|
187
187
|
ref: s,
|
|
188
188
|
id: "live-core-view-container",
|
|
189
|
-
class:
|
|
189
|
+
class: he(["live-core-view-container", { "align-center": oe.value }])
|
|
190
190
|
}, [
|
|
191
|
-
!e.$slots.localVideo && !b.value ? (v(),
|
|
192
|
-
N("span",
|
|
191
|
+
!e.$slots.localVideo && !b.value ? (v(), x("div", Me, [
|
|
192
|
+
N("span", $e, ce(g(ae)("No video")), 1)
|
|
193
193
|
])) : w("", !0),
|
|
194
194
|
N("div", {
|
|
195
195
|
class: "live-core-view",
|
|
196
|
-
style: A(
|
|
196
|
+
style: A(ue.value)
|
|
197
197
|
}, [
|
|
198
198
|
l[0] || (l[0] = N("div", {
|
|
199
199
|
id: "atomicx-live-stream-content",
|
|
200
200
|
class: "stream-content"
|
|
201
201
|
}, null, -1)),
|
|
202
|
-
|
|
203
|
-
(v(!0),
|
|
202
|
+
k.value.length > 0 ? (v(), x("div", be, [
|
|
203
|
+
(v(!0), x(fe, null, me(k.value, (a, o) => (v(), x("div", {
|
|
204
204
|
key: `seat-${o}`,
|
|
205
205
|
style: A(a.region)
|
|
206
206
|
}, [
|
|
207
207
|
E(e.$slots, "streamViewUI", K({ ref_for: !0 }, { userInfo: a.userInfo }), void 0, !0),
|
|
208
208
|
e.$slots.streamViewUI ? w("", !0) : (v(), M(Q, {
|
|
209
209
|
key: 0,
|
|
210
|
-
streamViewInfoList:
|
|
210
|
+
streamViewInfoList: k.value,
|
|
211
211
|
userInfo: a.userInfo
|
|
212
212
|
}, null, 8, ["streamViewInfoList", "userInfo"]))
|
|
213
213
|
], 4))), 128))
|
|
214
214
|
])) : w("", !0),
|
|
215
|
-
e.$slots.localVideo &&
|
|
216
|
-
|
|
215
|
+
e.$slots.localVideo && P.value ? E(e.$slots, "localVideo", pe(K({ key: 1 }, { style: (t = ne.value) == null ? void 0 : t.region })), void 0, !0) : w("", !0),
|
|
216
|
+
de(Se, { seatListWithRealSize: z.value }, null, 8, ["seatListWithRealSize"])
|
|
217
217
|
], 4),
|
|
218
|
-
g(U) ? w("", !0) : (v(), M(
|
|
218
|
+
g(U) ? w("", !0) : (v(), M(we, {
|
|
219
219
|
key: 1,
|
|
220
220
|
to: "body",
|
|
221
221
|
disabled: !g(G)
|
|
@@ -232,12 +232,12 @@ const Ve = {
|
|
|
232
232
|
], 2);
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
}), Z = /* @__PURE__ */
|
|
236
|
-
J("en-US", { translation:
|
|
237
|
-
J("zh-CN", { translation:
|
|
238
|
-
const
|
|
235
|
+
}), Z = /* @__PURE__ */ Ce(Pe, [["__scopeId", "data-v-bff8b775"]]);
|
|
236
|
+
J("en-US", { translation: Ve });
|
|
237
|
+
J("zh-CN", { translation: ze });
|
|
238
|
+
const Ke = Z, je = Z, qe = Q;
|
|
239
239
|
export {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
240
|
+
qe as DefaultStreamViewUI,
|
|
241
|
+
Ke as LiveCoreView,
|
|
242
|
+
je as LiveView
|
|
243
243
|
};
|
|
@@ -26,8 +26,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
26
26
|
attachmentPickerMode: string;
|
|
27
27
|
actions: () => string[];
|
|
28
28
|
}>>> & Readonly<{}>, {
|
|
29
|
-
disabled: boolean;
|
|
30
29
|
placeholder: string;
|
|
30
|
+
disabled: boolean;
|
|
31
31
|
autoFocus: boolean;
|
|
32
32
|
maxLength: number;
|
|
33
33
|
actions: import('./types').MessageInputActions;
|
|
@@ -19,8 +19,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
19
19
|
placeholder: undefined;
|
|
20
20
|
maxLength: undefined;
|
|
21
21
|
}>>> & Readonly<{}>, {
|
|
22
|
-
disabled: boolean;
|
|
23
22
|
placeholder: string;
|
|
23
|
+
disabled: boolean;
|
|
24
24
|
autoFocus: boolean;
|
|
25
25
|
maxLength: number;
|
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -3,14 +3,14 @@ declare const MessageInput: {
|
|
|
3
3
|
slots: {
|
|
4
4
|
type: import('vue').PropType<import('./types').MessageInputSlots>;
|
|
5
5
|
};
|
|
6
|
-
disabled: {
|
|
7
|
-
type: import('vue').PropType<boolean>;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
6
|
placeholder: {
|
|
11
7
|
type: import('vue').PropType<string>;
|
|
12
8
|
default: undefined;
|
|
13
9
|
};
|
|
10
|
+
disabled: {
|
|
11
|
+
type: import('vue').PropType<boolean>;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
14
|
autoFocus: {
|
|
15
15
|
type: import('vue').PropType<boolean>;
|
|
16
16
|
default: boolean;
|
|
@@ -32,8 +32,8 @@ declare const MessageInput: {
|
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
34
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
35
|
-
disabled: boolean;
|
|
36
35
|
placeholder: string;
|
|
36
|
+
disabled: boolean;
|
|
37
37
|
autoFocus: boolean;
|
|
38
38
|
maxLength: number;
|
|
39
39
|
actions: import('./types').MessageInputActions;
|
|
@@ -50,14 +50,14 @@ declare const MessageInput: {
|
|
|
50
50
|
slots: {
|
|
51
51
|
type: import('vue').PropType<import('./types').MessageInputSlots>;
|
|
52
52
|
};
|
|
53
|
-
disabled: {
|
|
54
|
-
type: import('vue').PropType<boolean>;
|
|
55
|
-
default: boolean;
|
|
56
|
-
};
|
|
57
53
|
placeholder: {
|
|
58
54
|
type: import('vue').PropType<string>;
|
|
59
55
|
default: undefined;
|
|
60
56
|
};
|
|
57
|
+
disabled: {
|
|
58
|
+
type: import('vue').PropType<boolean>;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
61
|
autoFocus: {
|
|
62
62
|
type: import('vue').PropType<boolean>;
|
|
63
63
|
default: boolean;
|
|
@@ -79,8 +79,8 @@ declare const MessageInput: {
|
|
|
79
79
|
default: boolean;
|
|
80
80
|
};
|
|
81
81
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
82
|
-
disabled: boolean;
|
|
83
82
|
placeholder: string;
|
|
83
|
+
disabled: boolean;
|
|
84
84
|
autoFocus: boolean;
|
|
85
85
|
maxLength: number;
|
|
86
86
|
actions: import('./types').MessageInputActions;
|
|
@@ -94,14 +94,14 @@ declare const MessageInput: {
|
|
|
94
94
|
slots: {
|
|
95
95
|
type: import('vue').PropType<import('./types').MessageInputSlots>;
|
|
96
96
|
};
|
|
97
|
-
disabled: {
|
|
98
|
-
type: import('vue').PropType<boolean>;
|
|
99
|
-
default: boolean;
|
|
100
|
-
};
|
|
101
97
|
placeholder: {
|
|
102
98
|
type: import('vue').PropType<string>;
|
|
103
99
|
default: undefined;
|
|
104
100
|
};
|
|
101
|
+
disabled: {
|
|
102
|
+
type: import('vue').PropType<boolean>;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
105
|
autoFocus: {
|
|
106
106
|
type: import('vue').PropType<boolean>;
|
|
107
107
|
default: boolean;
|
|
@@ -123,8 +123,8 @@ declare const MessageInput: {
|
|
|
123
123
|
default: boolean;
|
|
124
124
|
};
|
|
125
125
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
126
|
-
disabled: boolean;
|
|
127
126
|
placeholder: string;
|
|
127
|
+
disabled: boolean;
|
|
128
128
|
autoFocus: boolean;
|
|
129
129
|
maxLength: number;
|
|
130
130
|
actions: import('./types').MessageInputActions;
|
|
@@ -415,14 +415,14 @@ declare const VideoPicker: {
|
|
|
415
415
|
});
|
|
416
416
|
declare const TextEditor: {
|
|
417
417
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
418
|
-
disabled: {
|
|
419
|
-
type: import('vue').PropType<boolean>;
|
|
420
|
-
default: boolean;
|
|
421
|
-
};
|
|
422
418
|
placeholder: {
|
|
423
419
|
type: import('vue').PropType<string>;
|
|
424
420
|
default: undefined;
|
|
425
421
|
};
|
|
422
|
+
disabled: {
|
|
423
|
+
type: import('vue').PropType<boolean>;
|
|
424
|
+
default: boolean;
|
|
425
|
+
};
|
|
426
426
|
autoFocus: {
|
|
427
427
|
type: import('vue').PropType<boolean>;
|
|
428
428
|
default: boolean;
|
|
@@ -432,8 +432,8 @@ declare const TextEditor: {
|
|
|
432
432
|
default: undefined;
|
|
433
433
|
};
|
|
434
434
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
435
|
-
disabled: boolean;
|
|
436
435
|
placeholder: string;
|
|
436
|
+
disabled: boolean;
|
|
437
437
|
autoFocus: boolean;
|
|
438
438
|
maxLength: number;
|
|
439
439
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -444,14 +444,14 @@ declare const TextEditor: {
|
|
|
444
444
|
M: {};
|
|
445
445
|
Defaults: {};
|
|
446
446
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
447
|
-
disabled: {
|
|
448
|
-
type: import('vue').PropType<boolean>;
|
|
449
|
-
default: boolean;
|
|
450
|
-
};
|
|
451
447
|
placeholder: {
|
|
452
448
|
type: import('vue').PropType<string>;
|
|
453
449
|
default: undefined;
|
|
454
450
|
};
|
|
451
|
+
disabled: {
|
|
452
|
+
type: import('vue').PropType<boolean>;
|
|
453
|
+
default: boolean;
|
|
454
|
+
};
|
|
455
455
|
autoFocus: {
|
|
456
456
|
type: import('vue').PropType<boolean>;
|
|
457
457
|
default: boolean;
|
|
@@ -461,8 +461,8 @@ declare const TextEditor: {
|
|
|
461
461
|
default: undefined;
|
|
462
462
|
};
|
|
463
463
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
464
|
-
disabled: boolean;
|
|
465
464
|
placeholder: string;
|
|
465
|
+
disabled: boolean;
|
|
466
466
|
autoFocus: boolean;
|
|
467
467
|
maxLength: number;
|
|
468
468
|
}>;
|
|
@@ -470,14 +470,14 @@ declare const TextEditor: {
|
|
|
470
470
|
__isTeleport?: never;
|
|
471
471
|
__isSuspense?: never;
|
|
472
472
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
473
|
-
disabled: {
|
|
474
|
-
type: import('vue').PropType<boolean>;
|
|
475
|
-
default: boolean;
|
|
476
|
-
};
|
|
477
473
|
placeholder: {
|
|
478
474
|
type: import('vue').PropType<string>;
|
|
479
475
|
default: undefined;
|
|
480
476
|
};
|
|
477
|
+
disabled: {
|
|
478
|
+
type: import('vue').PropType<boolean>;
|
|
479
|
+
default: boolean;
|
|
480
|
+
};
|
|
481
481
|
autoFocus: {
|
|
482
482
|
type: import('vue').PropType<boolean>;
|
|
483
483
|
default: boolean;
|
|
@@ -487,8 +487,8 @@ declare const TextEditor: {
|
|
|
487
487
|
default: undefined;
|
|
488
488
|
};
|
|
489
489
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
490
|
-
disabled: boolean;
|
|
491
490
|
placeholder: string;
|
|
491
|
+
disabled: boolean;
|
|
492
492
|
autoFocus: boolean;
|
|
493
493
|
maxLength: number;
|
|
494
494
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
package/dist/components/RoomParticipantList/useParticpantAction/useNameCardAction/index.d.ts
CHANGED
|
@@ -5,7 +5,15 @@ export declare function useNameCardAction({ targetParticipant }: {
|
|
|
5
5
|
targetParticipant: RoomParticipant;
|
|
6
6
|
}): {
|
|
7
7
|
key: string;
|
|
8
|
-
icon:
|
|
9
|
-
|
|
8
|
+
icon: import('vue').Raw<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
|
+
size: {
|
|
10
|
+
type: import('vue').PropType<string | number>;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
size: {
|
|
14
|
+
type: import('vue').PropType<string | number>;
|
|
15
|
+
};
|
|
16
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
|
|
17
|
+
label: string;
|
|
10
18
|
handler: () => void;
|
|
11
19
|
};
|
|
@@ -16,12 +16,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
16
16
|
onChange: {
|
|
17
17
|
type: import('vue').PropType<(e: Event) => void>;
|
|
18
18
|
};
|
|
19
|
-
|
|
19
|
+
placeholder: {
|
|
20
20
|
type: import('vue').PropType<string>;
|
|
21
|
-
default: string;
|
|
22
21
|
};
|
|
23
|
-
|
|
22
|
+
value: {
|
|
24
23
|
type: import('vue').PropType<string>;
|
|
24
|
+
default: string;
|
|
25
25
|
};
|
|
26
26
|
className: {
|
|
27
27
|
type: import('vue').PropType<string>;
|
|
@@ -61,12 +61,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
61
61
|
onChange: {
|
|
62
62
|
type: import('vue').PropType<(e: Event) => void>;
|
|
63
63
|
};
|
|
64
|
-
|
|
64
|
+
placeholder: {
|
|
65
65
|
type: import('vue').PropType<string>;
|
|
66
|
-
default: string;
|
|
67
66
|
};
|
|
68
|
-
|
|
67
|
+
value: {
|
|
69
68
|
type: import('vue').PropType<string>;
|
|
69
|
+
default: string;
|
|
70
70
|
};
|
|
71
71
|
className: {
|
|
72
72
|
type: import('vue').PropType<string>;
|
|
@@ -403,12 +403,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
403
403
|
onChange: {
|
|
404
404
|
type: import('vue').PropType<(e: Event) => void>;
|
|
405
405
|
};
|
|
406
|
-
|
|
406
|
+
placeholder: {
|
|
407
407
|
type: import('vue').PropType<string>;
|
|
408
|
-
default: string;
|
|
409
408
|
};
|
|
410
|
-
|
|
409
|
+
value: {
|
|
411
410
|
type: import('vue').PropType<string>;
|
|
411
|
+
default: string;
|
|
412
412
|
};
|
|
413
413
|
className: {
|
|
414
414
|
type: import('vue').PropType<string>;
|
|
@@ -448,12 +448,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
448
448
|
onChange: {
|
|
449
449
|
type: import('vue').PropType<(e: Event) => void>;
|
|
450
450
|
};
|
|
451
|
-
|
|
451
|
+
placeholder: {
|
|
452
452
|
type: import('vue').PropType<string>;
|
|
453
|
-
default: string;
|
|
454
453
|
};
|
|
455
|
-
|
|
454
|
+
value: {
|
|
456
455
|
type: import('vue').PropType<string>;
|
|
456
|
+
default: string;
|
|
457
457
|
};
|
|
458
458
|
className: {
|
|
459
459
|
type: import('vue').PropType<string>;
|
|
@@ -30,12 +30,12 @@ declare const Search: import('vue').DefineComponent<import('vue').ExtractPropTyp
|
|
|
30
30
|
onChange: {
|
|
31
31
|
type: import('vue').PropType<(e: Event) => void>;
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
placeholder: {
|
|
34
34
|
type: import('vue').PropType<string>;
|
|
35
|
-
default: string;
|
|
36
35
|
};
|
|
37
|
-
|
|
36
|
+
value: {
|
|
38
37
|
type: import('vue').PropType<string>;
|
|
38
|
+
default: string;
|
|
39
39
|
};
|
|
40
40
|
className: {
|
|
41
41
|
type: import('vue').PropType<string>;
|
|
@@ -75,12 +75,12 @@ declare const Search: import('vue').DefineComponent<import('vue').ExtractPropTyp
|
|
|
75
75
|
onChange: {
|
|
76
76
|
type: import('vue').PropType<(e: Event) => void>;
|
|
77
77
|
};
|
|
78
|
-
|
|
78
|
+
placeholder: {
|
|
79
79
|
type: import('vue').PropType<string>;
|
|
80
|
-
default: string;
|
|
81
80
|
};
|
|
82
|
-
|
|
81
|
+
value: {
|
|
83
82
|
type: import('vue').PropType<string>;
|
|
83
|
+
default: string;
|
|
84
84
|
};
|
|
85
85
|
className: {
|
|
86
86
|
type: import('vue').PropType<string>;
|
|
@@ -465,12 +465,12 @@ declare const Search: import('vue').DefineComponent<import('vue').ExtractPropTyp
|
|
|
465
465
|
onChange: {
|
|
466
466
|
type: import('vue').PropType<(e: Event) => void>;
|
|
467
467
|
};
|
|
468
|
-
|
|
468
|
+
placeholder: {
|
|
469
469
|
type: import('vue').PropType<string>;
|
|
470
|
-
default: string;
|
|
471
470
|
};
|
|
472
|
-
|
|
471
|
+
value: {
|
|
473
472
|
type: import('vue').PropType<string>;
|
|
473
|
+
default: string;
|
|
474
474
|
};
|
|
475
475
|
className: {
|
|
476
476
|
type: import('vue').PropType<string>;
|
|
@@ -510,12 +510,12 @@ declare const Search: import('vue').DefineComponent<import('vue').ExtractPropTyp
|
|
|
510
510
|
onChange: {
|
|
511
511
|
type: import('vue').PropType<(e: Event) => void>;
|
|
512
512
|
};
|
|
513
|
-
|
|
513
|
+
placeholder: {
|
|
514
514
|
type: import('vue').PropType<string>;
|
|
515
|
-
default: string;
|
|
516
515
|
};
|
|
517
|
-
|
|
516
|
+
value: {
|
|
518
517
|
type: import('vue').PropType<string>;
|
|
518
|
+
default: string;
|
|
519
519
|
};
|
|
520
520
|
className: {
|
|
521
521
|
type: import('vue').PropType<string>;
|
|
@@ -1176,12 +1176,12 @@ declare const SearchBar: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
1176
1176
|
onChange: {
|
|
1177
1177
|
type: import('vue').PropType<(e: Event) => void>;
|
|
1178
1178
|
};
|
|
1179
|
-
|
|
1179
|
+
placeholder: {
|
|
1180
1180
|
type: import('vue').PropType<string>;
|
|
1181
|
-
default: string;
|
|
1182
1181
|
};
|
|
1183
|
-
|
|
1182
|
+
value: {
|
|
1184
1183
|
type: import('vue').PropType<string>;
|
|
1184
|
+
default: string;
|
|
1185
1185
|
};
|
|
1186
1186
|
className: {
|
|
1187
1187
|
type: import('vue').PropType<string>;
|
|
@@ -1221,12 +1221,12 @@ declare const SearchBar: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
1221
1221
|
onChange: {
|
|
1222
1222
|
type: import('vue').PropType<(e: Event) => void>;
|
|
1223
1223
|
};
|
|
1224
|
-
|
|
1224
|
+
placeholder: {
|
|
1225
1225
|
type: import('vue').PropType<string>;
|
|
1226
|
-
default: string;
|
|
1227
1226
|
};
|
|
1228
|
-
|
|
1227
|
+
value: {
|
|
1229
1228
|
type: import('vue').PropType<string>;
|
|
1229
|
+
default: string;
|
|
1230
1230
|
};
|
|
1231
1231
|
className: {
|
|
1232
1232
|
type: import('vue').PropType<string>;
|