@ndscnj/roomkit-web-vue3 25.12.23182 → 25.12.24111

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 (60) hide show
  1. package/es/components/RoomFooter/index/index.d.ts +13 -3
  2. package/es/components/RoomFooter/index/indexPC.vue.d.ts +5 -1
  3. package/es/components/RoomFooter/index/indexPC.vue.mjs +1 -1
  4. package/es/components/RoomFooter/index/indexPC.vue2.mjs +11 -4
  5. package/es/components/RoomFooter/voteControl/VoteControlH5.vue.d.ts +6 -0
  6. package/es/components/RoomFooter/voteControl/VoteControlH5.vue.mjs +7 -0
  7. package/es/components/RoomFooter/voteControl/VoteControlH5.vue2.mjs +105 -0
  8. package/es/components/RoomFooter/voteControl/VoteControlPC.vue.d.ts +6 -0
  9. package/es/components/RoomFooter/voteControl/VoteControlPC.vue.mjs +55 -0
  10. package/es/components/RoomFooter/voteControl/VoteControlPC.vue2.mjs +4 -0
  11. package/es/components/RoomFooter/voteControl/index.d.ts +10 -0
  12. package/es/components/RoomFooter/voteControl/index.mjs +7 -0
  13. package/es/components/RoomFooter/voteControl/useVoteControlHooks.mjs +22 -0
  14. package/es/components/RoomVote/index.d.ts +17 -1
  15. package/es/components/RoomVote/indexPC.vue.d.ts +10 -1
  16. package/es/components/RoomVote/indexPC.vue.mjs +1 -1
  17. package/es/components/RoomVote/indexPC.vue2.mjs +6 -2
  18. package/es/conference.vue.mjs +1 -1
  19. package/es/conference.vue2.mjs +1 -0
  20. package/es/constants/icon.d.ts +2 -0
  21. package/es/constants/icon.mjs +2 -0
  22. package/es/index.mjs +53 -44
  23. package/lib/components/RoomFooter/index/index.d.ts +13 -3
  24. package/lib/components/RoomFooter/index/indexPC.vue.d.ts +5 -1
  25. package/lib/components/RoomFooter/index/indexPC.vue.js +1 -1
  26. package/lib/components/RoomFooter/index/indexPC.vue2.js +15 -8
  27. package/lib/components/RoomFooter/voteControl/VoteControlH5.vue.d.ts +6 -0
  28. package/lib/components/RoomFooter/voteControl/VoteControlH5.vue.js +7 -0
  29. package/lib/components/RoomFooter/voteControl/VoteControlH5.vue2.js +105 -0
  30. package/lib/components/RoomFooter/voteControl/VoteControlPC.vue.d.ts +6 -0
  31. package/lib/components/RoomFooter/voteControl/VoteControlPC.vue.js +55 -0
  32. package/lib/components/RoomFooter/voteControl/VoteControlPC.vue2.js +4 -0
  33. package/lib/components/RoomFooter/voteControl/index.d.ts +10 -0
  34. package/lib/components/RoomFooter/voteControl/index.js +7 -0
  35. package/lib/components/RoomFooter/voteControl/useVoteControlHooks.js +22 -0
  36. package/lib/components/RoomVote/index.d.ts +17 -1
  37. package/lib/components/RoomVote/indexPC.vue.d.ts +10 -1
  38. package/lib/components/RoomVote/indexPC.vue.js +1 -1
  39. package/lib/components/RoomVote/indexPC.vue2.js +5 -1
  40. package/lib/conference.vue.js +1 -1
  41. package/lib/conference.vue2.js +1 -0
  42. package/lib/constants/icon.d.ts +2 -0
  43. package/lib/constants/icon.js +2 -0
  44. package/lib/index.js +53 -44
  45. package/package.json +1 -1
  46. package/src/TUIRoom/components/RoomFooter/index/indexPC.vue +8 -1
  47. package/src/TUIRoom/components/RoomFooter/voteControl/VoteControlH5.vue +122 -0
  48. package/src/TUIRoom/components/RoomFooter/voteControl/VoteControlPC.vue +35 -0
  49. package/src/TUIRoom/components/RoomFooter/voteControl/index.ts +8 -0
  50. package/src/TUIRoom/components/RoomFooter/voteControl/useVoteControlHooks.ts +23 -0
  51. package/src/TUIRoom/components/RoomFooter/voteControl.vue +25 -44
  52. package/src/TUIRoom/components/RoomVote/indexPC.vue +4 -1
  53. package/src/TUIRoom/conference.vue +1 -0
  54. package/src/TUIRoom/constants/icon.ts +2 -0
  55. package/es/components/RoomFooter/voteControl.vue.d.ts +0 -15
  56. package/es/components/RoomFooter/voteControl.vue.mjs +0 -7
  57. package/es/components/RoomFooter/voteControl.vue2.mjs +0 -65
  58. package/lib/components/RoomFooter/voteControl.vue.d.ts +0 -15
  59. package/lib/components/RoomFooter/voteControl.vue.js +0 -7
  60. package/lib/components/RoomFooter/voteControl.vue2.js +0 -65
