@ndscnj/roomkit-web-vue3 25.12.2414 → 25.12.2415

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,6 @@
1
- declare function __VLS_template(): {
2
- content?(_: {}): any;
3
- };
4
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
2
  "on-vote": (...args: any[]) => void;
6
3
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
7
4
  "onOn-vote"?: ((...args: any[]) => any) | undefined;
8
5
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
6
  export default _default;
11
- type __VLS_WithTemplateSlots<T, S> = T & {
12
- new (): {
13
- $slots: S;
14
- };
15
- };
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./voteControl.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const voteControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c9bb5a2b"]]);
4
+ const voteControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-18efb8e7"]]);
5
5
  export {
6
6
  voteControl as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, ref, watch, createElementBlock, openBlock, createVNode, createCommentVNode, unref, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, computed, ref, createElementBlock, openBlock, createVNode, unref, withCtx } from "vue";
2
2
  import "../../services/main.mjs";
3
3
  import { roomService } from "../../services/roomService.mjs";
4
4
  import { useI18n } from "../../locales/index.mjs";
@@ -9,24 +9,15 @@ import "../../services/manager/roomActionManager.mjs";
9
9
  import "@tencentcloud/tui-core";
10
10
  import IconButton from "../common/base/IconButton.vue.mjs";
11
11
  import { IconAIIcon } from "@tencentcloud/uikit-base-component-vue3";
12
- import Index from "../RoomVote/index.mjs";
13
12
  const _hoisted_1 = { class: "vote-control-container" };
14
- const _hoisted_2 = {
15
- key: 0,
16
- class: "contact-container"
17
- };
18
13
  const _sfc_main = /* @__PURE__ */ defineComponent({
19
14
  __name: "voteControl",
20
15
  emits: ["on-vote"],
21
16
  setup(__props, { emit: __emit }) {
22
17
  const { basicStore } = roomService;
23
- const isSidebarOpen = computed(() => basicStore.isSidebarOpen);
24
18
  const sidebarName = computed(() => basicStore.sidebarName);
25
19
  const { t } = useI18n();
26
20
  const showToolBox = ref(false);
27
- watch(isSidebarOpen, (newValue) => {
28
- showToolBox.value = newValue && false;
29
- });
30
21
  const emit = __emit;
31
22
  function toggleToolBox() {
32
23
  console.log(showToolBox.value, "0000");
@@ -36,9 +27,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
27
  visible: showToolBox.value
37
28
  });
38
29
  }
39
- function handleOnCloseContact() {
40
- showToolBox.value = false;
41
- }
42
30
  return (_ctx, _cache) => {
43
31
  return openBlock(), createElementBlock("div", _hoisted_1, [
44
32
  createVNode(IconButton, {
@@ -50,18 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
50
38
  createVNode(unref(IconAIIcon), { size: "24" })
51
39
  ]),
52
40
  _: 1
53
- }, 8, ["is-active", "title"]),
54
- !isSidebarOpen.value && showToolBox.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
55
- createVNode(unref(Index), {
56
- ref: "contactRef",
57
- onOnCloseContact: handleOnCloseContact
58
- }, {
59
- content: withCtx(() => [
60
- renderSlot(_ctx.$slots, "content", {}, void 0, true)
61
- ]),
62
- _: 3
63
- }, 512)
64
- ])) : createCommentVNode("", true)
41
+ }, 8, ["is-active", "title"])
65
42
  ]);
66
43
  };
67
44
  }
@@ -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-d1a96ffd"]]);
4
+ const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c82f5e3c"]]);
5
5
  export {
6
6
  indexPC as default
7
7
  };
@@ -21,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
21
  return openBlock(), createElementBlock("div", _hoisted_1, [
22
22
  createElementVNode("div", _hoisted_2, [
23
23
  createVNode(unref(IconEmail), { class: "email-icon" }),
24
- createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("If you have any questions, please email us.")), 1)
24
+ createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("Vote")), 1)
25
25
  ]),
