@ndscnj/roomkit-web-vue3 25.12.24151 → 25.12.24152

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 (46) hide show
  1. package/es/components/RoomFooter/index/indexPC.vue.mjs +1 -1
  2. package/es/components/RoomFooter/index/indexPC.vue2.mjs +4 -4
  3. package/es/components/RoomFooter/voteControl.vue.d.ts +15 -0
  4. package/es/components/RoomFooter/voteControl.vue.mjs +7 -0
  5. package/es/components/RoomFooter/voteControl.vue2.mjs +55 -0
  6. package/es/components/RoomVote/index.d.ts +17 -1
  7. package/es/components/RoomVote/indexPC.vue.d.ts +10 -1
  8. package/es/components/RoomVote/indexPC.vue.mjs +1 -1
  9. package/es/components/RoomVote/indexPC.vue2.mjs +6 -2
  10. package/es/index.mjs +25 -53
  11. package/lib/components/RoomFooter/index/indexPC.vue.js +1 -1
  12. package/lib/components/RoomFooter/index/indexPC.vue2.js +6 -6
  13. package/lib/components/RoomFooter/voteControl.vue.d.ts +15 -0
  14. package/lib/components/RoomFooter/voteControl.vue.js +7 -0
  15. package/lib/components/RoomFooter/voteControl.vue2.js +55 -0
  16. package/lib/components/RoomVote/index.d.ts +17 -1
  17. package/lib/components/RoomVote/indexPC.vue.d.ts +10 -1
  18. package/lib/components/RoomVote/indexPC.vue.js +1 -1
  19. package/lib/components/RoomVote/indexPC.vue2.js +5 -1
  20. package/lib/index.js +25 -53
  21. package/package.json +1 -1
  22. package/src/TUIRoom/components/RoomFooter/index/indexPC.vue +1 -1
  23. package/src/TUIRoom/components/RoomFooter/voteControl.vue +3 -0
  24. package/src/TUIRoom/components/RoomVote/indexPC.vue +4 -1
  25. package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +0 -6
  26. package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.mjs +0 -7
  27. package/es/components/RoomFooter/VoteControl/MoreControlH5.vue2.mjs +0 -105
  28. package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts +0 -2
  29. package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +0 -49
  30. package/es/components/RoomFooter/VoteControl/MoreControlPC.vue2.mjs +0 -4
  31. package/es/components/RoomFooter/VoteControl/index.d.ts +0 -6
  32. package/es/components/RoomFooter/VoteControl/index.mjs +0 -7
  33. package/es/components/RoomFooter/VoteControl/useMoreControlHooks.mjs +0 -22
  34. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +0 -6
  35. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.js +0 -7
  36. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue2.js +0 -105
  37. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts +0 -2
  38. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +0 -49
  39. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue2.js +0 -4
  40. package/lib/components/RoomFooter/VoteControl/index.d.ts +0 -6
  41. package/lib/components/RoomFooter/VoteControl/index.js +0 -7
  42. package/lib/components/RoomFooter/VoteControl/useMoreControlHooks.js +0 -22
  43. package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlH5.vue +0 -122
  44. package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +0 -31
  45. package/src/TUIRoom/components/RoomFooter/VoteControl/index.ts +0 -8
  46. package/src/TUIRoom/components/RoomFooter/VoteControl/useMoreControlHooks.ts +0 -23
@@ -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-4afcea78"]]);
4
+ const indexPc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f808bd91"]]);
5
5
  export {
6
6
  indexPc as default
7
7
  };
@@ -57,7 +57,7 @@ import _sfc_main$3 from "../ManageMemberControl.vue.mjs";
57
57
  import _sfc_main$4 from "../ChatControl.vue.mjs";
58
58
  import _sfc_main$5 from "../ManageStageControl.vue.mjs";
59
59
  import MemberApplyControl from "../ApplyControl/MemberApplyControl.vue.mjs";
60
- import MoreControl$1 from "../MoreControl/index.mjs";
60
+ import MoreControl from "../MoreControl/index.mjs";
61
61
  import EndControl from "../EndControl/index.mjs";
