@ndscnj/roomkit-web-vue3 25.12.2417 → 25.12.2418
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/VoteControl/MoreControlH5.vue.d.ts +2 -2
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.mjs +1 -1
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue2.mjs +77 -31
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts +1 -5
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +47 -5
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue2.mjs +1 -56
- package/es/components/RoomFooter/VoteControl/index.d.ts +3 -3
- package/es/components/RoomFooter/VoteControl/index.mjs +2 -2
- package/es/components/RoomFooter/VoteControl/useMoreControlHooks.mjs +1 -3
- package/es/components/RoomFooter/index/index.d.ts +4 -31
- package/es/components/RoomFooter/index/indexH5.vue.d.ts +1 -12
- package/es/components/RoomFooter/index/indexH5.vue.mjs +1 -1
- package/es/components/RoomFooter/index/indexH5.vue2.mjs +5 -20
- package/es/components/RoomSidebar/index.d.ts +1 -17
- package/es/components/RoomSidebar/indexH5.vue.d.ts +1 -10
- package/es/components/RoomSidebar/indexH5.vue.mjs +1 -1
- package/es/components/RoomSidebar/indexH5.vue2.mjs +3 -10
- package/es/components/RoomVote/index.d.ts +6 -2
- package/es/components/RoomVote/indexH5.vue.d.ts +5 -10
- package/es/components/RoomVote/indexH5.vue.mjs +2 -9
- package/es/components/RoomVote/indexH5.vue2.mjs +51 -0
- package/es/components/RoomVote/useRoomMoreHooks.mjs +43 -0
- package/es/conference.vue.mjs +1 -1
- package/es/conference.vue2.mjs +7 -2
- package/es/index.mjs +118 -61
- package/lib/components/Chat/index/indexH5.vue.js +1 -1
- package/lib/components/ManageMember/MemberItem/indexH5.vue.js +1 -1
- package/lib/components/ManageMember/indexH5.vue.js +1 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +2 -2
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.js +1 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue2.js +76 -30
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts +1 -5
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +47 -5
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue2.js +2 -57
- package/lib/components/RoomFooter/VoteControl/index.d.ts +3 -3
- package/lib/components/RoomFooter/VoteControl/index.js +2 -2
- package/lib/components/RoomFooter/VoteControl/useMoreControlHooks.js +1 -3
- package/lib/components/RoomFooter/index/index.d.ts +4 -31
- package/lib/components/RoomFooter/index/indexH5.vue.d.ts +1 -12
- package/lib/components/RoomFooter/index/indexH5.vue.js +2 -2
- package/lib/components/RoomFooter/index/indexH5.vue2.js +4 -19
- package/lib/components/RoomInvite/indexH5.vue.js +1 -1
- package/lib/components/RoomMore/indexH5.vue.js +1 -1
- package/lib/components/RoomSidebar/index.d.ts +1 -17
- package/lib/components/RoomSidebar/indexH5.vue.d.ts +1 -10
- package/lib/components/RoomSidebar/indexH5.vue.js +2 -2
- package/lib/components/RoomSidebar/indexH5.vue2.js +2 -9
- package/lib/components/RoomVote/index.d.ts +6 -2
- package/lib/components/RoomVote/indexH5.vue.d.ts +5 -10
- package/lib/components/RoomVote/indexH5.vue.js +2 -9
- package/lib/components/RoomVote/indexH5.vue2.js +51 -0
- package/lib/components/RoomVote/useRoomMoreHooks.js +43 -0
- package/lib/conference.vue.js +1 -1
- package/lib/conference.vue2.js +7 -2
- package/lib/index.js +118 -61
- package/package.json +1 -1
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlH5.vue +108 -26
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +4 -13
- package/src/TUIRoom/components/RoomFooter/VoteControl/useMoreControlHooks.ts +1 -2
- package/src/TUIRoom/components/RoomFooter/index/indexH5.vue +2 -15
- package/src/TUIRoom/components/RoomSidebar/indexH5.vue +0 -5
- package/src/TUIRoom/components/RoomVote/indexH5.vue +118 -61
- package/src/TUIRoom/conference.vue +4 -1
- package/es/assets/imgs/vote-icon.png.mjs +0 -4
- package/lib/assets/imgs/vote-icon.png.js +0 -4
|
@@ -1,59 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
const IconButton = require("../../common/base/IconButton.vue.js");
|
|
6
|
-
const useMoreControlHooks = require("./useMoreControlHooks.js");
|
|
7
|
-
require("../../../services/main.js");
|
|
8
|
-
const roomService = require("../../../services/roomService.js");
|
|
9
|
-
require("../../../locales/index.js");
|
|
10
|
-
require("@tencentcloud/tuiroom-engine-js");
|
|
11
|
-
require("../../../utils/environment.js");
|
|
12
|
-
require("mitt");
|
|
13
|
-
require("../../../services/manager/roomActionManager.js");
|
|
14
|
-
require("@tencentcloud/tui-core");
|
|
15
|
-
const _hoisted_1 = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "more-control-container"
|
|
18
|
-
};
|
|
19
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
20
|
-
__name: "MoreControlPC",
|
|
21
|
-
emits: ["on-vote"],
|
|
22
|
-
setup(__props, { emit: __emit }) {
|
|
23
|
-
const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
|
|
24
|
-
const { t, basicStore, sidebarName } = useMoreControlHooks.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: basicStore.isSidebarOpen
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
return (_ctx, _cache) => {
|
|
40
|
-
return Vue.unref(moreControlConfig).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(() => [..._cache[0] || (_cache[0] = [
|
|
47
|
-
Vue.createElementVNode("img", {
|
|
48
|
-
class: "ndsc-img-box",
|
|
49
|
-
src: voteIcon.default,
|
|
50
|
-
alt: ""
|
|
51
|
-
}, null, -1)
|
|
52
|
-
])]),
|
|
53
|
-
_: 1
|
|
54
|
-
}, 8, ["is-active", "title"])
|
|
55
|
-
])) : Vue.createCommentVNode("", true);
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
exports.default = _sfc_main;
|
|
3
|
+
const MoreControlPC_vue_vue_type_script_setup_true_lang = require("./MoreControlPC.vue.js");
|
|
4
|
+
exports.default = MoreControlPC_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const MoreControl: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
-
"
|
|
2
|
+
"show-overlay": (...args: any[]) => void;
|
|
3
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
"
|
|
5
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
"onShow-overlay"?: ((...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>;
|
|
6
6
|
export default MoreControl;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const MoreControlH5 = require("./MoreControlH5.vue.js");
|
|
4
|
-
const
|
|
4
|
+
const MoreControlPC_vue_vue_type_script_setup_true_lang = require("./MoreControlPC.vue.js");
|
|
5
5
|
const environment = require("../../../utils/environment.js");
|
|
6
|
-
const MoreControl = environment.isMobile ? MoreControlH5.default :
|
|
6
|
+
const MoreControl = environment.isMobile ? MoreControlH5.default : MoreControlPC_vue_vue_type_script_setup_true_lang.default;
|
|
7
7
|
exports.default = MoreControl;
|
|
@@ -9,7 +9,6 @@ function useControl() {
|
|
|
9
9
|
const { t } = index.useI18n();
|
|
10
10
|
const basicStore = basic.useBasicStore();
|
|
11
11
|
const { sidebarName } = pinia.storeToRefs(basicStore);
|
|
12
|
-
const isSidebarOpen = Vue.computed(() => basicStore.isSidebarOpen);
|
|
13
12
|
const iconName = Vue.computed(
|
|
14
13
|
() => sidebarName.value === "vote" ? icon.ICON_NAME.MoreActive : icon.ICON_NAME.More
|
|
15
14
|
);
|
|
@@ -17,8 +16,7 @@ function useControl() {
|
|
|
17
16
|
t,
|
|
18
17
|
basicStore,
|
|
19
18
|
iconName,
|
|
20
|
-
sidebarName
|
|
21
|
-
isSidebarOpen
|
|
19
|
+
sidebarName
|
|
22
20
|
};
|
|
23
21
|
}
|
|
24
22
|
exports.default = useControl;
|
|
@@ -1,35 +1,8 @@
|
|
|
1
|
-
declare const Index: ({
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
3
|
-
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
4
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
-
"show-overlay": (...args: any[]) => void;
|
|
7
|
-
"on-vote": (...args: any[]) => void;
|
|
8
|
-
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
9
|
-
P: {};
|
|
10
|
-
B: {};
|
|
11
|
-
D: {};
|
|
12
|
-
C: {};
|
|
13
|
-
M: {};
|
|
14
|
-
Defaults: {};
|
|
15
|
-
}, Readonly<{}> & Readonly<{
|
|
16
|
-
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, {}>;
|
|
19
|
-
__isFragment?: never;
|
|
20
|
-
__isTeleport?: never;
|
|
21
|
-
__isSuspense?: never;
|
|
22
|
-
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
23
|
-
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
25
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1
|
+
declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
2
|
"show-overlay": (...args: any[]) => void;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
content?(_: {}): any;
|
|
31
|
-
};
|
|
32
|
-
})) | ({
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
|
|
33
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
34
7
|
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
35
8
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
declare
|
|
2
|
-
content?(_: {}): any;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
2
|
"show-overlay": (...args: any[]) => void;
|
|
6
|
-
"on-vote": (...args: any[]) => void;
|
|
7
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
8
4
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
10
5
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
12
6
|
export default _default;
|
|
13
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const indexH5_vue_vue_type_script_setup_true_lang =
|
|
3
|
+
const indexH5_vue_vue_type_script_setup_true_lang = require("./indexH5.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-f3bbac91"]]);
|
|
7
7
|
exports.default = indexH5;
|
|
@@ -57,22 +57,17 @@ const ManageMemberControl_vue_vue_type_script_setup_true_lang = require("../Mana
|
|
|
57
57
|
const ChatControl_vue_vue_type_script_setup_true_lang = require("../ChatControl.vue.js");
|
|
58
58
|
const ManageStageControl_vue_vue_type_script_setup_true_lang = require("../ManageStageControl.vue.js");
|
|
59
59
|
const MemberApplyControl = require("../ApplyControl/MemberApplyControl.vue.js");
|
|
60
|
-
const index$
|
|
60
|
+
const index$1 = require("../MoreControl/index.js");
|
|
61
61
|
const AIControl = require("../AIControl.vue.js");
|
|
62
|
-
const index$1 = require("../VoteControl/index.js");
|
|
63
62
|
const useMitt = require("../../../hooks/useMitt.js");
|
|
64
63
|
const useRoomFooterHooks = require("./useRoomFooterHooks.js");
|
|
65
64
|
const _hoisted_1 = { class: "footer-container" };
|
|
66
65
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
67
66
|
__name: "indexH5",
|
|
68
|
-
emits: ["show-overlay"
|
|
67
|
+
emits: ["show-overlay"],
|
|
69
68
|
setup(__props, { emit: __emit }) {
|
|
70
69
|
const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooterHooks.default();
|
|
71
70
|
const emit = __emit;
|
|
72
|
-
const onVote = (data) => {
|
|
73
|
-
console.log(data, "data111");
|
|
74
|
-
emit("on-vote", { code: data.visible, message: "vote" });
|
|
75
|
-
};
|
|
76
71
|
function handleControlClick(name) {
|
|
77
72
|
useMitt.default.emit("experience-communication", name);
|
|
78
73
|
}
|
|
@@ -93,21 +88,11 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
93
88
|
}, null, 8, ["display-mode"])), [
|
|
94
89
|
[Vue.unref(vTap.default), () => handleControlClick("videoControl")]
|
|
95
90
|
]) : Vue.createCommentVNode("", true),
|
|
96
|
-
Vue.createVNode(Vue.unref(index$1.default), {
|
|
97
|
-
class: "center-container-item",
|
|
98
|
-
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("voteControl")),
|
|
99
|
-
onOnVote: onVote
|
|
100
|
-
}, {
|
|
101
|
-
content: Vue.withCtx(() => [
|
|
102
|
-
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
103
|
-
]),
|
|
104
|
-
_: 3
|
|
105
|
-
}),
|
|
106
91
|
!Vue.unref(roomStore).isSpeakAfterTakingSeatMode ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(ChatControl_vue_vue_type_script_setup_true_lang.default, { key: 2 }, null, 512)), [
|
|
107
92
|
[Vue.unref(vTap.default), () => handleControlClick("chatControl")]
|
|
108
93
|
]) : Vue.createCommentVNode("", true),
|
|
109
94
|
Vue.createVNode(AIControl.default, {
|
|
110
|
-
onClick: _cache[
|
|
95
|
+
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("AIControl"))
|
|
111
96
|
}),
|
|
112
97
|
Vue.unref(roomStore).isSpeakAfterTakingSeatMode && (Vue.unref(isMaster) || Vue.unref(isAdmin)) ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(ManageStageControl_vue_vue_type_script_setup_true_lang.default, { key: 3 }, null, 512)), [
|
|
113
98
|
[Vue.unref(vTap.default), () => handleControlClick("MasterApplyControl")]
|
|
@@ -118,7 +103,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
118
103
|
Vue.withDirectives(Vue.createVNode(ManageMemberControl_vue_vue_type_script_setup_true_lang.default, null, null, 512), [
|
|
119
104
|
[Vue.unref(vTap.default), () => handleControlClick("manageMemberControl")]
|
|
120
105
|
]),
|
|
121
|
-
Vue.withDirectives(Vue.createVNode(Vue.unref(index$
|
|
106
|
+
Vue.withDirectives(Vue.createVNode(Vue.unref(index$1.default), { onShowOverlay: handleShowOverlay }, null, 512), [
|
|
122
107
|
[Vue.unref(vTap.default), () => handleControlClick("moreControl")]
|
|
123
108
|
])
|
|
124
109
|
]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const indexH5_vue_vue_type_script_setup_true_lang =
|
|
3
|
+
const indexH5_vue_vue_type_script_setup_true_lang = require("./indexH5.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
6
|
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-4450d628"]]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const indexH5_vue_vue_type_script_setup_true_lang =
|
|
3
|
+
const indexH5_vue_vue_type_script_setup_true_lang = require("./indexH5.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
6
|
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-bae34b36"]]);
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
declare const Index: {
|
|
2
|
-
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, {
|
|
3
|
-
P: {};
|
|
4
|
-
B: {};
|
|
5
|
-
D: {};
|
|
6
|
-
C: {};
|
|
7
|
-
M: {};
|
|
8
|
-
Defaults: {};
|
|
9
|
-
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
-
__isFragment?: never;
|
|
11
|
-
__isTeleport?: never;
|
|
12
|
-
__isSuspense?: never;
|
|
13
|
-
} & 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 () => {
|
|
14
|
-
$slots: {
|
|
15
|
-
content?(_: {}): any;
|
|
16
|
-
};
|
|
17
|
-
});
|
|
1
|
+
declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
2
|
export default Index;
|
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
declare
|
|
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>>;
|
|
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>;
|
|
6
2
|
export default _default;
|
|
7
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
-
new (): {
|
|
9
|
-
$slots: S;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const indexH5_vue_vue_type_script_setup_true_lang =
|
|
3
|
+
const indexH5_vue_vue_type_script_setup_true_lang = require("./indexH5.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-e545b2de"]]);
|
|
7
7
|
exports.default = indexH5;
|
|
@@ -13,7 +13,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
13
13
|
setup(__props) {
|
|
14
14
|
const { title, sidebarName, showSideBar } = useSideBarHooks.default();
|
|
15
15
|
return (_ctx, _cache) => {
|
|
16
|
-
const _component_room_vote = Vue.resolveComponent("room-vote");
|
|
17
16
|
return Vue.unref(showSideBar) ? (Vue.openBlock(), Vue.createBlock(PopUpH5.default, {
|
|
18
17
|
key: 0,
|
|
19
18
|
title: Vue.unref(title),
|
|
@@ -23,13 +22,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
23
22
|
Vue.createElementVNode("div", _hoisted_1, [
|
|
24
23
|
Vue.unref(sidebarName) === "chat" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$1.default), { key: 0 })) : Vue.createCommentVNode("", true),
|
|
25
24
|
Vue.unref(sidebarName) === "manage-member" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$2.default), { key: 1 })) : Vue.createCommentVNode("", true),
|
|
26
|
-
Vue.unref(sidebarName) === "apply" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$3.default), { key: 2 })) : Vue.createCommentVNode("", true)
|
|
27
|
-
Vue.unref(sidebarName) == "vote" ? (Vue.openBlock(), Vue.createBlock(_component_room_vote, { key: 3 }, {
|
|
28
|
-
content: Vue.withCtx(() => [
|
|
29
|
-
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
30
|
-
]),
|
|
31
|
-
_: 3
|
|
32
|
-
})) : Vue.createCommentVNode("", true)
|
|
25
|
+
Vue.unref(sidebarName) === "apply" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$3.default), { key: 2 })) : Vue.createCommentVNode("", true)
|
|
33
26
|
])
|
|
34
27
|
]),
|
|
35
28
|
sidebarFooter: Vue.withCtx(() => [
|
|
@@ -37,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
37
30
|
Vue.unref(sidebarName) === "chat" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index.default), { key: 0 })) : Vue.createCommentVNode("", true)
|
|
38
31
|
])
|
|
39
32
|
]),
|
|
40
|
-
_:
|
|
33
|
+
_: 1
|
|
41
34
|
}, 8, ["title"])) : Vue.createCommentVNode("", true);
|
|
42
35
|
};
|
|
43
36
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
declare const Index: {
|
|
1
|
+
declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
"on-close-contact": (...args: any[]) => void;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
"onOn-close-contact"?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
|
|
2
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, {
|
|
3
7
|
P: {};
|
|
4
8
|
B: {};
|
|
@@ -14,5 +18,5 @@ declare const Index: {
|
|
|
14
18
|
$slots: {
|
|
15
19
|
content?(_: {}): any;
|
|
16
20
|
};
|
|
17
|
-
});
|
|
21
|
+
}));
|
|
18
22
|
export default Index;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
"on-close-contact": (...args: any[]) => void;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
"onOn-close-contact"?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
export default _default;
|
|
7
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
-
new (): {
|
|
9
|
-
$slots: S;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const indexH5_vue_vue_type_script_setup_true_lang = require("./indexH5.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const
|
|
7
|
-
const _hoisted_1 = { class: "more-container" };
|
|
8
|
-
function _sfc_render(_ctx, _cache) {
|
|
9
|
-
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
10
|
-
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
11
|
-
]);
|
|
12
|
-
}
|
|
13
|
-
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5d02e842"]]);
|
|
6
|
+
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-939000cb"]]);
|
|
14
7
|
exports.default = indexH5;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const Vue = require("vue");
|
|
4
|
+
const useRoomMoreHooks = require("./useRoomMoreHooks.js");
|
|
5
|
+
const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
|
|
6
|
+
const vTap = require("../../directives/vTap.js");
|
|
7
|
+
const _hoisted_1 = { class: "contact-container-main" };
|
|
8
|
+
const _hoisted_2 = { class: "contact-title-main" };
|
|
9
|
+
const _hoisted_3 = { class: "cancel" };
|
|
10
|
+
const _hoisted_4 = { class: "contact-title" };
|
|
11
|
+
const _hoisted_5 = { class: "contact-content" };
|
|
12
|
+
const _hoisted_6 = { class: "contact-bottom" };
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
14
|
+
__name: "indexH5",
|
|
15
|
+
emits: ["on-close-contact"],
|
|
16
|
+
setup(__props, { emit: __emit }) {
|
|
17
|
+
const { t, onCopy, contactContentList } = useRoomMoreHooks.default();
|
|
18
|
+
const emit = __emit;
|
|
19
|
+
function handleCloseContact() {
|
|
20
|
+
emit("on-close-contact");
|
|
21
|
+
}
|
|
22
|
+
return (_ctx, _cache) => {
|
|
23
|
+
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
24
|
+
Vue.createElementVNode("div", _hoisted_2, [
|
|
25
|
+
Vue.createElementVNode("div", null, Vue.toDisplayString(Vue.unref(t)("Contact us")), 1),
|
|
26
|
+
Vue.withDirectives((Vue.openBlock(), Vue.createElementBlock("span", _hoisted_3, [
|
|
27
|
+
Vue.createTextVNode(Vue.toDisplayString(Vue.unref(t)("Cancel")), 1)
|
|
28
|
+
])), [
|
|
29
|
+
[Vue.unref(vTap.default), handleCloseContact]
|
|
30
|
+
])
|
|
31
|
+
]),
|
|
32
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(contactContentList), (item) => {
|
|
33
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
34
|
+
key: item.id,
|
|
35
|
+
class: "contact-content-main"
|
|
36
|
+
}, [
|
|
37
|
+
Vue.createElementVNode("span", _hoisted_4, Vue.toDisplayString(Vue.unref(t)(item.title)), 1),
|
|
38
|
+
Vue.createElementVNode("span", _hoisted_5, Vue.toDisplayString(item.content), 1),
|
|
39
|
+
Vue.withDirectives(Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconCopy), { class: "copy" }, null, 512), [
|
|
40
|
+
[Vue.unref(vTap.default), () => Vue.unref(onCopy)(item.copyLink)]
|
|
41
|
+
])
|
|
42
|
+
]);
|
|
43
|
+
}), 128)),
|
|
44
|
+
Vue.createElementVNode("span", _hoisted_6, Vue.toDisplayString(Vue.unref(t)(
|
|
45
|
+
"If you have any questions, please feel free to join our QQ group or send an email"
|
|
46
|
+
)), 1)
|
|
47
|
+
]);
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 index = require("../../locales/index.js");
|
|
6
|
+
require("../../utils/environment.js");
|
|
7
|
+
const adapter = require("../../utils/adapter.js");
|
|
8
|
+
function useRoomMoreHooks() {
|
|
9
|
+
const { t } = index.useI18n();
|
|
10
|
+
const groupNumber = "770645461";
|
|
11
|
+
const email = "chaooliang@tencent.com";
|
|
12
|
+
async function onCopy(value) {
|
|
13
|
+
try {
|
|
14
|
+
await adapter.clipBoard(value);
|
|
15
|
+
uikitBaseComponentVue3.TUIToast({
|
|
16
|
+
message: t("Copied successfully"),
|
|
17
|
+
type: uikitBaseComponentVue3.TOAST_TYPE.SUCCESS
|
|
18
|
+
});
|
|
19
|
+
} catch (error) {
|
|
20
|
+
uikitBaseComponentVue3.TUIToast({
|
|
21
|
+
message: t("Copied failure"),
|
|
22
|
+
type: uikitBaseComponentVue3.TOAST_TYPE.ERROR
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
const isZH = Vue.computed(() => index.default.global.locale.value === "zh-CN");
|
|
27
|
+
const contactContentList = [
|
|
28
|
+
{ id: 1, title: "group chat", content: groupNumber, copyLink: groupNumber },
|
|
29
|
+
{ id: 2, title: "Email", content: email, copyLink: email }
|
|
30
|
+
];
|
|
31
|
+
const handleClick = () => {
|
|
32
|
+
window.open("https://zhiliao.qq.com/s/c5GY7HIM62CK", "_blank");
|
|
33
|
+
};
|
|
34
|
+
return {
|
|
35
|
+
t,
|
|
36
|
+
onCopy,
|
|
37
|
+
contactContentList,
|
|
38
|
+
email,
|
|
39
|
+
handleClick,
|
|
40
|
+
isZH
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.default = useRoomMoreHooks;
|
package/lib/conference.vue.js
CHANGED
|
@@ -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-
|
|
7
|
+
const ConferenceMainView = /* @__PURE__ */ _pluginVue_exportHelper.default(conference_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-b4d71215"]]);
|
|
8
8
|
exports.default = ConferenceMainView;
|
package/lib/conference.vue2.js
CHANGED
|
@@ -276,10 +276,15 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
276
276
|
class: "footer",
|
|
277
277
|
onShowOverlay: handleShowOverlay,
|
|
278
278
|
onOnVote: onVote
|
|
279
|
-
},
|
|
279
|
+
}, {
|
|
280
|
+
content: Vue.withCtx(() => [
|
|
281
|
+
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
282
|
+
]),
|
|
283
|
+
_: 3
|
|
284
|
+
}, 512), [
|
|
280
285
|
[Vue.vShow, Vue.unref(showRoomTool)]
|
|
281
286
|
]),
|
|
282
|
-
Vue.createVNode(Vue.unref(index$3.default),
|
|
287
|
+
Vue.createVNode(Vue.unref(index$3.default), null, {
|
|
283
288
|
content: Vue.withCtx(() => [
|
|
284
289
|
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
285
290
|
]),
|