@ndscnj/roomkit-web-vue3 25.12.2415 → 25.12.2417

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.
Files changed (92) hide show
  1. package/es/assets/imgs/vote-icon.png.mjs +4 -0
  2. package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.mjs +7 -0
  3. package/es/components/RoomFooter/VoteControl/MoreControlH5.vue2.mjs +59 -0
  4. package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +7 -0
  5. package/es/components/RoomFooter/VoteControl/MoreControlPC.vue2.mjs +59 -0
  6. package/es/components/RoomFooter/VoteControl/index.d.ts +6 -0
  7. package/es/components/RoomFooter/VoteControl/index.mjs +7 -0
  8. package/es/components/RoomFooter/VoteControl/useMoreControlHooks.mjs +24 -0
  9. package/es/components/RoomFooter/index/index.d.ts +31 -4
  10. package/es/components/RoomFooter/index/indexH5.vue.d.ts +12 -1
  11. package/es/components/RoomFooter/index/indexH5.vue.mjs +1 -1
  12. package/es/components/RoomFooter/index/indexH5.vue2.mjs +20 -5
  13. package/es/components/RoomFooter/index/indexPC.vue.mjs +1 -1
  14. package/es/components/RoomFooter/index/indexPC.vue2.mjs +4 -4
  15. package/es/components/RoomSidebar/index.d.ts +17 -1
  16. package/es/components/RoomSidebar/indexH5.vue.d.ts +10 -1
  17. package/es/components/RoomSidebar/indexH5.vue.mjs +1 -1
  18. package/es/components/RoomSidebar/indexH5.vue2.mjs +10 -3
  19. package/es/components/RoomSidebar/indexPC.vue.d.ts +10 -1
  20. package/es/components/RoomSidebar/indexPC.vue.mjs +8 -3
  21. package/es/components/RoomVote/index.d.ts +2 -6
  22. package/es/components/RoomVote/indexH5.vue.d.ts +10 -5
  23. package/es/components/RoomVote/indexH5.vue.mjs +9 -2
  24. package/es/components/RoomVote/indexPC.vue.mjs +9 -2
  25. package/es/conference.vue.mjs +1 -1
  26. package/es/conference.vue2.mjs +5 -5
  27. package/es/index.mjs +76 -105
  28. package/lib/assets/imgs/vote-icon.png.js +4 -0
  29. package/lib/components/Chat/index/indexH5.vue.js +1 -1
  30. package/lib/components/Chat/index/indexPC.vue.js +1 -1
  31. package/lib/components/ManageMember/MemberItem/indexH5.vue.js +1 -1
  32. package/lib/components/ManageMember/MemberItem/indexPC.vue.js +1 -1
  33. package/lib/components/ManageMember/indexH5.vue.js +1 -1
  34. package/lib/components/ManageMember/indexPC.vue.js +1 -1
  35. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +6 -0
  36. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.js +7 -0
  37. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue2.js +59 -0
  38. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts +6 -0
  39. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +7 -0
  40. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue2.js +59 -0
  41. package/lib/components/RoomFooter/VoteControl/index.d.ts +6 -0
  42. package/lib/components/RoomFooter/VoteControl/index.js +7 -0
  43. package/lib/components/RoomFooter/VoteControl/useMoreControlHooks.js +24 -0
  44. package/lib/components/RoomFooter/index/index.d.ts +31 -4
  45. package/lib/components/RoomFooter/index/indexH5.vue.d.ts +12 -1
  46. package/lib/components/RoomFooter/index/indexH5.vue.js +2 -2
  47. package/lib/components/RoomFooter/index/indexH5.vue2.js +19 -4
  48. package/lib/components/RoomFooter/index/indexPC.vue.js +2 -2
  49. package/lib/components/RoomFooter/index/indexPC.vue2.js +6 -6
  50. package/lib/components/RoomInvite/indexH5.vue.js +1 -1
  51. package/lib/components/RoomInvite/indexPC.vue.js +1 -1
  52. package/lib/components/RoomMore/indexH5.vue.js +1 -1
  53. package/lib/components/RoomMore/indexPC.vue.js +1 -1
  54. package/lib/components/RoomSidebar/index.d.ts +17 -1
  55. package/lib/components/RoomSidebar/indexH5.vue.d.ts +10 -1
  56. package/lib/components/RoomSidebar/indexH5.vue.js +2 -2
  57. package/lib/components/RoomSidebar/indexH5.vue2.js +9 -2
  58. package/lib/components/RoomSidebar/indexPC.vue.d.ts +10 -1
  59. package/lib/components/RoomSidebar/indexPC.vue.js +7 -2
  60. package/lib/components/RoomVote/index.d.ts +2 -6
  61. package/lib/components/RoomVote/indexH5.vue.d.ts +10 -5
  62. package/lib/components/RoomVote/indexH5.vue.js +9 -2
  63. package/lib/components/RoomVote/indexPC.vue.js +9 -2
  64. package/lib/conference.vue.js +1 -1
  65. package/lib/conference.vue2.js +5 -5
  66. package/lib/index.js +76 -105
  67. package/package.json +1 -1
  68. package/src/TUIRoom/assets/imgs/vote-icon.png +0 -0
  69. package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlH5.vue +40 -0
  70. package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +40 -0
  71. package/src/TUIRoom/components/RoomFooter/VoteControl/index.ts +8 -0
  72. package/src/TUIRoom/components/RoomFooter/VoteControl/useMoreControlHooks.ts +24 -0
  73. package/src/TUIRoom/components/RoomFooter/index/indexH5.vue +15 -2
  74. package/src/TUIRoom/components/RoomFooter/index/indexPC.vue +1 -1
  75. package/src/TUIRoom/components/RoomFooter/voteControl.vue +6 -0
  76. package/src/TUIRoom/components/RoomSidebar/indexH5.vue +5 -0
  77. package/src/TUIRoom/components/RoomSidebar/indexPC.vue +5 -1
  78. package/src/TUIRoom/components/RoomVote/indexH5.vue +61 -118
  79. package/src/TUIRoom/components/RoomVote/indexPC.vue +1 -26
  80. package/src/TUIRoom/conference.vue +5 -4
  81. package/es/components/RoomFooter/voteControl.vue.mjs +0 -7
  82. package/es/components/RoomFooter/voteControl.vue2.mjs +0 -48
  83. package/es/components/RoomVote/indexH5.vue2.mjs +0 -51
  84. package/es/components/RoomVote/indexPC.vue2.mjs +0 -52
  85. package/es/components/RoomVote/useRoomMoreHooks.mjs +0 -43
  86. package/lib/components/RoomFooter/voteControl.vue.js +0 -7
  87. package/lib/components/RoomFooter/voteControl.vue2.js +0 -48
  88. package/lib/components/RoomVote/indexH5.vue2.js +0 -51
  89. package/lib/components/RoomVote/indexPC.vue2.js +0 -52
  90. package/lib/components/RoomVote/useRoomMoreHooks.js +0 -43
  91. /package/es/components/RoomFooter/{voteControl.vue.d.ts → VoteControl/MoreControlH5.vue.d.ts} +0 -0
  92. /package/{lib/components/RoomFooter/voteControl.vue.d.ts → es/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts} +0 -0
