@ndscnj/roomkit-web-vue3 25.12.2417 → 25.12.2418

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 (65) hide show
  1. package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +2 -2
  2. package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.mjs +1 -1
  3. package/es/components/RoomFooter/VoteControl/MoreControlH5.vue2.mjs +77 -31
  4. package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts +1 -5
  5. package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +47 -5
  6. package/es/components/RoomFooter/VoteControl/MoreControlPC.vue2.mjs +1 -56
  7. package/es/components/RoomFooter/VoteControl/index.d.ts +3 -3
  8. package/es/components/RoomFooter/VoteControl/index.mjs +2 -2
  9. package/es/components/RoomFooter/VoteControl/useMoreControlHooks.mjs +1 -3
  10. package/es/components/RoomFooter/index/index.d.ts +4 -31
  11. package/es/components/RoomFooter/index/indexH5.vue.d.ts +1 -12
  12. package/es/components/RoomFooter/index/indexH5.vue.mjs +1 -1
  13. package/es/components/RoomFooter/index/indexH5.vue2.mjs +5 -20
  14. package/es/components/RoomSidebar/index.d.ts +1 -17
  15. package/es/components/RoomSidebar/indexH5.vue.d.ts +1 -10
  16. package/es/components/RoomSidebar/indexH5.vue.mjs +1 -1
  17. package/es/components/RoomSidebar/indexH5.vue2.mjs +3 -10
  18. package/es/components/RoomVote/index.d.ts +6 -2
  19. package/es/components/RoomVote/indexH5.vue.d.ts +5 -10
  20. package/es/components/RoomVote/indexH5.vue.mjs +2 -9
  21. package/es/components/RoomVote/indexH5.vue2.mjs +51 -0
  22. package/es/components/RoomVote/useRoomMoreHooks.mjs +43 -0
  23. package/es/conference.vue.mjs +1 -1
  24. package/es/conference.vue2.mjs +7 -2
  25. package/es/index.mjs +118 -61
  26. package/lib/components/Chat/index/indexH5.vue.js +1 -1
  27. package/lib/components/ManageMember/MemberItem/indexH5.vue.js +1 -1
  28. package/lib/components/ManageMember/indexH5.vue.js +1 -1
  29. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +2 -2
  30. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.js +1 -1
  31. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue2.js +76 -30
  32. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts +1 -5
  33. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +47 -5
  34. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue2.js +2 -57
  35. package/lib/components/RoomFooter/VoteControl/index.d.ts +3 -3
  36. package/lib/components/RoomFooter/VoteControl/index.js +2 -2
  37. package/lib/components/RoomFooter/VoteControl/useMoreControlHooks.js +1 -3
  38. package/lib/components/RoomFooter/index/index.d.ts +4 -31
  39. package/lib/components/RoomFooter/index/indexH5.vue.d.ts +1 -12
  40. package/lib/components/RoomFooter/index/indexH5.vue.js +2 -2
  41. package/lib/components/RoomFooter/index/indexH5.vue2.js +4 -19
  42. package/lib/components/RoomInvite/indexH5.vue.js +1 -1
  43. package/lib/components/RoomMore/indexH5.vue.js +1 -1
  44. package/lib/components/RoomSidebar/index.d.ts +1 -17
  45. package/lib/components/RoomSidebar/indexH5.vue.d.ts +1 -10
  46. package/lib/components/RoomSidebar/indexH5.vue.js +2 -2
  47. package/lib/components/RoomSidebar/indexH5.vue2.js +2 -9
  48. package/lib/components/RoomVote/index.d.ts +6 -2
  49. package/lib/components/RoomVote/indexH5.vue.d.ts +5 -10
  50. package/lib/components/RoomVote/indexH5.vue.js +2 -9
  51. package/lib/components/RoomVote/indexH5.vue2.js +51 -0
  52. package/lib/components/RoomVote/useRoomMoreHooks.js +43 -0
  53. package/lib/conference.vue.js +1 -1
  54. package/lib/conference.vue2.js +7 -2
  55. package/lib/index.js +118 -61
  56. package/package.json +1 -1
  57. package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlH5.vue +108 -26
  58. package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +4 -13
  59. package/src/TUIRoom/components/RoomFooter/VoteControl/useMoreControlHooks.ts +1 -2
  60. package/src/TUIRoom/components/RoomFooter/index/indexH5.vue +2 -15
  61. package/src/TUIRoom/components/RoomSidebar/indexH5.vue +0 -5
  62. package/src/TUIRoom/components/RoomVote/indexH5.vue +118 -61
  63. package/src/TUIRoom/conference.vue +4 -1
  64. package/es/assets/imgs/vote-icon.png.mjs +0 -4
  65. package/lib/assets/imgs/vote-icon.png.js +0 -4
