@ndscnj/roomkit-web-vue3 25.12.24158 → 25.12.24159

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.
Files changed (45) hide show
  1. package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +2 -0
  2. package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.mjs +1 -1
  3. package/es/components/RoomFooter/VoteControl/MoreControlH5.vue2.mjs +14 -53
  4. package/es/components/RoomFooter/VoteControl/index.d.ts +2 -0
  5. package/es/components/RoomFooter/index/index.d.ts +31 -4
  6. package/es/components/RoomFooter/index/indexH5.vue.d.ts +12 -1
  7. package/es/components/RoomFooter/index/indexH5.vue.mjs +1 -1
  8. package/es/components/RoomFooter/index/indexH5.vue2.mjs +19 -4
  9. package/es/components/RoomSidebar/index.d.ts +1 -27
  10. package/es/components/RoomSidebar/indexPC.vue.d.ts +1 -5
  11. package/es/components/RoomSidebar/indexPC.vue.mjs +2 -13
  12. package/es/components/RoomVote/index.d.ts +2 -6
  13. package/es/components/RoomVote/indexH5.vue.d.ts +10 -5
  14. package/es/components/RoomVote/indexH5.vue.mjs +9 -2
  15. package/es/index.mjs +51 -51
  16. package/lib/components/Chat/index/indexH5.vue.js +1 -1
  17. package/lib/components/ManageMember/MemberItem/indexH5.vue.js +1 -1
  18. package/lib/components/ManageMember/indexH5.vue.js +1 -1
  19. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +2 -0
  20. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.js +1 -1
  21. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue2.js +13 -52
  22. package/lib/components/RoomFooter/VoteControl/index.d.ts +2 -0
  23. package/lib/components/RoomFooter/index/index.d.ts +31 -4
  24. package/lib/components/RoomFooter/index/indexH5.vue.d.ts +12 -1
  25. package/lib/components/RoomFooter/index/indexH5.vue.js +2 -2
  26. package/lib/components/RoomFooter/index/indexH5.vue2.js +18 -3
  27. package/lib/components/RoomInvite/indexH5.vue.js +1 -1
  28. package/lib/components/RoomMore/indexH5.vue.js +1 -1
  29. package/lib/components/RoomSidebar/index.d.ts +1 -27
  30. package/lib/components/RoomSidebar/indexH5.vue.js +1 -1
  31. package/lib/components/RoomSidebar/indexPC.vue.d.ts +1 -5
  32. package/lib/components/RoomSidebar/indexPC.vue.js +1 -12
  33. package/lib/components/RoomVote/index.d.ts +2 -6
  34. package/lib/components/RoomVote/indexH5.vue.d.ts +10 -5
  35. package/lib/components/RoomVote/indexH5.vue.js +9 -2
  36. package/lib/index.js +51 -51
  37. package/package.json +1 -1
  38. package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlH5.vue +10 -42
  39. package/src/TUIRoom/components/RoomFooter/index/indexH5.vue +14 -2
  40. package/src/TUIRoom/components/RoomSidebar/indexPC.vue +1 -12
  41. package/src/TUIRoom/components/RoomVote/indexH5.vue +1 -30
  42. package/es/components/RoomVote/indexH5.vue2.mjs +0 -51
  43. package/es/components/RoomVote/useRoomMoreHooks.mjs +0 -43
  44. package/lib/components/RoomVote/indexH5.vue2.js +0 -51
  45. package/lib/components/RoomVote/useRoomMoreHooks.js +0 -43
@@ -4,12 +4,6 @@ const Vue = require("vue");
4
4
  const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
5
5
  const IconButton = require("../../common/base/IconButton.vue.js");
6
6
  const useMoreControlHooks = require("./useMoreControlHooks.js");
7
- const ChatControl_vue_vue_type_script_setup_true_lang = require("../ChatControl.vue.js");
8
- const InviteControl = require("../InviteControl.vue.js");
9
- const ContactControl = require("../ContactControl.vue.js");
10
- const room = require("../../../stores/room.js");
11
- const useMitt = require("../../../hooks/useMitt.js");
12
- const vTap = require("../../../directives/vTap.js");
13
7
  require("../../../services/main.js");
