@steedos-widgets/liveblocks 6.10.54-beta.13 → 6.10.54-beta.15

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
@@ -22,6 +22,7 @@ yarn dev
22
22
  {
23
23
  "type": "rooms-provider",
24
24
  "baseUrl": "${context.rootUrl}",
25
+ "defaultMentionSuggestionsApi": "/api/example/records/${recordId}/mention-users",
25
26
  "body": [
26
27
  {
27
28
  "type": "rooms-comments",
@@ -49,6 +50,8 @@ yarn dev
49
50
  }
50
51
  ```
51
52
 
53
+ `defaultMentionSuggestionsApi` 可选。输入 `@` 且尚未输入关键词时,组件调用该接口并将返回的用户 ID 数组作为默认候选人;输入关键词后仍调用 `/v2/c/users/search` 搜索全部用户。接口可直接返回数组,也可返回 `{ "data": [] }`。
54
+
52
55
  如果配置了 readonly ,隐藏了所有的编辑框和按钮,相当于
53
56
 
54
57
  ```json
@@ -73,4 +76,4 @@ rooms-comments 高级控制:
73
76
 
74
77
  ```
75
78
  STEEDOS_WIDGETS_ADDITIONAL=@steedos-widgets/liveblocks
76
- ```
79
+ ```
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.10.54-beta.13/dist/liveblocks.umd.js",
7
- "https://unpkg.com/@steedos-widgets/liveblocks@6.10.54-beta.13/dist/liveblocks.umd.css"
6
+ "https://unpkg.com/@steedos-widgets/liveblocks@6.10.54-beta.15/dist/liveblocks.umd.js",
7
+ "https://unpkg.com/@steedos-widgets/liveblocks@6.10.54-beta.15/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.10.54-beta.13/dist/meta.js",
18
+ "url": "https://unpkg.com/@steedos-widgets/liveblocks@6.10.54-beta.15/dist/meta.js",
19
19
  "urls": {
20
- "default": "https://unpkg.com/@steedos-widgets/liveblocks@6.10.54-beta.13/dist/meta.js",
21
- "design": "https://unpkg.com/@steedos-widgets/liveblocks@6.10.54-beta.13/dist/meta.js"
20
+ "default": "https://unpkg.com/@steedos-widgets/liveblocks@6.10.54-beta.15/dist/meta.js",
21
+ "design": "https://unpkg.com/@steedos-widgets/liveblocks@6.10.54-beta.15/dist/meta.js"
22
22
  }
23
23
  }
24
24
  ]