@ndscnj/roomkit-web-vue3 25.12.24161 → 25.12.24163
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/assets/imgs/vote-icon.png.mjs +4 -0
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +0 -2
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.mjs +1 -1
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue2.mjs +53 -14
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +5 -53
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue2.mjs +59 -1
- package/es/components/RoomFooter/VoteControl/index.d.ts +0 -2
- package/es/components/RoomFooter/VoteControl/index.mjs +2 -2
- package/es/components/RoomFooter/index/index.d.ts +1 -6
- package/es/components/RoomFooter/index/indexH5.vue.d.ts +1 -3
- package/es/components/RoomFooter/index/indexH5.vue.mjs +1 -1
- package/es/components/RoomFooter/index/indexH5.vue2.mjs +5 -19
- package/es/components/RoomFooter/index/indexPC.vue.mjs +1 -1
- package/es/components/RoomFooter/index/indexPC.vue2.mjs +1 -2
- package/es/conference.vue.d.ts +1 -0
- package/es/conference.vue.mjs +1 -1
- package/es/conference.vue2.mjs +3 -0
- package/es/index.mjs +55 -52
- package/lib/assets/imgs/vote-icon.png.js +4 -0
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +0 -2
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.js +1 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue2.js +52 -13
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +5 -53
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue2.js +60 -2
- package/lib/components/RoomFooter/VoteControl/index.d.ts +0 -2
- package/lib/components/RoomFooter/VoteControl/index.js +2 -2
- package/lib/components/RoomFooter/index/index.d.ts +1 -6
- package/lib/components/RoomFooter/index/indexH5.vue.d.ts +1 -3
- package/lib/components/RoomFooter/index/indexH5.vue.js +1 -1
- package/lib/components/RoomFooter/index/indexH5.vue2.js +4 -18
- package/lib/components/RoomFooter/index/indexPC.vue.js +1 -1
- package/lib/components/RoomFooter/index/indexPC.vue2.js +0 -1
- package/lib/conference.vue.d.ts +1 -0
- package/lib/conference.vue.js +1 -1
- package/lib/conference.vue2.js +3 -0
- package/lib/index.js +55 -52
- package/package.json +1 -1
- package/src/TUIRoom/assets/imgs/vote-icon.png +0 -0
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlH5.vue +42 -10
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +7 -1
- package/src/TUIRoom/components/RoomFooter/index/indexH5.vue +3 -14
- package/src/TUIRoom/components/RoomFooter/index/indexPC.vue +0 -1
- package/src/TUIRoom/conference.vue +5 -2
|
@@ -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-c413959d"]]);
|
|
7
7
|
exports.default = MoreControlH5;
|
|
@@ -4,6 +4,12 @@ const Vue = require("vue");
|
|
|
4
4
|
const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
|
|
5
5
|
const IconButton = require("../../common/base/IconButton.vue.js");
|
|
6
6
|
const useMoreControlHooks = require("./useMoreControlHooks.js");
|
|
7
|
+
const ChatControl_vue_vue_type_script_setup_true_lang = require("../ChatControl.vue.js");
|
|
8
|
+
const InviteControl = require("../InviteControl.vue.js");
|
|
9
|
+
const ContactControl = require("../ContactControl.vue.js");
|
|
10
|
+
const room = require("../../../stores/room.js");
|
|
11
|
+
const useMitt = require("../../../hooks/useMitt.js");
|
|
12
|
+
const vTap = require("../../../directives/vTap.js");
|
|
7
13
|
require("../../../services/main.js");
|
|
8
14
|
const roomService = require("../../../services/roomService.js");
|
|
9
15
|
require("../../../locales/index.js");
|
|
@@ -16,21 +22,30 @@ const _hoisted_1 = {
|
|
|
16
22
|
key: 0,
|
|
17
23
|
class: "more-control-container"
|
|
18
24
|
};
|
|
25
|
+
const _hoisted_2 = { class: "control-compent" };
|
|
26
|
+
const _hoisted_3 = { class: "close" };
|
|
19
27
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
20
28
|
__name: "MoreControlH5",
|
|
21
|
-
emits: ["show-overlay"
|
|
29
|
+
emits: ["show-overlay"],
|
|
22
30
|
setup(__props, { emit: __emit }) {
|
|
23
|
-
const
|
|
31
|
+
const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
|
|
24
32
|
const showMoreContent = Vue.ref(false);
|
|
25
33
|
const moreContentRef = Vue.ref();
|
|
26
|
-
const { t, sidebarName
|
|
34
|
+
const { t, sidebarName } = useMoreControlHooks.default();
|
|
35
|
+
const roomStore = room.useRoomStore();
|
|
27
36
|
const emit = __emit;
|
|
28
37
|
function showMore() {
|
|
29
38
|
showMoreContent.value = true;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
39
|
+
}
|
|
40
|
+
function handleCancelControl() {
|
|
41
|
+
showMoreContent.value = false;
|
|
42
|
+
}
|
|
43
|
+
function handleControlClick(name) {
|
|
44
|
+
useMitt.default.emit("experience-communication", name);
|
|
45
|
+
}
|
|
46
|
+
function handleShowOverlay(data) {
|
|
47
|
+
showMoreContent.value = false;
|
|
48
|
+
emit("show-overlay", data);
|
|
34
49
|
}
|
|
35
50
|
function handleDocumentClick(event) {
|
|
36
51
|
if (showMoreContent.value && !moreContentRef.value.contains(event.target)) {
|
|
@@ -44,21 +59,45 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
44
59
|
document == null ? void 0 : document.removeEventListener("click", handleDocumentClick, true);
|
|
45
60
|
});
|
|
46
61
|
return (_ctx, _cache) => {
|
|
47
|
-
const _directive_tap = Vue.resolveDirective("tap");
|
|
48
62
|
return Vue.openBlock(), Vue.createElementBlock("div", null, [
|
|
49
|
-
Vue.unref(
|
|
63
|
+
Vue.unref(moreControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
50
64
|
Vue.withDirectives((Vue.openBlock(), Vue.createBlock(IconButton.default, {
|
|
51
|
-
"is-active": Vue.unref(sidebarName) === "
|
|
52
|
-
title: Vue.unref(t)("
|
|
65
|
+
"is-active": Vue.unref(sidebarName) === "more",
|
|
66
|
+
title: Vue.unref(t)("More")
|
|
53
67
|
}, {
|
|
54
68
|
default: Vue.withCtx(() => [
|
|
55
69
|
Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconExtension), { size: "24" })
|
|
56
70
|
]),
|
|
57
71
|
_: 1
|
|
58
72
|
}, 8, ["is-active", "title"])), [
|
|
59
|
-
[
|
|
73
|
+
[Vue.unref(vTap.default), showMore]
|
|
74
|
+
])
|
|
75
|
+
])) : Vue.createCommentVNode("", true),
|
|
76
|
+
showMoreContent.value ? (Vue.openBlock(), Vue.createElementBlock("div", {
|
|
77
|
+
key: 1,
|
|
78
|
+
ref_key: "moreContentRef",
|
|
79
|
+
ref: moreContentRef,
|
|
80
|
+
class: "show-more-content"
|
|
81
|
+
}, [
|
|
82
|
+
Vue.createElementVNode("div", _hoisted_2, [
|
|
83
|
+
Vue.unref(roomStore).isSpeakAfterTakingSeatMode ? (Vue.openBlock(), Vue.createBlock(ChatControl_vue_vue_type_script_setup_true_lang.default, {
|
|
84
|
+
key: 0,
|
|
85
|
+
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("chatControl"))
|
|
86
|
+
})) : Vue.createCommentVNode("", true),
|
|
87
|
+
Vue.createVNode(ContactControl.default, {
|
|
88
|
+
onClick: _cache[1] || (_cache[1] = ($event) => handleControlClick("contactControl"))
|
|
89
|
+
}),
|
|
90
|
+
Vue.createVNode(InviteControl.default, {
|
|
91
|
+
onShowOverlay: handleShowOverlay,
|
|
92
|
+
onClick: _cache[2] || (_cache[2] = ($event) => handleControlClick("inviteControl"))
|
|
93
|
+
})
|
|
94
|
+
]),
|
|
95
|
+
Vue.withDirectives((Vue.openBlock(), Vue.createElementBlock("div", _hoisted_3, [
|
|
96
|
+
Vue.createTextVNode(Vue.toDisplayString(Vue.unref(t)("Cancel")), 1)
|
|
97
|
+
])), [
|
|
98
|
+
[Vue.unref(vTap.default), handleCancelControl]
|
|
60
99
|
])
|
|
61
|
-
])) : Vue.createCommentVNode("", true)
|
|
100
|
+
], 512)) : Vue.createCommentVNode("", true)
|
|
62
101
|
]);
|
|
63
102
|
};
|
|
64
103
|
}
|
|
@@ -1,55 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
const roomService = require("../../../services/roomService.js");
|
|
9
|
-
require("../../../locales/index.js");
|
|
10
|
-
require("@tencentcloud/tuiroom-engine-js");
|
|
11
|
-
require("../../../utils/environment.js");
|
|
12
|
-
require("mitt");
|
|
13
|
-
require("../../../services/manager/roomActionManager.js");
|
|
14
|
-
require("@tencentcloud/tui-core");
|
|
15
|
-
const _hoisted_1 = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "more-control-container"
|
|
18
|
-
};
|
|
19
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
20
|
-
__name: "MoreControlPC",
|
|
21
|
-
emits: ["on-vote"],
|
|
22
|
-
setup(__props, { emit: __emit }) {
|
|
23
|
-
const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
|
|
24
|
-
const { t, basicStore, sidebarName } = useMoreControlHooks.default();
|
|
25
|
-
const emit = __emit;
|
|
26
|
-
function toggleMoreSidebar() {
|
|
27
|
-
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
|
|
28
|
-
basicStore.setSidebarOpenStatus(false);
|
|
29
|
-
basicStore.setSidebarName("");
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
basicStore.setSidebarOpenStatus(true);
|
|
33
|
-
basicStore.setSidebarName("vote");
|
|
34
|
-
emit("on-vote", {
|
|
35
|
-
name: "onVote",
|
|
36
|
-
visible: basicStore.isSidebarOpen
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
return (_ctx, _cache) => {
|
|
40
|
-
return Vue.unref(moreControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
41
|
-
Vue.createVNode(IconButton.default, {
|
|
42
|
-
"is-active": Vue.unref(sidebarName) === "vote",
|
|
43
|
-
title: Vue.unref(t)("Vote"),
|
|
44
|
-
onClickIcon: toggleMoreSidebar
|
|
45
|
-
}, {
|
|
46
|
-
default: Vue.withCtx(() => [
|
|
47
|
-
Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconMore), { size: "24" })
|
|
48
|
-
]),
|
|
49
|
-
_: 1
|
|
50
|
-
}, 8, ["is-active", "title"])
|
|
51
|
-
])) : Vue.createCommentVNode("", true);
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
exports.default = _sfc_main;
|
|
3
|
+
const MoreControlPC_vue_vue_type_script_setup_true_lang = require("./MoreControlPC.vue2.js");
|
|
4
|
+
;/* empty css */
|
|
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-50420946"]]);
|
|
7
|
+
exports.default = MoreControlPc;
|
|
@@ -1,4 +1,62 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
|
|
3
|
+
const Vue = require("vue");
|
|
4
|
+
const voteIcon = require("../../../assets/imgs/vote-icon.png.js");
|
|
5
|
+
const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
|
|
6
|
+
const IconButton = require("../../common/base/IconButton.vue.js");
|
|
7
|
+
const useMoreControlHooks = require("./useMoreControlHooks.js");
|
|
8
|
+
require("../../../services/main.js");
|
|
9
|
+
const roomService = require("../../../services/roomService.js");
|
|
10
|
+
require("../../../locales/index.js");
|
|
11
|
+
require("@tencentcloud/tuiroom-engine-js");
|
|
12
|
+
require("../../../utils/environment.js");
|
|
13
|
+
require("mitt");
|
|
14
|
+
require("../../../services/manager/roomActionManager.js");
|
|
15
|
+
require("@tencentcloud/tui-core");
|
|
16
|
+
const _hoisted_1 = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "more-control-container"
|
|
19
|
+
};
|
|
20
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
21
|
+
__name: "MoreControlPC",
|
|
22
|
+
emits: ["on-vote"],
|
|
23
|
+
setup(__props, { emit: __emit }) {
|
|
24
|
+
const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
|
|
25
|
+
const { t, basicStore, sidebarName } = useMoreControlHooks.default();
|
|
26
|
+
const emit = __emit;
|
|
27
|
+
function toggleMoreSidebar() {
|
|
28
|
+
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
|
|
29
|
+
basicStore.setSidebarOpenStatus(false);
|
|
30
|
+
basicStore.setSidebarName("");
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
basicStore.setSidebarOpenStatus(true);
|
|
34
|
+
basicStore.setSidebarName("vote");
|
|
35
|
+
emit("on-vote", {
|
|
36
|
+
name: "onVote",
|
|
37
|
+
visible: basicStore.isSidebarOpen
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
return (_ctx, _cache) => {
|
|
41
|
+
return Vue.unref(moreControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
42
|
+
Vue.createVNode(IconButton.default, {
|
|
43
|
+
"is-active": Vue.unref(sidebarName) === "vote",
|
|
44
|
+
title: Vue.unref(t)("Vote"),
|
|
45
|
+
onClickIcon: toggleMoreSidebar
|
|
46
|
+
}, {
|
|
47
|
+
default: Vue.withCtx(() => [
|
|
48
|
+
Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconMore), { size: "24" })
|
|
49
|
+
]),
|
|
50
|
+
_: 1
|
|
51
|
+
}, 8, ["is-active", "title"]),
|
|
52
|
+
_cache[0] || (_cache[0] = Vue.createElementVNode("img", {
|
|
53
|
+
class: "ndsc-img-box",
|
|
54
|
+
src: voteIcon.default,
|
|
55
|
+
alt: "",
|
|
56
|
+
click: "toggleMoreSidebar"
|
|
57
|
+
}, null, -1))
|
|
58
|
+
])) : Vue.createCommentVNode("", true);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
exports.default = _sfc_main;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
declare const MoreControl: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
2
|
"show-overlay": (...args: any[]) => void;
|
|
3
|
-
"on-vote": (...args: any[]) => void;
|
|
4
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
5
4
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
6
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
7
5
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
6
|
"on-vote": (...args: any[]) => void;
|
|
9
7
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const MoreControlH5 = require("./MoreControlH5.vue.js");
|
|
4
|
-
const
|
|
4
|
+
const MoreControlPC = require("./MoreControlPC.vue.js");
|
|
5
5
|
const environment = require("../../../utils/environment.js");
|
|
6
|
-
const MoreControl = environment.isMobile ? MoreControlH5.default :
|
|
6
|
+
const MoreControl = environment.isMobile ? MoreControlH5.default : MoreControlPC.default;
|
|
7
7
|
exports.default = MoreControl;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
declare const Index: ({
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
3
3
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
4
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
5
4
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
5
|
"show-overlay": (...args: any[]) => void;
|
|
7
|
-
"on-vote": (...args: any[]) => void;
|
|
8
6
|
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
9
7
|
P: {};
|
|
10
8
|
B: {};
|
|
@@ -14,20 +12,17 @@ declare const Index: ({
|
|
|
14
12
|
Defaults: {};
|
|
15
13
|
}, Readonly<{}> & Readonly<{
|
|
16
14
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
18
15
|
}>, {}, {}, {}, {}, {}>;
|
|
19
16
|
__isFragment?: never;
|
|
20
17
|
__isTeleport?: never;
|
|
21
18
|
__isSuspense?: never;
|
|
22
19
|
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
23
20
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
25
21
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
22
|
"show-overlay": (...args: any[]) => void;
|
|
27
|
-
"on-vote": (...args: any[]) => void;
|
|
28
23
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
29
24
|
$slots: {
|
|
30
|
-
|
|
25
|
+
contentH5?(_: {}): any;
|
|
31
26
|
};
|
|
32
27
|
})) | ({
|
|
33
28
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
2
|
+
contentH5?(_: {}): any;
|
|
3
3
|
};
|
|
4
4
|
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
5
|
"show-overlay": (...args: any[]) => void;
|
|
6
|
-
"on-vote": (...args: any[]) => void;
|
|
7
6
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
8
7
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
10
8
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
9
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
12
10
|
export default _default;
|
|
@@ -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-4905d960"]]);
|
|
7
7
|
exports.default = indexH5;
|
|
@@ -57,21 +57,17 @@ 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$
|
|
61
|
-
const index$1 = require("../VoteControl/index.js");
|
|
60
|
+
const index$1 = require("../MoreControl/index.js");
|
|
62
61
|
const AIControl = require("../AIControl.vue.js");
|
|
63
62
|
const useMitt = require("../../../hooks/useMitt.js");
|
|
64
63
|
const useRoomFooterHooks = require("./useRoomFooterHooks.js");
|
|
65
64
|
const _hoisted_1 = { class: "footer-container" };
|
|
66
65
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
67
66
|
__name: "indexH5",
|
|
68
|
-
emits: ["show-overlay"
|
|
67
|
+
emits: ["show-overlay"],
|
|
69
68
|
setup(__props, { emit: __emit }) {
|
|
70
69
|
const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooterHooks.default();
|
|
71
70
|
const emit = __emit;
|
|
72
|
-
const onVote = (data) => {
|
|
73
|
-
emit("on-vote", { code: data.visible, message: "vote" });
|
|
74
|
-
};
|
|
75
71
|
function handleControlClick(name) {
|
|
76
72
|
useMitt.default.emit("experience-communication", name);
|
|
77
73
|
}
|
|
@@ -95,17 +91,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
95
91
|
!Vue.unref(roomStore).isSpeakAfterTakingSeatMode ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(ChatControl_vue_vue_type_script_setup_true_lang.default, { key: 2 }, null, 512)), [
|
|
96
92
|
[Vue.unref(vTap.default), () => handleControlClick("chatControl")]
|
|
97
93
|
]) : Vue.createCommentVNode("", true),
|
|
98
|
-
Vue.
|
|
99
|
-
onShowOverlay: handleShowOverlay,
|
|
100
|
-
onOnVote: onVote
|
|
101
|
-
}, {
|
|
102
|
-
content: Vue.withCtx(() => [
|
|
103
|
-
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
104
|
-
]),
|
|
105
|
-
_: 3
|
|
106
|
-
})), [
|
|
107
|
-
[Vue.unref(vTap.default), () => handleControlClick("voteControl")]
|
|
108
|
-
]),
|
|
94
|
+
Vue.renderSlot(_ctx.$slots, "contentH5", {}, void 0, true),
|
|
109
95
|
Vue.createVNode(AIControl.default, {
|
|
110
96
|
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("AIControl"))
|
|
111
97
|
}),
|
|
@@ -118,7 +104,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
118
104
|
Vue.withDirectives(Vue.createVNode(ManageMemberControl_vue_vue_type_script_setup_true_lang.default, null, null, 512), [
|
|
119
105
|
[Vue.unref(vTap.default), () => handleControlClick("manageMemberControl")]
|
|
120
106
|
]),
|
|
121
|
-
Vue.withDirectives(Vue.createVNode(Vue.unref(index$
|
|
107
|
+
Vue.withDirectives(Vue.createVNode(Vue.unref(index$1.default), { onShowOverlay: handleShowOverlay }, null, 512), [
|
|
122
108
|
[Vue.unref(vTap.default), () => handleControlClick("moreControl")]
|
|
123
109
|
])
|
|
124
110
|
]);
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const indexPC_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 indexPc = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const indexPc = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-4afcea78"]]);
|
|
7
7
|
exports.default = indexPc;
|
|
@@ -139,7 +139,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
139
139
|
class: "center-container-item",
|
|
140
140
|
onClick: _cache[9] || (_cache[9] = ($event) => handleControlClick("MasterApplyControl"))
|
|
141
141
|
})) : Vue.createCommentVNode("", true),
|
|
142
|
-
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true),
|
|
143
142
|
Vue.createVNode(Vue.unref(index$1.default), {
|
|
144
143
|
class: "center-container-item",
|
|
145
144
|
onClick: _cache[10] || (_cache[10] = ($event) => handleControlClick("voteControl")),
|
package/lib/conference.vue.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ declare function enterRoom(options: {
|
|
|
16
16
|
declare function resetStore(): void;
|
|
17
17
|
declare function __VLS_template(): {
|
|
18
18
|
content?(_: {}): any;
|
|
19
|
+
contentH5?(_: {}): any;
|
|
19
20
|
};
|
|
20
21
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
22
|
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-14e58a3b"]]);
|
|
8
8
|
exports.default = ConferenceMainView;
|
package/lib/conference.vue2.js
CHANGED
|
@@ -280,6 +280,9 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
280
280
|
content: Vue.withCtx(() => [
|
|
281
281
|
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
282
282
|
]),
|
|
283
|
+
contentH5: Vue.withCtx(() => [
|
|
284
|
+
Vue.renderSlot(_ctx.$slots, "contentH5", {}, void 0, true)
|
|
285
|
+
]),
|
|
283
286
|
_: 3
|
|
284
287
|
}, 512), [
|
|
285
288
|
[Vue.vShow, Vue.unref(showRoomTool)]
|
package/lib/index.js
CHANGED
|
@@ -3635,44 +3635,6 @@ to {
|
|
|
3635
3635
|
border-radius: 8px;
|
|
3636
3636
|
color: var(--text-color-primary);
|
|
3637
3637
|
background-color: var(--button-color-secondary-default);
|
|
3638
|
-
}.show-more-content[data-v-b8ad5a8b] {
|
|
3639
|
-
position: absolute;
|
|
3640
|
-
bottom: 15px;
|
|
3641
|
-
left: 5%;
|
|
3642
|
-
width: 90%;
|
|
3643
|
-
height: 17vh;
|
|
3644
|
-
padding: 10px;
|
|
3645
|
-
border-radius: 13px;
|
|
3646
|
-
animation-name: popup-b8ad5a8b;
|
|
3647
|
-
animation-duration: 200ms;
|
|
3648
|
-
background-color: var(--bg-color-operate);
|
|
3649
|
-
}
|
|
3650
|
-
@keyframes popup-b8ad5a8b {
|
|
3651
|
-
from {
|
|
3652
|
-
bottom: 0;
|
|
3653
|
-
}
|
|
3654
|
-
to {
|
|
3655
|
-
bottom: 15px;
|
|
3656
|
-
}
|
|
3657
|
-
}
|
|
3658
|
-
.control-compent[data-v-b8ad5a8b] {
|
|
3659
|
-
display: flex;
|
|
3660
|
-
}
|
|
3661
|
-
.close[data-v-b8ad5a8b] {
|
|
3662
|
-
position: relative;
|
|
3663
|
-
top: 10%;
|
|
3664
|
-
display: flex;
|
|
3665
|
-
align-items: center;
|
|
3666
|
-
justify-content: center;
|
|
3667
|
-
width: 100%;
|
|
3668
|
-
padding: 10px;
|
|
3669
|
-
font-style: normal;
|
|
3670
|
-
font-weight: 400;
|
|
3671
|
-
line-height: 24px;
|
|
3672
|
-
text-align: center;
|
|
3673
|
-
border-radius: 8px;
|
|
3674
|
-
color: var(--text-color-primary);
|
|
3675
|
-
background-color: var(--button-color-secondary-default);
|
|
3676
3638
|
}.tool-box[data-v-34681937] {
|
|
3677
3639
|
position: absolute;
|
|
3678
3640
|
bottom: 72px;
|
|
@@ -3702,7 +3664,7 @@ to {
|
|
|
3702
3664
|
.tool-box .tool-box-item[data-v-34681937]:hover {
|
|
3703
3665
|
border-radius: 8px;
|
|
3704
3666
|
background-color: var(--list-color-hover);
|
|
3705
|
-
}.footer-container[data-v-
|
|
3667
|
+
}.footer-container[data-v-4905d960] {
|
|
3706
3668
|
position: absolute;
|
|
3707
3669
|
bottom: 0;
|
|
3708
3670
|
display: flex;
|
|
@@ -3966,7 +3928,48 @@ to {
|
|
|
3966
3928
|
}
|
|
3967
3929
|
.footer .mirror-container .mirror-text[data-v-21a63691] {
|
|
3968
3930
|
margin-left: 4px;
|
|
3969
|
-
}.
|
|
3931
|
+
}.show-more-content[data-v-c413959d] {
|
|
3932
|
+
position: absolute;
|
|
3933
|
+
bottom: 15px;
|
|
3934
|
+
left: 5%;
|
|
3935
|
+
width: 90%;
|
|
3936
|
+
height: 17vh;
|
|
3937
|
+
padding: 10px;
|
|
3938
|
+
border-radius: 13px;
|
|
3939
|
+
animation-name: popup-c413959d;
|
|
3940
|
+
animation-duration: 200ms;
|
|
3941
|
+
background-color: var(--bg-color-operate);
|
|
3942
|
+
}
|
|
3943
|
+
@keyframes popup-c413959d {
|
|
3944
|
+
from {
|
|
3945
|
+
bottom: 0;
|
|
3946
|
+
}
|
|
3947
|
+
to {
|
|
3948
|
+
bottom: 15px;
|
|
3949
|
+
}
|
|
3950
|
+
}
|
|
3951
|
+
.control-compent[data-v-c413959d] {
|
|
3952
|
+
display: flex;
|
|
3953
|
+
}
|
|
3954
|
+
.close[data-v-c413959d] {
|
|
3955
|
+
position: relative;
|
|
3956
|
+
top: 10%;
|
|
3957
|
+
display: flex;
|
|
3958
|
+
align-items: center;
|
|
3959
|
+
justify-content: center;
|
|
3960
|
+
width: 100%;
|
|
3961
|
+
padding: 10px;
|
|
3962
|
+
font-style: normal;
|
|
3963
|
+
font-weight: 400;
|
|
3964
|
+
line-height: 24px;
|
|
3965
|
+
text-align: center;
|
|
3966
|
+
border-radius: 8px;
|
|
3967
|
+
color: var(--text-color-primary);
|
|
3968
|
+
background-color: var(--button-color-secondary-default);
|
|
3969
|
+
}.ndsc-img-box[data-v-50420946] {
|
|
3970
|
+
width: 50px;
|
|
3971
|
+
height: 50px;
|
|
3972
|
+
}.footer-container[data-v-4afcea78] {
|
|
3970
3973
|
position: absolute;
|
|
3971
3974
|
bottom: 0;
|
|
3972
3975
|
display: flex;
|
|
@@ -3980,25 +3983,25 @@ to {
|
|
|
3980
3983
|
background-color: var(--bg-color-topbar);
|
|
3981
3984
|
box-shadow: 0 -8px 30px var(--uikit-color-black-8);
|
|
3982
3985
|
}
|
|
3983
|
-
.footer-container .left-container[data-v-
|
|
3986
|
+
.footer-container .left-container[data-v-4afcea78] {
|
|
3984
3987
|
display: flex;
|
|
3985
3988
|
align-items: center;
|
|
3986
3989
|
height: 100%;
|
|
3987
3990
|
}
|
|
3988
|
-
.footer-container .left-container .left-container-item[data-v-
|
|
3991
|
+
.footer-container .left-container .left-container-item[data-v-4afcea78]:not(:first-child) {
|
|
3989
3992
|
margin-left: 1rem;
|
|
3990
3993
|
}
|
|
3991
|
-
.footer-container .center-container[data-v-
|
|
3994
|
+
.footer-container .center-container[data-v-4afcea78] {
|
|
3992
3995
|
position: relative;
|
|
3993
3996
|
display: flex;
|
|
3994
3997
|
align-items: center;
|
|
3995
3998
|
height: 100%;
|
|
3996
3999
|
margin: 0 auto;
|
|
3997
4000
|
}
|
|
3998
|
-
.footer-container .center-container .center-container-item[data-v-
|
|
4001
|
+
.footer-container .center-container .center-container-item[data-v-4afcea78]:not(:first-child) {
|
|
3999
4002
|
margin-left: 16px;
|
|
4000
4003
|
}
|
|
4001
|
-
.footer-container .right-container[data-v-
|
|
4004
|
+
.footer-container .right-container[data-v-4afcea78] {
|
|
4002
4005
|
display: flex;
|
|
4003
4006
|
align-items: center;
|
|
4004
4007
|
height: 100%;
|
|
@@ -9168,7 +9171,7 @@ body, html {
|
|
|
9168
9171
|
}
|
|
9169
9172
|
.tui-room :not([class|=el]) {
|
|
9170
9173
|
transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
|
|
9171
|
-
}.tui-room[data-v-
|
|
9174
|
+
}.tui-room[data-v-14e58a3b] {
|
|
9172
9175
|
position: relative;
|
|
9173
9176
|
display: flex;
|
|
9174
9177
|
flex-direction: column;
|
|
@@ -9180,7 +9183,7 @@ body, html {
|
|
|
9180
9183
|
text-align: left;
|
|
9181
9184
|
background-color: var(--bg-color-topbar);
|
|
9182
9185
|
}
|
|
9183
|
-
.tui-room .header[data-v-
|
|
9186
|
+
.tui-room .header[data-v-14e58a3b] {
|
|
9184
9187
|
position: absolute;
|
|
9185
9188
|
top: 0;
|
|
9186
9189
|
left: 0;
|
|
@@ -9191,20 +9194,20 @@ body, html {
|
|
|
9191
9194
|
border-bottom: 1px solid var(--stroke-color-primary);
|
|
9192
9195
|
box-shadow: 0 1px 0 var(--uikit-color-black-8);
|
|
9193
9196
|
}
|
|
9194
|
-
.tui-room .content[data-v-
|
|
9197
|
+
.tui-room .content[data-v-14e58a3b] {
|
|
9195
9198
|
position: absolute;
|
|
9196
9199
|
top: 0;
|
|
9197
9200
|
width: 100%;
|
|
9198
9201
|
height: 100%;
|
|
9199
9202
|
background-color: var(--bg-color-topbar);
|
|
9200
9203
|
}
|
|
9201
|
-
.tui-room.tui-room-h5[data-v-
|
|
9204
|
+
.tui-room.tui-room-h5[data-v-14e58a3b] {
|
|
9202
9205
|
width: 100%;
|
|
9203
9206
|
min-width: 350px;
|
|
9204
9207
|
height: 100%;
|
|
9205
9208
|
min-height: 525px;
|
|
9206
9209
|
}
|
|
9207
|
-
#roomContainer.chat-room[data-v-
|
|
9210
|
+
#roomContainer.chat-room[data-v-14e58a3b] {
|
|
9208
9211
|
position: absolute;
|
|
9209
9212
|
top: 0;
|
|
9210
9213
|
right: 0;
|
|
@@ -9216,8 +9219,8 @@ body, html {
|
|
|
9216
9219
|
margin: auto;
|
|
9217
9220
|
border-radius: 10px;
|
|
9218
9221
|
}
|
|
9219
|
-
#roomContainer.tui-room-h5[data-v-
|
|
9220
|
-
#roomContainer .chat-room[data-v-
|
|
9222
|
+
#roomContainer.tui-room-h5[data-v-14e58a3b],
|
|
9223
|
+
#roomContainer .chat-room[data-v-14e58a3b] {
|
|
9221
9224
|
width: 100%;
|
|
9222
9225
|
height: 100%;
|
|
9223
9226
|
}.user-info-container[data-v-9e9aff53] {
|
package/package.json
CHANGED
|
Binary file
|