@ndscnj/roomkit-web-vue3 25.12.24158 → 25.12.24161

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 (50) 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/RoomFooter/index/indexPC.vue.mjs +1 -1
  10. package/es/components/RoomFooter/index/indexPC.vue2.mjs +2 -1
  11. package/es/components/RoomSidebar/index.d.ts +1 -27
  12. package/es/components/RoomSidebar/indexPC.vue.d.ts +1 -5
  13. package/es/components/RoomSidebar/indexPC.vue.mjs +2 -13
  14. package/es/components/RoomVote/index.d.ts +2 -6
  15. package/es/components/RoomVote/indexH5.vue.d.ts +10 -5
  16. package/es/components/RoomVote/indexH5.vue.mjs +9 -2
  17. package/es/index.mjs +57 -57
  18. package/lib/components/Chat/index/indexH5.vue.js +1 -1
  19. package/lib/components/ManageMember/MemberItem/indexH5.vue.js +1 -1
  20. package/lib/components/ManageMember/indexH5.vue.js +1 -1
  21. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +2 -0
  22. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.js +1 -1
  23. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue2.js +13 -52
  24. package/lib/components/RoomFooter/VoteControl/index.d.ts +2 -0
  25. package/lib/components/RoomFooter/index/index.d.ts +31 -4
  26. package/lib/components/RoomFooter/index/indexH5.vue.d.ts +12 -1
  27. package/lib/components/RoomFooter/index/indexH5.vue.js +2 -2
  28. package/lib/components/RoomFooter/index/indexH5.vue2.js +18 -3
  29. package/lib/components/RoomFooter/index/indexPC.vue.js +1 -1
  30. package/lib/components/RoomFooter/index/indexPC.vue2.js +1 -0
  31. package/lib/components/RoomInvite/indexH5.vue.js +1 -1
  32. package/lib/components/RoomMore/indexH5.vue.js +1 -1
  33. package/lib/components/RoomSidebar/index.d.ts +1 -27
  34. package/lib/components/RoomSidebar/indexH5.vue.js +1 -1
  35. package/lib/components/RoomSidebar/indexPC.vue.d.ts +1 -5
  36. package/lib/components/RoomSidebar/indexPC.vue.js +1 -12
  37. package/lib/components/RoomVote/index.d.ts +2 -6
  38. package/lib/components/RoomVote/indexH5.vue.d.ts +10 -5
  39. package/lib/components/RoomVote/indexH5.vue.js +9 -2
  40. package/lib/index.js +57 -57
  41. package/package.json +1 -1
  42. package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlH5.vue +10 -42
  43. package/src/TUIRoom/components/RoomFooter/index/indexH5.vue +14 -2
  44. package/src/TUIRoom/components/RoomFooter/index/indexPC.vue +1 -0
  45. package/src/TUIRoom/components/RoomSidebar/indexPC.vue +1 -12
  46. package/src/TUIRoom/components/RoomVote/indexH5.vue +1 -30
  47. package/es/components/RoomVote/indexH5.vue2.mjs +0 -51
  48. package/es/components/RoomVote/useRoomMoreHooks.mjs +0 -43
  49. package/lib/components/RoomVote/indexH5.vue2.js +0 -51
  50. package/lib/components/RoomVote/useRoomMoreHooks.js +0 -43
@@ -1,6 +1,8 @@
1
1
  declare const _default: 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>;
6
8
  export default _default;
@@ -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-c413959d"]]);
4
+ const MoreControlH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b8ad5a8b"]]);
5
5
  export {
6
6
  MoreControlH5 as default
7
7
  };
@@ -1,13 +1,7 @@
1
- import { defineComponent, ref, onMounted, onUnmounted, createElementBlock, openBlock, createCommentVNode, unref, withDirectives, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString } from "vue";
1
+ import { defineComponent, ref, onMounted, onUnmounted, resolveDirective, createElementBlock, openBlock, createCommentVNode, unref, withDirectives, createBlock, withCtx, createVNode } from "vue";
2
2
  import { IconExtension } from "@tencentcloud/uikit-base-component-vue3";
