@ndscnj/roomkit-web-vue3 25.12.24153 → 25.12.24154

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.
@@ -20,19 +20,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
20
  const moreControlConfig = roomService.getComponentConfig("MoreControl");
21
21
  const { t, basicStore, sidebarName } = useControl();
22
22
  function toggleMoreSidebar() {
23
- if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "more") {
23
+ if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
24
24
  basicStore.setSidebarOpenStatus(false);
25
25
  basicStore.setSidebarName("");
26
26
  return;
27
27
  }
28
28
  basicStore.setSidebarOpenStatus(true);
29
- basicStore.setSidebarName("more");
29
+ basicStore.setSidebarName("vote");
30
30
  }
31
31
  return (_ctx, _cache) => {
32
32
  return unref(moreControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
33
33
  createVNode(IconButton, {
34
- "is-active": unref(sidebarName) === "more",
35
- title: unref(t)("More"),
34
+ "is-active": unref(sidebarName) === "vote",
35
+ title: unref(t)("Vote"),
36
36
  onClickIcon: toggleMoreSidebar
37
37
  }, {
38
38
  default: withCtx(() => [
@@ -8,7 +8,7 @@ function useControl() {
8
8
  const basicStore = useBasicStore();
9
9
  const { sidebarName } = storeToRefs(basicStore);
10
10
  const iconName = computed(
11
- () => sidebarName.value === "more" ? ICON_NAME.MoreActive : ICON_NAME.More
11
+ () => sidebarName.value === "vote" ? ICON_NAME.MoreActive : ICON_NAME.More
12
12
  );
13
13
  return {
14
14
  t,
@@ -2,21 +2,5 @@ declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('v
2
2
  "on-close-contact": (...args: any[]) => void;
3
3
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
4
  "onOn-close-contact"?: ((...args: any[]) => any) | undefined;
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
- }));
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>;
22
6
  export default Index;
@@ -1,11 +1,2 @@
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>>;
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>;
6
2
  export default _default;
7
- type __VLS_WithTemplateSlots<T, S> = T & {
8
- new (): {
9
- $slots: S;
10
- };
11
- };
@@ -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-c82f5e3c"]]);
4
+ const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-abe3bdf3"]]);
5
5
  export {
6
6
  indexPC as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, unref, toDisplayString, withCtx, createTextVNode, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, unref, toDisplayString, withCtx, createTextVNode } from "vue";
2
2
  import { IconEmail, TUIButton, IconCopy } from "@tencentcloud/uikit-base-component-vue3";
3
3
  import useRoomMoreHooks from "./useRoomMoreHooks.mjs";
4
4
  const _hoisted_1 = { class: "more-container" };
@@ -12,7 +12,6 @@ const _hoisted_5 = { class: "item-title" };
12
12
  const _hoisted_6 = { class: "more-item" };
13
13
  const _hoisted_7 = { class: "item-title" };
14
14
  const _hoisted_8 = { class: "more-content" };
15
- const _hoisted_9 = { class: "more-item" };
16
15
  const _sfc_main = /* @__PURE__ */ defineComponent({
17
16
  __name: "indexPC",
18
17
  setup(__props) {
@@ -39,9 +38,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39
38
  class: "copy-icon",
40
39
  onClick: _cache[0] || (_cache[0] = ($event) => unref(onCopy)(unref(email)))
41
40
  })
42
- ]),
43
- createElementVNode("div", _hoisted_9, [
44
- renderSlot(_ctx.$slots, "content", {}, void 0, true)
45
41
  ])
46
42
  ]);
47
43
  };
package/es/index.mjs CHANGED
@@ -5075,17 +5075,17 @@ to {
5075
5075
  font-size: 16px;
5076
5076
  font-weight: 400;
5077
5077
  text-align: end;
5078
- }.more-container[data-v-c82f5e3c] {
5078
+ }.more-container[data-v-abe3bdf3] {
5079
5079
  padding: 20px;
5080
5080
  }
5081
- .more-container .more-title[data-v-c82f5e3c] {
5081
+ .more-container .more-title[data-v-abe3bdf3] {
5082
5082
  display: flex;
5083
5083
  align-items: center;
5084
5084
  }
5085
- .more-container .more-title .email-icon[data-v-c82f5e3c] {
5085
+ .more-container .more-title .email-icon[data-v-abe3bdf3] {
5086
5086
  color: var(--uikit-color-gray-7);
5087
5087
  }
5088
- .more-container .more-title .more-notice[data-v-c82f5e3c] {
5088
+ .more-container .more-title .more-notice[data-v-abe3bdf3] {
5089
5089
  width: 100%;
5090
5090
  height: 22px;
5091
5091
  padding-left: 8px;
@@ -5094,15 +5094,15 @@ to {
5094
5094
  line-height: 22px;
5095
5095
  color: var(--text-color-primary);
5096
5096
  }
5097
- .more-container .more-item[data-v-c82f5e3c] {
5097
+ .more-container .more-item[data-v-abe3bdf3] {
5098
5098
  position: relative;
5099
5099
  display: flex;
5100
5100
  flex-direction: column;
5101
5101
  }
5102
- .more-container .more-item[data-v-c82f5e3c]:not(:first-child) {
5102
+ .more-container .more-item[data-v-abe3bdf3]:not(:first-child) {
5103
5103
  margin-top: 20px;
5104
5104
  }
5105
- .more-container .more-item:not(:first-child) .item-title[data-v-c82f5e3c] {
5105
+ .more-container .more-item:not(:first-child) .item-title[data-v-abe3bdf3] {
5106
5106
  width: 100%;
5107
5107
  padding-bottom: 8px;
5108
5108
  font-size: 14px;
@@ -5110,7 +5110,7 @@ to {
5110
5110
  line-height: 22px;
5111
5111
  color: var(--text-color-primary);
5112
5112
  }
5113
- .more-container .more-item:not(:first-child) .more-content[data-v-c82f5e3c] {
5113
+ .more-container .more-item:not(:first-child) .more-content[data-v-abe3bdf3] {
5114
5114
  position: relative;
5115
5115
  box-sizing: border-box;
5116
5116
  display: inline-block;
@@ -5130,7 +5130,7 @@ to {
5130
5130
  background-color: var(--bg-color-input);
5131
5131
  border: 1px solid var(--stroke-color-module);
5132
5132
  }
5133
- .more-container .more-item:not(:first-child) .copy-icon[data-v-c82f5e3c] {
5133
+ .more-container .more-item:not(:first-child) .copy-icon[data-v-abe3bdf3] {
5134
5134
  position: absolute;
5135
5135
  top: 45px;
5136
5136
  right: 10px;
@@ -22,19 +22,19 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
22
22
  const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
23
23
  const { t, basicStore, sidebarName } = useMoreControlHooks.default();
24
24
  function toggleMoreSidebar() {
25
- if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "more") {
25
+ if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
26
26
  basicStore.setSidebarOpenStatus(false);
27
27
  basicStore.setSidebarName("");
28
28
  return;
29
29
  }
30
30
  basicStore.setSidebarOpenStatus(true);
31
- basicStore.setSidebarName("more");
31
+ basicStore.setSidebarName("vote");
32
32
  }
33
33
  return (_ctx, _cache) => {
34
34
  return Vue.unref(moreControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
35
35
  Vue.createVNode(IconButton.default, {
36
- "is-active": Vue.unref(sidebarName) === "more",
37
- title: Vue.unref(t)("More"),
36
+ "is-active": Vue.unref(sidebarName) === "vote",
37
+ title: Vue.unref(t)("Vote"),
38
38
  onClickIcon: toggleMoreSidebar
39
39
  }, {
40
40
  default: Vue.withCtx(() => [
@@ -10,7 +10,7 @@ function useControl() {
10
10
  const basicStore = basic.useBasicStore();
11
11
  const { sidebarName } = pinia.storeToRefs(basicStore);
12
12
  const iconName = Vue.computed(
13
- () => sidebarName.value === "more" ? icon.ICON_NAME.MoreActive : icon.ICON_NAME.More
13
+ () => sidebarName.value === "vote" ? icon.ICON_NAME.MoreActive : icon.ICON_NAME.More
14
14
  );
15
15
  return {
16
16
  t,
@@ -2,21 +2,5 @@ declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('v
2
2
  "on-close-contact": (...args: any[]) => void;
3
3
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
4
  "onOn-close-contact"?: ((...args: any[]) => any) | undefined;
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
- }));
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>;
22
6
  export default Index;
@@ -1,11 +1,2 @@
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>>;
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>;
6
2
  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-c82f5e3c"]]);
6
+ const indexPC = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-abe3bdf3"]]);
7
7
  exports.default = indexPC;
@@ -14,7 +14,6 @@ const _hoisted_5 = { class: "item-title" };
14
14
  const _hoisted_6 = { class: "more-item" };
15
15
  const _hoisted_7 = { class: "item-title" };
16
16
  const _hoisted_8 = { class: "more-content" };
17
- const _hoisted_9 = { class: "more-item" };
18
17
  const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
19
18
  __name: "indexPC",
20
19
  setup(__props) {
@@ -41,9 +40,6 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
41
40
  class: "copy-icon",
42
41
  onClick: _cache[0] || (_cache[0] = ($event) => Vue.unref(onCopy)(Vue.unref(email)))
43
42
  })
44
- ]),
45
- Vue.createElementVNode("div", _hoisted_9, [
46
- Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
47
43
  ])
48
44
  ]);
49
45
  };
package/lib/index.js CHANGED
@@ -5075,17 +5075,17 @@ to {
5075
5075
  font-size: 16px;
5076
5076
  font-weight: 400;
5077
5077
  text-align: end;
5078
- }.more-container[data-v-c82f5e3c] {
5078
+ }.more-container[data-v-abe3bdf3] {
5079
5079
  padding: 20px;
5080
5080
  }
5081
- .more-container .more-title[data-v-c82f5e3c] {
5081
+ .more-container .more-title[data-v-abe3bdf3] {
5082
5082
  display: flex;
5083
5083
  align-items: center;
5084
5084
  }
5085
- .more-container .more-title .email-icon[data-v-c82f5e3c] {
5085
+ .more-container .more-title .email-icon[data-v-abe3bdf3] {
5086
5086
  color: var(--uikit-color-gray-7);
5087
5087
  }
5088
- .more-container .more-title .more-notice[data-v-c82f5e3c] {
5088
+ .more-container .more-title .more-notice[data-v-abe3bdf3] {
5089
5089
  width: 100%;
5090
5090
  height: 22px;
5091
5091
  padding-left: 8px;
@@ -5094,15 +5094,15 @@ to {
5094
5094
  line-height: 22px;
5095
5095
  color: var(--text-color-primary);
5096
5096
  }
5097
- .more-container .more-item[data-v-c82f5e3c] {
5097
+ .more-container .more-item[data-v-abe3bdf3] {
5098
5098
  position: relative;
5099
5099
  display: flex;
5100
5100
  flex-direction: column;
5101
5101
  }
5102
- .more-container .more-item[data-v-c82f5e3c]:not(:first-child) {
5102
+ .more-container .more-item[data-v-abe3bdf3]:not(:first-child) {
5103
5103
  margin-top: 20px;
5104
5104
  }
5105
- .more-container .more-item:not(:first-child) .item-title[data-v-c82f5e3c] {
5105
+ .more-container .more-item:not(:first-child) .item-title[data-v-abe3bdf3] {
5106
5106
  width: 100%;
5107
5107
  padding-bottom: 8px;
5108
5108
  font-size: 14px;
@@ -5110,7 +5110,7 @@ to {
5110
5110
  line-height: 22px;
5111
5111
  color: var(--text-color-primary);
5112
5112
  }
5113
- .more-container .more-item:not(:first-child) .more-content[data-v-c82f5e3c] {
5113
+ .more-container .more-item:not(:first-child) .more-content[data-v-abe3bdf3] {
5114
5114
  position: relative;
5115
5115
  box-sizing: border-box;
5116
5116
  display: inline-block;
@@ -5130,7 +5130,7 @@ to {
5130
5130
  background-color: var(--bg-color-input);
5131
5131
  border: 1px solid var(--stroke-color-module);
5132
5132
  }
5133
- .more-container .more-item:not(:first-child) .copy-icon[data-v-c82f5e3c] {
5133
+ .more-container .more-item:not(:first-child) .copy-icon[data-v-abe3bdf3] {
5134
5134
  position: absolute;
5135
5135
  top: 45px;
5136
5136
  right: 10px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndscnj/roomkit-web-vue3",
3
- "version": "25.12.24153",
3
+ "version": "25.12.24154",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <div v-if="moreControlConfig.visible" class="more-control-container">
3
3
  <icon-button
4
- :is-active="sidebarName === 'more'"
5
- :title="t('More')"
4
+ :is-active="sidebarName === 'vote'"
5
+ :title="t('Vote')"
6
6
  @click-icon="toggleMoreSidebar"
7
7
  >
8
8
  <IconMore size="24" />
@@ -19,13 +19,13 @@ const moreControlConfig = roomService.getComponentConfig('MoreControl');
19
19
  const { t, basicStore, sidebarName } = userMoreControl();
20
20
 
21
21
  function toggleMoreSidebar() {
22
- if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === 'more') {
22
+ if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === 'vote') {
23
23
  basicStore.setSidebarOpenStatus(false);
24
24
  basicStore.setSidebarName('');
25
25
  return;
26
26
  }
27
27
  basicStore.setSidebarOpenStatus(true);
28
- basicStore.setSidebarName('more');
28
+ basicStore.setSidebarName('vote');
29
29
  }
30
30
  </script>
31
31
  <style lang="scss" scoped></style>
@@ -11,7 +11,7 @@ export default function useControl() {
11
11
  const { sidebarName } = storeToRefs(basicStore);
12
12
 
13
13
  const iconName = computed(() =>
14
- sidebarName.value === 'more' ? ICON_NAME.MoreActive : ICON_NAME.More
14
+ sidebarName.value === 'vote' ? ICON_NAME.MoreActive : ICON_NAME.More
15
15
  );
16
16
 
17
17
  return {
@@ -15,9 +15,6 @@
15
15
  <div class="more-content">{{ email }}</div>
16
16
  <IconCopy class="copy-icon" @click="onCopy(email)" />
17
17
  </div>
18
- <div class="more-item">
19
- <slot name="content"></slot>
20
- </div>
21
18
  </div>
22
19
  </template>
23
20