@ndscnj/roomkit-web-vue3 25.12.24155 → 25.12.24157

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.
@@ -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,2 +1,15 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ declare function __VLS_template(): {
2
+ content?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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>>;
2
10
  export default _default;
11
+ type __VLS_WithTemplateSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, createVNode, unref, isRef, withCtx, createBlock, createCommentVNode } 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
- setup(__props) {
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, {
@@ -23,12 +34,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
34
  }, {
24
35
  default: withCtx(() => [
25
36
  unref(sidebarName) == "chat" ? (openBlock(), createBlock(unref(Index), { key: 0 })) : createCommentVNode("", true),
26
- unref(sidebarName) == "vote" ? (openBlock(), createBlock(unref(Index$1), { key: 1 })) : createCommentVNode("", true),
37
+ unref(sidebarName) == "vote" ? (openBlock(), createBlock(unref(Index$1), { key: 1 }, {
38
+ content: withCtx(() => [
39
+ renderSlot(_ctx.$slots, "content")
40
+ ]),
41
+ _: 3
42
+ })) : createCommentVNode("", true),
27
43
  unref(sidebarName) == "more" ? (openBlock(), createBlock(unref(Index$2), { key: 2 })) : createCommentVNode("", true),
28
44
  unref(sidebarName) == "manage-member" ? (openBlock(), createBlock(unref(index), { key: 3 })) : createCommentVNode("", true),
29
45
  unref(sidebarName) == "aiTranscription" ? (openBlock(), createBlock(AITranscription, { key: 4 })) : createCommentVNode("", true)
30
46
  ]),
31
- _: 1
47
+ _: 3
32
48
  }, 8, ["modelValue", "title", "before-close"])
33
49
  ]);
34
50
  };
@@ -8,7 +8,7 @@ function _sfc_render(_ctx, _cache) {
8
8
  renderSlot(_ctx.$slots, "content", {}, void 0, true)
9
9
  ]);
10
10
  }
11
- const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9ac24da7"]]);
11
+ const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-41107c5f"]]);
12
12
  export {
13
13
  indexPC as default
14
14
  };
@@ -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-3b59b436"]]);
5
+ const ConferenceMainView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4dd66a12"]]);
6
6
  export {
7
7
  ConferenceMainView as default
8
8
  };
@@ -282,7 +282,12 @@ 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
+ content: withCtx(() => [
287
+ renderSlot(_ctx.$slots, "content", {}, void 0, true)
288
+ ]),
289
+ _: 3
290
+ }),
286
291
  createVNode(RoomSetting),
287
292
  createVNode(_sfc_main$1),
288
293
  overlayMap.value.RoomInviteOverlay.visible ? (openBlock(), createBlock(unref(Index$2), { key: 0 })) : createCommentVNode("", true),
package/es/index.mjs CHANGED
@@ -5075,17 +5075,17 @@ to {
5075
5075
  font-size: 16px;
5076
5076
  font-weight: 400;
5077
5077
  text-align: end;
5078
- }.more-container[data-v-9ac24da7] {
5078
+ }.more-container[data-v-41107c5f] {
5079
5079
  padding: 20px;
5080
5080
  }
