@blocklet/discuss-kit-ux 2.1.170 → 2.1.172
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 { lazyRetry } from "@arcblock/ux/lib/Util";
|
|
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-DdLp6OUu.mjs";
|
|
8
8
|
const BlockletEditor = lazyRetry(() => import("@blocklet/editor"));
|
|
9
9
|
const Root = styled(Box)`
|
|
10
10
|
.be-editable,
|
|
@@ -4854,7 +4854,7 @@ function Back({ url, fallbackUrl, iconOnly, sx, icon, ...rest }) {
|
|
|
4854
4854
|
}
|
|
4855
4855
|
const tablerSend = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10 14L21 3m0 0l-6.5 18a.55.55 0 0 1-1 0L10 14l-7-3.5a.55.55 0 0 1 0-1z" }) });
|
|
4856
4856
|
const tablerLetterCase = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M14 15.5a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0-7 0M3 19V8.5a3.5 3.5 0 0 1 7 0V19m-7-6h7m11-1v7" }) });
|
|
4857
|
-
const Editor = lazyRetry(() => import("./editor-
|
|
4857
|
+
const Editor = lazyRetry(() => import("./editor-xQrJxNZ9.mjs"));
|
|
4858
4858
|
function LazyEditor(props) {
|
|
4859
4859
|
const fallback2 = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
|
|
4860
4860
|
/* @__PURE__ */ jsx(Skeleton, {}),
|
|
@@ -11965,9 +11965,6 @@ function create(prefix2) {
|
|
|
11965
11965
|
const url = `//${window.location.host}${pathPrefix.replace(/\/$/, "")}`;
|
|
11966
11966
|
return new WsClient(url, {
|
|
11967
11967
|
heartbeatIntervalMs: 10 * 1e3,
|
|
11968
|
-
params: () => ({
|
|
11969
|
-
token: Cookie.get("login_token")
|
|
11970
|
-
}),
|
|
11971
11968
|
reconnectAfterMs: (tries) => {
|
|
11972
11969
|
if (Cookie.get("login_token")) {
|
|
11973
11970
|
return Math.floor(Math.random() * 2 ** tries * 1e3);
|
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, ay, ar, N, am, as, av, aw, l, ax, f, p, r, j, au, t, h, aa, az, 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, ay, ar, N, am, as, av, aw, l, ax, f, p, r, j, au, t, h, aa, az, U, c, a0, z, a7, ab, u, an, d, at, a3, aj, e } from "./index-DdLp6OUu.mjs";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material/Box";
|
package/dist/index.umd.js
CHANGED
|
@@ -11887,9 +11887,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
11887
11887
|
const url = `//${window.location.host}${pathPrefix.replace(/\/$/, "")}`;
|
|
11888
11888
|
return new ws.WsClient(url, {
|
|
11889
11889
|
heartbeatIntervalMs: 10 * 1e3,
|
|
11890
|
-
params: () => ({
|
|
11891
|
-
token: Cookie.get("login_token")
|
|
11892
|
-
}),
|
|
11893
11890
|
reconnectAfterMs: (tries) => {
|
|
11894
11891
|
if (Cookie.get("login_token")) {
|
|
11895
11892
|
return Math.floor(Math.random() * 2 ** tries * 1e3);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit-ux",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.172",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcblock/bridge": "^2.11.
|
|
22
|
-
"@arcblock/react-hooks": "^2.11.
|
|
23
|
-
"@arcblock/ws": "^1.19.
|
|
24
|
-
"@blocklet/uploader": "^0.1.
|
|
21
|
+
"@arcblock/bridge": "^2.11.49",
|
|
22
|
+
"@arcblock/react-hooks": "^2.11.49",
|
|
23
|
+
"@arcblock/ws": "^1.19.12",
|
|
24
|
+
"@blocklet/uploader": "^0.1.71",
|
|
25
25
|
"@emotion/css": "^11.13.0",
|
|
26
26
|
"@emotion/react": "^11.13.3",
|
|
27
27
|
"@emotion/styled": "^11.13.0",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"ufo": "^1.5.4",
|
|
46
46
|
"unstated-next": "^1.1.0",
|
|
47
47
|
"url-join": "^4.0.1",
|
|
48
|
-
"@blocklet/editor": "^2.1.
|
|
49
|
-
"@blocklet/labels": "^2.1.
|
|
48
|
+
"@blocklet/editor": "^2.1.172",
|
|
49
|
+
"@blocklet/labels": "^2.1.172"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@arcblock/did-connect": "^2.10.36",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@arcblock/eslint-config-ts": "^0.3.3",
|
|
65
65
|
"@babel/core": "^7.25.2",
|
|
66
|
-
"@blocklet/sdk": "^1.16.
|
|
66
|
+
"@blocklet/sdk": "^1.16.39",
|
|
67
67
|
"@iconify-json/iconoir": "^1.2.1",
|
|
68
68
|
"@iconify-json/material-symbols": "^1.2.1",
|
|
69
69
|
"@iconify-json/mdi": "^1.2.0",
|