@steedos-labs/content-compliance 0.0.11 → 0.0.12

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.
@@ -168,88 +168,99 @@
168
168
  }
169
169
  },
170
170
  {
171
- "type": "grid",
172
- "columns": [
171
+ "type": "tabs",
172
+ "className": "steedos-record-tabs bg-white p-4 sm:m-2 sm:border sm:rounded",
173
+ "tabs": [
173
174
  {
175
+ "title": "详细",
176
+ "className": "px-0 py-4",
174
177
  "body": [
175
178
  {
176
- "type": "tabs",
177
- "className": "steedos-record-tabs bg-white p-4 sm:m-2 sm:border sm:rounded",
178
- "tabs": [
179
- {
180
- "title": "详细",
181
- "className": "px-0 py-4",
182
- "body": [
183
- {
184
- "type": "steedos-object-form",
185
- "label": "对象表单",
186
- "objectApiName": "${objectName}",
187
- "recordId": "${recordId}",
188
- "mode": "read",
189
- "enableInitApi": false,
190
- "className": "",
191
- "id": "u:b9a1c315e058",
192
- "excludedFields": []
193
- }
194
- ],
195
- "id": "u:bc3ff316b6dc"
196
- },
179
+ "type": "steedos-object-form",
180
+ "label": "对象表单",
181
+ "objectApiName": "${objectName}",
182
+ "recordId": "${recordId}",
183
+ "mode": "read",
184
+ "enableInitApi": false,
185
+ "className": "",
186
+ "id": "u:94fd141af107",
187
+ "excludedFields": []
188
+ }
189
+ ],
190
+ "id": "u:26838ebced4a"
191
+ },
192
+ {
193
+ "title": "素材预览",
194
+ "disabledOn": "${extension_type === 'doc' || extension_type === 'docx'}",
195
+ "body": [
196
+ {
197
+ "type": "grid",
198
+ "columns": [
197
199
  {
198
- "title": "素材预览",
199
- "disabledOn": "${extension_type === 'doc' || extension_type === 'docx'}",
200
200
  "body": [
201
201
  {
202
202
  "type": "image",
203
+ "id": "u:562456f79aca",
204
+ "enlargeAble": true,
205
+ "editorState": "default",
203
206
  "imageMode": "original",
204
- "enlargeAble": false,
205
207
  "src": "${_display.material.url}",
206
- "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'}"
208
+ "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'}",
209
+ "maxScale": 200,
210
+ "minScale": 50,
211
+ "style": {
212
+ "display": "inline-block"
213
+ }
207
214
  },
208
215
  {
209
216
  "type": "video",
210
217
  "src": "${_display.material.url}",
211
218
  "poster": "",
212
- "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'}"
219
+ "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'}",
220
+ "id": "u:6e8c9cee221a",
221
+ "autoPlay": false,
222
+ "aspectRatio": "auto"
213
223
  }
214
- ]
224
+ ],
225
+ "id": "u:d9b5e8183df1",
226
+ "editorState": "default",
227
+ "md": 8
215
228
  },
216
229
  {
217
- "title": "AI审核意见",
218
230
  "body": [
219
231
  {
220
- "type": "steedos-object-related-listview",
221
- "label": "相关表",
222
- "objectApiName": "${objectName}",
223
- "recordId": "${recordId}",
224
- "id": "u:ef195a810e3c",
225
- "relatedObjectApiName": "pepsico_ai_review"
232
+ "type": "rooms-comments",
233
+ "id": "u:bb3f4d0c23f9",
234
+ "roomId": "objects:pepsico_material:${recordId}",
235
+ "className": "flex flex-col m-3 gap-3",
236
+ "baseUrl": "${context.rootUrl}"
226
237
  }
227
238
  ],
228
- "id": "u:20927ba6359d"
239
+ "id": "u:cebedf70a519"
229
240
  }
230
241
  ],
231
- "id": "u:bb87ebd0f4da"
242
+ "id": "u:67110a222a75",
243
+ "editorState": "default"
232
244
  }
233
245
  ],
234
- "id": "u:7332b423f486",
235
- "editorState": "default",
236
- "md": 8
246
+ "id": "u:5537e5510029"
237
247
  },
238
248
  {
249
+ "title": "AI审核意见",
239
250
  "body": [
240
251
  {
241
- "type": "rooms-comments",
242
- "roomId": "objects:pepsico_material:${recordId}",
243
- "className": "flex flex-col m-3 gap-3",
244
- "baseUrl": "${context.rootUrl}",
245
- "id": "u:474062388b6b"
252
+ "type": "steedos-object-related-listview",
253
+ "label": "相关表",
254
+ "objectApiName": "${objectName}",
255
+ "recordId": "${recordId}",
256
+ "id": "u:5cf0ab3f1327",
257
+ "relatedObjectApiName": "pepsico_ai_review"
246
258
  }
247
259
  ],
248
- "id": "u:8e08e7a009dc"
260
+ "id": "u:cb188ed27c5e"
249
261
  }
250
262
  ],
251
- "id": "u:06f255e91a71",
252
- "editorState": "default"
263
+ "id": "u:2bda634e52ac"
253
264
  }
254
265
  ],
255
266
  "regions": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos-labs/content-compliance",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "内容审核系统",
5
5
  "main": "package.service.js",
6
6
  "scripts": {