26
26
  unref(isZH) ? (openBlock(), createElementBlock("div", _hoisted_4, [
27
27
  createElementVNode("div", _hoisted_5, toDisplayString(unref(t)("Join our product discussion group")), 1),
package/es/index.mjs CHANGED
@@ -3928,160 +3928,7 @@ to {
3928
3928
  }
3929
3929
  .footer .mirror-container .mirror-text[data-v-21a63691] {
3930
3930
  margin-left: 4px;
3931
- }span[data-v-939000cb] {
3932
- padding-right: 5px;
3933
- font-size: 12px;
3934
- font-weight: 500;
3935
- line-height: 17px;
3936
- }
3937
- .contact-container-main[data-v-939000cb] {
3938
- position: fixed;
3939
- bottom: 0;
3940
- display: flex;
3941
- flex-direction: column;
3942
- width: 100%;
3943
- padding-bottom: 4vh;
3944
- border-radius: 15px 15px 0 0;
3945
- animation-name: popup-939000cb;
3946
- animation-duration: 200ms;
3947
- background-color: var(--bg-color-operate);
3948
- }
3949
- @keyframes popup-939000cb {
3950
- from {
3951
- transform: scaleY(0);
3952
- transform-origin: bottom;
3953
- }
3954
- to {
3955
- transform: scaleY(1);
3956
- transform-origin: bottom;
3957
- }
3958
- }
3959
- .contact-container-main .contact-title-main[data-v-939000cb] {
3960
- display: flex;
3961
- flex-direction: row;
3962
- align-items: center;
3963
- padding: 30px 0 20px 25px;
3964
- font-family: "PingFang SC";
3965
- font-size: 20px;
3966
- font-style: normal;
3967
- font-weight: 500;
3968
- line-height: 24px;
3969
- color: var(--text-color-primary);
3970
- }
3971
- .contact-container-main .contact-content-main[data-v-939000cb] {
3972
- display: flex;
3973
- flex-direction: row;
3974
- align-items: center;
3975
- width: 90%;
3976
- height: 15%;
3977
- padding: 0 0 0 25px;
3978
- margin-bottom: 10px;
3979
- }
3980
- .contact-container-main .contact-title[data-v-939000cb],
3981
- .contact-container-main .contact-content[data-v-939000cb] {
3982
- width: 28%;
3983
- font-family: "PingFang SC";
3984
- font-size: 14px;
3985
- font-style: normal;
3986
- font-weight: 400;
3987
- line-height: 20px;
3988
- white-space: nowrap;
3989
- color: var(--text-color-primary);
3990
- }
3991
- .contact-container-main .contact-content[data-v-939000cb] {
3992
- width: 62%;
3993
- overflow: hidden;
3994
- font-size: 14px;
3995
- text-overflow: ellipsis;
3996
- white-space: nowrap;
3997
- color: var(--text-color-secondary);
3998
- }
3999
- .contact-container-main .contact-bottom[data-v-939000cb] {
4000
- width: 90%;
4001
- padding-left: 40px;
4002
- font-family: "PingFang SC";
4003
- font-size: 12px;
4004
- font-style: normal;
4005
- font-weight: 400;
4006
- line-height: 17px;
4007
- text-align: center;
4008
- color: var(--text-color-secondary);
4009
- }
4010
- .contact-container-main .copy[data-v-939000cb] {
4011
- margin-left: 30px;
4012
- color: var(--text-color-link);
4013
- }
4014
- .cancel[data-v-939000cb] {
4015
- flex: 1;
4016
- padding-right: 30px;
4017
- font-size: 16px;
4018
- font-weight: 400;
4019
- text-align: end;
4020
- }.more-container[data-v-d1a96ffd] {
4021
- padding: 20px;
4022
- }
4023
- .more-container .more-title[data-v-d1a96ffd] {
4024
- display: flex;
4025
- align-items: center;
4026
- }
4027
- .more-container .more-title .email-icon[data-v-d1a96ffd] {
4028
- color: var(--uikit-color-gray-7);
4029
- }
4030
- .more-container .more-title .more-notice[data-v-d1a96ffd] {
4031
- width: 100%;
4032
- height: 22px;
4033
- padding-left: 8px;
4034
- font-size: 14px;
4035
- font-weight: 400;
4036
- line-height: 22px;
4037
- color: var(--text-color-primary);
4038
- }
4039
- .more-container .more-item[data-v-d1a96ffd] {
4040
- position: relative;
4041
- display: flex;
4042
- flex-direction: column;
4043
- }
4044
- .more-container .more-item[data-v-d1a96ffd]:not(:first-child) {
4045
- margin-top: 20px;
4046
- }
4047
- .more-container .more-item:not(:first-child) .item-title[data-v-d1a96ffd] {
4048
- width: 100%;
4049
- padding-bottom: 8px;
4050
- font-size: 14px;
4051
- font-weight: 400;
4052
- line-height: 22px;
4053
- color: var(--text-color-primary);
4054
- }
4055
- .more-container .more-item:not(:first-child) .more-content[data-v-d1a96ffd] {
4056
- position: relative;
4057
- box-sizing: border-box;
4058
- display: inline-block;
4059
- flex: 1;
4060
- height: 42px;
4061
- padding: 10px 30px 10px 16px;
4062
- overflow: hidden;
4063
- font-size: 14px;
4064
- font-weight: 500;
4065
- line-height: 22px;
4066
- text-overflow: ellipsis;
4067
- white-space: nowrap;
4068
- border-radius: 8px;
4069
- outline: none;
4070
- transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
4071
- color: var(--text-color-primary);
4072
- background-color: var(--bg-color-input);
4073
- border: 1px solid var(--stroke-color-module);
4074
- }
4075
- .more-container .more-item:not(:first-child) .copy-icon[data-v-d1a96ffd] {
4076
- position: absolute;
4077
- top: 45px;
4078
- right: 10px;
4079
- display: flex;
4080
- align-items: center;
4081
- justify-content: center;
4082
- cursor: pointer;
4083
- color: var(--text-color-link);
4084
- }.contact-container[data-v-c9bb5a2b] {
3931
+ }.contact-container[data-v-18efb8e7] {
4085
3932
  position: fixed;
4086
3933
  top: 0;
4087
3934
  bottom: 0;
@@ -5111,6 +4958,159 @@ to {
5111
4958
  right: 0;
5112
4959
  z-index: 101;
5113
4960
  height: 100%;
4961
+ }span[data-v-939000cb] {
4962
+ padding-right: 5px;
4963
+ font-size: 12px;
4964
+ font-weight: 500;
4965
+ line-height: 17px;
4966
+ }
4967
+ .contact-container-main[data-v-939000cb] {
4968
+ position: fixed;
4969
+ bottom: 0;
4970
+ display: flex;
4971
+ flex-direction: column;
4972
+ width: 100%;
4973
+ padding-bottom: 4vh;
4974
+ border-radius: 15px 15px 0 0;
4975
+ animation-name: popup-939000cb;
4976
+ animation-duration: 200ms;
4977
+ background-color: var(--bg-color-operate);
4978
+ }
4979
+ @keyframes popup-939000cb {
4980
+ from {
4981
+ transform: scaleY(0);
4982
+ transform-origin: bottom;
4983
+ }
4984
+ to {
4985
+ transform: scaleY(1);
4986
+ transform-origin: bottom;
4987
+ }
4988
+ }
4989
+ .contact-container-main .contact-title-main[data-v-939000cb] {
4990
+ display: flex;
4991
+ flex-direction: row;
4992
+ align-items: center;
4993
+ padding: 30px 0 20px 25px;
4994
+ font-family: "PingFang SC";
4995
+ font-size: 20px;
4996
+ font-style: normal;
4997
+ font-weight: 500;
4998
+ line-height: 24px;
4999
+ color: var(--text-color-primary);
5000
+ }
5001
+ .contact-container-main .contact-content-main[data-v-939000cb] {
5002
+ display: flex;
5003
+ flex-direction: row;
5004
+ align-items: center;
5005
+ width: 90%;
5006
+ height: 15%;
5007
+ padding: 0 0 0 25px;
5008
+ margin-bottom: 10px;
5009
+ }
5010
+ .contact-container-main .contact-title[data-v-939000cb],
5011
+ .contact-container-main .contact-content[data-v-939000cb] {
5012
+ width: 28%;
5013
+ font-family: "PingFang SC";
5014
+ font-size: 14px;
5015
+ font-style: normal;
5016
+ font-weight: 400;
5017
+ line-height: 20px;
5018
+ white-space: nowrap;
5019
+ color: var(--text-color-primary);
5020
+ }
5021
+ .contact-container-main .contact-content[data-v-939000cb] {
5022
+ width: 62%;
5023
+ overflow: hidden;
5024
+ font-size: 14px;
5025
+ text-overflow: ellipsis;
5026
+ white-space: nowrap;
5027
+ color: var(--text-color-secondary);
5028
+ }
5029
+ .contact-container-main .contact-bottom[data-v-939000cb] {
5030
+ width: 90%;
5031
+ padding-left: 40px;
5032
+ font-family: "PingFang SC";
5033
+ font-size: 12px;
5034
+ font-style: normal;
5035
+ font-weight: 400;
5036
+ line-height: 17px;
5037
+ text-align: center;
5038
+ color: var(--text-color-secondary);
5039
+ }
5040
+ .contact-container-main .copy[data-v-939000cb] {
5041
+ margin-left: 30px;
5042
+ color: var(--text-color-link);
5043
+ }
5044
+ .cancel[data-v-939000cb] {
5045
+ flex: 1;
5046
+ padding-right: 30px;
5047
+ font-size: 16px;
5048
+ font-weight: 400;
5049
+ text-align: end;
5050
+ }.more-container[data-v-c82f5e3c] {
5051
+ padding: 20px;
5052
+ }
5053
+ .more-container .more-title[data-v-c82f5e3c] {
5054
+ display: flex;
5055
+ align-items: center;
5056
+ }
5057
+ .more-container .more-title .email-icon[data-v-c82f5e3c] {
5058
+ color: var(--uikit-color-gray-7);
5059
+ }
5060
+ .more-container .more-title .more-notice[data-v-c82f5e3c] {
5061
+ width: 100%;
5062
+ height: 22px;
5063
+ padding-left: 8px;
5064
+ font-size: 14px;
5065
+ font-weight: 400;
5066
+ line-height: 22px;
5067
+ color: var(--text-color-primary);
5068
+ }
5069
+ .more-container .more-item[data-v-c82f5e3c] {
5070
+ position: relative;
5071
+ display: flex;
5072
+ flex-direction: column;
5073
+ }
5074
+ .more-container .more-item[data-v-c82f5e3c]:not(:first-child) {
5075
+ margin-top: 20px;
5076
+ }
5077
+ .more-container .more-item:not(:first-child) .item-title[data-v-c82f5e3c] {
5078
+ width: 100%;
5079
+ padding-bottom: 8px;
5080
+ font-size: 14px;
5081
+ font-weight: 400;
5082
+ line-height: 22px;
5083
+ color: var(--text-color-primary);
5084
+ }
5085
+ .more-container .more-item:not(:first-child) .more-content[data-v-c82f5e3c] {
5086
+ position: relative;
5087
+ box-sizing: border-box;
5088
+ display: inline-block;
5089
+ flex: 1;
5090
+ height: 42px;
5091
+ padding: 10px 30px 10px 16px;
5092
+ overflow: hidden;
5093
+ font-size: 14px;
5094
+ font-weight: 500;
5095
+ line-height: 22px;
5096
+ text-overflow: ellipsis;
5097
+ white-space: nowrap;
5098
+ border-radius: 8px;
5099
+ outline: none;
5100
+ transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
5101
+ color: var(--text-color-primary);
5102
+ background-color: var(--bg-color-input);
5103
+ border: 1px solid var(--stroke-color-module);
5104
+ }
5105
+ .more-container .more-item:not(:first-child) .copy-icon[data-v-c82f5e3c] {
5106
+ position: absolute;
5107
+ top: 45px;
5108
+ right: 10px;
5109
+ display: flex;
5110
+ align-items: center;
5111
+ justify-content: center;
5112
+ cursor: pointer;
5113
+ color: var(--text-color-link);
5114
5114
  }.conversation[data-v-b897add1] {
5115
5115
  height: 100%;
5116
5116
  padding: 20px;
@@ -1,15 +1,6 @@
1
- declare function __VLS_template(): {
2
- content?(_: {}): any;
3
- };
4
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
2
  "on-vote": (...args: any[]) => void;
6
3
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
7
4
  "onOn-vote"?: ((...args: any[]) => any) | undefined;
8
5
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
6
  export default _default;
11
- type __VLS_WithTemplateSlots<T, S> = T & {
12
- new (): {
13
- $slots: S;
14
- };
15
- };
@@ -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-c9bb5a2b"]]);
6
+ const voteControl = /* @__PURE__ */ _pluginVue_exportHelper.default(voteControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-18efb8e7"]]);
7
7
  exports.default = voteControl;
@@ -11,24 +11,15 @@ require("../../services/manager/roomActionManager.js");
11
11
  require("@tencentcloud/tui-core");
12
12
  const IconButton = require("../common/base/IconButton.vue.js");
13
13
  const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
14
- const index$1 = require("../RoomVote/index.js");
15
14
  const _hoisted_1 = { class: "vote-control-container" };
16
- const _hoisted_2 = {
17
- key: 0,
18
- class: "contact-container"
19
- };
20
15
  const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
21
16
  __name: "voteControl",
22
17
  emits: ["on-vote"],
23
18
  setup(__props, { emit: __emit }) {
24
19
  const { basicStore } = roomService.roomService;
25
- const isSidebarOpen = Vue.computed(() => basicStore.isSidebarOpen);
26
20
  const sidebarName = Vue.computed(() => basicStore.sidebarName);
27
21
  const { t } = index.useI18n();
28
22
  const showToolBox = Vue.ref(false);
29
- Vue.watch(isSidebarOpen, (newValue) => {
30
- showToolBox.value = newValue && false;
31
- });
32
23
  const emit = __emit;
33
24
  function toggleToolBox() {
34
25
  console.log(showToolBox.value, "0000");
@@ -38,9 +29,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
38
29
  visible: showToolBox.value
39
30
  });
40
31
  }
41
- function handleOnCloseContact() {
42
- showToolBox.value = false;
43
- }
44
32
  return (_ctx, _cache) => {
45
33
  return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
46
34
  Vue.createVNode(IconButton.default, {
@@ -52,18 +40,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
52
40
  Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconAIIcon), { size: "24" })
53
41
  ]),
54
42
  _: 1
55
- }, 8, ["is-active", "title"]),
56
- !isSidebarOpen.value && showToolBox.value ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, [
57
- Vue.createVNode(Vue.unref(index$1.default), {
58
- ref: "contactRef",
59
- onOnCloseContact: handleOnCloseContact
60
- }, {
61
- content: Vue.withCtx(() => [
62
- Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
63
- ]),
64
- _: 3
65
- }, 512)
66
- ])) : Vue.createCommentVNode("", true)
43
+ }, 8, ["is-active", "title"])
67
44
  ]);
