@ndscnj/roomkit-web-vue3 25.12.24165 → 25.12.24166
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 +2 -2
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.mjs +1 -1
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue2.mjs +32 -76
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +5 -53
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue2.mjs +58 -1
- package/es/components/RoomFooter/VoteControl/index.d.ts +0 -4
- package/es/components/RoomFooter/VoteControl/index.mjs +2 -2
- package/es/components/RoomSidebar/indexPC.vue.d.ts +1 -0
- package/es/components/RoomSidebar/indexPC.vue.mjs +3 -0
- package/es/components/RoomVote/index.d.ts +17 -5
- package/es/components/RoomVote/indexH5.vue.d.ts +10 -5
- package/es/components/RoomVote/indexH5.vue.mjs +9 -2
- package/es/conference.vue.d.ts +1 -0
- package/es/conference.vue.mjs +1 -1
- package/es/conference.vue2.mjs +4 -6
- package/es/index.mjs +59 -116
- package/lib/assets/imgs/vote-icon.png.js +4 -0
- package/lib/components/Chat/index/indexH5.vue.js +1 -1
- package/lib/components/ManageMember/MemberItem/indexH5.vue.js +1 -1
- package/lib/components/ManageMember/indexH5.vue.js +1 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +2 -2
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.js +1 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue2.js +30 -74
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +5 -53
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue2.js +59 -2
- package/lib/components/RoomFooter/VoteControl/index.d.ts +0 -4
- package/lib/components/RoomFooter/VoteControl/index.js +2 -2
- package/lib/components/RoomFooter/index/indexH5.vue.js +1 -1
- package/lib/components/RoomInvite/indexH5.vue.js +1 -1
- package/lib/components/RoomMore/indexH5.vue.js +1 -1
- package/lib/components/RoomSidebar/indexH5.vue.js +1 -1
- package/lib/components/RoomSidebar/indexPC.vue.d.ts +1 -0
- package/lib/components/RoomSidebar/indexPC.vue.js +3 -0
- package/lib/components/RoomVote/index.d.ts +17 -5
- package/lib/components/RoomVote/indexH5.vue.d.ts +10 -5
- package/lib/components/RoomVote/indexH5.vue.js +9 -2
- package/lib/conference.vue.d.ts +1 -0
- package/lib/conference.vue.js +1 -1
- package/lib/conference.vue2.js +4 -6
- package/lib/index.js +59 -116
- package/package.json +1 -1
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlH5.vue +27 -108
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +7 -1
- package/src/TUIRoom/components/RoomSidebar/indexPC.vue +3 -0
- package/src/TUIRoom/components/RoomVote/indexH5.vue +61 -118
- package/src/TUIRoom/conference.vue +3 -3
- 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
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAKhSURBVFiF7ZWxftMwEIf/F3lgI0yl1VDzBNwv8sBGusHWbt2IR6a2T9DyBC1P0HRkKmxsKVM7WI76BkxJx3RjiHMMOMW4tmO70Ilbkp9P0vfJ0p0VHhjMzFrrS631s8lkctF0vnooXCk1AvAcQF9rTU0lWgtk4CCitwAYwG5TiVYCWXiSJFtxHF+tra196nQ6b5pKNBZgZl8pdbmEO+ccANzc3PxoI9FIIIWPADzJwpfRRqK2QAbeLYK3laglkIH7IvJ+PB5/rRrfRGKlQA4exnE8rCNdV6JSoC28iQT9TXiv1xssFguXvx/M3FVKjQH4RLQVRdGdRKcpnJm7RXOCIDgiolOl1F5BejlnNp/PZ9nEPYEquDHmXCk1ZmY/DxeRQwAuSZKDkvUKq+eegFLquOK1nwHwlVKjpUQOvuWcu9thdjNEtFNUuvcEiOg6/X2dz1lrP4tIuJQIguC4DlxEwuy5/7Hh/IPJZHKhtSYA+xsbG/50Ov2SzU+nU7e+vn5LRLsAXtWBV13gwjKsIXGltf62PPO2cCzLkJm7nudxPikiewC2AQyttWHVQnk4gCERnZWNnc/nzjk3o8yntbC8MlEpkYPXjR0yxowAsIh8LBtFRC8BbBPRSRRFB/l87rafLBaL21VkInoHAJ6I+ETk4jg+qppgjDkVkf0gCG6jKLobmz9za22tdm2M2QQwKOyERZG+/qGIHAZBcITfLfY8hR80/VYAgNdksLU2NMYglXgqIn0ATEQfrLUnTeErBXq93qCoIeFXheynf2cismmMOS0Zdx3HcalcqQAzd4nouEZ1dAEMypJE9B1AcwHn3IyZX9QQWBWzqmTlEaQdrnKBh0btKvgv8K/CS29pP23JjxkMwHlJkoRpN+s/soBLkiT8CfdGvsMQPqX9AAAAAElFTkSuQmCC";
|
|
2
|
+
export {
|
|
3
|
+
_imports_0 as default
|
|
4
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
-
"
|
|
2
|
+
"on-vote": (...args: any[]) => void;
|
|
3
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
"
|
|
4
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
5
5
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./MoreControlH5.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const MoreControlH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const MoreControlH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2d633075"]]);
|
|
5
5
|
export {
|
|
6
6
|
MoreControlH5 as default
|
|
7
7
|
};
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent, createElementBlock, createCommentVNode, unref, openBlock, createVNode, withCtx, createElementVNode } from "vue";
|
|
2
|
+
import _imports_0 from "../../../assets/imgs/vote-icon.png.mjs";
|
|
3
|
+
import { IconMore } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
4
|
import IconButton from "../../common/base/IconButton.vue.mjs";
|
|
4
5
|
import useControl from "./useMoreControlHooks.mjs";
|
|
5
|
-
import _sfc_main$1 from "../ChatControl.vue.mjs";
|
|
6
|
-
import InviteControl from "../InviteControl.vue.mjs";
|
|
7
|
-
import ContactControl from "../ContactControl.vue.mjs";
|
|
8
|
-
import { useRoomStore } from "../../../stores/room.mjs";
|
|
9
|
-
import bus from "../../../hooks/useMitt.mjs";
|
|
10
|
-
import vTap from "../../../directives/vTap.mjs";
|
|
11
6
|
import "../../../services/main.mjs";
|
|
12
7
|
import { roomService } from "../../../services/roomService.mjs";
|
|
13
8
|
import "../../../locales/index.mjs";
|
|
@@ -20,83 +15,44 @@ const _hoisted_1 = {
|
|
|
20
15
|
key: 0,
|
|
21
16
|
class: "more-control-container"
|
|
22
17
|
};
|
|
23
|
-
const _hoisted_2 = { class: "control-compent" };
|
|
24
|
-
const _hoisted_3 = { class: "close" };
|
|
25
18
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
26
19
|
__name: "MoreControlH5",
|
|
27
|
-
emits: ["
|
|
20
|
+
emits: ["on-vote"],
|
|
28
21
|
setup(__props, { emit: __emit }) {
|
|
29
22
|
const moreControlConfig = roomService.getComponentConfig("MoreControl");
|
|
30
|
-
const
|
|
31
|
-
const moreContentRef = ref();
|
|
32
|
-
const { t, sidebarName } = useControl();
|
|
33
|
-
const roomStore = useRoomStore();
|
|
23
|
+
const { t, basicStore, sidebarName } = useControl();
|
|
34
24
|
const emit = __emit;
|
|
35
|
-
function
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
function handleControlClick(name) {
|
|
42
|
-
bus.emit("experience-communication", name);
|
|
43
|
-
}
|
|
44
|
-
function handleShowOverlay(data) {
|
|
45
|
-
showMoreContent.value = false;
|
|
46
|
-
emit("show-overlay", data);
|
|
47
|
-
}
|
|
48
|
-
function handleDocumentClick(event) {
|
|
49
|
-
if (showMoreContent.value && !moreContentRef.value.contains(event.target)) {
|
|
50
|
-
showMoreContent.value = false;
|
|
25
|
+
function toggleMoreSidebar() {
|
|
26
|
+
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
|
|
27
|
+
basicStore.setSidebarOpenStatus(false);
|
|
28
|
+
basicStore.setSidebarName("");
|
|
29
|
+
return;
|
|
51
30
|
}
|
|
31
|
+
basicStore.setSidebarOpenStatus(true);
|
|
32
|
+
basicStore.setSidebarName("vote");
|
|
33
|
+
emit("on-vote", {
|
|
34
|
+
name: "onVote",
|
|
35
|
+
visible: basicStore.isSidebarOpen
|
|
36
|
+
});
|
|
52
37
|
}
|
|
53
|
-
onMounted(() => {
|
|
54
|
-
document == null ? void 0 : document.addEventListener("click", handleDocumentClick, true);
|
|
55
|
-
});
|
|
56
|
-
onUnmounted(() => {
|
|
57
|
-
document == null ? void 0 : document.removeEventListener("click", handleDocumentClick, true);
|
|
58
|
-
});
|
|
59
38
|
return (_ctx, _cache) => {
|
|
60
|
-
return openBlock(), createElementBlock("div",
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
]
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
])) : createCommentVNode("", true),
|
|
74
|
-
showMoreContent.value ? (openBlock(), createElementBlock("div", {
|
|
75
|
-
key: 1,
|
|
76
|
-
ref_key: "moreContentRef",
|
|
77
|
-
ref: moreContentRef,
|
|
78
|
-
class: "show-more-content"
|
|
79
|
-
}, [
|
|
80
|
-
createElementVNode("div", _hoisted_2, [
|
|
81
|
-
unref(roomStore).isSpeakAfterTakingSeatMode ? (openBlock(), createBlock(_sfc_main$1, {
|
|
82
|
-
key: 0,
|
|
83
|
-
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("chatControl"))
|
|
84
|
-
})) : createCommentVNode("", true),
|
|
85
|
-
createVNode(ContactControl, {
|
|
86
|
-
onClick: _cache[1] || (_cache[1] = ($event) => handleControlClick("contactControl"))
|
|
87
|
-
}),
|
|
88
|
-
createVNode(InviteControl, {
|
|
89
|
-
onShowOverlay: handleShowOverlay,
|
|
90
|
-
onClick: _cache[2] || (_cache[2] = ($event) => handleControlClick("inviteControl"))
|
|
91
|
-
})
|
|
39
|
+
return unref(moreControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
40
|
+
createVNode(IconButton, {
|
|
41
|
+
"is-active": unref(sidebarName) === "vote",
|
|
42
|
+
title: unref(t)("Vote"),
|
|
43
|
+
onClickIcon: toggleMoreSidebar
|
|
44
|
+
}, {
|
|
45
|
+
default: withCtx(() => [
|
|
46
|
+
createVNode(unref(IconMore), { size: "24" }),
|
|
47
|
+
_cache[0] || (_cache[0] = createElementVNode("img", {
|
|
48
|
+
class: "ndsc-img-box",
|
|
49
|
+
src: _imports_0,
|
|
50
|
+
alt: ""
|
|
51
|
+
}, null, -1))
|
|
92
52
|
]),
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
[unref(vTap), handleCancelControl]
|
|
97
|
-
])
|
|
98
|
-
], 512)) : createCommentVNode("", true)
|
|
99
|
-
]);
|
|
53
|
+
_: 1
|
|
54
|
+
}, 8, ["is-active", "title"])
|
|
55
|
+
])) : createCommentVNode("", true);
|
|
100
56
|
};
|
|
101
57
|
}
|
|
102
58
|
});
|
|
@@ -1,55 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import "../../../services/main.mjs";
|
|
6
|
-
import { roomService } from "../../../services/roomService.mjs";
|
|
7
|
-
import "../../../locales/index.mjs";
|
|
8
|
-
import "@tencentcloud/tuiroom-engine-js";
|
|
9
|
-
import "../../../utils/environment.mjs";
|
|
10
|
-
import "mitt";
|
|
11
|
-
import "../../../services/manager/roomActionManager.mjs";
|
|
12
|
-
import "@tencentcloud/tui-core";
|
|
13
|
-
const _hoisted_1 = {
|
|
14
|
-
key: 0,
|
|
15
|
-
class: "more-control-container"
|
|
16
|
-
};
|
|
17
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
|
-
__name: "MoreControlPC",
|
|
19
|
-
emits: ["on-vote"],
|
|
20
|
-
setup(__props, { emit: __emit }) {
|
|
21
|
-
const moreControlConfig = roomService.getComponentConfig("MoreControl");
|
|
22
|
-
const { t, basicStore, sidebarName } = useControl();
|
|
23
|
-
const emit = __emit;
|
|
24
|
-
function toggleMoreSidebar() {
|
|
25
|
-
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
|
|
26
|
-
basicStore.setSidebarOpenStatus(false);
|
|
27
|
-
basicStore.setSidebarName("");
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
basicStore.setSidebarOpenStatus(true);
|
|
31
|
-
basicStore.setSidebarName("vote");
|
|
32
|
-
emit("on-vote", {
|
|
33
|
-
name: "onVote",
|
|
34
|
-
visible: basicStore.isSidebarOpen
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
return (_ctx, _cache) => {
|
|
38
|
-
return unref(moreControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
39
|
-
createVNode(IconButton, {
|
|
40
|
-
"is-active": unref(sidebarName) === "vote",
|
|
41
|
-
title: unref(t)("Vote"),
|
|
42
|
-
onClickIcon: toggleMoreSidebar
|
|
43
|
-
}, {
|
|
44
|
-
default: withCtx(() => [
|
|
45
|
-
createVNode(unref(IconMore), { size: "24" })
|
|
46
|
-
]),
|
|
47
|
-
_: 1
|
|
48
|
-
}, 8, ["is-active", "title"])
|
|
49
|
-
])) : createCommentVNode("", true);
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
});
|
|
1
|
+
import _sfc_main from "./MoreControlPC.vue2.mjs";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const MoreControlPc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9e42a812"]]);
|
|
53
5
|
export {
|
|
54
|
-
|
|
6
|
+
MoreControlPc as default
|
|
55
7
|
};
|
|
@@ -1,4 +1,61 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent, createElementBlock, createCommentVNode, unref, openBlock, createVNode, withCtx, createElementVNode } from "vue";
|
|
2
|
+
import _imports_0 from "../../../assets/imgs/vote-icon.png.mjs";
|
|
3
|
+
import { IconMore } from "@tencentcloud/uikit-base-component-vue3";
|
|
4
|
+
import IconButton from "../../common/base/IconButton.vue.mjs";
|
|
5
|
+
import useControl from "./useMoreControlHooks.mjs";
|
|
6
|
+
import "../../../services/main.mjs";
|
|
7
|
+
import { roomService } from "../../../services/roomService.mjs";
|
|
8
|
+
import "../../../locales/index.mjs";
|
|
9
|
+
import "@tencentcloud/tuiroom-engine-js";
|
|
10
|
+
import "../../../utils/environment.mjs";
|
|
11
|
+
import "mitt";
|
|
12
|
+
import "../../../services/manager/roomActionManager.mjs";
|
|
13
|
+
import "@tencentcloud/tui-core";
|
|
14
|
+
const _hoisted_1 = {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "more-control-container"
|
|
17
|
+
};
|
|
18
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
19
|
+
__name: "MoreControlPC",
|
|
20
|
+
emits: ["on-vote"],
|
|
21
|
+
setup(__props, { emit: __emit }) {
|
|
22
|
+
const moreControlConfig = roomService.getComponentConfig("MoreControl");
|
|
23
|
+
const { t, basicStore, sidebarName } = useControl();
|
|
24
|
+
const emit = __emit;
|
|
25
|
+
function toggleMoreSidebar() {
|
|
26
|
+
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
|
|
27
|
+
basicStore.setSidebarOpenStatus(false);
|
|
28
|
+
basicStore.setSidebarName("");
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
basicStore.setSidebarOpenStatus(true);
|
|
32
|
+
basicStore.setSidebarName("vote");
|
|
33
|
+
emit("on-vote", {
|
|
34
|
+
name: "onVote",
|
|
35
|
+
visible: basicStore.isSidebarOpen
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
return (_ctx, _cache) => {
|
|
39
|
+
return unref(moreControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
40
|
+
createVNode(IconButton, {
|
|
41
|
+
"is-active": unref(sidebarName) === "vote",
|
|
42
|
+
title: unref(t)("Vote"),
|
|
43
|
+
onClickIcon: toggleMoreSidebar
|
|
44
|
+
}, {
|
|
45
|
+
default: withCtx(() => [
|
|
46
|
+
createVNode(unref(IconMore), { size: "24" }),
|
|
47
|
+
_cache[0] || (_cache[0] = createElementVNode("img", {
|
|
48
|
+
class: "ndsc-img-box",
|
|
49
|
+
src: _imports_0,
|
|
50
|
+
alt: ""
|
|
51
|
+
}, null, -1))
|
|
52
|
+
]),
|
|
53
|
+
_: 1
|
|
54
|
+
}, 8, ["is-active", "title"])
|
|
55
|
+
])) : createCommentVNode("", true);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
});
|
|
2
59
|
export {
|
|
3
60
|
_sfc_main as default
|
|
4
61
|
};
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
declare const MoreControl: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
-
"show-overlay": (...args: any[]) => void;
|
|
3
|
-
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
2
|
"on-vote": (...args: any[]) => void;
|
|
7
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
8
4
|
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import MoreControlH5 from "./MoreControlH5.vue.mjs";
|
|
2
|
-
import
|
|
2
|
+
import MoreControlPc from "./MoreControlPC.vue.mjs";
|
|
3
3
|
import { isMobile } from "../../../utils/environment.mjs";
|
|
4
|
-
const MoreControl = isMobile ? MoreControlH5 :
|
|
4
|
+
const MoreControl = isMobile ? MoreControlH5 : MoreControlPc;
|
|
5
5
|
export {
|
|
6
6
|
MoreControl as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
content?(_: {}): any;
|
|
3
|
+
contentH5?(_: {}): any;
|
|
3
4
|
};
|
|
4
5
|
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
6
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -27,6 +27,9 @@ 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
|
+
]),
|
|
30
33
|
_: 3
|
|
31
34
|
})) : createCommentVNode("", true),
|
|
32
35
|
unref(sidebarName) == "more" ? (openBlock(), createBlock(unref(Index$2), { key: 2 })) : createCommentVNode("", true),
|
|
@@ -1,8 +1,20 @@
|
|
|
1
|
-
declare const Index:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
})) | ({
|
|
6
18
|
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
19
|
P: {};
|
|
8
20
|
B: {};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
contentH5?(_: {}): 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
|
-
import
|
|
1
|
+
import { createElementBlock, openBlock, renderSlot } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const _sfc_main = {};
|
|
5
|
+
const _hoisted_1 = { class: "more-container" };
|
|
6
|
+
function _sfc_render(_ctx, _cache) {
|
|
7
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
8
|
+
renderSlot(_ctx.$slots, "contentH5", {}, void 0, true)
|
|
9
|
+
]);
|
|
10
|
+
}
|
|
11
|
+
const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6c9f3c67"]]);
|
|
5
12
|
export {
|
|
6
13
|
indexH5 as default
|
|
7
14
|
};
|
package/es/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/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-5135c8c9"]]);
|
|
6
6
|
export {
|
|
7
7
|
ConferenceMainView as default
|
|
8
8
|
};
|
package/es/conference.vue2.mjs
CHANGED
|
@@ -274,18 +274,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
274
274
|
class: "footer",
|
|
275
275
|
onShowOverlay: handleShowOverlay,
|
|
276
276
|
onOnVote: onVote
|
|
277
|
-
},
|
|
278
|
-
content: withCtx(() => [
|
|
279
|
-
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
280
|
-
]),
|
|
281
|
-
_: 3
|
|
282
|
-
}, 512), [
|
|
277
|
+
}, null, 512), [
|
|
283
278
|
[vShow, unref(showRoomTool)]
|
|
284
279
|
]),
|
|
285
280
|
createVNode(unref(Index$1), { onOnVote: onVote }, {
|
|
286
281
|
content: withCtx(() => [
|
|
287
282
|
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
288
283
|
]),
|
|
284
|
+
contentH5: withCtx(() => [
|
|
285
|
+
renderSlot(_ctx.$slots, "contentH5", {}, void 0, true)
|
|
286
|
+
]),
|
|
289
287
|
_: 3
|
|
290
288
|
}),
|
|
291
289
|
createVNode(RoomSetting),
|