@ndscnj/roomkit-web-vue3 25.12.24157 → 25.12.24159
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 -0
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.mjs +1 -1
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue2.mjs +14 -53
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts +5 -1
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +7 -1
- package/es/components/RoomFooter/VoteControl/index.d.ts +7 -1
- package/es/components/RoomFooter/VoteControl/useMoreControlHooks.mjs +3 -1
- 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 +19 -4
- package/es/components/RoomSidebar/index.d.ts +1 -27
- package/es/components/RoomSidebar/indexPC.vue.d.ts +1 -5
- package/es/components/RoomSidebar/indexPC.vue.mjs +2 -13
- package/es/components/RoomVote/index.d.ts +2 -6
- package/es/components/RoomVote/indexH5.vue.d.ts +10 -5
- package/es/components/RoomVote/indexH5.vue.mjs +9 -2
- package/es/index.mjs +51 -51
- 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 -0
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.js +1 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue2.js +13 -52
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts +5 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +7 -1
- package/lib/components/RoomFooter/VoteControl/index.d.ts +7 -1
- package/lib/components/RoomFooter/VoteControl/useMoreControlHooks.js +3 -1
- 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 +2 -2
- package/lib/components/RoomFooter/index/indexH5.vue2.js +18 -3
- 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 -27
- package/lib/components/RoomSidebar/indexH5.vue.js +1 -1
- package/lib/components/RoomSidebar/indexPC.vue.d.ts +1 -5
- package/lib/components/RoomSidebar/indexPC.vue.js +1 -12
- package/lib/components/RoomVote/index.d.ts +2 -6
- package/lib/components/RoomVote/indexH5.vue.d.ts +10 -5
- package/lib/components/RoomVote/indexH5.vue.js +9 -2
- package/lib/index.js +51 -51
- package/package.json +1 -1
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlH5.vue +10 -42
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +6 -2
- package/src/TUIRoom/components/RoomFooter/VoteControl/useMoreControlHooks.ts +2 -1
- package/src/TUIRoom/components/RoomFooter/index/indexH5.vue +14 -2
- package/src/TUIRoom/components/RoomSidebar/indexPC.vue +1 -12
- package/src/TUIRoom/components/RoomVote/indexH5.vue +1 -30
- package/es/components/RoomVote/indexH5.vue2.mjs +0 -51
- package/es/components/RoomVote/useRoomMoreHooks.mjs +0 -43
- package/lib/components/RoomVote/indexH5.vue2.js +0 -51
- package/lib/components/RoomVote/useRoomMoreHooks.js +0 -43
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const indexH5_vue_vue_type_script_setup_true_lang =
|
|
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
6
|
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-524b1604"]]);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
2
|
"show-overlay": (...args: any[]) => void;
|
|
3
|
+
"on-vote": (...args: any[]) => void;
|
|
3
4
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
5
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
5
7
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
8
|
export default _default;
|
|
@@ -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-b8ad5a8b"]]);
|
|
7
7
|
exports.default = MoreControlH5;
|
|
@@ -4,12 +4,6 @@ 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");
|
|
13
7
|
require("../../../services/main.js");
|
|
14
8
|
const roomService = require("../../../services/roomService.js");
|
|
15
9
|
require("../../../locales/index.js");
|
|
@@ -22,30 +16,21 @@ const _hoisted_1 = {
|
|
|
22
16
|
key: 0,
|
|
23
17
|
class: "more-control-container"
|
|
24
18
|
};
|
|
25
|
-
const _hoisted_2 = { class: "control-compent" };
|
|
26
|
-
const _hoisted_3 = { class: "close" };
|
|
27
19
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
28
20
|
__name: "MoreControlH5",
|
|
29
|
-
emits: ["show-overlay"],
|
|
21
|
+
emits: ["show-overlay", "on-vote"],
|
|
30
22
|
setup(__props, { emit: __emit }) {
|
|
31
|
-
const
|
|
23
|
+
const voteControlConfig = roomService.roomService.getComponentConfig("MoreControl");
|
|
32
24
|
const showMoreContent = Vue.ref(false);
|
|
33
25
|
const moreContentRef = Vue.ref();
|
|
34
|
-
const { t, sidebarName } = useMoreControlHooks.default();
|
|
35
|
-
const roomStore = room.useRoomStore();
|
|
26
|
+
const { t, sidebarName, basicStore } = useMoreControlHooks.default();
|
|
36
27
|
const emit = __emit;
|
|
37
28
|
function showMore() {
|
|
38
29
|
showMoreContent.value = true;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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);
|
|
30
|
+
emit("on-vote", {
|
|
31
|
+
name: "onVote",
|
|
32
|
+
visible: basicStore.isSidebarOpen
|
|
33
|
+
});
|
|
49
34
|
}
|
|
50
35
|
function handleDocumentClick(event) {
|
|
51
36
|
if (showMoreContent.value && !moreContentRef.value.contains(event.target)) {
|
|
@@ -59,45 +44,21 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
59
44
|
document == null ? void 0 : document.removeEventListener("click", handleDocumentClick, true);
|
|
60
45
|
});
|
|
61
46
|
return (_ctx, _cache) => {
|
|
47
|
+
const _directive_tap = Vue.resolveDirective("tap");
|
|
62
48
|
return Vue.openBlock(), Vue.createElementBlock("div", null, [
|
|
63
|
-
Vue.unref(
|
|
49
|
+
Vue.unref(voteControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
64
50
|
Vue.withDirectives((Vue.openBlock(), Vue.createBlock(IconButton.default, {
|
|
65
|
-
"is-active": Vue.unref(sidebarName) === "
|
|
66
|
-
title: Vue.unref(t)("
|
|
51
|
+
"is-active": Vue.unref(sidebarName) === "vote",
|
|
52
|
+
title: Vue.unref(t)("Vote")
|
|
67
53
|
}, {
|
|
68
54
|
default: Vue.withCtx(() => [
|
|
69
55
|
Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconExtension), { size: "24" })
|
|
70
56
|
]),
|
|
71
57
|
_: 1
|
|
72
58
|
}, 8, ["is-active", "title"])), [
|
|
73
|
-
[
|
|
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]
|
|
59
|
+
[_directive_tap, showMore]
|
|
99
60
|
])
|
|
100
|
-
]
|
|
61
|
+
])) : Vue.createCommentVNode("", true)
|
|
101
62
|
]);
|
|
102
63
|
};
|
|
103
64
|
}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
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>;
|
|
2
6
|
export default _default;
|
|
@@ -18,9 +18,11 @@ const _hoisted_1 = {
|
|
|
18
18
|
};
|
|
19
19
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
20
20
|
__name: "MoreControlPC",
|
|
21
|
-
|
|
21
|
+
emits: ["on-vote"],
|
|
22
|
+
setup(__props, { emit: __emit }) {
|
|
22
23
|
const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
|
|
23
24
|
const { t, basicStore, sidebarName } = useMoreControlHooks.default();
|
|
25
|
+
const emit = __emit;
|
|
24
26
|
function toggleMoreSidebar() {
|
|
25
27
|
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
|
|
26
28
|
basicStore.setSidebarOpenStatus(false);
|
|
@@ -29,6 +31,10 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
29
31
|
}
|
|
30
32
|
basicStore.setSidebarOpenStatus(true);
|
|
31
33
|
basicStore.setSidebarName("vote");
|
|
34
|
+
emit("on-vote", {
|
|
35
|
+
name: "onVote",
|
|
36
|
+
visible: basicStore.isSidebarOpen
|
|
37
|
+
});
|
|
32
38
|
}
|
|
33
39
|
return (_ctx, _cache) => {
|
|
34
40
|
return Vue.unref(moreControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
@@ -1,6 +1,12 @@
|
|
|
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;
|
|
3
4
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
5
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
|
|
6
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"on-vote": (...args: any[]) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
10
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
12
|
export default MoreControl;
|
|
@@ -9,6 +9,7 @@ function useControl() {
|
|
|
9
9
|
const { t } = index.useI18n();
|
|
10
10
|
const basicStore = basic.useBasicStore();
|
|
11
11
|
const { sidebarName } = pinia.storeToRefs(basicStore);
|
|
12
|
+
const isSidebarOpen = Vue.computed(() => basicStore.isSidebarOpen);
|
|
12
13
|
const iconName = Vue.computed(
|
|
13
14
|
() => sidebarName.value === "vote" ? icon.ICON_NAME.MoreActive : icon.ICON_NAME.More
|
|
14
15
|
);
|
|
@@ -16,7 +17,8 @@ function useControl() {
|
|
|
16
17
|
t,
|
|
17
18
|
basicStore,
|
|
18
19
|
iconName,
|
|
19
|
-
sidebarName
|
|
20
|
+
sidebarName,
|
|
21
|
+
isSidebarOpen
|
|
20
22
|
};
|
|
21
23
|
}
|
|
22
24
|
exports.default = useControl;
|
|
@@ -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
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const indexH5_vue_vue_type_script_setup_true_lang =
|
|
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-ee2c0715"]]);
|
|
7
7
|
exports.default = indexH5;
|
|
@@ -57,17 +57,21 @@ 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
|
+
const index$1 = require("../VoteControl/index.js");
|
|
61
62
|
const AIControl = require("../AIControl.vue.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
|
+
emit("on-vote", { code: data.visible, message: "vote" });
|
|
74
|
+
};
|
|
71
75
|
function handleControlClick(name) {
|
|
72
76
|
useMitt.default.emit("experience-communication", name);
|
|
73
77
|
}
|
|
@@ -91,6 +95,17 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
91
95
|
!Vue.unref(roomStore).isSpeakAfterTakingSeatMode ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(ChatControl_vue_vue_type_script_setup_true_lang.default, { key: 2 }, null, 512)), [
|
|
92
96
|
[Vue.unref(vTap.default), () => handleControlClick("chatControl")]
|
|
93
97
|
]) : Vue.createCommentVNode("", true),
|
|
98
|
+
Vue.withDirectives((Vue.openBlock(), Vue.createBlock(Vue.unref(index$1.default), {
|
|
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
109
|
Vue.createVNode(AIControl.default, {
|
|
95
110
|
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("AIControl"))
|
|
96
111
|
}),
|
|
@@ -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,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const indexH5_vue_vue_type_script_setup_true_lang =
|
|
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
6
|
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-4450d628"]]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const indexH5_vue_vue_type_script_setup_true_lang =
|
|
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
6
|
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-bae34b36"]]);
|
|
@@ -1,28 +1,2 @@
|
|
|
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
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
3
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
4
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
-
"on-vote": (...args: any[]) => void;
|
|
6
|
-
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
7
|
-
P: {};
|
|
8
|
-
B: {};
|
|
9
|
-
D: {};
|
|
10
|
-
C: {};
|
|
11
|
-
M: {};
|
|
12
|
-
Defaults: {};
|
|
13
|
-
}, Readonly<{}> & Readonly<{
|
|
14
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, {}>;
|
|
16
|
-
__isFragment?: never;
|
|
17
|
-
__isTeleport?: never;
|
|
18
|
-
__isSuspense?: never;
|
|
19
|
-
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
20
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
21
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
-
"on-vote": (...args: any[]) => void;
|
|
23
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
24
|
-
$slots: {
|
|
25
|
-
content?(_: {}): any;
|
|
26
|
-
};
|
|
27
|
-
}));
|
|
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>;
|
|
28
2
|
export default Index;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const indexH5_vue_vue_type_script_setup_true_lang =
|
|
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
6
|
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-e545b2de"]]);
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
content?(_: {}): any;
|
|
3
3
|
};
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
-
"on-vote": (...args: any[]) => void;
|
|
6
|
-
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
7
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
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>;
|
|
9
5
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
10
6
|
export default _default;
|
|
11
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -11,19 +11,8 @@ const AITranscription = require("../common/widgets/AITools/AITranscription.vue.j
|
|
|
11
11
|
const _hoisted_1 = { class: "sidebar-container" };
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
13
13
|
__name: "indexPC",
|
|
14
|
-
|
|
15
|
-
setup(__props, { emit: __emit }) {
|
|
14
|
+
setup(__props) {
|
|
16
15
|
const { isSidebarOpen, title, handleClose, sidebarName } = useSideBarHooks.default();
|
|
17
|
-
const emit = __emit;
|
|
18
|
-
Vue.watch(
|
|
19
|
-
() => isSidebarOpen,
|
|
20
|
-
(newValue, oldValue) => {
|
|
21
|
-
emit("on-vote", {
|
|
22
|
-
name: "onVote",
|
|
23
|
-
visible: isSidebarOpen
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
);
|
|
27
16
|
return (_ctx, _cache) => {
|
|
28
17
|
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
29
18
|
Vue.createVNode(Drawer.default, {
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
declare const Index:
|
|
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> | ({
|
|
1
|
+
declare const Index: {
|
|
6
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, {
|
|
7
3
|
P: {};
|
|
8
4
|
B: {};
|
|
@@ -18,5 +14,5 @@ declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('v
|
|
|
18
14
|
$slots: {
|
|
19
15
|
content?(_: {}): any;
|
|
20
16
|
};
|
|
21
|
-
})
|
|
17
|
+
});
|
|
22
18
|
export default Index;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
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>>;
|
|
6
6
|
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const Vue = require("vue");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const
|
|
6
|
+
const _sfc_main = {};
|
|
7
|
+
const _hoisted_1 = { class: "contact-container-main" };
|
|
8
|
+
function _sfc_render(_ctx, _cache) {
|
|
9
|
+
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
10
|
+
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
11
|
+
]);
|
|
12
|
+
}
|
|
13
|
+
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-872a5da4"]]);
|
|
7
14
|
exports.default = indexH5;
|