@ndscnj/roomkit-web-vue3 25.12.2316 → 25.12.2317

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/index/index.d.ts +17 -1
  2. package/es/components/RoomFooter/index/indexPC.vue.d.ts +10 -1
  3. package/es/components/RoomFooter/index/indexPC.vue.mjs +1 -1
  4. package/es/components/RoomFooter/index/indexPC.vue2.mjs +6 -1
  5. package/es/components/RoomFooter/voteControl.vue.d.ts +1 -1
  6. package/es/components/RoomFooter/voteControl.vue.mjs +1 -1
  7. package/es/components/RoomFooter/voteControl.vue2.mjs +1 -1
  8. package/es/components/RoomSidebar/indexPC.vue.mjs +5 -5
  9. package/es/components/RoomVote/index.mjs +7 -0
  10. package/es/components/RoomVote/indexH5.vue.d.ts +6 -0
  11. package/es/components/RoomVote/indexH5.vue.mjs +7 -0
  12. package/es/components/RoomVote/indexH5.vue2.mjs +51 -0
  13. package/es/components/RoomVote/indexPC.vue.d.ts +2 -0
  14. package/es/components/RoomVote/indexPC.vue.mjs +7 -0
  15. package/es/components/RoomVote/indexPC.vue2.mjs +48 -0
  16. package/es/components/RoomVote/useRoomMoreHooks.mjs +43 -0
  17. package/es/conference.vue.d.ts +10 -1
  18. package/es/conference.vue.mjs +1 -1
  19. package/es/conference.vue2.mjs +7 -2
  20. package/es/index.mjs +170 -17
  21. package/lib/components/RoomFooter/index/index.d.ts +17 -1
  22. package/lib/components/RoomFooter/index/indexPC.vue.d.ts +10 -1
  23. package/lib/components/RoomFooter/index/indexPC.vue.js +1 -1
  24. package/lib/components/RoomFooter/index/indexPC.vue2.js +5 -0
  25. package/lib/components/RoomFooter/voteControl.vue.d.ts +1 -1
  26. package/lib/components/RoomFooter/voteControl.vue.js +1 -1
  27. package/lib/components/RoomFooter/voteControl.vue2.js +1 -1
  28. package/lib/components/RoomSidebar/indexPC.vue.js +6 -6
  29. package/lib/components/RoomVote/index.js +7 -0
  30. package/lib/components/RoomVote/indexH5.vue.d.ts +6 -0
  31. package/lib/components/RoomVote/indexH5.vue.js +7 -0
  32. package/lib/components/RoomVote/indexH5.vue2.js +51 -0
  33. package/lib/components/RoomVote/indexPC.vue.d.ts +2 -0
  34. package/lib/components/RoomVote/indexPC.vue.js +7 -0
  35. package/lib/components/RoomVote/indexPC.vue2.js +48 -0
  36. package/lib/components/RoomVote/useRoomMoreHooks.js +43 -0
  37. package/lib/conference.vue.d.ts +10 -1
  38. package/lib/conference.vue.js +1 -1
  39. package/lib/conference.vue2.js +6 -1
  40. package/lib/index.js +170 -17
  41. package/package.json +1 -1
  42. package/src/TUIRoom/components/RoomFooter/index/indexPC.vue +5 -1
  43. package/src/TUIRoom/components/RoomFooter/voteControl.vue +1 -1
  44. package/src/TUIRoom/components/RoomSidebar/indexPC.vue +1 -0
  45. package/src/TUIRoom/conference.vue +5 -1
@@ -2,5 +2,21 @@ declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('v
2
2
  "show-overlay": (...args: any[]) => void;
3
3
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
4
  "onShow-overlay"?: ((...args: any[]) => any) | undefined;
5
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
6
+ 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
+ P: {};
8
+ B: {};
9
+ D: {};
10
+ C: {};
11
+ M: {};
12
+ Defaults: {};
13
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
14
+ __isFragment?: never;
15
+ __isTeleport?: never;
16
+ __isSuspense?: never;
17
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
18
+ $slots: {
19
+ content?(_: {}): any;
20
+ };
21
+ }));
6
22
  export default Index;
