@ndscnj/roomkit-web-vue3 25.12.2412 → 25.12.2413

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 (50) hide show
  1. package/es/components/RoomFooter/index/indexPC.vue.mjs +1 -1
  2. package/es/components/RoomFooter/index/indexPC.vue2.mjs +2 -3
  3. package/es/components/RoomFooter/voteControl/index.d.ts +1 -5
  4. package/es/components/RoomFooter/voteControl.vue.d.ts +15 -0
  5. package/es/components/RoomFooter/voteControl.vue.mjs +7 -0
  6. package/es/components/RoomFooter/voteControl.vue2.mjs +60 -0
  7. package/es/components/RoomVote/indexPC.vue.mjs +1 -1
  8. package/es/components/RoomVote/indexPC.vue2.mjs +1 -1
  9. package/es/conference.vue.mjs +1 -1
  10. package/es/conference.vue2.mjs +0 -1
  11. package/es/constants/icon.d.ts +0 -2
  12. package/es/constants/icon.mjs +0 -2
  13. package/es/index.mjs +32 -60
  14. package/lib/components/RoomFooter/index/indexPC.vue.js +1 -1
  15. package/lib/components/RoomFooter/index/indexPC.vue2.js +6 -7
  16. package/lib/components/RoomFooter/voteControl/index.d.ts +1 -5
  17. package/lib/components/RoomFooter/voteControl.vue.d.ts +15 -0
  18. package/lib/components/RoomFooter/voteControl.vue.js +7 -0
  19. package/lib/components/RoomFooter/voteControl.vue2.js +60 -0
  20. package/lib/components/RoomVote/indexPC.vue.js +1 -1
  21. package/lib/components/RoomVote/indexPC.vue2.js +1 -1
  22. package/lib/conference.vue.js +1 -1
  23. package/lib/conference.vue2.js +0 -1
  24. package/lib/constants/icon.d.ts +0 -2
  25. package/lib/constants/icon.js +0 -2
  26. package/lib/index.js +32 -60
  27. package/package.json +1 -1
  28. package/src/TUIRoom/components/RoomFooter/index/indexPC.vue +1 -2
  29. package/src/TUIRoom/components/RoomFooter/voteControl/VoteControlPC.vue +6 -10
  30. package/src/TUIRoom/components/RoomFooter/voteControl/useVoteControlHooks.ts +1 -1
  31. package/src/TUIRoom/components/RoomFooter/voteControl.vue +1 -0
  32. package/src/TUIRoom/components/RoomVote/indexPC.vue +1 -1
  33. package/src/TUIRoom/conference.vue +0 -1
  34. package/src/TUIRoom/constants/icon.ts +0 -2
  35. package/es/components/RoomFooter/voteControl/VoteControlH5.vue.d.ts +0 -6
  36. package/es/components/RoomFooter/voteControl/VoteControlH5.vue.mjs +0 -7
  37. package/es/components/RoomFooter/voteControl/VoteControlH5.vue2.mjs +0 -105
  38. package/es/components/RoomFooter/voteControl/VoteControlPC.vue.d.ts +0 -6
  39. package/es/components/RoomFooter/voteControl/VoteControlPC.vue.mjs +0 -55
  40. package/es/components/RoomFooter/voteControl/VoteControlPC.vue2.mjs +0 -4
  41. package/es/components/RoomFooter/voteControl/index.mjs +0 -7
  42. package/es/components/RoomFooter/voteControl/useVoteControlHooks.mjs +0 -22
  43. package/lib/components/RoomFooter/voteControl/VoteControlH5.vue.d.ts +0 -6
  44. package/lib/components/RoomFooter/voteControl/VoteControlH5.vue.js +0 -7
  45. package/lib/components/RoomFooter/voteControl/VoteControlH5.vue2.js +0 -105
  46. package/lib/components/RoomFooter/voteControl/VoteControlPC.vue.d.ts +0 -6
  47. package/lib/components/RoomFooter/voteControl/VoteControlPC.vue.js +0 -55
  48. package/lib/components/RoomFooter/voteControl/VoteControlPC.vue2.js +0 -4
  49. package/lib/components/RoomFooter/voteControl/index.js +0 -7
  50. package/lib/components/RoomFooter/voteControl/useVoteControlHooks.js +0 -22
