@ndscnj/roomkit-web-vue3 25.12.2418 → 25.12.2420

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 (41) hide show
  1. package/es/assets/imgs/vote-icon.png.mjs +4 -0
  2. package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +5 -47
  3. package/es/components/RoomFooter/VoteControl/MoreControlPC.vue2.mjs +50 -1
  4. package/es/components/RoomFooter/VoteControl/index.mjs +2 -2
  5. package/es/components/RoomFooter/VoteControl/useMoreControlHooks.mjs +3 -1
  6. package/es/components/RoomFooter/index/index.d.ts +26 -4
  7. package/es/components/RoomFooter/index/indexH5.vue.d.ts +10 -1
  8. package/es/components/RoomFooter/index/indexH5.vue.mjs +1 -1
  9. package/es/components/RoomFooter/index/indexH5.vue2.mjs +11 -2
  10. package/es/components/RoomFooter/voteControl.vue.d.ts +15 -0
  11. package/es/components/RoomFooter/voteControl.vue.mjs +7 -0
  12. package/es/components/RoomFooter/voteControl.vue2.mjs +80 -0
  13. package/es/components/RoomVote/indexPC.vue.mjs +1 -1
  14. package/es/conference.vue.d.ts +1 -0
  15. package/es/conference.vue.mjs +1 -1
  16. package/es/conference.vue2.mjs +4 -1
  17. package/es/index.mjs +59 -19
  18. package/lib/assets/imgs/vote-icon.png.js +4 -0
  19. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +5 -47
  20. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue2.js +51 -2
  21. package/lib/components/RoomFooter/VoteControl/index.js +2 -2
  22. package/lib/components/RoomFooter/VoteControl/useMoreControlHooks.js +3 -1
  23. package/lib/components/RoomFooter/index/index.d.ts +26 -4
  24. package/lib/components/RoomFooter/index/indexH5.vue.d.ts +10 -1
  25. package/lib/components/RoomFooter/index/indexH5.vue.js +1 -1
  26. package/lib/components/RoomFooter/index/indexH5.vue2.js +10 -1
  27. package/lib/components/RoomFooter/voteControl.vue.d.ts +15 -0
  28. package/lib/components/RoomFooter/voteControl.vue.js +7 -0
  29. package/lib/components/RoomFooter/voteControl.vue2.js +80 -0
  30. package/lib/components/RoomVote/indexPC.vue.js +1 -1
  31. package/lib/conference.vue.d.ts +1 -0
  32. package/lib/conference.vue.js +1 -1
  33. package/lib/conference.vue2.js +4 -1
  34. package/lib/index.js +59 -19
  35. package/package.json +1 -1
  36. package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +7 -2
  37. package/src/TUIRoom/components/RoomFooter/VoteControl/useMoreControlHooks.ts +2 -1
  38. package/src/TUIRoom/components/RoomFooter/index/indexH5.vue +8 -0
  39. package/src/TUIRoom/components/RoomFooter/voteControl.vue +46 -9
  40. package/src/TUIRoom/components/RoomVote/indexPC.vue +0 -1
  41. package/src/TUIRoom/conference.vue +4 -1
@@ -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,49 +1,7 @@
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
- });
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-ca02c770"]]);
47
5
  export {
48
- _sfc_main as default
6
+ MoreControlPc as default
49
7
  };
@@ -1,4 +1,53 @@
1
- import _sfc_main from "./MoreControlPC.vue.mjs";
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
+ 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(() => [..._cache[0] || (_cache[0] = [
39
+ createElementVNode("img", {
40
+ class: "ndsc-img-box",
41
+ src: _imports_0,
42
+ alt: ""
43
+ }, null, -1)
44
+ ])]),
45
+ _: 1
46
+ }, 8, ["is-active", "title"])
47
+ ])) : createCommentVNode("", true);
48
+ };
49
+ }
50
+ });
2
51
  export {
3
52
  _sfc_main as default
4
53
  };
