tuikit-atomicx-vue3 6.0.0 → 6.0.1

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 (100) hide show
  1. package/dist/{index-B1KO9p6W.js → LiveAudienceList-BbN54Uct.js} +91 -90
  2. package/dist/{PopoverPortal-Boz6txZy.js → PopoverPortal-Bq_cs5hI.js} +5 -5
  3. package/dist/{PopoverTrigger-CFFNDZLC.js → PopoverTrigger-CuwomwH5.js} +10 -10
  4. package/dist/{PopperContent-B-k_-BkW.js → PopperContent-CLNI9Obt.js} +7 -7
  5. package/dist/{Teleport-7kDHKhp8.js → Teleport-Bp4EUnV3.js} +14 -14
  6. package/dist/baseComp/Modal/Modal.js +17 -13
  7. package/dist/chat-store/composables/useContactStore.js +1 -1
  8. package/dist/chat-store/composables/useConversationGroupStore.js +1 -1
  9. package/dist/chat-store/composables/useConversationListStore.js +1 -1
  10. package/dist/chat-store/composables/useGroupMemberStore.js +1 -1
  11. package/dist/chat-store/composables/useGroupStore.js +1 -1
  12. package/dist/chat-store/composables/useLoginStore.js +1 -1
  13. package/dist/chat-store/composables/useMessageActionStore.js +1 -1
  14. package/dist/chat-store/composables/useMessageInputStore.js +1 -1
  15. package/dist/chat-store/composables/useMessageListStore.js +1 -1
  16. package/dist/chat-store/composables/useSearchStore.js +1 -1
  17. package/dist/chat-store/context/useChatContext.js +1 -1
  18. package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +2 -2
  19. package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
  20. package/dist/components/BarrageInput/TextEditor/EditorCore.js +4 -4
  21. package/dist/components/ChatSetting/C2CChatSetting/C2CChatSetting.js +1 -1
  22. package/dist/components/ChatSetting/ChatSetting.js +6 -6
  23. package/dist/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.js +1 -1
  24. package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.js +14 -14
  25. package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.js +1 -1
  26. package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.js +1 -1
  27. package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.js +1 -1
  28. package/dist/components/ChatSetting/GroupChatSetting/PersonalSettings/PersonalSettings.js +1 -1
  29. package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.js +1 -1
  30. package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.js +9 -9
  31. package/dist/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.js +8 -8
  32. package/dist/components/ContactList/ContactList.js +1 -1
  33. package/dist/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.js +1 -1
  34. package/dist/components/ConversationList/ConversationActions/ConversationActions.js +1 -1
  35. package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +5 -5
  36. package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/type.js +1 -1
  37. package/dist/components/ConversationList/ConversationList.js +1 -1
  38. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +1 -1
  39. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +14 -14
  40. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +4 -4
  41. package/dist/components/ConversationList/ConversationPreview/utils.js +1 -1
  42. package/dist/components/ConversationList/ConversationSearch/ConversationSearch.js +10 -10
  43. package/dist/components/ConversationList/hooks/useConversationCreate.js +3 -3
  44. package/dist/components/ConversationList/index.js +7 -7
  45. package/dist/components/LiveAudienceList/LiveAudienceList.js +1 -1
  46. package/dist/components/LiveAudienceList/LiveAudienceListH5.js +1 -1
  47. package/dist/components/LiveAudienceList/index.js +1 -1
  48. package/dist/components/MessageInput/AttachmentPicker/index.js +2 -2
  49. package/dist/components/MessageInput/AudioCallPicker/AudioCallPicker.js +4 -4
  50. package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +2 -2
  51. package/dist/components/MessageInput/QuickConferencePicker/QuickConferencePicker.js +6 -6
  52. package/dist/components/MessageInput/QuotedMessagePreview/index.js +5 -5
  53. package/dist/components/MessageInput/TextEditor/EditorCore.js +1 -1
  54. package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +22 -22
  55. package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +1 -1
  56. package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.js +1 -1
  57. package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.js +1 -1
  58. package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +8 -8
  59. package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.js +16 -16
  60. package/dist/components/MessageInput/TextEditor/index.js +1 -1
  61. package/dist/components/MessageInput/VideoCallPicker/VideoCallPicker.js +4 -4
  62. package/dist/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.js +7 -7
  63. package/dist/components/MessageList/Message/GroupTipMessage/index.js +1 -1
  64. package/dist/components/MessageList/Message/GroupTipMessage/resolveGroupTipMessage.js +1 -1
  65. package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +3 -3
  66. package/dist/components/MessageList/Message/MessageLayout/MessageBubble/MessageBubble.js +4 -4
  67. package/dist/components/MessageList/Message/MessageLayout/MessageLayout.js +15 -15
  68. package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.js +4 -4
  69. package/dist/components/MessageList/Message/RecalledMessage/RecalledMessage.js +4 -4
  70. package/dist/components/MessageList/Message/TextMessage/TextMessage.js +6 -6
  71. package/dist/components/MessageList/MessageList.js +1 -1
  72. package/dist/components/RoomParticipantList/useParticpantAction/index.js +3 -3
  73. package/dist/components/Search/Search.js +1 -1
  74. package/dist/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.js +1 -1
  75. package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.js +4 -4
  76. package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.js +5 -5
  77. package/dist/components/Search/SearchResults/SearchResultsItem/User/User.js +1 -1
  78. package/dist/hooks/useMessageActions.js +4 -4
  79. package/dist/hooks/useOfflinePushInfo/utils.js +1 -1
  80. package/dist/{index-DR3K_qw_.js → index-BqLIloNy.js} +232 -232
  81. package/dist/{index-B_4JqmDM.js → index-CQ-T7Ht7.js} +3 -3
  82. package/dist/{index-Bx7tbGhD.js → index-Cm55_dLz.js} +1 -1
  83. package/dist/{index-Du3phCj7.js → index-CqKRFJMe.js} +28 -28
  84. package/dist/{index-BejtWwxH.js → index-DL9jivIN.js} +58 -58
  85. package/dist/index.js +2 -2
  86. package/dist/states/LiveMonitorState/api/http.js +545 -495
  87. package/dist/states/LoginState.js +1 -1
  88. package/dist/styles/index.css +1 -1
  89. package/dist/subEntry/chat/chat.js +13 -13
  90. package/dist/subEntry/chat/index.js +1 -1
  91. package/dist/subEntry/live/index.js +10 -10
  92. package/dist/subEntry/live/live.js +1 -1
  93. package/dist/subEntry/room/index.js +19 -19
  94. package/dist/types/chatSetting.js +1 -1
  95. package/dist/types/groupSetting.js +1 -1
  96. package/dist/types/index.js +14 -14
  97. package/dist/{useId-Ck7Lv4Fv.js → useId-BhUMXcvI.js} +1 -1
  98. package/dist/utils/call.js +1 -1
  99. package/dist/{utils-Dq1MrcNM.js → utils-BiFcAFDZ.js} +3 -3
  100. package/package.json +1 -1
