@ndscnj/roomkit-web-vue3 25.12.24121 → 25.12.24141
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.
- package/es/components/RoomFooter/index/indexPC.vue.mjs +1 -1
- package/es/components/RoomFooter/index/indexPC.vue2.mjs +2 -2
- package/es/components/RoomFooter/voteControl.vue.d.ts +15 -0
- package/es/components/RoomFooter/voteControl.vue.mjs +7 -0
- package/es/components/RoomFooter/voteControl.vue2.mjs +59 -0
- package/es/components/RoomVote/indexPC.vue.mjs +1 -1
- package/es/components/RoomVote/indexPC.vue2.mjs +1 -1
- package/es/index.mjs +25 -53
- package/lib/components/RoomFooter/index/indexPC.vue.js +1 -1
- package/lib/components/RoomFooter/index/indexPC.vue2.js +6 -6
- package/lib/components/RoomFooter/voteControl.vue.d.ts +15 -0
- package/lib/components/RoomFooter/voteControl.vue.js +7 -0
- package/lib/components/RoomFooter/voteControl.vue2.js +59 -0
- package/lib/components/RoomVote/indexPC.vue.js +1 -1
- package/lib/components/RoomVote/indexPC.vue2.js +1 -1
- package/lib/index.js +25 -53
- package/package.json +1 -1
- package/src/TUIRoom/components/RoomFooter/index/indexPC.vue +1 -1
- package/src/TUIRoom/components/RoomVote/indexPC.vue +1 -1
- package/es/components/RoomFooter/voteControl/VoteControlH5.vue.d.ts +0 -6
- package/es/components/RoomFooter/voteControl/VoteControlH5.vue.mjs +0 -7
- package/es/components/RoomFooter/voteControl/VoteControlH5.vue2.mjs +0 -105
- package/es/components/RoomFooter/voteControl/VoteControlPC.vue.d.ts +0 -6
- package/es/components/RoomFooter/voteControl/VoteControlPC.vue.mjs +0 -55
- package/es/components/RoomFooter/voteControl/VoteControlPC.vue2.mjs +0 -4
- package/es/components/RoomFooter/voteControl/index.d.ts +0 -10
- package/es/components/RoomFooter/voteControl/index.mjs +0 -7
- package/es/components/RoomFooter/voteControl/useVoteControlHooks.mjs +0 -22
- package/lib/components/RoomFooter/voteControl/VoteControlH5.vue.d.ts +0 -6
- package/lib/components/RoomFooter/voteControl/VoteControlH5.vue.js +0 -7
- package/lib/components/RoomFooter/voteControl/VoteControlH5.vue2.js +0 -105
- package/lib/components/RoomFooter/voteControl/VoteControlPC.vue.d.ts +0 -6
- package/lib/components/RoomFooter/voteControl/VoteControlPC.vue.js +0 -55
- package/lib/components/RoomFooter/voteControl/VoteControlPC.vue2.js +0 -4
- package/lib/components/RoomFooter/voteControl/index.d.ts +0 -10
- package/lib/components/RoomFooter/voteControl/index.js +0 -7
- package/lib/components/RoomFooter/voteControl/useVoteControlHooks.js +0 -22
- package/src/TUIRoom/components/RoomFooter/voteControl/VoteControlH5.vue +0 -122
- package/src/TUIRoom/components/RoomFooter/voteControl/VoteControlPC.vue +0 -35
- package/src/TUIRoom/components/RoomFooter/voteControl/index.ts +0 -8
- package/src/TUIRoom/components/RoomFooter/voteControl/useVoteControlHooks.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-
|
|
4
|
+
const indexPc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f808bd91"]]);
|
|
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
|
|
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(
|
|
140
|
+
createVNode(voteControl, {
|
|
141
141
|
class: "center-container-item",
|
|
142
142
|
onClick: _cache[10] || (_cache[10] = ($event) => handleControlClick("voteControl")),
|
|
143
143
|
onOnVote: onVote
|
|
@@ -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-5d452e2c"]]);
|
|
5
|
+
export {
|
|
6
|
+
voteControl as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
const emit = __emit;
|
|
30
|
+
function toggleToolBox() {
|
|
31
|
+
console.log(showToolBox.value, "0000");
|
|
32
|
+
showToolBox.value = !showToolBox.value;
|
|
33
|
+
emit("on-vote", {
|
|
34
|
+
name: "onVote",
|
|
35
|
+
visible: showToolBox.value
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
return (_ctx, _cache) => {
|
|
39
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
40
|
+
createVNode(IconButton, {
|
|
41
|
+
"is-active": sidebarName.value === "vote",
|
|
42
|
+
title: unref(t)("Vote"),
|
|
43
|
+
onClickIcon: toggleToolBox
|
|
44
|
+
}, {
|
|
45
|
+
default: withCtx(() => [
|
|
46
|
+
createVNode(unref(IconAIIcon), { size: "24" })
|
|
47
|
+
]),
|
|
48
|
+
_: 1
|
|
49
|
+
}, 8, ["is-active", "title"]),
|
|
50
|
+
!isSidebarOpen.value && showToolBox.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
51
|
+
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
52
|
+
])) : createCommentVNode("", true)
|
|
53
|
+
]);
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
export {
|
|
58
|
+
_sfc_main as default
|
|
59
|
+
};
|
|
@@ -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-
|
|
4
|
+
const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d1a96ffd"]]);
|
|
5
5
|
export {
|
|
6
6
|
indexPC as default
|
|
7
7
|
};
|
|
@@ -21,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
22
22
|
createElementVNode("div", _hoisted_2, [
|
|
23
23
|
createVNode(unref(IconEmail), { class: "email-icon" }),
|
|
24
|
-
createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("
|
|
24
|
+
createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("If you have any questions, please email us.")), 1)
|
|
25
25
|
]),
|
|
26
26
|
unref(isZH) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
27
27
|
createElementVNode("div", _hoisted_5, toDisplayString(unref(t)("Join our product discussion group")), 1),
|
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
|
-
}.
|
|
3932
|
-
position:
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
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-5d452e2c] {
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
5050
|
+
}.more-container[data-v-d1a96ffd] {
|
|
5079
5051
|
padding: 20px;
|
|
5080
5052
|
}
|
|
5081
|
-
.more-container .more-title[data-v-
|
|
5053
|
+
.more-container .more-title[data-v-d1a96ffd] {
|
|
5082
5054
|
display: flex;
|
|
5083
5055
|
align-items: center;
|
|
5084
5056
|
}
|
|
5085
|
-
.more-container .more-title .email-icon[data-v-
|
|
5057
|
+
.more-container .more-title .email-icon[data-v-d1a96ffd] {
|
|
5086
5058
|
color: var(--uikit-color-gray-7);
|
|
5087
5059
|
}
|
|
5088
|
-
.more-container .more-title .more-notice[data-v-
|
|
5060
|
+
.more-container .more-title .more-notice[data-v-d1a96ffd] {
|
|
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-
|
|
5069
|
+
.more-container .more-item[data-v-d1a96ffd] {
|
|
5098
5070
|
position: relative;
|
|
5099
5071
|
display: flex;
|
|
5100
5072
|
flex-direction: column;
|
|
5101
5073
|
}
|
|
5102
|
-
.more-container .more-item[data-v-
|
|
5074
|
+
.more-container .more-item[data-v-d1a96ffd]:not(:first-child) {
|
|
5103
5075
|
margin-top: 20px;
|
|
5104
5076
|
}
|
|
5105
|
-
.more-container .more-item:not(:first-child) .item-title[data-v-
|
|
5077
|
+
.more-container .more-item:not(:first-child) .item-title[data-v-d1a96ffd] {
|
|
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-
|
|
5085
|
+
.more-container .more-item:not(:first-child) .more-content[data-v-d1a96ffd] {
|
|
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-
|
|
5105
|
+
.more-container .more-item:not(:first-child) .copy-icon[data-v-d1a96ffd] {
|
|
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-
|
|
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$
|
|
63
|
-
const index$
|
|
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
|
|
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(
|
|
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$
|
|
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$
|
|
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-5d452e2c"]]);
|
|
7
|
+
exports.default = voteControl;
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
const emit = __emit;
|
|
32
|
+
function toggleToolBox() {
|
|
33
|
+
console.log(showToolBox.value, "0000");
|
|
34
|
+
showToolBox.value = !showToolBox.value;
|
|
35
|
+
emit("on-vote", {
|
|
36
|
+
name: "onVote",
|
|
37
|
+
visible: showToolBox.value
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
return (_ctx, _cache) => {
|
|
41
|
+
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
42
|
+
Vue.createVNode(IconButton.default, {
|
|
43
|
+
"is-active": sidebarName.value === "vote",
|
|
44
|
+
title: Vue.unref(t)("Vote"),
|
|
45
|
+
onClickIcon: toggleToolBox
|
|
46
|
+
}, {
|
|
47
|
+
default: Vue.withCtx(() => [
|
|
48
|
+
Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconAIIcon), { size: "24" })
|
|
49
|
+
]),
|
|
50
|
+
_: 1
|
|
51
|
+
}, 8, ["is-active", "title"]),
|
|
52
|
+
!isSidebarOpen.value && showToolBox.value ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, [
|
|
53
|
+
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
54
|
+
])) : Vue.createCommentVNode("", true)
|
|
55
|
+
]);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
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-
|
|
6
|
+
const indexPC = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-d1a96ffd"]]);
|
|
7
7
|
exports.default = indexPC;
|
|
@@ -23,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
23
23
|
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
24
24
|
Vue.createElementVNode("div", _hoisted_2, [
|
|
25
25
|
Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconEmail), { class: "email-icon" }),
|
|
26
|
-
Vue.createElementVNode("div", _hoisted_3, Vue.toDisplayString(Vue.unref(t)("
|
|
26
|
+
Vue.createElementVNode("div", _hoisted_3, Vue.toDisplayString(Vue.unref(t)("If you have any questions, please email us.")), 1)
|
|
27
27
|
]),
|
|
28
28
|
Vue.unref(isZH) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_4, [
|
|
29
29
|
Vue.createElementVNode("div", _hoisted_5, Vue.toDisplayString(Vue.unref(t)("Join our product discussion group")), 1),
|
package/lib/index.js
CHANGED
|
@@ -3928,45 +3928,17 @@ to {
|
|
|
3928
3928
|
}
|
|
3929
3929
|
.footer .mirror-container .mirror-text[data-v-21a63691] {
|
|
3930
3930
|
margin-left: 4px;
|
|
3931
|
-
}.
|
|
3932
|
-
position:
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
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-5d452e2c] {
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
5050
|
+
}.more-container[data-v-d1a96ffd] {
|
|
5079
5051
|
padding: 20px;
|
|
5080
5052
|
}
|
|
5081
|
-
.more-container .more-title[data-v-
|
|
5053
|
+
.more-container .more-title[data-v-d1a96ffd] {
|
|
5082
5054
|
display: flex;
|
|
5083
5055
|
align-items: center;
|
|
5084
5056
|
}
|
|
5085
|
-
.more-container .more-title .email-icon[data-v-
|
|
5057
|
+
.more-container .more-title .email-icon[data-v-d1a96ffd] {
|
|
5086
5058
|
color: var(--uikit-color-gray-7);
|
|
5087
5059
|
}
|
|
5088
|
-
.more-container .more-title .more-notice[data-v-
|
|
5060
|
+
.more-container .more-title .more-notice[data-v-d1a96ffd] {
|
|
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-
|
|
5069
|
+
.more-container .more-item[data-v-d1a96ffd] {
|
|
5098
5070
|
position: relative;
|
|
5099
5071
|
display: flex;
|
|
5100
5072
|
flex-direction: column;
|
|
5101
5073
|
}
|
|
5102
|
-
.more-container .more-item[data-v-
|
|
5074
|
+
.more-container .more-item[data-v-d1a96ffd]:not(:first-child) {
|
|
5103
5075
|
margin-top: 20px;
|
|
5104
5076
|
}
|
|
5105
|
-
.more-container .more-item:not(:first-child) .item-title[data-v-
|
|
5077
|
+
.more-container .more-item:not(:first-child) .item-title[data-v-d1a96ffd] {
|
|
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-
|
|
5085
|
+
.more-container .more-item:not(:first-child) .more-content[data-v-d1a96ffd] {
|
|
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-
|
|
5105
|
+
.more-container .more-item:not(:first-child) .copy-icon[data-v-d1a96ffd] {
|
|
5134
5106
|
position: absolute;
|
|
5135
5107
|
top: 45px;
|
|
5136
5108
|
right: 10px;
|
package/package.json
CHANGED
|
@@ -103,7 +103,7 @@ import VirtualBackground from '../VirtualBackground.vue';
|
|
|
103
103
|
import AIControl from '../AIControl.vue';
|
|
104
104
|
import BasicBeauty from '../BasicBeauty.vue';
|
|
105
105
|
import bus from '../../../hooks/useMitt';
|
|
106
|
-
import voteControl from '../voteControl';
|
|
106
|
+
import voteControl from '../voteControl.vue';
|
|
107
107
|
import useRoomFooter from './useRoomFooterHooks';
|
|
108
108
|
import { isElectron } from '../../../utils/environment';
|
|
109
109
|
const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooter();
|
|
@@ -1,6 +0,0 @@
|
|
|
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;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./VoteControlH5.vue2.mjs";
|
|
2
|
-
/* empty css */
|
|
3
|
-
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const VoteControlH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1506794c"]]);
|
|
5
|
-
export {
|
|
6
|
-
VoteControlH5 as default
|
|
7
|
-
};
|