tuikit-atomicx-vue3 4.5.6 → 4.5.7
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-CO9Zl54Q.js → MessageInput.vue_vue_type_script_setup_true_lang-BA6xctn5.js} +29 -29
- package/dist/{PopoverPortal-DHrKmJf2.js → PopoverPortal-DajsCKjk.js} +3 -3
- package/dist/{PopoverTrigger-B5gYLErx.js → PopoverTrigger-BdLBIvcb.js} +4 -4
- package/dist/PopperContent-DhNCe1fl.js +1613 -0
- package/dist/{Teleport-CJUXTRaA.js → Teleport-DZWilVTV.js} +286 -282
- package/dist/baseComp/Modal/Modal.js +3 -3
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +2 -2
- package/dist/components/ChatSetting/C2CChatSetting/C2CChatSetting.js +99 -88
- package/dist/components/ChatSetting/ChatSetting.js +30 -18
- package/dist/components/ChatSetting/ChatSetting.vue.d.ts +5 -1
- package/dist/components/ChatSetting/Divider/Divider.js +21 -0
- package/dist/components/ChatSetting/Divider/Divider.vue.d.ts +32 -0
- package/dist/components/ChatSetting/Divider/index.d.ts +3 -0
- package/dist/components/ChatSetting/Divider/index.js +4 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.js +103 -91
- package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.js +241 -155
- package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.js +1 -1
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.js +36 -36
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagementEntry/GroupManagementEntry.js +33 -23
- package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.js +108 -102
- package/dist/components/ChatSetting/GroupChatSetting/PersonalSettings/PersonalSettings.js +30 -25
- package/dist/components/ChatSetting/SettingItem/SettingItem.js +150 -147
- package/dist/components/ChatSetting/SettingItem/SettingItem.vue.d.ts +2 -0
- package/dist/components/ChatSetting/i18n/en-US.d.ts +2 -0
- package/dist/components/ChatSetting/i18n/en-US.js +2 -0
- package/dist/components/ChatSetting/i18n/index.d.ts +4 -0
- package/dist/components/ChatSetting/i18n/zh-CN.d.ts +2 -0
- package/dist/components/ChatSetting/i18n/zh-CN.js +2 -0
- package/dist/components/ChatSetting/index.d.ts +5 -1
- package/dist/components/ConversationList/ConversationList.vue.d.ts +120 -120
- package/dist/components/ConversationList/ConversationSearch/ConversationSearch.vue.d.ts +54 -54
- package/dist/components/ConversationList/index.d.ts +180 -180
- package/dist/components/MessageInput/AttachmentPicker/index.js +2 -2
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +2 -2
- package/dist/components/MessageInput/MessageInput.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +3 -3
- package/dist/components/MessageInput/index.js +1 -1
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +479 -448
- package/dist/components/Search/Search.vue.d.ts +19 -19
- package/dist/components/Search/SearchResults/SearchResults.vue.d.ts +1 -1
- package/dist/components/Search/index.d.ts +36 -36
- package/dist/states/LiveMonitorState/api/http.js +705 -639
- package/dist/styles/index.css +1 -1
- package/dist/useId-BF_8VLoz.js +16 -0
- package/dist/{utils-BFT1mb0t.js → utils-CeRh0PVt.js} +1 -1
- package/package.json +1 -1
- package/src/components/ChatSetting/C2CChatSetting/C2CChatSetting.vue +27 -19
- package/src/components/ChatSetting/ChatSetting.vue +36 -0
- package/src/components/ChatSetting/Divider/Divider.vue +46 -0
- package/src/components/ChatSetting/Divider/index.ts +3 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.vue +12 -2
- package/src/components/ChatSetting/GroupChatSetting/GroupChatSetting.vue +183 -16
- package/src/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.vue +0 -5
- package/src/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.vue +4 -4
- package/src/components/ChatSetting/GroupChatSetting/GroupManagementEntry/GroupManagementEntry.vue +6 -2
- package/src/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.vue +45 -20
- package/src/components/ChatSetting/GroupChatSetting/PersonalSettings/PersonalSettings.vue +5 -0
- package/src/components/ChatSetting/SettingItem/SettingItem.vue +35 -22
- package/src/components/ChatSetting/i18n/en-US.ts +2 -0
- package/src/components/ChatSetting/i18n/zh-CN.ts +2 -0
- package/src/components/MessageInput/MessageInput.vue +3 -5
- package/dist/PopperContent-CkISUGRW.js +0 -1614
- package/dist/useId-Cpsv8y7P.js +0 -12
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as z, computed as B, openBlock as l, createElementBlock as f, normalizeClass as s, unref as t, renderSlot as i, createElementVNode as m, Fragment as E, renderList as F, createBlock as d, resolveDynamicComponent as A, mergeProps as M, createVNode as T, withCtx as g, createCommentVNode as V } from "vue";
|
|
2
2
|
import { AttachmentPicker as k } from "./components/MessageInput/AttachmentPicker/index.js";
|
|
3
|
-
import
|
|
3
|
+
import L from "./components/MessageInput/AttachmentPicker/FilePicker.js";
|
|
4
4
|
import x from "./components/MessageInput/AttachmentPicker/ImagePicker.js";
|
|
5
5
|
import j from "./components/MessageInput/AttachmentPicker/VideoPicker.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { QuotedMessagePreview as
|
|
9
|
-
import { SendButton as
|
|
10
|
-
import { TextEditor as
|
|
11
|
-
import
|
|
6
|
+
import w from "./components/MessageInput/AudioCallPicker/AudioCallPicker.js";
|
|
7
|
+
import N from "./components/MessageInput/EmojiPicker/EmojiPicker.js";
|
|
8
|
+
import { QuotedMessagePreview as O } from "./components/MessageInput/QuotedMessagePreview/index.js";
|
|
9
|
+
import { SendButton as D } from "./components/MessageInput/SendButton/index.js";
|
|
10
|
+
import { TextEditor as K } from "./components/MessageInput/TextEditor/index.js";
|
|
11
|
+
import Q from "./components/MessageInput/VideoCallPicker/VideoCallPicker.js";
|
|
12
12
|
import { useMessageInputState as U } from "./states/MessageInputState/MessageInputState.js";
|
|
13
13
|
const a = {
|
|
14
14
|
"message-input": "_message-input_2z5ho_1",
|
|
@@ -18,7 +18,7 @@ const a = {
|
|
|
18
18
|
"message-input__rightInline": "_message-input__rightInline_2z5ho_25",
|
|
19
19
|
"message-input__actions": "_message-input__actions_2z5ho_29",
|
|
20
20
|
"message-input__footerToolbar": "_message-input__footerToolbar_2z5ho_35"
|
|
21
|
-
},
|
|
21
|
+
}, ne = /* @__PURE__ */ z({
|
|
22
22
|
__name: "MessageInput",
|
|
23
23
|
props: {
|
|
24
24
|
autoFocus: { type: Boolean, default: !0 },
|
|
@@ -32,29 +32,29 @@ const a = {
|
|
|
32
32
|
},
|
|
33
33
|
setup(n) {
|
|
34
34
|
const u = [
|
|
35
|
-
{ key: "EmojiPicker", component:
|
|
35
|
+
{ key: "EmojiPicker", component: N },
|
|
36
36
|
{ key: "AttachmentPicker", component: k },
|
|
37
|
-
{ key: "FilePicker", component:
|
|
37
|
+
{ key: "FilePicker", component: L },
|
|
38
38
|
{ key: "ImagePicker", component: x },
|
|
39
39
|
{ key: "VideoPicker", component: j },
|
|
40
|
-
{ key: "AudioCallPicker", component:
|
|
41
|
-
{ key: "VideoCallPicker", component:
|
|
42
|
-
], c = n, {
|
|
40
|
+
{ key: "AudioCallPicker", component: w },
|
|
41
|
+
{ key: "VideoCallPicker", component: Q }
|
|
42
|
+
], c = n, { setContent: h, sendMessage: P } = U(), b = (e, r) => Object.fromEntries(
|
|
43
43
|
r.map((o) => [o, e[o]]).filter(([, o]) => o !== void 0)
|
|
44
|
-
),
|
|
44
|
+
), C = (e) => {
|
|
45
45
|
const { component: r = () => null } = u.find(({ key: o }) => o === e) ?? {};
|
|
46
46
|
return { Component: r, props: { disabled: c.disabled } };
|
|
47
|
-
},
|
|
47
|
+
}, y = (e) => {
|
|
48
48
|
var _;
|
|
49
|
-
const { key: r, component: o, ...p } = e,
|
|
49
|
+
const { key: r, component: o, ...p } = e, $ = ((_ = u.find(({ key: S }) => S === r)) == null ? void 0 : _.component) ?? (() => null);
|
|
50
50
|
return {
|
|
51
|
-
Component: o ??
|
|
52
|
-
props:
|
|
51
|
+
Component: o ?? $,
|
|
52
|
+
props: b(p, ["label", "className", "style", "iconSize"])
|
|
53
53
|
};
|
|
54
|
-
}, I =
|
|
55
|
-
() => c.actions.map((e) => typeof e == "string" ?
|
|
56
|
-
),
|
|
57
|
-
|
|
54
|
+
}, I = B(
|
|
55
|
+
() => c.actions.map((e) => typeof e == "string" ? C(e) : y(e)).filter(({ Component: e }) => e !== null)
|
|
56
|
+
), v = () => {
|
|
57
|
+
P(), h("");
|
|
58
58
|
};
|
|
59
59
|
return (e, r) => (l(), f("div", {
|
|
60
60
|
class: s([t(a)["message-input"]])
|
|
@@ -63,20 +63,20 @@ const a = {
|
|
|
63
63
|
m("div", {
|
|
64
64
|
class: s(t(a)["message-input__toolbar"])
|
|
65
65
|
}, [
|
|
66
|
-
(l(!0), f(
|
|
66
|
+
(l(!0), f(E, null, F(I.value, (o, p) => (l(), d(A(o.Component), M({ key: p }, { ref_for: !0 }, { ...o.props, ...o.Component === t(k) ? { attachmentPickerMode: n.attachmentPickerMode } : {} }), null, 16))), 128))
|
|
67
67
|
], 2)
|
|
68
68
|
]),
|
|
69
69
|
m("div", {
|
|
70
70
|
class: s(t(a)["message-input__wrapper"])
|
|
71
71
|
}, [
|
|
72
|
-
T(t(
|
|
72
|
+
T(t(O)),
|
|
73
73
|
m("div", {
|
|
74
74
|
class: s(t(a)["message-input__leftInline"])
|
|
75
75
|
}, [
|
|
76
76
|
i(e.$slots, "leftInline")
|
|
77
77
|
], 2),
|
|
78
78
|
i(e.$slots, "textEditor", {}, () => [
|
|
79
|
-
(l(), d(t(
|
|
79
|
+
(l(), d(t(K), {
|
|
80
80
|
key: n.disabled ? "disabled-editor" : "enabled-editor",
|
|
81
81
|
autoFocus: n.autoFocus,
|
|
82
82
|
disabled: n.disabled,
|
|
@@ -102,11 +102,11 @@ const a = {
|
|
|
102
102
|
m("div", {
|
|
103
103
|
class: s(t(a)["message-input__footerToolbar"])
|
|
104
104
|
}, [
|
|
105
|
-
n.hideSendButton ?
|
|
105
|
+
n.hideSendButton ? V("", !0) : (l(), d(t(D), {
|
|
106
106
|
key: 0,
|
|
107
107
|
class: s(t(a)["message-input__send-button"]),
|
|
108
108
|
disabled: c.disabled,
|
|
109
|
-
onClick:
|
|
109
|
+
onClick: v
|
|
110
110
|
}, null, 8, ["class", "disabled"]))
|
|
111
111
|
], 2)
|
|
112
112
|
])
|
|
@@ -114,5 +114,5 @@ const a = {
|
|
|
114
114
|
}
|
|
115
115
|
});
|
|
116
116
|
export {
|
|
117
|
-
|
|
117
|
+
ne as _
|
|
118
118
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
2
|
-
import { a as K, u as L, b as j, c as z, d as w } from "./PopperContent-
|
|
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-DZWilVTV.js";
|
|
2
|
+
import { a as K, u as L, b as j, c as z, d as w } from "./PopperContent-DhNCe1fl.js";
|
|
3
|
+
import { u as T } from "./useId-BF_8VLoz.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] = D("PopoverRoot");
|
|
6
6
|
var G = /* @__PURE__ */ m({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as l, P as a } from "./Teleport-
|
|
2
|
-
import { u as d } from "./useId-
|
|
3
|
-
import { P as u } from "./PopperContent-
|
|
4
|
-
import { i as c } from "./PopoverPortal-
|
|
1
|
+
import { u as l, P as a } from "./Teleport-DZWilVTV.js";
|
|
2
|
+
import { u as d } from "./useId-BF_8VLoz.js";
|
|
3
|
+
import { P as u } from "./PopperContent-DhNCe1fl.js";
|
|
4
|
+
import { i as c } from "./PopoverPortal-DajsCKjk.js";
|
|
5
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
6
|
var C = /* @__PURE__ */ g({
|
|
7
7
|
__name: "PopoverTrigger",
|