@@ -1,7 +1,7 @@
1
1
  import MoreControlH5 from "./MoreControlH5.vue.mjs";
2
- import _sfc_main from "./MoreControlPC.vue.mjs";
2
+ import MoreControlPc from "./MoreControlPC.vue.mjs";
3
3
  import { isMobile } from "../../../utils/environment.mjs";
4
- const MoreControl = isMobile ? MoreControlH5 : _sfc_main;
4
+ const MoreControl = isMobile ? MoreControlH5 : MoreControlPc;
5
5
  export {
6
6
  MoreControl as default
7
7
  };
@@ -7,6 +7,7 @@ function useControl() {
7
7
  const { t } = useI18n();
8
8
  const basicStore = useBasicStore();
9
9
  const { sidebarName } = storeToRefs(basicStore);
10
+ const isSidebarOpen = computed(() => basicStore.isSidebarOpen);
10
11
  const iconName = computed(
11
12
  () => sidebarName.value === "vote" ? ICON_NAME.MoreActive : ICON_NAME.More
12
13
  );
@@ -14,7 +15,8 @@ function useControl() {
14
15
  t,
15
16
  basicStore,
16
17
  iconName,
17
- sidebarName
18
+ sidebarName,
19
+ isSidebarOpen
18
20
  };
19
21
  }
