@ndscnj/roomkit-web-vue3 25.12.2420 → 25.12.2422
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/index.d.ts +6 -0
- package/es/components/RoomFooter/index/indexH5.vue.d.ts +3 -0
- package/es/components/RoomFooter/index/indexH5.vue.mjs +1 -1
- package/es/components/RoomFooter/index/indexH5.vue2.mjs +10 -2
- package/es/components/RoomFooter/voteControl.vue.d.ts +1 -0
- package/es/components/RoomFooter/voteControl.vue.mjs +1 -1
- package/es/components/RoomFooter/voteControl.vue2.mjs +3 -0
- package/es/components/RoomSidebar/index.d.ts +27 -1
- package/es/components/RoomSidebar/indexPC.vue.d.ts +5 -1
- package/es/components/RoomSidebar/indexPC.vue.mjs +12 -2
- package/es/index.mjs +9 -9
- package/lib/components/RoomFooter/index/index.d.ts +6 -0
- package/lib/components/RoomFooter/index/indexH5.vue.d.ts +3 -0
- package/lib/components/RoomFooter/index/indexH5.vue.js +1 -1
- package/lib/components/RoomFooter/index/indexH5.vue2.js +10 -2
- package/lib/components/RoomFooter/voteControl.vue.d.ts +1 -0
- package/lib/components/RoomFooter/voteControl.vue.js +1 -1
- package/lib/components/RoomFooter/voteControl.vue2.js +3 -0
- package/lib/components/RoomSidebar/index.d.ts +27 -1
- package/lib/components/RoomSidebar/indexPC.vue.d.ts +5 -1
- package/lib/components/RoomSidebar/indexPC.vue.js +12 -2
- package/lib/index.js +9 -9
- package/package.json +1 -1
- package/src/TUIRoom/components/RoomFooter/index/indexH5.vue +9 -2
- package/src/TUIRoom/components/RoomFooter/voteControl.vue +5 -2
- package/src/TUIRoom/components/RoomSidebar/indexPC.vue +10 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
declare const Index: ({
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
3
3
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
4
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
4
5
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
6
|
"show-overlay": (...args: any[]) => void;
|
|
7
|
+
"on-vote": (...args: any[]) => void;
|
|
6
8
|
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
7
9
|
P: {};
|
|
8
10
|
B: {};
|
|
@@ -12,16 +14,20 @@ declare const Index: ({
|
|
|
12
14
|
Defaults: {};
|
|
13
15
|
}, Readonly<{}> & Readonly<{
|
|
14
16
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
15
18
|
}>, {}, {}, {}, {}, {}>;
|
|
16
19
|
__isFragment?: never;
|
|
17
20
|
__isTeleport?: never;
|
|
18
21
|
__isSuspense?: never;
|
|
19
22
|
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
20
23
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
21
25
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
26
|
"show-overlay": (...args: any[]) => void;
|
|
27
|
+
"on-vote": (...args: any[]) => void;
|
|
23
28
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
24
29
|
$slots: {
|
|
30
|
+
content?(_: {}): any;
|
|
25
31
|
contentH5?(_: {}): any;
|
|
26
32
|
};
|
|
27
33
|
})) | ({
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
content?(_: {}): any;
|
|
2
3
|
contentH5?(_: {}): any;
|
|
3
4
|
};
|
|
4
5
|
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
6
|
"show-overlay": (...args: any[]) => void;
|
|
7
|
+
"on-vote": (...args: any[]) => void;
|
|
6
8
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
7
9
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
8
11
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
10
13
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./indexH5.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-39d26ee3"]]);
|
|
5
5
|
export {
|
|
6
6
|
indexH5 as default
|
|
7
7
|
};
|
|
@@ -63,13 +63,17 @@ import useRoomFooter from "./useRoomFooterHooks.mjs";
|
|
|
63
63
|
const _hoisted_1 = { class: "footer-container" };
|
|
64
64
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
65
65
|
__name: "indexH5",
|
|
66
|
-
emits: ["show-overlay"],
|
|
66
|
+
emits: ["show-overlay", "on-vote"],
|
|
67
67
|
setup(__props, { emit: __emit }) {
|
|
68
68
|
const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooter();
|
|
69
69
|
const emit = __emit;
|
|
70
70
|
function handleControlClick(name) {
|
|
71
71
|
bus.emit("experience-communication", name);
|
|
72
72
|
}
|
|
73
|
+
const onVote = (data) => {
|
|
74
|
+
console.log(data, "data789");
|
|
75
|
+
emit("on-vote", { code: data.visible, message: "vote" });
|
|
76
|
+
};
|
|
73
77
|
function handleShowOverlay(data) {
|
|
74
78
|
emit("show-overlay", data);
|
|
75
79
|
}
|
|
@@ -91,8 +95,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
91
95
|
[unref(vTap), () => handleControlClick("chatControl")]
|
|
92
96
|
]) : createCommentVNode("", true),
|
|
93
97
|
createVNode(voteControl, {
|
|
94
|
-
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("voteControl"))
|
|
98
|
+
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("voteControl")),
|
|
99
|
+
onOnVote: onVote
|
|
95
100
|
}, {
|
|
101
|
+
content: withCtx(() => [
|
|
102
|
+
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
103
|
+
]),
|
|
96
104
|
contentH5: withCtx(() => [
|
|
97
105
|
renderSlot(_ctx.$slots, "contentH5", {}, void 0, true)
|
|
98
106
|
]),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./voteControl.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const voteControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const voteControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3059b52a"]]);
|
|
5
5
|
export {
|
|
6
6
|
voteControl as default
|
|
7
7
|
};
|
|
@@ -36,6 +36,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
36
|
}
|
|
37
37
|
const basicStoreNew = useBasicStore();
|
|
38
38
|
function handleClose() {
|
|
39
|
+
showToolBox.value = false;
|
|
40
|
+
console.log(basicStoreNew, "basicStoreNew");
|
|
39
41
|
basicStoreNew.setSidebarOpenStatus(false);
|
|
40
42
|
basicStoreNew.setSidebarName("");
|
|
41
43
|
}
|
|
@@ -68,6 +70,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
68
70
|
]),
|
|
69
71
|
_cache[1] || (_cache[1] = createElementVNode("div", { class: "tool-box-item" }, "表决", -1))
|
|
70
72
|
]),
|
|
73
|
+
renderSlot(_ctx.$slots, "content", {}, void 0, true),
|
|
71
74
|
renderSlot(_ctx.$slots, "contentH5", {}, void 0, true),
|
|
72
75
|
_cache[2] || (_cache[2] = createElementVNode("div", { class: "bottom-box" }, null, -1))
|
|
73
76
|
])) : createCommentVNode("", true)
|
|
@@ -1,2 +1,28 @@
|
|
|
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
|
|
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> | ({
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
3
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
4
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"on-vote": (...args: any[]) => void;
|
|
6
|
+
}, 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
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, {}>;
|
|
16
|
+
__isFragment?: never;
|
|
17
|
+
__isTeleport?: never;
|
|
18
|
+
__isSuspense?: never;
|
|
19
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
20
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
"on-vote": (...args: any[]) => void;
|
|
23
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
24
|
+
$slots: {
|
|
25
|
+
content?(_: {}): any;
|
|
26
|
+
};
|
|
27
|
+
}));
|
|
2
28
|
export default Index;
|
|
@@ -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, {
|
|
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 & {
|
|
@@ -9,8 +9,15 @@ import AITranscription from "../common/widgets/AITools/AITranscription.vue.mjs";
|
|
|
9
9
|
const _hoisted_1 = { class: "sidebar-container" };
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "indexPC",
|
|
12
|
-
|
|
12
|
+
emits: [
|
|
13
|
+
"on-vote"
|
|
14
|
+
],
|
|
15
|
+
setup(__props, { emit: __emit }) {
|
|
13
16
|
const { isSidebarOpen, title, handleClose, sidebarName } = useSideBar();
|
|
17
|
+
const emit = __emit;
|
|
18
|
+
const onVote = (data) => {
|
|
19
|
+
emit("on-vote", { code: data.visible, message: "vote" });
|
|
20
|
+
};
|
|
14
21
|
return (_ctx, _cache) => {
|
|
15
22
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
16
23
|
createVNode(Drawer, {
|
|
@@ -23,7 +30,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
30
|
}, {
|
|
24
31
|
default: withCtx(() => [
|
|
25
32
|
unref(sidebarName) == "chat" ? (openBlock(), createBlock(unref(Index), { key: 0 })) : createCommentVNode("", true),
|
|
26
|
-
unref(sidebarName) == "vote" ? (openBlock(), createBlock(unref(Index$1), {
|
|
33
|
+
unref(sidebarName) == "vote" ? (openBlock(), createBlock(unref(Index$1), {
|
|
34
|
+
key: 1,
|
|
35
|
+
onOnVote: onVote
|
|
36
|
+
}, {
|
|
27
37
|
content: withCtx(() => [
|
|
28
38
|
renderSlot(_ctx.$slots, "content")
|
|
29
39
|
]),
|
package/es/index.mjs
CHANGED
|
@@ -3635,7 +3635,7 @@ to {
|
|
|
3635
3635
|
border-radius: 8px;
|
|
3636
3636
|
color: var(--text-color-primary);
|
|
3637
3637
|
background-color: var(--button-color-secondary-default);
|
|
3638
|
-
}.contact-container[data-v-
|
|
3638
|
+
}.contact-container[data-v-3059b52a] {
|
|
3639
3639
|
position: fixed;
|
|
3640
3640
|
top: 0;
|
|
3641
3641
|
bottom: 0;
|
|
@@ -3644,17 +3644,17 @@ to {
|
|
|
3644
3644
|
box-sizing: border-box;
|
|
3645
3645
|
width: 100vw;
|
|
3646
3646
|
height: auto;
|
|
3647
|
-
background-color:
|
|
3647
|
+
background-color: #fff;
|
|
3648
3648
|
}
|
|
3649
|
-
.contact-container .container-title-box[data-v-
|
|
3649
|
+
.contact-container .container-title-box[data-v-3059b52a] {
|
|
3650
3650
|
width: 100vw;
|
|
3651
3651
|
height: 6vh;
|
|
3652
|
-
background-color:
|
|
3652
|
+
background-color: #fff;
|
|
3653
3653
|
display: flex;
|
|
3654
3654
|
align-items: center;
|
|
3655
3655
|
justify-content: center;
|
|
3656
3656
|
}
|
|
3657
|
-
.contact-container .container-title-box .icon-container[data-v-
|
|
3657
|
+
.contact-container .container-title-box .icon-container[data-v-3059b52a] {
|
|
3658
3658
|
position: absolute;
|
|
3659
3659
|
top: 0;
|
|
3660
3660
|
left: 0;
|
|
@@ -3664,15 +3664,15 @@ to {
|
|
|
3664
3664
|
padding: 20px 25px;
|
|
3665
3665
|
background-size: cover;
|
|
3666
3666
|
}
|
|
3667
|
-
.contact-container .container-title-box .close-icon[data-v-
|
|
3667
|
+
.contact-container .container-title-box .close-icon[data-v-3059b52a] {
|
|
3668
3668
|
background-size: cover;
|
|
3669
3669
|
}
|
|
3670
|
-
.contact-container .bottom-box[data-v-
|
|
3670
|
+
.contact-container .bottom-box[data-v-3059b52a] {
|
|
3671
3671
|
width: 100vw;
|
|
3672
3672
|
height: 7vh;
|
|
3673
3673
|
background-color: var(--uikit-color-black-8);
|
|
3674
3674
|
}
|
|
3675
|
-
.ndsc-img-box[data-v-
|
|
3675
|
+
.ndsc-img-box[data-v-3059b52a] {
|
|
3676
3676
|
width: 24px;
|
|
3677
3677
|
height: 24px;
|
|
3678
3678
|
}.tool-box[data-v-34681937] {
|
|
@@ -3704,7 +3704,7 @@ to {
|
|
|
3704
3704
|
.tool-box .tool-box-item[data-v-34681937]:hover {
|
|
3705
3705
|
border-radius: 8px;
|
|
3706
3706
|
background-color: var(--list-color-hover);
|
|
3707
|
-
}.footer-container[data-v-
|
|
3707
|
+
}.footer-container[data-v-39d26ee3] {
|
|
3708
3708
|
position: absolute;
|
|
3709
3709
|
bottom: 0;
|
|
3710
3710
|
display: flex;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
declare const Index: ({
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
3
3
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
4
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
4
5
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
6
|
"show-overlay": (...args: any[]) => void;
|
|
7
|
+
"on-vote": (...args: any[]) => void;
|
|
6
8
|
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
7
9
|
P: {};
|
|
8
10
|
B: {};
|
|
@@ -12,16 +14,20 @@ declare const Index: ({
|
|
|
12
14
|
Defaults: {};
|
|
13
15
|
}, Readonly<{}> & Readonly<{
|
|
14
16
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
15
18
|
}>, {}, {}, {}, {}, {}>;
|
|
16
19
|
__isFragment?: never;
|
|
17
20
|
__isTeleport?: never;
|
|
18
21
|
__isSuspense?: never;
|
|
19
22
|
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
20
23
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
21
25
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
26
|
"show-overlay": (...args: any[]) => void;
|
|
27
|
+
"on-vote": (...args: any[]) => void;
|
|
23
28
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
24
29
|
$slots: {
|
|
30
|
+
content?(_: {}): any;
|
|
25
31
|
contentH5?(_: {}): any;
|
|
26
32
|
};
|
|
27
33
|
})) | ({
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
content?(_: {}): any;
|
|
2
3
|
contentH5?(_: {}): any;
|
|
3
4
|
};
|
|
4
5
|
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
6
|
"show-overlay": (...args: any[]) => void;
|
|
7
|
+
"on-vote": (...args: any[]) => void;
|
|
6
8
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
7
9
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
8
11
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
10
13
|
export default _default;
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
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-39d26ee3"]]);
|
|
7
7
|
exports.default = indexH5;
|
|
@@ -65,13 +65,17 @@ const useRoomFooterHooks = require("./useRoomFooterHooks.js");
|
|
|
65
65
|
const _hoisted_1 = { class: "footer-container" };
|
|
66
66
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
67
67
|
__name: "indexH5",
|
|
68
|
-
emits: ["show-overlay"],
|
|
68
|
+
emits: ["show-overlay", "on-vote"],
|
|
69
69
|
setup(__props, { emit: __emit }) {
|
|
70
70
|
const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooterHooks.default();
|
|
71
71
|
const emit = __emit;
|
|
72
72
|
function handleControlClick(name) {
|
|
73
73
|
useMitt.default.emit("experience-communication", name);
|
|
74
74
|
}
|
|
75
|
+
const onVote = (data) => {
|
|
76
|
+
console.log(data, "data789");
|
|
77
|
+
emit("on-vote", { code: data.visible, message: "vote" });
|
|
78
|
+
};
|
|
75
79
|
function handleShowOverlay(data) {
|
|
76
80
|
emit("show-overlay", data);
|
|
77
81
|
}
|
|
@@ -93,8 +97,12 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
93
97
|
[Vue.unref(vTap.default), () => handleControlClick("chatControl")]
|
|
94
98
|
]) : Vue.createCommentVNode("", true),
|
|
95
99
|
Vue.createVNode(voteControl.default, {
|
|
96
|
-
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("voteControl"))
|
|
100
|
+
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("voteControl")),
|
|
101
|
+
onOnVote: onVote
|
|
97
102
|
}, {
|
|
103
|
+
content: Vue.withCtx(() => [
|
|
104
|
+
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
105
|
+
]),
|
|
98
106
|
contentH5: Vue.withCtx(() => [
|
|
99
107
|
Vue.renderSlot(_ctx.$slots, "contentH5", {}, void 0, true)
|
|
100
108
|
]),
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const voteControl_vue_vue_type_script_setup_true_lang = require("./voteControl.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
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-
|
|
6
|
+
const voteControl = /* @__PURE__ */ _pluginVue_exportHelper.default(voteControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-3059b52a"]]);
|
|
7
7
|
exports.default = voteControl;
|
|
@@ -38,6 +38,8 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
38
38
|
}
|
|
39
39
|
const basicStoreNew = basic.useBasicStore();
|
|
40
40
|
function handleClose() {
|
|
41
|
+
showToolBox.value = false;
|
|
42
|
+
console.log(basicStoreNew, "basicStoreNew");
|
|
41
43
|
basicStoreNew.setSidebarOpenStatus(false);
|
|
42
44
|
basicStoreNew.setSidebarName("");
|
|
43
45
|
}
|
|
@@ -70,6 +72,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
70
72
|
]),
|
|
71
73
|
_cache[1] || (_cache[1] = Vue.createElementVNode("div", { class: "tool-box-item" }, "表决", -1))
|
|
72
74
|
]),
|
|
75
|
+
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true),
|
|
73
76
|
Vue.renderSlot(_ctx.$slots, "contentH5", {}, void 0, true),
|
|
74
77
|
_cache[2] || (_cache[2] = Vue.createElementVNode("div", { class: "bottom-box" }, null, -1))
|
|
75
78
|
])) : Vue.createCommentVNode("", true)
|
|
@@ -1,2 +1,28 @@
|
|
|
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
|
|
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> | ({
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
3
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
4
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"on-vote": (...args: any[]) => void;
|
|
6
|
+
}, 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
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, {}>;
|
|
16
|
+
__isFragment?: never;
|
|
17
|
+
__isTeleport?: never;
|
|
18
|
+
__isSuspense?: never;
|
|
19
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
20
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
"on-vote": (...args: any[]) => void;
|
|
23
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
24
|
+
$slots: {
|
|
25
|
+
content?(_: {}): any;
|
|
26
|
+
};
|
|
27
|
+
}));
|
|
2
28
|
export default Index;
|
|
@@ -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, {
|
|
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 & {
|
|
@@ -11,8 +11,15 @@ const AITranscription = require("../common/widgets/AITools/AITranscription.vue.j
|
|
|
11
11
|
const _hoisted_1 = { class: "sidebar-container" };
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
13
13
|
__name: "indexPC",
|
|
14
|
-
|
|
14
|
+
emits: [
|
|
15
|
+
"on-vote"
|
|
16
|
+
],
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
15
18
|
const { isSidebarOpen, title, handleClose, sidebarName } = useSideBarHooks.default();
|
|
19
|
+
const emit = __emit;
|
|
20
|
+
const onVote = (data) => {
|
|
21
|
+
emit("on-vote", { code: data.visible, message: "vote" });
|
|
22
|
+
};
|
|
16
23
|
return (_ctx, _cache) => {
|
|
17
24
|
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
18
25
|
Vue.createVNode(Drawer.default, {
|
|
@@ -25,7 +32,10 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
25
32
|
}, {
|
|
26
33
|
default: Vue.withCtx(() => [
|
|
27
34
|
Vue.unref(sidebarName) == "chat" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index.default), { key: 0 })) : Vue.createCommentVNode("", true),
|
|
28
|
-
Vue.unref(sidebarName) == "vote" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$1.default), {
|
|
35
|
+
Vue.unref(sidebarName) == "vote" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$1.default), {
|
|
36
|
+
key: 1,
|
|
37
|
+
onOnVote: onVote
|
|
38
|
+
}, {
|
|
29
39
|
content: Vue.withCtx(() => [
|
|
30
40
|
Vue.renderSlot(_ctx.$slots, "content")
|
|
31
41
|
]),
|
package/lib/index.js
CHANGED
|
@@ -3635,7 +3635,7 @@ to {
|
|
|
3635
3635
|
border-radius: 8px;
|
|
3636
3636
|
color: var(--text-color-primary);
|
|
3637
3637
|
background-color: var(--button-color-secondary-default);
|
|
3638
|
-
}.contact-container[data-v-
|
|
3638
|
+
}.contact-container[data-v-3059b52a] {
|
|
3639
3639
|
position: fixed;
|
|
3640
3640
|
top: 0;
|
|
3641
3641
|
bottom: 0;
|
|
@@ -3644,17 +3644,17 @@ to {
|
|
|
3644
3644
|
box-sizing: border-box;
|
|
3645
3645
|
width: 100vw;
|
|
3646
3646
|
height: auto;
|
|
3647
|
-
background-color:
|
|
3647
|
+
background-color: #fff;
|
|
3648
3648
|
}
|
|
3649
|
-
.contact-container .container-title-box[data-v-
|
|
3649
|
+
.contact-container .container-title-box[data-v-3059b52a] {
|
|
3650
3650
|
width: 100vw;
|
|
3651
3651
|
height: 6vh;
|
|
3652
|
-
background-color:
|
|
3652
|
+
background-color: #fff;
|
|
3653
3653
|
display: flex;
|
|
3654
3654
|
align-items: center;
|
|
3655
3655
|
justify-content: center;
|
|
3656
3656
|
}
|
|
3657
|
-
.contact-container .container-title-box .icon-container[data-v-
|
|
3657
|
+
.contact-container .container-title-box .icon-container[data-v-3059b52a] {
|
|
3658
3658
|
position: absolute;
|
|
3659
3659
|
top: 0;
|
|
3660
3660
|
left: 0;
|
|
@@ -3664,15 +3664,15 @@ to {
|
|
|
3664
3664
|
padding: 20px 25px;
|
|
3665
3665
|
background-size: cover;
|
|
3666
3666
|
}
|
|
3667
|
-
.contact-container .container-title-box .close-icon[data-v-
|
|
3667
|
+
.contact-container .container-title-box .close-icon[data-v-3059b52a] {
|
|
3668
3668
|
background-size: cover;
|
|
3669
3669
|
}
|
|
3670
|
-
.contact-container .bottom-box[data-v-
|
|
3670
|
+
.contact-container .bottom-box[data-v-3059b52a] {
|
|
3671
3671
|
width: 100vw;
|
|
3672
3672
|
height: 7vh;
|
|
3673
3673
|
background-color: var(--uikit-color-black-8);
|
|
3674
3674
|
}
|
|
3675
|
-
.ndsc-img-box[data-v-
|
|
3675
|
+
.ndsc-img-box[data-v-3059b52a] {
|
|
3676
3676
|
width: 24px;
|
|
3677
3677
|
height: 24px;
|
|
3678
3678
|
}.tool-box[data-v-34681937] {
|
|
@@ -3704,7 +3704,7 @@ to {
|
|
|
3704
3704
|
.tool-box .tool-box-item[data-v-34681937]:hover {
|
|
3705
3705
|
border-radius: 8px;
|
|
3706
3706
|
background-color: var(--list-color-hover);
|
|
3707
|
-
}.footer-container[data-v-
|
|
3707
|
+
}.footer-container[data-v-39d26ee3] {
|
|
3708
3708
|
position: absolute;
|
|
3709
3709
|
bottom: 0;
|
|
3710
3710
|
display: flex;
|
package/package.json
CHANGED
|
@@ -16,7 +16,11 @@
|
|
|
16
16
|
/>
|
|
17
17
|
<voteControl
|
|
18
18
|
@click="handleControlClick('voteControl')"
|
|
19
|
+
@on-vote="onVote"
|
|
19
20
|
>
|
|
21
|
+
<template #content>
|
|
22
|
+
<slot name="content"></slot>
|
|
23
|
+
</template>
|
|
20
24
|
<template #contentH5>
|
|
21
25
|
<slot name="contentH5"></slot>
|
|
22
26
|
</template>
|
|
@@ -62,12 +66,15 @@ import useRoomFooter from './useRoomFooterHooks';
|
|
|
62
66
|
|
|
63
67
|
const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooter();
|
|
64
68
|
|
|
65
|
-
const emit = defineEmits(['show-overlay']);
|
|
69
|
+
const emit = defineEmits(['show-overlay','on-vote']);
|
|
66
70
|
|
|
67
71
|
function handleControlClick(name: string) {
|
|
68
72
|
bus.emit('experience-communication', name);
|
|
69
73
|
}
|
|
70
|
-
|
|
74
|
+
const onVote = (data: { name: string; visible: boolean }) => {
|
|
75
|
+
console.log(data,"data789")
|
|
76
|
+
emit('on-vote', { code: data.visible, message: 'vote' });
|
|
77
|
+
};
|
|
71
78
|
function handleShowOverlay(data: { name: string; visible: boolean }) {
|
|
72
79
|
emit('show-overlay', data);
|
|
73
80
|
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
</span>
|
|
15
15
|
<div class="tool-box-item">表决</div>
|
|
16
16
|
</div>
|
|
17
|
+
<slot name="content"></slot>
|
|
17
18
|
<slot name="contentH5"></slot>
|
|
18
19
|
<div class="bottom-box"></div>
|
|
19
20
|
</div>
|
|
@@ -42,6 +43,8 @@ function toggleToolBox() {
|
|
|
42
43
|
}
|
|
43
44
|
const basicStoreNew = useBasicStore();
|
|
44
45
|
function handleClose() {
|
|
46
|
+
showToolBox.value=false
|
|
47
|
+
console.log(basicStoreNew,"basicStoreNew")
|
|
45
48
|
basicStoreNew.setSidebarOpenStatus(false);
|
|
46
49
|
basicStoreNew.setSidebarName('');
|
|
47
50
|
}
|
|
@@ -57,11 +60,11 @@ function handleClose() {
|
|
|
57
60
|
box-sizing: border-box;
|
|
58
61
|
width: 100vw;
|
|
59
62
|
height: auto;
|
|
60
|
-
background-color:
|
|
63
|
+
background-color: #fff;
|
|
61
64
|
.container-title-box{
|
|
62
65
|
width: 100vw;
|
|
63
66
|
height: 6vh;
|
|
64
|
-
background-color:
|
|
67
|
+
background-color: #fff;
|
|
65
68
|
display: flex;
|
|
66
69
|
align-items: center;
|
|
67
70
|
justify-content: center;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
:size="400"
|
|
9
9
|
>
|
|
10
10
|
<chat v-if="sidebarName == 'chat'" />
|
|
11
|
-
<room-vote v-if="sidebarName == 'vote'" >
|
|
11
|
+
<room-vote v-if="sidebarName == 'vote'" @on-vote="onVote">
|
|
12
12
|
<template #content>
|
|
13
13
|
<slot name="content"></slot>
|
|
14
14
|
</template>
|
|
@@ -28,7 +28,16 @@ import RoomMore from '../RoomMore';
|
|
|
28
28
|
import RoomVote from '../RoomVote';
|
|
29
29
|
import Chat from '../Chat/index';
|
|
30
30
|
import AITranscription from '../common/widgets/AITools/AITranscription.vue';
|
|
31
|
+
import {
|
|
32
|
+
defineEmits,
|
|
33
|
+
} from 'vue';
|
|
31
34
|
const { isSidebarOpen, title, handleClose, sidebarName } = useSideBar();
|
|
35
|
+
const emit = defineEmits([
|
|
36
|
+
'on-vote',
|
|
37
|
+
]);
|
|
38
|
+
const onVote = (data: { name: string; visible: boolean }) => {
|
|
39
|
+
emit('on-vote', { code: data.visible, message: 'vote' });
|
|
40
|
+
};
|
|
32
41
|
</script>
|
|
33
42
|
|
|
34
43
|
<style lang="scss"></style>
|