@steedos-widgets/amis-lib 1.2.28 → 1.2.31
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.
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +492 -412
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +492 -413
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +492 -412
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/fields/lookup.d.ts +6 -0
- package/dist/types/lib/converter/amis/header.d.ts +6 -16
- package/package.json +2 -2
|
@@ -323,3 +323,9 @@ export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise
|
|
|
323
323
|
joinValues: boolean;
|
|
324
324
|
extractValue: boolean;
|
|
325
325
|
}>;
|
|
326
|
+
export function getReferenceTo(field: any): Promise<{
|
|
327
|
+
objectName: any;
|
|
328
|
+
valueField: any;
|
|
329
|
+
labelField: any;
|
|
330
|
+
NAME_FIELD_KEY: any;
|
|
331
|
+
}>;
|
|
@@ -66,13 +66,7 @@ export function getObjectListHeaderFirstLine(objectSchema: any, listViewName: an
|
|
|
66
66
|
className: string;
|
|
67
67
|
}[] | {
|
|
68
68
|
type: string;
|
|
69
|
-
icon: string;
|
|
70
|
-
* 点击记录详细界面相关表顶部标题进入的相关表页面的顶部amisSchema
|
|
71
|
-
* @param {*} objectSchema
|
|
72
|
-
* @param {*} recordId
|
|
73
|
-
* @param {*} relatedObjectName
|
|
74
|
-
* @returns amisSchema
|
|
75
|
-
*/
|
|
69
|
+
icon: string;
|
|
76
70
|
onEvent: {
|
|
77
71
|
click: {
|
|
78
72
|
actions: {
|
|
@@ -109,7 +103,8 @@ export function getObjectListHeaderFirstLine(objectSchema: any, listViewName: an
|
|
|
109
103
|
};
|
|
110
104
|
};
|
|
111
105
|
};
|
|
112
|
-
|
|
106
|
+
visibleOn: string;
|
|
107
|
+
}[];
|
|
113
108
|
md: string;
|
|
114
109
|
valign: string;
|
|
115
110
|
})[];
|
|
@@ -443,13 +438,7 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
443
438
|
className: string;
|
|
444
439
|
}[] | {
|
|
445
440
|
type: string;
|
|
446
|
-
icon: string;
|
|
447
|
-
* 点击记录详细界面相关表顶部标题进入的相关表页面的顶部amisSchema
|
|
448
|
-
* @param {*} objectSchema
|
|
449
|
-
* @param {*} recordId
|
|
450
|
-
* @param {*} relatedObjectName
|
|
451
|
-
* @returns amisSchema
|
|
452
|
-
*/
|
|
441
|
+
icon: string;
|
|
453
442
|
onEvent: {
|
|
454
443
|
click: {
|
|
455
444
|
actions: {
|
|
@@ -486,7 +475,8 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
486
475
|
};
|
|
487
476
|
};
|
|
488
477
|
};
|
|
489
|
-
|
|
478
|
+
visibleOn: string;
|
|
479
|
+
}[];
|
|
490
480
|
md: string;
|
|
491
481
|
valign: string;
|
|
492
482
|
})[];
|
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.
|
|
4
|
+
"version": "1.2.31",
|
|
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": "
|
|
64
|
+
"gitHead": "ded2cfcbc606e889d3b67da748f93f5162ceabb5"
|
|
65
65
|
}
|