@steedos/standard-object-database 2.6.3 → 2.6.4-beta.10

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.
@@ -192,10 +192,13 @@ fields:
192
192
  label: Before Edit
193
193
  form.afterEdit:
194
194
  label: After Edit
195
+ compactLayouts:
196
+ label: Highlight Fields
195
197
  groups:
196
198
  external_data_source: External data source
197
199
  switch: Switch
198
200
  script: Script
201
+ compact_layouts: Highlight Fields
199
202
  listviews:
200
203
  all:
201
204
  label: All Objects
@@ -191,10 +191,13 @@ fields:
191
191
  label: 编辑页面显示之前
192
192
  form.afterEdit:
193
193
  label: 编辑页面显示之后
194
+ compactLayouts:
195
+ label: 高亮字段
194
196
  groups:
195
197
  external_data_source: 外部数据源
196
198
  switch: 功能开关
197
199
  script: 脚本
200
+ compact_layouts: 高亮字段
198
201
  listviews:
199
202
  all:
200
203
  label: 全部
@@ -441,6 +441,7 @@ fields:
441
441
  required: "{{formData.type === 'select' ? true: false}}"
442
442
  sort_no: 280
443
443
  amis:
444
+ showIndex: true
444
445
  disabledOn: "${is_system == true}"
445
446
  options.$:
446
447
  label: Options
@@ -275,6 +275,40 @@ fields:
275
275
  omit: true
276
276
  disabled: true
277
277
  readonly: true
278
+ compactLayouts:
279
+ label: 高亮字段
280
+ type: lookup
281
+ multiple: true
282
+ reference_to: object_fields
283
+ reference_to_field: name
284
+ group: compact_layouts
285
+ is_wide: true
286
+ depend_on:
287
+ - name
288
+ filtersFunction: !<tag:yaml.org,2002:js/function> |-
289
+ function(filters, values){
290
+ return ['object', '=', values.name]
291
+ }
292
+ amis:
293
+ {
294
+ "type": "transfer",
295
+ "options": [],
296
+ "multiple": true,
297
+ "required": true,
298
+ "placeholder": "-",
299
+ "className": "col-span-2 m-0 w-full",
300
+ "searchable": true,
301
+ "sortable": true,
302
+ "labelField": "label",
303
+ "valueField": "value",
304
+ "source": {
305
+ "method": "get",
306
+ "url": "/service/api/amis-metadata-objects/objects/${name}/fields/options",
307
+ },
308
+ "joinValues": false,
309
+ "extractValue": true,
310
+ "name": "compactLayouts",
311
+ }
278
312
  form:
279
313
  type: object
280
314
  label: Form Events
@@ -18,6 +18,7 @@
18
18
  "type": "steedos-object-form",
19
19
  "label": "对象表单",
20
20
  "mode": "read",
21
+ "enableTabs": true,
21
22
  "objectApiName": "${objectName}",
22
23
  "labelAlign": "left",
23
24
  "id": "u:4eb5fa6f6fad",
@@ -3,6 +3,7 @@
3
3
  "body": [
4
4
  {
5
5
  "type": "steedos-object-form",
6
+ "debug": false,
6
7
  "label": "对象表单",
7
8
  "objectApiName": "objects",
8
9
  "recordId": "${recordId}",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-object-database",
3
- "version": "2.6.3",
3
+ "version": "2.6.4-beta.10",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -12,9 +12,9 @@
12
12
  "description": "steedos package",
13
13
  "dependencies": {
14
14
  "@steedos-widgets/amis-lib": "^1.0.22",
15
- "@steedos/standard-objects": "2.6.3"
15
+ "@steedos/standard-objects": "2.6.4-beta.10"
16
16
  },
17
17
  "repository": {},
18
18
  "license": "MIT",
19
- "gitHead": "2b56101256aa6fa0069d86bd373e4e368bd7d073"
19
+ "gitHead": "f99ac70c8ea1c2f0a21319bbfd3541375c65e867"
20
20
  }