@@ -1,32 +1,96 @@
1
- import { defineComponent as z, ref as l, computed as E, onMounted as J, onUnmounted as Q, openBlock as t, createElementBlock as s, normalizeStyle as O, createElementVNode as c, Fragment as $, renderList as T, unref as e, renderSlot as A, createVNode as B, toDisplayString as f, createCommentVNode as y, createBlock as W } from "vue";
1
+ import { defineComponent as z, ref as l, computed as E, openBlock as t, createElementBlock as s, normalizeStyle as O, createElementVNode as c, Fragment as C, renderList as T, unref as e, renderSlot as A, createVNode as B, toDisplayString as f, createCommentVNode as y, onMounted as P, onUnmounted as Q, createBlock as W } from "vue";
2
2
  import { useUIKit as H } from "@tencentcloud/uikit-base-component-vue3";
3
3
  import { useLiveAudienceState as R } from "./states/LiveAudienceState.js";
4
4
  import D from "./states/LoginState.js";
5
5
  import F from "./components/Avatar/Avatar.js";
6
6
  import Y from "./components/LiveAudienceList/UserActionMenu.js";
7
- import { useLiveListState as K } from "./states/LiveListState/LiveListState.js";
8
- import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { addI18n as X } from "./i18n/index.js";
7
+ import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
+ import { useLiveListState as X } from "./states/LiveListState/LiveListState.js";
9
+ import { addI18n as j } from "./i18n/index.js";
10
10
  import { resource as Z } from "./components/LiveAudienceList/i18n/en-US/index.js";
11
11
  import { resource as ee } from "./components/LiveAudienceList/i18n/zh-CN/index.js";
12
12
  import { isMobile as te } from "./utils/environment.js";
