@steedos-widgets/amis-lib 1.2.35-beta.1 → 1.2.35

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.
@@ -1,4 +1,4 @@
1
- export function getFieldsTemplate(fields: any, expand: any): Promise<string>;
1
+ export function getFieldsTemplate(fields: any, display: any): Promise<string>;
2
2
  export function getRecordPermissionsTemplate(): string;
3
3
  export function getFindOneQuery(object: any, recordId: any, fields: any, options: any): Promise<{
4
4
  query: string;
@@ -231,7 +231,16 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any, opti
231
231
  type: string;
232
232
  columns: ({
233
233
  body: ({
234
- type: string;
234
+ type: string; /**
235
+ * localListViewProps规范来自crud请求api中api.data.$self参数值的。
236
+ * 比如:{"perPage":20,"page":1,"__searchable__name":"7","__searchable__between__n1__c":[null,null],"filter":[["name","contains","a"]]}
237
+ * __searchable__...:顶部放大镜搜索条件
238
+ * filter:右侧过滤器
239
+ * perPage:每页条数
240
+ * page:当前页码
241
+ * orderBy:排序字段
242
+ * orderDir:排序方向
243
+ */
235
244
  onEvent: {
236
245
  "@history_paths.changed": {
237
246
  actions: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "1.2.35-beta.1",
4
+ "version": "1.2.35",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -61,5 +61,5 @@
61
61
  "lodash": "^4.17.21",
62
62
  "react-i18next": "12.3.1"
63
63
  },
64
- "gitHead": "8f3d7b9212ada8b495ab48b9332a17f16c4b6203"
64
+ "gitHead": "7e23bd6d019c6f9147f6dd4bae22d228dd2f8075"
65
65
  }