@ndscnj/roomkit-web-vue3 25.12.2417 → 25.12.2419
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/es/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +2 -2
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.mjs +1 -1
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue2.mjs +77 -31
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts +1 -5
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +1 -1
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue2.mjs +1 -7
- package/es/components/RoomFooter/VoteControl/index.d.ts +3 -3
- package/es/components/RoomFooter/index/index.d.ts +4 -31
- package/es/components/RoomFooter/index/indexH5.vue.d.ts +1 -12
- package/es/components/RoomFooter/index/indexH5.vue.mjs +1 -1
- package/es/components/RoomFooter/index/indexH5.vue2.mjs +5 -20
- package/es/components/RoomSidebar/index.d.ts +1 -17
- package/es/components/RoomSidebar/indexH5.vue.d.ts +1 -10
- package/es/components/RoomSidebar/indexH5.vue.mjs +1 -1
- package/es/components/RoomSidebar/indexH5.vue2.mjs +3 -10
- package/es/components/RoomVote/index.d.ts +6 -2
- package/es/components/RoomVote/indexH5.vue.d.ts +5 -10
- package/es/components/RoomVote/indexH5.vue.mjs +2 -9
- package/es/components/RoomVote/indexH5.vue2.mjs +51 -0
- package/es/components/RoomVote/indexPC.vue.mjs +1 -1
- package/es/components/RoomVote/useRoomMoreHooks.mjs +43 -0
- package/es/conference.vue.mjs +1 -1
- package/es/conference.vue2.mjs +6 -1
- package/es/index.mjs +128 -71
- package/lib/components/Chat/index/indexH5.vue.js +1 -1
- package/lib/components/ManageMember/MemberItem/indexH5.vue.js +1 -1
- package/lib/components/ManageMember/indexH5.vue.js +1 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +2 -2
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.js +1 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue2.js +76 -30
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts +1 -5
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +1 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue2.js +1 -7
- package/lib/components/RoomFooter/VoteControl/index.d.ts +3 -3
- package/lib/components/RoomFooter/index/index.d.ts +4 -31
- package/lib/components/RoomFooter/index/indexH5.vue.d.ts +1 -12
- package/lib/components/RoomFooter/index/indexH5.vue.js +2 -2
- package/lib/components/RoomFooter/index/indexH5.vue2.js +4 -19
- package/lib/components/RoomInvite/indexH5.vue.js +1 -1
- package/lib/components/RoomMore/indexH5.vue.js +1 -1
- package/lib/components/RoomSidebar/index.d.ts +1 -17
- package/lib/components/RoomSidebar/indexH5.vue.d.ts +1 -10
- package/lib/components/RoomSidebar/indexH5.vue.js +2 -2
- package/lib/components/RoomSidebar/indexH5.vue2.js +2 -9
- package/lib/components/RoomVote/index.d.ts +6 -2
- package/lib/components/RoomVote/indexH5.vue.d.ts +5 -10
- package/lib/components/RoomVote/indexH5.vue.js +2 -9
- package/lib/components/RoomVote/indexH5.vue2.js +51 -0
- package/lib/components/RoomVote/indexPC.vue.js +1 -1
- package/lib/components/RoomVote/useRoomMoreHooks.js +43 -0
- package/lib/conference.vue.js +1 -1
- package/lib/conference.vue2.js +6 -1
- package/lib/index.js +128 -71
- package/package.json +1 -1
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlH5.vue +108 -26
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +6 -10
- package/src/TUIRoom/components/RoomFooter/index/indexH5.vue +2 -15
- package/src/TUIRoom/components/RoomSidebar/indexH5.vue +0 -5
- package/src/TUIRoom/components/RoomVote/indexH5.vue +118 -61
- package/src/TUIRoom/components/RoomVote/indexPC.vue +0 -1
- package/src/TUIRoom/conference.vue +3 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
-
"
|
|
2
|
+
"show-overlay": (...args: any[]) => void;
|
|
3
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
"
|
|
4
|
+
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
5
5
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./MoreControlH5.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const MoreControlH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const MoreControlH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c413959d"]]);
|
|
5
5
|
export {
|
|
6
6
|
MoreControlH5 as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock, createCommentVNode, unref,
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent, ref, onMounted, onUnmounted, createElementBlock, openBlock, createCommentVNode, unref, withDirectives, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import { IconExtension } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
3
|
import IconButton from "../../common/base/IconButton.vue.mjs";
|
|
4
4
|
import useControl from "./useMoreControlHooks.mjs";
|
|
5
|
+
import _sfc_main$1 from "../ChatControl.vue.mjs";
|
|
6
|
+
import InviteControl from "../InviteControl.vue.mjs";
|
|
7
|
+
import ContactControl from "../ContactControl.vue.mjs";
|
|
8
|
+
import { useRoomStore } from "../../../stores/room.mjs";
|
|
9
|
+
import bus from "../../../hooks/useMitt.mjs";
|
|
10
|
+
import vTap from "../../../directives/vTap.mjs";
|
|
5
11
|
import "../../../services/main.mjs";
|
|
6
12
|
import { roomService } from "../../../services/roomService.mjs";
|
|
7
13
|
import "../../../locales/index.mjs";
|
|
@@ -14,43 +20,83 @@ const _hoisted_1 = {
|
|
|
14
20
|
key: 0,
|
|
15
21
|
class: "more-control-container"
|
|
16
22
|
};
|
|
23
|
+
const _hoisted_2 = { class: "control-compent" };
|
|
24
|
+
const _hoisted_3 = { class: "close" };
|
|
17
25
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
26
|
__name: "MoreControlH5",
|
|
19
|
-
emits: ["
|
|
27
|
+
emits: ["show-overlay"],
|
|
20
28
|
setup(__props, { emit: __emit }) {
|
|
21
29
|
const moreControlConfig = roomService.getComponentConfig("MoreControl");
|
|
22
|
-
const
|
|
30
|
+
const showMoreContent = ref(false);
|
|
31
|
+
const moreContentRef = ref();
|
|
32
|
+
const { t, sidebarName } = useControl();
|
|
33
|
+
const roomStore = useRoomStore();
|
|
23
34
|
const emit = __emit;
|
|
24
|
-
function
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
35
|
+
function showMore() {
|
|
36
|
+
showMoreContent.value = true;
|
|
37
|
+
}
|
|
38
|
+
function handleCancelControl() {
|
|
39
|
+
showMoreContent.value = false;
|
|
40
|
+
}
|
|
41
|
+
function handleControlClick(name) {
|
|
42
|
+
bus.emit("experience-communication", name);
|
|
43
|
+
}
|
|
44
|
+
function handleShowOverlay(data) {
|
|
45
|
+
showMoreContent.value = false;
|
|
46
|
+
emit("show-overlay", data);
|
|
47
|
+
}
|
|
48
|
+
function handleDocumentClick(event) {
|
|
49
|
+
if (showMoreContent.value && !moreContentRef.value.contains(event.target)) {
|
|
50
|
+
showMoreContent.value = false;
|
|
29
51
|
}
|
|
30
|
-
basicStore.setSidebarOpenStatus(true);
|
|
31
|
-
basicStore.setSidebarName("vote");
|
|
32
|
-
emit("on-vote", {
|
|
33
|
-
name: "onVote",
|
|
34
|
-
visible: basicStore.isSidebarOpen
|
|
35
|
-
});
|
|
36
52
|
}
|
|
53
|
+
onMounted(() => {
|
|
54
|
+
document == null ? void 0 : document.addEventListener("click", handleDocumentClick, true);
|
|
55
|
+
});
|
|
56
|
+
onUnmounted(() => {
|
|
57
|
+
document == null ? void 0 : document.removeEventListener("click", handleDocumentClick, true);
|
|
58
|
+
});
|
|
37
59
|
return (_ctx, _cache) => {
|
|
38
|
-
return
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
])
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
60
|
+
return openBlock(), createElementBlock("div", null, [
|
|
61
|
+
unref(moreControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
62
|
+
withDirectives((openBlock(), createBlock(IconButton, {
|
|
63
|
+
"is-active": unref(sidebarName) === "more",
|
|
64
|
+
title: unref(t)("More")
|
|
65
|
+
}, {
|
|
66
|
+
default: withCtx(() => [
|
|
67
|
+
createVNode(unref(IconExtension), { size: "24" })
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}, 8, ["is-active", "title"])), [
|
|
71
|
+
[unref(vTap), showMore]
|
|
72
|
+
])
|
|
73
|
+
])) : createCommentVNode("", true),
|
|
74
|
+
showMoreContent.value ? (openBlock(), createElementBlock("div", {
|
|
75
|
+
key: 1,
|
|
76
|
+
ref_key: "moreContentRef",
|
|
77
|
+
ref: moreContentRef,
|
|
78
|
+
class: "show-more-content"
|
|
79
|
+
}, [
|
|
80
|
+
createElementVNode("div", _hoisted_2, [
|
|
81
|
+
unref(roomStore).isSpeakAfterTakingSeatMode ? (openBlock(), createBlock(_sfc_main$1, {
|
|
82
|
+
key: 0,
|
|
83
|
+
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("chatControl"))
|
|
84
|
+
})) : createCommentVNode("", true),
|
|
85
|
+
createVNode(ContactControl, {
|
|
86
|
+
onClick: _cache[1] || (_cache[1] = ($event) => handleControlClick("contactControl"))
|
|
87
|
+
}),
|
|
88
|
+
createVNode(InviteControl, {
|
|
89
|
+
onShowOverlay: handleShowOverlay,
|
|
90
|
+
onClick: _cache[2] || (_cache[2] = ($event) => handleControlClick("inviteControl"))
|
|
91
|
+
})
|
|
92
|
+
]),
|
|
93
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_3, [
|
|
94
|
+
createTextVNode(toDisplayString(unref(t)("Cancel")), 1)
|
|
95
|
+
])), [
|
|
96
|
+
[unref(vTap), handleCancelControl]
|
|
97
|
+
])
|
|
98
|
+
], 512)) : createCommentVNode("", true)
|
|
99
|
+
]);
|
|
54
100
|
};
|
|
55
101
|
}
|
|
56
102
|
});
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
-
"on-vote": (...args: any[]) => void;
|
|
3
|
-
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
2
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./MoreControlPC.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const MoreControlPc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const MoreControlPc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ca02c770"]]);
|
|
5
5
|
export {
|
|
6
6
|
MoreControlPc as default
|
|
7
7
|
};
|
|
@@ -16,11 +16,9 @@ const _hoisted_1 = {
|
|
|
16
16
|
};
|
|
17
17
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
18
|
__name: "MoreControlPC",
|
|
19
|
-
|
|
20
|
-
setup(__props, { emit: __emit }) {
|
|
19
|
+
setup(__props) {
|
|
21
20
|
const moreControlConfig = roomService.getComponentConfig("MoreControl");
|
|
22
21
|
const { t, basicStore, sidebarName } = useControl();
|
|
23
|
-
const emit = __emit;
|
|
24
22
|
function toggleMoreSidebar() {
|
|
25
23
|
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
|
|
26
24
|
basicStore.setSidebarOpenStatus(false);
|
|
@@ -29,10 +27,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
27
|
}
|
|
30
28
|
basicStore.setSidebarOpenStatus(true);
|
|
31
29
|
basicStore.setSidebarName("vote");
|
|
32
|
-
emit("on-vote", {
|
|
33
|
-
name: "onVote",
|
|
34
|
-
visible: basicStore.isSidebarOpen
|
|
35
|
-
});
|
|
36
30
|
}
|
|
37
31
|
return (_ctx, _cache) => {
|
|
38
32
|
return unref(moreControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const MoreControl: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
-
"
|
|
2
|
+
"show-overlay": (...args: any[]) => void;
|
|
3
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
"
|
|
5
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
export default MoreControl;
|
|
@@ -1,35 +1,8 @@
|
|
|
1
|
-
declare const Index: ({
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
3
|
-
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
4
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
-
"show-overlay": (...args: any[]) => void;
|
|
7
|
-
"on-vote": (...args: any[]) => void;
|
|
8
|
-
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
9
|
-
P: {};
|
|
10
|
-
B: {};
|
|
11
|
-
D: {};
|
|
12
|
-
C: {};
|
|
13
|
-
M: {};
|
|
14
|
-
Defaults: {};
|
|
15
|
-
}, Readonly<{}> & Readonly<{
|
|
16
|
-
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, {}>;
|
|
19
|
-
__isFragment?: never;
|
|
20
|
-
__isTeleport?: never;
|
|
21
|
-
__isSuspense?: never;
|
|
22
|
-
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
23
|
-
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
25
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1
|
+
declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
2
|
"show-overlay": (...args: any[]) => void;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
content?(_: {}): any;
|
|
31
|
-
};
|
|
32
|
-
})) | ({
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
|
|
33
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
34
7
|
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
35
8
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
declare
|
|
2
|
-
content?(_: {}): any;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
2
|
"show-overlay": (...args: any[]) => void;
|
|
6
|
-
"on-vote": (...args: any[]) => void;
|
|
7
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
8
4
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
10
5
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
12
6
|
export default _default;
|
|
13
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./indexH5.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f3bbac91"]]);
|
|
5
5
|
export {
|
|
6
6
|
indexH5 as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, withDirectives, createCommentVNode, createVNode, unref, createBlock
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, withDirectives, createCommentVNode, createVNode, unref, createBlock } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../../core/components/AudioSetting/index.vue.mjs";
|
|
3
3
|
import VideoSetting from "../../../core/components/VideoSetting/index.vue.mjs";
|
|
4
4
|
import "@tencentcloud/uikit-base-component-vue3";
|
|
@@ -55,22 +55,17 @@ import _sfc_main$4 from "../ManageMemberControl.vue.mjs";
|
|
|
55
55
|
import _sfc_main$2 from "../ChatControl.vue.mjs";
|
|
56
56
|
import _sfc_main$3 from "../ManageStageControl.vue.mjs";
|
|
57
57
|
import MemberApplyControl from "../ApplyControl/MemberApplyControl.vue.mjs";
|
|
58
|
-
import MoreControl
|
|
58
|
+
import MoreControl from "../MoreControl/index.mjs";
|
|
59
59
|
import AIControl from "../AIControl.vue.mjs";
|
|
60
|
-
import MoreControl from "../VoteControl/index.mjs";
|
|
61
60
|
import bus from "../../../hooks/useMitt.mjs";
|
|
62
61
|
import useRoomFooter from "./useRoomFooterHooks.mjs";
|
|
63
62
|
const _hoisted_1 = { class: "footer-container" };
|
|
64
63
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
65
64
|
__name: "indexH5",
|
|
66
|
-
emits: ["show-overlay"
|
|
65
|
+
emits: ["show-overlay"],
|
|
67
66
|
setup(__props, { emit: __emit }) {
|
|
68
67
|
const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooter();
|
|
69
68
|
const emit = __emit;
|
|
70
|
-
const onVote = (data) => {
|
|
71
|
-
console.log(data, "data111");
|
|
72
|
-
emit("on-vote", { code: data.visible, message: "vote" });
|
|
73
|
-
};
|
|
74
69
|
function handleControlClick(name) {
|
|
75
70
|
bus.emit("experience-communication", name);
|
|
76
71
|
}
|
|
@@ -91,21 +86,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
91
86
|
}, null, 8, ["display-mode"])), [
|
|
92
87
|
[unref(vTap), () => handleControlClick("videoControl")]
|
|
93
88
|
]) : createCommentVNode("", true),
|
|
94
|
-
createVNode(unref(MoreControl), {
|
|
95
|
-
class: "center-container-item",
|
|
96
|
-
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("voteControl")),
|
|
97
|
-
onOnVote: onVote
|
|
98
|
-
}, {
|
|
99
|
-
content: withCtx(() => [
|
|
100
|
-
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
101
|
-
]),
|
|
102
|
-
_: 3
|
|
103
|
-
}),
|
|
104
89
|
!unref(roomStore).isSpeakAfterTakingSeatMode ? withDirectives((openBlock(), createBlock(_sfc_main$2, { key: 2 }, null, 512)), [
|
|
105
90
|
[unref(vTap), () => handleControlClick("chatControl")]
|
|
106
91
|
]) : createCommentVNode("", true),
|
|
107
92
|
createVNode(AIControl, {
|
|
108
|
-
onClick: _cache[
|
|
93
|
+
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("AIControl"))
|
|
109
94
|
}),
|
|
110
95
|
unref(roomStore).isSpeakAfterTakingSeatMode && (unref(isMaster) || unref(isAdmin)) ? withDirectives((openBlock(), createBlock(_sfc_main$3, { key: 3 }, null, 512)), [
|
|
111
96
|
[unref(vTap), () => handleControlClick("MasterApplyControl")]
|
|
@@ -116,7 +101,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
101
|
withDirectives(createVNode(_sfc_main$4, null, null, 512), [
|
|
117
102
|
[unref(vTap), () => handleControlClick("manageMemberControl")]
|
|
118
103
|
]),
|
|
119
|
-
withDirectives(createVNode(unref(MoreControl
|
|
104
|
+
withDirectives(createVNode(unref(MoreControl), { onShowOverlay: handleShowOverlay }, null, 512), [
|
|
120
105
|
[unref(vTap), () => handleControlClick("moreControl")]
|
|
121
106
|
])
|
|
122
107
|
]);
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
declare const Index: {
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
3
|
-
P: {};
|
|
4
|
-
B: {};
|
|
5
|
-
D: {};
|
|
6
|
-
C: {};
|
|
7
|
-
M: {};
|
|
8
|
-
Defaults: {};
|
|
9
|
-
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
-
__isFragment?: never;
|
|
11
|
-
__isTeleport?: never;
|
|
12
|
-
__isSuspense?: never;
|
|
13
|
-
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
14
|
-
$slots: {
|
|
15
|
-
content?(_: {}): any;
|
|
16
|
-
};
|
|
17
|
-
});
|
|
1
|
+
declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
2
|
export default Index;
|
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
declare
|
|
2
|
-
content?(_: {}): any;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
2
|
export default _default;
|
|
7
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
-
new (): {
|
|
9
|
-
$slots: S;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./indexH5.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e545b2de"]]);
|
|
5
5
|
export {
|
|
6
6
|
indexH5 as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, createBlock, createCommentVNode, unref, openBlock, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import Index from "../Chat/index/index.mjs";
|
|
3
3
|
import MasterApplyControl from "../RoomFooter/ApplyControl/MasterApplyControl/index.mjs";
|
|
4
4
|
import index from "../ManageMember/index.mjs";
|
|
@@ -11,7 +11,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
setup(__props) {
|
|
12
12
|
const { title, sidebarName, showSideBar } = useSideBar();
|
|
13
13
|
return (_ctx, _cache) => {
|
|
14
|
-
const _component_room_vote = resolveComponent("room-vote");
|
|
15
14
|
return unref(showSideBar) ? (openBlock(), createBlock(popup, {
|
|
16
15
|
key: 0,
|
|
17
16
|
title: unref(title),
|
|
@@ -21,13 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
20
|
createElementVNode("div", _hoisted_1, [
|
|
22
21
|
unref(sidebarName) === "chat" ? (openBlock(), createBlock(unref(Index), { key: 0 })) : createCommentVNode("", true),
|
|
23
22
|
unref(sidebarName) === "manage-member" ? (openBlock(), createBlock(unref(index), { key: 1 })) : createCommentVNode("", true),
|
|
24
|
-
unref(sidebarName) === "apply" ? (openBlock(), createBlock(unref(MasterApplyControl), { key: 2 })) : createCommentVNode("", true)
|
|
25
|
-
unref(sidebarName) == "vote" ? (openBlock(), createBlock(_component_room_vote, { key: 3 }, {
|
|
26
|
-
content: withCtx(() => [
|
|
27
|
-
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
28
|
-
]),
|
|
29
|
-
_: 3
|
|
30
|
-
})) : createCommentVNode("", true)
|
|
23
|
+
unref(sidebarName) === "apply" ? (openBlock(), createBlock(unref(MasterApplyControl), { key: 2 })) : createCommentVNode("", true)
|
|
31
24
|
])
|
|
32
25
|
]),
|
|
33
26
|
sidebarFooter: withCtx(() => [
|
|
@@ -35,7 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
28
|
unref(sidebarName) === "chat" ? (openBlock(), createBlock(unref(ChatEditor), { key: 0 })) : createCommentVNode("", true)
|
|
36
29
|
])
|
|
37
30
|
]),
|
|
38
|
-
_:
|
|
31
|
+
_: 1
|
|
39
32
|
}, 8, ["title"])) : createCommentVNode("", true);
|
|
40
33
|
};
|
|
41
34
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
declare const Index: {
|
|
1
|
+
declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
"on-close-contact": (...args: any[]) => void;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
"onOn-close-contact"?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
|
|
2
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
3
7
|
P: {};
|
|
4
8
|
B: {};
|
|
@@ -14,5 +18,5 @@ declare const Index: {
|
|
|
14
18
|
$slots: {
|
|
15
19
|
content?(_: {}): any;
|
|
16
20
|
};
|
|
17
|
-
});
|
|
21
|
+
}));
|
|
18
22
|
export default Index;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
"on-close-contact": (...args: any[]) => void;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
"onOn-close-contact"?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
export default _default;
|
|
7
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
-
new (): {
|
|
9
|
-
$slots: S;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _sfc_main from "./indexH5.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
5
|
-
const _hoisted_1 = { class: "more-container" };
|
|
6
|
-
function _sfc_render(_ctx, _cache) {
|
|
7
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
8
|
-
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
9
|
-
]);
|
|
10
|
-
}
|
|
11
|
-
const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5d02e842"]]);
|
|
4
|
+
const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-939000cb"]]);
|
|
12
5
|
export {
|
|
13
6
|
indexH5 as default
|
|
14
7
|
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, createElementVNode, withDirectives, toDisplayString, unref, createTextVNode, Fragment, renderList, createVNode } from "vue";
|
|
2
|
+
import useRoomMoreHooks from "./useRoomMoreHooks.mjs";
|
|
3
|
+
import { IconCopy } from "@tencentcloud/uikit-base-component-vue3";
|
|
4
|
+
import vTap from "../../directives/vTap.mjs";
|
|
5
|
+
const _hoisted_1 = { class: "contact-container-main" };
|
|
6
|
+
const _hoisted_2 = { class: "contact-title-main" };
|
|
7
|
+
const _hoisted_3 = { class: "cancel" };
|
|
8
|
+
const _hoisted_4 = { class: "contact-title" };
|
|
9
|
+
const _hoisted_5 = { class: "contact-content" };
|
|
10
|
+
const _hoisted_6 = { class: "contact-bottom" };
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
+
__name: "indexH5",
|
|
13
|
+
emits: ["on-close-contact"],
|
|
14
|
+
setup(__props, { emit: __emit }) {
|
|
15
|
+
const { t, onCopy, contactContentList } = useRoomMoreHooks();
|
|
16
|
+
const emit = __emit;
|
|
17
|
+
function handleCloseContact() {
|
|
18
|
+
emit("on-close-contact");
|
|
19
|
+
}
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
22
|
+
createElementVNode("div", _hoisted_2, [
|
|
23
|
+
createElementVNode("div", null, toDisplayString(unref(t)("Contact us")), 1),
|
|
24
|
+
withDirectives((openBlock(), createElementBlock("span", _hoisted_3, [
|
|
25
|
+
createTextVNode(toDisplayString(unref(t)("Cancel")), 1)
|
|
26
|
+
])), [
|
|
27
|
+
[unref(vTap), handleCloseContact]
|
|
28
|
+
])
|
|
29
|
+
]),
|
|
30
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(contactContentList), (item) => {
|
|
31
|
+
return openBlock(), createElementBlock("div", {
|
|
32
|
+
key: item.id,
|
|
33
|
+
class: "contact-content-main"
|
|
34
|
+
}, [
|
|
35
|
+
createElementVNode("span", _hoisted_4, toDisplayString(unref(t)(item.title)), 1),
|
|
36
|
+
createElementVNode("span", _hoisted_5, toDisplayString(item.content), 1),
|
|
37
|
+
withDirectives(createVNode(unref(IconCopy), { class: "copy" }, null, 512), [
|
|
38
|
+
[unref(vTap), () => unref(onCopy)(item.copyLink)]
|
|
39
|
+
])
|
|
40
|
+
]);
|
|
41
|
+
}), 128)),
|
|
42
|
+
createElementVNode("span", _hoisted_6, toDisplayString(unref(t)(
|
|
43
|
+
"If you have any questions, please feel free to join our QQ group or send an email"
|
|
44
|
+
)), 1)
|
|
45
|
+
]);
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
_sfc_main as default
|
|
51
|
+
};
|
|
@@ -8,7 +8,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
8
8
|
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
9
9
|
]);
|
|
10
10
|
}
|
|
11
|
-
const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
11
|
+
const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-183c195c"]]);
|
|
12
12
|
export {
|
|
13
13
|
indexPC as default
|
|
14
14
|
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { computed } from "vue";
|
|
2
|
+
import { TUIToast, TOAST_TYPE } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
|
+
import i18n, { useI18n } from "../../locales/index.mjs";
|
|
4
|
+
import "../../utils/environment.mjs";
|
|
5
|
+
import { clipBoard } from "../../utils/adapter.mjs";
|
|
6
|
+
function useRoomMoreHooks() {
|
|
7
|
+
const { t } = useI18n();
|
|
8
|
+
const groupNumber = "770645461";
|
|
9
|
+
const email = "chaooliang@tencent.com";
|
|
10
|
+
async function onCopy(value) {
|
|
11
|
+
try {
|
|
12
|
+
await clipBoard(value);
|
|
13
|
+
TUIToast({
|
|
14
|
+
message: t("Copied successfully"),
|
|
15
|
+
type: TOAST_TYPE.SUCCESS
|
|
16
|
+
});
|
|
17
|
+
} catch (error) {
|
|
18
|
+
TUIToast({
|
|
19
|
+
message: t("Copied failure"),
|
|
20
|
+
type: TOAST_TYPE.ERROR
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
const isZH = computed(() => i18n.global.locale.value === "zh-CN");
|
|
25
|
+
const contactContentList = [
|
|
26
|
+
{ id: 1, title: "group chat", content: groupNumber, copyLink: groupNumber },
|
|
27
|
+
{ id: 2, title: "Email", content: email, copyLink: email }
|
|
28
|
+
];
|
|
29
|
+
const handleClick = () => {
|
|
30
|
+
window.open("https://zhiliao.qq.com/s/c5GY7HIM62CK", "_blank");
|
|
31
|
+
};
|
|
32
|
+
return {
|
|
33
|
+
t,
|
|
34
|
+
onCopy,
|
|
35
|
+
contactContentList,
|
|
36
|
+
email,
|
|
37
|
+
handleClick,
|
|
38
|
+
isZH
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
useRoomMoreHooks as default
|
|
43
|
+
};
|
package/es/conference.vue.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import _sfc_main from "./conference.vue2.mjs";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import _export_sfc from "./_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const ConferenceMainView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const ConferenceMainView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4dd66a12"]]);
|
|
6
6
|
export {
|
|
7
7
|
ConferenceMainView as default
|
|
8
8
|
};
|
package/es/conference.vue2.mjs
CHANGED
|
@@ -274,7 +274,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
274
274
|
class: "footer",
|
|
275
275
|
onShowOverlay: handleShowOverlay,
|
|
276
276
|
onOnVote: onVote
|
|
277
|
-
},
|
|
277
|
+
}, {
|
|
278
|
+
content: withCtx(() => [
|
|
279
|
+
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
280
|
+
]),
|
|
281
|
+
_: 3
|
|
282
|
+
}, 512), [
|
|
278
283
|
[vShow, unref(showRoomTool)]
|
|
279
284
|
]),
|
|
280
285
|
createVNode(unref(Index$1), { onOnVote: onVote }, {
|