@ndscnj/roomkit-web-vue3 25.12.24156 → 25.12.24158
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/MoreControlPC.vue.d.ts +5 -1
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +7 -1
- package/es/components/RoomFooter/VoteControl/index.d.ts +5 -1
- package/es/components/RoomFooter/VoteControl/useMoreControlHooks.mjs +3 -1
- 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 +13 -2
- package/es/conference.vue.mjs +1 -1
- package/es/conference.vue2.mjs +1 -1
- package/es/index.mjs +7 -7
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts +5 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +7 -1
- package/lib/components/RoomFooter/VoteControl/index.d.ts +5 -1
- package/lib/components/RoomFooter/VoteControl/useMoreControlHooks.js +3 -1
- 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 -1
- package/lib/conference.vue.js +1 -1
- package/lib/conference.vue2.js +1 -1
- package/lib/index.js +7 -7
- package/package.json +1 -1
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +6 -2
- package/src/TUIRoom/components/RoomFooter/VoteControl/useMoreControlHooks.ts +2 -1
- package/src/TUIRoom/components/RoomSidebar/indexPC.vue +12 -1
- package/src/TUIRoom/conference.vue +1 -1
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
"on-vote": (...args: any[]) => void;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
6
|
export default _default;
|
|
@@ -16,9 +16,11 @@ const _hoisted_1 = {
|
|
|
16
16
|
};
|
|
17
17
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
18
|
__name: "MoreControlPC",
|
|
19
|
-
|
|
19
|
+
emits: ["on-vote"],
|
|
20
|
+
setup(__props, { emit: __emit }) {
|
|
20
21
|
const moreControlConfig = roomService.getComponentConfig("MoreControl");
|
|
21
22
|
const { t, basicStore, sidebarName } = useControl();
|
|
23
|
+
const emit = __emit;
|
|
22
24
|
function toggleMoreSidebar() {
|
|
23
25
|
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
|
|
24
26
|
basicStore.setSidebarOpenStatus(false);
|
|
@@ -27,6 +29,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
29
|
}
|
|
28
30
|
basicStore.setSidebarOpenStatus(true);
|
|
29
31
|
basicStore.setSidebarName("vote");
|
|
32
|
+
emit("on-vote", {
|
|
33
|
+
name: "onVote",
|
|
34
|
+
visible: basicStore.isSidebarOpen
|
|
35
|
+
});
|
|
30
36
|
}
|
|
31
37
|
return (_ctx, _cache) => {
|
|
32
38
|
return unref(moreControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
@@ -2,5 +2,9 @@ declare const MoreControl: import('vue').DefineComponent<{}, {}, {}, {}, {}, imp
|
|
|
2
2
|
"show-overlay": (...args: any[]) => void;
|
|
3
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
4
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
"on-vote": (...args: any[]) => void;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
10
|
export default MoreControl;
|
|
@@ -7,6 +7,7 @@ function useControl() {
|
|
|
7
7
|
const { t } = useI18n();
|
|
8
8
|
const basicStore = useBasicStore();
|
|
9
9
|
const { sidebarName } = storeToRefs(basicStore);
|
|
10
|
+
const isSidebarOpen = computed(() => basicStore.isSidebarOpen);
|
|
10
11
|
const iconName = computed(
|
|
11
12
|
() => sidebarName.value === "vote" ? ICON_NAME.MoreActive : ICON_NAME.More
|
|
12
13
|
);
|
|
@@ -14,7 +15,8 @@ function useControl() {
|
|
|
14
15
|
t,
|
|
15
16
|
basicStore,
|
|
16
17
|
iconName,
|
|
17
|
-
sidebarName
|
|
18
|
+
sidebarName,
|
|
19
|
+
isSidebarOpen
|
|
18
20
|
};
|
|
19
21
|
}
|
|
20
22
|
export {
|
|
@@ -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 & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, createVNode, unref, isRef, withCtx, createBlock, createCommentVNode, renderSlot } from "vue";
|
|
1
|
+
import { defineComponent, watch, createElementBlock, openBlock, createVNode, unref, isRef, withCtx, createBlock, createCommentVNode, renderSlot } from "vue";
|
|
2
2
|
import Drawer from "../common/base/Drawer.vue.mjs";
|
|
3
3
|
import useSideBar from "./useSideBarHooks.mjs";
|
|
4
4
|
import index from "../ManageMember/index.mjs";
|
|
@@ -9,8 +9,19 @@ 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: ["on-vote"],
|
|
13
|
+
setup(__props, { emit: __emit }) {
|
|
13
14
|
const { isSidebarOpen, title, handleClose, sidebarName } = useSideBar();
|
|
15
|
+
const emit = __emit;
|
|
16
|
+
watch(
|
|
17
|
+
() => isSidebarOpen,
|
|
18
|
+
(newValue, oldValue) => {
|
|
19
|
+
emit("on-vote", {
|
|
20
|
+
name: "onVote",
|
|
21
|
+
visible: isSidebarOpen
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
);
|
|
14
25
|
return (_ctx, _cache) => {
|
|
15
26
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
16
27
|
createVNode(Drawer, {
|
package/es/conference.vue.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import _sfc_main from "./conference.vue2.mjs";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import _export_sfc from "./_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const ConferenceMainView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const ConferenceMainView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4dd66a12"]]);
|
|
6
6
|
export {
|
|
7
7
|
ConferenceMainView as default
|
|
8
8
|
};
|
package/es/conference.vue2.mjs
CHANGED
|
@@ -282,7 +282,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
282
282
|
}, 512), [
|
|
283
283
|
[vShow, unref(showRoomTool)]
|
|
284
284
|
]),
|
|
285
|
-
createVNode(unref(Index$1),
|
|
285
|
+
createVNode(unref(Index$1), { onOnVote: onVote }, {
|
|
286
286
|
content: withCtx(() => [
|
|
287
287
|
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
288
288
|
]),
|
package/es/index.mjs
CHANGED
|
@@ -9168,7 +9168,7 @@ body, html {
|
|
|
9168
9168
|
}
|
|
9169
9169
|
.tui-room :not([class|=el]) {
|
|
9170
9170
|
transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
|
|
9171
|
-
}.tui-room[data-v-
|
|
9171
|
+
}.tui-room[data-v-4dd66a12] {
|
|
9172
9172
|
position: relative;
|
|
9173
9173
|
display: flex;
|
|
9174
9174
|
flex-direction: column;
|
|
@@ -9180,7 +9180,7 @@ body, html {
|
|
|
9180
9180
|
text-align: left;
|
|
9181
9181
|
background-color: var(--bg-color-topbar);
|
|
9182
9182
|
}
|
|
9183
|
-
.tui-room .header[data-v-
|
|
9183
|
+
.tui-room .header[data-v-4dd66a12] {
|
|
9184
9184
|
position: absolute;
|
|
9185
9185
|
top: 0;
|
|
9186
9186
|
left: 0;
|
|
@@ -9191,20 +9191,20 @@ body, html {
|
|
|
9191
9191
|
border-bottom: 1px solid var(--stroke-color-primary);
|
|
9192
9192
|
box-shadow: 0 1px 0 var(--uikit-color-black-8);
|
|
9193
9193
|
}
|
|
9194
|
-
.tui-room .content[data-v-
|
|
9194
|
+
.tui-room .content[data-v-4dd66a12] {
|
|
9195
9195
|
position: absolute;
|
|
9196
9196
|
top: 0;
|
|
9197
9197
|
width: 100%;
|
|
9198
9198
|
height: 100%;
|
|
9199
9199
|
background-color: var(--bg-color-topbar);
|
|
9200
9200
|
}
|
|
9201
|
-
.tui-room.tui-room-h5[data-v-
|
|
9201
|
+
.tui-room.tui-room-h5[data-v-4dd66a12] {
|
|
9202
9202
|
width: 100%;
|
|
9203
9203
|
min-width: 350px;
|
|
9204
9204
|
height: 100%;
|
|
9205
9205
|
min-height: 525px;
|
|
9206
9206
|
}
|
|
9207
|
-
#roomContainer.chat-room[data-v-
|
|
9207
|
+
#roomContainer.chat-room[data-v-4dd66a12] {
|
|
9208
9208
|
position: absolute;
|
|
9209
9209
|
top: 0;
|
|
9210
9210
|
right: 0;
|
|
@@ -9216,8 +9216,8 @@ body, html {
|
|
|
9216
9216
|
margin: auto;
|
|
9217
9217
|
border-radius: 10px;
|
|
9218
9218
|
}
|
|
9219
|
-
#roomContainer.tui-room-h5[data-v-
|
|
9220
|
-
#roomContainer .chat-room[data-v-
|
|
9219
|
+
#roomContainer.tui-room-h5[data-v-4dd66a12],
|
|
9220
|
+
#roomContainer .chat-room[data-v-4dd66a12] {
|
|
9221
9221
|
width: 100%;
|
|
9222
9222
|
height: 100%;
|
|
9223
9223
|
}.user-info-container[data-v-9e9aff53] {
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
"on-vote": (...args: any[]) => void;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
6
|
export default _default;
|
|
@@ -18,9 +18,11 @@ const _hoisted_1 = {
|
|
|
18
18
|
};
|
|
19
19
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
20
20
|
__name: "MoreControlPC",
|
|
21
|
-
|
|
21
|
+
emits: ["on-vote"],
|
|
22
|
+
setup(__props, { emit: __emit }) {
|
|
22
23
|
const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
|
|
23
24
|
const { t, basicStore, sidebarName } = useMoreControlHooks.default();
|
|
25
|
+
const emit = __emit;
|
|
24
26
|
function toggleMoreSidebar() {
|
|
25
27
|
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
|
|
26
28
|
basicStore.setSidebarOpenStatus(false);
|
|
@@ -29,6 +31,10 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
29
31
|
}
|
|
30
32
|
basicStore.setSidebarOpenStatus(true);
|
|
31
33
|
basicStore.setSidebarName("vote");
|
|
34
|
+
emit("on-vote", {
|
|
35
|
+
name: "onVote",
|
|
36
|
+
visible: basicStore.isSidebarOpen
|
|
37
|
+
});
|
|
32
38
|
}
|
|
33
39
|
return (_ctx, _cache) => {
|
|
34
40
|
return Vue.unref(moreControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
@@ -2,5 +2,9 @@ declare const MoreControl: import('vue').DefineComponent<{}, {}, {}, {}, {}, imp
|
|
|
2
2
|
"show-overlay": (...args: any[]) => void;
|
|
3
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
4
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
"on-vote": (...args: any[]) => void;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
10
|
export default MoreControl;
|
|
@@ -9,6 +9,7 @@ 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);
|
|
12
13
|
const iconName = Vue.computed(
|
|
13
14
|
() => sidebarName.value === "vote" ? icon.ICON_NAME.MoreActive : icon.ICON_NAME.More
|
|
14
15
|
);
|
|
@@ -16,7 +17,8 @@ function useControl() {
|
|
|
16
17
|
t,
|
|
17
18
|
basicStore,
|
|
18
19
|
iconName,
|
|
19
|
-
sidebarName
|
|
20
|
+
sidebarName,
|
|
21
|
+
isSidebarOpen
|
|
20
22
|
};
|
|
21
23
|
}
|
|
22
24
|
exports.default = useControl;
|
|
@@ -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,19 @@ 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: ["on-vote"],
|
|
15
|
+
setup(__props, { emit: __emit }) {
|
|
15
16
|
const { isSidebarOpen, title, handleClose, sidebarName } = useSideBarHooks.default();
|
|
17
|
+
const emit = __emit;
|
|
18
|
+
Vue.watch(
|
|
19
|
+
() => isSidebarOpen,
|
|
20
|
+
(newValue, oldValue) => {
|
|
21
|
+
emit("on-vote", {
|
|
22
|
+
name: "onVote",
|
|
23
|
+
visible: isSidebarOpen
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
);
|
|
16
27
|
return (_ctx, _cache) => {
|
|
17
28
|
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
18
29
|
Vue.createVNode(Drawer.default, {
|
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-4dd66a12"]]);
|
|
8
8
|
exports.default = ConferenceMainView;
|
package/lib/conference.vue2.js
CHANGED
|
@@ -284,7 +284,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
284
284
|
}, 512), [
|
|
285
285
|
[Vue.vShow, Vue.unref(showRoomTool)]
|
|
286
286
|
]),
|
|
287
|
-
Vue.createVNode(Vue.unref(index$3.default),
|
|
287
|
+
Vue.createVNode(Vue.unref(index$3.default), { onOnVote: onVote }, {
|
|
288
288
|
content: Vue.withCtx(() => [
|
|
289
289
|
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
290
290
|
]),
|
package/lib/index.js
CHANGED
|
@@ -9168,7 +9168,7 @@ body, html {
|
|
|
9168
9168
|
}
|
|
9169
9169
|
.tui-room :not([class|=el]) {
|
|
9170
9170
|
transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
|
|
9171
|
-
}.tui-room[data-v-
|
|
9171
|
+
}.tui-room[data-v-4dd66a12] {
|
|
9172
9172
|
position: relative;
|
|
9173
9173
|
display: flex;
|
|
9174
9174
|
flex-direction: column;
|
|
@@ -9180,7 +9180,7 @@ body, html {
|
|
|
9180
9180
|
text-align: left;
|
|
9181
9181
|
background-color: var(--bg-color-topbar);
|
|
9182
9182
|
}
|
|
9183
|
-
.tui-room .header[data-v-
|
|
9183
|
+
.tui-room .header[data-v-4dd66a12] {
|
|
9184
9184
|
position: absolute;
|
|
9185
9185
|
top: 0;
|
|
9186
9186
|
left: 0;
|
|
@@ -9191,20 +9191,20 @@ body, html {
|
|
|
9191
9191
|
border-bottom: 1px solid var(--stroke-color-primary);
|
|
9192
9192
|
box-shadow: 0 1px 0 var(--uikit-color-black-8);
|
|
9193
9193
|
}
|
|
9194
|
-
.tui-room .content[data-v-
|
|
9194
|
+
.tui-room .content[data-v-4dd66a12] {
|
|
9195
9195
|
position: absolute;
|
|
9196
9196
|
top: 0;
|
|
9197
9197
|
width: 100%;
|
|
9198
9198
|
height: 100%;
|
|
9199
9199
|
background-color: var(--bg-color-topbar);
|
|
9200
9200
|
}
|
|
9201
|
-
.tui-room.tui-room-h5[data-v-
|
|
9201
|
+
.tui-room.tui-room-h5[data-v-4dd66a12] {
|
|
9202
9202
|
width: 100%;
|
|
9203
9203
|
min-width: 350px;
|
|
9204
9204
|
height: 100%;
|
|
9205
9205
|
min-height: 525px;
|
|
9206
9206
|
}
|
|
9207
|
-
#roomContainer.chat-room[data-v-
|
|
9207
|
+
#roomContainer.chat-room[data-v-4dd66a12] {
|
|
9208
9208
|
position: absolute;
|
|
9209
9209
|
top: 0;
|
|
9210
9210
|
right: 0;
|
|
@@ -9216,8 +9216,8 @@ body, html {
|
|
|
9216
9216
|
margin: auto;
|
|
9217
9217
|
border-radius: 10px;
|
|
9218
9218
|
}
|
|
9219
|
-
#roomContainer.tui-room-h5[data-v-
|
|
9220
|
-
#roomContainer .chat-room[data-v-
|
|
9219
|
+
#roomContainer.tui-room-h5[data-v-4dd66a12],
|
|
9220
|
+
#roomContainer .chat-room[data-v-4dd66a12] {
|
|
9221
9221
|
width: 100%;
|
|
9222
9222
|
height: 100%;
|
|
9223
9223
|
}.user-info-container[data-v-9e9aff53] {
|
package/package.json
CHANGED
|
@@ -14,10 +14,10 @@ import { IconMore } from '@tencentcloud/uikit-base-component-vue3';
|
|
|
14
14
|
import IconButton from '../../common/base/IconButton.vue';
|
|
15
15
|
import userMoreControl from './useMoreControlHooks';
|
|
16
16
|
import { roomService } from '../../../services';
|
|
17
|
-
|
|
17
|
+
import { defineEmits} from 'vue';
|
|
18
18
|
const moreControlConfig = roomService.getComponentConfig('MoreControl');
|
|
19
19
|
const { t, basicStore, sidebarName } = userMoreControl();
|
|
20
|
-
|
|
20
|
+
const emit = defineEmits(['on-vote']);
|
|
21
21
|
function toggleMoreSidebar() {
|
|
22
22
|
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === 'vote') {
|
|
23
23
|
basicStore.setSidebarOpenStatus(false);
|
|
@@ -26,6 +26,10 @@ function toggleMoreSidebar() {
|
|
|
26
26
|
}
|
|
27
27
|
basicStore.setSidebarOpenStatus(true);
|
|
28
28
|
basicStore.setSidebarName('vote');
|
|
29
|
+
emit('on-vote', {
|
|
30
|
+
name: 'onVote',
|
|
31
|
+
visible:basicStore.isSidebarOpen,
|
|
32
|
+
});
|
|
29
33
|
}
|
|
30
34
|
</script>
|
|
31
35
|
<style lang="scss" scoped></style>
|
|
@@ -9,7 +9,7 @@ export default function useControl() {
|
|
|
9
9
|
|
|
10
10
|
const basicStore = useBasicStore();
|
|
11
11
|
const { sidebarName } = storeToRefs(basicStore);
|
|
12
|
-
|
|
12
|
+
const isSidebarOpen = computed(() => basicStore.isSidebarOpen);
|
|
13
13
|
const iconName = computed(() =>
|
|
14
14
|
sidebarName.value === 'vote' ? ICON_NAME.MoreActive : ICON_NAME.More
|
|
15
15
|
);
|
|
@@ -19,5 +19,6 @@ export default function useControl() {
|
|
|
19
19
|
basicStore,
|
|
20
20
|
iconName,
|
|
21
21
|
sidebarName,
|
|
22
|
+
isSidebarOpen
|
|
22
23
|
};
|
|
23
24
|
}
|
|
@@ -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'">
|
|
12
12
|
<template #content>
|
|
13
13
|
<slot name="content"></slot>
|
|
14
14
|
</template>
|
|
@@ -28,7 +28,18 @@ 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 { defineEmits,watch} from 'vue';
|
|
31
32
|
const { isSidebarOpen, title, handleClose, sidebarName } = useSideBar();
|
|
33
|
+
const emit = defineEmits(['on-vote',]);
|
|
34
|
+
watch(
|
|
35
|
+
() => isSidebarOpen,
|
|
36
|
+
(newValue, oldValue) => {
|
|
37
|
+
emit('on-vote', {
|
|
38
|
+
name: 'onVote',
|
|
39
|
+
visible: isSidebarOpen,
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
);
|
|
32
43
|
</script>
|
|
33
44
|
|
|
34
45
|
<style lang="scss"></style>
|