@ethora/chat-component 26.8.2 → 26.9.2
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/README.md +1 -0
- package/dist/{ChatProfileModal-DJcii-VO.js → ChatProfileModal-DJu41Pd7.js} +6 -3
- package/dist/{FilePreviewModal-CZtgkIHl.js → FilePreviewModal-C9LtTRwf.js} +63 -63
- package/dist/{ManageDataModal-aOWxvxSs.js → ManageDataModal-W7YjmIsd.js} +3 -3
- package/dist/{MarkdownBody-neDkIgJl.js → MarkdownBody-k4RvO7v6.js} +3 -3
- package/dist/{SideDrawer-mSCnYOgy.js → SideDrawer-DTXPBfJl.js} +25 -25
- package/dist/{UserProfileModal-a_O8hh1O.js → UserProfileModal-CyUJ-rFm.js} +3 -3
- package/dist/{UserSettingsModal-92nP1add.js → UserSettingsModal-DJYdx8X3.js} +9 -9
- package/dist/{VideoCallOverlay-DYd3pFuD.js → VideoCallOverlay-C7flkkQ5.js} +2673 -2662
- package/dist/VisibilityModal-Dq_1oMwl.js +138 -0
- package/dist/components/MainComponents/SealedAttachmentList.d.ts +14 -0
- package/dist/components/RoomComponents/styled/LastMessageSealed.d.ts +14 -0
- package/dist/components/RoomComponents/styled/StyledRoomComponents.d.ts +4 -2
- package/dist/components/styled/AudioMessage.d.ts +38 -0
- package/dist/e2ee/fileEnvelope.d.ts +48 -0
- package/dist/{handleCopyClick-tizCFAb8.js → handleCopyClick-Cv8OCQA-.js} +2 -2
- package/dist/helpers/sealedAttachments.d.ts +25 -0
- package/dist/{main-DkokKp7d.js → main-DaxJ3rMp.js} +9701 -8964
- package/dist/main.js +5 -5
- package/dist/networking/api-requests/auth.api.d.ts +10 -1
- package/dist/networking/xmpp/sendMediaMessage.xmpp.d.ts +12 -1
- package/dist/styles/tokens.d.ts +26 -4
- package/dist/types/models/config.model.d.ts +19 -0
- package/dist/types/models/message.model.d.ts +17 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/VisibilityModal-BKI5XKir.js +0 -132
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as i, jsxs as
|
|
1
|
+
import { jsx as i, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import m, { useCallback as D, useMemo as h } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { S as b, D as u, a as k, b as y, c as S, d as f } from "./SideDrawer-
|
|
3
|
+
import { p, a as g, q as w, M as l } from "./main-DaxJ3rMp.js";
|
|
4
|
+
import { S as b, D as u, a as k, b as y, c as S, d as f } from "./SideDrawer-DTXPBfJl.js";
|
|
5
5
|
const T = ({
|
|
6
|
-
handleCloseModal:
|
|
6
|
+
handleCloseModal: n
|
|
7
7
|
}) => {
|
|
8
|
-
const t =
|
|
8
|
+
const t = p(), s = g(), o = D(
|
|
9
9
|
(e) => {
|
|
10
10
|
s(w(e));
|
|
11
11
|
},
|
|
@@ -16,12 +16,12 @@ const T = ({
|
|
|
16
16
|
title: t("settings.section.privacy"),
|
|
17
17
|
rows: [
|
|
18
18
|
{
|
|
19
|
-
key:
|
|
19
|
+
key: l.MANAGE_DATA,
|
|
20
20
|
label: t("settings.manageData.title"),
|
|
21
21
|
hint: t("settings.manageData.rowHint")
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
key:
|
|
24
|
+
key: l.VISIBILITY,
|
|
25
25
|
label: t("settings.visibility.title"),
|
|
26
26
|
hint: t("settings.visibility.rowHint")
|
|
27
27
|
}
|
|
@@ -30,9 +30,9 @@ const T = ({
|
|
|
30
30
|
],
|
|
31
31
|
[t]
|
|
32
32
|
);
|
|
33
|
-
return /* @__PURE__ */ i(b, { title: t("settings.menu.title"), onClose:
|
|
33
|
+
return /* @__PURE__ */ i(b, { title: t("settings.menu.title"), onClose: n, children: c.map((e) => /* @__PURE__ */ r(u, { children: [
|
|
34
34
|
/* @__PURE__ */ i(k, { children: e.title }),
|
|
35
|
-
/* @__PURE__ */ i(y, { children: e.rows.map((a, d) => /* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ i(y, { children: e.rows.map((a, d) => /* @__PURE__ */ r(m.Fragment, { children: [
|
|
36
36
|
d > 0 && /* @__PURE__ */ i(S, {}),
|
|
37
37
|
/* @__PURE__ */ i(
|
|
38
38
|
f,
|