3
3
  import IconButton from "../../common/base/IconButton.vue.mjs";
4
4
  import useControl from "./useMoreControlHooks.mjs";
5
- import _sfc_main$1 from "../ChatControl.vue.mjs";
6
- import InviteControl from "../InviteControl.vue.mjs";
7
- import ContactControl from "../ContactControl.vue.mjs";
8
- import { useRoomStore } from "../../../stores/room.mjs";
9
- import bus from "../../../hooks/useMitt.mjs";
10
- import vTap from "../../../directives/vTap.mjs";
11
5
  import "../../../services/main.mjs";
12
6
  import { roomService } from "../../../services/roomService.mjs";
13
7
  import "../../../locales/index.mjs";
@@ -20,30 +14,21 @@ const _hoisted_1 = {
20
14
  key: 0,
21
15
  class: "more-control-container"
22
16
  };
23
- const _hoisted_2 = { class: "control-compent" };
24
- const _hoisted_3 = { class: "close" };
25
17
  const _sfc_main = /* @__PURE__ */ defineComponent({
26
18
  __name: "MoreControlH5",
27
- emits: ["show-overlay"],
19
+ emits: ["show-overlay", "on-vote"],
28
20
  setup(__props, { emit: __emit }) {
29
- const moreControlConfig = roomService.getComponentConfig("MoreControl");
21
+ const voteControlConfig = roomService.getComponentConfig("MoreControl");
30
22
  const showMoreContent = ref(false);
31
23
  const moreContentRef = ref();
32
- const { t, sidebarName } = useControl();
33
- const roomStore = useRoomStore();
24
+ const { t, sidebarName, basicStore } = useControl();
34
25
  const emit = __emit;
35
26
  function showMore() {
36
27
  showMoreContent.value = true;
37
- }
38
- function handleCancelControl() {
39
- showMoreContent.value = false;
40
- }
41
- function handleControlClick(name) {
42
- bus.emit("experience-communication", name);
43
- }
44
- function handleShowOverlay(data) {
45
- showMoreContent.value = false;
46
- emit("show-overlay", data);
28
+ emit("on-vote", {
29
+ name: "onVote",
30
+ visible: basicStore.isSidebarOpen
31
+ });
47
32
  }
48
33
  function handleDocumentClick(event) {
49
34
  if (showMoreContent.value && !moreContentRef.value.contains(event.target)) {
@@ -57,45 +42,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
57
42
  document == null ? void 0 : document.removeEventListener("click", handleDocumentClick, true);
58
43
  });
59
44
  return (_ctx, _cache) => {
45
+ const _directive_tap = resolveDirective("tap");
60
46
  return openBlock(), createElementBlock("div", null, [
61
- unref(moreControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
47
+ unref(voteControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
62
48
  withDirectives((openBlock(), createBlock(IconButton, {
63
- "is-active": unref(sidebarName) === "more",
64
- title: unref(t)("More")
49
+ "is-active": unref(sidebarName) === "vote",
50
+ title: unref(t)("Vote")
65
51
  }, {
66
52
  default: withCtx(() => [
67
53
  createVNode(unref(IconExtension), { size: "24" })
68
54
  ]),
69
55
  _: 1
70
56
  }, 8, ["is-active", "title"])), [
71
- [unref(vTap), showMore]
72
- ])
73
- ])) : createCommentVNode("", true),
74
- showMoreContent.value ? (openBlock(), createElementBlock("div", {
75
- key: 1,
76
- ref_key: "moreContentRef",
77
- ref: moreContentRef,
78
- class: "show-more-content"
79
- }, [
80
- createElementVNode("div", _hoisted_2, [
81
- unref(roomStore).isSpeakAfterTakingSeatMode ? (openBlock(), createBlock(_sfc_main$1, {
82
- key: 0,
83
- onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("chatControl"))
84
- })) : createCommentVNode("", true),
85
- createVNode(ContactControl, {
86
- onClick: _cache[1] || (_cache[1] = ($event) => handleControlClick("contactControl"))
87
- }),
88
- createVNode(InviteControl, {
89
- onShowOverlay: handleShowOverlay,
90
- onClick: _cache[2] || (_cache[2] = ($event) => handleControlClick("inviteControl"))
91
- })
92
- ]),
93
- withDirectives((openBlock(), createElementBlock("div", _hoisted_3, [
94
- createTextVNode(toDisplayString(unref(t)("Cancel")), 1)
95
- ])), [
96
- [unref(vTap), handleCancelControl]
57
+ [_directive_tap, showMore]
97
58
  ])
98
- ], 512)) : createCommentVNode("", true)
59
+ ])) : createCommentVNode("", true)
99
60
  ]);
