@ndscnj/roomkit-web-vue3 25.12.24166 → 25.12.24168
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.mjs +1 -1
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue2.mjs +4 -6
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +1 -1
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue2.mjs +4 -6
- package/es/components/RoomFooter/index/index.d.ts +31 -4
- package/es/components/RoomFooter/index/indexH5.vue.d.ts +12 -1
- package/es/components/RoomFooter/index/indexH5.vue.mjs +1 -1
- package/es/components/RoomFooter/index/indexH5.vue2.mjs +20 -5
- package/es/components/RoomSidebar/indexPC.vue.d.ts +0 -1
- package/es/components/RoomSidebar/indexPC.vue.mjs +0 -3
- package/es/components/RoomVote/index.d.ts +2 -18
- package/es/components/RoomVote/indexH5.vue.d.ts +1 -1
- package/es/components/RoomVote/indexH5.vue.mjs +2 -2
- package/es/conference.vue.d.ts +0 -1
- package/es/conference.vue.mjs +1 -1
- package/es/conference.vue2.mjs +0 -3
- package/es/index.mjs +23 -23
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.js +1 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue2.js +4 -6
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +1 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue2.js +4 -6
- package/lib/components/RoomFooter/index/index.d.ts +31 -4
- package/lib/components/RoomFooter/index/indexH5.vue.d.ts +12 -1
- package/lib/components/RoomFooter/index/indexH5.vue.js +1 -1
- package/lib/components/RoomFooter/index/indexH5.vue2.js +19 -4
- package/lib/components/RoomSidebar/indexPC.vue.d.ts +0 -1
- package/lib/components/RoomSidebar/indexPC.vue.js +0 -3
- package/lib/components/RoomVote/index.d.ts +2 -18
- package/lib/components/RoomVote/indexH5.vue.d.ts +1 -1
- package/lib/components/RoomVote/indexH5.vue.js +2 -2
- package/lib/conference.vue.d.ts +0 -1
- package/lib/conference.vue.js +1 -1
- package/lib/conference.vue2.js +0 -3
- package/lib/index.js +23 -23
- package/package.json +1 -1
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlH5.vue +2 -3
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +2 -3
- package/src/TUIRoom/components/RoomFooter/index/indexH5.vue +15 -2
- package/src/TUIRoom/components/RoomSidebar/indexPC.vue +0 -3
- package/src/TUIRoom/components/RoomVote/indexH5.vue +1 -1
- package/src/TUIRoom/conference.vue +0 -3
|
@@ -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-2a47be79"]]);
|
|
5
5
|
export {
|
|
6
6
|
MoreControlH5 as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, createCommentVNode, unref, openBlock, createVNode, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import _imports_0 from "../../../assets/imgs/vote-icon.png.mjs";
|
|
3
|
-
import { IconMore } from "@tencentcloud/uikit-base-component-vue3";
|
|
4
3
|
import IconButton from "../../common/base/IconButton.vue.mjs";
|
|
5
4
|
import useControl from "./useMoreControlHooks.mjs";
|
|
6
5
|
import "../../../services/main.mjs";
|
|
@@ -42,14 +41,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
41
|
title: unref(t)("Vote"),
|
|
43
42
|
onClickIcon: toggleMoreSidebar
|
|
44
43
|
}, {
|
|
45
|
-
default: withCtx(() => [
|
|
46
|
-
|
|
47
|
-
_cache[0] || (_cache[0] = createElementVNode("img", {
|
|
44
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
45
|
+
createElementVNode("img", {
|
|
48
46
|
class: "ndsc-img-box",
|
|
49
47
|
src: _imports_0,
|
|
50
48
|
alt: ""
|
|
51
|
-
}, null, -1)
|
|
52
|
-
]),
|
|
49
|
+
}, null, -1)
|
|
50
|
+
])]),
|
|
53
51
|
_: 1
|
|
54
52
|
}, 8, ["is-active", "title"])
|
|
55
53
|
])) : createCommentVNode("", true);
|
|
@@ -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-997feff9"]]);
|
|
5
5
|
export {
|
|
6
6
|
MoreControlPc as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, createCommentVNode, unref, openBlock, createVNode, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import _imports_0 from "../../../assets/imgs/vote-icon.png.mjs";
|
|
3
|
-
import { IconMore } from "@tencentcloud/uikit-base-component-vue3";
|
|
4
3
|
import IconButton from "../../common/base/IconButton.vue.mjs";
|
|
5
4
|
import useControl from "./useMoreControlHooks.mjs";
|
|
6
5
|
import "../../../services/main.mjs";
|
|
@@ -42,14 +41,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
41
|
title: unref(t)("Vote"),
|
|
43
42
|
onClickIcon: toggleMoreSidebar
|
|
44
43
|
}, {
|
|
45
|
-
default: withCtx(() => [
|
|
46
|
-
|
|
47
|
-
_cache[0] || (_cache[0] = createElementVNode("img", {
|
|
44
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
45
|
+
createElementVNode("img", {
|
|
48
46
|
class: "ndsc-img-box",
|
|
49
47
|
src: _imports_0,
|
|
50
48
|
alt: ""
|
|
51
|
-
}, null, -1)
|
|
52
|
-
]),
|
|
49
|
+
}, null, -1)
|
|
50
|
+
])]),
|
|
53
51
|
_: 1
|
|
54
52
|
}, 8, ["is-active", "title"])
|
|
55
53
|
])) : createCommentVNode("", true);
|
|
@@ -1,8 +1,35 @@
|
|
|
1
|
-
declare const Index:
|
|
2
|
-
|
|
3
|
-
|
|
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<{
|
|
4
23
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
|
|
24
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
"show-overlay": (...args: any[]) => void;
|
|
27
|
+
"on-vote": (...args: any[]) => void;
|
|
28
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
29
|
+
$slots: {
|
|
30
|
+
content?(_: {}): any;
|
|
31
|
+
};
|
|
32
|
+
})) | ({
|
|
6
33
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
7
34
|
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
8
35
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
content?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
5
|
"show-overlay": (...args: any[]) => void;
|
|
6
|
+
"on-vote": (...args: any[]) => void;
|
|
3
7
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
8
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
5
10
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
12
|
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-df7f3346"]]);
|
|
5
5
|
export {
|
|
6
6
|
indexH5 as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, withDirectives, createCommentVNode, createVNode, unref, createBlock } from "vue";
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, withDirectives, createCommentVNode, createVNode, unref, createBlock, withCtx, renderSlot } 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,17 +55,22 @@ 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 from "../MoreControl/index.mjs";
|
|
58
|
+
import MoreControl$1 from "../MoreControl/index.mjs";
|
|
59
59
|
import AIControl from "../AIControl.vue.mjs";
|
|
60
|
+
import MoreControl from "../VoteControl/index.mjs";
|
|
60
61
|
import bus from "../../../hooks/useMitt.mjs";
|
|
61
62
|
import useRoomFooter from "./useRoomFooterHooks.mjs";
|
|
62
63
|
const _hoisted_1 = { class: "footer-container" };
|
|
63
64
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
64
65
|
__name: "indexH5",
|
|
65
|
-
emits: ["show-overlay"],
|
|
66
|
+
emits: ["show-overlay", "on-vote"],
|
|
66
67
|
setup(__props, { emit: __emit }) {
|
|
67
68
|
const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooter();
|
|
68
69
|
const emit = __emit;
|
|
70
|
+
const onVote = (data) => {
|
|
71
|
+
console.log(data, "data111");
|
|
72
|
+
emit("on-vote", { code: data.visible, message: "vote" });
|
|
73
|
+
};
|
|
69
74
|
function handleControlClick(name) {
|
|
70
75
|
bus.emit("experience-communication", name);
|
|
71
76
|
}
|
|
@@ -86,11 +91,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
86
91
|
}, null, 8, ["display-mode"])), [
|
|
87
92
|
[unref(vTap), () => handleControlClick("videoControl")]
|
|
88
93
|
]) : 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
|
+
}),
|
|
89
104
|
!unref(roomStore).isSpeakAfterTakingSeatMode ? withDirectives((openBlock(), createBlock(_sfc_main$2, { key: 2 }, null, 512)), [
|
|
90
105
|
[unref(vTap), () => handleControlClick("chatControl")]
|
|
91
106
|
]) : createCommentVNode("", true),
|
|
92
107
|
createVNode(AIControl, {
|
|
93
|
-
onClick: _cache[
|
|
108
|
+
onClick: _cache[1] || (_cache[1] = ($event) => handleControlClick("AIControl"))
|
|
94
109
|
}),
|
|
95
110
|
unref(roomStore).isSpeakAfterTakingSeatMode && (unref(isMaster) || unref(isAdmin)) ? withDirectives((openBlock(), createBlock(_sfc_main$3, { key: 3 }, null, 512)), [
|
|
96
111
|
[unref(vTap), () => handleControlClick("MasterApplyControl")]
|
|
@@ -101,7 +116,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
101
116
|
withDirectives(createVNode(_sfc_main$4, null, null, 512), [
|
|
102
117
|
[unref(vTap), () => handleControlClick("manageMemberControl")]
|
|
103
118
|
]),
|
|
104
|
-
withDirectives(createVNode(unref(MoreControl), { onShowOverlay: handleShowOverlay }, null, 512), [
|
|
119
|
+
withDirectives(createVNode(unref(MoreControl$1), { onShowOverlay: handleShowOverlay }, null, 512), [
|
|
105
120
|
[unref(vTap), () => handleControlClick("moreControl")]
|
|
106
121
|
])
|
|
107
122
|
]);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
content?(_: {}): any;
|
|
3
|
-
contentH5?(_: {}): any;
|
|
4
3
|
};
|
|
5
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>;
|
|
6
5
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -27,9 +27,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
content: withCtx(() => [
|
|
28
28
|
renderSlot(_ctx.$slots, "content")
|
|
29
29
|
]),
|
|
30
|
-
contentH5: withCtx(() => [
|
|
31
|
-
renderSlot(_ctx.$slots, "contentH5")
|
|
32
|
-
]),
|
|
33
30
|
_: 3
|
|
34
31
|
})) : createCommentVNode("", true),
|
|
35
32
|
unref(sidebarName) == "more" ? (openBlock(), createBlock(unref(Index$2), { key: 2 })) : createCommentVNode("", true),
|
|
@@ -1,20 +1,4 @@
|
|
|
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
|
-
contentH5?(_: {}): any;
|
|
16
|
-
};
|
|
17
|
-
})) | ({
|
|
1
|
+
declare const Index: {
|
|
18
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, {
|
|
19
3
|
P: {};
|
|
20
4
|
B: {};
|
|
@@ -30,5 +14,5 @@ declare const Index: ({
|
|
|
30
14
|
$slots: {
|
|
31
15
|
content?(_: {}): any;
|
|
32
16
|
};
|
|
33
|
-
})
|
|
17
|
+
});
|
|
34
18
|
export default Index;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
2
|
+
content?(_: {}): any;
|
|
3
3
|
};
|
|
4
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
5
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -5,10 +5,10 @@ const _sfc_main = {};
|
|
|
5
5
|
const _hoisted_1 = { class: "more-container" };
|
|
6
6
|
function _sfc_render(_ctx, _cache) {
|
|
7
7
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
8
|
-
renderSlot(_ctx.$slots, "
|
|
8
|
+
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
9
9
|
]);
|
|
10
10
|
}
|
|
11
|
-
const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
11
|
+
const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5d02e842"]]);
|
|
12
12
|
export {
|
|
13
13
|
indexH5 as default
|
|
14
14
|
};
|
package/es/conference.vue.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ declare function enterRoom(options: {
|
|
|
16
16
|
declare function resetStore(): void;
|
|
17
17
|
declare function __VLS_template(): {
|
|
18
18
|
content?(_: {}): any;
|
|
19
|
-
contentH5?(_: {}): any;
|
|
20
19
|
};
|
|
21
20
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
22
21
|
displayMode: "permanent" | "wake-up";
|
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-3d7b72df"]]);
|
|
6
6
|
export {
|
|
7
7
|
ConferenceMainView as default
|
|
8
8
|
};
|
package/es/conference.vue2.mjs
CHANGED
|
@@ -281,9 +281,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
281
281
|
content: withCtx(() => [
|
|
282
282
|
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
283
283
|
]),
|
|
284
|
-
contentH5: withCtx(() => [
|
|
285
|
-
renderSlot(_ctx.$slots, "contentH5", {}, void 0, true)
|
|
286
|
-
]),
|
|
287
284
|
_: 3
|
|
288
285
|
}),
|
|
289
286
|
createVNode(RoomSetting),
|
package/es/index.mjs
CHANGED
|
@@ -3664,7 +3664,13 @@ to {
|
|
|
3664
3664
|
.tool-box .tool-box-item[data-v-34681937]:hover {
|
|
3665
3665
|
border-radius: 8px;
|
|
3666
3666
|
background-color: var(--list-color-hover);
|
|
3667
|
-
}.
|
|
3667
|
+
}.ndsc-img-box[data-v-2a47be79] {
|
|
3668
|
+
width: 24px;
|
|
3669
|
+
height: 24px;
|
|
3670
|
+
}.ndsc-img-box[data-v-997feff9] {
|
|
3671
|
+
width: 24px;
|
|
3672
|
+
height: 24px;
|
|
3673
|
+
}.footer-container[data-v-df7f3346] {
|
|
3668
3674
|
position: absolute;
|
|
3669
3675
|
bottom: 0;
|
|
3670
3676
|
display: flex;
|
|
@@ -3928,12 +3934,6 @@ to {
|
|
|
3928
3934
|
}
|
|
3929
3935
|
.footer .mirror-container .mirror-text[data-v-21a63691] {
|
|
3930
3936
|
margin-left: 4px;
|
|
3931
|
-
}.ndsc-img-box[data-v-2d633075] {
|
|
3932
|
-
width: 50px;
|
|
3933
|
-
height: 50px;
|
|
3934
|
-
}.ndsc-img-box[data-v-9e42a812] {
|
|
3935
|
-
width: 50px;
|
|
3936
|
-
height: 50px;
|
|
3937
3937
|
}.footer-container[data-v-4afcea78] {
|
|
3938
3938
|
position: absolute;
|
|
3939
3939
|
bottom: 0;
|
|
@@ -4954,17 +4954,17 @@ to {
|
|
|
4954
4954
|
right: 0;
|
|
4955
4955
|
z-index: 101;
|
|
4956
4956
|
height: 100%;
|
|
4957
|
-
}.more-container[data-v-
|
|
4957
|
+
}.more-container[data-v-5d02e842] {
|
|
4958
4958
|
padding: 20px;
|
|
4959
4959
|
}
|
|
4960
|
-
.more-container .more-title[data-v-
|
|
4960
|
+
.more-container .more-title[data-v-5d02e842] {
|
|
4961
4961
|
display: flex;
|
|
4962
4962
|
align-items: center;
|
|
4963
4963
|
}
|
|
4964
|
-
.more-container .more-title .email-icon[data-v-
|
|
4964
|
+
.more-container .more-title .email-icon[data-v-5d02e842] {
|
|
4965
4965
|
color: var(--uikit-color-gray-7);
|
|
4966
4966
|
}
|
|
4967
|
-
.more-container .more-title .more-notice[data-v-
|
|
4967
|
+
.more-container .more-title .more-notice[data-v-5d02e842] {
|
|
4968
4968
|
width: 100%;
|
|
4969
4969
|
height: 22px;
|
|
4970
4970
|
padding-left: 8px;
|
|
@@ -4973,15 +4973,15 @@ to {
|
|
|
4973
4973
|
line-height: 22px;
|
|
4974
4974
|
color: var(--text-color-primary);
|
|
4975
4975
|
}
|
|
4976
|
-
.more-container .more-item[data-v-
|
|
4976
|
+
.more-container .more-item[data-v-5d02e842] {
|
|
4977
4977
|
position: relative;
|
|
4978
4978
|
display: flex;
|
|
4979
4979
|
flex-direction: column;
|
|
4980
4980
|
}
|
|
4981
|
-
.more-container .more-item[data-v-
|
|
4981
|
+
.more-container .more-item[data-v-5d02e842]:not(:first-child) {
|
|
4982
4982
|
margin-top: 20px;
|
|
4983
4983
|
}
|
|
4984
|
-
.more-container .more-item:not(:first-child) .item-title[data-v-
|
|
4984
|
+
.more-container .more-item:not(:first-child) .item-title[data-v-5d02e842] {
|
|
4985
4985
|
width: 100%;
|
|
4986
4986
|
padding-bottom: 8px;
|
|
4987
4987
|
font-size: 14px;
|
|
@@ -4989,7 +4989,7 @@ to {
|
|
|
4989
4989
|
line-height: 22px;
|
|
4990
4990
|
color: var(--text-color-primary);
|
|
4991
4991
|
}
|
|
4992
|
-
.more-container .more-item:not(:first-child) .more-content[data-v-
|
|
4992
|
+
.more-container .more-item:not(:first-child) .more-content[data-v-5d02e842] {
|
|
4993
4993
|
position: relative;
|
|
4994
4994
|
box-sizing: border-box;
|
|
4995
4995
|
display: inline-block;
|
|
@@ -5009,7 +5009,7 @@ to {
|
|
|
5009
5009
|
background-color: var(--bg-color-input);
|
|
5010
5010
|
border: 1px solid var(--stroke-color-module);
|
|
5011
5011
|
}
|
|
5012
|
-
.more-container .more-item:not(:first-child) .copy-icon[data-v-
|
|
5012
|
+
.more-container .more-item:not(:first-child) .copy-icon[data-v-5d02e842] {
|
|
5013
5013
|
position: absolute;
|
|
5014
5014
|
top: 45px;
|
|
5015
5015
|
right: 10px;
|
|
@@ -9111,7 +9111,7 @@ body, html {
|
|
|
9111
9111
|
}
|
|
9112
9112
|
.tui-room :not([class|=el]) {
|
|
9113
9113
|
transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
|
|
9114
|
-
}.tui-room[data-v-
|
|
9114
|
+
}.tui-room[data-v-3d7b72df] {
|
|
9115
9115
|
position: relative;
|
|
9116
9116
|
display: flex;
|
|
9117
9117
|
flex-direction: column;
|
|
@@ -9123,7 +9123,7 @@ body, html {
|
|
|
9123
9123
|
text-align: left;
|
|
9124
9124
|
background-color: var(--bg-color-topbar);
|
|
9125
9125
|
}
|
|
9126
|
-
.tui-room .header[data-v-
|
|
9126
|
+
.tui-room .header[data-v-3d7b72df] {
|
|
9127
9127
|
position: absolute;
|
|
9128
9128
|
top: 0;
|
|
9129
9129
|
left: 0;
|
|
@@ -9134,20 +9134,20 @@ body, html {
|
|
|
9134
9134
|
border-bottom: 1px solid var(--stroke-color-primary);
|
|
9135
9135
|
box-shadow: 0 1px 0 var(--uikit-color-black-8);
|
|
9136
9136
|
}
|
|
9137
|
-
.tui-room .content[data-v-
|
|
9137
|
+
.tui-room .content[data-v-3d7b72df] {
|
|
9138
9138
|
position: absolute;
|
|
9139
9139
|
top: 0;
|
|
9140
9140
|
width: 100%;
|
|
9141
9141
|
height: 100%;
|
|
9142
9142
|
background-color: var(--bg-color-topbar);
|
|
9143
9143
|
}
|
|
9144
|
-
.tui-room.tui-room-h5[data-v-
|
|
9144
|
+
.tui-room.tui-room-h5[data-v-3d7b72df] {
|
|
9145
9145
|
width: 100%;
|
|
9146
9146
|
min-width: 350px;
|
|
9147
9147
|
height: 100%;
|
|
9148
9148
|
min-height: 525px;
|
|
9149
9149
|
}
|
|
9150
|
-
#roomContainer.chat-room[data-v-
|
|
9150
|
+
#roomContainer.chat-room[data-v-3d7b72df] {
|
|
9151
9151
|
position: absolute;
|
|
9152
9152
|
top: 0;
|
|
9153
9153
|
right: 0;
|
|
@@ -9159,8 +9159,8 @@ body, html {
|
|
|
9159
9159
|
margin: auto;
|
|
9160
9160
|
border-radius: 10px;
|
|
9161
9161
|
}
|
|
9162
|
-
#roomContainer.tui-room-h5[data-v-
|
|
9163
|
-
#roomContainer .chat-room[data-v-
|
|
9162
|
+
#roomContainer.tui-room-h5[data-v-3d7b72df],
|
|
9163
|
+
#roomContainer .chat-room[data-v-3d7b72df] {
|
|
9164
9164
|
width: 100%;
|
|
9165
9165
|
height: 100%;
|
|
9166
9166
|
}.user-info-container[data-v-9e9aff53] {
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const MoreControlH5_vue_vue_type_script_setup_true_lang = require("./MoreControlH5.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const MoreControlH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(MoreControlH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const MoreControlH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(MoreControlH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-2a47be79"]]);
|
|
7
7
|
exports.default = MoreControlH5;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const Vue = require("vue");
|
|
4
4
|
const voteIcon = require("../../../assets/imgs/vote-icon.png.js");
|
|
5
|
-
const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
|
|
6
5
|
const IconButton = require("../../common/base/IconButton.vue.js");
|
|
7
6
|
const useMoreControlHooks = require("./useMoreControlHooks.js");
|
|
8
7
|
require("../../../services/main.js");
|
|
@@ -44,14 +43,13 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
44
43
|
title: Vue.unref(t)("Vote"),
|
|
45
44
|
onClickIcon: toggleMoreSidebar
|
|
46
45
|
}, {
|
|
47
|
-
default: Vue.withCtx(() => [
|
|
48
|
-
Vue.
|
|
49
|
-
_cache[0] || (_cache[0] = Vue.createElementVNode("img", {
|
|
46
|
+
default: Vue.withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
47
|
+
Vue.createElementVNode("img", {
|
|
50
48
|
class: "ndsc-img-box",
|
|
51
49
|
src: voteIcon.default,
|
|
52
50
|
alt: ""
|
|
53
|
-
}, null, -1)
|
|
54
|
-
]),
|
|
51
|
+
}, null, -1)
|
|
52
|
+
])]),
|
|
55
53
|
_: 1
|
|
56
54
|
}, 8, ["is-active", "title"])
|
|
57
55
|
])) : Vue.createCommentVNode("", true);
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const MoreControlPC_vue_vue_type_script_setup_true_lang = require("./MoreControlPC.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const MoreControlPc = /* @__PURE__ */ _pluginVue_exportHelper.default(MoreControlPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const MoreControlPc = /* @__PURE__ */ _pluginVue_exportHelper.default(MoreControlPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-997feff9"]]);
|
|
7
7
|
exports.default = MoreControlPc;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const Vue = require("vue");
|
|
4
4
|
const voteIcon = require("../../../assets/imgs/vote-icon.png.js");
|
|
5
|
-
const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
|
|
6
5
|
const IconButton = require("../../common/base/IconButton.vue.js");
|
|
7
6
|
const useMoreControlHooks = require("./useMoreControlHooks.js");
|
|
8
7
|
require("../../../services/main.js");
|
|
@@ -44,14 +43,13 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
44
43
|
title: Vue.unref(t)("Vote"),
|
|
45
44
|
onClickIcon: toggleMoreSidebar
|
|
46
45
|
}, {
|
|
47
|
-
default: Vue.withCtx(() => [
|
|
48
|
-
Vue.
|
|
49
|
-
_cache[0] || (_cache[0] = Vue.createElementVNode("img", {
|
|
46
|
+
default: Vue.withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
47
|
+
Vue.createElementVNode("img", {
|
|
50
48
|
class: "ndsc-img-box",
|
|
51
49
|
src: voteIcon.default,
|
|
52
50
|
alt: ""
|
|
53
|
-
}, null, -1)
|
|
54
|
-
]),
|
|
51
|
+
}, null, -1)
|
|
52
|
+
])]),
|
|
55
53
|
_: 1
|
|
56
54
|
}, 8, ["is-active", "title"])
|
|
57
55
|
])) : Vue.createCommentVNode("", true);
|
|
@@ -1,8 +1,35 @@
|
|
|
1
|
-
declare const Index:
|
|
2
|
-
|
|
3
|
-
|
|
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<{
|
|
4
23
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
|
|
24
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
"show-overlay": (...args: any[]) => void;
|
|
27
|
+
"on-vote": (...args: any[]) => void;
|
|
28
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
29
|
+
$slots: {
|
|
30
|
+
content?(_: {}): any;
|
|
31
|
+
};
|
|
32
|
+
})) | ({
|
|
6
33
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
7
34
|
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
8
35
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
content?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
5
|
"show-overlay": (...args: any[]) => void;
|
|
6
|
+
"on-vote": (...args: any[]) => void;
|
|
3
7
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
8
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
5
10
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
12
|
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const indexH5_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-df7f3346"]]);
|
|
7
7
|
exports.default = indexH5;
|
|
@@ -57,17 +57,22 @@ const ManageMemberControl_vue_vue_type_script_setup_true_lang = require("../Mana
|
|
|
57
57
|
const ChatControl_vue_vue_type_script_setup_true_lang = require("../ChatControl.vue.js");
|
|
58
58
|
const ManageStageControl_vue_vue_type_script_setup_true_lang = require("../ManageStageControl.vue.js");
|
|
59
59
|
const MemberApplyControl = require("../ApplyControl/MemberApplyControl.vue.js");
|
|
60
|
-
const index$
|
|
60
|
+
const index$2 = require("../MoreControl/index.js");
|
|
61
61
|
const AIControl = require("../AIControl.vue.js");
|
|
62
|
+
const index$1 = require("../VoteControl/index.js");
|
|
62
63
|
const useMitt = require("../../../hooks/useMitt.js");
|
|
63
64
|
const useRoomFooterHooks = require("./useRoomFooterHooks.js");
|
|
64
65
|
const _hoisted_1 = { class: "footer-container" };
|
|
65
66
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
66
67
|
__name: "indexH5",
|
|
67
|
-
emits: ["show-overlay"],
|
|
68
|
+
emits: ["show-overlay", "on-vote"],
|
|
68
69
|
setup(__props, { emit: __emit }) {
|
|
69
70
|
const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooterHooks.default();
|
|
70
71
|
const emit = __emit;
|
|
72
|
+
const onVote = (data) => {
|
|
73
|
+
console.log(data, "data111");
|
|
74
|
+
emit("on-vote", { code: data.visible, message: "vote" });
|
|
75
|
+
};
|
|
71
76
|
function handleControlClick(name) {
|
|
72
77
|
useMitt.default.emit("experience-communication", name);
|
|
73
78
|
}
|
|
@@ -88,11 +93,21 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
88
93
|
}, null, 8, ["display-mode"])), [
|
|
89
94
|
[Vue.unref(vTap.default), () => handleControlClick("videoControl")]
|
|
90
95
|
]) : Vue.createCommentVNode("", true),
|
|
96
|
+
Vue.createVNode(Vue.unref(index$1.default), {
|
|
97
|
+
class: "center-container-item",
|
|
98
|
+
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("voteControl")),
|
|
99
|
+
onOnVote: onVote
|
|
100
|
+
}, {
|
|
101
|
+
content: Vue.withCtx(() => [
|
|
102
|
+
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
103
|
+
]),
|
|
104
|
+
_: 3
|
|
105
|
+
}),
|
|
91
106
|
!Vue.unref(roomStore).isSpeakAfterTakingSeatMode ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(ChatControl_vue_vue_type_script_setup_true_lang.default, { key: 2 }, null, 512)), [
|
|
92
107
|
[Vue.unref(vTap.default), () => handleControlClick("chatControl")]
|
|
93
108
|
]) : Vue.createCommentVNode("", true),
|
|
94
109
|
Vue.createVNode(AIControl.default, {
|
|
95
|
-
onClick: _cache[
|
|
110
|
+
onClick: _cache[1] || (_cache[1] = ($event) => handleControlClick("AIControl"))
|
|
96
111
|
}),
|
|
97
112
|
Vue.unref(roomStore).isSpeakAfterTakingSeatMode && (Vue.unref(isMaster) || Vue.unref(isAdmin)) ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(ManageStageControl_vue_vue_type_script_setup_true_lang.default, { key: 3 }, null, 512)), [
|
|
98
113
|
[Vue.unref(vTap.default), () => handleControlClick("MasterApplyControl")]
|
|
@@ -103,7 +118,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
103
118
|
Vue.withDirectives(Vue.createVNode(ManageMemberControl_vue_vue_type_script_setup_true_lang.default, null, null, 512), [
|
|
104
119
|
[Vue.unref(vTap.default), () => handleControlClick("manageMemberControl")]
|
|
105
120
|
]),
|
|
106
|
-
Vue.withDirectives(Vue.createVNode(Vue.unref(index$
|
|
121
|
+
Vue.withDirectives(Vue.createVNode(Vue.unref(index$2.default), { onShowOverlay: handleShowOverlay }, null, 512), [
|
|
107
122
|
[Vue.unref(vTap.default), () => handleControlClick("moreControl")]
|
|
108
123
|
])
|
|
109
124
|
]);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
content?(_: {}): any;
|
|
3
|
-
contentH5?(_: {}): any;
|
|
4
3
|
};
|
|
5
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>;
|
|
6
5
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -29,9 +29,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
29
29
|
content: Vue.withCtx(() => [
|
|
30
30
|
Vue.renderSlot(_ctx.$slots, "content")
|
|
31
31
|
]),
|
|
32
|
-
contentH5: Vue.withCtx(() => [
|
|
33
|
-
Vue.renderSlot(_ctx.$slots, "contentH5")
|
|
34
|
-
]),
|
|
35
32
|
_: 3
|
|
36
33
|
})) : Vue.createCommentVNode("", true),
|
|
37
34
|
Vue.unref(sidebarName) == "more" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$2.default), { key: 2 })) : Vue.createCommentVNode("", true),
|
|
@@ -1,20 +1,4 @@
|
|
|
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
|
-
contentH5?(_: {}): any;
|
|
16
|
-
};
|
|
17
|
-
})) | ({
|
|
1
|
+
declare const Index: {
|
|
18
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, {
|
|
19
3
|
P: {};
|
|
20
4
|
B: {};
|
|
@@ -30,5 +14,5 @@ declare const Index: ({
|
|
|
30
14
|
$slots: {
|
|
31
15
|
content?(_: {}): any;
|
|
32
16
|
};
|
|
33
|
-
})
|
|
17
|
+
});
|
|
34
18
|
export default Index;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
2
|
+
content?(_: {}): any;
|
|
3
3
|
};
|
|
4
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
5
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -7,8 +7,8 @@ const _sfc_main = {};
|
|
|
7
7
|
const _hoisted_1 = { class: "more-container" };
|
|
8
8
|
function _sfc_render(_ctx, _cache) {
|
|
9
9
|
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
10
|
-
Vue.renderSlot(_ctx.$slots, "
|
|
10
|
+
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
11
11
|
]);
|
|
12
12
|
}
|
|
13
|
-
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
13
|
+
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5d02e842"]]);
|
|
14
14
|
exports.default = indexH5;
|
package/lib/conference.vue.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ declare function enterRoom(options: {
|
|
|
16
16
|
declare function resetStore(): void;
|
|
17
17
|
declare function __VLS_template(): {
|
|
18
18
|
content?(_: {}): any;
|
|
19
|
-
contentH5?(_: {}): any;
|
|
20
19
|
};
|
|
21
20
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
22
21
|
displayMode: "permanent" | "wake-up";
|
package/lib/conference.vue.js
CHANGED
|
@@ -4,5 +4,5 @@ const conference_vue_vue_type_script_setup_true_lang = require("./conference.vue
|
|
|
4
4
|
;/* empty css */
|
|
5
5
|
;/* empty css */
|
|
6
6
|
const _pluginVue_exportHelper = require("./_virtual/_plugin-vue_export-helper.js");
|
|
7
|
-
const ConferenceMainView = /* @__PURE__ */ _pluginVue_exportHelper.default(conference_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
7
|
+
const ConferenceMainView = /* @__PURE__ */ _pluginVue_exportHelper.default(conference_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-3d7b72df"]]);
|
|
8
8
|
exports.default = ConferenceMainView;
|
package/lib/conference.vue2.js
CHANGED
|
@@ -283,9 +283,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
283
283
|
content: Vue.withCtx(() => [
|
|
284
284
|
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
285
285
|
]),
|
|
286
|
-
contentH5: Vue.withCtx(() => [
|
|
287
|
-
Vue.renderSlot(_ctx.$slots, "contentH5", {}, void 0, true)
|
|
288
|
-
]),
|
|
289
286
|
_: 3
|
|
290
287
|
}),
|
|
291
288
|
Vue.createVNode(index$4.default),
|
package/lib/index.js
CHANGED
|
@@ -3664,7 +3664,13 @@ to {
|
|
|
3664
3664
|
.tool-box .tool-box-item[data-v-34681937]:hover {
|
|
3665
3665
|
border-radius: 8px;
|
|
3666
3666
|
background-color: var(--list-color-hover);
|
|
3667
|
-
}.
|
|
3667
|
+
}.ndsc-img-box[data-v-2a47be79] {
|
|
3668
|
+
width: 24px;
|
|
3669
|
+
height: 24px;
|
|
3670
|
+
}.ndsc-img-box[data-v-997feff9] {
|
|
3671
|
+
width: 24px;
|
|
3672
|
+
height: 24px;
|
|
3673
|
+
}.footer-container[data-v-df7f3346] {
|
|
3668
3674
|
position: absolute;
|
|
3669
3675
|
bottom: 0;
|
|
3670
3676
|
display: flex;
|
|
@@ -3928,12 +3934,6 @@ to {
|
|
|
3928
3934
|
}
|
|
3929
3935
|
.footer .mirror-container .mirror-text[data-v-21a63691] {
|
|
3930
3936
|
margin-left: 4px;
|
|
3931
|
-
}.ndsc-img-box[data-v-2d633075] {
|
|
3932
|
-
width: 50px;
|
|
3933
|
-
height: 50px;
|
|
3934
|
-
}.ndsc-img-box[data-v-9e42a812] {
|
|
3935
|
-
width: 50px;
|
|
3936
|
-
height: 50px;
|
|
3937
3937
|
}.footer-container[data-v-4afcea78] {
|
|
3938
3938
|
position: absolute;
|
|
3939
3939
|
bottom: 0;
|
|
@@ -4954,17 +4954,17 @@ to {
|
|
|
4954
4954
|
right: 0;
|
|
4955
4955
|
z-index: 101;
|
|
4956
4956
|
height: 100%;
|
|
4957
|
-
}.more-container[data-v-
|
|
4957
|
+
}.more-container[data-v-5d02e842] {
|
|
4958
4958
|
padding: 20px;
|
|
4959
4959
|
}
|
|
4960
|
-
.more-container .more-title[data-v-
|
|
4960
|
+
.more-container .more-title[data-v-5d02e842] {
|
|
4961
4961
|
display: flex;
|
|
4962
4962
|
align-items: center;
|
|
4963
4963
|
}
|
|
4964
|
-
.more-container .more-title .email-icon[data-v-
|
|
4964
|
+
.more-container .more-title .email-icon[data-v-5d02e842] {
|
|
4965
4965
|
color: var(--uikit-color-gray-7);
|
|
4966
4966
|
}
|
|
4967
|
-
.more-container .more-title .more-notice[data-v-
|
|
4967
|
+
.more-container .more-title .more-notice[data-v-5d02e842] {
|
|
4968
4968
|
width: 100%;
|
|
4969
4969
|
height: 22px;
|
|
4970
4970
|
padding-left: 8px;
|
|
@@ -4973,15 +4973,15 @@ to {
|
|
|
4973
4973
|
line-height: 22px;
|
|
4974
4974
|
color: var(--text-color-primary);
|
|
4975
4975
|
}
|
|
4976
|
-
.more-container .more-item[data-v-
|
|
4976
|
+
.more-container .more-item[data-v-5d02e842] {
|
|
4977
4977
|
position: relative;
|
|
4978
4978
|
display: flex;
|
|
4979
4979
|
flex-direction: column;
|
|
4980
4980
|
}
|
|
4981
|
-
.more-container .more-item[data-v-
|
|
4981
|
+
.more-container .more-item[data-v-5d02e842]:not(:first-child) {
|
|
4982
4982
|
margin-top: 20px;
|
|
4983
4983
|
}
|
|
4984
|
-
.more-container .more-item:not(:first-child) .item-title[data-v-
|
|
4984
|
+
.more-container .more-item:not(:first-child) .item-title[data-v-5d02e842] {
|
|
4985
4985
|
width: 100%;
|
|
4986
4986
|
padding-bottom: 8px;
|
|
4987
4987
|
font-size: 14px;
|
|
@@ -4989,7 +4989,7 @@ to {
|
|
|
4989
4989
|
line-height: 22px;
|
|
4990
4990
|
color: var(--text-color-primary);
|
|
4991
4991
|
}
|
|
4992
|
-
.more-container .more-item:not(:first-child) .more-content[data-v-
|
|
4992
|
+
.more-container .more-item:not(:first-child) .more-content[data-v-5d02e842] {
|
|
4993
4993
|
position: relative;
|
|
4994
4994
|
box-sizing: border-box;
|
|
4995
4995
|
display: inline-block;
|
|
@@ -5009,7 +5009,7 @@ to {
|
|
|
5009
5009
|
background-color: var(--bg-color-input);
|
|
5010
5010
|
border: 1px solid var(--stroke-color-module);
|
|
5011
5011
|
}
|
|
5012
|
-
.more-container .more-item:not(:first-child) .copy-icon[data-v-
|
|
5012
|
+
.more-container .more-item:not(:first-child) .copy-icon[data-v-5d02e842] {
|
|
5013
5013
|
position: absolute;
|
|
5014
5014
|
top: 45px;
|
|
5015
5015
|
right: 10px;
|
|
@@ -9111,7 +9111,7 @@ body, html {
|
|
|
9111
9111
|
}
|
|
9112
9112
|
.tui-room :not([class|=el]) {
|
|
9113
9113
|
transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
|
|
9114
|
-
}.tui-room[data-v-
|
|
9114
|
+
}.tui-room[data-v-3d7b72df] {
|
|
9115
9115
|
position: relative;
|
|
9116
9116
|
display: flex;
|
|
9117
9117
|
flex-direction: column;
|
|
@@ -9123,7 +9123,7 @@ body, html {
|
|
|
9123
9123
|
text-align: left;
|
|
9124
9124
|
background-color: var(--bg-color-topbar);
|
|
9125
9125
|
}
|
|
9126
|
-
.tui-room .header[data-v-
|
|
9126
|
+
.tui-room .header[data-v-3d7b72df] {
|
|
9127
9127
|
position: absolute;
|
|
9128
9128
|
top: 0;
|
|
9129
9129
|
left: 0;
|
|
@@ -9134,20 +9134,20 @@ body, html {
|
|
|
9134
9134
|
border-bottom: 1px solid var(--stroke-color-primary);
|
|
9135
9135
|
box-shadow: 0 1px 0 var(--uikit-color-black-8);
|
|
9136
9136
|
}
|
|
9137
|
-
.tui-room .content[data-v-
|
|
9137
|
+
.tui-room .content[data-v-3d7b72df] {
|
|
9138
9138
|
position: absolute;
|
|
9139
9139
|
top: 0;
|
|
9140
9140
|
width: 100%;
|
|
9141
9141
|
height: 100%;
|
|
9142
9142
|
background-color: var(--bg-color-topbar);
|
|
9143
9143
|
}
|
|
9144
|
-
.tui-room.tui-room-h5[data-v-
|
|
9144
|
+
.tui-room.tui-room-h5[data-v-3d7b72df] {
|
|
9145
9145
|
width: 100%;
|
|
9146
9146
|
min-width: 350px;
|
|
9147
9147
|
height: 100%;
|
|
9148
9148
|
min-height: 525px;
|
|
9149
9149
|
}
|
|
9150
|
-
#roomContainer.chat-room[data-v-
|
|
9150
|
+
#roomContainer.chat-room[data-v-3d7b72df] {
|
|
9151
9151
|
position: absolute;
|
|
9152
9152
|
top: 0;
|
|
9153
9153
|
right: 0;
|
|
@@ -9159,8 +9159,8 @@ body, html {
|
|
|
9159
9159
|
margin: auto;
|
|
9160
9160
|
border-radius: 10px;
|
|
9161
9161
|
}
|
|
9162
|
-
#roomContainer.tui-room-h5[data-v-
|
|
9163
|
-
#roomContainer .chat-room[data-v-
|
|
9162
|
+
#roomContainer.tui-room-h5[data-v-3d7b72df],
|
|
9163
|
+
#roomContainer .chat-room[data-v-3d7b72df] {
|
|
9164
9164
|
width: 100%;
|
|
9165
9165
|
height: 100%;
|
|
9166
9166
|
}.user-info-container[data-v-9e9aff53] {
|
package/package.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
:title="t('Vote')"
|
|
6
6
|
@click-icon="toggleMoreSidebar"
|
|
7
7
|
>
|
|
8
|
-
<IconMore size="24" />
|
|
9
8
|
<img class="ndsc-img-box" src="../../../assets/imgs/vote-icon.png" alt=""/>
|
|
10
9
|
</icon-button>
|
|
11
10
|
</div>
|
|
@@ -35,7 +34,7 @@ function toggleMoreSidebar() {
|
|
|
35
34
|
</script>
|
|
36
35
|
<style lang="scss" scoped>
|
|
37
36
|
.ndsc-img-box{
|
|
38
|
-
width:
|
|
39
|
-
height:
|
|
37
|
+
width: 24px;
|
|
38
|
+
height: 24px
|
|
40
39
|
}
|
|
41
40
|
</style>
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
:title="t('Vote')"
|
|
6
6
|
@click-icon="toggleMoreSidebar"
|
|
7
7
|
>
|
|
8
|
-
<IconMore size="24" />
|
|
9
8
|
<img class="ndsc-img-box" src="../../../assets/imgs/vote-icon.png" alt=""/>
|
|
10
9
|
</icon-button>
|
|
11
10
|
</div>
|
|
@@ -35,7 +34,7 @@ function toggleMoreSidebar() {
|
|
|
35
34
|
</script>
|
|
36
35
|
<style lang="scss" scoped>
|
|
37
36
|
.ndsc-img-box{
|
|
38
|
-
width:
|
|
39
|
-
height:
|
|
37
|
+
width: 24px;
|
|
38
|
+
height: 24px
|
|
40
39
|
}
|
|
41
40
|
</style>
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
:display-mode="MediaSettingDisplayMode.Icon"
|
|
11
11
|
v-tap="() => handleControlClick('videoControl')"
|
|
12
12
|
/>
|
|
13
|
+
<voteControl
|
|
14
|
+
class="center-container-item"
|
|
15
|
+
@click="handleControlClick('voteControl')"
|
|
16
|
+
@on-vote="onVote"
|
|
17
|
+
>
|
|
18
|
+
<template #content>
|
|
19
|
+
<slot name="content"></slot>
|
|
20
|
+
</template>
|
|
21
|
+
</voteControl>
|
|
13
22
|
<chat-control
|
|
14
23
|
v-if="!roomStore.isSpeakAfterTakingSeatMode"
|
|
15
24
|
v-tap="() => handleControlClick('chatControl')"
|
|
@@ -47,6 +56,7 @@ import MasterApplyControl from '../ManageStageControl.vue';
|
|
|
47
56
|
import MemberApplyControl from '../ApplyControl/MemberApplyControl.vue';
|
|
48
57
|
import MoreControl from '../MoreControl/index';
|
|
49
58
|
import AIControl from '../AIControl.vue';
|
|
59
|
+
import voteControl from '../VoteControl';
|
|
50
60
|
import bus from '../../../hooks/useMitt';
|
|
51
61
|
import vTap from '../../../directives/vTap';
|
|
52
62
|
|
|
@@ -54,8 +64,11 @@ import useRoomFooter from './useRoomFooterHooks';
|
|
|
54
64
|
|
|
55
65
|
const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooter();
|
|
56
66
|
|
|
57
|
-
const emit = defineEmits(['show-overlay']);
|
|
58
|
-
|
|
67
|
+
const emit = defineEmits(['show-overlay','on-vote']);
|
|
68
|
+
const onVote = (data: { name: string; visible: boolean }) => {
|
|
69
|
+
console.log(data,"data111")
|
|
70
|
+
emit('on-vote', { code: data.visible, message: 'vote' });
|
|
71
|
+
};
|
|
59
72
|
function handleControlClick(name: string) {
|
|
60
73
|
bus.emit('experience-communication', name);
|
|
61
74
|
}
|
|
@@ -12,9 +12,6 @@
|
|
|
12
12
|
<template #content>
|
|
13
13
|
<slot name="content"></slot>
|
|
14
14
|
</template>
|
|
15
|
-
<template #contentH5>
|
|
16
|
-
<slot name="contentH5"></slot>
|
|
17
|
-
</template>
|
|
18
15
|
</room-vote>
|
|
19
16
|
<room-more v-if="sidebarName == 'more'" />
|
|
20
17
|
<manage-member v-if="sidebarName == 'manage-member'" />
|