@@ -1,2 +1,11 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ declare function __VLS_template(): {
2
+ content?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, 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>>;
2
6
  export default _default;
7
+ type __VLS_WithTemplateSlots<T, S> = T & {
8
+ new (): {
9
+ $slots: S;
10
+ };
11
+ };
@@ -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-28ae2921"]]);
6
+ const indexPc = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-6b90d75f"]]);
7
7
  exports.default = indexPc;
@@ -136,6 +136,11 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
136
136
  Vue.createVNode(voteControl.default, {
137
137
  class: "center-container-item",
138
138
  onClick: _cache[10] || (_cache[10] = ($event) => handleControlClick("voteControl"))
139
+ }, {
140
+ content: Vue.withCtx(() => [
141
+ Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
142
+ ]),
143
+ _: 3
139
144
  }),
140
145
  Vue.createVNode(Vue.unref(index$1.default), {
141
146
  class: "center-container-item",
@@ -1,5 +1,5 @@
1
1
  declare function __VLS_template(): {
2
- default?(_: {}): any;
2
+ content?(_: {}): any;
3
3
  };
4
4
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
5
  "on-vote": (...args: any[]) => void;
@@ -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-7493ac70"]]);
6
+ const voteControl = /* @__PURE__ */ _pluginVue_exportHelper.default(voteControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-e3b01383"]]);
7
7
  exports.default = voteControl;
@@ -51,7 +51,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
51
51
  _cache[1] || (_cache[1] = Vue.createTextVNode(" 测试 ", -1)),
52
52
  !isSidebarOpen.value && showToolBox.value ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, [
53
53
  _cache[0] || (_cache[0] = Vue.createTextVNode(" 123 ", -1)),
54
- Vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
54
+ Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
55
55
  ])) : Vue.createCommentVNode("", true)
56
56
  ]);
57
57
  };
@@ -3,8 +3,9 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const Vue = require("vue");
4
4
  const Drawer = require("../common/base/Drawer.vue.js");
5
5
  const useSideBarHooks = require("./useSideBarHooks.js");
6
- const index$2 = require("../ManageMember/index.js");
7
- const index$1 = require("../RoomMore/index.js");
6
+ const index$3 = require("../ManageMember/index.js");
7
+ const index$2 = require("../RoomMore/index.js");
8
+ const index$1 = require("../RoomVote/index.js");
8
9
  const index = require("../Chat/index/index.js");
9
10
  const AITranscription = require("../common/widgets/AITools/AITranscription.vue.js");
10
11
  const _hoisted_1 = { class: "sidebar-container" };
@@ -13,7 +14,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
13
14
  setup(__props) {
14
15
  const { isSidebarOpen, title, handleClose, sidebarName } = useSideBarHooks.default();
15
16
  return (_ctx, _cache) => {
16
- const _component_room_vote = Vue.resolveComponent("room-vote");
17
17
  return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
18
18
  Vue.createVNode(Drawer.default, {
19
19
  modelValue: Vue.unref(isSidebarOpen),
@@ -25,9 +25,9 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
25
25
  }, {
26
26
  default: Vue.withCtx(() => [
27
27
  Vue.unref(sidebarName) == "chat" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index.default), { key: 0 })) : Vue.createCommentVNode("", true),
28
- Vue.unref(sidebarName) == "vote" ? (Vue.openBlock(), Vue.createBlock(_component_room_vote, { key: 1 })) : Vue.createCommentVNode("", true),
29
- Vue.unref(sidebarName) == "more" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$1.default), { key: 2 })) : Vue.createCommentVNode("", true),
30
- Vue.unref(sidebarName) == "manage-member" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$2.default), { key: 3 })) : Vue.createCommentVNode("", true),
28
+ Vue.unref(sidebarName) == "vote" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$1.default), { key: 1 })) : Vue.createCommentVNode("", true),
29
+ Vue.unref(sidebarName) == "more" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$2.default), { key: 2 })) : Vue.createCommentVNode("", true),
30
+ Vue.unref(sidebarName) == "manage-member" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$3.default), { key: 3 })) : Vue.createCommentVNode("", true),
31
31
  Vue.unref(sidebarName) == "aiTranscription" ? (Vue.openBlock(), Vue.createBlock(AITranscription.default, { key: 4 })) : Vue.createCommentVNode("", true)
32
32
  ]),