62
62
  import _sfc_main$6 from "../SettingControl.vue.mjs";
63
63
  import WhiteboardControl from "../WhiteboardControl.vue.mjs";
@@ -65,7 +65,7 @@ import VirtualBackground from "../VirtualBackground.vue.mjs";
65
65
  import AIControl from "../AIControl.vue.mjs";
66
66
  import BasicBeauty from "../BasicBeauty.vue.mjs";
67
67
  import bus from "../../../hooks/useMitt.mjs";
68
- import MoreControl 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" };
@@ -137,7 +137,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
137
137
  class: "center-container-item",
138
138
  onClick: _cache[9] || (_cache[9] = ($event) => handleControlClick("MasterApplyControl"))
139
139
  })) : createCommentVNode("", true),
140
- createVNode(unref(MoreControl), {
140
+ createVNode(voteControl, {
141
141
  class: "center-container-item",
142
142
  onClick: _cache[10] || (_cache[10] = ($event) => handleControlClick("voteControl")),
143
143
  onOnVote: onVote
@@ -147,7 +147,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
147
147
  ]),
148
148
  _: 3
149
149
  }),
150
- createVNode(unref(MoreControl$1), {
150
+ createVNode(unref(MoreControl), {
151
151
  class: "center-container-item",
152
152
  onClick: _cache[11] || (_cache[11] = ($event) => handleControlClick("moreControl"))
153
153
  }),
@@ -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-753053ea"]]);
5
+ export {
6
+ voteControl as default
7
+ };
@@ -0,0 +1,55 @@
1
+ import { defineComponent, computed, ref, 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 sidebarName = computed(() => basicStore.sidebarName);
23
+ const { t } = useI18n();
24
+ const showToolBox = ref(false);
25
+ const emit = __emit;
26
+ function toggleToolBox() {
27
+ console.log(showToolBox.value, "0000");
28
+ showToolBox.value = !showToolBox.value;
29
+ emit("on-vote", {
30
+ name: "onVote",
31
+ visible: showToolBox.value
32
+ });
33
+ }
34
+ return (_ctx, _cache) => {
35
+ return openBlock(), createElementBlock("div", _hoisted_1, [
36
+ createVNode(IconButton, {
37
+ "is-active": sidebarName.value === "vote",
38
+ title: unref(t)("Vote"),
39
+ onClickIcon: toggleToolBox
40
+ }, {
41
+ default: withCtx(() => [
42
+ createVNode(unref(IconAIIcon), { size: "24" })
43
+ ]),
44
+ _: 1
45
+ }, 8, ["is-active", "title"]),
46
+ showToolBox.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
47
+ renderSlot(_ctx.$slots, "content", {}, void 0, true)
48
+ ])) : createCommentVNode("", true)
49
+ ]);
50
+ };
51
+ }
52
+ });
53
+ export {
54
+ _sfc_main as default
55
+ };
@@ -2,5 +2,21 @@ declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('v
2
2
  "on-close-contact": (...args: any[]) => void;
3
3
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
4
  "onOn-close-contact"?: ((...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>;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
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, {
7
+ P: {};
8
+ B: {};
9
+ D: {};
10
+ C: {};
11
+ M: {};
12
+ Defaults: {};
13
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
14
+ __isFragment?: never;
15
+ __isTeleport?: never;
16
+ __isSuspense?: never;
17
+ } & 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 () => {
18
+ $slots: {
19
+ content?(_: {}): any;
20
+ };
21
+ }));
6
22
  export default Index;
@@ -1,2 +1,11 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ declare function __VLS_template(): {
2
+ content?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
2
6
  export default _default;
7
+ type __VLS_WithTemplateSlots<T, S> = T & {
8
+ new (): {
9
+ $slots: S;
10
+ };
11
+ };
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./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-17479e8d"]]);
4
+ const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c82f5e3c"]]);
5
5
  export {
6
6
  indexPC as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, unref, toDisplayString, withCtx, createTextVNode } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, unref, toDisplayString, withCtx, createTextVNode, renderSlot } from "vue";
2
2
  import { IconEmail, TUIButton, IconCopy } from "@tencentcloud/uikit-base-component-vue3";
3
3
  import useRoomMoreHooks from "./useRoomMoreHooks.mjs";
4
4
  const _hoisted_1 = { class: "more-container" };
@@ -12,6 +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: "more-item" };
15
16
  const _sfc_main = /* @__PURE__ */ defineComponent({
16
17
  __name: "indexPC",
17
18
  setup(__props) {
@@ -20,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
21
  return openBlock(), createElementBlock("div", _hoisted_1, [
21
22
  createElementVNode("div", _hoisted_2, [
22
23
  createVNode(unref(IconEmail), { class: "email-icon" }),
23
- createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("If you have any questions, please email us.")), 1)
24
+ createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("Vote")), 1)
24
25
  ]),
25
26
  unref(isZH) ? (openBlock(), createElementBlock("div", _hoisted_4, [
26
27
  createElementVNode("div", _hoisted_5, toDisplayString(unref(t)("Join our product discussion group")), 1),
@@ -38,6 +39,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
39
  class: "copy-icon",
39
40
  onClick: _cache[0] || (_cache[0] = ($event) => unref(onCopy)(unref(email)))
40
41
  })
42
+ ]),
43
+ createElementVNode("div", _hoisted_9, [
44
+ renderSlot(_ctx.$slots, "content", {}, void 0, true)
41
45
  ])