@@ -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
+ };
@@ -0,0 +1,7 @@
1
+ import _sfc_main from "./MoreControlH5.vue2.mjs";
2
+ /* empty css */
3
+ import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const MoreControlH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2a47be79"]]);
5
+ export {
6
+ MoreControlH5 as default
7
+ };
@@ -0,0 +1,59 @@
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 IconButton from "../../common/base/IconButton.vue.mjs";
4
+ import useControl from "./useMoreControlHooks.mjs";
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: "MoreControlH5",
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(() => [..._cache[0] || (_cache[0] = [
45
+ createElementVNode("img", {
46
+ class: "ndsc-img-box",
47
+ src: _imports_0,
48
+ alt: ""
49
+ }, null, -1)
50
+ ])]),
51
+ _: 1
52
+ }, 8, ["is-active", "title"])
53
+ ])) : createCommentVNode("", true);
54
+ };
55
+ }
56
+ });
57
+ export {
58
+ _sfc_main as default
59
+ };
@@ -0,0 +1,7 @@
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-997feff9"]]);
5
+ export {
6
+ MoreControlPc as default
7
+ };
@@ -0,0 +1,59 @@
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 IconButton from "../../common/base/IconButton.vue.mjs";
4
+ import useControl from "./useMoreControlHooks.mjs";
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(() => [..._cache[0] || (_cache[0] = [
45
+ createElementVNode("img", {
46
+ class: "ndsc-img-box",
47
+ src: _imports_0,
48
+ alt: ""
49
+ }, null, -1)
50
+ ])]),
51
+ _: 1
52
+ }, 8, ["is-active", "title"])
53
+ ])) : createCommentVNode("", true);
54
+ };
55
+ }
56
+ });
57
+ export {
58
+ _sfc_main as default
59
+ };
@@ -0,0 +1,6 @@
1
+ declare const MoreControl: 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>;
6
+ export default MoreControl;
@@ -0,0 +1,7 @@
1
+ import MoreControlH5 from "./MoreControlH5.vue.mjs";
2
+ import MoreControlPc from "./MoreControlPC.vue.mjs";
3
+ import { isMobile } from "../../../utils/environment.mjs";
4
+ const MoreControl = isMobile ? MoreControlH5 : MoreControlPc;
5
+ export {
6
+ MoreControl as default
7
+ };
@@ -0,0 +1,24 @@
1
+ import { computed } from "vue";
2
+ import { useBasicStore } from "../../../stores/basic.mjs";
3
+ import { storeToRefs } from "pinia";
4
+ import { useI18n } from "../../../locales/index.mjs";
5
+ import { ICON_NAME } from "../../../constants/icon.mjs";
6
+ function useControl() {
7
+ const { t } = useI18n();
8
+ const basicStore = useBasicStore();
9
+ const { sidebarName } = storeToRefs(basicStore);
10
+ const isSidebarOpen = computed(() => basicStore.isSidebarOpen);
11
+ const iconName = computed(
12
+ () => sidebarName.value === "vote" ? ICON_NAME.MoreActive : ICON_NAME.More
13
+ );
14
+ return {
15
+ t,
16
+ basicStore,
17
+ iconName,
18
+ sidebarName,
19
+ isSidebarOpen
20
+ };
21
+ }
22
+ export {
23
+ useControl as default
24
+ };
@@ -1,8 +1,35 @@
1
- declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- "show-overlay": (...args: any[]) => void;
3
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
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
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
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 const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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-f3bbac91"]]);
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[0] || (_cache[0] = ($event) => handleControlClick("AIControl"))
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,7 +1,7 @@
1
1
  import _sfc_main from "./indexPC.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const indexPc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f808bd91"]]);
