tuikit-atomicx-vue3 4.4.0-beta.1 → 4.4.0
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/{MessageInput.vue_vue_type_script_setup_true_lang-D1G-LitO.js → MessageInput.vue_vue_type_script_setup_true_lang-D9jiYNFu.js} +31 -31
- package/dist/chat/index.d.ts +35 -35
- package/dist/chat/server.js +15 -15
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.js +6 -6
- package/dist/components/ContactList/ContactInfo/ContactInfo.js +1 -1
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.js +1 -1
- package/dist/components/ContactList/ContactInfo/FriendInfo/FriendInfo.js +9 -9
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.js +1 -1
- package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.js +4 -4
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.js +8 -8
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.js +7 -7
- package/dist/components/ContactList/ContactList.js +7 -7
- package/dist/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.js +8 -8
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.js +5 -5
- package/dist/components/ContactList/ContactListItem/FriendItem/FriendItem.js +5 -5
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.js +1 -1
- package/dist/components/ContactList/ContactListItem/GroupItem/GroupItem.js +1 -1
- package/dist/components/ContactList/ContactSearch/ContactSearch.js +6 -6
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +9 -9
- package/dist/components/ConversationList/ConversationList.js +4 -4
- package/dist/components/ConversationList/ConversationList.vue.d.ts +10 -10
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +10 -10
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +20 -20
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +2 -2
- package/dist/components/ConversationList/ConversationPreview/index.js +1 -1
- package/dist/components/ConversationList/index.d.ts +30 -30
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +88 -84
- package/dist/components/MessageInput/MessageInput.js +1 -1
- package/dist/components/MessageInput/MessageInput.vue.d.ts +2 -2
- package/dist/components/MessageInput/TextEditor/EditorCore.d.ts +2 -1
- package/dist/components/MessageInput/TextEditor/EditorCore.js +23 -21
- package/dist/components/MessageInput/TextEditor/TextEditor.vue.d.ts +2 -2
- package/dist/components/MessageInput/TextEditor/index.js +32 -31
- package/dist/components/MessageInput/index.d.ts +6 -6
- package/dist/components/MessageInput/index.js +1 -1
- package/dist/components/MessageList/Message/AudioMessage/WaveForm.js +24 -34
- package/dist/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.js +29 -28
- package/dist/components/MessageList/Message/Message.vue.d.ts +1 -1
- package/dist/components/MessageList/MessageList.js +8 -6
- package/dist/components/MessageList/index.d.ts +2 -2
- package/dist/hooks/useAudioControl.d.ts +3 -3
- package/dist/hooks/useAudioControl.js +32 -30
- package/dist/rtc/server.js +45 -40
- package/dist/states/LoginState.d.ts +23 -0
- package/dist/states/LoginState.js +34 -39
- package/dist/states/MessageInputState/MessageInputState.d.ts +41 -7
- package/dist/states/MessageInputState/MessageInputState.js +60 -59
- package/dist/states/MessageInputState/utils.d.ts +8 -1
- package/dist/states/MessageInputState/utils.js +30 -10
- package/dist/styles/index.css +1 -1
- package/dist/utils/call.js +1 -1
- package/package.json +2 -2
- package/src/chat/server.ts +0 -1
- package/src/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/ContactInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/FriendInfo/FriendInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/GroupInfo/GroupInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.vue +1 -1
- package/src/components/ContactList/ContactList.vue +1 -1
- package/src/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.vue +1 -1
- package/src/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.vue +1 -1
- package/src/components/ContactList/ContactListItem/FriendItem/FriendItem.vue +1 -1
- package/src/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.vue +1 -1
- package/src/components/ContactList/ContactListItem/GroupItem/GroupItem.vue +1 -1
- package/src/components/ContactList/ContactSearch/ContactSearch.vue +1 -1
- package/src/components/ConversationList/ConversationActions/ConversationActions.vue +1 -1
- package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +2 -2
- package/src/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.vue +1 -1
- package/src/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.vue +1 -1
- package/src/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.vue +1 -1
- package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.vue +1 -1
- package/src/components/ConversationList/ConversationList.vue +2 -2
- package/src/components/ConversationList/ConversationListContent/ConversationListContent.vue +1 -1
- package/src/components/ConversationList/ConversationListHeader/ConversationListHeader.vue +1 -1
- package/src/components/ConversationList/ConversationPlaceHolder/ConversationPlaceHolder.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreview.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue +3 -3
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewUnread.vue +1 -1
- package/src/components/ConversationList/ConversationSearch/ConversationSearch.vue +1 -1
- package/src/components/MessageInput/EmojiPicker/EmojiPicker.vue +7 -3
- package/src/components/MessageInput/MessageInput.module.scss +1 -0
- package/src/components/MessageInput/MessageInput.vue +1 -1
- package/src/components/MessageInput/TextEditor/EditorCore.ts +4 -2
- package/src/components/MessageInput/TextEditor/TextEditor.vue +3 -4
- package/src/components/MessageList/Message/AudioMessage/WaveForm.vue +20 -37
- package/src/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.vue +1 -1
- package/src/components/MessageList/Message/Message.vue +1 -1
- package/src/components/MessageList/MessageList.vue +2 -0
- package/src/components/Search/Search.vue +1 -1
- package/src/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.vue +1 -1
- package/src/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.vue +1 -1
- package/src/components/Search/SearchAdvanced/SearchAdvanced.vue +1 -1
- package/src/components/Search/SearchAdvanced/SearchTab/SearchTab.vue +1 -1
- package/src/components/Search/SearchAdvanced/Slider/Slider.vue +1 -1
- package/src/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.vue +1 -1
- package/src/components/Search/SearchBar/SearchBar.vue +1 -1
- package/src/components/Search/SearchResults/EmptyResult/EmptyResult.vue +1 -1
- package/src/components/Search/SearchResults/Loading/Loading.vue +1 -1
- package/src/components/Search/SearchResults/SearchResults.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/Group/Group.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/Message/Message.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/User/User.vue +1 -1
- package/src/hooks/useAudioControl.ts +17 -4
- package/src/rtc/server.ts +4 -0
- package/src/utils/call.ts +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as E, computed as F, createElementBlock as f, openBlock as l, normalizeClass as s, unref as t, renderSlot as i, createElementVNode as m, Fragment as V, renderList as A, createBlock as d, resolveDynamicComponent as M, mergeProps as T, createVNode as w, withCtx as g, createCommentVNode as j } from "vue";
|
|
2
2
|
import { AttachmentPicker as k } from "./components/MessageInput/AttachmentPicker/index.js";
|
|
3
3
|
import N from "./components/MessageInput/AttachmentPicker/FilePicker.js";
|
|
4
4
|
import L from "./components/MessageInput/AttachmentPicker/ImagePicker.js";
|
|
@@ -11,20 +11,20 @@ import { TextEditor as Q } from "./components/MessageInput/TextEditor/index.js";
|
|
|
11
11
|
import R from "./components/MessageInput/VideoCallPicker/VideoCallPicker.js";
|
|
12
12
|
import { useMessageInputState as U } from "./states/MessageInputState/MessageInputState.js";
|
|
13
13
|
const a = {
|
|
14
|
-
"message-input": "_message-
|
|
15
|
-
"message-input__toolbar": "_message-
|
|
16
|
-
"message-input__wrapper": "_message-
|
|
17
|
-
"message-input__leftInline": "_message-
|
|
18
|
-
"message-input__rightInline": "_message-
|
|
19
|
-
"message-input__actions": "_message-
|
|
20
|
-
"message-input__footerToolbar": "_message-
|
|
21
|
-
}, se = /* @__PURE__ */
|
|
14
|
+
"message-input": "_message-input_m79i1_1",
|
|
15
|
+
"message-input__toolbar": "_message-input__toolbar_m79i1_11",
|
|
16
|
+
"message-input__wrapper": "_message-input__wrapper_m79i1_19",
|
|
17
|
+
"message-input__leftInline": "_message-input__leftInline_m79i1_24",
|
|
18
|
+
"message-input__rightInline": "_message-input__rightInline_m79i1_24",
|
|
19
|
+
"message-input__actions": "_message-input__actions_m79i1_28",
|
|
20
|
+
"message-input__footerToolbar": "_message-input__footerToolbar_m79i1_34"
|
|
21
|
+
}, se = /* @__PURE__ */ E({
|
|
22
22
|
__name: "MessageInput",
|
|
23
23
|
props: {
|
|
24
24
|
autoFocus: { type: Boolean, default: !0 },
|
|
25
25
|
disabled: { type: Boolean, default: !1 },
|
|
26
26
|
hideSendButton: { type: Boolean, default: !1 },
|
|
27
|
-
placeholder: { default:
|
|
27
|
+
placeholder: { default: void 0 },
|
|
28
28
|
attachmentPickerMode: { default: "collapsed" },
|
|
29
29
|
actions: { default: () => ["EmojiPicker", "ImagePicker", "FilePicker", "VideoPicker"] },
|
|
30
30
|
slots: {}
|
|
@@ -38,44 +38,44 @@ const a = {
|
|
|
38
38
|
{ key: "VideoPicker", component: O },
|
|
39
39
|
{ key: "AudioCallPicker", component: x },
|
|
40
40
|
{ key: "VideoCallPicker", component: R }
|
|
41
|
-
], c = n, { inputRawValue: P, setContent: b, sendMessage: C } = U(), h = (e,
|
|
42
|
-
|
|
41
|
+
], c = n, { inputRawValue: P, setContent: b, sendMessage: C } = U(), h = (e, r) => Object.fromEntries(
|
|
42
|
+
r.map((o) => [o, e[o]]).filter(([, o]) => o !== void 0)
|
|
43
43
|
), y = (e) => {
|
|
44
|
-
const { component:
|
|
45
|
-
return { Component:
|
|
44
|
+
const { component: r = () => null } = u.find(({ key: o }) => o === e) ?? {};
|
|
45
|
+
return { Component: r, props: { disabled: c.disabled } };
|
|
46
46
|
}, I = (e) => {
|
|
47
47
|
var _;
|
|
48
|
-
const { key:
|
|
48
|
+
const { key: r, component: o, ...p } = e, S = ((_ = u.find(({ key: B }) => B === r)) == null ? void 0 : _.component) ?? (() => null);
|
|
49
49
|
return {
|
|
50
|
-
Component:
|
|
50
|
+
Component: o ?? S,
|
|
51
51
|
props: h(p, ["label", "className", "style", "iconSize"])
|
|
52
52
|
};
|
|
53
|
-
}, v =
|
|
53
|
+
}, v = F(
|
|
54
54
|
() => c.actions.map((e) => typeof e == "string" ? y(e) : I(e)).filter(({ Component: e }) => e !== null)
|
|
55
|
-
),
|
|
55
|
+
), $ = () => {
|
|
56
56
|
P.value && (C(), b(""));
|
|
57
57
|
};
|
|
58
|
-
return (e,
|
|
59
|
-
class: s([
|
|
58
|
+
return (e, r) => (l(), f("div", {
|
|
59
|
+
class: s([t(a)["message-input"]])
|
|
60
60
|
}, [
|
|
61
61
|
i(e.$slots, "headerToolbar", {}, () => [
|
|
62
62
|
m("div", {
|
|
63
|
-
class: s(
|
|
63
|
+
class: s(t(a)["message-input__toolbar"])
|
|
64
64
|
}, [
|
|
65
|
-
(
|
|
65
|
+
(l(!0), f(V, null, A(v.value, (o, p) => (l(), d(M(o.Component), T({ key: p }, { ref_for: !0 }, { ...o.props, ...o.Component === t(k) ? { attachmentPickerMode: n.attachmentPickerMode } : {} }), null, 16))), 128))
|
|
66
66
|
], 2)
|
|
67
67
|
]),
|
|
68
68
|
m("div", {
|
|
69
|
-
class: s(
|
|
69
|
+
class: s(t(a)["message-input__wrapper"])
|
|
70
70
|
}, [
|
|
71
|
-
|
|
71
|
+
w(t(D)),
|
|
72
72
|
m("div", {
|
|
73
|
-
class: s(
|
|
73
|
+
class: s(t(a)["message-input__leftInline"])
|
|
74
74
|
}, [
|
|
75
75
|
i(e.$slots, "leftInline")
|
|
76
76
|
], 2),
|
|
77
77
|
i(e.$slots, "textEditor", {}, () => [
|
|
78
|
-
(
|
|
78
|
+
(l(), d(t(Q), {
|
|
79
79
|
key: n.disabled ? "disabled-editor" : "enabled-editor",
|
|
80
80
|
autoFocus: n.autoFocus,
|
|
81
81
|
disabled: n.disabled,
|
|
@@ -91,20 +91,20 @@ const a = {
|
|
|
91
91
|
}, 8, ["autoFocus", "disabled", "placeholder"]))
|
|
92
92
|
]),
|
|
93
93
|
m("div", {
|
|
94
|
-
class: s(
|
|
94
|
+
class: s(t(a)["message-input__rightInline"])
|
|
95
95
|
}, [
|
|
96
96
|
i(e.$slots, "rightInline")
|
|
97
97
|
], 2)
|
|
98
98
|
], 2),
|
|
99
99
|
i(e.$slots, "footerToolbar", {}, () => [
|
|
100
100
|
m("div", {
|
|
101
|
-
class: s(
|
|
101
|
+
class: s(t(a)["message-input__footerToolbar"])
|
|
102
102
|
}, [
|
|
103
|
-
n.hideSendButton ? j("", !0) : (
|
|
103
|
+
n.hideSendButton ? j("", !0) : (l(), d(t(K), {
|
|
104
104
|
key: 0,
|
|
105
|
-
class: s(
|
|
105
|
+
class: s(t(a)["message-input__send-button"]),
|
|
106
106
|
disabled: c.disabled,
|
|
107
|
-
onClick:
|
|
107
|
+
onClick: $
|
|
108
108
|
}, null, 8, ["class", "disabled"]))
|
|
109
109
|
], 2)
|
|
110
110
|
])
|
package/dist/chat/index.d.ts
CHANGED
|
@@ -1777,9 +1777,9 @@ declare const ConversationList: import('vue').DefineComponent<import('vue').Extr
|
|
|
1777
1777
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
1778
1778
|
};
|
|
1779
1779
|
}>> & Readonly<{
|
|
1780
|
-
|
|
1780
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
1781
1781
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1782
|
-
|
|
1782
|
+
selectConversation: (conversation: import('..').ConversationModel) => void;
|
|
1783
1783
|
}, import('vue').PublicProps, {
|
|
1784
1784
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
1785
1785
|
isSelected: boolean;
|
|
@@ -2112,7 +2112,7 @@ declare const ConversationList: import('vue').DefineComponent<import('vue').Extr
|
|
|
2112
2112
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
2113
2113
|
};
|
|
2114
2114
|
}>> & Readonly<{
|
|
2115
|
-
|
|
2115
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
2116
2116
|
}>, {}, {}, {}, {}, {
|
|
2117
2117
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
2118
2118
|
isSelected: boolean;
|
|
@@ -2442,9 +2442,9 @@ declare const ConversationList: import('vue').DefineComponent<import('vue').Extr
|
|
|
2442
2442
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
2443
2443
|
};
|
|
2444
2444
|
}>> & Readonly<{
|
|
2445
|
-
|
|
2445
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
2446
2446
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2447
|
-
|
|
2447
|
+
selectConversation: (conversation: import('..').ConversationModel) => void;
|
|
2448
2448
|
}, string, {
|
|
2449
2449
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
2450
2450
|
isSelected: boolean;
|
|
@@ -5452,9 +5452,9 @@ declare const ConversationList: import('vue').DefineComponent<import('vue').Extr
|
|
|
5452
5452
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
5453
5453
|
};
|
|
5454
5454
|
}>> & Readonly<{
|
|
5455
|
-
|
|
5455
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
5456
5456
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5457
|
-
|
|
5457
|
+
selectConversation: (conversation: import('..').ConversationModel) => void;
|
|
5458
5458
|
}, import('vue').PublicProps, {
|
|
5459
5459
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
5460
5460
|
isSelected: boolean;
|
|
@@ -5787,7 +5787,7 @@ declare const ConversationList: import('vue').DefineComponent<import('vue').Extr
|
|
|
5787
5787
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
5788
5788
|
};
|
|
5789
5789
|
}>> & Readonly<{
|
|
5790
|
-
|
|
5790
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
5791
5791
|
}>, {}, {}, {}, {}, {
|
|
5792
5792
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
5793
5793
|
isSelected: boolean;
|
|
@@ -6117,9 +6117,9 @@ declare const ConversationList: import('vue').DefineComponent<import('vue').Extr
|
|
|
6117
6117
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
6118
6118
|
};
|
|
6119
6119
|
}>> & Readonly<{
|
|
6120
|
-
|
|
6120
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
6121
6121
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6122
|
-
|
|
6122
|
+
selectConversation: (conversation: import('..').ConversationModel) => void;
|
|
6123
6123
|
}, string, {
|
|
6124
6124
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
6125
6125
|
isSelected: boolean;
|
|
@@ -9525,9 +9525,9 @@ declare const ConversationPreview: {
|
|
|
9525
9525
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
9526
9526
|
};
|
|
9527
9527
|
}>> & Readonly<{
|
|
9528
|
-
|
|
9528
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
9529
9529
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9530
|
-
|
|
9530
|
+
selectConversation: (conversation: import('..').ConversationModel) => void;
|
|
9531
9531
|
}, import('vue').PublicProps, {
|
|
9532
9532
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
9533
9533
|
isSelected: boolean;
|
|
@@ -9860,7 +9860,7 @@ declare const ConversationPreview: {
|
|
|
9860
9860
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
9861
9861
|
};
|
|
9862
9862
|
}>> & Readonly<{
|
|
9863
|
-
|
|
9863
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
9864
9864
|
}>, {}, {}, {}, {}, {
|
|
9865
9865
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
9866
9866
|
isSelected: boolean;
|
|
@@ -10190,9 +10190,9 @@ declare const ConversationPreview: {
|
|
|
10190
10190
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
10191
10191
|
};
|
|
10192
10192
|
}>> & Readonly<{
|
|
10193
|
-
|
|
10193
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
10194
10194
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10195
|
-
|
|
10195
|
+
selectConversation: (conversation: import('..').ConversationModel) => void;
|
|
10196
10196
|
}, string, {
|
|
10197
10197
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
10198
10198
|
isSelected: boolean;
|
|
@@ -10815,9 +10815,9 @@ declare const ConversationPreview: {
|
|
|
10815
10815
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
10816
10816
|
};
|
|
10817
10817
|
}>> & Readonly<{
|
|
10818
|
-
|
|
10818
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
10819
10819
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10820
|
-
|
|
10820
|
+
selectConversation: (conversation: import('..').ConversationModel) => void;
|
|
10821
10821
|
}, import('vue').PublicProps, {
|
|
10822
10822
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
10823
10823
|
isSelected: boolean;
|
|
@@ -11150,7 +11150,7 @@ declare const ConversationPreview: {
|
|
|
11150
11150
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
11151
11151
|
};
|
|
11152
11152
|
}>> & Readonly<{
|
|
11153
|
-
|
|
11153
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
11154
11154
|
}>, {}, {}, {}, {}, {
|
|
11155
11155
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
11156
11156
|
isSelected: boolean;
|
|
@@ -11480,9 +11480,9 @@ declare const ConversationPreview: {
|
|
|
11480
11480
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
11481
11481
|
};
|
|
11482
11482
|
}>> & Readonly<{
|
|
11483
|
-
|
|
11483
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
11484
11484
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11485
|
-
|
|
11485
|
+
selectConversation: (conversation: import('..').ConversationModel) => void;
|
|
11486
11486
|
}, string, {
|
|
11487
11487
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
11488
11488
|
isSelected: boolean;
|
|
@@ -12100,9 +12100,9 @@ declare const ConversationPreview: {
|
|
|
12100
12100
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
12101
12101
|
};
|
|
12102
12102
|
}>> & Readonly<{
|
|
12103
|
-
|
|
12103
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
12104
12104
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12105
|
-
|
|
12105
|
+
selectConversation: (conversation: import('..').ConversationModel) => void;
|
|
12106
12106
|
}, import('vue').PublicProps, {
|
|
12107
12107
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
12108
12108
|
isSelected: boolean;
|
|
@@ -12435,7 +12435,7 @@ declare const ConversationPreview: {
|
|
|
12435
12435
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
12436
12436
|
};
|
|
12437
12437
|
}>> & Readonly<{
|
|
12438
|
-
|
|
12438
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
12439
12439
|
}>, {}, {}, {}, {}, {
|
|
12440
12440
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
12441
12441
|
isSelected: boolean;
|
|
@@ -12765,9 +12765,9 @@ declare const ConversationPreview: {
|
|
|
12765
12765
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
12766
12766
|
};
|
|
12767
12767
|
}>> & Readonly<{
|
|
12768
|
-
|
|
12768
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
12769
12769
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12770
|
-
|
|
12770
|
+
selectConversation: (conversation: import('..').ConversationModel) => void;
|
|
12771
12771
|
}, string, {
|
|
12772
12772
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
12773
12773
|
isSelected: boolean;
|
|
@@ -13268,9 +13268,9 @@ declare const ConversationPreviewUI: {
|
|
|
13268
13268
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
13269
13269
|
};
|
|
13270
13270
|
}>> & Readonly<{
|
|
13271
|
-
|
|
13271
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
13272
13272
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13273
|
-
|
|
13273
|
+
selectConversation: (conversation: import('..').ConversationModel) => void;
|
|
13274
13274
|
}, import('vue').PublicProps, {
|
|
13275
13275
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
13276
13276
|
isSelected: boolean;
|
|
@@ -13603,7 +13603,7 @@ declare const ConversationPreviewUI: {
|
|
|
13603
13603
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
13604
13604
|
};
|
|
13605
13605
|
}>> & Readonly<{
|
|
13606
|
-
|
|
13606
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
13607
13607
|
}>, {}, {}, {}, {}, {
|
|
13608
13608
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
13609
13609
|
isSelected: boolean;
|
|
@@ -13933,9 +13933,9 @@ declare const ConversationPreviewUI: {
|
|
|
13933
13933
|
type: import('vue').PropType<import('..').ConversationActionsConfig>;
|
|
13934
13934
|
};
|
|
13935
13935
|
}>> & Readonly<{
|
|
13936
|
-
|
|
13936
|
+
onSelectConversation?: ((conversation: import('..').ConversationModel) => any) | undefined;
|
|
13937
13937
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13938
|
-
|
|
13938
|
+
selectConversation: (conversation: import('..').ConversationModel) => void;
|
|
13939
13939
|
}, string, {
|
|
13940
13940
|
Avatar: import('vue').Component<import('..').AvatarProps>;
|
|
13941
13941
|
isSelected: boolean;
|
|
@@ -16549,7 +16549,7 @@ declare const MessageList: import('vue').DefineComponent<import('vue').ExtractPr
|
|
|
16549
16549
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16550
16550
|
declare const Message: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
16551
16551
|
message: {
|
|
16552
|
-
type: import('vue').PropType<import('
|
|
16552
|
+
type: import('vue').PropType<import('..').MessageModel>;
|
|
16553
16553
|
required: true;
|
|
16554
16554
|
};
|
|
16555
16555
|
isLastInChunk: {
|
|
@@ -16582,7 +16582,7 @@ declare const Message: import('vue').DefineComponent<import('vue').ExtractPropTy
|
|
|
16582
16582
|
};
|
|
16583
16583
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16584
16584
|
message: {
|
|
16585
|
-
type: import('vue').PropType<import('
|
|
16585
|
+
type: import('vue').PropType<import('..').MessageModel>;
|
|
16586
16586
|
required: true;
|
|
16587
16587
|
};
|
|
16588
16588
|
isLastInChunk: {
|
|
@@ -16629,7 +16629,7 @@ declare const MessageInput: {
|
|
|
16629
16629
|
};
|
|
16630
16630
|
placeholder: {
|
|
16631
16631
|
type: import('vue').PropType<string>;
|
|
16632
|
-
default:
|
|
16632
|
+
default: undefined;
|
|
16633
16633
|
};
|
|
16634
16634
|
disabled: {
|
|
16635
16635
|
type: import('vue').PropType<boolean>;
|
|
@@ -16671,7 +16671,7 @@ declare const MessageInput: {
|
|
|
16671
16671
|
};
|
|
16672
16672
|
placeholder: {
|
|
16673
16673
|
type: import('vue').PropType<string>;
|
|
16674
|
-
default:
|
|
16674
|
+
default: undefined;
|
|
16675
16675
|
};
|
|
16676
16676
|
disabled: {
|
|
16677
16677
|
type: import('vue').PropType<boolean>;
|
|
@@ -16710,7 +16710,7 @@ declare const MessageInput: {
|
|
|
16710
16710
|
};
|
|
16711
16711
|
placeholder: {
|
|
16712
16712
|
type: import('vue').PropType<string>;
|
|
16713
|
-
default:
|
|
16713
|
+
default: undefined;
|
|
16714
16714
|
};
|
|
16715
16715
|
disabled: {
|
|
16716
16716
|
type: import('vue').PropType<boolean>;
|
package/dist/chat/server.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var L = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var s = (o, t, i) =>
|
|
4
|
-
import { ref as
|
|
5
|
-
import
|
|
2
|
+
var u = (o, t, i) => t in o ? L(o, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[t] = i;
|
|
3
|
+
var s = (o, t, i) => u(o, typeof t != "symbol" ? t + "" : t, i);
|
|
4
|
+
import { ref as I } from "vue";
|
|
5
|
+
import U from "@tencentcloud/chat-uikit-engine";
|
|
6
6
|
import T, { TUIConstants as g, TUILogin as S } from "@tencentcloud/tui-core";
|
|
7
7
|
import { useLoginState as m } from "../states/LoginState.js";
|
|
8
|
-
import { ChatSceneType as
|
|
8
|
+
import { ChatSceneType as l } from "../statistical/const.js";
|
|
9
9
|
import { useStatistical as C } from "../statistical/statistical.js";
|
|
10
10
|
import { isPC as p } from "../utils/env.js";
|
|
11
11
|
const { setChatScene: N } = C(), e = class e {
|
|
12
12
|
constructor() {
|
|
13
13
|
s(this, "isReady", !1);
|
|
14
14
|
s(this, "isEngineLoggingIn", !1);
|
|
15
|
-
s(this, "isLogin",
|
|
15
|
+
s(this, "isLogin", I(!1));
|
|
16
16
|
s(this, "resolveList", []);
|
|
17
17
|
s(this, "rejectList", []);
|
|
18
18
|
this.init();
|
|
@@ -21,7 +21,7 @@ const { setChatScene: N } = C(), e = class e {
|
|
|
21
21
|
return e.instance || (e.instance = new e()), e.instance;
|
|
22
22
|
}
|
|
23
23
|
init() {
|
|
24
|
-
N(p ?
|
|
24
|
+
N(p ? l.CHAT_WEB : l.CHAT_H5), this.isReady || (this.isReady = !0, T.registerEvent(
|
|
25
25
|
g.TUILogin.EVENT.LOGIN_STATE_CHANGED,
|
|
26
26
|
g.TUILogin.EVENT_SUB_KEY.USER_LOGIN_SUCCESS,
|
|
27
27
|
this
|
|
@@ -46,7 +46,7 @@ const { setChatScene: N } = C(), e = class e {
|
|
|
46
46
|
chat: t,
|
|
47
47
|
SDKAppID: i,
|
|
48
48
|
userID: c,
|
|
49
|
-
userSig:
|
|
49
|
+
userSig: f
|
|
50
50
|
} = S.getContext();
|
|
51
51
|
if (this.isEngineLoggingIn)
|
|
52
52
|
return new Promise((n, r) => {
|
|
@@ -54,14 +54,14 @@ const { setChatScene: N } = C(), e = class e {
|
|
|
54
54
|
});
|
|
55
55
|
try {
|
|
56
56
|
this.isEngineLoggingIn = !0;
|
|
57
|
-
const n = await
|
|
57
|
+
const n = await U.login({
|
|
58
58
|
chat: t,
|
|
59
59
|
SDKAppID: i,
|
|
60
60
|
userID: c,
|
|
61
|
-
userSig:
|
|
61
|
+
userSig: f
|
|
62
62
|
});
|
|
63
|
-
this.isLogin.value = !0, this.resolveList.forEach((
|
|
64
|
-
|
|
63
|
+
this.isLogin.value = !0, this.resolveList.forEach((h) => {
|
|
64
|
+
h();
|
|
65
65
|
}), this.rejectList = [], this.resolveList = [];
|
|
66
66
|
const { loginUserInfo: r } = m(), a = (await t.getUserProfile({ userIDList: [c] })).data[0];
|
|
67
67
|
return a.value || (r.value = {
|
|
@@ -79,11 +79,11 @@ const { setChatScene: N } = C(), e = class e {
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
logout() {
|
|
82
|
-
|
|
82
|
+
this.isLogin.value = !1, this.isEngineLoggingIn = !1;
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
s(e, "instance");
|
|
86
|
-
let
|
|
86
|
+
let E = e;
|
|
87
87
|
export {
|
|
88
|
-
|
|
88
|
+
E as default
|
|
89
89
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as I, computed as B, createElementBlock as
|
|
1
|
+
import { defineComponent as I, computed as B, createElementBlock as _, openBlock as k, createElementVNode as s, createCommentVNode as b, createVNode as p, toDisplayString as o, unref as a, withCtx as C, createTextVNode as y } from "vue";
|
|
2
2
|
import { useUIKit as x, TUIButton as F } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
3
|
import D from "../../../Avatar/Avatar.js";
|
|
4
4
|
import { useContactListState as N } from "../../../../states/ContactListState/ContactListState.js";
|
|
@@ -28,8 +28,8 @@ const U = { class: "contact-blacklist-info" }, g = { class: "contact-blacklist-i
|
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
return (t, c) => {
|
|
31
|
-
var m, f,
|
|
32
|
-
return k(),
|
|
31
|
+
var m, f, d;
|
|
32
|
+
return k(), _("div", U, [
|
|
33
33
|
s("div", g, [
|
|
34
34
|
s("div", w, [
|
|
35
35
|
s("div", V, o(r.value), 1),
|
|
@@ -37,12 +37,12 @@ const U = { class: "contact-blacklist-info" }, g = { class: "contact-blacklist-i
|
|
|
37
37
|
s("div", R, o(a(l)("TUIContact.Personal signature")) + ":" + o(((f = e.profile) == null ? void 0 : f.selfSignature) || ""), 1)
|
|
38
38
|
]),
|
|
39
39
|
p(a(D), {
|
|
40
|
-
src: (
|
|
40
|
+
src: (d = e.profile) == null ? void 0 : d.avatar,
|
|
41
41
|
alt: r.value,
|
|
42
42
|
size: "xl"
|
|
43
43
|
}, null, 8, ["src", "alt"])
|
|
44
44
|
]),
|
|
45
|
-
e.showActions ? (k(),
|
|
45
|
+
e.showActions ? (k(), _("div", S, [
|
|
46
46
|
p(a(F), {
|
|
47
47
|
type: "primary",
|
|
48
48
|
size: "big",
|
|
@@ -57,7 +57,7 @@ const U = { class: "contact-blacklist-info" }, g = { class: "contact-blacklist-i
|
|
|
57
57
|
]);
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
}), q = /* @__PURE__ */ T(z, [["__scopeId", "data-v-
|
|
60
|
+
}), q = /* @__PURE__ */ T(z, [["__scopeId", "data-v-52b7d9b8"]]);
|
|
61
61
|
export {
|
|
62
62
|
q as default
|
|
63
63
|
};
|
package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.js
CHANGED
|
@@ -68,7 +68,7 @@ const N = { class: "contact-friend-application-info" }, V = { class: "contact-fr
|
|
|
68
68
|
]);
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
-
}), P = /* @__PURE__ */ g(L, [["__scopeId", "data-v-
|
|
71
|
+
}), P = /* @__PURE__ */ g(L, [["__scopeId", "data-v-95a272a1"]]);
|
|
72
72
|
export {
|
|
73
73
|
P as default
|
|
74
74
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, ref as d, watch as
|
|
1
|
+
import { defineComponent as P, ref as d, watch as b, computed as B, createElementBlock as k, openBlock as C, createElementVNode as a, createCommentVNode as j, createVNode as l, toDisplayString as r, unref as e, Fragment as x, withKeys as q, withCtx as y, createTextVNode as D } from "vue";
|
|
2
2
|
import { useUIKit as G, TUIInput as H, TUIButton as T, IconEditNameCard as J, TUISwitch as O, TUIDialog as Q } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
3
|
import W from "../../../Avatar/Avatar.js";
|
|
4
4
|
import { useContactListState as X } from "../../../../states/ContactListState/ContactListState.js";
|
|
@@ -27,15 +27,15 @@ const ee = { class: "contact-friend-info" }, te = { class: "contact-friend-info_
|
|
|
27
27
|
setFriendRemark: A,
|
|
28
28
|
blackList: L
|
|
29
29
|
} = X(), { setActiveConversation: E } = Y(), v = d(!1), g = d(""), f = d(t.friend.remark || ""), s = d(t.friend.remark || ""), I = d(!1), p = d(!1), _ = d(!1);
|
|
30
|
-
|
|
30
|
+
b(() => t.friend.remark, (n) => {
|
|
31
31
|
f.value = n || "", s.value = n || "";
|
|
32
|
-
}),
|
|
32
|
+
}), b(() => t.friend.userID, () => {
|
|
33
33
|
t.friend.userID !== g.value && (v.value = !1), g.value = t.friend.userID;
|
|
34
34
|
});
|
|
35
35
|
const U = B(() => {
|
|
36
36
|
var n;
|
|
37
37
|
return f.value || ((n = t.friend) == null ? void 0 : n.nick) || t.friend.userID;
|
|
38
|
-
}),
|
|
38
|
+
}), w = B(() => L.value.some((n) => n.userID === t.friend.userID)), $ = () => {
|
|
39
39
|
s.value = f.value, v.value = !0;
|
|
40
40
|
}, h = async () => {
|
|
41
41
|
if (s.value.trim() === f.value) {
|
|
@@ -70,13 +70,13 @@ const ee = { class: "contact-friend-info" }, te = { class: "contact-friend-info_
|
|
|
70
70
|
c("sendMessage", t.friend), E(`C2C${t.friend.userID}`), c("close");
|
|
71
71
|
};
|
|
72
72
|
return (n, o) => {
|
|
73
|
-
var
|
|
73
|
+
var F;
|
|
74
74
|
return C(), k("div", ee, [
|
|
75
75
|
a("div", te, [
|
|
76
76
|
a("div", ne, [
|
|
77
77
|
a("div", ae, r(U.value), 1),
|
|
78
78
|
a("div", oe, r(e(i)("TUIContact.ID")) + ":" + r(m.friend.userID), 1),
|
|
79
|
-
a("div", ie, r(e(i)("TUIContact.Personal signature")) + ":" + r(((
|
|
79
|
+
a("div", ie, r(e(i)("TUIContact.Personal signature")) + ":" + r(((F = m.friend) == null ? void 0 : F.selfSignature) || ""), 1)
|
|
80
80
|
]),
|
|
81
81
|
l(e(W), {
|
|
82
82
|
src: m.friend.avatar,
|
|
@@ -122,8 +122,8 @@ const ee = { class: "contact-friend-info" }, te = { class: "contact-friend-info_
|
|
|
122
122
|
a("div", ue, r(e(i)("TUIContact.Add to blacklist")), 1),
|
|
123
123
|
a("div", me, [
|
|
124
124
|
l(e(O), {
|
|
125
|
-
modelValue:
|
|
126
|
-
"onUpdate:modelValue": o[1] || (o[1] = (u) =>
|
|
125
|
+
modelValue: w.value,
|
|
126
|
+
"onUpdate:modelValue": o[1] || (o[1] = (u) => w.value = u),
|
|
127
127
|
disabled: p.value,
|
|
128
128
|
onChange: z
|
|
129
129
|
}, null, 8, ["modelValue", "disabled"])
|
|
@@ -171,7 +171,7 @@ const ee = { class: "contact-friend-info" }, te = { class: "contact-friend-info_
|
|
|
171
171
|
]);
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
|
-
}), De = /* @__PURE__ */ Z(_e, [["__scopeId", "data-v-
|
|
174
|
+
}), De = /* @__PURE__ */ Z(_e, [["__scopeId", "data-v-e9d15324"]]);
|
|
175
175
|
export {
|
|
176
176
|
De as default
|
|
177
177
|
};
|
package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.js
CHANGED
|
@@ -67,7 +67,7 @@ const k = { class: "contact-group-application-info" }, B = { class: "contact-gro
|
|
|
67
67
|
])) : y("", !0)
|
|
68
68
|
]));
|
|
69
69
|
}
|
|
70
|
-
}), O = /* @__PURE__ */ x(S, [["__scopeId", "data-v-
|
|
70
|
+
}), O = /* @__PURE__ */ x(S, [["__scopeId", "data-v-611935a4"]]);
|
|
71
71
|
export {
|
|
72
72
|
O as default
|
|
73
73
|
};
|
|
@@ -19,8 +19,8 @@ const Q = { class: "contact-group-info" }, K = { class: "contact-group-info__hea
|
|
|
19
19
|
onClose: {}
|
|
20
20
|
},
|
|
21
21
|
emits: ["close", "enterGroup", "leaveGroup", "dismissGroup"],
|
|
22
|
-
setup(u, { emit:
|
|
23
|
-
const e = u, a =
|
|
22
|
+
setup(u, { emit: b }) {
|
|
23
|
+
const e = u, a = b, { t } = $(), { quitGroup: x, dismissGroup: k, hasPermission: I } = R(), { setActiveConversation: S } = V(), s = P(!1), _ = l(() => e.group.name || e.group.groupID), y = l(() => {
|
|
24
24
|
var i;
|
|
25
25
|
return ((i = e.group.selfInfo) == null ? void 0 : i.role) || z.COMMON;
|
|
26
26
|
}), U = l(() => e.group.type), d = l(
|
|
@@ -31,7 +31,7 @@ const Q = { class: "contact-group-info" }, K = { class: "contact-group-info__hea
|
|
|
31
31
|
S(`GROUP${e.group.groupID}`), a("enterGroup", e.group), a("close");
|
|
32
32
|
}, A = async () => {
|
|
33
33
|
try {
|
|
34
|
-
await
|
|
34
|
+
await x(e.group.groupID), a("leaveGroup", e.group);
|
|
35
35
|
} catch (i) {
|
|
36
36
|
console.error("[ContactInfo quitGroup] error", i);
|
|
37
37
|
}
|
|
@@ -114,7 +114,7 @@ const Q = { class: "contact-group-info" }, K = { class: "contact-group-info__hea
|
|
|
114
114
|
])) : f("", !0)
|
|
115
115
|
]));
|
|
116
116
|
}
|
|
117
|
-
}), io = /* @__PURE__ */ L(Y, [["__scopeId", "data-v-
|
|
117
|
+
}), io = /* @__PURE__ */ L(Y, [["__scopeId", "data-v-888b0942"]]);
|
|
118
118
|
export {
|
|
119
119
|
io as default
|
|
120
120
|
};
|