42
46
  ]);
43
47
  };
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-c413959d] {
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-c413959d;
3940
- animation-duration: 200ms;
3941
- background-color: var(--bg-color-operate);
3942
- }
3943
- @keyframes popup-c413959d {
3944
- from {
3945
- bottom: 0;
3946
- }
3947
- to {
3948
- bottom: 15px;
3949
- }
3950
- }
3951
- .control-compent[data-v-c413959d] {
3952
- display: flex;
3953
- }
3954
- .close[data-v-c413959d] {
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-4afcea78] {
3931
+ }.contact-container[data-v-753053ea] {
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-f808bd91] {
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-4afcea78] {
3955
+ .footer-container .left-container[data-v-f808bd91] {
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-4afcea78]:not(:first-child) {
3960
+ .footer-container .left-container .left-container-item[data-v-f808bd91]:not(:first-child) {
3989
3961
  margin-left: 1rem;
3990
3962
  }
3991
- .footer-container .center-container[data-v-4afcea78] {
3963
+ .footer-container .center-container[data-v-f808bd91] {
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-4afcea78]:not(:first-child) {
3970
+ .footer-container .center-container .center-container-item[data-v-f808bd91]:not(:first-child) {
3999
3971
  margin-left: 16px;
4000
3972
  }
4001
- .footer-container .right-container[data-v-4afcea78] {
3973
+ .footer-container .right-container[data-v-f808bd91] {
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-17479e8d] {
5050
+ }.more-container[data-v-c82f5e3c] {
5079
5051
  padding: 20px;
5080
5052
  }
5081
- .more-container .more-title[data-v-17479e8d] {
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-17479e8d] {
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-17479e8d] {
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-17479e8d] {
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-17479e8d]: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-17479e8d] {
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-17479e8d] {
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-17479e8d] {
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;
@@ -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-4afcea78"]]);
6
+ const indexPc = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-f808bd91"]]);
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" };
@@ -139,7 +139,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
139
139
  class: "center-container-item",
140
140
  onClick: _cache[9] || (_cache[9] = ($event) => handleControlClick("MasterApplyControl"))
141
141
  })) : Vue.createCommentVNode("", true),
142
- Vue.createVNode(Vue.unref(index$1.default), {
142
+ Vue.createVNode(voteControl.default, {
143
143
  class: "center-container-item",
144
144
  onClick: _cache[10] || (_cache[10] = ($event) => handleControlClick("voteControl")),
145
145
  onOnVote: onVote
@@ -149,7 +149,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
149
149
  ]),
150
150
  _: 3
151
151
  }),
152
- Vue.createVNode(Vue.unref(index$2.default), {
152
+ Vue.createVNode(Vue.unref(index$1.default), {
153
153
  class: "center-container-item",
154
154
  onClick: _cache[11] || (_cache[11] = ($event) => handleControlClick("moreControl"))
155
155
  }),
@@ -168,7 +168,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
168
168
  })) : Vue.createCommentVNode("", true)
169
169
  ]),
