@steedos/standard-object-database 2.5.13-beta.8 → 2.5.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.
@@ -100,6 +100,10 @@ fields:
100
100
  label: Dependent Fields
101
101
  help: If the value of the dependent field changes, the option value of the current field will also change accordingly。
102
102
  description:
103
+ create:
104
+ label: Show New Button
105
+ help:
106
+ description:
103
107
  reference_to_field:
104
108
  label: Reference to field
105
109
  help: The value of the associated object saved to the current object field; For example, after object A is associated with object B, when A1 record is associated with B1 record, B1 record will be stored by default_ Save the ID in the A1 record. If the foreign key field is modified, the 'foreign key field' will be replaced_ Store the ID in the A1 record.
@@ -93,6 +93,10 @@ fields:
93
93
  label: 依赖的字段
94
94
  help: 联动字段;例如:A是B依赖的字段,当A字段值发生改变,B字段选项值会随之改变。
95
95
  description:
96
+ create:
97
+ label: 是否显示新建按钮
98
+ help:
99
+ description:
96
100
  reference_to_field:
97
101
  label: 外键字段
98
102
  help: 关联的对象保存到当前对象字段的值;例如:A对象关联B对象后,当A1记录关联了B1记录,默认会存B1记录的_id存到A1记录中。如果修改了外键字段后,会将“外键字段”替换_id存储到A1记录中。
@@ -248,6 +248,12 @@ fields:
248
248
  }
249
249
  }
250
250
  sort_no: 445
251
+ create:
252
+ type: boolean
253
+ label: 是否显示新建按钮
254
+ defaultValue: true
255
+ visible_on: "{{['lookup'].indexOf(formData.type) > -1 ? true: false}}"
256
+ sort_no: 185
251
257
  reference_to_field:
252
258
  type: lookup
253
259
  group: Advanced
@@ -87,6 +87,8 @@ fields:
87
87
  hidden: false
88
88
  field_groups.$.group_name:
89
89
  type: text
90
+ field_groups.$.visible_on:
91
+ type: text
90
92
  fields:
91
93
  type: grid
92
94
  is_wide: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-object-database",
3
- "version": "2.5.13-beta.8",
3
+ "version": "2.5.13",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -15,5 +15,5 @@
15
15
  },
16
16
  "repository": {},
17
17
  "license": "MIT",
18
- "gitHead": "237713f7ea837701bc9769d540db38812ba0e852"
18
+ "gitHead": "70670f8b8ea0aad61e73a3258b5c8aaf6139c682"
19
19
  }