33
33
  _: 1
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const indexH5 = require("./indexH5.vue.js");
4
+ const indexPC = require("./indexPC.vue.js");
5
+ const environment = require("../../utils/environment.js");
6
+ const Index = environment.isMobile ? indexH5.default : indexPC.default;
7
+ exports.default = Index;
@@ -0,0 +1,6 @@
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>;
6
+ export default _default;
@@ -0,0 +1,7 @@
1
+ "use strict";
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");
4
+ ;/* empty css */
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"]]);
7
+ exports.default = indexH5;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const Vue = require("vue");
4
+ const useRoomMoreHooks = require("./useRoomMoreHooks.js");
5
+ const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
6
+ const vTap = require("../../directives/vTap.js");
7
+ const _hoisted_1 = { class: "contact-container-main" };
8
+ const _hoisted_2 = { class: "contact-title-main" };
9
+ const _hoisted_3 = { class: "cancel" };
10
+ const _hoisted_4 = { class: "contact-title" };
11
+ const _hoisted_5 = { class: "contact-content" };
12
+ const _hoisted_6 = { class: "contact-bottom" };
13
+ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
14
+ __name: "indexH5",
15
+ emits: ["on-close-contact"],
16
+ setup(__props, { emit: __emit }) {
17
+ const { t, onCopy, contactContentList } = useRoomMoreHooks.default();
18
+ const emit = __emit;
19
+ function handleCloseContact() {
20
+ emit("on-close-contact");
21
+ }
22
+ return (_ctx, _cache) => {
23
+ return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
24
+ Vue.createElementVNode("div", _hoisted_2, [
25
+ Vue.createElementVNode("div", null, Vue.toDisplayString(Vue.unref(t)("Contact us")), 1),
26
+ Vue.withDirectives((Vue.openBlock(), Vue.createElementBlock("span", _hoisted_3, [
27
+ Vue.createTextVNode(Vue.toDisplayString(Vue.unref(t)("Cancel")), 1)
28
+ ])), [
29
+ [Vue.unref(vTap.default), handleCloseContact]
30
+ ])
31
+ ]),
32
+ (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(contactContentList), (item) => {
33
+ return Vue.openBlock(), Vue.createElementBlock("div", {
34
+ key: item.id,
35
+ class: "contact-content-main"
36
+ }, [
37
+ Vue.createElementVNode("span", _hoisted_4, Vue.toDisplayString(Vue.unref(t)(item.title)), 1),
38
+ Vue.createElementVNode("span", _hoisted_5, Vue.toDisplayString(item.content), 1),
39
+ Vue.withDirectives(Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconCopy), { class: "copy" }, null, 512), [
40
+ [Vue.unref(vTap.default), () => Vue.unref(onCopy)(item.copyLink)]
41
+ ])
42
+ ]);
43
+ }), 128)),
44
+ Vue.createElementVNode("span", _hoisted_6, Vue.toDisplayString(Vue.unref(t)(
45
+ "If you have any questions, please feel free to join our QQ group or send an email"
46
+ )), 1)
47
+ ]);
48
+ };
49
+ }
50
+ });
51
+ exports.default = _sfc_main;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const indexPC_vue_vue_type_script_setup_true_lang = require("./indexPC.vue2.js");
4
+ ;/* empty css */
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-17479e8d"]]);
7
+ exports.default = indexPC;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const Vue = require("vue");
4
+ const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
5
+ const useRoomMoreHooks = require("./useRoomMoreHooks.js");
6
+ const _hoisted_1 = { class: "more-container" };
7
+ const _hoisted_2 = { class: "more-title" };
8
+ const _hoisted_3 = { class: "more-notice" };
9
+ const _hoisted_4 = {
10
+ key: 0,
11
+ class: "more-item"
12
+ };
13
+ const _hoisted_5 = { class: "item-title" };
14
+ const _hoisted_6 = { class: "more-item" };
15
+ const _hoisted_7 = { class: "item-title" };
16
+ const _hoisted_8 = { class: "more-content" };
17
+ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
18
+ __name: "indexPC",
19
+ setup(__props) {
20
+ const { t, onCopy, handleClick, email, isZH } = useRoomMoreHooks.default();
21
+ return (_ctx, _cache) => {
22
+ return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
23
+ Vue.createElementVNode("div", _hoisted_2, [
24
+ Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconEmail), { class: "email-icon" }),
25
+ Vue.createElementVNode("div", _hoisted_3, Vue.toDisplayString(Vue.unref(t)("If you have any questions, please email us.")), 1)
26
+ ]),
27
+ Vue.unref(isZH) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_4, [
28
+ Vue.createElementVNode("div", _hoisted_5, Vue.toDisplayString(Vue.unref(t)("Join our product discussion group")), 1),
29
+ Vue.createVNode(Vue.unref(uikitBaseComponentVue3.TUIButton), { onClick: Vue.unref(handleClick) }, {
30
+ default: Vue.withCtx(() => [
31
+ Vue.createTextVNode(Vue.toDisplayString(Vue.unref(t)("Join now")), 1)
32
+ ]),
33
+ _: 1
34
+ }, 8, ["onClick"])
35
+ ])) : Vue.createCommentVNode("", true),
36
+ Vue.createElementVNode("div", _hoisted_6, [
37
+ Vue.createElementVNode("div", _hoisted_7, Vue.toDisplayString(Vue.unref(t)("Our email address")), 1),
38
+ Vue.createElementVNode("div", _hoisted_8, Vue.toDisplayString(Vue.unref(email)), 1),
39
+ Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconCopy), {
40
+ class: "copy-icon",
41
+ onClick: _cache[0] || (_cache[0] = ($event) => Vue.unref(onCopy)(Vue.unref(email)))
42
+ })
43
+ ])
44
+ ]);
45
+ };
46
+ }
47
+ });
48
+ exports.default = _sfc_main;
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const Vue = require("vue");
4
+ const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
5
+ const index = require("../../locales/index.js");
6
+ require("../../utils/environment.js");
7
+ const adapter = require("../../utils/adapter.js");
8
+ function useRoomMoreHooks() {
9
+ const { t } = index.useI18n();
10
+ const groupNumber = "770645461";
11
+ const email = "chaooliang@tencent.com";
12
+ async function onCopy(value) {
13
+ try {
14
+ await adapter.clipBoard(value);
15
+ uikitBaseComponentVue3.TUIToast({
16
+ message: t("Copied successfully"),
17
+ type: uikitBaseComponentVue3.TOAST_TYPE.SUCCESS
18
+ });
19
+ } catch (error) {
20
+ uikitBaseComponentVue3.TUIToast({
21
+ message: t("Copied failure"),
22
+ type: uikitBaseComponentVue3.TOAST_TYPE.ERROR
23
+ });
24
+ }
25
+ }
26
+ const isZH = Vue.computed(() => index.default.global.locale.value === "zh-CN");
27
+ const contactContentList = [
28
+ { id: 1, title: "group chat", content: groupNumber, copyLink: groupNumber },
29
+ { id: 2, title: "Email", content: email, copyLink: email }
30
+ ];
31
+ const handleClick = () => {
32
+ window.open("https://zhiliao.qq.com/s/c5GY7HIM62CK", "_blank");
33
+ };
34
+ return {
35
+ t,
36
+ onCopy,
37
+ contactContentList,
38
+ email,
39
+ handleClick,
40
+ isZH
41
+ };
42
+ }
43
+ exports.default = useRoomMoreHooks;
@@ -14,7 +14,10 @@ declare function enterRoom(options: {
14
14
  roomParam?: RoomParam;
15
15
  }): Promise<void>;