@@ -1,6 +1,6 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- "on-vote": (...args: any[]) => void;
2
+ "show-overlay": (...args: any[]) => void;
3
3
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
- "onOn-vote"?: ((...args: any[]) => any) | undefined;
4
+ "onShow-overlay"?: ((...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-2a47be79"]]);
4
+ const MoreControlH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c413959d"]]);
5
5
  export {
6
6
  MoreControlH5 as default
7
7
  };
@@ -1,7 +1,13 @@
1
- import { defineComponent, createElementBlock, createCommentVNode, unref, openBlock, createVNode, withCtx, createElementVNode } from "vue";
2
- import _imports_0 from "../../../assets/imgs/vote-icon.png.mjs";
1
+ import { defineComponent, ref, onMounted, onUnmounted, createElementBlock, openBlock, createCommentVNode, unref, withDirectives, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString } from "vue";
2
+ import { IconExtension } from "@tencentcloud/uikit-base-component-vue3";
3
3
  import IconButton from "../../common/base/IconButton.vue.mjs";
4
4
  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";
5
11
  import "../../../services/main.mjs";
6
12
  import { roomService } from "../../../services/roomService.mjs";
7
13
  import "../../../locales/index.mjs";
@@ -14,43 +20,83 @@ const _hoisted_1 = {
14
20
  key: 0,
15
21
  class: "more-control-container"
16
22
  };
23
+ const _hoisted_2 = { class: "control-compent" };
24
+ const _hoisted_3 = { class: "close" };
17
25
  const _sfc_main = /* @__PURE__ */ defineComponent({
18
26
  __name: "MoreControlH5",
19
- emits: ["on-vote"],
27
+ emits: ["show-overlay"],
20
28
  setup(__props, { emit: __emit }) {
21
29
  const moreControlConfig = roomService.getComponentConfig("MoreControl");
22
- const { t, basicStore, sidebarName } = useControl();
30
+ const showMoreContent = ref(false);
31
+ const moreContentRef = ref();
32
+ const { t, sidebarName } = useControl();
33
+ const roomStore = useRoomStore();
23
34
  const emit = __emit;
24
- function toggleMoreSidebar() {
25
- if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
26
- basicStore.setSidebarOpenStatus(false);
27
- basicStore.setSidebarName("");
28
- return;
35
+ function showMore() {
36
+ showMoreContent.value = true;
37
+ }
38
+ function handleCancelControl() {
39
+ showMoreContent.value = false;
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;
29
51
  }
30
- basicStore.setSidebarOpenStatus(true);
31
- basicStore.setSidebarName("vote");
32
- emit("on-vote", {
33
- name: "onVote",
34
- visible: basicStore.isSidebarOpen
35
- });
36
52
  }
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
+ });
37
59
  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);
60
+ return openBlock(), createElementBlock("div", null, [
61
+ unref(moreControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
62
+ withDirectives((openBlock(), createBlock(IconButton, {
63
+ "is-active": unref(sidebarName) === "more",
64
+ title: unref(t)("More")
65
+ }, {
66
+ default: withCtx(() => [
67
+ createVNode(unref(IconExtension), { size: "24" })
68
+ ]),
69
+ _: 1
70
+ }, 8, ["is-active", "title"])), [
71
+ [unref(vTap), showMore]
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
+ })
92
+ ]),
93
+ withDirectives((openBlock(), createElementBlock("div", _hoisted_3, [
94
+ createTextVNode(toDisplayString(unref(t)("Cancel")), 1)
95
+ ])), [
96
+ [unref(vTap), handleCancelControl]
97
+ ])
98
+ ], 512)) : createCommentVNode("", true)
99
+ ]);
54
100
  };
55
101
  }
56
102
  });
@@ -1,6 +1,2 @@
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>;
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>;
6
2
  export default _default;
