@steedos/standard-object-database 2.5.20-beta.21 → 2.5.20-beta.23

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.
@@ -164,8 +164,23 @@ fields:
164
164
  description:
165
165
  is_enable:
166
166
  label: Enable
167
+ help:
168
+ description:
169
+ requestAdaptor:
170
+ label: Request Adaptor
171
+ help: "Function signature: (api)=>api, the data is in api.data, and after modification, the api object is returned."
172
+ description:
173
+ adaptor:
174
+ label: Adaptor
175
+ help: "Function signature: (payload, response, api)=>payload"
176
+ description:
167
177
  groups:
168
178
  advanced: Advanced
179
+ sort: Sort
180
+ filters: Filters
181
+ mobile: Mobile
182
+ search_term: Search Term
183
+ data_interface: Data Interface
169
184
  listviews:
170
185
  all:
171
186
  label: All List View
@@ -161,8 +161,21 @@ fields:
161
161
  label: 使用 amis自定义列表
162
162
  amis_schema:
163
163
  label: Amis Schema
164
+ requestAdaptor:
165
+ label: 发送适配器
166
+ help: "函数签名:(api) => api, 数据在 api.data 中,修改后返回 api 对象。"
167
+ description:
168
+ adaptor:
169
+ label: 接收适配器
170
+ help: "函数签名: (payload, response, api) => payload"
171
+ description:
164
172
  groups:
165
173
  advanced: 高级
174
+ sort: 分类
175
+ filters: 过滤
176
+ mobile: 手机端
177
+ search_term: 搜索项
178
+ data_interface: 数据接口
166
179
  listviews:
167
180
  all:
168
181
  label: 全部
@@ -64,6 +64,23 @@ fields:
64
64
  value: infinite
65
65
  defaultValue: '"standard"'
66
66
  hidden: true
67
+ sort_no:
68
+ label: Sort no
69
+ type: number
70
+ scale: 0
71
+ defaultValue: 100
72
+ is_enable:
73
+ type: toggle
74
+ label: Enable
75
+ defaultValue: true
76
+ crud_mode:
77
+ label: 显示模式
78
+ type: select
79
+ options:
80
+ - label: 表格
81
+ value: table
82
+ - label: 卡片
83
+ value: cards
67
84
  columns:
68
85
  label: Columns
69
86
  type: grid
@@ -95,6 +112,7 @@ fields:
95
112
  type: lookup
96
113
  multiple: true
97
114
  is_wide: true
115
+ hidden: true
98
116
  depend_on:
99
117
  - object_name
100
118
  reference_to: object_fields
@@ -105,6 +123,7 @@ fields:
105
123
  is_wide: true
106
124
  depend_on:
107
125
  - object_name
126
+ group: sort
108
127
  sort.$:
109
128
  label: Order
110
129
  blackbox: true
@@ -129,9 +148,9 @@ fields:
129
148
  is_wide: true
130
149
  hidden: false
131
150
  readonly: false
132
- visible_on: "{{global.mode ==='read' ? true : false}}"
133
151
  depend_on:
134
152
  - object_name
153
+ group: filters
135
154
  # filters.$:
136
155
  # label: Filter
137
156
  # blackbox: true
@@ -192,6 +211,7 @@ fields:
192
211
  is_wide: true
193
212
  depend_on:
194
213
  - object_name
214
+ group: mobile
195
215
  mobile_columns.$:
196
216
  label: Column
197
217
  blackbox: true
@@ -209,6 +229,7 @@ fields:
209
229
  is_wide: true
210
230
  depend_on:
211
231
  - object_name
232
+ group: search_term
212
233
  searchable_fields.$:
213
234
  label: Column
214
235
  blackbox: true
@@ -220,23 +241,6 @@ fields:
220
241
  is_wide: false
221
242
  reference_to: object_fields
222
243
  reference_to_field: name
223
- sort_no:
224
- label: Sort no
225
- type: number
226
- scale: 0
227
- defaultValue: 100
228
- is_enable:
229
- type: boolean
230
- label: Enable
231
- defaultValue: true
232
- crud_mode:
233
- label: 显示模式
234
- type: select
235
- options:
236
- - label: 表格
237
- value: table
238
- - label: 卡片
239
- value: cards
240
244
  is_system:
241
245
  type: boolean
242
246
  label: System
@@ -257,20 +261,26 @@ fields:
257
261
  required: false
258
262
  is_wide: true
259
263
  # visible_on: "{{formData.enable_amis_schema}}"
264
+ visible_on: "{{false}}"
260
265
  requestAdaptor:
261
- label: 发送适配器
266
+ label: Request Adaptor
262
267
  type: code
263
268
  language: "javascript"
264
269
  is_wide: true
265
270
  inlineHelpText: "函数签名:(api) => api, 数据在 api.data 中,修改后返回 api 对象。"
266
- group: 数据接口
271
+ group: data_interface
272
+ # amis:
273
+ # description: "函数签名:(api) => api, 数据在 api.data 中,修改后返回 api 对象。"
267
274
  adaptor:
268
- label: 接收适配器
275
+ label: Adaptor
269
276
  type: code
270
277
  language: "javascript"
271
278
  is_wide: true
272
279
  inlineHelpText: "函数签名: (payload, response, api) => payload"
273
- group: 数据接口
280
+ group: data_interface
281
+ # amis:
282
+ # description: "函数签名: (payload, response, api) => payload"
283
+
274
284
  paging:
275
285
  enabled: false
276
286
  list_views:
@@ -321,4 +331,4 @@ permission_set:
321
331
  allowEdit: true
322
332
  allowRead: false
323
333
  modifyAllRecords: true
324
- viewAllRecords: true
334
+ viewAllRecords: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-object-database",
3
- "version": "2.5.20-beta.21",
3
+ "version": "2.5.20-beta.23",
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": "3c111fed5abe090d3721bd5b2f72fa746a2fd692"
18
+ "gitHead": "8003225b60a5d893df5b8bb61a1f2025e1e06206"
19
19
  }