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.
Files changed (63) hide show
  1. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CO9Zl54Q.js → MessageInput.vue_vue_type_script_setup_true_lang-BA6xctn5.js} +29 -29
  2. package/dist/{PopoverPortal-DHrKmJf2.js → PopoverPortal-DajsCKjk.js} +3 -3
  3. package/dist/{PopoverTrigger-B5gYLErx.js → PopoverTrigger-BdLBIvcb.js} +4 -4
  4. package/dist/PopperContent-DhNCe1fl.js +1613 -0
  5. package/dist/{Teleport-CJUXTRaA.js → Teleport-DZWilVTV.js} +286 -282
  6. package/dist/baseComp/Modal/Modal.js +3 -3
  7. package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +2 -2
  8. package/dist/components/ChatSetting/C2CChatSetting/C2CChatSetting.js +99 -88
  9. package/dist/components/ChatSetting/ChatSetting.js +30 -18
  10. package/dist/components/ChatSetting/ChatSetting.vue.d.ts +5 -1
  11. package/dist/components/ChatSetting/Divider/Divider.js +21 -0
  12. package/dist/components/ChatSetting/Divider/Divider.vue.d.ts +32 -0
  13. package/dist/components/ChatSetting/Divider/index.d.ts +3 -0
  14. package/dist/components/ChatSetting/Divider/index.js +4 -0
  15. package/dist/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.js +103 -91
  16. package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.js +241 -155
  17. package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.js +1 -1
  18. package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.js +36 -36
  19. package/dist/components/ChatSetting/GroupChatSetting/GroupManagementEntry/GroupManagementEntry.js +33 -23
  20. package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.js +108 -102
  21. package/dist/components/ChatSetting/GroupChatSetting/PersonalSettings/PersonalSettings.js +30 -25
  22. package/dist/components/ChatSetting/SettingItem/SettingItem.js +150 -147
  23. package/dist/components/ChatSetting/SettingItem/SettingItem.vue.d.ts +2 -0
  24. package/dist/components/ChatSetting/i18n/en-US.d.ts +2 -0
  25. package/dist/components/ChatSetting/i18n/en-US.js +2 -0
  26. package/dist/components/ChatSetting/i18n/index.d.ts +4 -0
  27. package/dist/components/ChatSetting/i18n/zh-CN.d.ts +2 -0
  28. package/dist/components/ChatSetting/i18n/zh-CN.js +2 -0
  29. package/dist/components/ChatSetting/index.d.ts +5 -1
  30. package/dist/components/ConversationList/ConversationList.vue.d.ts +120 -120
  31. package/dist/components/ConversationList/ConversationSearch/ConversationSearch.vue.d.ts +54 -54
  32. package/dist/components/ConversationList/index.d.ts +180 -180
  33. package/dist/components/MessageInput/AttachmentPicker/index.js +2 -2
  34. package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +2 -2
  35. package/dist/components/MessageInput/MessageInput.js +1 -1
  36. package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +3 -3
  37. package/dist/components/MessageInput/index.js +1 -1
  38. package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +479 -448
  39. package/dist/components/Search/Search.vue.d.ts +19 -19
  40. package/dist/components/Search/SearchResults/SearchResults.vue.d.ts +1 -1
  41. package/dist/components/Search/index.d.ts +36 -36
  42. package/dist/states/LiveMonitorState/api/http.js +705 -639
  43. package/dist/styles/index.css +1 -1
  44. package/dist/useId-BF_8VLoz.js +16 -0
  45. package/dist/{utils-BFT1mb0t.js → utils-CeRh0PVt.js} +1 -1
  46. package/package.json +1 -1
  47. package/src/components/ChatSetting/C2CChatSetting/C2CChatSetting.vue +27 -19
  48. package/src/components/ChatSetting/ChatSetting.vue +36 -0
  49. package/src/components/ChatSetting/Divider/Divider.vue +46 -0
  50. package/src/components/ChatSetting/Divider/index.ts +3 -0
  51. package/src/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.vue +12 -2
  52. package/src/components/ChatSetting/GroupChatSetting/GroupChatSetting.vue +183 -16
  53. package/src/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.vue +0 -5
  54. package/src/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.vue +4 -4
  55. package/src/components/ChatSetting/GroupChatSetting/GroupManagementEntry/GroupManagementEntry.vue +6 -2
  56. package/src/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.vue +45 -20
  57. package/src/components/ChatSetting/GroupChatSetting/PersonalSettings/PersonalSettings.vue +5 -0
  58. package/src/components/ChatSetting/SettingItem/SettingItem.vue +35 -22
  59. package/src/components/ChatSetting/i18n/en-US.ts +2 -0
  60. package/src/components/ChatSetting/i18n/zh-CN.ts +2 -0
  61. package/src/components/MessageInput/MessageInput.vue +3 -5
  62. package/dist/PopperContent-CkISUGRW.js +0 -1614
  63. package/dist/useId-Cpsv8y7P.js +0 -12
