@ndscnj/roomkit-web-vue3 25.12.2320 → 25.12.2409

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,7 +1,7 @@
1
1
  import _sfc_main from "./indexPC.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const indexPc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-604d8288"]]);
4
+ const indexPc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f808bd91"]]);
5
5
  export {
6
6
  indexPc as default
7
7
  };
@@ -81,6 +81,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
81
81
  }
82
82
  const emit = __emit;
83
83
  const onVote = (data) => {
84
+ console.log(data, "data111");
84
85
  emit("on-vote", { code: data.visible, message: "vote" });
85
86
  };
86
87
  return (_ctx, _cache) => {
@@ -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-e8dc762c"]]);
4
+ const voteControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c9bb5a2b"]]);
5
5
  export {
6
6
  voteControl as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, ref, watch, createElementBlock, createCommentVNode, unref, openBlock, createVNode, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, computed, ref, watch, createElementBlock, openBlock, createVNode, createCommentVNode, unref, withCtx, renderSlot } from "vue";
2
2
  import "../../services/main.mjs";
3
3
  import { roomService } from "../../services/roomService.mjs";
4
4
  import { useI18n } from "../../locales/index.mjs";
@@ -10,10 +10,7 @@ import "@tencentcloud/tui-core";
10
10
  import IconButton from "../common/base/IconButton.vue.mjs";
11
11
  import { IconAIIcon } from "@tencentcloud/uikit-base-component-vue3";
12
12
  import Index from "../RoomVote/index.mjs";
13
- const _hoisted_1 = {
14
- key: 0,
15
- class: "vote-control-container"
16
- };
13
+ const _hoisted_1 = { class: "vote-control-container" };
17
14
  const _hoisted_2 = {
18
15
  key: 0,
19
16
  class: "contact-container"
@@ -30,9 +27,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
27
  watch(isSidebarOpen, (newValue) => {
31
28
  showToolBox.value = newValue && false;
32
29
  });
33
- const voteControlConfig = roomService.getComponentConfig("VoteControl");
34
30
  const emit = __emit;
35
31
  function toggleToolBox() {
32
+ console.log(showToolBox.value, "0000");
36
33
  showToolBox.value = !showToolBox.value;
37
34
  emit("on-vote", {
38
35
  name: "onVote",
@@ -43,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
43
40
  showToolBox.value = false;
44
41
  }
45
42
  return (_ctx, _cache) => {
46
- return unref(voteControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
43
+ return openBlock(), createElementBlock("div", _hoisted_1, [
47
44
  createVNode(IconButton, {
48
45
  "is-active": sidebarName.value === "vote",
49
46
  title: unref(t)("Vote"),
@@ -65,7 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
65
62
  _: 3
66
63
  }, 512)
67
64
  ])) : createCommentVNode("", true)
68
- ])) : createCommentVNode("", true);
65
+ ]);
69
66
  };
70
67
  }
71
68
  });
@@ -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-d9ae22c4"]]);
5
+ const ConferenceMainView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3b59b436"]]);
6
6
  export {
7
7
  ConferenceMainView as default
8
8
  };
@@ -217,6 +217,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
217
217
  roomService.resetStore();
218
218
  }
219
219
  const onVote = (data) => {
220
+ console.log(data, "data222");
220
221
  emit("on-vote", { code: data.visible, message: "vote" });
221
222
  };