13
- const se = ["onClick"], ne = { class: "viewer-info" }, oe = { class: "viewer-name" }, ie = {
13
+ const se = { class: "viewers-list" }, ne = ["onClick"], oe = { class: "viewer-info" }, ie = { class: "viewer-name" }, re = {
14
+ key: 0,
15
+ class: "viewer-bottom-line"
16
+ }, le = {
17
+ key: 1,
18
+ class: "empty-state"
19
+ }, ae = /* @__PURE__ */ z({
20
+ __name: "LiveAudienceListH5",
21
+ props: {
22
+ height: {},
23
+ style: {}
24
+ },
25
+ setup(N) {
26
+ const { t: h } = H(), w = l(null), i = N, { loginUserInfo: u } = D(), { audienceList: g, audienceCount: U } = R(), { currentLive: I } = X(), M = l(!1), S = l(null), V = l({}), L = E(() => {
27
+ var o, d;
28
+ return ((o = u.value) == null ? void 0 : o.userId) === ((d = I.value) == null ? void 0 : d.liveOwner.userId);
29
+ }), a = (o, d) => {
30
+ if (!L.value) return;
31
+ S.value = o, M.value = !0;
32
+ const n = d.currentTarget;
33
+ w.value = n;
34
+ const _ = n.getBoundingClientRect();
35
+ V.value = {
36
+ position: "fixed",
37
+ left: `${_.left}px`,
38
+ top: `${_.bottom + 8}px`,
39
+ zIndex: 1001
40
+ };
41
+ };
42
+ return (o, d) => (t(), s("div", {
43
+ class: "viewers-panel",
44
+ style: O({ height: i.height, ...i.style })
45
+ }, [
46
+ c("div", se, [
47
+ (t(!0), s(C, null, T(e(g), (n, _) => (t(), s("div", {
48
+ key: n.userId,
49
+ class: "viewer-item",
50
+ onClick: ($) => a(n, $)
51
+ }, [
52
+ o.$slots["audience-item"] ? A(o.$slots, "audience-item", {
53
+ key: 0,
54
+ index: _,
55
+ audience: n
56
+ }, void 0, !0) : (t(), s(C, { key: 1 }, [
57
+ B(e(F), {
58
+ src: n.avatarUrl,
59
+ size: 40
60
+ }, null, 8, ["src"]),
61
+ A(o.$slots, "audience-mark", { audience: n }, void 0, !0),
62
+ c("div", oe, [
63
+ c("span", ie, f(n.userName || n.userId), 1)
64
+ ])
65
+ ], 64))
66
+ ], 8, ne))), 128)),
67
+ e(U) >= e(q) ? (t(), s("div", re, f(e(h)("Only show 200 viewers")), 1)) : y("", !0),
68
+ e(g).length === 0 ? (t(), s("div", le, [
69
+ c("p", null, f(e(h)("No audience yet")), 1)
70
+ ])) : y("", !0)
71
+ ])
72
+ ], 4));
73
+ }
74
+ }), ce = /* @__PURE__ */ K(ae, [["__scopeId", "data-v-0c950137"]]), q = 200, Se = te ? ce : _e;
75
+ j("en-US", { translation: Z });
76
+ j("zh-CN", { translation: ee });
77
+ const ue = ["onClick"], de = { class: "viewer-info" }, ve = { class: "viewer-name" }, me = {
14
78
  key: 0,
15
79
  class: "loading-indicator"
16
- }, re = {
80
+ }, pe = {
17
81
  key: 1,
18
82
  class: "viewer-bottom-line"
19
- }, le = {
83
+ }, fe = {
20
84
  key: 2,
21
85
  class: "empty-state"
22
- }, ae = /* @__PURE__ */ z({
86
+ }, he = /* @__PURE__ */ z({
23
87
  __name: "LiveAudienceList",
24
88
  props: {
25
89
  height: {},
26
90
  style: {}
27
91
  },
28
92
  setup(N) {
29
- const { t: h } = H(), w = l(null), i = l(null), u = l(!1), g = N, { loginUserInfo: U } = D(), { audienceList: I, audienceCount: M, fetchAudienceList: S } = R(), { currentLive: V } = K(), L = l(!1), a = l(null), o = l({}), d = E(() => {
93
+ const { t: h } = H(), w = l(null), i = l(null), u = l(!1), g = N, { loginUserInfo: U } = D(), { audienceList: I, audienceCount: M, fetchAudienceList: S } = R(), { currentLive: V } = X(), L = l(!1), a = l(null), o = l({}), d = E(() => {
30
94
  var r, v;
31
95
  return ((r = U.value) == null ? void 0 : r.userId) === ((v = V.value) == null ? void 0 : v.liveOwner.userId);
32
96
  }), n = (r, v) => {
@@ -44,7 +108,7 @@ const se = ["onClick"], ne = { class: "viewer-info" }, oe = { class: "viewer-nam
44
108
  };
45
109
  }, _ = () => {
46
110
  L.value = !1, a.value = null;
47
- }, C = async () => {
111
+ }, $ = async () => {
48
112
  if (!i.value || u.value)
49
113
  return;
50
114
  const { scrollTop: r, clientHeight: v, scrollHeight: m } = i.value;
@@ -57,10 +121,10 @@ const se = ["onClick"], ne = { class: "viewer-info" }, oe = { class: "viewer-nam
57
121
  }
58
122
  }
59
123
  };
60
- return J(() => {
61
- i.value && i.value.addEventListener("scroll", C);
124
+ return P(() => {
125
+ i.value && i.value.addEventListener("scroll", $);
62
126
  }), Q(() => {
63
- i.value && i.value.removeEventListener("scroll", C);
127
+ i.value && i.value.removeEventListener("scroll", $);
64
128
  }), (r, v) => {
65
129
  var m, k, b, x;
66
130
  return t(), s("div", {
@@ -72,29 +136,29 @@ const se = ["onClick"], ne = { class: "viewer-info" }, oe = { class: "viewer-nam
72
136
  ref: i,
73
137
  class: "viewers-list"
74
138
  }, [
75
- (t(!0), s($, null, T(e(I), (p, q) => (t(), s("div", {
139
+ (t(!0), s(C, null, T(e(I), (p, G) => (t(), s("div", {
76
140
  key: p.userId,
77
141
  class: "viewer-item",
78
- onClick: (G) => n(p, G)
142
+ onClick: (J) => n(p, J)
79
143
  }, [
80
144
  r.$slots["audience-item"] ? A(r.$slots, "audience-item", {
81
145
  key: 0,
82
- index: q,
146
+ index: G,
83
147
  audience: p
84
- }, void 0, !0) : (t(), s($, { key: 1 }, [
148
+ }, void 0, !0) : (t(), s(C, { key: 1 }, [
85
149
  B(e(F), {
86
150
  src: p.avatarUrl,
87
151
  size: 26
88
152
  }, null, 8, ["src"]),
89
153
  A(r.$slots, "audience-mark", { audience: p }, void 0, !0),
90
- c("div", ne, [
91
- c("span", oe, f(p.userName || p.userId), 1)
154
+ c("div", de, [
155
+ c("span", ve, f(p.userName || p.userId), 1)
92
156
  ])
93
157
  ], 64))
94
- ], 8, se))), 128)),
95
- u.value ? (t(), s("div", ie, f(e(h)("Loading...")), 1)) : y("", !0),
96
- e(M) >= e(j) ? (t(), s("div", re, f(e(h)("Only show 200 viewers")), 1)) : y("", !0),
97
- e(I).length === 0 && !u.value ? (t(), s("div", le, [
158
+ ], 8, ue))), 128)),
159
+ u.value ? (t(), s("div", me, f(e(h)("Loading...")), 1)) : y("", !0),
160
+ e(M) >= e(q) ? (t(), s("div", pe, f(e(h)("Only show 200 viewers")), 1)) : y("", !0),
161
+ e(I).length === 0 && !u.value ? (t(), s("div", fe, [
98
162
  c("p", null, f(e(h)("No audience yet")), 1)
99
163
  ])) : y("", !0)
100
164
  ], 512),
@@ -110,73 +174,10 @@ const se = ["onClick"], ne = { class: "viewer-info" }, oe = { class: "viewer-nam
110
174
  ], 4);
111
175
  };
112
176
  }
113
- }), ce = /* @__PURE__ */ P(ae, [["__scopeId", "data-v-4244d832"]]), ue = { class: "viewers-list" }, de = ["onClick"], ve = { class: "viewer-info" }, me = { class: "viewer-name" }, pe = {
114
- key: 0,
115
- class: "viewer-bottom-line"
116
- }, fe = {
117
- key: 1,
118
- class: "empty-state"
119
- }, he = /* @__PURE__ */ z({
120
- __name: "LiveAudienceListH5",
121
- props: {
122
- height: {},
123
- style: {}
124
- },
125
- setup(N) {
126
- const { t: h } = H(), w = l(null), i = N, { loginUserInfo: u } = D(), { audienceList: g, audienceCount: U } = R(), { currentLive: I } = K(), M = l(!1), S = l(null), V = l({}), L = E(() => {
127
- var o, d;
128
- return ((o = u.value) == null ? void 0 : o.userId) === ((d = I.value) == null ? void 0 : d.liveOwner.userId);
129
- }), a = (o, d) => {
130
- if (!L.value) return;
131
- S.value = o, M.value = !0;
132
- const n = d.currentTarget;
133
- w.value = n;
134
- const _ = n.getBoundingClientRect();
135
- V.value = {
136
- position: "fixed",
137
- left: `${_.left}px`,
138
- top: `${_.bottom + 8}px`,
139
- zIndex: 1001
140
- };
141
- };
142
- return (o, d) => (t(), s("div", {
143
- class: "viewers-panel",
144
- style: O({ height: i.height, ...i.style })
145
- }, [
146
- c("div", ue, [
147
- (t(!0), s($, null, T(e(g), (n, _) => (t(), s("div", {
148
- key: n.userId,
149
- class: "viewer-item",
150
- onClick: (C) => a(n, C)
151
- }, [
152
- o.$slots["audience-item"] ? A(o.$slots, "audience-item", {
153
- key: 0,
154
- index: _,
155
- audience: n
156
- }, void 0, !0) : (t(), s($, { key: 1 }, [
157
- B(e(F), {
158
- src: n.avatarUrl,
159
- size: 40
160
- }, null, 8, ["src"]),
161
- A(o.$slots, "audience-mark", { audience: n }, void 0, !0),
162
- c("div", ve, [
163
- c("span", me, f(n.userName || n.userId), 1)
164
- ])
165
- ], 64))
166
- ], 8, de))), 128)),
167
- e(U) >= e(j) ? (t(), s("div", pe, f(e(h)("Only show 200 viewers")), 1)) : y("", !0),
168
- e(g).length === 0 ? (t(), s("div", fe, [
169
- c("p", null, f(e(h)("No audience yet")), 1)
170
- ])) : y("", !0)
171
- ])
172
- ], 4));
173
- }
174
- }), _e = /* @__PURE__ */ P(he, [["__scopeId", "data-v-0c950137"]]), j = 200, Se = te ? _e : ce;
175
- X("en-US", { translation: Z });
176
- X("zh-CN", { translation: ee });
177
+ }), _e = /* @__PURE__ */ K(he, [["__scopeId", "data-v-4244d832"]]);
177
178
  export {
178
179
  Se as L,
179
- j as M,
180
- _e as a,
181
- ce as b
180
+ q as M,
181
+ ce as a,
182
+ _e as b
182
183
  };
@@ -1,6 +1,6 @@
1
- import { b as D, n as k, r as A, l as b, F as N, D as E, h as R, m as I, P as M, T as $ } from "./Teleport-7kDHKhp8.js";
2
- import { c as K, d as L, u as j, b as z, e as w } from "./PopperContent-B-k_-BkW.js";
3
- import { u as T } from "./useId-Ck7Lv4Fv.js";
1
+ import { c as D, a as k, r as A, u as b, F as N, D as E, b as R, d as I, e as M, T as $ } from "./Teleport-Bp4EUnV3.js";
2
+ import { a as K, u as L, b as j, c as z, d as w } from "./PopperContent-CLNI9Obt.js";
3
+ import { u as T } from "./useId-BhUMXcvI.js";
4
4
  import { defineComponent as m, toRefs as U, ref as P, openBlock as c, createBlock as v, unref as e, withCtx as f, renderSlot as g, createVNode as h, mergeProps as _, withModifiers as C, normalizeProps as x, guardReactiveProps as W } from "vue";
5
5
  const [B, V] = /* @__PURE__ */ D("PopoverRoot");
6
6
  var G = /* @__PURE__ */ m({
@@ -571,8 +571,8 @@ var G = /* @__PURE__ */ m({
571
571
  }
572
572
  }), le = ee;
573
573
  export {
574
- ie as P,
574
+ se as P,
575
575
  le as a,
576
- se as b,
576
+ ie as b,
577
577
  B as i
578
578
  };
@@ -1,9 +1,9 @@
1
- import { l as p, a } from "./Teleport-7kDHKhp8.js";
2
- import { u as d } from "./useId-Ck7Lv4Fv.js";
3
- import { P as u } from "./PopperContent-B-k_-BkW.js";
4
- import { i as c } from "./PopoverPortal-Boz6txZy.js";
5
- import { defineComponent as g, onMounted as f, openBlock as m, createBlock as v, resolveDynamicComponent as _, unref as r, withCtx as t, createVNode as h, renderSlot as C } from "vue";
6
- var P = /* @__PURE__ */ g({
1
+ import { u as l, P as a } from "./Teleport-Bp4EUnV3.js";
2
+ import { u as d } from "./useId-BhUMXcvI.js";
3
+ import { P as u } from "./PopperContent-CLNI9Obt.js";
4
+ import { i as c } from "./PopoverPortal-Bq_cs5hI.js";
5
+ import { defineComponent as g, onMounted as f, openBlock as m, createBlock as v, resolveDynamicComponent as _, unref as r, withCtx as t, createVNode as h, renderSlot as P } from "vue";
6
+ var C = /* @__PURE__ */ g({
7
7
  __name: "PopoverTrigger",
8
8
  props: {
9
9
  asChild: {
@@ -17,9 +17,9 @@ var P = /* @__PURE__ */ g({
17
17
  }
18
18
  },
19
19
  setup(n) {
20
- const i = n, e = c(), { forwardRef: s, currentElement: l } = p();
20
+ const i = n, e = c(), { forwardRef: s, currentElement: p } = l();
21
21
  return e.triggerId || (e.triggerId = d(void 0, "reka-popover-trigger")), f(() => {
22
- e.triggerElement.value = l.value;
22
+ e.triggerElement.value = p.value;
23
23
  }), (o, y) => (m(), v(_(r(e).hasCustomAnchor.value ? r(a) : r(u)), { "as-child": "" }, {
24
24
  default: t(() => [h(r(a), {
25
25
  id: r(e).triggerId,
@@ -33,7 +33,7 @@ var P = /* @__PURE__ */ g({
33
33
  "as-child": i.asChild,
34
34
  onClick: r(e).onOpenToggle
35
35
  }, {
36
- default: t(() => [C(o.$slots, "default")]),
36
+ default: t(() => [P(o.$slots, "default")]),
37
37
  _: 3
38
38
  }, 8, [
39
39
  "id",
@@ -48,7 +48,7 @@ var P = /* @__PURE__ */ g({
48
48
  _: 3
49
49
  }));
50
50
  }
51
- }), w = P;
51
+ }), w = C;
52
52
  export {
53
53
  w as P
54
54
  };
@@ -1,5 +1,5 @@
1
1
  import { watchEffect as It, getCurrentInstance as fe, toRef as ue, computed as P, camelize as de, ref as V, onMounted as pe, defineComponent as Ct, renderSlot as Pt, watchPostEffect as Xt, openBlock as Yt, createBlock as he, unref as M, withCtx as Ut, shallowRef as me, watch as mt, getCurrentScope as ge, onScopeDispose as we, shallowReadonly as tt, createElementBlock as ye, normalizeStyle as ve, createVNode as xe, mergeProps as be, mergeDefaults as Ae } from "vue";
2
- import { e as Oe, j as Ce, u as Pe, b as Gt, l as Kt, a as Zt, c as Re } from "./Teleport-7kDHKhp8.js";
2
+ import { h as Oe, f as Ce, j as Pe, c as Gt, u as Kt, P as Zt, k as Re } from "./Teleport-Bp4EUnV3.js";
3
3
  let gt = 0;
4
4
  function Fn() {
5
5
  It((t) => {
@@ -1604,10 +1604,10 @@ var kn = /* @__PURE__ */ Ct({
1604
1604
  }), Vn = kn;
1605
1605
  export {
1606
1606
  zn as P,
1607
- Ln as a,
1608
- Vn as b,
1609
- Wn as c,
1610
- Se as d,
1611
- Mn as e,
1612
- Fn as u
1607
+ Wn as a,
1608
+ Fn as b,
1609
+ Vn as c,
1610
+ Mn as d,
1611
+ Ln as e,
1612
+ Se as u
1613
1613
  };
@@ -874,23 +874,23 @@ var At = /* @__PURE__ */ x({
874
874
  export {
875
875
  kt as D,
876
876
  jt as F,
877
- Bt as P,
877
+ ye as P,
878
878
  ft as S,
879
879
  $t as T,
880
- ye as a,
881
- je as b,
882
- Tt as c,
883
- Ve as d,
884
- D as e,
885
- Mt as f,
880
+ Nt as a,
881
+ Ft as b,
882
+ je as c,
883
+ xt as d,
884
+ Bt as e,
885
+ It as f,
886
886
  F as g,
887
- Ft as h,
887
+ D as h,
888
888
  tt as i,
889
- It as j,
890
- fe as k,
891
- pe as l,
892
- xt as m,
893
- Nt as n,
889
+ U as j,
890
+ Tt as k,
891
+ Mt as l,
892
+ Ve as m,
893
+ fe as n,
894
894
  Lt as r,
895
- U as u
895
+ pe as u
896
896
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as g, ref as E, toRefs as P, renderSlot as _, unref as t, onMounted as A, openBlock as v, createBlock as m, withCtx as f, createVNode as C, mergeProps as y, withModifiers as h, createCommentVNode as $, normalizeProps as T, guardReactiveProps as R, normalizeClass as k } from "vue";
2
- import { b as N, n as S, l as D, g as I, F as L, D as K, j as q, m as V, P as F, h as U, a as W, T as j } from "../../Teleport-7kDHKhp8.js";
3
- import { u as w } from "../../useId-Ck7Lv4Fv.js";
4
- import { g as z } from "../../utils-Dq1MrcNM.js";
5
- import { _ as G } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
6
- const [O, H] = /* @__PURE__ */ N("DialogRoot");
1
+ import { defineComponent as g, ref as E, toRefs as P, renderSlot as _, unref as t, onMounted as A, openBlock as v, createBlock as m, withCtx as f, createVNode as C, mergeProps as y, withModifiers as $, createCommentVNode as h, normalizeProps as T, guardReactiveProps as R, normalizeClass as k } from "vue";
2
+ import { c as N, a as S, u as D, g as I, F as L, D as K, f as q, d as V, e as F, b as U, P as W, T as z } from "../../Teleport-Bp4EUnV3.js";
3
+ import { u as w } from "../../useId-BhUMXcvI.js";
4
+ import { g as G } from "../../utils-BiFcAFDZ.js";
5
+ import { _ as H } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const [O, j] = /* @__PURE__ */ N("DialogRoot");
7
7
  var J = /* @__PURE__ */ g({
8
8
  inheritAttrs: !1,
9
9
  __name: "DialogRoot",
@@ -30,7 +30,7 @@ var J = /* @__PURE__ */ g({
30
30
  defaultValue: a.defaultOpen,
31
31
  passive: a.open === void 0
32
32
  }), l = E(), p = E(), { modal: r } = P(a);
33
- return H({
33
+ return j({
34
34
  open: e,
35
35
  modal: r,
36
36
  openModal: () => {
@@ -126,7 +126,7 @@ var x = /* @__PURE__ */ g({
126
126
  role: "dialog",
127
127
  "aria-describedby": t(e).descriptionId,
128
128
  "aria-labelledby": t(e).titleId,
129
- "data-state": t(z)(t(e).open.value)
129
+ "data-state": t(G)(t(e).open.value)
130
130
  }, r.$attrs, {
131
131
  onDismiss: n[0] || (n[0] = (s) => t(e).onOpenChange(!1)),
132
132
  onEscapeKeyDown: n[1] || (n[1] = (s) => o("escapeKeyDown", s)),
@@ -336,8 +336,12 @@ var x = /* @__PURE__ */ g({
336
336
  "as-child": a.asChild,
337
337
  "data-state": t(i).open.value ? "open" : "closed",
338
338
  style: { "pointer-events": "auto" },
339
- onPointerdown: o[0] || (o[0] = h(() => {
340
- }, ["left", "prevent"]))
339
+ onPointerdown: o[0] || (o[0] = $(() => {
340
+ }, [
341
+ "left",
342
+ "self",
343
+ "prevent"
344
+ ]))
341
345
  }, {
342
346
  default: f(() => [_(a.$slots, "default")]),
343
347
  _: 3
@@ -380,7 +384,7 @@ var x = /* @__PURE__ */ g({
380
384
  _: 3
381
385
  }, 16, ["as", "as-child"])]),
382
386
  _: 3
383
- }, 8, ["present"])) : $("v-if", !0);
387
+ }, 8, ["present"])) : h("v-if", !0);
384
388
  };
385
389
  }
386
390
  }), ue = ie, de = /* @__PURE__ */ g({
@@ -405,7 +409,7 @@ var x = /* @__PURE__ */ g({
405
409
  },
406
410
  setup(u) {
407
411
  const i = u;
408
- return (a, o) => (v(), m(t(j), T(R(i)), {
412
+ return (a, o) => (v(), m(t(z), T(R(i)), {
409
413
  default: f(() => [_(a.$slots, "default")]),
410
414
  _: 3
411
415
  }, 16));
@@ -451,7 +455,7 @@ const fe = /* @__PURE__ */ g({
451
455
  _: 3
452
456
  }, 8, ["open"]));
453
457
  }
454
- }), ye = /* @__PURE__ */ G(fe, [["__scopeId", "data-v-bef96a30"]]);
458
+ }), ye = /* @__PURE__ */ H(fe, [["__scopeId", "data-v-bef96a30"]]);
455
459
  export {
456
460
  ye as default
457
461
  };
@@ -1,4 +1,4 @@
1
- import { b as e } from "../../index-DR3K_qw_.js";
1
+ import { m as e } from "../../index-BqLIloNy.js";
2
2
  import { createSingletonComposable as o } from "../internal/createSingletonComposable.js";
3
3
  const t = o(
4
4
  e,
@@ -1,4 +1,4 @@
1
- import { d as r } from "../../index-DR3K_qw_.js";
1
+ import { n as r } from "../../index-BqLIloNy.js";
2
2
  import { createSingletonComposable as e } from "../internal/createSingletonComposable.js";
3
3
  const o = e(
4
4
  r,
@@ -1,4 +1,4 @@
1
- import { e as t } from "../../index-DR3K_qw_.js";
1
+ import { o as t } from "../../index-BqLIloNy.js";
2
2
  import { createInstanceComposable as n } from "../internal/createInstanceComposable.js";
3
3
  const o = n(
4
4
  (e) => t.create(e),
@@ -1,4 +1,4 @@
1
- import { l as o } from "../../index-DR3K_qw_.js";
1
+ import { p as o } from "../../index-BqLIloNy.js";
2
2
  import { createInstanceComposable as t } from "../internal/createInstanceComposable.js";
3
3
  const r = t(
4
4
  (e) => {
@@ -1,4 +1,4 @@
1
- import { m as t } from "../../index-DR3K_qw_.js";
1
+ import { q as t } from "../../index-BqLIloNy.js";
2
2
  import { createSingletonComposable as e } from "../internal/createSingletonComposable.js";
3
3
  const o = e(
4
4
  t,
@@ -1,4 +1,4 @@
1
- import { L as t } from "../../index-DR3K_qw_.js";
1
+ import { L as t } from "../../index-BqLIloNy.js";
2
2
  import { createSingletonComposable as e } from "../internal/createSingletonComposable.js";
3
3
  const o = e(
4
4
  t,
@@ -1,4 +1,4 @@
1
- import { o as r } from "../../index-DR3K_qw_.js";
1
+ import { r } from "../../index-BqLIloNy.js";
2
2
  import { createInstanceComposable as s } from "../internal/createInstanceComposable.js";
3
3
  const o = s(
4
4
  (e) => {
@@ -1,5 +1,5 @@
1
1
  import { getCurrentScope as o, onScopeDispose as r, computed as n } from "vue";
2
- import { p as a } from "../../index-DR3K_qw_.js";
2
+ import { s as a } from "../../index-BqLIloNy.js";
3
3
  function s(t) {
4
4
  const e = a.create(t);
5
5
  return o() && r(() => e.destroy()), {
@@ -1,4 +1,4 @@
1
- import { q as a } from "../../index-DR3K_qw_.js";
1
+ import { t as a } from "../../index-BqLIloNy.js";
2
2
  import { createInstanceComposable as t } from "../internal/createInstanceComposable.js";
3
3
  const s = t(
4
4
  (e) => {
@@ -1,4 +1,4 @@
1
- import { S as r } from "../../index-DR3K_qw_.js";
1
+ import { u as r } from "../../index-BqLIloNy.js";
2
2
  import { createInstanceComposable as o } from "../internal/createInstanceComposable.js";
3
3
  const e = o(
4
4
  () => r.create(),
@@ -1,5 +1,5 @@
1
1
  import { shallowRef as r, onScopeDispose as i, computed as a } from "vue";
2
- import { v as l } from "../../index-DR3K_qw_.js";
2
+ import { v as l } from "../../index-BqLIloNy.js";
3
3
  function d(t = "default") {
4
4
  const o = l(t), e = o.getSnapshot(), s = r(e), n = o.subscribe(() => {
5
5
  s.value = o.getSnapshot();
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as j, onMounted as x, openBlock as a, createElementBlock as c, createVNode as o, unref as e, withCtx as r, normalizeClass as i, normalizeStyle as v, createElementVNode as _, Fragment as b, renderList as E } from "vue";
2
2
  import { useUIKit as y, IconEmoji as P } from "@tencentcloud/uikit-base-component-vue3";
3
- import { b as C, a as h, P as I } from "../../../PopoverPortal-Boz6txZy.js";
4
- import { P as z } from "../../../PopoverTrigger-CFFNDZLC.js";
3
+ import { P as C, a as h, b as I } from "../../../PopoverPortal-Bq_cs5hI.js";
4
+ import { P as z } from "../../../PopoverTrigger-CuwomwH5.js";
5
5
  import { emojiUrlMap as l, emojiBaseUrl as m } from "../../../constants/emoji.js";
6
6
  import { transformTextWithEmojiKeyToName as M } from "../../../utils/emoji.js";
7
7
  import { useMessageInputState as T } from "../MessageInputState.js";
@@ -1,4 +1,4 @@
1
- import { b as l, P as h, f } from "../../../index-Du3phCj7.js";
1
+ import { E as l, P as h, a as f } from "../../../index-CqKRFJMe.js";
2
2
  const m = l.create({
3
3
  name: "characterCount",
4
4
  addOptions() {
@@ -1,10 +1,10 @@
1
- import { I as u } from "../../../index-B_4JqmDM.js";
2
- import { S as g, P as x } from "../../../index-BejtWwxH.js";
3
- import { E as p } from "../../../index-Bx7tbGhD.js";
1
+ import { I as u } from "../../../index-CQ-T7Ht7.js";
2
+ import { S as g, P as x } from "../../../index-DL9jivIN.js";
3
+ import { E as p } from "../../../index-Cm55_dLz.js";
4
4
  import { isMobile as y } from "../../../utils/environment.js";
5
5
  import { CharacterCount as M } from "./CharacterCountExtension.js";
6
6
  import { MessageContentType as a } from "../../../types/messageInput.js";
7
- import { b as T } from "../../../index-Du3phCj7.js";
7
+ import { E as T } from "../../../index-CqKRFJMe.js";
8
8
  function b() {
9
9
  return u.extend({
10
10
  name: a.EMOJI,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as H, inject as j, computed as s, ref as K, openBlock as o, createElementBlock as y, Fragment as L, createVNode as i, unref as t, createElementVNode as l, toDisplayString as f, createBlock as g, createCommentVNode as c, withCtx as D, createTextVNode as W } from "vue";
2
- import { R as k } from "../../../index-DR3K_qw_.js";
2
+ import { R as k } from "../../../index-BqLIloNy.js";
3
3
  import { useUIKit as q, IconCopy as z, TUIButton as A, TUIDialog as G, TUIToast as m } from "@tencentcloud/uikit-base-component-vue3";
4
4
  import u from "../Divider/Divider.js";
5
5
  import p from "../SettingItem/SettingItem.js";
@@ -1,5 +1,5 @@
1
- import { defineComponent as g, provide as v, computed as l, unref as t, openBlock as e, createElementBlock as p, createElementVNode as _, toDisplayString as f, createVNode as k, createBlock as m, createCommentVNode as y } from "vue";
2
- import { g as s } from "../../index-DR3K_qw_.js";
1
+ import { defineComponent as v, provide as f, computed as l, unref as t, openBlock as e, createElementBlock as p, createElementVNode as _, toDisplayString as g, createVNode as k, createBlock as m, createCommentVNode as y } from "vue";
2
+ import { j as s } from "../../index-BqLIloNy.js";
3
3
  import { useUIKit as S, IconClose1 as x } from "@tencentcloud/uikit-base-component-vue3";
4
4
  import B from "./C2CChatSetting/C2CChatSetting.js";
5
5
  import G from "./GroupChatSetting/GroupChatSetting.js";
@@ -8,7 +8,7 @@ import { _ as N } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const T = {
9
9
  key: 0,
10
10
  class: "chat-setting"
11
- }, V = { class: "chat-setting__header" }, b = { class: "chat-setting__title" }, E = { key: 1 }, q = /* @__PURE__ */ g({
11
+ }, V = { class: "chat-setting__header" }, b = { class: "chat-setting__title" }, E = { key: 1 }, j = /* @__PURE__ */ v({
12
12
  __name: "ChatSetting",
13
13
  props: {
14
14
  channel: { default: "default" }
@@ -16,7 +16,7 @@ const T = {
16
16
  emits: ["close"],
17
17
  setup(u, { emit: d }) {
18
18
  const a = u;
19
- v("channel", a.channel);
19
+ f("channel", a.channel);
20
20
  const { activeConversation: i } = I(a.channel), { t: c } = S(), h = d, o = l(() => {
21
21
  var n;
22
22
  return (n = i.value) == null ? void 0 : n.type;
@@ -25,7 +25,7 @@ const T = {
25
25
  );
26
26
  return (n, r) => t(i) ? (e(), p("div", T, [
27
27
  _("div", V, [
28
- _("span", b, f(C.value), 1),
28
+ _("span", b, g(C.value), 1),
29
29
  k(t(x), {
30
30
  class: "chat-setting__close unique-icon-btn",
31
31
  size: 24,
@@ -35,7 +35,7 @@ const T = {
35
35
  o.value === t(s).C2C ? (e(), m(t(B), { key: 0 })) : o.value === t(s).Group ? (e(), m(t(G), { key: 1 })) : y("", !0)
36
36
  ])) : (e(), p("div", E, " [null active conversation] "));
37
37
  }
38
- }), F = /* @__PURE__ */ N(q, [["__scopeId", "data-v-29db3d70"]]);
38
+ }), F = /* @__PURE__ */ N(j, [["__scopeId", "data-v-29db3d70"]]);
39
39
  export {
40
40
  F as default
41
41
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as K, inject as $, computed as s, ref as c, openBlock as n, createElementBlock as J, createBlock as v, unref as r, withCtx as l, createTextVNode as y, toDisplayString as f, createCommentVNode as d, createVNode as g, createElementVNode as q, normalizeClass as X } from "vue";
2
- import { L as Y } from "../../../../index-DR3K_qw_.js";
2
+ import { L as Y } from "../../../../index-BqLIloNy.js";
3
3
  import { useUIKit as Z, TUIButton as S, TUIDialog as h, TUIToast as o } from "@tencentcloud/uikit-base-component-vue3";
4
4
  import { hasGroupPermission as b, GroupPermission as T } from "../../../../types/groupSetting.js";
5
5
  import { UserPicker as ee } from "../../../UserPicker/index.js";