@@ -1,14 +1,14 @@
1
- import { defineComponent as B, computed as E, openBlock as l, createElementBlock as f, normalizeClass as s, unref as t, renderSlot as i, createElementVNode as m, Fragment as F, renderList as V, createBlock as d, resolveDynamicComponent as A, mergeProps as M, createVNode as T, withCtx as g, createCommentVNode as L } from "vue";
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 w from "./components/MessageInput/AttachmentPicker/FilePicker.js";
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 N from "./components/MessageInput/AudioCallPicker/AudioCallPicker.js";
7
- import O from "./components/MessageInput/EmojiPicker/EmojiPicker.js";
8
- import { QuotedMessagePreview as D } from "./components/MessageInput/QuotedMessagePreview/index.js";
9
- import { SendButton as K } from "./components/MessageInput/SendButton/index.js";
10
- import { TextEditor as Q } from "./components/MessageInput/TextEditor/index.js";
11
- import R from "./components/MessageInput/VideoCallPicker/VideoCallPicker.js";
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
- }, se = /* @__PURE__ */ B({
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: O },
35
+ { key: "EmojiPicker", component: N },
36
36
  { key: "AttachmentPicker", component: k },
37
- { key: "FilePicker", component: w },
37
+ { key: "FilePicker", component: L },
38
38
  { key: "ImagePicker", component: x },
39
39
  { key: "VideoPicker", component: j },
40
- { key: "AudioCallPicker", component: N },
41
- { key: "VideoCallPicker", component: R }
42
- ], c = n, { inputRawValue: h, setContent: P, sendMessage: b } = U(), C = (e, r) => Object.fromEntries(
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
- ), y = (e) => {
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
- }, v = (e) => {
47
+ }, y = (e) => {
48
48
  var _;
49
- const { key: r, component: o, ...p } = e, S = ((_ = u.find(({ key: z }) => z === r)) == null ? void 0 : _.component) ?? (() => null);
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 ?? S,
52
- props: C(p, ["label", "className", "style", "iconSize"])
51
+ Component: o ?? $,
52
+ props: b(p, ["label", "className", "style", "iconSize"])
53
53
  };
54
- }, I = E(
55
- () => c.actions.map((e) => typeof e == "string" ? y(e) : v(e)).filter(({ Component: e }) => e !== null)
56
- ), $ = () => {
57
- h.value && (b(), P(""));
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(F, null, V(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))
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(D)),
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(Q), {
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 ? L("", !0) : (l(), d(t(K), {
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
- se as _
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-CJUXTRaA.js";
2
- import { a as K, u as L, b as j, c as z, d as w } from "./PopperContent-CkISUGRW.js";
3
- import { u as T } from "./useId-Cpsv8y7P.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-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-CJUXTRaA.js";
2
- import { u as d } from "./useId-Cpsv8y7P.js";
3
- import { P as u } from "./PopperContent-CkISUGRW.js";
4
- import { i as c } from "./PopoverPortal-DHrKmJf2.js";
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",