4
+ const indexPc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4afcea78"]]);
5
5
  export {
6
6
  indexPc as default
7
7
  };
@@ -57,7 +57,7 @@ import _sfc_main$3 from "../ManageMemberControl.vue.mjs";
57
57
  import _sfc_main$4 from "../ChatControl.vue.mjs";
58
58
  import _sfc_main$5 from "../ManageStageControl.vue.mjs";
59
59
  import MemberApplyControl from "../ApplyControl/MemberApplyControl.vue.mjs";
60
- import MoreControl from "../MoreControl/index.mjs";
60
+ import MoreControl$1 from "../MoreControl/index.mjs";
61
61
  import EndControl from "../EndControl/index.mjs";
62
62
  import _sfc_main$6 from "../SettingControl.vue.mjs";
63
63
  import WhiteboardControl from "../WhiteboardControl.vue.mjs";
@@ -65,7 +65,7 @@ import VirtualBackground from "../VirtualBackground.vue.mjs";
65
65
  import AIControl from "../AIControl.vue.mjs";
66
66
  import BasicBeauty from "../BasicBeauty.vue.mjs";
67
67
  import bus from "../../../hooks/useMitt.mjs";
68
- import voteControl from "../voteControl.vue.mjs";
68
+ import MoreControl from "../VoteControl/index.mjs";
69
69
  import useRoomFooter from "./useRoomFooterHooks.mjs";
70
70
  const _hoisted_1 = { class: "footer-container" };