100
61
  };
101
62
  }
@@ -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
  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-f3bbac91"]]);
4
+ const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-49d683da"]]);
5
5
  export {
6
6
  indexH5 as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, withDirectives, createCommentVNode, createVNode, unref, createBlock } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, withDirectives, createCommentVNode, createVNode, unref, createBlock, withCtx, renderSlot } 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";
@@ -55,17 +55,21 @@ import _sfc_main$4 from "../ManageMemberControl.vue.mjs";
55
55
  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
- import MoreControl from "../MoreControl/index.mjs";
58
+ import MoreControl$1 from "../MoreControl/index.mjs";
59
+ import MoreControl from "../VoteControl/index.mjs";
59
60
  import AIControl from "../AIControl.vue.mjs";
60
61
  import bus from "../../../hooks/useMitt.mjs";
61
62
  import useRoomFooter from "./useRoomFooterHooks.mjs";
62
63
  const _hoisted_1 = { class: "footer-container" };
63
64
  const _sfc_main = /* @__PURE__ */ defineComponent({
64
65
  __name: "indexH5",
65
- emits: ["show-overlay"],
66
+ emits: ["show-overlay", "on-vote"],
66
67
  setup(__props, { emit: __emit }) {
67
68
  const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooter();
68
69
  const emit = __emit;
70
+ const onVote = (data) => {
71
+ emit("on-vote", { code: data.visible, message: "vote" });
72
+ };
69
73
  function handleControlClick(name) {
70
74
  bus.emit("experience-communication", name);
71
75
  }
@@ -89,6 +93,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
89
93
  !unref(roomStore).isSpeakAfterTakingSeatMode ? withDirectives((openBlock(), createBlock(_sfc_main$2, { key: 2 }, null, 512)), [
90
94
  [unref(vTap), () => handleControlClick("chatControl")]
91
95
  ]) : createCommentVNode("", true),
96
+ withDirectives((openBlock(), createBlock(unref(MoreControl), {
97
+ onShowOverlay: handleShowOverlay,
98
+ onOnVote: onVote
99
+ }, {
100
+ content: withCtx(() => [
101
+ renderSlot(_ctx.$slots, "content", {}, void 0, true)
102
+ ]),
103
+ _: 3
104
+ })), [
105
+ [unref(vTap), () => handleControlClick("voteControl")]
106
+ ]),
92
107
  createVNode(AIControl, {
93
108
  onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("AIControl"))
94
109
  }),
@@ -101,7 +116,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
101
116
  withDirectives(createVNode(_sfc_main$4, null, null, 512), [
102
117
  [unref(vTap), () => handleControlClick("manageMemberControl")]
103
118
  ]),
104
- withDirectives(createVNode(unref(MoreControl), { onShowOverlay: handleShowOverlay }, null, 512), [
119
+ withDirectives(createVNode(unref(MoreControl$1), { onShowOverlay: handleShowOverlay }, null, 512), [
105
120
  [unref(vTap), () => handleControlClick("moreControl")]
106
121
  ])
107
122
  ]);
@@ -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-4afcea78"]]);
4
+ const indexPc = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-eeb020b6"]]);
5
5
  export {
6
6
  indexPc as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, createElementVNode, createBlock, createCommentVNode, unref, createVNode, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, createElementVNode, createBlock, createCommentVNode, unref, createVNode, renderSlot, withCtx } 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";
@@ -137,6 +137,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
137
137
  class: "center-container-item",
138
138
  onClick: _cache[9] || (_cache[9] = ($event) => handleControlClick("MasterApplyControl"))
139
139
  })) : createCommentVNode("", true),
