@ndscnj/roomkit-web-vue3 25.11.1817 → 25.11.1819

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 "./AIControl.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const AIControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-08746b04"]]);
4
+ const AIControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-34681937"]]);
5
5
  export {
6
6
  AIControl as default
7
7
  };
@@ -26,7 +26,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  const { toggleOverlayVisibility } = useRoomOverlayHooks();
27
27
  const { t } = useI18n();
28
28
  const AIControlConfig = roomService.getComponentConfig("AIControl");
29
- alert(AIControlConfig.visible);
30
29
  const { basicStore } = roomService;
31
30
  const isSidebarOpen = computed(() => basicStore.isSidebarOpen);
32
31
  const sidebarName = computed(() => basicStore.sidebarName);
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./MoreControlH5.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const MoreControlH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e2487c4a"]]);
4
+ const MoreControlH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e6771dcb"]]);
5
5
  export {
6
6
  MoreControlH5 as default
7
7
  };
@@ -16,7 +16,6 @@ import "../../../utils/environment.mjs";
16
16
  import "mitt";
17
17
  import "../../../services/manager/roomActionManager.mjs";
18
18
  import "@tencentcloud/tui-core";
19
- import AIControl from "../AIControl.vue.mjs";
20
19
  const _hoisted_1 = {
21
20
  key: 0,
22
21
  class: "more-control-container"
@@ -89,9 +88,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
89
88
  createVNode(InviteControl, {
90
89
  onShowOverlay: handleShowOverlay,
91
90
  onClick: _cache[2] || (_cache[2] = ($event) => handleControlClick("inviteControl"))
92
- }),
93
- createVNode(AIControl, {
94
- onClick: _cache[3] || (_cache[3] = ($event) => handleControlClick("AIControl"))
95
91
  })
96
92
  ]),