71
71
  const _hoisted_2 = { class: "left-container" };
@@ -137,7 +137,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
137
137
  class: "center-container-item",
138
138
  onClick: _cache[9] || (_cache[9] = ($event) => handleControlClick("MasterApplyControl"))
139
139
  })) : createCommentVNode("", true),
140
- createVNode(voteControl, {
140
+ createVNode(unref(MoreControl), {
141
141
  class: "center-container-item",
142
142
  onClick: _cache[10] || (_cache[10] = ($event) => handleControlClick("voteControl")),
143
143
  onOnVote: onVote
@@ -147,7 +147,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
147
147
  ]),
148
148
  _: 3
149
149
  }),
150
- createVNode(unref(MoreControl), {
150
+ createVNode(unref(MoreControl$1), {
151
151
  class: "center-container-item",
152
152
  onClick: _cache[11] || (_cache[11] = ($event) => handleControlClick("moreControl"))
153
153
  }),
@@ -1,2 +1,18 @@
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>;
1
+ declare const Index: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
3
+ P: {};
4
+ B: {};
5
+ D: {};
6
+ C: {};
7
+ M: {};
8
+ Defaults: {};
9
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
10
+ __isFragment?: never;
11
+ __isTeleport?: never;
12
+ __isSuspense?: never;
13
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
14
+ $slots: {
15
+ content?(_: {}): any;
16
+ };
17
+ });
2
18
  export default Index;
@@ -1,2 +1,11 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
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>>;
2
6
  export default _default;
7
+ type __VLS_WithTemplateSlots<T, S> = T & {
8
+ new (): {
9
+ $slots: S;
10
+ };
11
+ };
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./indexH5.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e545b2de"]]);
4
+ const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-83d339c1"]]);
5
5
  export {
6
6
  indexH5 as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, createBlock, createCommentVNode, unref, openBlock, withCtx, createElementVNode } from "vue";
1
+ import { defineComponent, resolveComponent, createBlock, createCommentVNode, unref, openBlock, withCtx, createElementVNode, renderSlot } from "vue";
2
2
  import Index from "../Chat/index/index.mjs";
3
3
  import MasterApplyControl from "../RoomFooter/ApplyControl/MasterApplyControl/index.mjs";
4
4
  import index from "../ManageMember/index.mjs";
@@ -11,6 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  setup(__props) {
12
12
  const { title, sidebarName, showSideBar } = useSideBar();
13
13
  return (_ctx, _cache) => {
14
+ const _component_room_vote = resolveComponent("room-vote");
14
15
  return unref(showSideBar) ? (openBlock(), createBlock(popup, {
15
16
  key: 0,
16
17
  title: unref(title),
@@ -20,7 +21,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
21
  createElementVNode("div", _hoisted_1, [
21
22
  unref(sidebarName) === "chat" ? (openBlock(), createBlock(unref(Index), { key: 0 })) : createCommentVNode("", true),
22
23
  unref(sidebarName) === "manage-member" ? (openBlock(), createBlock(unref(index), { key: 1 })) : createCommentVNode("", true),
23
- unref(sidebarName) === "apply" ? (openBlock(), createBlock(unref(MasterApplyControl), { key: 2 })) : createCommentVNode("", true)
24
+ unref(sidebarName) === "apply" ? (openBlock(), createBlock(unref(MasterApplyControl), { key: 2 })) : createCommentVNode("", true),
25
+ unref(sidebarName) == "vote" ? (openBlock(), createBlock(_component_room_vote, { key: 3 }, {
26
+ content: withCtx(() => [
27
+ renderSlot(_ctx.$slots, "content", {}, void 0, true)
28
+ ]),
29
+ _: 3
30
+ })) : createCommentVNode("", true)
24
31
  ])
25
32
  ]),
26
33
  sidebarFooter: withCtx(() => [
@@ -28,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
35
  unref(sidebarName) === "chat" ? (openBlock(), createBlock(unref(ChatEditor), { key: 0 })) : createCommentVNode("", true)
29
36
  ])
30
37
  ]),
31
- _: 1
38
+ _: 3
32
39
  }, 8, ["title"])) : createCommentVNode("", true);