@@ -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-3a373c3a"]]);
4
+ const indexPc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-604d8288"]]);
5
5
  export {
6
6
  indexPc as default
7
7
  };
@@ -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/index.mjs";
68
+ import voteControl from "../voteControl.vue.mjs";
69
69
  import useRoomFooter from "./useRoomFooterHooks.mjs";
70
70
  const _hoisted_1 = { class: "footer-container" };
71
71
  const _hoisted_2 = { class: "left-container" };
@@ -81,7 +81,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
81
81
  }
82
82
  const emit = __emit;
83
83
  const onVote = (data) => {
84
- console.log(data, "data111");
85
84
  emit("on-vote", { code: data.visible, message: "vote" });
86
85
  };
87
86
  return (_ctx, _cache) => {
@@ -137,7 +136,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
137
136
  class: "center-container-item",
138
137
  onClick: _cache[9] || (_cache[9] = ($event) => handleControlClick("MasterApplyControl"))
139
138
  })) : createCommentVNode("", true),
140
- createVNode(unref(VoteControl), {
139
+ createVNode(voteControl, {
141
140
  class: "center-container-item",
142
141
  onClick: _cache[10] || (_cache[10] = ($event) => handleControlClick("voteControl")),
143
142
  onOnVote: onVote
@@ -2,9 +2,5 @@ declare const VoteControl: import('vue').DefineComponent<{}, {}, {}, {}, {}, imp
2
2
  "show-overlay": (...args: any[]) => void;
3
3
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
4
  "onShow-overlay"?: ((...args: any[]) => any) | undefined;
5
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
- "on-vote": (...args: any[]) => void;
7
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
8
- "onOn-vote"?: ((...args: any[]) => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
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>;
10
6
  export default VoteControl;
@@ -0,0 +1,15 @@
1
+ declare function __VLS_template(): {
2
+ content?(_: {}): 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-f6e8da89"]]);
5
+ export {
6
+ voteControl as default
7
+ };
@@ -0,0 +1,60 @@
1
+ import { defineComponent, computed, ref, watch, createElementBlock, openBlock, createVNode, createCommentVNode, unref, withCtx, renderSlot } from "vue";
2
+ import "../../services/main.mjs";
3
+ import { roomService } from "../../services/roomService.mjs";
4
+ import { useI18n } from "../../locales/index.mjs";
5
+ import "@tencentcloud/tuiroom-engine-js";
6
+ import "../../utils/environment.mjs";
7
+ import "mitt";
8
+ import "../../services/manager/roomActionManager.mjs";
9
+ import "@tencentcloud/tui-core";
10
+ import IconButton from "../common/base/IconButton.vue.mjs";
11
+ import { IconAIIcon } from "@tencentcloud/uikit-base-component-vue3";
12
+ const _hoisted_1 = { class: "vote-control-container" };
13
+ const _hoisted_2 = {
14
+ key: 0,
15
+ class: "contact-container"
16
+ };
17
+ const _sfc_main = /* @__PURE__ */ defineComponent({
18
+ __name: "voteControl",
19
+ emits: ["on-vote"],
20
+ setup(__props, { emit: __emit }) {
21
+ const { basicStore } = roomService;
22
+ const isSidebarOpen = computed(() => basicStore.isSidebarOpen);
23
+ const sidebarName = computed(() => basicStore.sidebarName);
24
+ const { t } = useI18n();
25
+ const showToolBox = ref(false);
26
+ watch(isSidebarOpen, (newValue) => {
27
+ showToolBox.value = newValue && false;
28
+ });
29
+ roomService.getComponentConfig("VoteControl");
30
+ const emit = __emit;
31
+ function toggleToolBox() {
32
+ console.log(showToolBox.value, "0000");
33
+ showToolBox.value = !showToolBox.value;
34
+ emit("on-vote", {
35
+ name: "onVote",
36
+ visible: showToolBox.value
37
+ });
38
+ }
39
+ return (_ctx, _cache) => {
40
+ return openBlock(), createElementBlock("div", _hoisted_1, [
41
+ createVNode(IconButton, {
42
+ "is-active": sidebarName.value === "vote",
43
+ title: unref(t)("Vote"),
44
+ onClickIcon: toggleToolBox
45
+ }, {
46
+ default: withCtx(() => [
47
+ createVNode(unref(IconAIIcon), { size: "24" })
48
+ ]),
49
+ _: 1
50
+ }, 8, ["is-active", "title"]),
51
+ !isSidebarOpen.value && showToolBox.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
52
+ renderSlot(_ctx.$slots, "content", {}, void 0, true)
53
+ ])) : createCommentVNode("", true)
54
+ ]);
55
+ };
56
+ }
57
+ });
58
+ export {
59
+ _sfc_main as default
60
+ };
@@ -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-11728c2b"]]);
4
+ const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c82f5e3c"]]);
5
5
  export {
6
6
  indexPC as default
7
7
  };
@@ -12,7 +12,7 @@ const _hoisted_5 = { class: "item-title" };
12
12
  const _hoisted_6 = { class: "more-item" };
13
13
  const _hoisted_7 = { class: "item-title" };
14
14
  const _hoisted_8 = { class: "more-content" };
15
- const _hoisted_9 = { class: "contact-container" };
15
+ const _hoisted_9 = { class: "more-item" };
16
16
  const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  __name: "indexPC",
18
18
  setup(__props) {
@@ -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-d9ae22c4"]]);
6
6
  export {
7
7
  ConferenceMainView as default
8
8
  };
@@ -217,7 +217,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
217
217
  roomService.resetStore();
218
218
  }
219
219
  const onVote = (data) => {
220
- console.log(data, "data222");
221
220
  emit("on-vote", { code: data.visible, message: "vote" });
222
221
  };
223
222
  const onStartRoom = () => {
@@ -20,8 +20,6 @@ export declare enum ICON_NAME {
20
20
  ManageMember = "manage-member",
21
21
  More = "more",
22
22
  MoreActive = "more-active",
23
- Vote = "vote",
24
- VoteActive = "vote-active",
25
23
  SettingActive = "setting-active",
26
24
  Setting = "setting",
27
25
  LineArrowUp = "line-arrow-up",
@@ -20,8 +20,6 @@ var ICON_NAME = /* @__PURE__ */ ((ICON_NAME2) => {
20
20
  ICON_NAME2["ManageMember"] = "manage-member";
21
21
  ICON_NAME2["More"] = "more";
22
22
  ICON_NAME2["MoreActive"] = "more-active";
23
- ICON_NAME2["Vote"] = "vote";
24
- ICON_NAME2["VoteActive"] = "vote-active";
25
23
  ICON_NAME2["SettingActive"] = "setting-active";
26
24
  ICON_NAME2["Setting"] = "setting";
27
25
  ICON_NAME2["LineArrowUp"] = "line-arrow-up";
package/es/index.mjs CHANGED
@@ -3928,45 +3928,17 @@ to {
3928
3928
  }
3929
3929
  .footer .mirror-container .mirror-text[data-v-21a63691] {
3930
3930
  margin-left: 4px;
3931
- }.show-more-content[data-v-1506794c] {
3932
- position: absolute;
3933
- bottom: 15px;
3934
- left: 5%;
3935
- width: 90%;
3936
- height: 17vh;
3937
- padding: 10px;
3938
- border-radius: 13px;
3939
- animation-name: popup-1506794c;
3940
- animation-duration: 200ms;
3941
- background-color: var(--bg-color-operate);
3942
- }
3943
- @keyframes popup-1506794c {
3944
- from {
3945
- bottom: 0;
3946
- }
3947
- to {
3948
- bottom: 15px;
3949
- }
3950
- }
3951
- .control-compent[data-v-1506794c] {
3952
- display: flex;
3953
- }
3954
- .close[data-v-1506794c] {
3955
- position: relative;
3956
- top: 10%;
3957
- display: flex;
3958
- align-items: center;
3959
- justify-content: center;
3960
- width: 100%;
3961
- padding: 10px;
3962
- font-style: normal;
3963
- font-weight: 400;
3964
- line-height: 24px;
3965
- text-align: center;
3966
- border-radius: 8px;
3967
- color: var(--text-color-primary);
3968
- background-color: var(--button-color-secondary-default);
3969
- }.footer-container[data-v-3a373c3a] {
3931
+ }.contact-container[data-v-f6e8da89] {
3932
+ position: fixed;
3933
+ top: 0;
3934
+ bottom: 0;
3935
+ left: 0;
3936
+ z-index: 11;
3937
+ box-sizing: border-box;
3938
+ width: 100vw;
3939
+ height: auto;
3940
+ background-color: var(--uikit-color-black-8);
3941
+ }.footer-container[data-v-604d8288] {
3970
3942
  position: absolute;
3971
3943
  bottom: 0;
3972
3944
  display: flex;
@@ -3980,25 +3952,25 @@ to {
3980
3952
  background-color: var(--bg-color-topbar);
3981
3953
  box-shadow: 0 -8px 30px var(--uikit-color-black-8);
3982
3954
  }
3983
- .footer-container .left-container[data-v-3a373c3a] {
3955
+ .footer-container .left-container[data-v-604d8288] {
3984
3956
  display: flex;
3985
3957
  align-items: center;
3986
3958
  height: 100%;
3987
3959
  }
3988
- .footer-container .left-container .left-container-item[data-v-3a373c3a]:not(:first-child) {
3960
+ .footer-container .left-container .left-container-item[data-v-604d8288]:not(:first-child) {
3989
3961
  margin-left: 1rem;
3990
3962
  }
3991
- .footer-container .center-container[data-v-3a373c3a] {
3963
+ .footer-container .center-container[data-v-604d8288] {
3992
3964
  position: relative;
3993
3965
  display: flex;
3994
3966
  align-items: center;
3995
3967
  height: 100%;
3996
3968
  margin: 0 auto;
3997
3969
  }
3998
- .footer-container .center-container .center-container-item[data-v-3a373c3a]:not(:first-child) {
3970
+ .footer-container .center-container .center-container-item[data-v-604d8288]:not(:first-child) {
3999
3971
  margin-left: 16px;
4000
3972
  }
4001
- .footer-container .right-container[data-v-3a373c3a] {
3973
+ .footer-container .right-container[data-v-604d8288] {
4002
3974
  display: flex;
4003
3975
  align-items: center;
4004
3976
  height: 100%;
@@ -5075,17 +5047,17 @@ to {
5075
5047
  font-size: 16px;
5076
5048
  font-weight: 400;
5077
5049
  text-align: end;
5078
- }.more-container[data-v-11728c2b] {
5050
+ }.more-container[data-v-c82f5e3c] {
5079
5051
  padding: 20px;
5080
5052
  }
5081
- .more-container .more-title[data-v-11728c2b] {
5053
+ .more-container .more-title[data-v-c82f5e3c] {
5082
5054
  display: flex;
5083
5055
  align-items: center;
5084
5056
  }
5085
- .more-container .more-title .email-icon[data-v-11728c2b] {
5057
+ .more-container .more-title .email-icon[data-v-c82f5e3c] {
5086
5058
  color: var(--uikit-color-gray-7);
5087
5059
  }
5088
- .more-container .more-title .more-notice[data-v-11728c2b] {
5060
+ .more-container .more-title .more-notice[data-v-c82f5e3c] {
5089
5061
  width: 100%;
5090
5062
  height: 22px;
5091
5063
  padding-left: 8px;
@@ -5094,15 +5066,15 @@ to {
5094
5066
  line-height: 22px;
5095
5067
  color: var(--text-color-primary);
5096
5068
  }
5097
- .more-container .more-item[data-v-11728c2b] {
5069
+ .more-container .more-item[data-v-c82f5e3c] {
5098
5070
  position: relative;
5099
5071
  display: flex;
5100
5072
  flex-direction: column;
5101
5073
  }
5102
- .more-container .more-item[data-v-11728c2b]:not(:first-child) {
5074
+ .more-container .more-item[data-v-c82f5e3c]:not(:first-child) {
5103
5075
  margin-top: 20px;
5104
5076
  }
5105
- .more-container .more-item:not(:first-child) .item-title[data-v-11728c2b] {
5077
+ .more-container .more-item:not(:first-child) .item-title[data-v-c82f5e3c] {
5106
5078
  width: 100%;
5107
5079
  padding-bottom: 8px;
5108
5080
  font-size: 14px;
@@ -5110,7 +5082,7 @@ to {
5110
5082
  line-height: 22px;
5111
5083
  color: var(--text-color-primary);
5112
5084
  }
5113
- .more-container .more-item:not(:first-child) .more-content[data-v-11728c2b] {
5085
+ .more-container .more-item:not(:first-child) .more-content[data-v-c82f5e3c] {
5114
5086
  position: relative;
5115
5087
  box-sizing: border-box;
5116
5088
  display: inline-block;
@@ -5130,7 +5102,7 @@ to {
5130
5102
  background-color: var(--bg-color-input);
5131
5103
  border: 1px solid var(--stroke-color-module);
5132
5104
  }
5133
- .more-container .more-item:not(:first-child) .copy-icon[data-v-11728c2b] {
5105
+ .more-container .more-item:not(:first-child) .copy-icon[data-v-c82f5e3c] {
5134
5106
  position: absolute;
5135
5107
  top: 45px;
5136
5108
  right: 10px;
@@ -9168,7 +9140,7 @@ body, html {
9168
9140
  }
9169
9141
  .tui-room :not([class|=el]) {
9170
9142
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
9171
- }.tui-room[data-v-3b59b436] {
9143
+ }.tui-room[data-v-d9ae22c4] {
9172
9144
  position: relative;
9173
9145
  display: flex;
9174
9146
  flex-direction: column;
@@ -9180,7 +9152,7 @@ body, html {
9180
9152
  text-align: left;
9181
9153
  background-color: var(--bg-color-topbar);
9182
9154
  }
9183
- .tui-room .header[data-v-3b59b436] {
9155
+ .tui-room .header[data-v-d9ae22c4] {
9184
9156
  position: absolute;
9185
9157
  top: 0;
9186
9158
  left: 0;
@@ -9191,20 +9163,20 @@ body, html {
9191
9163
  border-bottom: 1px solid var(--stroke-color-primary);
9192
9164
  box-shadow: 0 1px 0 var(--uikit-color-black-8);
9193
9165
  }
9194
- .tui-room .content[data-v-3b59b436] {
9166
+ .tui-room .content[data-v-d9ae22c4] {
9195
9167
  position: absolute;
9196
9168
  top: 0;
9197
9169
  width: 100%;
9198
9170
  height: 100%;
9199
9171
  background-color: var(--bg-color-topbar);
9200
9172
  }
9201
- .tui-room.tui-room-h5[data-v-3b59b436] {
9173
+ .tui-room.tui-room-h5[data-v-d9ae22c4] {
9202
9174
  width: 100%;
9203
9175
  min-width: 350px;
9204
9176
  height: 100%;
9205
9177
  min-height: 525px;
9206
9178
  }
9207
- #roomContainer.chat-room[data-v-3b59b436] {
9179
+ #roomContainer.chat-room[data-v-d9ae22c4] {
9208
9180
  position: absolute;
9209
9181
  top: 0;
9210
9182
  right: 0;
@@ -9216,8 +9188,8 @@ body, html {
9216
9188
  margin: auto;
9217
9189
  border-radius: 10px;
9218
9190
  }
9219
- #roomContainer.tui-room-h5[data-v-3b59b436],
9220
- #roomContainer .chat-room[data-v-3b59b436] {
9191
+ #roomContainer.tui-room-h5[data-v-d9ae22c4],
9192
+ #roomContainer .chat-room[data-v-d9ae22c4] {
9221
9193
  width: 100%;
9222
9194
  height: 100%;
9223
9195
  }.user-info-container[data-v-9e9aff53] {
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const indexPC_vue_vue_type_script_setup_true_lang = require("./indexPC.vue2.js");
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
6
- const indexPc = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-3a373c3a"]]);
6
+ const indexPc = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-604d8288"]]);
7
7
  exports.default = indexPc;
@@ -59,15 +59,15 @@ const ManageMemberControl_vue_vue_type_script_setup_true_lang = require("../Mana
59
59
  const ChatControl_vue_vue_type_script_setup_true_lang = require("../ChatControl.vue.js");
60
60
  const ManageStageControl_vue_vue_type_script_setup_true_lang = require("../ManageStageControl.vue.js");
61
61
  const MemberApplyControl = require("../ApplyControl/MemberApplyControl.vue.js");
62
- const index$2 = require("../MoreControl/index.js");
63
- const index$3 = require("../EndControl/index.js");
62
+ const index$1 = require("../MoreControl/index.js");
63
+ const index$2 = require("../EndControl/index.js");
64
64
  const SettingControl_vue_vue_type_script_setup_true_lang = require("../SettingControl.vue.js");
65
65
  const WhiteboardControl = require("../WhiteboardControl.vue.js");
66
66
  const VirtualBackground = require("../VirtualBackground.vue.js");
67
67
  const AIControl = require("../AIControl.vue.js");
68
68
  const BasicBeauty = require("../BasicBeauty.vue.js");
69
69
  const useMitt = require("../../../hooks/useMitt.js");
70
- const index$1 = require("../voteControl/index.js");
70
+ const voteControl = require("../voteControl.vue.js");
71
71
  const useRoomFooterHooks = require("./useRoomFooterHooks.js");
72
72
  const _hoisted_1 = { class: "footer-container" };
73
73
  const _hoisted_2 = { class: "left-container" };
@@ -83,7 +83,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
83
83
  }
84
84
  const emit = __emit;
85
85
  const onVote = (data) => {
86
- console.log(data, "data111");
87
86
  emit("on-vote", { code: data.visible, message: "vote" });
88
87
  };
89
88
  return (_ctx, _cache) => {
@@ -139,7 +138,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
139
138
  class: "center-container-item",
140
139
  onClick: _cache[9] || (_cache[9] = ($event) => handleControlClick("MasterApplyControl"))
141
140
  })) : Vue.createCommentVNode("", true),
142
- Vue.createVNode(Vue.unref(index$1.default), {
141
+ Vue.createVNode(voteControl.default, {
143
142
  class: "center-container-item",
144
143
  onClick: _cache[10] || (_cache[10] = ($event) => handleControlClick("voteControl")),
145
144
  onOnVote: onVote
@@ -149,7 +148,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
149
148
  ]),
150
149
  _: 3
151
150
  }),
152
- Vue.createVNode(Vue.unref(index$2.default), {
151
+ Vue.createVNode(Vue.unref(index$1.default), {
153
152
  class: "center-container-item",
154
153
  onClick: _cache[11] || (_cache[11] = ($event) => handleControlClick("moreControl"))
155
154
  }),
@@ -168,7 +167,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
168
167
  })) : Vue.createCommentVNode("", true)
169
168
  ]),
170
169
  Vue.createElementVNode("div", _hoisted_4, [
171
- Vue.createVNode(Vue.unref(index$3.default))
170
+ Vue.createVNode(Vue.unref(index$2.default))
172
171
  ])
173
172
  ]);
174
173
  };
@@ -2,9 +2,5 @@ declare const VoteControl: import('vue').DefineComponent<{}, {}, {}, {}, {}, imp
2
2
  "show-overlay": (...args: any[]) => void;
3
3
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
4
  "onShow-overlay"?: ((...args: any[]) => any) | undefined;
5
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
- "on-vote": (...args: any[]) => void;
7
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
8
- "onOn-vote"?: ((...args: any[]) => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
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>;
10
6
  export default VoteControl;
@@ -0,0 +1,15 @@
1
+ declare function __VLS_template(): {
2
+ content?(_: {}): 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
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const voteControl_vue_vue_type_script_setup_true_lang = require("./voteControl.vue2.js");
4
+ ;/* empty css */
5
+ const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
6
+ const voteControl = /* @__PURE__ */ _pluginVue_exportHelper.default(voteControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-f6e8da89"]]);
7
+ exports.default = voteControl;
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const Vue = require("vue");
4
+ require("../../services/main.js");
5
+ const roomService = require("../../services/roomService.js");
6
+ const index = require("../../locales/index.js");
7
+ require("@tencentcloud/tuiroom-engine-js");
8
+ require("../../utils/environment.js");
9
+ require("mitt");
10
+ require("../../services/manager/roomActionManager.js");
11
+ require("@tencentcloud/tui-core");
12
+ const IconButton = require("../common/base/IconButton.vue.js");
13
+ const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
14
+ const _hoisted_1 = { class: "vote-control-container" };
15
+ const _hoisted_2 = {
16
+ key: 0,
17
+ class: "contact-container"
18
+ };
19
+ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
20
+ __name: "voteControl",
21
+ emits: ["on-vote"],
22
+ setup(__props, { emit: __emit }) {
23
+ const { basicStore } = roomService.roomService;
24
+ const isSidebarOpen = Vue.computed(() => basicStore.isSidebarOpen);
25
+ const sidebarName = Vue.computed(() => basicStore.sidebarName);
26
+ const { t } = index.useI18n();
27
+ const showToolBox = Vue.ref(false);
28
+ Vue.watch(isSidebarOpen, (newValue) => {
29
+ showToolBox.value = newValue && false;
30
+ });
31
+ roomService.roomService.getComponentConfig("VoteControl");
32
+ const emit = __emit;
33
+ function toggleToolBox() {
34
+ console.log(showToolBox.value, "0000");
35
+ showToolBox.value = !showToolBox.value;
36
+ emit("on-vote", {
37
+ name: "onVote",
38
+ visible: showToolBox.value
39
+ });
40
+ }
41
+ return (_ctx, _cache) => {
42
+ return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
43
+ Vue.createVNode(IconButton.default, {
44
+ "is-active": sidebarName.value === "vote",
45
+ title: Vue.unref(t)("Vote"),
46
+ onClickIcon: toggleToolBox
47
+ }, {
48
+ default: Vue.withCtx(() => [
49
+ Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconAIIcon), { size: "24" })
50
+ ]),
51
+ _: 1
52
+ }, 8, ["is-active", "title"]),
53
+ !isSidebarOpen.value && showToolBox.value ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, [
54
+ Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
55
+ ])) : Vue.createCommentVNode("", true)
56
+ ]);
57
+ };
58
+ }
59
+ });
60
+ exports.default = _sfc_main;
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const indexPC_vue_vue_type_script_setup_true_lang = require("./indexPC.vue2.js");
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
6
- const indexPC = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-11728c2b"]]);
6
+ const indexPC = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-c82f5e3c"]]);
7
7
  exports.default = indexPC;
@@ -14,7 +14,7 @@ const _hoisted_5 = { class: "item-title" };
14
14
  const _hoisted_6 = { class: "more-item" };
15
15
  const _hoisted_7 = { class: "item-title" };
16
16
  const _hoisted_8 = { class: "more-content" };
17
- const _hoisted_9 = { class: "contact-container" };
17
+ const _hoisted_9 = { class: "more-item" };
18
18
  const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
19
19
  __name: "indexPC",
20
20
  setup(__props) {
@@ -4,5 +4,5 @@ const conference_vue_vue_type_script_setup_true_lang = require("./conference.vue
4
4
  ;/* empty css */
5
5
  ;/* empty css */
6
6
  const _pluginVue_exportHelper = require("./_virtual/_plugin-vue_export-helper.js");
7
- const ConferenceMainView = /* @__PURE__ */ _pluginVue_exportHelper.default(conference_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-3b59b436"]]);
7
+ const ConferenceMainView = /* @__PURE__ */ _pluginVue_exportHelper.default(conference_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-d9ae22c4"]]);
8
8
  exports.default = ConferenceMainView;
@@ -219,7 +219,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
219
219
  roomService.roomService.resetStore();
220
220
  }
221
221
  const onVote = (data) => {
222
- console.log(data, "data222");
223
222
  emit("on-vote", { code: data.visible, message: "vote" });
224
223
  };
225
224
  const onStartRoom = () => {
@@ -20,8 +20,6 @@ export declare enum ICON_NAME {
20
20
  ManageMember = "manage-member",
21
21
  More = "more",
22
22
  MoreActive = "more-active",
23
- Vote = "vote",
24
- VoteActive = "vote-active",
25
23
  SettingActive = "setting-active",
26
24
  Setting = "setting",
27
25
  LineArrowUp = "line-arrow-up",
@@ -22,8 +22,6 @@ var ICON_NAME = /* @__PURE__ */ ((ICON_NAME2) => {
22
22
  ICON_NAME2["ManageMember"] = "manage-member";
23
23
  ICON_NAME2["More"] = "more";
24
24
  ICON_NAME2["MoreActive"] = "more-active";
25
- ICON_NAME2["Vote"] = "vote";
26
- ICON_NAME2["VoteActive"] = "vote-active";
27
25
  ICON_NAME2["SettingActive"] = "setting-active";
28
26
  ICON_NAME2["Setting"] = "setting";
29
27
  ICON_NAME2["LineArrowUp"] = "line-arrow-up";