68
45
  };
69
46
  }
@@ -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-d1a96ffd"]]);
6
+ const indexPC = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-c82f5e3c"]]);
7
7
  exports.default = indexPC;
@@ -23,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
23
23
  return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
24
24
  Vue.createElementVNode("div", _hoisted_2, [
25
25
  Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconEmail), { class: "email-icon" }),
26
- Vue.createElementVNode("div", _hoisted_3, Vue.toDisplayString(Vue.unref(t)("If you have any questions, please email us.")), 1)
26
+ Vue.createElementVNode("div", _hoisted_3, Vue.toDisplayString(Vue.unref(t)("Vote")), 1)
27
27
  ]),
28
28
  Vue.unref(isZH) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_4, [
29
29
  Vue.createElementVNode("div", _hoisted_5, Vue.toDisplayString(Vue.unref(t)("Join our product discussion group")), 1),
package/lib/index.js CHANGED
@@ -3928,160 +3928,7 @@ to {
3928
3928
  }
3929
3929
  .footer .mirror-container .mirror-text[data-v-21a63691] {
3930
3930
  margin-left: 4px;
3931
- }span[data-v-939000cb] {
3932
- padding-right: 5px;
3933
- font-size: 12px;
3934
- font-weight: 500;
3935
- line-height: 17px;
3936
- }
3937
- .contact-container-main[data-v-939000cb] {
3938
- position: fixed;
3939
- bottom: 0;
3940
- display: flex;
3941
- flex-direction: column;
3942
- width: 100%;
3943
- padding-bottom: 4vh;
3944
- border-radius: 15px 15px 0 0;
3945
- animation-name: popup-939000cb;
3946
- animation-duration: 200ms;
3947
- background-color: var(--bg-color-operate);
3948
- }
3949
- @keyframes popup-939000cb {
3950
- from {
3951
- transform: scaleY(0);
3952
- transform-origin: bottom;
3953
- }
3954
- to {
3955
- transform: scaleY(1);
3956
- transform-origin: bottom;
3957
- }
3958
- }
3959
- .contact-container-main .contact-title-main[data-v-939000cb] {
3960
- display: flex;
3961
- flex-direction: row;
3962
- align-items: center;
3963
- padding: 30px 0 20px 25px;
3964
- font-family: "PingFang SC";
3965
- font-size: 20px;
3966
- font-style: normal;
3967
- font-weight: 500;
3968
- line-height: 24px;
3969
- color: var(--text-color-primary);
3970
- }
3971
- .contact-container-main .contact-content-main[data-v-939000cb] {
3972
- display: flex;
3973
- flex-direction: row;
3974
- align-items: center;
3975
- width: 90%;
3976
- height: 15%;
3977
- padding: 0 0 0 25px;
3978
- margin-bottom: 10px;
3979
- }
3980
- .contact-container-main .contact-title[data-v-939000cb],
3981
- .contact-container-main .contact-content[data-v-939000cb] {
3982
- width: 28%;
3983
- font-family: "PingFang SC";
3984
- font-size: 14px;
3985
- font-style: normal;
3986
- font-weight: 400;
3987
- line-height: 20px;
3988
- white-space: nowrap;
3989
- color: var(--text-color-primary);
3990
- }
3991
- .contact-container-main .contact-content[data-v-939000cb] {
3992
- width: 62%;
3993
- overflow: hidden;
3994
- font-size: 14px;
3995
- text-overflow: ellipsis;
3996
- white-space: nowrap;
3997
- color: var(--text-color-secondary);
3998
- }
3999
- .contact-container-main .contact-bottom[data-v-939000cb] {
4000
- width: 90%;
4001
- padding-left: 40px;
4002
- font-family: "PingFang SC";
4003
- font-size: 12px;
4004
- font-style: normal;
4005
- font-weight: 400;
4006
- line-height: 17px;
4007
- text-align: center;
4008
- color: var(--text-color-secondary);
4009
- }
4010
- .contact-container-main .copy[data-v-939000cb] {
4011
- margin-left: 30px;
4012
- color: var(--text-color-link);
4013
- }
4014
- .cancel[data-v-939000cb] {
4015
- flex: 1;
4016
- padding-right: 30px;
4017
- font-size: 16px;
4018
- font-weight: 400;
4019
- text-align: end;
4020
- }.more-container[data-v-d1a96ffd] {
4021
- padding: 20px;
4022
- }
4023
- .more-container .more-title[data-v-d1a96ffd] {
4024
- display: flex;
4025
- align-items: center;
4026
- }
4027
- .more-container .more-title .email-icon[data-v-d1a96ffd] {
4028
- color: var(--uikit-color-gray-7);
4029
- }
4030
- .more-container .more-title .more-notice[data-v-d1a96ffd] {
4031
- width: 100%;
4032
- height: 22px;
4033
- padding-left: 8px;
4034
- font-size: 14px;
4035
- font-weight: 400;
4036
- line-height: 22px;
4037
- color: var(--text-color-primary);
4038
- }
4039
- .more-container .more-item[data-v-d1a96ffd] {
4040
- position: relative;
4041
- display: flex;
4042
- flex-direction: column;
4043
- }
4044
- .more-container .more-item[data-v-d1a96ffd]:not(:first-child) {
4045
- margin-top: 20px;
4046
- }
4047
- .more-container .more-item:not(:first-child) .item-title[data-v-d1a96ffd] {
4048
- width: 100%;
4049
- padding-bottom: 8px;
4050
- font-size: 14px;
4051
- font-weight: 400;
4052
- line-height: 22px;
4053
- color: var(--text-color-primary);
4054
- }
4055
- .more-container .more-item:not(:first-child) .more-content[data-v-d1a96ffd] {
4056
- position: relative;
4057
- box-sizing: border-box;
4058
- display: inline-block;
4059
- flex: 1;
4060
- height: 42px;
4061
- padding: 10px 30px 10px 16px;
4062
- overflow: hidden;
4063
- font-size: 14px;
4064
- font-weight: 500;
4065
- line-height: 22px;
4066
- text-overflow: ellipsis;
4067
- white-space: nowrap;
4068
- border-radius: 8px;
4069
- outline: none;
4070
- transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
4071
- color: var(--text-color-primary);
4072
- background-color: var(--bg-color-input);
4073
- border: 1px solid var(--stroke-color-module);
4074
- }
4075
- .more-container .more-item:not(:first-child) .copy-icon[data-v-d1a96ffd] {
4076
- position: absolute;
4077
- top: 45px;
4078
- right: 10px;
4079
- display: flex;
4080
- align-items: center;
4081
- justify-content: center;
4082
- cursor: pointer;
4083
- color: var(--text-color-link);
4084
- }.contact-container[data-v-c9bb5a2b] {
3931
+ }.contact-container[data-v-18efb8e7] {
4085
3932
  position: fixed;
4086
3933
  top: 0;
4087
3934
  bottom: 0;
@@ -5111,6 +4958,159 @@ to {
5111
4958
  right: 0;
5112
4959
  z-index: 101;
5113
4960
  height: 100%;
4961
+ }span[data-v-939000cb] {
4962
+ padding-right: 5px;
4963
+ font-size: 12px;
4964
+ font-weight: 500;
4965
+ line-height: 17px;
4966
+ }
4967
+ .contact-container-main[data-v-939000cb] {
4968
+ position: fixed;
4969
+ bottom: 0;
4970
+ display: flex;
4971
+ flex-direction: column;
4972
+ width: 100%;
4973
+ padding-bottom: 4vh;
4974
+ border-radius: 15px 15px 0 0;
4975
+ animation-name: popup-939000cb;
4976
+ animation-duration: 200ms;
4977
+ background-color: var(--bg-color-operate);
4978
+ }
4979
+ @keyframes popup-939000cb {
4980
+ from {
4981
+ transform: scaleY(0);
4982
+ transform-origin: bottom;
4983
+ }
4984
+ to {
4985
+ transform: scaleY(1);
4986
+ transform-origin: bottom;
4987
+ }
4988
+ }
4989
+ .contact-container-main .contact-title-main[data-v-939000cb] {
4990
+ display: flex;
4991
+ flex-direction: row;
4992
+ align-items: center;
4993
+ padding: 30px 0 20px 25px;
4994
+ font-family: "PingFang SC";
4995
+ font-size: 20px;
4996
+ font-style: normal;
4997
+ font-weight: 500;
4998
+ line-height: 24px;
4999
+ color: var(--text-color-primary);
5000
+ }
5001
+ .contact-container-main .contact-content-main[data-v-939000cb] {
5002
+ display: flex;
5003
+ flex-direction: row;
5004
+ align-items: center;
5005
+ width: 90%;
5006
+ height: 15%;
5007
+ padding: 0 0 0 25px;
5008
+ margin-bottom: 10px;
5009
+ }
5010
+ .contact-container-main .contact-title[data-v-939000cb],
5011
+ .contact-container-main .contact-content[data-v-939000cb] {
5012
+ width: 28%;
5013
+ font-family: "PingFang SC";
5014
+ font-size: 14px;
5015
+ font-style: normal;
5016
+ font-weight: 400;
5017
+ line-height: 20px;
5018
+ white-space: nowrap;
5019
+ color: var(--text-color-primary);
5020
+ }
5021
+ .contact-container-main .contact-content[data-v-939000cb] {
5022
+ width: 62%;
5023
+ overflow: hidden;
5024
+ font-size: 14px;
5025
+ text-overflow: ellipsis;
5026
+ white-space: nowrap;
5027
+ color: var(--text-color-secondary);
5028
+ }
5029
+ .contact-container-main .contact-bottom[data-v-939000cb] {
5030
+ width: 90%;
5031
+ padding-left: 40px;
5032
+ font-family: "PingFang SC";
5033
+ font-size: 12px;
5034
+ font-style: normal;
5035
+ font-weight: 400;
5036
+ line-height: 17px;
5037
+ text-align: center;
5038
+ color: var(--text-color-secondary);
5039
+ }
5040
+ .contact-container-main .copy[data-v-939000cb] {
5041
+ margin-left: 30px;
5042
+ color: var(--text-color-link);
5043
+ }
5044
+ .cancel[data-v-939000cb] {
5045
+ flex: 1;
5046
+ padding-right: 30px;
5047
+ font-size: 16px;
5048
+ font-weight: 400;
5049
+ text-align: end;
5050
+ }.more-container[data-v-c82f5e3c] {
5051
+ padding: 20px;
5052
+ }
5053
+ .more-container .more-title[data-v-c82f5e3c] {
5054
+ display: flex;
5055
+ align-items: center;
5056
+ }
5057
+ .more-container .more-title .email-icon[data-v-c82f5e3c] {
5058
+ color: var(--uikit-color-gray-7);
5059
+ }
5060
+ .more-container .more-title .more-notice[data-v-c82f5e3c] {
5061
+ width: 100%;
5062
+ height: 22px;
5063
+ padding-left: 8px;
5064
+ font-size: 14px;
5065
+ font-weight: 400;
5066
+ line-height: 22px;
5067
+ color: var(--text-color-primary);
5068
+ }
5069
+ .more-container .more-item[data-v-c82f5e3c] {
5070
+ position: relative;
5071
+ display: flex;
5072
+ flex-direction: column;
5073
+ }
5074
+ .more-container .more-item[data-v-c82f5e3c]:not(:first-child) {
5075
+ margin-top: 20px;
5076
+ }
5077
+ .more-container .more-item:not(:first-child) .item-title[data-v-c82f5e3c] {
5078
+ width: 100%;
5079
+ padding-bottom: 8px;
5080
+ font-size: 14px;
5081
+ font-weight: 400;
5082
+ line-height: 22px;
5083
+ color: var(--text-color-primary);
5084
+ }
5085
+ .more-container .more-item:not(:first-child) .more-content[data-v-c82f5e3c] {
5086
+ position: relative;
5087
+ box-sizing: border-box;
5088
+ display: inline-block;
5089
+ flex: 1;
5090
+ height: 42px;
5091
+ padding: 10px 30px 10px 16px;
5092
+ overflow: hidden;
5093
+ font-size: 14px;
5094
+ font-weight: 500;
5095
+ line-height: 22px;
5096
+ text-overflow: ellipsis;
5097
+ white-space: nowrap;
5098
+ border-radius: 8px;
5099
+ outline: none;
5100
+ transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
5101
+ color: var(--text-color-primary);
5102
+ background-color: var(--bg-color-input);
5103
+ border: 1px solid var(--stroke-color-module);
5104
+ }
5105
+ .more-container .more-item:not(:first-child) .copy-icon[data-v-c82f5e3c] {
5106
+ position: absolute;
5107
+ top: 45px;
5108
+ right: 10px;
5109
+ display: flex;
5110
+ align-items: center;
5111
+ justify-content: center;
5112
+ cursor: pointer;
5113
+ color: var(--text-color-link);
5114
5114
  }.conversation[data-v-b897add1] {
5115
5115
  height: 100%;
5116
5116
  padding: 20px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndscnj/roomkit-web-vue3",
3
- "version": "25.12.2414",
3
+ "version": "25.12.2415",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",
@@ -7,13 +7,6 @@
7
7
  >
8
8
  <IconAIIcon size="24" />
9
9
  </icon-button>
10
- <div class="contact-container" v-if="!isSidebarOpen && showToolBox">
11
- <room-vote ref="contactRef" @on-close-contact="handleOnCloseContact">
12
- <template #content>
13
- <slot name="content"></slot>
14
- </template>
15
- </room-vote>
16
- </div>
17
10
  </div>
18
11
  </template>
19
12
 
@@ -27,13 +20,9 @@ import {
27
20
  } from '@tencentcloud/uikit-base-component-vue3';
28
21
  import roomVote from '../RoomVote';
29
22
  const { basicStore } = roomService;
30
- const isSidebarOpen = computed(() => basicStore.isSidebarOpen);
31
23
  const sidebarName = computed(() => basicStore.sidebarName);
32
24
  const { t } = useI18n();
33
25
  const showToolBox = ref(false);
34
- watch(isSidebarOpen, newValue => {
35
- showToolBox.value = newValue && false;
36
- });
37
26
  const emit = defineEmits(['on-vote']);
38
27
  function toggleToolBox() {
39
28
  console.log(showToolBox.value,"0000")
@@ -43,9 +32,6 @@ function toggleToolBox() {
43
32
  visible: showToolBox.value,
44
33
  });
45
34
  }
46
- function handleOnCloseContact() {
47
- showToolBox.value = false;
48
- }
49
35
  </script>
50
36
 
51
37
  <style lang="scss" scoped>
@@ -3,7 +3,7 @@
3
3
  <div class="more-title">
4
4
  <IconEmail class="email-icon" />
5
5
  <div class="more-notice">
6
- {{ t('If you have any questions, please email us.') }}
6
+ {{ t('Vote') }}
7
7
  </div>
8
8
  </div>
9
9
  <div v-if="isZH" class="more-item">