14
8
  const roomService = require("../../../services/roomService.js");
15
9
  require("../../../locales/index.js");
@@ -22,30 +16,21 @@ const _hoisted_1 = {
22
16
  key: 0,
23
17
  class: "more-control-container"
24
18
  };
25
- const _hoisted_2 = { class: "control-compent" };
26
- const _hoisted_3 = { class: "close" };
27
19
  const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
28
20
  __name: "MoreControlH5",
29
- emits: ["show-overlay"],
21
+ emits: ["show-overlay", "on-vote"],
30
22
  setup(__props, { emit: __emit }) {
31
- const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
23
+ const voteControlConfig = roomService.roomService.getComponentConfig("MoreControl");
32
24
  const showMoreContent = Vue.ref(false);
33
25
  const moreContentRef = Vue.ref();
34
- const { t, sidebarName } = useMoreControlHooks.default();
35
- const roomStore = room.useRoomStore();
26
+ const { t, sidebarName, basicStore } = useMoreControlHooks.default();
36
27
  const emit = __emit;
37
28
  function showMore() {
38
29
  showMoreContent.value = true;
39
- }
40
- function handleCancelControl() {
41
- showMoreContent.value = false;
42
- }
43
- function handleControlClick(name) {
44
- useMitt.default.emit("experience-communication", name);
45
- }
46
- function handleShowOverlay(data) {
47
- showMoreContent.value = false;
48
- emit("show-overlay", data);
30
+ emit("on-vote", {
31
+ name: "onVote",
32
+ visible: basicStore.isSidebarOpen
33
+ });
49
34
  }
50
35
  function handleDocumentClick(event) {
51
36
  if (showMoreContent.value && !moreContentRef.value.contains(event.target)) {
@@ -59,45 +44,21 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
59
44
  document == null ? void 0 : document.removeEventListener("click", handleDocumentClick, true);
60
45
  });
61
46
  return (_ctx, _cache) => {
47
+ const _directive_tap = Vue.resolveDirective("tap");
62
48
  return Vue.openBlock(), Vue.createElementBlock("div", null, [
63
- Vue.unref(moreControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
49
+ Vue.unref(voteControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
64
50
  Vue.withDirectives((Vue.openBlock(), Vue.createBlock(IconButton.default, {
65
- "is-active": Vue.unref(sidebarName) === "more",
66
- title: Vue.unref(t)("More")
51
+ "is-active": Vue.unref(sidebarName) === "vote",
52
+ title: Vue.unref(t)("Vote")
67
53
  }, {
68
54
  default: Vue.withCtx(() => [
69
55
  Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconExtension), { size: "24" })
70
56
  ]),
71
57
  _: 1
72
58
  }, 8, ["is-active", "title"])), [
73
- [Vue.unref(vTap.default), showMore]
74
- ])
75
- ])) : Vue.createCommentVNode("", true),
76
- showMoreContent.value ? (Vue.openBlock(), Vue.createElementBlock("div", {
77
- key: 1,
78
- ref_key: "moreContentRef",
79
- ref: moreContentRef,
80
- class: "show-more-content"
81
- }, [
82
- Vue.createElementVNode("div", _hoisted_2, [
83
- Vue.unref(roomStore).isSpeakAfterTakingSeatMode ? (Vue.openBlock(), Vue.createBlock(ChatControl_vue_vue_type_script_setup_true_lang.default, {
84
- key: 0,
85
- onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("chatControl"))
86
- })) : Vue.createCommentVNode("", true),
87
- Vue.createVNode(ContactControl.default, {
88
- onClick: _cache[1] || (_cache[1] = ($event) => handleControlClick("contactControl"))
89
- }),
90
- Vue.createVNode(InviteControl.default, {
91
- onShowOverlay: handleShowOverlay,
92
- onClick: _cache[2] || (_cache[2] = ($event) => handleControlClick("inviteControl"))
93
- })
94
- ]),
95
- Vue.withDirectives((Vue.openBlock(), Vue.createElementBlock("div", _hoisted_3, [
96
- Vue.createTextVNode(Vue.toDisplayString(Vue.unref(t)("Cancel")), 1)
97
- ])), [
98
- [Vue.unref(vTap.default), handleCancelControl]
59
+ [_directive_tap, showMore]
99
60
  ])
100
- ], 512)) : Vue.createCommentVNode("", true)
61
+ ])) : Vue.createCommentVNode("", true)
101
62
  ]);