@@ -1,7 +1,49 @@
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"]]);
1
+ import { defineComponent, createElementBlock, createCommentVNode, unref, openBlock, createVNode, withCtx } from "vue";
2
+ import { IconMore } from "@tencentcloud/uikit-base-component-vue3";
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
+ setup(__props) {
20
+ const moreControlConfig = roomService.getComponentConfig("MoreControl");
21
+ const { t, basicStore, sidebarName } = useControl();
22
+ function toggleMoreSidebar() {
23
+ if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
24
+ basicStore.setSidebarOpenStatus(false);
25
+ basicStore.setSidebarName("");
26
+ return;
27
+ }
28
+ basicStore.setSidebarOpenStatus(true);
29
+ basicStore.setSidebarName("vote");
30
+ }
31
+ return (_ctx, _cache) => {
32
+ return unref(moreControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
33
+ createVNode(IconButton, {
34
+ "is-active": unref(sidebarName) === "vote",
35
+ title: unref(t)("Vote"),
36
+ onClickIcon: toggleMoreSidebar
37
+ }, {
38
+ default: withCtx(() => [
39
+ createVNode(unref(IconMore), { size: "24" })
40
+ ]),
41
+ _: 1
42
+ }, 8, ["is-active", "title"])
43
+ ])) : createCommentVNode("", true);
44
+ };
45
+ }
46
+ });
5
47
  export {
6
- MoreControlPc as default
48
+ _sfc_main as default
7
49
  };
@@ -1,59 +1,4 @@
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
- });
1
+ import _sfc_main from "./MoreControlPC.vue.mjs";
57
2
  export {
58
3
  _sfc_main as default
59
4
  };
@@ -1,6 +1,6 @@
1
1
  declare const MoreControl: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- "on-vote": (...args: any[]) => void;
2
+ "show-overlay": (...args: any[]) => void;
3
3
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
- "onOn-vote"?: ((...args: any[]) => any) | undefined;
5
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
4
+ "onShow-overlay"?: ((...args: any[]) => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
6
  export default MoreControl;
@@ -1,7 +1,7 @@
1
1
  import MoreControlH5 from "./MoreControlH5.vue.mjs";
2
- import MoreControlPc from "./MoreControlPC.vue.mjs";
2
+ import _sfc_main from "./MoreControlPC.vue.mjs";
3
3
  import { isMobile } from "../../../utils/environment.mjs";
4
- const MoreControl = isMobile ? MoreControlH5 : MoreControlPc;
4
+ const MoreControl = isMobile ? MoreControlH5 : _sfc_main;
5
5
  export {
6
6
  MoreControl as default
7
7
  };
@@ -7,7 +7,6 @@ function useControl() {
7
7
  const { t } = useI18n();
8
8
  const basicStore = useBasicStore();
9
9
  const { sidebarName } = storeToRefs(basicStore);
10
- const isSidebarOpen = computed(() => basicStore.isSidebarOpen);
11
10
  const iconName = computed(
12
11
  () => sidebarName.value === "vote" ? ICON_NAME.MoreActive : ICON_NAME.More
13
12
  );
@@ -15,8 +14,7 @@ function useControl() {
15
14
  t,
16
15
  basicStore,
17
16
  iconName,
18
- sidebarName,
19
- isSidebarOpen
17
+ sidebarName
20
18
  };
21
19
  }
22
20
  export {
@@ -1,35 +1,8 @@
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<{
23
- "onShow-overlay"?: ((...args: any[]) => any) | undefined;
24
- "onOn-vote"?: ((...args: any[]) => any) | undefined;
25
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
2
  "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
- })) | ({
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
+ "onShow-overlay"?: ((...args: any[]) => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
33
6
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
34
7
  "onOn-vote"?: ((...args: any[]) => any) | undefined;
35
8
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -1,17 +1,6 @@
1
- declare function __VLS_template(): {
2
- content?(_: {}): any;
3
- };
4
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
2
  "show-overlay": (...args: any[]) => void;
6
- "on-vote": (...args: any[]) => void;
7
3
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
8
4
  "onShow-overlay"?: ((...args: any[]) => any) | undefined;
9
- "onOn-vote"?: ((...args: any[]) => any) | undefined;
10
5
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
6
  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-df7f3346"]]);
4
+ const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f3bbac91"]]);
5
5
  export {
6
6
  indexH5 as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, withDirectives, createCommentVNode, createVNode, unref, createBlock, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, withDirectives, createCommentVNode, createVNode, unref, createBlock } 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,22 +55,17 @@ 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$1 from "../MoreControl/index.mjs";
58
+ import MoreControl from "../MoreControl/index.mjs";
59
59
  import AIControl from "../AIControl.vue.mjs";
60
- import MoreControl from "../VoteControl/index.mjs";
61
60
  import bus from "../../../hooks/useMitt.mjs";
62
61
  import useRoomFooter from "./useRoomFooterHooks.mjs";
63
62
  const _hoisted_1 = { class: "footer-container" };
64
63
  const _sfc_main = /* @__PURE__ */ defineComponent({
65
64
  __name: "indexH5",
66
- emits: ["show-overlay", "on-vote"],
65
+ emits: ["show-overlay"],
67
66
  setup(__props, { emit: __emit }) {
68
67
  const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooter();
69
68
  const emit = __emit;
70
- const onVote = (data) => {
71
- console.log(data, "data111");
72
- emit("on-vote", { code: data.visible, message: "vote" });
73
- };
74
69
  function handleControlClick(name) {
75
70
  bus.emit("experience-communication", name);
76
71
  }
@@ -91,21 +86,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
91
86
  }, null, 8, ["display-mode"])), [
92
87
  [unref(vTap), () => handleControlClick("videoControl")]
93
88
  ]) : 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
- }),
104
89
  !unref(roomStore).isSpeakAfterTakingSeatMode ? withDirectives((openBlock(), createBlock(_sfc_main$2, { key: 2 }, null, 512)), [
105
90
  [unref(vTap), () => handleControlClick("chatControl")]
106
91
  ]) : createCommentVNode("", true),
