@medipha/chat 1.0.20 → 1.0.21
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.js
CHANGED
|
@@ -41523,7 +41523,7 @@ function Qy() {
|
|
|
41523
41523
|
//#region src/features/message-list/bubble/message-actions/message-actions-menu.tsx
|
|
41524
41524
|
function $y({ canRemove: e, removeLabel: t, isRemoving: n, canManagePins: r, canCopy: i, canForward: a, isPinned: o, isMenuOpen: s, menuPosition: c, onReply: l, onForward: u, onOpenMenu: d, onCloseMenu: f, onCopyMessage: p, onTogglePin: m, onViewDetails: h, onRemove: g }) {
|
|
41525
41525
|
return /* @__PURE__ */ N("div", {
|
|
41526
|
-
className:
|
|
41526
|
+
className: `message-actions${s ? " is-open" : ""}`,
|
|
41527
41527
|
children: [
|
|
41528
41528
|
/* @__PURE__ */ M("button", {
|
|
41529
41529
|
className: "message-action-button",
|
|
@@ -56807,7 +56807,7 @@ function Xz(e) {
|
|
|
56807
56807
|
if (!o.current || a.current !== r) return;
|
|
56808
56808
|
let i = t?.data ?? t, s = {
|
|
56809
56809
|
names: i.items.map((e) => e.fullName),
|
|
56810
|
-
totalCount: i.
|
|
56810
|
+
totalCount: i.totalUsers
|
|
56811
56811
|
};
|
|
56812
56812
|
Yz.set(e, s), n(s);
|
|
56813
56813
|
}).catch(() => {}).finally(() => {
|
|
@@ -56875,8 +56875,6 @@ function tB({ message: e, isPickerOpen: t, myReactionType: n, onOpenPicker: i, o
|
|
|
56875
56875
|
};
|
|
56876
56876
|
return /* @__PURE__ */ N("div", {
|
|
56877
56877
|
className: "message-reaction-anchor",
|
|
56878
|
-
onMouseEnter: i,
|
|
56879
|
-
onMouseLeave: a,
|
|
56880
56878
|
children: [p.length > 0 ? /* @__PURE__ */ M(r, {
|
|
56881
56879
|
title: h,
|
|
56882
56880
|
mouseEnterDelay: .25,
|
|
@@ -56900,12 +56898,15 @@ function tB({ message: e, isPickerOpen: t, myReactionType: n, onOpenPicker: i, o
|
|
|
56900
56898
|
})
|
|
56901
56899
|
}) : null, /* @__PURE__ */ N("div", {
|
|
56902
56900
|
className: "message-reaction-picker-control",
|
|
56901
|
+
onMouseEnter: i,
|
|
56902
|
+
onMouseLeave: a,
|
|
56903
56903
|
children: [
|
|
56904
56904
|
/* @__PURE__ */ M("button", {
|
|
56905
56905
|
type: "button",
|
|
56906
56906
|
className: "message-reaction-trigger",
|
|
56907
56907
|
"aria-label": n ? "Đổi cảm xúc" : "Thả cảm xúc",
|
|
56908
|
-
|
|
56908
|
+
"aria-expanded": t,
|
|
56909
|
+
onClick: i,
|
|
56909
56910
|
children: n ? /* @__PURE__ */ M(Py, { type: n }) : /* @__PURE__ */ M(Ha, {})
|
|
56910
56911
|
}),
|
|
56911
56912
|
l ? /* @__PURE__ */ M($z, {
|