5081
- .more-container .more-title[data-v-9ac24da7] {
5081
+ .more-container .more-title[data-v-41107c5f] {
5082
5082
  display: flex;
5083
5083
  align-items: center;
5084
5084
  }
5085
- .more-container .more-title .email-icon[data-v-9ac24da7] {
5085
+ .more-container .more-title .email-icon[data-v-41107c5f] {
5086
5086
  color: var(--uikit-color-gray-7);
5087
5087
  }
5088
- .more-container .more-title .more-notice[data-v-9ac24da7] {
5088
+ .more-container .more-title .more-notice[data-v-41107c5f] {
5089
5089
  width: 100%;
5090
5090
  height: 22px;
5091
5091
  padding-left: 8px;
@@ -5094,15 +5094,15 @@ to {
5094
5094
  line-height: 22px;
5095
5095
  color: var(--text-color-primary);
5096
5096
  }
5097
- .more-container .more-item[data-v-9ac24da7] {
5097
+ .more-container .more-item[data-v-41107c5f] {
5098
5098
  position: relative;
5099
5099
  display: flex;
5100
5100
  flex-direction: column;
5101
5101
  }
5102
- .more-container .more-item[data-v-9ac24da7]:not(:first-child) {
5102
+ .more-container .more-item[data-v-41107c5f]:not(:first-child) {
5103
5103
  margin-top: 20px;
5104
5104
  }
5105
- .more-container .more-item:not(:first-child) .item-title[data-v-9ac24da7] {
5105
+ .more-container .more-item:not(:first-child) .item-title[data-v-41107c5f] {
5106
5106
  width: 100%;
5107
5107
  padding-bottom: 8px;
5108
5108
  font-size: 14px;
@@ -5110,7 +5110,7 @@ to {
5110
5110
  line-height: 22px;
5111
5111
  color: var(--text-color-primary);
5112
5112
  }
5113
- .more-container .more-item:not(:first-child) .more-content[data-v-9ac24da7] {
5113
+ .more-container .more-item:not(:first-child) .more-content[data-v-41107c5f] {
5114
5114
  position: relative;
5115
5115
  box-sizing: border-box;
5116
5116
  display: inline-block;
@@ -5130,7 +5130,7 @@ to {
5130
5130
  background-color: var(--bg-color-input);
5131
5131
  border: 1px solid var(--stroke-color-module);
5132
5132
  }
5133
- .more-container .more-item:not(:first-child) .copy-icon[data-v-9ac24da7] {
5133
+ .more-container .more-item:not(:first-child) .copy-icon[data-v-41107c5f] {
5134
5134
  position: absolute;
5135
5135
  top: 45px;
5136
5136
  right: 10px;
@@ -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-3b59b436] {
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-3b59b436] {
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-3b59b436] {
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-3b59b436] {
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-3b59b436] {
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-3b59b436],
9220
- #roomContainer .chat-room[data-v-3b59b436] {
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,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,2 +1,15 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ declare function __VLS_template(): {
2
+ content?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
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>>;
2
10
  export default _default;
11
+ type __VLS_WithTemplateSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -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
- setup(__props) {
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, {
@@ -25,12 +36,17 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
25
36
  }, {
26
37
  default: Vue.withCtx(() => [
27
38
  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), { key: 1 })) : Vue.createCommentVNode("", true),
39
+ Vue.unref(sidebarName) == "vote" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$1.default), { key: 1 }, {
40
+ content: Vue.withCtx(() => [
41
+ Vue.renderSlot(_ctx.$slots, "content")
42
+ ]),
43
+ _: 3
44
+ })) : Vue.createCommentVNode("", true),
29
45
  Vue.unref(sidebarName) == "more" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$2.default), { key: 2 })) : Vue.createCommentVNode("", true),
30
46
  Vue.unref(sidebarName) == "manage-member" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$3.default), { key: 3 })) : Vue.createCommentVNode("", true),
31
47
  Vue.unref(sidebarName) == "aiTranscription" ? (Vue.openBlock(), Vue.createBlock(AITranscription.default, { key: 4 })) : Vue.createCommentVNode("", true)
32
48
  ]),
33
- _: 1
49
+ _: 3
34
50
  }, 8, ["modelValue", "title", "before-close"])
35
51
  ]);
36
52
  };
@@ -10,5 +10,5 @@ function _sfc_render(_ctx, _cache) {
10
10
  Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
11
11
  ]);
12
12
  }
13
- const indexPC = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9ac24da7"]]);
13
+ const indexPC = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-41107c5f"]]);
14
14
  exports.default = indexPC;
@@ -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-3b59b436"]]);
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;
@@ -284,7 +284,12 @@ 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
+ content: Vue.withCtx(() => [
289
+ Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
290
+ ]),
291
+ _: 3
292
+ }),
288
293
  Vue.createVNode(index$4.default),
289
294
  Vue.createVNode(RoomOverlay_vue_vue_type_script_setup_true_lang.default),
290
295
  overlayMap.value.RoomInviteOverlay.visible ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$5.default), { key: 0 })) : Vue.createCommentVNode("", true),
package/lib/index.js CHANGED
@@ -5075,17 +5075,17 @@ to {
5075
5075
  font-size: 16px;
5076
5076
  font-weight: 400;
5077
5077
  text-align: end;
5078
- }.more-container[data-v-9ac24da7] {
5078
+ }.more-container[data-v-41107c5f] {
5079
5079
  padding: 20px;
5080
5080
  }