97
93
  withDirectives((openBlock(), createElementBlock("div", _hoisted_3, [
@@ -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-ac93eadc"]]);
4
+ const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f3bbac91"]]);
5
5
  export {
6
6
  indexH5 as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, withDirectives, createCommentVNode, unref, createBlock, createVNode } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, withDirectives, createCommentVNode, createVNode, unref, createBlock } from "vue";
2
2
  import _sfc_main$1 from "../../../core/components/AudioSetting/index.vue.mjs";
3
3
  import VideoSetting from "../../../core/components/VideoSetting/index.vue.mjs";
4
4
  import "@tencentcloud/uikit-base-component-vue3";
@@ -56,6 +56,7 @@ import _sfc_main$2 from "../ChatControl.vue.mjs";
56
56
  import _sfc_main$3 from "../ManageStageControl.vue.mjs";
57
57
  import MemberApplyControl from "../ApplyControl/MemberApplyControl.vue.mjs";
58
58
  import MoreControl from "../MoreControl/index.mjs";
59
+ import AIControl from "../AIControl.vue.mjs";
59
60
  import bus from "../../../hooks/useMitt.mjs";
60
61
  import useRoomFooter from "./useRoomFooterHooks.mjs";
61
62
  const _hoisted_1 = { class: "footer-container" };
@@ -88,6 +89,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
88
89
  !unref(roomStore).isSpeakAfterTakingSeatMode ? withDirectives((openBlock(), createBlock(_sfc_main$2, { key: 2 }, null, 512)), [
89
90
  [unref(vTap), () => handleControlClick("chatControl")]
90
91
  ]) : createCommentVNode("", true),
92
+ createVNode(AIControl, {
93
+ onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("AIControl"))
94
+ }),
91
95
  unref(roomStore).isSpeakAfterTakingSeatMode && (unref(isMaster) || unref(isAdmin)) ? withDirectives((openBlock(), createBlock(_sfc_main$3, { key: 3 }, null, 512)), [
92
96
  [unref(vTap), () => handleControlClick("MasterApplyControl")]
93
97
  ]) : createCommentVNode("", true),
package/es/index.mjs CHANGED
@@ -3597,36 +3597,7 @@ to {
3597
3597
  width: 100vw;
3598
3598
  height: auto;
3599
3599
  background-color: var(--uikit-color-black-8);
3600
- }.tool-box[data-v-08746b04] {
3601
- position: absolute;
3602
- bottom: 72px;
3603
- z-index: 2;
3604
- display: flex;
3605
- flex-direction: column;
3606
- align-items: center;
3607
- justify-content: center;
3608
- padding: 5px 0;
3609
- border-radius: 15px;
3610
- background-color: var(--bg-color-dialog);
3611
- box-shadow: 0 -8px 30p var(--uikit-color-black-8);
3612
- }
3613
- .tool-box .tool-box-item[data-v-08746b04] {
3614
- display: flex;
3615
- align-items: center;
3616
- justify-content: flex-start;
3617
- width: 100%;
3618
- padding: 7px 10px;
3619
- font-size: 12px;
3620
- white-space: nowrap;
3621
- cursor: pointer;
3622
- }
3623
- .tool-box .tool-box-item .icon[data-v-08746b04] {
3624
- margin-right: 8px;
3625
- }
3626
- .tool-box .tool-box-item[data-v-08746b04]:hover {
3627
- border-radius: 8px;
3628
- background-color: var(--list-color-hover);
3629
- }.show-more-content[data-v-e2487c4a] {
3600
+ }.show-more-content[data-v-e6771dcb] {
3630
3601
  position: absolute;
3631
3602
  bottom: 15px;
3632
3603
  left: 5%;
@@ -3634,11 +3605,11 @@ to {
3634
3605
  height: 17vh;
3635
3606
  padding: 10px;
3636
3607
  border-radius: 13px;
3637
- animation-name: popup-e2487c4a;
3608
+ animation-name: popup-e6771dcb;
3638
3609
  animation-duration: 200ms;
3639
3610
  background-color: var(--bg-color-operate);
3640
3611
  }
3641
- @keyframes popup-e2487c4a {
3612
+ @keyframes popup-e6771dcb {
3642
3613
  from {
3643
3614
  bottom: 0;
3644
3615
  }
@@ -3646,10 +3617,10 @@ to {
3646
3617
  bottom: 15px;
3647
3618
  }
3648
3619
  }
3649
- .control-compent[data-v-e2487c4a] {
3620
+ .control-compent[data-v-e6771dcb] {
3650
3621
  display: flex;
3651
3622
  }
3652
- .close[data-v-e2487c4a] {
3623
+ .close[data-v-e6771dcb] {
3653
3624
  position: relative;
3654
3625
  top: 10%;
3655
3626
  display: flex;
@@ -3664,7 +3635,36 @@ to {
3664
3635
  border-radius: 8px;
3665
3636
  color: var(--text-color-primary);
3666
3637
  background-color: var(--button-color-secondary-default);
3667
- }.footer-container[data-v-ac93eadc] {
3638
+ }.tool-box[data-v-34681937] {
3639
+ position: absolute;
3640
+ bottom: 72px;
3641
+ z-index: 2;
3642
+ display: flex;
3643
+ flex-direction: column;
3644
+ align-items: center;
3645
+ justify-content: center;
3646
+ padding: 5px 0;
3647
+ border-radius: 15px;
3648
+ background-color: var(--bg-color-dialog);
3649
+ box-shadow: 0 -8px 30p var(--uikit-color-black-8);
3650
+ }
3651
+ .tool-box .tool-box-item[data-v-34681937] {
3652
+ display: flex;
3653
+ align-items: center;
3654
+ justify-content: flex-start;
3655
+ width: 100%;
3656
+ padding: 7px 10px;
3657
+ font-size: 12px;
3658
+ white-space: nowrap;
3659
+ cursor: pointer;
3660
+ }
3661
+ .tool-box .tool-box-item .icon[data-v-34681937] {
3662
+ margin-right: 8px;
3663
+ }
3664
+ .tool-box .tool-box-item[data-v-34681937]:hover {
3665
+ border-radius: 8px;
3666
+ background-color: var(--list-color-hover);
3667
+ }.footer-container[data-v-f3bbac91] {
3668
3668
  position: absolute;
3669
3669
  bottom: 0;
3670
3670
  display: flex;
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const AIControl_vue_vue_type_script_setup_true_lang = require("./AIControl.vue2.js");
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
6
- const AIControl = /* @__PURE__ */ _pluginVue_exportHelper.default(AIControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-08746b04"]]);
6
+ const AIControl = /* @__PURE__ */ _pluginVue_exportHelper.default(AIControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-34681937"]]);
7
7
  exports.default = AIControl;
@@ -28,7 +28,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
28
28
  const { toggleOverlayVisibility } = useRoomOverlayHooks.useRoomOverlayHooks();
29
29
  const { t } = index.useI18n();
30
30
  const AIControlConfig = roomService.roomService.getComponentConfig("AIControl");
31
- alert(AIControlConfig.visible);
32
31
  const { basicStore } = roomService.roomService;
33
32
  const isSidebarOpen = Vue.computed(() => basicStore.isSidebarOpen);
34
33
  const sidebarName = Vue.computed(() => basicStore.sidebarName);
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const MoreControlH5_vue_vue_type_script_setup_true_lang = require("./MoreControlH5.vue2.js");
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
6
- const MoreControlH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(MoreControlH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-e2487c4a"]]);
6
+ const MoreControlH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(MoreControlH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-e6771dcb"]]);
7
7
  exports.default = MoreControlH5;
@@ -18,7 +18,6 @@ require("../../../utils/environment.js");
18
18
  require("mitt");
19
19
  require("../../../services/manager/roomActionManager.js");
20
20
  require("@tencentcloud/tui-core");
21
- const AIControl = require("../AIControl.vue.js");
22
21
  const _hoisted_1 = {
23
22
  key: 0,
24
23
  class: "more-control-container"
@@ -91,9 +90,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
91
90
  Vue.createVNode(InviteControl.default, {
92
91
  onShowOverlay: handleShowOverlay,
93
92
  onClick: _cache[2] || (_cache[2] = ($event) => handleControlClick("inviteControl"))
94
- }),
95
- Vue.createVNode(AIControl.default, {
96
- onClick: _cache[3] || (_cache[3] = ($event) => handleControlClick("AIControl"))
97
93
  })
98
94
  ]),
99
95
  Vue.withDirectives((Vue.openBlock(), Vue.createElementBlock("div", _hoisted_3, [
@@ -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-ac93eadc"]]);
6
+ const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-f3bbac91"]]);
7
7
  exports.default = indexH5;
@@ -58,6 +58,7 @@ const ChatControl_vue_vue_type_script_setup_true_lang = require("../ChatControl.
58
58
  const ManageStageControl_vue_vue_type_script_setup_true_lang = require("../ManageStageControl.vue.js");
59
59
  const MemberApplyControl = require("../ApplyControl/MemberApplyControl.vue.js");
60
60
  const index$1 = require("../MoreControl/index.js");
61
+ const AIControl = require("../AIControl.vue.js");
61
62
  const useMitt = require("../../../hooks/useMitt.js");
62
63
  const useRoomFooterHooks = require("./useRoomFooterHooks.js");
63
64
  const _hoisted_1 = { class: "footer-container" };
@@ -90,6 +91,9 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
90
91
  !Vue.unref(roomStore).isSpeakAfterTakingSeatMode ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(ChatControl_vue_vue_type_script_setup_true_lang.default, { key: 2 }, null, 512)), [
91
92
  [Vue.unref(vTap.default), () => handleControlClick("chatControl")]
92
93
  ]) : Vue.createCommentVNode("", true),
94
+ Vue.createVNode(AIControl.default, {
95
+ onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("AIControl"))
96
+ }),
93
97
  Vue.unref(roomStore).isSpeakAfterTakingSeatMode && (Vue.unref(isMaster) || Vue.unref(isAdmin)) ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(ManageStageControl_vue_vue_type_script_setup_true_lang.default, { key: 3 }, null, 512)), [
94
98
  [Vue.unref(vTap.default), () => handleControlClick("MasterApplyControl")]
95
99
  ]) : Vue.createCommentVNode("", true),
package/lib/index.js CHANGED
@@ -3597,36 +3597,7 @@ to {
3597
3597
  width: 100vw;
3598
3598
  height: auto;
3599
3599
  background-color: var(--uikit-color-black-8);
3600
- }.tool-box[data-v-08746b04] {
3601
- position: absolute;
3602
- bottom: 72px;
3603
- z-index: 2;
3604
- display: flex;
3605
- flex-direction: column;
3606
- align-items: center;
3607
- justify-content: center;
3608
- padding: 5px 0;
3609
- border-radius: 15px;
3610
- background-color: var(--bg-color-dialog);
3611
- box-shadow: 0 -8px 30p var(--uikit-color-black-8);
3612
- }
3613
- .tool-box .tool-box-item[data-v-08746b04] {
3614
- display: flex;
3615
- align-items: center;
3616
- justify-content: flex-start;
3617
- width: 100%;
3618
- padding: 7px 10px;
3619
- font-size: 12px;
3620
- white-space: nowrap;
3621
- cursor: pointer;
3622
- }
3623
- .tool-box .tool-box-item .icon[data-v-08746b04] {
3624
- margin-right: 8px;
3625
- }
3626
- .tool-box .tool-box-item[data-v-08746b04]:hover {
3627
- border-radius: 8px;
3628
- background-color: var(--list-color-hover);
3629
- }.show-more-content[data-v-e2487c4a] {
3600
+ }.show-more-content[data-v-e6771dcb] {
3630
3601
  position: absolute;
3631
3602
  bottom: 15px;
3632
3603
  left: 5%;
@@ -3634,11 +3605,11 @@ to {
3634
3605
  height: 17vh;
3635
3606
  padding: 10px;
3636
3607
  border-radius: 13px;
3637
- animation-name: popup-e2487c4a;
3608
+ animation-name: popup-e6771dcb;
3638
3609
  animation-duration: 200ms;
3639
3610
  background-color: var(--bg-color-operate);
3640
3611
  }
3641
- @keyframes popup-e2487c4a {
3612
+ @keyframes popup-e6771dcb {
3642
3613
  from {
3643
3614
  bottom: 0;
3644
3615
  }
@@ -3646,10 +3617,10 @@ to {
3646
3617
  bottom: 15px;
3647
3618
  }
3648
3619
  }
3649
- .control-compent[data-v-e2487c4a] {
3620
+ .control-compent[data-v-e6771dcb] {
3650
3621
  display: flex;
3651
3622
  }
3652
- .close[data-v-e2487c4a] {
3623
+ .close[data-v-e6771dcb] {
3653
3624
  position: relative;
3654
3625
  top: 10%;
3655
3626
  display: flex;
@@ -3664,7 +3635,36 @@ to {
3664
3635
  border-radius: 8px;
3665
3636
  color: var(--text-color-primary);
3666
3637
  background-color: var(--button-color-secondary-default);
3667
- }.footer-container[data-v-ac93eadc] {
3638
+ }.tool-box[data-v-34681937] {
3639
+ position: absolute;
3640
+ bottom: 72px;
3641
+ z-index: 2;
3642
+ display: flex;
3643
+ flex-direction: column;
3644
+ align-items: center;
3645
+ justify-content: center;
3646
+ padding: 5px 0;
3647
+ border-radius: 15px;
3648
+ background-color: var(--bg-color-dialog);
3649
+ box-shadow: 0 -8px 30p var(--uikit-color-black-8);
3650
+ }
3651
+ .tool-box .tool-box-item[data-v-34681937] {
3652
+ display: flex;
3653
+ align-items: center;
3654
+ justify-content: flex-start;
3655
+ width: 100%;
3656
+ padding: 7px 10px;
3657
+ font-size: 12px;
3658
+ white-space: nowrap;
3659
+ cursor: pointer;
3660
+ }
3661
+ .tool-box .tool-box-item .icon[data-v-34681937] {
3662
+ margin-right: 8px;
3663
+ }
3664
+ .tool-box .tool-box-item[data-v-34681937]:hover {
3665
+ border-radius: 8px;
3666
+ background-color: var(--list-color-hover);
3667
+ }.footer-container[data-v-f3bbac91] {
3668
3668
  position: absolute;
3669
3669
  bottom: 0;
3670
3670
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndscnj/roomkit-web-vue3",
3
- "version": "25.11.1817",
3
+ "version": "25.11.1819",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",
@@ -41,7 +41,6 @@ import {
41
41
  const { toggleOverlayVisibility } = useRoomOverlayHooks();
42
42
  const { t } = useI18n();
43
43
  const AIControlConfig = roomService.getComponentConfig('AIControl');
44
- alert(AIControlConfig.visible);
45
44
  const { basicStore } = roomService;
46
45
 
47
46
  const isSidebarOpen = computed(() => basicStore.isSidebarOpen);
@@ -20,9 +20,6 @@
20
20
  @show-overlay="handleShowOverlay"
21
21
  @click="handleControlClick('inviteControl')"
22
22
  />
23
- <AIControl
24
- @click="handleControlClick('AIControl')"
25
- />
26
23
  </div>
27
24
  <div v-tap="handleCancelControl" class="close">{{ t('Cancel') }}</div>
28
25
  </div>
@@ -40,7 +37,6 @@ import { useRoomStore } from '../../../stores/room';
40
37
  import bus from '../../../hooks/useMitt';
41
38
  import vTap from '../../../directives/vTap';
42
39
  import { roomService } from '../../../services';
43
- import AIControl from '../AIControl.vue';
44
40
 
45
41
  const moreControlConfig = roomService.getComponentConfig('MoreControl');
46
42
  const showMoreContent = ref(false);
@@ -14,6 +14,9 @@
14
14
  v-if="!roomStore.isSpeakAfterTakingSeatMode"
15
15
  v-tap="() => handleControlClick('chatControl')"
16
16
  />
17
+ <AIControl
18
+ @click="handleControlClick('AIControl')"
19
+ />
17
20
  <master-apply-control
18
21
  v-if="roomStore.isSpeakAfterTakingSeatMode && (isMaster || isAdmin)"
19
22
  v-tap="() => handleControlClick('MasterApplyControl')"
@@ -43,6 +46,7 @@ import ChatControl from '../ChatControl.vue';
43
46
  import MasterApplyControl from '../ManageStageControl.vue';
44
47
  import MemberApplyControl from '../ApplyControl/MemberApplyControl.vue';
45
48
  import MoreControl from '../MoreControl/index';
49
+ import AIControl from '../AIControl.vue';
46
50
  import bus from '../../../hooks/useMitt';
47
51
  import vTap from '../../../directives/vTap';
48
52