@steedos-labs/content-compliance 0.0.23 → 0.0.25

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.
@@ -9,3 +9,4 @@ reference_to: pepsico_material
9
9
  required: true
10
10
  sort_no: 300
11
11
  type: master_detail
12
+ write_requires_master_read: true
@@ -11,3 +11,4 @@ required: true
11
11
  sort_no: 450
12
12
  static: true
13
13
  type: master_detail
14
+ write_requires_master_read: true
@@ -173,58 +173,39 @@
173
173
  "tabs": [
174
174
  {
175
175
  "title": "素材预览",
176
- "className": "material-preview",
177
176
  "body": [
178
177
  {
179
- "type": "page",
180
- "id": "u:25709be82e35",
181
- "bodyClassName": "p-0",
182
- "asideResizor": true,
183
- "asideClassName": "w-8/12 p-2",
184
- "aside": [
185
- {
186
- "type": "image",
187
- "id": "u:562456f79aca",
188
- "imageMode": "original",
189
- "src": "${_display.material.url}",
190
- "visibleOn": "${extension_type === 'jpg' || extension_type === 'jpeg' || extension_type === 'png' || extension_type === 'gif' || extension_type === 'bmp' || extension_type === 'tiff' || extension_type === 'tif' || extension_type === 'svg' || extension_type === 'webp' || extension_type === 'ico' || extension_type === 'heif' || extension_type === 'heic'}",
191
- "style": {
192
- "display": "inline-block"
193
- }
194
- },
195
- {
196
- "type": "video",
197
- "src": "${_display.material.url}",
198
- "poster": "",
199
- "visibleOn": "${extension_type === 'mp4' || extension_type === 'avi' || extension_type === 'mov' || extension_type === 'wmv' || extension_type === 'flv' || extension_type === 'mkv' || extension_type === 'webm' || extension_type === 'mpeg' || extension_type === 'mpg' || extension_type === '3gp' || extension_type === 'm4v'}",
200
- "id": "u:6e8c9cee221a",
201
- "autoPlay": false,
202
- "aspectRatio": "auto"
203
- },
204
- {
205
- "type": "iframe",
206
- "id": "pdf-viewer",
207
- "src": "${context.rootUrl}/api/page/public/pdf_view?fileUrl=/api/files/files/${_display.material.value}",
208
- "visibleOn": "${extension_type === 'pdf'}"
209
- }
210
- ],
211
- "body": [],
212
- "pullRefresh": {
213
- "disabled": true
178
+ "type": "image",
179
+ "id": "u:562456f79aca",
180
+ "editorState": "default",
181
+ "style": {
182
+ "display": "inline-block"
214
183
  },
215
- "css": {
216
- ".material-preview": {
217
- "height": "calc(100vh - 9.5rem)",
218
- "overflow-y": "auto"
219
- },
220
- ".antd-Page-asideResizor": {
221
- "display": "none !important"
222
- }
223
- }
184
+ "imageMode": "original",
185
+ "src": "${_display.material.url}",
186
+ "visibleOn": "${extension_type === 'jpg' || extension_type === 'jpeg' || extension_type === 'png' || extension_type === 'gif' || extension_type === 'bmp' || extension_type === 'tiff' || extension_type === 'tif' || extension_type === 'svg' || extension_type === 'webp' || extension_type === 'ico' || extension_type === 'heif' || extension_type === 'heic'}",
187
+ "enlargeAble": false,
188
+ "maxScale": 200,
189
+ "minScale": 50
190
+ },
191
+ {
192
+ "type": "video",
193
+ "src": "${_display.material.url}",
194
+ "poster": "",
195
+ "visibleOn": "${extension_type === 'mp4' || extension_type === 'avi' || extension_type === 'mov' || extension_type === 'wmv' || extension_type === 'flv' || extension_type === 'mkv' || extension_type === 'webm' || extension_type === 'mpeg' || extension_type === 'mpg' || extension_type === '3gp' || extension_type === 'm4v'}",
196
+ "id": "u:6e8c9cee221a",
197
+ "autoPlay": false,
198
+ "aspectRatio": "auto"
199
+ },
200
+ {
201
+ "type": "iframe",
202
+ "src": "${context.rootUrl}/api/page/public/pdf_view?fileUrl=/api/files/files/${_display.material.value}",
203
+ "id": "pdf-viewer",
204
+ "editorState": "default",
205
+ "visibleOn": "${extension_type === 'pdf'}"
224
206
  }
225
207
  ],
226
- "id": "u:5537e5510029",
227
- "visibleOn": "${extension_type != 'doc' && extension_type != 'docx'}"
208
+ "id": "u:e5c05136ce05"
228
209
  },
229
210
  {
230
211
  "title": "AI审核意见",
@@ -262,11 +243,20 @@
262
243
  "id": "u:2bda634e52ac"
263
244
  },
264
245
  {
265
- "type": "rooms-comments",
266
- "id": "u:bb3f4d0c23f9",
267
- "roomId": "objects:pepsico_material:${recordId}",
268
- "className": "flex flex-col m-3 gap-3",
269
- "baseUrl": "${context.rootUrl}"
246
+ "type": "panel",
247
+ "title": "评论",
248
+ "body": [
249
+ {
250
+ "type": "rooms-comments",
251
+ "id": "u:ddea25a26b7d",
252
+ "roomId": "objects:pepsico_material:${recordId}",
253
+ "className": "flex flex-col m-3 gap-3",
254
+ "baseUrl": "${context.rootUrl}"
255
+ }
256
+ ],
257
+ "id": "u:b5ff9930fbec",
258
+ "affixFooter": false,
259
+ "className": "Panel--default m-r-xs m-l-xs"
270
260
  }
271
261
  ],
272
262
  "regions": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos-labs/content-compliance",
3
- "version": "0.0.23",
3
+ "version": "0.0.25",
4
4
  "description": "内容审核系统",
5
5
  "main": "package.service.js",
6
6
  "scripts": {