5081
- .more-container .more-title[data-v-9ac24da7] {
5081
+ .more-container .more-title[data-v-41107c5f] {
5082
5082
  display: flex;
5083
5083
  align-items: center;
5084
5084
  }
5085
- .more-container .more-title .email-icon[data-v-9ac24da7] {
5085
+ .more-container .more-title .email-icon[data-v-41107c5f] {
5086
5086
  color: var(--uikit-color-gray-7);
5087
5087
  }
5088
- .more-container .more-title .more-notice[data-v-9ac24da7] {
5088
+ .more-container .more-title .more-notice[data-v-41107c5f] {
5089
5089
  width: 100%;
5090
5090
  height: 22px;
5091
5091
  padding-left: 8px;
@@ -5094,15 +5094,15 @@ to {
5094
5094
  line-height: 22px;
5095
5095
  color: var(--text-color-primary);
5096
5096
  }
5097
- .more-container .more-item[data-v-9ac24da7] {
5097
+ .more-container .more-item[data-v-41107c5f] {
5098
5098
  position: relative;
5099
5099
  display: flex;
5100
5100
  flex-direction: column;
5101
5101
  }
5102
- .more-container .more-item[data-v-9ac24da7]:not(:first-child) {
5102
+ .more-container .more-item[data-v-41107c5f]:not(:first-child) {
5103
5103
  margin-top: 20px;
5104
5104
  }
5105
- .more-container .more-item:not(:first-child) .item-title[data-v-9ac24da7] {
5105
+ .more-container .more-item:not(:first-child) .item-title[data-v-41107c5f] {
5106
5106
  width: 100%;
5107
5107
  padding-bottom: 8px;
5108
5108
  font-size: 14px;
@@ -5110,7 +5110,7 @@ to {
5110
5110
  line-height: 22px;
5111
5111
  color: var(--text-color-primary);
5112
5112
  }
5113
- .more-container .more-item:not(:first-child) .more-content[data-v-9ac24da7] {
5113
+ .more-container .more-item:not(:first-child) .more-content[data-v-41107c5f] {
5114
5114
  position: relative;
5115
5115
  box-sizing: border-box;
5116
5116
  display: inline-block;
@@ -5130,7 +5130,7 @@ to {
5130
5130
  background-color: var(--bg-color-input);
5131
5131
  border: 1px solid var(--stroke-color-module);
5132
5132
  }
5133
- .more-container .more-item:not(:first-child) .copy-icon[data-v-9ac24da7] {
5133
+ .more-container .more-item:not(:first-child) .copy-icon[data-v-41107c5f] {
5134
5134
  position: absolute;
5135
5135
  top: 45px;
5136
5136
  right: 10px;
@@ -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-3b59b436] {
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-3b59b436] {
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-3b59b436] {
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-3b59b436] {
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-3b59b436] {
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-3b59b436],
9220
- #roomContainer .chat-room[data-v-3b59b436] {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndscnj/roomkit-web-vue3",
3
- "version": "25.12.24155",
3
+ "version": "25.12.24157",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",
@@ -8,7 +8,11 @@
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
+ <template #content>
13
+ <slot name="content"></slot>
14
+ </template>
15
+ </room-vote>
12
16
  <room-more v-if="sidebarName == 'more'" />
13
17
  <manage-member v-if="sidebarName == 'manage-member'" />
14
18
  <AITranscription v-if="sidebarName == 'aiTranscription'" />
@@ -24,7 +28,18 @@ import RoomMore from '../RoomMore';
24
28
  import RoomVote from '../RoomVote';
25
29
  import Chat from '../Chat/index';
26
30
  import AITranscription from '../common/widgets/AITools/AITranscription.vue';
31
+ import { defineEmits,watch} from 'vue';
27
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
+ );
28
43
  </script>
29
44
 
30
45
  <style lang="scss"></style>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="more-container">
3
- <slot name="content"></slot>
3
+ <slot name="content"></slot>
4
4
  </div>
5
5
  </template>
6
6
 
@@ -22,7 +22,11 @@
22
22
  <slot name="content"></slot>
23
23
  </template>
24
24
  </room-footer>
25
- <room-sidebar />
25
+ <room-sidebar @on-vote="onVote">
26
+ <template #content>
27
+ <slot name="content"></slot>
28
+ </template>
29
+ </room-sidebar>
26
30
  <room-setting />
27
31
  <room-overlay />
28
32
  <RoomInviteOverlay v-if="overlayMap.RoomInviteOverlay.visible" />