20
22
  export {
@@ -1,8 +1,30 @@
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
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ "show-overlay": (...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
+ "onShow-overlay"?: ((...args: any[]) => any) | undefined;
15
+ }>, {}, {}, {}, {}, {}>;
16
+ __isFragment?: never;
17
+ __isTeleport?: never;
18
+ __isSuspense?: never;
19
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
4
20
  "onShow-overlay"?: ((...args: any[]) => any) | undefined;
5
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
21
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
+ "show-overlay": (...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
+ contentH5?(_: {}): any;
26
+ };
27
+ })) | ({
6
28
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
7
29
  "onOn-vote"?: ((...args: any[]) => any) | undefined;
8
30
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -1,6 +1,15 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ declare function __VLS_template(): {
2
+ contentH5?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
5
  "show-overlay": (...args: any[]) => void;
3
6
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
7
  "onShow-overlay"?: ((...args: any[]) => any) | undefined;
5
8
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
6
10
  export default _default;
11
+ type __VLS_WithTemplateSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -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-90dd0d72"]]);
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";
@@ -56,6 +56,7 @@ 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
58
  import MoreControl from "../MoreControl/index.mjs";
59
+ import voteControl from "../voteControl.vue.mjs";
59
60
  import AIControl from "../AIControl.vue.mjs";
60
61
  import bus from "../../../hooks/useMitt.mjs";
61
62
  import useRoomFooter from "./useRoomFooterHooks.mjs";
@@ -89,8 +90,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
89
90
  !unref(roomStore).isSpeakAfterTakingSeatMode ? withDirectives((openBlock(), createBlock(_sfc_main$2, { key: 2 }, null, 512)), [
90
91
  [unref(vTap), () => handleControlClick("chatControl")]
91
92
  ]) : createCommentVNode("", true),
93
+ createVNode(voteControl, {
94
+ onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("voteControl"))
95
+ }, {
96
+ contentH5: withCtx(() => [
97
+ renderSlot(_ctx.$slots, "contentH5", {}, void 0, true)
98
+ ]),
99
+ _: 3
100
+ }),
92
101
  createVNode(AIControl, {
93
- onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("AIControl"))
102
+ onClick: _cache[1] || (_cache[1] = ($event) => handleControlClick("AIControl"))
94
103
  }),
95
104
  unref(roomStore).isSpeakAfterTakingSeatMode && (unref(isMaster) || unref(isAdmin)) ? withDirectives((openBlock(), createBlock(_sfc_main$3, { key: 3 }, null, 512)), [
96
105
  [unref(vTap), () => handleControlClick("MasterApplyControl")]
@@ -0,0 +1,15 @@
1
+ declare function __VLS_template(): {
2
+ contentH5?(_: {}): any;
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>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
+ export default _default;
11
+ type __VLS_WithTemplateSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1,7 @@
1
+ import _sfc_main from "./voteControl.vue2.mjs";
2
+ /* empty css */
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const voteControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b0e5925b"]]);
5
+ export {
6
+ voteControl as default
7
+ };
@@ -0,0 +1,80 @@
1
+ import { defineComponent, computed, ref, createElementBlock, openBlock, createVNode, createCommentVNode, unref, withCtx, createElementVNode, renderSlot } from "vue";
2
+ import _imports_0 from "../../assets/imgs/vote-icon.png.mjs";
3
+ import "../../services/main.mjs";
4
+ import { roomService } from "../../services/roomService.mjs";
5
+ import { useI18n } from "../../locales/index.mjs";
6
+ import "@tencentcloud/tuiroom-engine-js";
7
+ import "../../utils/environment.mjs";
8
+ import "mitt";
9
+ import "../../services/manager/roomActionManager.mjs";
10
+ import "@tencentcloud/tui-core";
11
+ import IconButton from "../common/base/IconButton.vue.mjs";
12
+ import { IconArrowStrokeBack } from "@tencentcloud/uikit-base-component-vue3";
13
+ import { useBasicStore } from "../../stores/basic.mjs";
14
+ const _hoisted_1 = { class: "more-control-container" };
15
+ const _hoisted_2 = {
16
+ key: 0,
17
+ class: "contact-container"
18
+ };
19
+ const _hoisted_3 = { class: "container-title-box" };
20
+ const _sfc_main = /* @__PURE__ */ defineComponent({
21
+ __name: "voteControl",
22
+ emits: ["on-vote"],
23
+ setup(__props, { emit: __emit }) {
24
+ const { basicStore } = roomService;
25
+ const sidebarName = computed(() => basicStore.sidebarName);
26
+ const { t } = useI18n();
27
+ const showToolBox = ref(false);
28
+ const emit = __emit;
29
+ function toggleToolBox() {
30
+ console.log(showToolBox.value, "0000");
31
+ showToolBox.value = !showToolBox.value;
32
+ emit("on-vote", {
33
+ name: "onVote",
34
+ visible: showToolBox.value
35
+ });
36
+ }
37
+ const basicStoreNew = useBasicStore();
38
+ function handleClose() {
39
+ basicStoreNew.setSidebarOpenStatus(false);
40
+ basicStoreNew.setSidebarName("");
41
+ }
42
+ return (_ctx, _cache) => {
43
+ return openBlock(), createElementBlock("div", _hoisted_1, [
44
+ createVNode(IconButton, {
45
+ "is-active": sidebarName.value === "vote",
46
+ title: unref(t)("Vote"),
47
+ onClickIcon: toggleToolBox
48
+ }, {
49
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
50
+ createElementVNode("img", {
51
+ class: "ndsc-img-box",
52
+ src: _imports_0,
53
+ alt: ""
54
+ }, null, -1)
55
+ ])]),
56
+ _: 1
57
+ }, 8, ["is-active", "title"]),
58
+ showToolBox.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
59
+ createElementVNode("div", _hoisted_3, [
60
+ createElementVNode("span", {
61
+ onClick: handleClose,
62
+ class: "icon-container"
63
+ }, [
64
+ createVNode(unref(IconArrowStrokeBack), {
65
+ size: "10",
66
+ class: "close-icon"
67
+ })
68
+ ]),
69
+ _cache[1] || (_cache[1] = createElementVNode("div", { class: "tool-box-item" }, "表决", -1))
70
+ ]),
71
+ renderSlot(_ctx.$slots, "contentH5", {}, void 0, true),
72
+ _cache[2] || (_cache[2] = createElementVNode("div", { class: "bottom-box" }, null, -1))
73
+ ])) : createCommentVNode("", true)
74
+ ]);
75
+ };
76
+ }
77
+ });
78
+ export {
79
+ _sfc_main as default
80
+ };
@@ -8,7 +8,7 @@ function _sfc_render(_ctx, _cache) {
8
8
  renderSlot(_ctx.$slots, "content", {}, void 0, true)
9
9
  ]);