package/es/index.mjs CHANGED
@@ -3928,36 +3928,45 @@ to {
3928
3928
  }
3929
3929
  .footer .mirror-container .mirror-text[data-v-21a63691] {
3930
3930
  margin-left: 4px;
3931
- }.tool-box[data-v-45795e90] {
3931
+ }.show-more-content[data-v-1506794c] {
3932
3932
  position: absolute;
3933
- bottom: 72px;
3934
- z-index: 2;
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] {
3935
3952
  display: flex;
3936
- flex-direction: column;
3937
- align-items: center;
3938
- justify-content: center;
3939
- padding: 5px 0;
3940
- border-radius: 15px;
3941
- background-color: var(--bg-color-dialog);
3942
- box-shadow: 0 -8px 30p var(--uikit-color-black-8);
3943
3953
  }
3944
- .tool-box .tool-box-item[data-v-45795e90] {
3954
+ .close[data-v-1506794c] {
3955
+ position: relative;
3956
+ top: 10%;
3945
3957
  display: flex;
3946
3958
  align-items: center;
3947
- justify-content: flex-start;
3959
+ justify-content: center;
3948
3960
  width: 100%;
3949
- padding: 7px 10px;
3950
- font-size: 12px;
3951
- white-space: nowrap;
3952
- cursor: pointer;
3953
- }
3954
- .tool-box .tool-box-item .icon[data-v-45795e90] {
3955
- margin-right: 8px;
3956
- }
3957
- .tool-box .tool-box-item[data-v-45795e90]:hover {
3961
+ padding: 10px;
3962
+ font-style: normal;
3963
+ font-weight: 400;
3964
+ line-height: 24px;
3965
+ text-align: center;
3958
3966
  border-radius: 8px;
3959
- background-color: var(--list-color-hover);
3960
- }.footer-container[data-v-6b90d75f] {
3967
+ color: var(--text-color-primary);
3968
+ background-color: var(--button-color-secondary-default);
3969
+ }.footer-container[data-v-3a373c3a] {
3961
3970
  position: absolute;
3962
3971
  bottom: 0;
3963
3972
  display: flex;
@@ -3971,25 +3980,25 @@ to {
3971
3980
  background-color: var(--bg-color-topbar);
3972
3981
  box-shadow: 0 -8px 30px var(--uikit-color-black-8);
3973
3982
  }
3974
- .footer-container .left-container[data-v-6b90d75f] {
3983
+ .footer-container .left-container[data-v-3a373c3a] {
3975
3984
  display: flex;
3976
3985
  align-items: center;
3977
3986
  height: 100%;
3978
3987
  }
3979
- .footer-container .left-container .left-container-item[data-v-6b90d75f]:not(:first-child) {
3988
+ .footer-container .left-container .left-container-item[data-v-3a373c3a]:not(:first-child) {
3980
3989
  margin-left: 1rem;
3981
3990
  }
3982
- .footer-container .center-container[data-v-6b90d75f] {
3991
+ .footer-container .center-container[data-v-3a373c3a] {
3983
3992
  position: relative;
3984
3993
  display: flex;
3985
3994
  align-items: center;
3986
3995
  height: 100%;
3987
3996
  margin: 0 auto;
3988
3997
  }
3989
- .footer-container .center-container .center-container-item[data-v-6b90d75f]:not(:first-child) {
3998
+ .footer-container .center-container .center-container-item[data-v-3a373c3a]:not(:first-child) {
3990
3999
  margin-left: 16px;
3991
4000
  }
3992
- .footer-container .right-container[data-v-6b90d75f] {
4001
+ .footer-container .right-container[data-v-3a373c3a] {
3993
4002
  display: flex;
3994
4003
  align-items: center;
3995
4004
  height: 100%;
@@ -5066,17 +5075,17 @@ to {
5066
5075
  font-size: 16px;
5067
5076
  font-weight: 400;
5068
5077
  text-align: end;
5069
- }.more-container[data-v-17479e8d] {
5078
+ }.more-container[data-v-11728c2b] {
5070
5079
  padding: 20px;
5071
5080
  }
5072
- .more-container .more-title[data-v-17479e8d] {
5081
+ .more-container .more-title[data-v-11728c2b] {
5073
5082
  display: flex;
5074
5083
  align-items: center;
5075
5084
  }
5076
- .more-container .more-title .email-icon[data-v-17479e8d] {
5085
+ .more-container .more-title .email-icon[data-v-11728c2b] {
5077
5086
  color: var(--uikit-color-gray-7);
5078
5087
  }
5079
- .more-container .more-title .more-notice[data-v-17479e8d] {
5088
+ .more-container .more-title .more-notice[data-v-11728c2b] {
5080
5089
  width: 100%;
5081
5090
  height: 22px;
5082
5091
  padding-left: 8px;
@@ -5085,15 +5094,15 @@ to {
5085
5094
  line-height: 22px;
5086
5095
  color: var(--text-color-primary);
5087
5096
  }
5088
- .more-container .more-item[data-v-17479e8d] {
5097
+ .more-container .more-item[data-v-11728c2b] {
5089
5098
  position: relative;
5090
5099
  display: flex;
5091
5100
  flex-direction: column;
5092
5101
  }
5093
- .more-container .more-item[data-v-17479e8d]:not(:first-child) {
5102
+ .more-container .more-item[data-v-11728c2b]:not(:first-child) {
5094
5103
  margin-top: 20px;
5095
5104
  }
5096
- .more-container .more-item:not(:first-child) .item-title[data-v-17479e8d] {
5105
+ .more-container .more-item:not(:first-child) .item-title[data-v-11728c2b] {
5097
5106
  width: 100%;
5098
5107
  padding-bottom: 8px;
5099
5108
  font-size: 14px;
@@ -5101,7 +5110,7 @@ to {
5101
5110
  line-height: 22px;
5102
5111
  color: var(--text-color-primary);
5103
5112
  }
5104
- .more-container .more-item:not(:first-child) .more-content[data-v-17479e8d] {
5113
+ .more-container .more-item:not(:first-child) .more-content[data-v-11728c2b] {
5105
5114
  position: relative;
5106
5115
  box-sizing: border-box;
5107
5116
  display: inline-block;
@@ -5121,7 +5130,7 @@ to {
5121
5130
  background-color: var(--bg-color-input);
5122
5131
  border: 1px solid var(--stroke-color-module);
5123
5132
  }
5124
- .more-container .more-item:not(:first-child) .copy-icon[data-v-17479e8d] {
5133
+ .more-container .more-item:not(:first-child) .copy-icon[data-v-11728c2b] {
5125
5134
  position: absolute;
5126
5135
  top: 45px;
5127
5136
  right: 10px;
@@ -9159,7 +9168,7 @@ body, html {
9159
9168
  }
9160
9169
  .tui-room :not([class|=el]) {
9161
9170
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
9162
- }.tui-room[data-v-d9ae22c4] {
9171
+ }.tui-room[data-v-3b59b436] {
9163
9172
  position: relative;
9164
9173
  display: flex;
9165
9174
  flex-direction: column;
@@ -9171,7 +9180,7 @@ body, html {
9171
9180
  text-align: left;
9172
9181
  background-color: var(--bg-color-topbar);
9173
9182
  }
9174
- .tui-room .header[data-v-d9ae22c4] {
9183
+ .tui-room .header[data-v-3b59b436] {
9175
9184
  position: absolute;
9176
9185
  top: 0;
9177
9186
  left: 0;
@@ -9182,20 +9191,20 @@ body, html {
9182
9191
  border-bottom: 1px solid var(--stroke-color-primary);
9183
9192
  box-shadow: 0 1px 0 var(--uikit-color-black-8);
9184
9193
  }
9185
- .tui-room .content[data-v-d9ae22c4] {
9194
+ .tui-room .content[data-v-3b59b436] {
9186
9195
  position: absolute;
9187
9196
  top: 0;
9188
9197
  width: 100%;
9189
9198
  height: 100%;
9190
9199
  background-color: var(--bg-color-topbar);
9191
9200
  }
9192
- .tui-room.tui-room-h5[data-v-d9ae22c4] {
9201
+ .tui-room.tui-room-h5[data-v-3b59b436] {
9193
9202
  width: 100%;
9194
9203
  min-width: 350px;
9195
9204
  height: 100%;
9196
9205
  min-height: 525px;
9197
9206
  }
9198
- #roomContainer.chat-room[data-v-d9ae22c4] {
9207
+ #roomContainer.chat-room[data-v-3b59b436] {
9199
9208
  position: absolute;
9200
9209
  top: 0;
9201
9210
  right: 0;
@@ -9207,8 +9216,8 @@ body, html {
9207
9216
  margin: auto;
9208
9217
  border-radius: 10px;
9209
9218
  }
9210
- #roomContainer.tui-room-h5[data-v-d9ae22c4],
9211
- #roomContainer .chat-room[data-v-d9ae22c4] {
9219
+ #roomContainer.tui-room-h5[data-v-3b59b436],
9220
+ #roomContainer .chat-room[data-v-3b59b436] {
9212
9221
  width: 100%;
9213
9222
  height: 100%;
9214
9223
  }.user-info-container[data-v-9e9aff53] {
@@ -3,18 +3,28 @@ declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('v
3
3
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
4
  "onShow-overlay"?: ((...args: any[]) => any) | undefined;
5
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, {
6
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
7
+ "onOn-vote"?: ((...args: any[]) => any) | undefined;
8
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "on-vote": (...args: any[]) => void;
10
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
7
11
  P: {};
8
12
  B: {};
9
13
  D: {};
10
14
  C: {};
11
15
  M: {};
12
16
  Defaults: {};
13
- }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
17
+ }, Readonly<{}> & Readonly<{
18
+ "onOn-vote"?: ((...args: any[]) => any) | undefined;
19
+ }>, {}, {}, {}, {}, {}>;
14
20
  __isFragment?: never;
15
21
  __isTeleport?: never;
16
22
  __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 () => {
23
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
24
+ "onOn-vote"?: ((...args: any[]) => any) | undefined;
25
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ "on-vote": (...args: any[]) => void;
27
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
18
28
  $slots: {
19
29
  content?(_: {}): any;
20
30
  };
@@ -1,7 +1,11 @@
1
1
  declare function __VLS_template(): {
2
2
  content?(_: {}): any;
3
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>;
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>;
5
9
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
6
10
  export default _default;
7
11
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -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-6b90d75f"]]);
6
+ const indexPc = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-3a373c3a"]]);
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$1 = require("../MoreControl/index.js");
63
- const index$2 = require("../EndControl/index.js");
62
+ const index$2 = require("../MoreControl/index.js");
63
+ const index$3 = 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 voteControl = require("../voteControl.vue.js");
70
+ const index$1 = require("../voteControl/index.js");
71
71
  const useRoomFooterHooks = require("./useRoomFooterHooks.js");
72
72
  const _hoisted_1 = { class: "footer-container" };
73
73
  const _hoisted_2 = { class: "left-container" };
@@ -75,11 +75,17 @@ const _hoisted_3 = { class: "center-container" };
75
75
  const _hoisted_4 = { class: "right-container" };
76
76
  const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
77
77
  __name: "indexPC",
78
- setup(__props) {
78
+ emits: ["on-vote"],
79
+ setup(__props, { emit: __emit }) {
79
80
  const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooterHooks.default();
80
81
  function handleControlClick(name) {
81
82
  useMitt.default.emit("experience-communication", name);
82
83
  }
84
+ const emit = __emit;
85
+ const onVote = (data) => {
86
+ console.log(data, "data111");
87
+ emit("on-vote", { code: data.visible, message: "vote" });
88
+ };
83
89
  return (_ctx, _cache) => {
84
90
  return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
85
91
  Vue.createElementVNode("div", _hoisted_2, [
@@ -133,16 +139,17 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
133
139
  class: "center-container-item",
134
140
  onClick: _cache[9] || (_cache[9] = ($event) => handleControlClick("MasterApplyControl"))
135
141
  })) : Vue.createCommentVNode("", true),
136
- Vue.createVNode(voteControl.default, {
142
+ Vue.createVNode(Vue.unref(index$1.default), {
137
143
  class: "center-container-item",
138
- onClick: _cache[10] || (_cache[10] = ($event) => handleControlClick("voteControl"))
144
+ onClick: _cache[10] || (_cache[10] = ($event) => handleControlClick("voteControl")),
145
+ onOnVote: onVote
139
146
  }, {
140
147
  content: Vue.withCtx(() => [
141
148
  Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
142
149
  ]),
143
150
  _: 3
144
151
  }),
145
- Vue.createVNode(Vue.unref(index$1.default), {
152
+ Vue.createVNode(Vue.unref(index$2.default), {
146
153
  class: "center-container-item",
147
154
  onClick: _cache[11] || (_cache[11] = ($event) => handleControlClick("moreControl"))
148
155
  }),
@@ -161,7 +168,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
161
168
  })) : Vue.createCommentVNode("", true)
162
169
  ]),
163
170
  Vue.createElementVNode("div", _hoisted_4, [
164
- Vue.createVNode(Vue.unref(index$2.default))
171
+ Vue.createVNode(Vue.unref(index$3.default))
165
172
  ])
166
173
  ]);
167
174
  };
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
+ "show-overlay": (...args: any[]) => void;
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
+ "onShow-overlay"?: ((...args: any[]) => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const VoteControlH5_vue_vue_type_script_setup_true_lang = require("./VoteControlH5.vue2.js");
4
+ ;/* empty css */
5
+ const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
6
+ const VoteControlH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(VoteControlH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-1506794c"]]);
7
+ exports.default = VoteControlH5;
@@ -0,0 +1,105 @@
1
+ "use strict";
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 useVoteControlHooks = require("./useVoteControlHooks.js");
7
+ const ChatControl_vue_vue_type_script_setup_true_lang = require("../ChatControl.vue.js");
8
+ const InviteControl = require("../InviteControl.vue.js");
9
+ const ContactControl = require("../ContactControl.vue.js");
10
+ const room = require("../../../stores/room.js");
11
+ const useMitt = require("../../../hooks/useMitt.js");
12
+ const vTap = require("../../../directives/vTap.js");
13
+ require("../../../services/main.js");
14
+ const roomService = require("../../../services/roomService.js");
15
+ require("../../../locales/index.js");
16
+ require("@tencentcloud/tuiroom-engine-js");
17
+ require("../../../utils/environment.js");
18
+ require("mitt");
19
+ require("../../../services/manager/roomActionManager.js");
20
+ require("@tencentcloud/tui-core");
21
+ const _hoisted_1 = {
22
+ key: 0,
23
+ class: "more-control-container"
24
+ };
25
+ const _hoisted_2 = { class: "control-compent" };
26
+ const _hoisted_3 = { class: "close" };
27
+ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
28
+ __name: "VoteControlH5",
29
+ emits: ["show-overlay"],
30
+ setup(__props, { emit: __emit }) {
31
+ const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
32
+ const showMoreContent = Vue.ref(false);
33
+ const moreContentRef = Vue.ref();
34
+ const { t, sidebarName } = useVoteControlHooks.default();
35
+ const roomStore = room.useRoomStore();
36
+ const emit = __emit;
37
+ function showMore() {
38
+ showMoreContent.value = true;
39
+ }
40
+ function handleCancelControl() {
41
+ showMoreContent.value = false;
42
+ }
43
+ function handleControlClick(name) {
44
+ useMitt.default.emit("experience-communication", name);
45
+ }
46
+ function handleShowOverlay(data) {
47
+ showMoreContent.value = false;
48
+ emit("show-overlay", data);
49
+ }
50
+ function handleDocumentClick(event) {
51
+ if (showMoreContent.value && !moreContentRef.value.contains(event.target)) {
52
+ showMoreContent.value = false;
53
+ }
54
+ }
55
+ Vue.onMounted(() => {
56
+ document == null ? void 0 : document.addEventListener("click", handleDocumentClick, true);
57
+ });
58
+ Vue.onUnmounted(() => {
59
+ document == null ? void 0 : document.removeEventListener("click", handleDocumentClick, true);
60
+ });
61
+ return (_ctx, _cache) => {
62
+ return Vue.openBlock(), Vue.createElementBlock("div", null, [
63
+ Vue.unref(moreControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
64
+ Vue.withDirectives((Vue.openBlock(), Vue.createBlock(IconButton.default, {
65
+ "is-active": Vue.unref(sidebarName) === "more",
66
+ title: Vue.unref(t)("More")
67
+ }, {
68
+ default: Vue.withCtx(() => [
69
+ Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconExtension), { size: "24" })
70
+ ]),
71
+ _: 1
72
+ }, 8, ["is-active", "title"])), [
73
+ [Vue.unref(vTap.default), showMore]
74
+ ])
75
+ ])) : Vue.createCommentVNode("", true),
76
+ showMoreContent.value ? (Vue.openBlock(), Vue.createElementBlock("div", {
77
+ key: 1,
78
+ ref_key: "moreContentRef",
79
+ ref: moreContentRef,
80
+ class: "show-more-content"
81
+ }, [
82
+ Vue.createElementVNode("div", _hoisted_2, [
83
+ Vue.unref(roomStore).isSpeakAfterTakingSeatMode ? (Vue.openBlock(), Vue.createBlock(ChatControl_vue_vue_type_script_setup_true_lang.default, {
84
+ key: 0,
85
+ onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("chatControl"))
86
+ })) : Vue.createCommentVNode("", true),
87
+ Vue.createVNode(ContactControl.default, {
88
+ onClick: _cache[1] || (_cache[1] = ($event) => handleControlClick("contactControl"))
89
+ }),
90
+ Vue.createVNode(InviteControl.default, {
91
+ onShowOverlay: handleShowOverlay,
92
+ onClick: _cache[2] || (_cache[2] = ($event) => handleControlClick("inviteControl"))
93
+ })
94
+ ]),
95
+ Vue.withDirectives((Vue.openBlock(), Vue.createElementBlock("div", _hoisted_3, [
96
+ Vue.createTextVNode(Vue.toDisplayString(Vue.unref(t)("Cancel")), 1)
97
+ ])), [
98
+ [Vue.unref(vTap.default), handleCancelControl]
99
+ ])
100
+ ], 512)) : Vue.createCommentVNode("", true)
101
+ ]);
102
+ };
103
+ }
104
+ });
105
+ exports.default = _sfc_main;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
+ "on-vote": (...args: any[]) => void;
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
+ "onOn-vote"?: ((...args: any[]) => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,55 @@
1
+ "use strict";
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 useVoteControlHooks = require("./useVoteControlHooks.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: "vote-control-container"
18
+ };
19
+ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
20
+ __name: "VoteControlPC",
21
+ emits: ["on-vote"],
22
+ setup(__props, { emit: __emit }) {
23
+ const voteControlConfig = roomService.roomService.getComponentConfig("VoteControl");
24
+ const { t, basicStore, sidebarName } = useVoteControlHooks.default();
25
+ const emit = __emit;
26
+ function toggleMoreSidebar() {
27
+ if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
28
+ basicStore.setSidebarOpenStatus(false);
29
+ basicStore.setSidebarName("");
30
+ return;
31
+ }
32
+ basicStore.setSidebarOpenStatus(true);
33
+ basicStore.setSidebarName("vote");
34
+ emit("on-vote", {
35
+ name: "onVote",
36
+ visible: voteControlConfig.visible
37
+ });
38
+ }
39
+ return (_ctx, _cache) => {
40
+ return Vue.unref(voteControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
41
+ Vue.createVNode(IconButton.default, {
42
+ "is-active": Vue.unref(sidebarName) === "vote",
43
+ title: Vue.unref(t)("Vote"),
44
+ onClickIcon: toggleMoreSidebar
45
+ }, {
46
+ default: Vue.withCtx(() => [
47
+ Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconMore), { size: "24" })
48
+ ]),
49
+ _: 1
50
+ }, 8, ["is-active", "title"])
51
+ ])) : Vue.createCommentVNode("", true);
52
+ };
53
+ }
54
+ });
55
+ exports.default = _sfc_main;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const VoteControlPC_vue_vue_type_script_setup_true_lang = require("./VoteControlPC.vue.js");
4
+ exports.default = VoteControlPC_vue_vue_type_script_setup_true_lang.default;
@@ -0,0 +1,10 @@
1
+ declare const VoteControl: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
+ "show-overlay": (...args: any[]) => void;
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
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>;
10
+ export default VoteControl;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const VoteControlH5 = require("./VoteControlH5.vue.js");
4
+ const VoteControlPC_vue_vue_type_script_setup_true_lang = require("./VoteControlPC.vue.js");
5
+ const environment = require("../../../utils/environment.js");
6
+ const VoteControl = environment.isMobile ? VoteControlH5.default : VoteControlPC_vue_vue_type_script_setup_true_lang.default;
7
+ exports.default = VoteControl;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const Vue = require("vue");
4
+ const basic = require("../../../stores/basic.js");
5
+ const pinia = require("pinia");
6
+ const index = require("../../../locales/index.js");
7
+ const icon = require("../../../constants/icon.js");
8
+ function useControl() {
9
+ const { t } = index.useI18n();
10
+ const basicStore = basic.useBasicStore();
11
+ const { sidebarName } = pinia.storeToRefs(basicStore);
12
+ const iconName = Vue.computed(
13
+ () => sidebarName.value === "vote" ? icon.ICON_NAME.VoteActive : icon.ICON_NAME.Vote
14
+ );
15
+ return {
16
+ t,
17
+ basicStore,
18
+ iconName,
19
+ sidebarName
20
+ };
21
+ }
22
+ exports.default = useControl;
@@ -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-11728c2b"]]);
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: "contact-container" };
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
  };
@@ -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-d9ae22c4"]]);
7
+ const ConferenceMainView = /* @__PURE__ */ _pluginVue_exportHelper.default(conference_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-3b59b436"]]);
8
8
  exports.default = ConferenceMainView;