33
40
  };
34
41
  }
@@ -1,2 +1,11 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
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>>;
2
6
  export default _default;
7
+ type __VLS_WithTemplateSlots<T, S> = T & {
8
+ new (): {
9
+ $slots: S;
10
+ };
11
+ };
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, createVNode, unref, isRef, withCtx, createBlock, createCommentVNode } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, createVNode, unref, isRef, withCtx, createBlock, createCommentVNode, renderSlot } from "vue";
2
2
  import Drawer from "../common/base/Drawer.vue.mjs";
3
3
  import useSideBar from "./useSideBarHooks.mjs";
4
4
  import index from "../ManageMember/index.mjs";
@@ -23,12 +23,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
23
  }, {
24
24
  default: withCtx(() => [
25
25
  unref(sidebarName) == "chat" ? (openBlock(), createBlock(unref(Index), { key: 0 })) : createCommentVNode("", true),
26
- unref(sidebarName) == "vote" ? (openBlock(), createBlock(unref(Index$1), { key: 1 })) : createCommentVNode("", true),
26
+ unref(sidebarName) == "vote" ? (openBlock(), createBlock(unref(Index$1), { key: 1 }, {
27
+ content: withCtx(() => [
28
+ renderSlot(_ctx.$slots, "content")
29
+ ]),
30
+ _: 3
31
+ })) : createCommentVNode("", true),
27
32
  unref(sidebarName) == "more" ? (openBlock(), createBlock(unref(Index$2), { key: 2 })) : createCommentVNode("", true),
28
33
  unref(sidebarName) == "manage-member" ? (openBlock(), createBlock(unref(index), { key: 3 })) : createCommentVNode("", true),
29
34
  unref(sidebarName) == "aiTranscription" ? (openBlock(), createBlock(AITranscription, { key: 4 })) : createCommentVNode("", true)
30
35
  ]),
31
- _: 1
36
+ _: 3
32
37
  }, 8, ["modelValue", "title", "before-close"])
33
38
  ]);
34
39
  };
@@ -1,8 +1,4 @@
1
- declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- "on-close-contact": (...args: any[]) => void;
3
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
- "onOn-close-contact"?: ((...args: any[]) => any) | undefined;
5
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
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 const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- "on-close-contact": (...args: any[]) => void;
3
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
- "onOn-close-contact"?: ((...args: any[]) => any) | undefined;
5
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
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
- import _sfc_main from "./indexH5.vue2.mjs";
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 indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-939000cb"]]);
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, "content", {}, void 0, true)
9
+ ]);
10
+ }
11
+ const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5d02e842"]]);
5
12
  export {
6
13
  indexH5 as default
7
14
  };
@@ -1,7 +1,14 @@
1
- import _sfc_main from "./indexPC.vue2.mjs";
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 indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c82f5e3c"]]);
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, "content", {}, void 0, true)
9
+ ]);
10
+ }
11
+ const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-41107c5f"]]);
5
12
  export {
6
13
  indexPC as default
7
14
  };
@@ -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-3b59b436"]]);
5
+ const ConferenceMainView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3d7b72df"]]);
6
6
  export {
7
7
  ConferenceMainView as default
8
8
  };
@@ -274,15 +274,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
274
274
  class: "footer",
275
275
  onShowOverlay: handleShowOverlay,
276
276
  onOnVote: onVote
277
- }, {
277
+ }, null, 512), [
278
+ [vShow, unref(showRoomTool)]
279
+ ]),
280
+ createVNode(unref(Index$1), { onOnVote: onVote }, {
278
281
  content: withCtx(() => [
279
282
  renderSlot(_ctx.$slots, "content", {}, void 0, true)
280
283
  ]),
281
284
  _: 3
282
- }, 512), [
283
- [vShow, unref(showRoomTool)]
284
- ]),
285
- createVNode(unref(Index$1)),
285
+ }),
286
286
  createVNode(RoomSetting),
287
287
  createVNode(_sfc_main$1),
288
288
  overlayMap.value.RoomInviteOverlay.visible ? (openBlock(), createBlock(unref(Index$2), { key: 0 })) : createCommentVNode("", true),