10
10
  }
11
- const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-41107c5f"]]);
11
+ const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-183c195c"]]);
12
12
  export {
13
13
  indexPC as default
14
14
  };
@@ -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";
@@ -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-b4d71215"]]);
5
+ const ConferenceMainView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3323a5f0"]]);
6
6
  export {
7
7
  ConferenceMainView as default
8
8
  };
@@ -278,11 +278,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
278
278
  content: withCtx(() => [
279
279
  renderSlot(_ctx.$slots, "content", {}, void 0, true)
280
280
  ]),
281
+ contentH5: withCtx(() => [
282
+ renderSlot(_ctx.$slots, "contentH5", {}, void 0, true)
283
+ ]),
281
284
  _: 3
282
285
  }, 512), [
283
286
  [vShow, unref(showRoomTool)]
284
287
  ]),
285
- createVNode(unref(Index$1), null, {
288
+ createVNode(unref(Index$1), { onOnVote: onVote }, {
286
289
  content: withCtx(() => [
287
290
  renderSlot(_ctx.$slots, "content", {}, void 0, true)
288
291
  ]),
package/es/index.mjs CHANGED
@@ -3635,6 +3635,46 @@ to {
3635
3635
  border-radius: 8px;
3636
3636
  color: var(--text-color-primary);
3637
3637
  background-color: var(--button-color-secondary-default);
3638
+ }.contact-container[data-v-b0e5925b] {
3639
+ position: fixed;
3640
+ top: 0;
3641
+ bottom: 0;
3642
+ left: 0;
3643
+ z-index: 11;
3644
+ box-sizing: border-box;
3645
+ width: 100vw;
3646
+ height: auto;
3647
+ background-color: var(--uikit-color-black-8);
3648
+ }
3649
+ .contact-container .container-title-box[data-v-b0e5925b] {
3650
+ width: 100vw;
3651
+ height: 6vh;
3652
+ background-color: var(--uikit-color-black-8);
3653
+ display: flex;
3654
+ align-items: center;
3655
+ justify-content: center;
3656
+ }
3657
+ .contact-container .container-title-box .icon-container[data-v-b0e5925b] {
3658
+ position: absolute;
3659
+ top: 0;
3660
+ left: 0;
3661
+ box-sizing: content-box;
3662
+ width: 10px;
3663
+ height: 18px;
3664
+ padding: 20px 25px;
3665
+ background-size: cover;
3666
+ }
3667
+ .contact-container .container-title-box .close-icon[data-v-b0e5925b] {
3668
+ background-size: cover;
3669
+ }
3670
+ .contact-container .bottom-box[data-v-b0e5925b] {
3671
+ width: 100vw;
3672
+ height: 7vh;
3673
+ background-color: var(--uikit-color-black-8);
3674
+ }
3675
+ .ndsc-img-box[data-v-b0e5925b] {
3676
+ width: 24px;
3677
+ height: 24px;
3638
3678
  }.tool-box[data-v-34681937] {
3639
3679
  position: absolute;
3640
3680
  bottom: 72px;
@@ -3664,7 +3704,7 @@ to {
3664
3704
  .tool-box .tool-box-item[data-v-34681937]:hover {
3665
3705
  border-radius: 8px;
3666
3706
  background-color: var(--list-color-hover);
3667
- }.footer-container[data-v-f3bbac91] {
3707
+ }.footer-container[data-v-90dd0d72] {
3668
3708
  position: absolute;
3669
3709
  bottom: 0;
3670
3710
  display: flex;
@@ -3966,6 +4006,9 @@ to {
3966
4006
  border-radius: 8px;
3967
4007
  color: var(--text-color-primary);
3968
4008
  background-color: var(--button-color-secondary-default);
4009
+ }.ndsc-img-box[data-v-ca02c770] {
4010
+ width: 24px;
4011
+ height: 24px;
3969
4012
  }.footer-container[data-v-4afcea78] {
3970
4013
  position: absolute;
3971
4014
  bottom: 0;
@@ -5075,17 +5118,14 @@ to {
5075
5118
  font-size: 16px;
5076
5119
  font-weight: 400;
5077
5120
  text-align: end;
5078
- }.more-container[data-v-41107c5f] {
5079
- padding: 20px;
5080
- }
5081
- .more-container .more-title[data-v-41107c5f] {
5121
+ }.more-container .more-title[data-v-183c195c] {
5082
5122
  display: flex;
5083
5123
  align-items: center;
5084
5124
  }
5085
- .more-container .more-title .email-icon[data-v-41107c5f] {
5125
+ .more-container .more-title .email-icon[data-v-183c195c] {
5086
5126
  color: var(--uikit-color-gray-7);
5087
5127
  }
5088
- .more-container .more-title .more-notice[data-v-41107c5f] {
5128
+ .more-container .more-title .more-notice[data-v-183c195c] {
5089
5129
  width: 100%;
5090
5130
  height: 22px;
5091
5131
  padding-left: 8px;
@@ -5094,15 +5134,15 @@ to {
5094
5134
  line-height: 22px;
5095
5135
  color: var(--text-color-primary);
5096
5136
  }
5097
- .more-container .more-item[data-v-41107c5f] {
5137
+ .more-container .more-item[data-v-183c195c] {
5098
5138
  position: relative;
5099
5139
  display: flex;
5100
5140
  flex-direction: column;
5101
5141
  }
5102
- .more-container .more-item[data-v-41107c5f]:not(:first-child) {
5142
+ .more-container .more-item[data-v-183c195c]:not(:first-child) {
5103
5143
  margin-top: 20px;
5104
5144
  }
5105
- .more-container .more-item:not(:first-child) .item-title[data-v-41107c5f] {
5145
+ .more-container .more-item:not(:first-child) .item-title[data-v-183c195c] {
5106
5146
  width: 100%;
5107
5147
  padding-bottom: 8px;
5108
5148
  font-size: 14px;
@@ -5110,7 +5150,7 @@ to {
5110
5150
  line-height: 22px;
5111
5151
  color: var(--text-color-primary);
5112
5152
  }
5113
- .more-container .more-item:not(:first-child) .more-content[data-v-41107c5f] {
5153
+ .more-container .more-item:not(:first-child) .more-content[data-v-183c195c] {
5114
5154
  position: relative;
5115
5155
  box-sizing: border-box;
5116
5156
  display: inline-block;
@@ -5130,7 +5170,7 @@ to {
5130
5170
  background-color: var(--bg-color-input);
5131
5171
  border: 1px solid var(--stroke-color-module);
5132
5172
  }
5133
- .more-container .more-item:not(:first-child) .copy-icon[data-v-41107c5f] {
5173
+ .more-container .more-item:not(:first-child) .copy-icon[data-v-183c195c] {
5134
5174
  position: absolute;
5135
5175
  top: 45px;
5136
5176
  right: 10px;
@@ -9168,7 +9208,7 @@ body, html {
9168
9208
  }
9169
9209
  .tui-room :not([class|=el]) {
9170
9210
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
9171
- }.tui-room[data-v-b4d71215] {
9211
+ }.tui-room[data-v-3323a5f0] {
9172
9212
  position: relative;
9173
9213
  display: flex;
9174
9214
  flex-direction: column;
@@ -9180,7 +9220,7 @@ body, html {
9180
9220
  text-align: left;
9181
9221
  background-color: var(--bg-color-topbar);
9182
9222
  }
9183
- .tui-room .header[data-v-b4d71215] {
9223
+ .tui-room .header[data-v-3323a5f0] {
9184
9224
  position: absolute;
9185
9225
  top: 0;
9186
9226
  left: 0;
@@ -9191,20 +9231,20 @@ body, html {
9191
9231
  border-bottom: 1px solid var(--stroke-color-primary);
9192
9232
  box-shadow: 0 1px 0 var(--uikit-color-black-8);
9193
9233
  }
9194
- .tui-room .content[data-v-b4d71215] {
9234
+ .tui-room .content[data-v-3323a5f0] {
9195
9235
  position: absolute;
9196
9236
  top: 0;
9197
9237
  width: 100%;
9198
9238
  height: 100%;
9199
9239
  background-color: var(--bg-color-topbar);
9200
9240
  }
9201
- .tui-room.tui-room-h5[data-v-b4d71215] {
9241
+ .tui-room.tui-room-h5[data-v-3323a5f0] {
9202
9242
  width: 100%;
9203
9243
  min-width: 350px;
9204
9244
  height: 100%;
9205
9245
  min-height: 525px;
9206
9246
  }
9207
- #roomContainer.chat-room[data-v-b4d71215] {
9247
+ #roomContainer.chat-room[data-v-3323a5f0] {
9208
9248
  position: absolute;
9209
9249
  top: 0;
9210
9250
  right: 0;
@@ -9216,8 +9256,8 @@ body, html {
9216
9256
  margin: auto;
9217
9257
  border-radius: 10px;
9218
9258
  }
9219
- #roomContainer.tui-room-h5[data-v-b4d71215],
9220
- #roomContainer .chat-room[data-v-b4d71215] {
9259
+ #roomContainer.tui-room-h5[data-v-3323a5f0],
9260
+ #roomContainer .chat-room[data-v-3323a5f0] {
9221
9261
  width: 100%;
9222
9262
  height: 100%;
9223
9263
  }.user-info-container[data-v-9e9aff53] {
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ 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";
4
+ exports.default = _imports_0;
@@ -1,49 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const Vue = require("vue");
4
- const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
5
- const IconButton = require("../../common/base/IconButton.vue.js");
6
- const useMoreControlHooks = require("./useMoreControlHooks.js");
7
- require("../../../services/main.js");
8
- const roomService = require("../../../services/roomService.js");
9
- require("../../../locales/index.js");
10
- require("@tencentcloud/tuiroom-engine-js");
11
- require("../../../utils/environment.js");
12
- require("mitt");
13
- require("../../../services/manager/roomActionManager.js");
14
- require("@tencentcloud/tui-core");
15
- const _hoisted_1 = {
16
- key: 0,
17
- class: "more-control-container"
18
- };
19
- const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
20
- __name: "MoreControlPC",
21
- setup(__props) {
22
- const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
23
- const { t, basicStore, sidebarName } = useMoreControlHooks.default();
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
- }
33
- return (_ctx, _cache) => {
34
- return Vue.unref(moreControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
35
- Vue.createVNode(IconButton.default, {
36
- "is-active": Vue.unref(sidebarName) === "vote",
37
- title: Vue.unref(t)("Vote"),
38
- onClickIcon: toggleMoreSidebar
39
- }, {
40
- default: Vue.withCtx(() => [
41
- Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconMore), { size: "24" })
42
- ]),
43
- _: 1
44
- }, 8, ["is-active", "title"])
45
- ])) : Vue.createCommentVNode("", true);
46
- };
47
- }
48
- });
49
- exports.default = _sfc_main;
3
+ const MoreControlPC_vue_vue_type_script_setup_true_lang = require("./MoreControlPC.vue2.js");
4
+ ;/* empty css */
5
+ const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
6
+ const MoreControlPc = /* @__PURE__ */ _pluginVue_exportHelper.default(MoreControlPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-ca02c770"]]);
7
+ exports.default = MoreControlPc;