@steedos-widgets/liveblocks 6.3.13-beta.8 → 6.3.13
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
CHANGED
|
@@ -42,12 +42,24 @@ yarn dev
|
|
|
42
42
|
{
|
|
43
43
|
"type": "rooms-comments",
|
|
44
44
|
"className": "flex flex-col m-3 gap-3",
|
|
45
|
-
"roomId": "objects:${objectName}
|
|
45
|
+
"roomId": "objects:${objectName}:${recordId}",
|
|
46
|
+
"readonly": "${true}",
|
|
46
47
|
}
|
|
47
48
|
]
|
|
48
49
|
}
|
|
49
50
|
```
|
|
50
51
|
|
|
52
|
+
rooms-comments 高级权限控制:
|
|
53
|
+
|
|
54
|
+
```js
|
|
55
|
+
indentCommentContent = true,
|
|
56
|
+
showActions = "hover",
|
|
57
|
+
showDeletedComments,
|
|
58
|
+
showResolveAction = true,
|
|
59
|
+
showReactions = true,
|
|
60
|
+
showComposer = "collapsed",
|
|
61
|
+
showAttachments = true,
|
|
62
|
+
```
|
|
51
63
|
|
|
52
64
|
## Steedos 加载资产包
|
|
53
65
|
|
package/dist/assets.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
{
|
|
4
4
|
"package": "@steedos-widgets/liveblocks",
|
|
5
5
|
"urls": [
|
|
6
|
-
"https://unpkg.com/@steedos-widgets/liveblocks@6.3.13
|
|
7
|
-
"https://unpkg.com/@steedos-widgets/liveblocks@6.3.13
|
|
6
|
+
"https://unpkg.com/@steedos-widgets/liveblocks@6.3.13/dist/liveblocks.umd.js",
|
|
7
|
+
"https://unpkg.com/@steedos-widgets/liveblocks@6.3.13/dist/liveblocks.umd.css"
|
|
8
8
|
],
|
|
9
9
|
"library": "BuilderLiveblocks"
|
|
10
10
|
}
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"npm": {
|
|
16
16
|
"package": "@steedos-widgets/liveblocks"
|
|
17
17
|
},
|
|
18
|
-
"url": "https://unpkg.com/@steedos-widgets/liveblocks@6.3.13
|
|
18
|
+
"url": "https://unpkg.com/@steedos-widgets/liveblocks@6.3.13/dist/meta.js",
|
|
19
19
|
"urls": {
|
|
20
|
-
"default": "https://unpkg.com/@steedos-widgets/liveblocks@6.3.13
|
|
21
|
-
"design": "https://unpkg.com/@steedos-widgets/liveblocks@6.3.13
|
|
20
|
+
"default": "https://unpkg.com/@steedos-widgets/liveblocks@6.3.13/dist/meta.js",
|
|
21
|
+
"design": "https://unpkg.com/@steedos-widgets/liveblocks@6.3.13/dist/meta.js"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
]
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import "@liveblocks/react-ui/styles.css";
|
|
3
3
|
import './Comments.css';
|
|
4
|
-
export declare const Threads: (
|
|
4
|
+
export declare const Threads: ({ indentCommentContent, showActions, showDeletedComments, showResolveAction, showReactions, showComposer, showAttachments }: {
|
|
5
|
+
indentCommentContent: any;
|
|
6
|
+
showActions: any;
|
|
7
|
+
showDeletedComments: any;
|
|
8
|
+
showResolveAction: any;
|
|
9
|
+
showReactions: any;
|
|
10
|
+
showComposer: any;
|
|
11
|
+
showAttachments: any;
|
|
12
|
+
}) => JSX.Element;
|
|
5
13
|
export declare const AmisComments: (props: any) => JSX.Element;
|