140
+ renderSlot(_ctx.$slots, "content", {}, void 0, true),
140
141
  createVNode(unref(MoreControl), {
141
142
  class: "center-container-item",
142
143
  onClick: _cache[10] || (_cache[10] = ($event) => handleControlClick("voteControl")),
@@ -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,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 & {
@@ -1,4 +1,4 @@
1
- import { defineComponent, watch, createElementBlock, openBlock, createVNode, unref, isRef, withCtx, createBlock, createCommentVNode, renderSlot } from "vue";
1
+ import { defineComponent, 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,19 +9,8 @@ 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
- emits: ["on-vote"],
13
- setup(__props, { emit: __emit }) {
12
+ setup(__props) {
14
13
  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
- );
25
14
  return (_ctx, _cache) => {
26
15
  return openBlock(), createElementBlock("div", _hoisted_1, [
27
16
  createVNode(Drawer, {
@@ -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
- import _sfc_main from "./indexH5.vue2.mjs";
1
+ import { createElementBlock, openBlock, renderSlot } from "vue";
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-939000cb"]]);
4
+ const _sfc_main = {};
5
+ const _hoisted_1 = { class: "contact-container-main" };
6
+ function _sfc_render(_ctx, _cache) {
7
+ return openBlock(), createElementBlock("div", _hoisted_1, [
8
+ renderSlot(_ctx.$slots, "content", {}, void 0, true)
9
+ ]);
10
+ }
11
+ const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-872a5da4"]]);
5
12
  export {
6
13
  indexH5 as default
7
14
  };
package/es/index.mjs 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-49d683da] {
3668
3706
  position: absolute;
3669
3707
  bottom: 0;
3670
3708
  display: flex;
@@ -3928,45 +3966,7 @@ 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
- }.footer-container[data-v-4afcea78] {
3969
+ }.footer-container[data-v-eeb020b6] {
3970
3970
  position: absolute;
3971
3971
  bottom: 0;
3972
3972
  display: flex;
@@ -3980,25 +3980,25 @@ to {
3980
3980
  background-color: var(--bg-color-topbar);
3981
3981
  box-shadow: 0 -8px 30px var(--uikit-color-black-8);
3982
3982
  }
3983
- .footer-container .left-container[data-v-4afcea78] {
3983
+ .footer-container .left-container[data-v-eeb020b6] {
3984
3984
  display: flex;
3985
3985
  align-items: center;
3986
3986
  height: 100%;
3987
3987
  }
3988
- .footer-container .left-container .left-container-item[data-v-4afcea78]:not(:first-child) {
3988
+ .footer-container .left-container .left-container-item[data-v-eeb020b6]:not(:first-child) {
3989
3989
  margin-left: 1rem;
3990
3990
  }
3991
- .footer-container .center-container[data-v-4afcea78] {
3991
+ .footer-container .center-container[data-v-eeb020b6] {
3992
3992
  position: relative;
3993
3993
  display: flex;
3994
3994
  align-items: center;
3995
3995
  height: 100%;
3996
3996
  margin: 0 auto;
3997
3997
  }
3998
- .footer-container .center-container .center-container-item[data-v-4afcea78]:not(:first-child) {
3998
+ .footer-container .center-container .center-container-item[data-v-eeb020b6]:not(:first-child) {
3999
3999
  margin-left: 16px;
4000
4000
  }
4001
- .footer-container .right-container[data-v-4afcea78] {
4001
+ .footer-container .right-container[data-v-eeb020b6] {
4002
4002
  display: flex;
4003
4003
  align-items: center;
4004
4004
  height: 100%;
@@ -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;
@@ -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-a8c21a66"]]);
@@ -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-04bc5b87"]]);