@blocklet/discuss-kit-ux 1.6.259 → 1.6.260
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.
|
@@ -4,7 +4,7 @@ import { OnContentChangePlugin } from "@blocklet/editor/lib/ext/OnContentChangeP
|
|
|
4
4
|
import { CtrlsShortcutPlugin } from "@blocklet/editor/lib/ext/ShortcutPlugin";
|
|
5
5
|
import { SafeAreaPlugin } from "@blocklet/editor/lib/ext/SafeAreaPlugin";
|
|
6
6
|
import { lazy } from "react";
|
|
7
|
-
import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-
|
|
7
|
+
import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-KLdzJyDb.mjs";
|
|
8
8
|
const BlockletEditor = lazy(() => import("@blocklet/editor"));
|
|
9
9
|
const Root = styled(Box)`
|
|
10
10
|
.be-editable,
|
|
@@ -3944,7 +3944,7 @@ const useChatInWallet = () => {
|
|
|
3944
3944
|
navigate("/chat-in-wallet");
|
|
3945
3945
|
};
|
|
3946
3946
|
const updateUnreadState = useCallback((unread) => {
|
|
3947
|
-
bridge.call("updateUnreadState", { unread, appId: window.blocklet.
|
|
3947
|
+
bridge.call("updateUnreadState", { unread, appId: window.blocklet.appPid, timestamp: /* @__PURE__ */ new Date() });
|
|
3948
3948
|
}, []);
|
|
3949
3949
|
return { navigateToChat, navigateToChatList, isChatInWalletV2, updateUnreadState };
|
|
3950
3950
|
};
|
|
@@ -5607,7 +5607,7 @@ function Pagination({
|
|
|
5607
5607
|
}
|
|
5608
5608
|
);
|
|
5609
5609
|
}
|
|
5610
|
-
const Editor = lazy(() => import("./editor-
|
|
5610
|
+
const Editor = lazy(() => import("./editor-D3RAcw2N.mjs"));
|
|
5611
5611
|
function LazyEditor(props) {
|
|
5612
5612
|
const fallback2 = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
|
|
5613
5613
|
/* @__PURE__ */ jsx(Skeleton, {}),
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "@blocklet/labels";
|
|
2
|
-
import { T, n, W, A, m, ad, B, F, K, J, L, ap, Y, X, $, Z, _, a1, w, C, x, y, E, a5, a6, ah, a8, O, Q, ac, D, ag, af, H, G, b, k, ae, M, P, ao, v, q, R, S, a9, aq, o, a2, a4, ai, al, ak, am, ar, N, as, l, f, p, r, j, t, h, aa, U, c, a0, z, a7, ab, u, an, d, at, a3, aj, e } from "./index-
|
|
2
|
+
import { T, n, W, A, m, ad, B, F, K, J, L, ap, Y, X, $, Z, _, a1, w, C, x, y, E, a5, a6, ah, a8, O, Q, ac, D, ag, af, H, G, b, k, ae, M, P, ao, v, q, R, S, a9, aq, o, a2, a4, ai, al, ak, am, ar, N, as, l, f, p, r, j, t, h, aa, U, c, a0, z, a7, ab, u, an, d, at, a3, aj, e } from "./index-KLdzJyDb.mjs";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material/Box";
|
package/dist/index.umd.js
CHANGED
|
@@ -3873,7 +3873,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3873
3873
|
navigate("/chat-in-wallet");
|
|
3874
3874
|
};
|
|
3875
3875
|
const updateUnreadState = react.useCallback((unread) => {
|
|
3876
|
-
bridge.call("updateUnreadState", { unread, appId: window.blocklet.
|
|
3876
|
+
bridge.call("updateUnreadState", { unread, appId: window.blocklet.appPid, timestamp: /* @__PURE__ */ new Date() });
|
|
3877
3877
|
}, []);
|
|
3878
3878
|
return { navigateToChat, navigateToChatList, isChatInWalletV2, updateUnreadState };
|
|
3879
3879
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit-ux",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.260",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@arcblock/bridge": "^2.9.77",
|
|
32
32
|
"@arcblock/react-hooks": "^2.9.80",
|
|
33
33
|
"@arcblock/ws": "^1.18.116",
|
|
34
|
-
"@blocklet/editor": "1.6.
|
|
35
|
-
"@blocklet/labels": "1.6.
|
|
34
|
+
"@blocklet/editor": "1.6.260",
|
|
35
|
+
"@blocklet/labels": "1.6.260",
|
|
36
36
|
"@blocklet/uploader": "^0.1.2",
|
|
37
37
|
"@emotion/css": "^11.10.5",
|
|
38
38
|
"@emotion/react": "^11.10.5",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"resolutions": {
|
|
100
100
|
"react": "^18.2.0"
|
|
101
101
|
},
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "71a881e14c0e3b8268a7c269ae96a62150ca8350"
|
|
103
103
|
}
|