107
92
  createVNode(AIControl, {
108
- onClick: _cache[1] || (_cache[1] = ($event) => handleControlClick("AIControl"))
93
+ onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("AIControl"))
109
94
  }),
110
95
  unref(roomStore).isSpeakAfterTakingSeatMode && (unref(isMaster) || unref(isAdmin)) ? withDirectives((openBlock(), createBlock(_sfc_main$3, { key: 3 }, null, 512)), [
111
96
  [unref(vTap), () => handleControlClick("MasterApplyControl")]
@@ -116,7 +101,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
116
101
  withDirectives(createVNode(_sfc_main$4, null, null, 512), [
117
102
  [unref(vTap), () => handleControlClick("manageMemberControl")]
118
103
  ]),
119
- withDirectives(createVNode(unref(MoreControl$1), { onShowOverlay: handleShowOverlay }, null, 512), [
104
+ withDirectives(createVNode(unref(MoreControl), { onShowOverlay: handleShowOverlay }, null, 512), [
120
105
  [unref(vTap), () => handleControlClick("moreControl")]
121
106
  ])
122
107
  ]);
@@ -1,18 +1,2 @@
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
- });
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>;
18
2
  export default Index;
@@ -1,11 +1,2 @@
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>>;
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>;
6
2
  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-83d339c1"]]);
4
+ const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e545b2de"]]);
5
5
  export {
6
6
  indexH5 as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, resolveComponent, createBlock, createCommentVNode, unref, openBlock, withCtx, createElementVNode, renderSlot } from "vue";
1
+ import { defineComponent, createBlock, createCommentVNode, unref, openBlock, withCtx, createElementVNode } 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,7 +11,6 @@ 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");
15
14
  return unref(showSideBar) ? (openBlock(), createBlock(popup, {
16
15
  key: 0,
17
16
  title: unref(title),
@@ -21,13 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
20
  createElementVNode("div", _hoisted_1, [
22
21
  unref(sidebarName) === "chat" ? (openBlock(), createBlock(unref(Index), { key: 0 })) : createCommentVNode("", true),
23
22
  unref(sidebarName) === "manage-member" ? (openBlock(), createBlock(unref(index), { key: 1 })) : 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)
23
+ unref(sidebarName) === "apply" ? (openBlock(), createBlock(unref(MasterApplyControl), { key: 2 })) : createCommentVNode("", true)
31
24
  ])
32
25
  ]),
33
26
  sidebarFooter: withCtx(() => [
@@ -35,7 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
28
  unref(sidebarName) === "chat" ? (openBlock(), createBlock(unref(ChatEditor), { key: 0 })) : createCommentVNode("", true)
36
29
  ])
37
30
  ]),
38
- _: 3
31
+ _: 1
39
32
  }, 8, ["title"])) : createCommentVNode("", true);
40
33
  };
41
34
  }
@@ -1,4 +1,8 @@
1
- declare const Index: {
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> | ({
2
6
  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
7
  P: {};
4
8
  B: {};
@@ -14,5 +18,5 @@ declare const Index: {
14
18
  $slots: {
15
19
  content?(_: {}): any;
16
20
  };
17
- });
21
+ }));
18
22
  export default Index;
@@ -1,11 +1,6 @@
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>>;
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>;
6
6
  export default _default;
7
- type __VLS_WithTemplateSlots<T, S> = T & {
8
- new (): {
9
- $slots: S;
10
- };
11
- };
@@ -1,14 +1,7 @@
1
- import { createElementBlock, openBlock, renderSlot } from "vue";
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 _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"]]);
4
+ const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-939000cb"]]);
12
5
  export {
13
6
  indexH5 as default
14
7
  };