easemob-chat-uikit 2.2.0 → 2.2.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/ChatUI.esm.js +6 -5
- package/ChatUI.js +2 -2
- package/ChatUI.umd.js +2 -2
- package/README.md +388 -0
- package/package.json +1 -1
- package/style/blocklist/style/style.scss +2 -2
- package/style.css +1 -1
- package/types/module/empty/Empty.d.ts +1 -0
package/ChatUI.esm.js
CHANGED
|
@@ -61645,10 +61645,11 @@ const Ff = (r) => {
|
|
|
61645
61645
|
prefix: u,
|
|
61646
61646
|
style: l = {},
|
|
61647
61647
|
className: m,
|
|
61648
|
-
onClickBack: h
|
|
61649
|
-
|
|
61650
|
-
|
|
61651
|
-
|
|
61648
|
+
onClickBack: h,
|
|
61649
|
+
back: T = !0
|
|
61650
|
+
} = r, c = _u(), { getPrefixCls: p } = Rt.useContext(Qn), f = p("empty", u), A = on(f, m);
|
|
61651
|
+
return /* @__PURE__ */ D.jsxs("div", { className: A, style: { ...l }, children: [
|
|
61652
|
+
c && T ? /* @__PURE__ */ D.jsx(
|
|
61652
61653
|
yr,
|
|
61653
61654
|
{
|
|
61654
61655
|
type: "text",
|
|
@@ -101762,7 +101763,7 @@ const FIe = () => {
|
|
|
101762
101763
|
return /* @__PURE__ */ D.jsxs("div", { className: M, style: { ...u }, children: [
|
|
101763
101764
|
m ? m() : /* @__PURE__ */ D.jsx(fa, { content: S("blocklist"), avatar: /* @__PURE__ */ D.jsx(D.Fragment, {}), ...T }),
|
|
101764
101765
|
/* @__PURE__ */ D.jsxs("div", { className: `${I}-main`, children: [
|
|
101765
|
-
f.addressStore.blockList.length === 0 ? c ? c() : /* @__PURE__ */ D.jsx(Ff, { text: lo.t("no contact") }) : null,
|
|
101766
|
+
f.addressStore.blockList.length === 0 ? c ? c() : /* @__PURE__ */ D.jsx(Ff, { text: lo.t("no contact"), back: !1 }) : null,
|
|
101766
101767
|
h ? f.addressStore.blockList.map((L, B) => {
|
|
101767
101768
|
var F, W;
|
|
101768
101769
|
const k = {
|