170
170
  Vue.createElementVNode("div", _hoisted_4, [
171
- Vue.createVNode(Vue.unref(index$3.default))
171
+ Vue.createVNode(Vue.unref(index$2.default))
172
172
  ])
173
173
  ]);
174
174
  };
@@ -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-753053ea"]]);
7
+ exports.default = voteControl;
@@ -0,0 +1,55 @@
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 sidebarName = Vue.computed(() => basicStore.sidebarName);
25
+ const { t } = index.useI18n();
26
+ const showToolBox = Vue.ref(false);
27
+ const emit = __emit;
28
+ function toggleToolBox() {
29
+ console.log(showToolBox.value, "0000");
30
+ showToolBox.value = !showToolBox.value;
31
+ emit("on-vote", {
32
+ name: "onVote",
33
+ visible: showToolBox.value
34
+ });
35
+ }
36
+ return (_ctx, _cache) => {
37
+ return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
38
+ Vue.createVNode(IconButton.default, {
39
+ "is-active": sidebarName.value === "vote",
40
+ title: Vue.unref(t)("Vote"),
41
+ onClickIcon: toggleToolBox
42
+ }, {
43
+ default: Vue.withCtx(() => [
44
+ Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconAIIcon), { size: "24" })
45
+ ]),
46
+ _: 1
47
+ }, 8, ["is-active", "title"]),
48
+ showToolBox.value ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, [
49
+ Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
50
+ ])) : Vue.createCommentVNode("", true)
51
+ ]);
52
+ };
53
+ }
54
+ });
55
+ exports.default = _sfc_main;
@@ -2,5 +2,21 @@ declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('v
2
2
  "on-close-contact": (...args: any[]) => void;
3
3
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
4
  "onOn-close-contact"?: ((...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>;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
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, {
7
+ P: {};
8
+ B: {};
9
+ D: {};
10
+ C: {};
11
+ M: {};
12
+ Defaults: {};
13
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
14
+ __isFragment?: never;
15
+ __isTeleport?: never;
16
+ __isSuspense?: never;
17
+ } & 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 () => {
18
+ $slots: {
19
+ content?(_: {}): any;
20
+ };
21
+ }));
6
22
  export default Index;
@@ -1,2 +1,11 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ declare function __VLS_template(): {
2
+ content?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
2
6
  export default _default;
7
+ type __VLS_WithTemplateSlots<T, S> = T & {
8
+ new (): {
9
+ $slots: S;
10
+ };
11
+ };
@@ -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-17479e8d"]]);
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,6 +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: "more-item" };
17
18
  const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
18
19
  __name: "indexPC",
19
20
  setup(__props) {
@@ -22,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
22
23
  return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
23
24
  Vue.createElementVNode("div", _hoisted_2, [
24
25
  Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconEmail), { class: "email-icon" }),
25
- Vue.createElementVNode("div", _hoisted_3, Vue.toDisplayString(Vue.unref(t)("If you have any questions, please email us.")), 1)
26
+ Vue.createElementVNode("div", _hoisted_3, Vue.toDisplayString(Vue.unref(t)("Vote")), 1)
26
27
  ]),
27
28
  Vue.unref(isZH) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_4, [
28
29
  Vue.createElementVNode("div", _hoisted_5, Vue.toDisplayString(Vue.unref(t)("Join our product discussion group")), 1),
@@ -40,6 +41,9 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
40
41
  class: "copy-icon",
41
42
  onClick: _cache[0] || (_cache[0] = ($event) => Vue.unref(onCopy)(Vue.unref(email)))
42
43
  })
44
+ ]),
45
+ Vue.createElementVNode("div", _hoisted_9, [
46
+ Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
43
47
  ])
44
48
  ]);
45
49
  };