102
63
  };
103
64
  }
@@ -1,7 +1,9 @@
1
1
  declare const MoreControl: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
2
  "show-overlay": (...args: any[]) => void;
3
+ "on-vote": (...args: any[]) => void;
3
4
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
5
  "onShow-overlay"?: ((...args: any[]) => any) | undefined;
6
+ "onOn-vote"?: ((...args: any[]) => any) | undefined;
5
7
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
8
  "on-vote": (...args: any[]) => void;
7
9
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
@@ -1,8 +1,35 @@
1
- declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- "show-overlay": (...args: any[]) => void;
3
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
1
+ declare const Index: ({
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
3
+ "onShow-overlay"?: ((...args: any[]) => any) | undefined;
4
+ "onOn-vote"?: ((...args: any[]) => any) | undefined;
5
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ "show-overlay": (...args: any[]) => void;
7
+ "on-vote": (...args: any[]) => void;
8
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
9
+ P: {};
10
+ B: {};
11
+ D: {};
12
+ C: {};
13
+ M: {};
14
+ Defaults: {};
15
+ }, Readonly<{}> & Readonly<{
16
+ "onShow-overlay"?: ((...args: any[]) => any) | undefined;
17
+ "onOn-vote"?: ((...args: any[]) => any) | undefined;
18
+ }>, {}, {}, {}, {}, {}>;
19
+ __isFragment?: never;
20
+ __isTeleport?: never;
21
+ __isSuspense?: never;
22
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
4
23
  "onShow-overlay"?: ((...args: any[]) => any) | undefined;
5
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
24
+ "onOn-vote"?: ((...args: any[]) => any) | undefined;
25
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ "show-overlay": (...args: any[]) => void;
27
+ "on-vote": (...args: any[]) => void;
28
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
29
+ $slots: {
30
+ content?(_: {}): any;
31
+ };
32
+ })) | ({
6
33
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
7
34
  "onOn-vote"?: ((...args: any[]) => any) | undefined;
8
35
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -1,6 +1,17 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ declare function __VLS_template(): {
2
+ content?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
5
  "show-overlay": (...args: any[]) => void;
6
+ "on-vote": (...args: any[]) => void;
3
7
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
8
  "onShow-overlay"?: ((...args: any[]) => any) | undefined;
9
+ "onOn-vote"?: ((...args: any[]) => any) | undefined;
5
10
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
6
12
  export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const indexH5_vue_vue_type_script_setup_true_lang = require("./indexH5.vue2.js");
3
+ const indexH5_vue_vue_type_script_setup_true_lang = ;/* empty css */
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-f3bbac91"]]);
6
+ const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-ee2c0715"]]);
7
7
  exports.default = indexH5;
@@ -57,17 +57,21 @@ const ManageMemberControl_vue_vue_type_script_setup_true_lang = require("../Mana
57
57
  const ChatControl_vue_vue_type_script_setup_true_lang = require("../ChatControl.vue.js");
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
- const index$1 = require("../MoreControl/index.js");
60
+ const index$2 = require("../MoreControl/index.js");
61
+ const index$1 = require("../VoteControl/index.js");
61
62
  const AIControl = require("../AIControl.vue.js");
62
63
  const useMitt = require("../../../hooks/useMitt.js");
63
64
  const useRoomFooterHooks = require("./useRoomFooterHooks.js");
64
65
  const _hoisted_1 = { class: "footer-container" };
65
66
  const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
66
67
  __name: "indexH5",
67
- emits: ["show-overlay"],
68
+ emits: ["show-overlay", "on-vote"],
68
69
  setup(__props, { emit: __emit }) {
69
70
  const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooterHooks.default();
70
71
  const emit = __emit;
72
+ const onVote = (data) => {
73
+ emit("on-vote", { code: data.visible, message: "vote" });
74
+ };
71
75
  function handleControlClick(name) {
72
76
  useMitt.default.emit("experience-communication", name);
73
77
  }
@@ -91,6 +95,17 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
91
95
  !Vue.unref(roomStore).isSpeakAfterTakingSeatMode ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(ChatControl_vue_vue_type_script_setup_true_lang.default, { key: 2 }, null, 512)), [
92
96
  [Vue.unref(vTap.default), () => handleControlClick("chatControl")]
93
97
  ]) : Vue.createCommentVNode("", true),
98
+ Vue.withDirectives((Vue.openBlock(), Vue.createBlock(Vue.unref(index$1.default), {
99
+ onShowOverlay: handleShowOverlay,
100
+ onOnVote: onVote
101
+ }, {
102
+ content: Vue.withCtx(() => [
103
+ Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
104
+ ]),
105
+ _: 3
106
+ })), [
107
+ [Vue.unref(vTap.default), () => handleControlClick("voteControl")]
108
+ ]),
94
109
  Vue.createVNode(AIControl.default, {
95
110
  onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("AIControl"))
96
111
  }),
@@ -103,7 +118,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
103
118
  Vue.withDirectives(Vue.createVNode(ManageMemberControl_vue_vue_type_script_setup_true_lang.default, null, null, 512), [
104
119
  [Vue.unref(vTap.default), () => handleControlClick("manageMemberControl")]
105
120
  ]),
106
- Vue.withDirectives(Vue.createVNode(Vue.unref(index$1.default), { onShowOverlay: handleShowOverlay }, null, 512), [
121
+ Vue.withDirectives(Vue.createVNode(Vue.unref(index$2.default), { onShowOverlay: handleShowOverlay }, null, 512), [
107
122
  [Vue.unref(vTap.default), () => handleControlClick("moreControl")]
108
123
  ])
109
124
  ]);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const indexH5_vue_vue_type_script_setup_true_lang = require("./indexH5.vue2.js");
3
+ const indexH5_vue_vue_type_script_setup_true_lang = ;/* empty css */
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
6
6
  const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-4450d628"]]);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const indexH5_vue_vue_type_script_setup_true_lang = require("./indexH5.vue2.js");
3
+ const indexH5_vue_vue_type_script_setup_true_lang = ;/* empty css */
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
6
6
  const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-bae34b36"]]);
@@ -1,28 +1,2 @@
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
- }));
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>;
28
2
  export default Index;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const indexH5_vue_vue_type_script_setup_true_lang = require("./indexH5.vue2.js");
