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.
- package/dist/{index-B1KO9p6W.js → LiveAudienceList-BbN54Uct.js} +91 -90
- package/dist/{PopoverPortal-Boz6txZy.js → PopoverPortal-Bq_cs5hI.js} +5 -5
- package/dist/{PopoverTrigger-CFFNDZLC.js → PopoverTrigger-CuwomwH5.js} +10 -10
- package/dist/{PopperContent-B-k_-BkW.js → PopperContent-CLNI9Obt.js} +7 -7
- package/dist/{Teleport-7kDHKhp8.js → Teleport-Bp4EUnV3.js} +14 -14
- package/dist/baseComp/Modal/Modal.js +17 -13
- package/dist/chat-store/composables/useContactStore.js +1 -1
- package/dist/chat-store/composables/useConversationGroupStore.js +1 -1
- package/dist/chat-store/composables/useConversationListStore.js +1 -1
- package/dist/chat-store/composables/useGroupMemberStore.js +1 -1
- package/dist/chat-store/composables/useGroupStore.js +1 -1
- package/dist/chat-store/composables/useLoginStore.js +1 -1
- package/dist/chat-store/composables/useMessageActionStore.js +1 -1
- package/dist/chat-store/composables/useMessageInputStore.js +1 -1
- package/dist/chat-store/composables/useMessageListStore.js +1 -1
- package/dist/chat-store/composables/useSearchStore.js +1 -1
- package/dist/chat-store/context/useChatContext.js +1 -1
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +2 -2
- package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
- package/dist/components/BarrageInput/TextEditor/EditorCore.js +4 -4
- package/dist/components/ChatSetting/C2CChatSetting/C2CChatSetting.js +1 -1
- package/dist/components/ChatSetting/ChatSetting.js +6 -6
- package/dist/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.js +1 -1
- package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.js +14 -14
- package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.js +1 -1
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.js +1 -1
- package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.js +1 -1
- package/dist/components/ChatSetting/GroupChatSetting/PersonalSettings/PersonalSettings.js +1 -1
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.js +1 -1
- package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.js +9 -9
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.js +8 -8
- package/dist/components/ContactList/ContactList.js +1 -1
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.js +1 -1
- package/dist/components/ConversationList/ConversationActions/ConversationActions.js +1 -1
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +5 -5
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/type.js +1 -1
- package/dist/components/ConversationList/ConversationList.js +1 -1
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +1 -1
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +14 -14
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +4 -4
- package/dist/components/ConversationList/ConversationPreview/utils.js +1 -1
- package/dist/components/ConversationList/ConversationSearch/ConversationSearch.js +10 -10
- package/dist/components/ConversationList/hooks/useConversationCreate.js +3 -3
- package/dist/components/ConversationList/index.js +7 -7
- package/dist/components/LiveAudienceList/LiveAudienceList.js +1 -1
- package/dist/components/LiveAudienceList/LiveAudienceListH5.js +1 -1
- package/dist/components/LiveAudienceList/index.js +1 -1
- package/dist/components/MessageInput/AttachmentPicker/index.js +2 -2
- package/dist/components/MessageInput/AudioCallPicker/AudioCallPicker.js +4 -4
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +2 -2
- package/dist/components/MessageInput/QuickConferencePicker/QuickConferencePicker.js +6 -6
- package/dist/components/MessageInput/QuotedMessagePreview/index.js +5 -5
- package/dist/components/MessageInput/TextEditor/EditorCore.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +22 -22
- package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +8 -8
- package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.js +16 -16
- package/dist/components/MessageInput/TextEditor/index.js +1 -1
- package/dist/components/MessageInput/VideoCallPicker/VideoCallPicker.js +4 -4
- package/dist/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.js +7 -7
- package/dist/components/MessageList/Message/GroupTipMessage/index.js +1 -1
- package/dist/components/MessageList/Message/GroupTipMessage/resolveGroupTipMessage.js +1 -1
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +3 -3
- package/dist/components/MessageList/Message/MessageLayout/MessageBubble/MessageBubble.js +4 -4
- package/dist/components/MessageList/Message/MessageLayout/MessageLayout.js +15 -15
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.js +4 -4
- package/dist/components/MessageList/Message/RecalledMessage/RecalledMessage.js +4 -4
- package/dist/components/MessageList/Message/TextMessage/TextMessage.js +6 -6
- package/dist/components/MessageList/MessageList.js +1 -1
- package/dist/components/RoomParticipantList/useParticpantAction/index.js +3 -3
- package/dist/components/Search/Search.js +1 -1
- package/dist/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.js +1 -1
- package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.js +4 -4
- package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.js +5 -5
- package/dist/components/Search/SearchResults/SearchResultsItem/User/User.js +1 -1
- package/dist/hooks/useMessageActions.js +4 -4
- package/dist/hooks/useOfflinePushInfo/utils.js +1 -1
- package/dist/{index-DR3K_qw_.js → index-BqLIloNy.js} +232 -232
- package/dist/{index-B_4JqmDM.js → index-CQ-T7Ht7.js} +3 -3
- package/dist/{index-Bx7tbGhD.js → index-Cm55_dLz.js} +1 -1
- package/dist/{index-Du3phCj7.js → index-CqKRFJMe.js} +28 -28
- package/dist/{index-BejtWwxH.js → index-DL9jivIN.js} +58 -58
- package/dist/index.js +2 -2
- package/dist/states/LiveMonitorState/api/http.js +545 -495
- package/dist/states/LoginState.js +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/subEntry/chat/chat.js +13 -13
- package/dist/subEntry/chat/index.js +1 -1
- package/dist/subEntry/live/index.js +10 -10
- package/dist/subEntry/live/live.js +1 -1
- package/dist/subEntry/room/index.js +19 -19
- package/dist/types/chatSetting.js +1 -1
- package/dist/types/groupSetting.js +1 -1
- package/dist/types/index.js +14 -14
- package/dist/{useId-Ck7Lv4Fv.js → useId-BhUMXcvI.js} +1 -1
- package/dist/utils/call.js +1 -1
- package/dist/{utils-Dq1MrcNM.js → utils-BiFcAFDZ.js} +3 -3
- package/package.json +1 -1
|
@@ -1,32 +1,96 @@
|
|
|
1
|
-
import { defineComponent as z, ref as l, computed as E,
|
|
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 {
|
|
8
|
-
import {
|
|
9
|
-
import { addI18n as
|
|
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"],
|
|
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
|
-
},
|
|
80
|
+
}, pe = {
|
|
17
81
|
key: 1,
|
|
18
82
|
class: "viewer-bottom-line"
|
|
19
|
-
},
|
|
83
|
+
}, fe = {
|
|
20
84
|
key: 2,
|
|
21
85
|
class: "empty-state"
|
|
22
|
-
},
|
|
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 } =
|
|
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
|
-
},
|
|
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
|
|
61
|
-
i.value && i.value.addEventListener("scroll",
|
|
124
|
+
return P(() => {
|
|
125
|
+
i.value && i.value.addEventListener("scroll", $);
|
|
62
126
|
}), Q(() => {
|
|
63
|
-
i.value && i.value.removeEventListener("scroll",
|
|
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(
|
|
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: (
|
|
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:
|
|
146
|
+
index: G,
|
|
83
147
|
audience: p
|
|
84
|
-
}, void 0, !0) : (t(), s(
|
|
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",
|
|
91
|
-
c("span",
|
|
154
|
+
c("div", de, [
|
|
155
|
+
c("span", ve, f(p.userName || p.userId), 1)
|
|
92
156
|
])
|
|
93
157
|
], 64))
|
|
94
|
-
], 8,
|
|
95
|
-
u.value ? (t(), s("div",
|
|
96
|
-
e(M) >= e(
|
|
97
|
-
e(I).length === 0 && !u.value ? (t(), s("div",
|
|
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
|
-
}),
|
|
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
|
-
|
|
180
|
-
|
|
181
|
-
|
|
180
|
+
q as M,
|
|
181
|
+
ce as a,
|
|
182
|
+
_e as b
|
|
182
183
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { u as T } from "./useId-
|
|
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
|
-
|
|
574
|
+
se as P,
|
|
575
575
|
le as a,
|
|
576
|
-
|
|
576
|
+
ie as b,
|
|
577
577
|
B as i
|
|
578
578
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as d } from "./useId-
|
|
3
|
-
import { P as u } from "./PopperContent-
|
|
4
|
-
import { i as c } from "./PopoverPortal-
|
|
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
|
|
6
|
-
var
|
|
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:
|
|
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 =
|
|
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(() => [
|
|
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 =
|
|
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 {
|
|
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
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
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
|
-
|
|
877
|
+
ye as P,
|
|
878
878
|
ft as S,
|
|
879
879
|
$t as T,
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
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
|
-
|
|
887
|
+
D as h,
|
|
888
888
|
tt as i,
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
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
|
-
|
|
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
|
|
2
|
-
import {
|
|
3
|
-
import { u as w } from "../../useId-
|
|
4
|
-
import { g as
|
|
5
|
-
import { _ as
|
|
6
|
-
const [O,
|
|
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
|
|
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(
|
|
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] =
|
|
340
|
-
}, [
|
|
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"])) :
|
|
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(
|
|
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__ */
|
|
458
|
+
}), ye = /* @__PURE__ */ H(fe, [["__scopeId", "data-v-bef96a30"]]);
|
|
455
459
|
export {
|
|
456
460
|
ye as default
|
|
457
461
|
};
|
|
@@ -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-
|
|
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 {
|
|
4
|
-
import { P as z } from "../../../PopoverTrigger-
|
|
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,10 +1,10 @@
|
|
|
1
|
-
import { I as u } from "../../../index-
|
|
2
|
-
import { S as g, P as x } from "../../../index-
|
|
3
|
-
import { E as p } from "../../../index-
|
|
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 {
|
|
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-
|
|
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
|
|
2
|
-
import {
|
|
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 },
|
|
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
|
-
|
|
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,
|
|
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(
|
|
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-
|
|
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";
|