16
16
  declare function resetStore(): void;
17
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
+ declare function __VLS_template(): {
18
+ content?(_: {}): any;
19
+ };
20
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
18
21
  displayMode: "permanent" | "wake-up";
19
22
  }>, {
20
23
  displayMode: string;
@@ -53,6 +56,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
53
56
  }>, {
54
57
  displayMode: "permanent" | "wake-up";
55
58
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
59
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
56
60
  export default _default;
57
61
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
62
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -71,3 +75,8 @@ type __VLS_WithDefaults<P, D> = {
71
75
  type __VLS_Prettify<T> = {
72
76
  [K in keyof T]: T[K];
73
77
  } & {};
78
+ type __VLS_WithTemplateSlots<T, S> = T & {
79
+ new (): {
80
+ $slots: S;
81
+ };
82
+ };
@@ -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-dc8a7460"]]);
7
+ const ConferenceMainView = /* @__PURE__ */ _pluginVue_exportHelper.default(conference_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-d9ae22c4"]]);
8
8
  exports.default = ConferenceMainView;
@@ -275,7 +275,12 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
275
275
  class: "footer",
276
276
  onShowOverlay: handleShowOverlay,
277
277
  onOnVote: onVote
278
- }, null, 512), [
278
+ }, {
279
+ content: Vue.withCtx(() => [
280
+ Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
281
+ ]),
282
+ _: 3
283
+ }, 512), [
279
284
  [Vue.vShow, Vue.unref(showRoomTool)]
280
285
  ]),