3
+ const indexH5_vue_vue_type_script_setup_true_lang = ;/* empty css */
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
6
6
  const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-e545b2de"]]);
@@ -1,11 +1,7 @@
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, {
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>;
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
5
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
6
  export default _default;
11
7
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -11,19 +11,8 @@ 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
- emits: ["on-vote"],
15
- setup(__props, { emit: __emit }) {
14
+ setup(__props) {
16
15
  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
- );
27
16
  return (_ctx, _cache) => {
28
17
  return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
29
18
  Vue.createVNode(Drawer.default, {
@@ -1,8 +1,4 @@
1
- declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- "on-close-contact": (...args: any[]) => void;
3
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
- "onOn-close-contact"?: ((...args: any[]) => any) | undefined;
5
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
1
+ declare const Index: {
6
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
7
3
  P: {};
8
4
  B: {};
@@ -18,5 +14,5 @@ declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('v
18
14
  $slots: {
19
15
  content?(_: {}): any;
20
16
  };
21
- }));
17
+ });
22
18
  export default Index;
@@ -1,6 +1,11 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- "on-close-contact": (...args: any[]) => void;
3
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
- "onOn-close-contact"?: ((...args: any[]) => any) | undefined;
5
- }>, {}, {}, {}, {}, 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, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
6
6
  export default _default;
7
+ type __VLS_WithTemplateSlots<T, S> = T & {
8
+ new (): {
9
+ $slots: S;
10
+ };
11
+ };
@@ -1,7 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const indexH5_vue_vue_type_script_setup_true_lang = require("./indexH5.vue2.js");
3
+ const Vue = require("vue");
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-939000cb"]]);
6
+ const _sfc_main = {};
7
+ const _hoisted_1 = { class: "contact-container-main" };
8
+ function _sfc_render(_ctx, _cache) {
9
+ return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
10
+ Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
11
+ ]);
12
+ }
13
+ const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-872a5da4"]]);
7
14
  exports.default = indexH5;