222
223
  const onStartRoom = () => {
package/es/index.mjs CHANGED
@@ -4081,7 +4081,7 @@ to {
4081
4081
  justify-content: center;
4082
4082
  cursor: pointer;
4083
4083
  color: var(--text-color-link);
4084
- }.contact-container[data-v-e8dc762c] {
4084
+ }.contact-container[data-v-c9bb5a2b] {
4085
4085
  position: fixed;
4086
4086
  top: 0;
4087
4087
  bottom: 0;
@@ -4091,7 +4091,7 @@ to {
4091
4091
  width: 100vw;
4092
4092
  height: auto;
4093
4093
  background-color: var(--uikit-color-black-8);
4094
- }.footer-container[data-v-604d8288] {
4094
+ }.footer-container[data-v-f808bd91] {
4095
4095
  position: absolute;
4096
4096
  bottom: 0;
4097
4097
  display: flex;
@@ -4105,25 +4105,25 @@ to {
4105
4105
  background-color: var(--bg-color-topbar);
4106
4106
  box-shadow: 0 -8px 30px var(--uikit-color-black-8);
4107
4107
  }
4108
- .footer-container .left-container[data-v-604d8288] {
4108
+ .footer-container .left-container[data-v-f808bd91] {
4109
4109
  display: flex;
4110
4110
  align-items: center;
4111
4111
  height: 100%;
4112
4112
  }
4113
- .footer-container .left-container .left-container-item[data-v-604d8288]:not(:first-child) {
4113
+ .footer-container .left-container .left-container-item[data-v-f808bd91]:not(:first-child) {
4114
4114
  margin-left: 1rem;
4115
4115
  }
4116
- .footer-container .center-container[data-v-604d8288] {
4116
+ .footer-container .center-container[data-v-f808bd91] {
4117
4117
  position: relative;
4118
4118
  display: flex;
4119
4119
  align-items: center;
4120
4120
  height: 100%;
4121
4121
  margin: 0 auto;
4122
4122
  }
4123
- .footer-container .center-container .center-container-item[data-v-604d8288]:not(:first-child) {
4123
+ .footer-container .center-container .center-container-item[data-v-f808bd91]:not(:first-child) {
4124
4124
  margin-left: 16px;
4125
4125
  }
4126
- .footer-container .right-container[data-v-604d8288] {
4126
+ .footer-container .right-container[data-v-f808bd91] {
4127
4127
  display: flex;
4128
4128
  align-items: center;
4129
4129
  height: 100%;
@@ -9140,7 +9140,7 @@ body, html {
9140
9140
  }
9141
9141
  .tui-room :not([class|=el]) {
9142
9142
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
9143
- }.tui-room[data-v-d9ae22c4] {
9143
+ }.tui-room[data-v-3b59b436] {
9144
9144
  position: relative;
9145
9145
  display: flex;
9146
9146
  flex-direction: column;
@@ -9152,7 +9152,7 @@ body, html {
9152
9152
  text-align: left;
9153
9153
  background-color: var(--bg-color-topbar);
9154
9154
  }
9155
- .tui-room .header[data-v-d9ae22c4] {
9155
+ .tui-room .header[data-v-3b59b436] {
9156
9156
  position: absolute;
9157
9157
  top: 0;
9158
9158
  left: 0;
@@ -9163,20 +9163,20 @@ body, html {
9163
9163
  border-bottom: 1px solid var(--stroke-color-primary);
9164
9164
  box-shadow: 0 1px 0 var(--uikit-color-black-8);
9165
9165
  }
9166
- .tui-room .content[data-v-d9ae22c4] {
9166
+ .tui-room .content[data-v-3b59b436] {
9167
9167
  position: absolute;
9168
9168
  top: 0;
9169
9169
  width: 100%;
9170
9170
  height: 100%;
9171
9171
  background-color: var(--bg-color-topbar);
9172
9172
  }
9173
- .tui-room.tui-room-h5[data-v-d9ae22c4] {
9173
+ .tui-room.tui-room-h5[data-v-3b59b436] {
9174
9174
  width: 100%;
9175
9175
  min-width: 350px;
9176
9176
  height: 100%;
9177
9177
  min-height: 525px;
9178
9178
  }
9179
- #roomContainer.chat-room[data-v-d9ae22c4] {
9179
+ #roomContainer.chat-room[data-v-3b59b436] {
9180
9180
  position: absolute;
9181
9181
  top: 0;
9182
9182
  right: 0;
@@ -9188,8 +9188,8 @@ body, html {
9188
9188
  margin: auto;
9189
9189
  border-radius: 10px;
9190
9190
  }
9191
- #roomContainer.tui-room-h5[data-v-d9ae22c4],
9192
- #roomContainer .chat-room[data-v-d9ae22c4] {
9191
+ #roomContainer.tui-room-h5[data-v-3b59b436],
9192
+ #roomContainer .chat-room[data-v-3b59b436] {
9193
9193
  width: 100%;
9194
9194
  height: 100%;
9195
9195
  }.user-info-container[data-v-9e9aff53] {
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const indexPC_vue_vue_type_script_setup_true_lang = require("./indexPC.vue2.js");
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
6
- const indexPc = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-604d8288"]]);
6
+ const indexPc = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-f808bd91"]]);
7
7
  exports.default = indexPc;
@@ -83,6 +83,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
83
83
  }
84
84
  const emit = __emit;
85
85
  const onVote = (data) => {
86
+ console.log(data, "data111");
86
87
  emit("on-vote", { code: data.visible, message: "vote" });
87
88
  };
88
89
  return (_ctx, _cache) => {
@@ -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-e8dc762c"]]);
6
+ const voteControl = /* @__PURE__ */ _pluginVue_exportHelper.default(voteControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-c9bb5a2b"]]);
7
7
  exports.default = voteControl;
@@ -12,10 +12,7 @@ require("@tencentcloud/tui-core");
12
12
  const IconButton = require("../common/base/IconButton.vue.js");
13
13
  const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
14
14
  const index$1 = require("../RoomVote/index.js");
15
- const _hoisted_1 = {
16
- key: 0,
17
- class: "vote-control-container"
18
- };
15
+ const _hoisted_1 = { class: "vote-control-container" };
19
16
  const _hoisted_2 = {
20
17
  key: 0,
21
18
  class: "contact-container"
@@ -32,9 +29,9 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
32
29
  Vue.watch(isSidebarOpen, (newValue) => {
33
30
  showToolBox.value = newValue && false;
34
31
  });
35
- const voteControlConfig = roomService.roomService.getComponentConfig("VoteControl");
36
32
  const emit = __emit;
37
33
  function toggleToolBox() {
34
+ console.log(showToolBox.value, "0000");
38
35
  showToolBox.value = !showToolBox.value;
39
36
  emit("on-vote", {
40
37
  name: "onVote",
@@ -45,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
45
42
  showToolBox.value = false;
46
43
  }
47
44
  return (_ctx, _cache) => {
48
- return Vue.unref(voteControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
45
+ return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
49
46
  Vue.createVNode(IconButton.default, {
50
47
  "is-active": sidebarName.value === "vote",
51
48
  title: Vue.unref(t)("Vote"),
@@ -67,7 +64,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
67
64
  _: 3
68
65
  }, 512)
69
66
  ])) : Vue.createCommentVNode("", true)
70
- ])) : Vue.createCommentVNode("", true);
67
+ ]);
71
68
  };
72
69
  }
73
70
  });
@@ -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-d9ae22c4"]]);
7
+ const ConferenceMainView = /* @__PURE__ */ _pluginVue_exportHelper.default(conference_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-3b59b436"]]);
8
8
  exports.default = ConferenceMainView;
@@ -219,6 +219,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
219
219
  roomService.roomService.resetStore();
220
220
  }
221
221
  const onVote = (data) => {
222
+ console.log(data, "data222");
222
223
  emit("on-vote", { code: data.visible, message: "vote" });
223
224
  };
224
225
  const onStartRoom = () => {
package/lib/index.js CHANGED
@@ -4081,7 +4081,7 @@ to {
4081
4081
  justify-content: center;
4082
4082
  cursor: pointer;
4083
4083
  color: var(--text-color-link);
4084
- }.contact-container[data-v-e8dc762c] {
4084
+ }.contact-container[data-v-c9bb5a2b] {
4085
4085
  position: fixed;
4086
4086
  top: 0;
4087
4087
  bottom: 0;
@@ -4091,7 +4091,7 @@ to {
4091
4091
  width: 100vw;
4092
4092
  height: auto;
4093
4093
  background-color: var(--uikit-color-black-8);
4094
- }.footer-container[data-v-604d8288] {
4094
+ }.footer-container[data-v-f808bd91] {
4095
4095
  position: absolute;
4096
4096
  bottom: 0;
4097
4097
  display: flex;
@@ -4105,25 +4105,25 @@ to {
4105
4105
  background-color: var(--bg-color-topbar);
4106
4106
  box-shadow: 0 -8px 30px var(--uikit-color-black-8);
4107
4107
  }
4108
- .footer-container .left-container[data-v-604d8288] {
4108
+ .footer-container .left-container[data-v-f808bd91] {
4109
4109
  display: flex;
4110
4110
  align-items: center;
4111
4111
  height: 100%;
4112
4112
  }
4113
- .footer-container .left-container .left-container-item[data-v-604d8288]:not(:first-child) {
4113
+ .footer-container .left-container .left-container-item[data-v-f808bd91]:not(:first-child) {
4114
4114
  margin-left: 1rem;
4115
4115
  }
4116
- .footer-container .center-container[data-v-604d8288] {
4116
+ .footer-container .center-container[data-v-f808bd91] {
4117
4117
  position: relative;
4118
4118
  display: flex;
4119
4119
  align-items: center;
4120
4120
  height: 100%;
4121
4121
  margin: 0 auto;
4122
4122
  }
4123
- .footer-container .center-container .center-container-item[data-v-604d8288]:not(:first-child) {
4123
+ .footer-container .center-container .center-container-item[data-v-f808bd91]:not(:first-child) {
4124
4124
  margin-left: 16px;
4125
4125
  }
4126
- .footer-container .right-container[data-v-604d8288] {
4126
+ .footer-container .right-container[data-v-f808bd91] {
4127
4127
  display: flex;
4128
4128
  align-items: center;
4129
4129
  height: 100%;
@@ -9140,7 +9140,7 @@ body, html {
9140
9140
  }
9141
9141
  .tui-room :not([class|=el]) {
9142
9142
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
9143
- }.tui-room[data-v-d9ae22c4] {
9143
+ }.tui-room[data-v-3b59b436] {
9144
9144
  position: relative;
9145
9145
  display: flex;
9146
9146
  flex-direction: column;
@@ -9152,7 +9152,7 @@ body, html {
9152
9152
  text-align: left;
9153
9153
  background-color: var(--bg-color-topbar);
9154
9154
  }
9155
- .tui-room .header[data-v-d9ae22c4] {
9155
+ .tui-room .header[data-v-3b59b436] {
9156
9156
  position: absolute;
9157
9157
  top: 0;
9158
9158
  left: 0;
@@ -9163,20 +9163,20 @@ body, html {
9163
9163
  border-bottom: 1px solid var(--stroke-color-primary);
9164
9164
  box-shadow: 0 1px 0 var(--uikit-color-black-8);
9165
9165
  }
9166
- .tui-room .content[data-v-d9ae22c4] {
9166
+ .tui-room .content[data-v-3b59b436] {
9167
9167
  position: absolute;
9168
9168
  top: 0;
9169
9169
  width: 100%;
9170
9170
  height: 100%;
9171
9171
  background-color: var(--bg-color-topbar);
9172
9172
  }
9173
- .tui-room.tui-room-h5[data-v-d9ae22c4] {
9173
+ .tui-room.tui-room-h5[data-v-3b59b436] {
9174
9174
  width: 100%;
9175
9175
  min-width: 350px;
9176
9176
  height: 100%;
9177
9177
  min-height: 525px;
9178
9178
  }
9179
- #roomContainer.chat-room[data-v-d9ae22c4] {
9179
+ #roomContainer.chat-room[data-v-3b59b436] {
9180
9180
  position: absolute;
9181
9181
  top: 0;
9182
9182
  right: 0;
@@ -9188,8 +9188,8 @@ body, html {
9188
9188
  margin: auto;
9189
9189
  border-radius: 10px;
9190
9190
  }
9191
- #roomContainer.tui-room-h5[data-v-d9ae22c4],
9192
- #roomContainer .chat-room[data-v-d9ae22c4] {
9191
+ #roomContainer.tui-room-h5[data-v-3b59b436],
9192
+ #roomContainer .chat-room[data-v-3b59b436] {
9193
9193
  width: 100%;
9194
9194
  height: 100%;
9195
9195
  }.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.2320",
3
+ "version": "25.12.2409",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",
@@ -112,6 +112,7 @@ function handleControlClick(name: string) {
112
112
  }
113
113
  const emit = defineEmits(['on-vote']);
114
114
  const onVote = (data: { name: string; visible: boolean }) => {
115
+ console.log(data,"data111")
115
116
  emit('on-vote', { code: data.visible, message: 'vote' });
116
117
  };
117
118
  </script>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="vote-control-container" v-if="voteControlConfig.visible">
2
+ <div class="vote-control-container">
3
3
  <icon-button
4
4
  :is-active="sidebarName === 'vote'"
5
5
  :title="t('Vote')"
@@ -34,9 +34,9 @@ const showToolBox = ref(false);
34
34
  watch(isSidebarOpen, newValue => {
35
35
  showToolBox.value = newValue && false;
36
36
  });
37
- const voteControlConfig = roomService.getComponentConfig('VoteControl');
38
37
  const emit = defineEmits(['on-vote']);
39
38
  function toggleToolBox() {
39
+ console.log(showToolBox.value,"0000")
40
40
  showToolBox.value = !showToolBox.value;
41
41
  emit('on-vote', {
42
42
  name: 'onVote',
@@ -322,6 +322,7 @@ function resetStore() {
322
322
  }
323
323
 
324
324
  const onVote = (data: { name: string; visible: boolean }) => {
325
+ console.log(data,"data222")
325
326
  emit('on-vote', { code: data.visible, message: 'vote' });
326
327
  };
327
328
  const onStartRoom = () => {