281
286
  Vue.createVNode(Vue.unref(index$3.default)),
package/lib/index.js CHANGED
@@ -3928,17 +3928,17 @@ to {
3928
3928
  }
3929
3929
  .footer .mirror-container .mirror-text[data-v-21a63691] {
3930
3930
  margin-left: 4px;
3931
- }.more-container[data-v-7493ac70] {
3931
+ }.more-container[data-v-e3b01383] {
3932
3932
  padding: 20px;
3933
3933
  }
3934
- .more-container .more-title[data-v-7493ac70] {
3934
+ .more-container .more-title[data-v-e3b01383] {
3935
3935
  display: flex;
3936
3936
  align-items: center;
3937
3937
  }
3938
- .more-container .more-title .email-icon[data-v-7493ac70] {
3938
+ .more-container .more-title .email-icon[data-v-e3b01383] {
3939
3939
  color: var(--uikit-color-gray-7);
3940
3940
  }
3941
- .more-container .more-title .more-notice[data-v-7493ac70] {
3941
+ .more-container .more-title .more-notice[data-v-e3b01383] {
3942
3942
  width: 100%;
3943
3943
  height: 22px;
3944
3944
  padding-left: 8px;
@@ -3946,7 +3946,7 @@ to {
3946
3946
  font-weight: 400;
3947
3947
  line-height: 22px;
3948
3948
  color: var(--text-color-primary);
3949
- }.footer-container[data-v-28ae2921] {
3949
+ }.footer-container[data-v-6b90d75f] {
3950
3950
  position: absolute;
3951
3951
  bottom: 0;
3952
3952
  display: flex;
@@ -3960,25 +3960,25 @@ to {
3960
3960
  background-color: var(--bg-color-topbar);
3961
3961
  box-shadow: 0 -8px 30px var(--uikit-color-black-8);
3962
3962
  }
3963
- .footer-container .left-container[data-v-28ae2921] {
3963
+ .footer-container .left-container[data-v-6b90d75f] {
3964
3964
  display: flex;
3965
3965
  align-items: center;
3966
3966
  height: 100%;
3967
3967
  }
3968
- .footer-container .left-container .left-container-item[data-v-28ae2921]:not(:first-child) {
3968
+ .footer-container .left-container .left-container-item[data-v-6b90d75f]:not(:first-child) {
3969
3969
  margin-left: 1rem;
3970
3970
  }
3971
- .footer-container .center-container[data-v-28ae2921] {
3971
+ .footer-container .center-container[data-v-6b90d75f] {
3972
3972
  position: relative;
3973
3973
  display: flex;
3974
3974
  align-items: center;
3975
3975
  height: 100%;
3976
3976
  margin: 0 auto;
3977
3977
  }
3978
- .footer-container .center-container .center-container-item[data-v-28ae2921]:not(:first-child) {
3978
+ .footer-container .center-container .center-container-item[data-v-6b90d75f]:not(:first-child) {
3979
3979
  margin-left: 16px;
3980
3980
  }
3981
- .footer-container .right-container[data-v-28ae2921] {
3981
+ .footer-container .right-container[data-v-6b90d75f] {
3982
3982
  display: flex;
3983
3983
  align-items: center;
3984
3984
  height: 100%;
@@ -4966,6 +4966,159 @@ to {
4966
4966
  right: 0;
4967
4967
  z-index: 101;
4968
4968
  height: 100%;
4969
+ }span[data-v-939000cb] {
4970
+ padding-right: 5px;
4971
+ font-size: 12px;
4972
+ font-weight: 500;
4973
+ line-height: 17px;
4974
+ }
4975
+ .contact-container-main[data-v-939000cb] {
4976
+ position: fixed;
4977
+ bottom: 0;
4978
+ display: flex;
4979
+ flex-direction: column;
4980
+ width: 100%;
4981
+ padding-bottom: 4vh;
4982
+ border-radius: 15px 15px 0 0;
4983
+ animation-name: popup-939000cb;
4984
+ animation-duration: 200ms;
4985
+ background-color: var(--bg-color-operate);
4986
+ }
4987
+ @keyframes popup-939000cb {
4988
+ from {
4989
+ transform: scaleY(0);
4990
+ transform-origin: bottom;
4991
+ }
4992
+ to {
4993
+ transform: scaleY(1);
4994
+ transform-origin: bottom;
4995
+ }
4996
+ }
4997
+ .contact-container-main .contact-title-main[data-v-939000cb] {
4998
+ display: flex;
4999
+ flex-direction: row;
5000
+ align-items: center;
5001
+ padding: 30px 0 20px 25px;
5002
+ font-family: "PingFang SC";
5003
+ font-size: 20px;
5004
+ font-style: normal;
5005
+ font-weight: 500;
5006
+ line-height: 24px;
5007
+ color: var(--text-color-primary);
5008
+ }
5009
+ .contact-container-main .contact-content-main[data-v-939000cb] {
5010
+ display: flex;
5011
+ flex-direction: row;
5012
+ align-items: center;
5013
+ width: 90%;
5014
+ height: 15%;
5015
+ padding: 0 0 0 25px;
5016
+ margin-bottom: 10px;
5017
+ }
5018
+ .contact-container-main .contact-title[data-v-939000cb],
5019
+ .contact-container-main .contact-content[data-v-939000cb] {
5020
+ width: 28%;
5021
+ font-family: "PingFang SC";
5022
+ font-size: 14px;
5023
+ font-style: normal;
5024
+ font-weight: 400;
5025
+ line-height: 20px;
5026
+ white-space: nowrap;
5027
+ color: var(--text-color-primary);
5028
+ }
5029
+ .contact-container-main .contact-content[data-v-939000cb] {
5030
+ width: 62%;
5031
+ overflow: hidden;
5032
+ font-size: 14px;
5033
+ text-overflow: ellipsis;
5034
+ white-space: nowrap;
5035
+ color: var(--text-color-secondary);
5036
+ }
5037
+ .contact-container-main .contact-bottom[data-v-939000cb] {
5038
+ width: 90%;
5039
+ padding-left: 40px;
5040
+ font-family: "PingFang SC";
5041
+ font-size: 12px;
5042
+ font-style: normal;
5043
+ font-weight: 400;
5044
+ line-height: 17px;
5045
+ text-align: center;
5046
+ color: var(--text-color-secondary);
5047
+ }
5048
+ .contact-container-main .copy[data-v-939000cb] {
5049
+ margin-left: 30px;
5050
+ color: var(--text-color-link);
5051
+ }
5052
+ .cancel[data-v-939000cb] {
5053
+ flex: 1;
5054
+ padding-right: 30px;
5055
+ font-size: 16px;
5056
+ font-weight: 400;
5057
+ text-align: end;
5058
+ }.more-container[data-v-17479e8d] {
5059
+ padding: 20px;
5060
+ }
5061
+ .more-container .more-title[data-v-17479e8d] {
5062
+ display: flex;
5063
+ align-items: center;
5064
+ }
5065
+ .more-container .more-title .email-icon[data-v-17479e8d] {
5066
+ color: var(--uikit-color-gray-7);
5067
+ }
5068
+ .more-container .more-title .more-notice[data-v-17479e8d] {
5069
+ width: 100%;
5070
+ height: 22px;
5071
+ padding-left: 8px;
5072
+ font-size: 14px;
5073
+ font-weight: 400;
5074
+ line-height: 22px;
5075
+ color: var(--text-color-primary);
5076
+ }
5077
+ .more-container .more-item[data-v-17479e8d] {
5078
+ position: relative;
5079
+ display: flex;
5080
+ flex-direction: column;
5081
+ }
5082
+ .more-container .more-item[data-v-17479e8d]:not(:first-child) {
5083
+ margin-top: 20px;
5084
+ }
5085
+ .more-container .more-item:not(:first-child) .item-title[data-v-17479e8d] {
5086
+ width: 100%;
5087
+ padding-bottom: 8px;
5088
+ font-size: 14px;
5089
+ font-weight: 400;
5090
+ line-height: 22px;
5091
+ color: var(--text-color-primary);
5092
+ }
5093
+ .more-container .more-item:not(:first-child) .more-content[data-v-17479e8d] {
5094
+ position: relative;
5095
+ box-sizing: border-box;
5096
+ display: inline-block;
5097
+ flex: 1;
5098
+ height: 42px;
5099
+ padding: 10px 30px 10px 16px;
5100
+ overflow: hidden;
5101
+ font-size: 14px;
5102
+ font-weight: 500;
5103
+ line-height: 22px;
5104
+ text-overflow: ellipsis;
5105
+ white-space: nowrap;
5106
+ border-radius: 8px;
5107
+ outline: none;
5108
+ transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
5109
+ color: var(--text-color-primary);
5110
+ background-color: var(--bg-color-input);
5111
+ border: 1px solid var(--stroke-color-module);
5112
+ }
5113
+ .more-container .more-item:not(:first-child) .copy-icon[data-v-17479e8d] {
5114
+ position: absolute;
5115
+ top: 45px;
5116
+ right: 10px;
5117
+ display: flex;
5118
+ align-items: center;
5119
+ justify-content: center;
5120
+ cursor: pointer;
5121
+ color: var(--text-color-link);
4969
5122
  }.conversation[data-v-b897add1] {
4970
5123
  height: 100%;
4971
5124
  padding: 20px;
@@ -8995,7 +9148,7 @@ body, html {
8995
9148
  }
8996
9149
  .tui-room :not([class|=el]) {
8997
9150
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
8998
- }.tui-room[data-v-dc8a7460] {
9151
+ }.tui-room[data-v-d9ae22c4] {
8999
9152
  position: relative;
9000
9153
  display: flex;
9001
9154
  flex-direction: column;
@@ -9007,7 +9160,7 @@ body, html {
9007
9160
  text-align: left;
9008
9161
  background-color: var(--bg-color-topbar);
9009
9162
  }
9010
- .tui-room .header[data-v-dc8a7460] {
9163
+ .tui-room .header[data-v-d9ae22c4] {
9011
9164
  position: absolute;
9012
9165
  top: 0;
9013
9166
  left: 0;
@@ -9018,20 +9171,20 @@ body, html {
9018
9171
  border-bottom: 1px solid var(--stroke-color-primary);
9019
9172
  box-shadow: 0 1px 0 var(--uikit-color-black-8);
9020
9173
  }
9021
- .tui-room .content[data-v-dc8a7460] {
9174
+ .tui-room .content[data-v-d9ae22c4] {
9022
9175
  position: absolute;
9023
9176
  top: 0;
9024
9177
  width: 100%;
9025
9178
  height: 100%;
9026
9179
  background-color: var(--bg-color-topbar);
9027
9180
  }
9028
- .tui-room.tui-room-h5[data-v-dc8a7460] {
9181
+ .tui-room.tui-room-h5[data-v-d9ae22c4] {
9029
9182
  width: 100%;
9030
9183
  min-width: 350px;
9031
9184
  height: 100%;
9032
9185
  min-height: 525px;
9033
9186
  }
9034
- #roomContainer.chat-room[data-v-dc8a7460] {
9187
+ #roomContainer.chat-room[data-v-d9ae22c4] {
9035
9188
  position: absolute;
9036
9189
  top: 0;
9037
9190
  right: 0;
@@ -9043,8 +9196,8 @@ body, html {
9043
9196
  margin: auto;
9044
9197
  border-radius: 10px;
9045
9198
  }
9046
- #roomContainer.tui-room-h5[data-v-dc8a7460],
9047
- #roomContainer .chat-room[data-v-dc8a7460] {
9199
+ #roomContainer.tui-room-h5[data-v-d9ae22c4],
9200
+ #roomContainer .chat-room[data-v-d9ae22c4] {
9048
9201
  width: 100%;
9049
9202
  height: 100%;
9050
9203
  }.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.2316",
3
+ "version": "25.12.2317",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",
@@ -54,7 +54,11 @@
54
54
  <voteControl
55
55
  class="center-container-item"
56
56
  @click="handleControlClick('voteControl')"
57
- />
57
+ >
58
+ <template #content>
59
+ <slot name="content"></slot>
60
+ </template>
61
+ </voteControl>
58
62
  <more-control
59
63
  class="center-container-item"
60
64
  @click="handleControlClick('moreControl')"
@@ -10,7 +10,7 @@
10
10
  测试
11
11
  <div class="tool-box" v-if="!isSidebarOpen && showToolBox">
12
12
  123
13
- <slot></slot>
13
+ <slot name="content"></slot>
14
14
  </div>
15
15
  </div>
16
16
  </template>