package/lib/index.js CHANGED
@@ -3635,6 +3635,44 @@ to {
3635
3635
  border-radius: 8px;
3636
3636
  color: var(--text-color-primary);
3637
3637
  background-color: var(--button-color-secondary-default);
3638
+ }.show-more-content[data-v-b8ad5a8b] {
3639
+ position: absolute;
3640
+ bottom: 15px;
3641
+ left: 5%;
3642
+ width: 90%;
3643
+ height: 17vh;
3644
+ padding: 10px;
3645
+ border-radius: 13px;
3646
+ animation-name: popup-b8ad5a8b;
3647
+ animation-duration: 200ms;
3648
+ background-color: var(--bg-color-operate);
3649
+ }
3650
+ @keyframes popup-b8ad5a8b {
3651
+ from {
3652
+ bottom: 0;
3653
+ }
3654
+ to {
3655
+ bottom: 15px;
3656
+ }
3657
+ }
3658
+ .control-compent[data-v-b8ad5a8b] {
3659
+ display: flex;
3660
+ }
3661
+ .close[data-v-b8ad5a8b] {
3662
+ position: relative;
3663
+ top: 10%;
3664
+ display: flex;
3665
+ align-items: center;
3666
+ justify-content: center;
3667
+ width: 100%;
3668
+ padding: 10px;
3669
+ font-style: normal;
3670
+ font-weight: 400;
3671
+ line-height: 24px;
3672
+ text-align: center;
3673
+ border-radius: 8px;
3674
+ color: var(--text-color-primary);
3675
+ background-color: var(--button-color-secondary-default);
3638
3676
  }.tool-box[data-v-34681937] {
3639
3677
  position: absolute;
3640
3678
  bottom: 72px;
@@ -3664,7 +3702,7 @@ to {
3664
3702
  .tool-box .tool-box-item[data-v-34681937]:hover {
3665
3703
  border-radius: 8px;
3666
3704
  background-color: var(--list-color-hover);
3667
- }.footer-container[data-v-f3bbac91] {
3705
+ }.footer-container[data-v-ee2c0715] {
3668
3706
  position: absolute;
3669
3707
  bottom: 0;
3670
3708
  display: flex;
@@ -3928,44 +3966,6 @@ to {
3928
3966
  }
3929
3967
  .footer .mirror-container .mirror-text[data-v-21a63691] {
3930
3968
  margin-left: 4px;
3931
- }.show-more-content[data-v-c413959d] {
3932
- position: absolute;
3933
- bottom: 15px;
3934
- left: 5%;
3935
- width: 90%;
3936
- height: 17vh;
3937
- padding: 10px;
3938
- border-radius: 13px;
3939
- animation-name: popup-c413959d;
3940
- animation-duration: 200ms;
3941
- background-color: var(--bg-color-operate);
3942
- }
3943
- @keyframes popup-c413959d {
3944
- from {
3945
- bottom: 0;
3946
- }
3947
- to {
3948
- bottom: 15px;
3949
- }
3950
- }
3951
- .control-compent[data-v-c413959d] {
3952
- display: flex;
3953
- }
3954
- .close[data-v-c413959d] {
3955
- position: relative;
3956
- top: 10%;
3957
- display: flex;
3958
- align-items: center;
3959
- justify-content: center;
3960
- width: 100%;
3961
- padding: 10px;
3962
- font-style: normal;
3963
- font-weight: 400;
3964
- line-height: 24px;
3965
- text-align: center;
3966
- border-radius: 8px;
3967
- color: var(--text-color-primary);
3968
- background-color: var(--button-color-secondary-default);
3969
3969
  }.footer-container[data-v-4afcea78] {
3970
3970
  position: absolute;
3971
3971
  bottom: 0;
@@ -4986,13 +4986,13 @@ to {
4986
4986
  right: 0;
4987
4987
  z-index: 101;
4988
4988
  height: 100%;
4989
- }span[data-v-939000cb] {
4989
+ }span[data-v-872a5da4] {
4990
4990
  padding-right: 5px;
4991
4991
  font-size: 12px;
4992
4992
  font-weight: 500;
4993
4993
  line-height: 17px;
4994
4994
  }
4995
- .contact-container-main[data-v-939000cb] {
4995
+ .contact-container-main[data-v-872a5da4] {
4996
4996
  position: fixed;
4997
4997
  bottom: 0;
4998
4998
  display: flex;
@@ -5000,11 +5000,11 @@ to {
5000
5000
  width: 100%;
5001
5001
  padding-bottom: 4vh;
5002
5002
  border-radius: 15px 15px 0 0;
5003
- animation-name: popup-939000cb;
5003
+ animation-name: popup-872a5da4;
5004
5004
  animation-duration: 200ms;
5005
5005
  background-color: var(--bg-color-operate);
5006
5006
  }
5007
- @keyframes popup-939000cb {
5007
+ @keyframes popup-872a5da4 {
5008
5008
  from {
5009
5009
  transform: scaleY(0);
5010
5010
  transform-origin: bottom;
@@ -5014,7 +5014,7 @@ to {
5014
5014
  transform-origin: bottom;
5015
5015
  }
5016
5016
  }
5017
- .contact-container-main .contact-title-main[data-v-939000cb] {
5017
+ .contact-container-main .contact-title-main[data-v-872a5da4] {
5018
5018
  display: flex;
5019
5019
  flex-direction: row;
5020
5020
  align-items: center;
@@ -5026,7 +5026,7 @@ to {
5026
5026
  line-height: 24px;
5027
5027
  color: var(--text-color-primary);
5028
5028
  }
5029
- .contact-container-main .contact-content-main[data-v-939000cb] {
5029
+ .contact-container-main .contact-content-main[data-v-872a5da4] {
5030
5030
  display: flex;
5031
5031
  flex-direction: row;
5032
5032
  align-items: center;
@@ -5035,8 +5035,8 @@ to {
5035
5035
  padding: 0 0 0 25px;
5036
5036
  margin-bottom: 10px;
5037
5037
  }
5038
- .contact-container-main .contact-title[data-v-939000cb],
5039
- .contact-container-main .contact-content[data-v-939000cb] {
5038
+ .contact-container-main .contact-title[data-v-872a5da4],
5039
+ .contact-container-main .contact-content[data-v-872a5da4] {
5040
5040
  width: 28%;
5041
5041
  font-family: "PingFang SC";
5042
5042
  font-size: 14px;
@@ -5046,7 +5046,7 @@ to {
5046
5046
  white-space: nowrap;
5047
5047
  color: var(--text-color-primary);
5048
5048
  }
5049
- .contact-container-main .contact-content[data-v-939000cb] {
5049
+ .contact-container-main .contact-content[data-v-872a5da4] {
5050
5050
  width: 62%;
5051
5051
  overflow: hidden;
5052
5052
  font-size: 14px;
@@ -5054,7 +5054,7 @@ to {
5054
5054
  white-space: nowrap;
5055
5055
  color: var(--text-color-secondary);
5056
5056
  }
5057
- .contact-container-main .contact-bottom[data-v-939000cb] {
5057
+ .contact-container-main .contact-bottom[data-v-872a5da4] {
5058
5058
  width: 90%;
5059
5059
  padding-left: 40px;
5060
5060
  font-family: "PingFang SC";
@@ -5065,11 +5065,11 @@ to {
5065
5065
  text-align: center;
5066
5066
  color: var(--text-color-secondary);
5067
5067
  }
5068
- .contact-container-main .copy[data-v-939000cb] {
5068
+ .contact-container-main .copy[data-v-872a5da4] {
5069
5069
  margin-left: 30px;
5070
5070
  color: var(--text-color-link);
5071
5071
  }
5072
- .cancel[data-v-939000cb] {
5072
+ .cancel[data-v-872a5da4] {
5073
5073
  flex: 1;
5074
5074
  padding-right: 30px;
5075
5075
  font-size: 16px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndscnj/roomkit-web-vue3",
3
- "version": "25.12.24158",
3
+ "version": "25.12.24159",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",