@steedos-widgets/amis-lib 6.3.0-beta.11 → 6.3.0-beta.12
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 +108 -87
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +108 -87
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +229 -201
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/graphql.d.ts +1 -1
- package/dist/types/lib/converter/amis/header.d.ts +8 -1
- package/dist/types/lib/objects.d.ts +1 -0
- package/dist/types/schema/standard_edit.amis.d.ts +6 -0
- package/dist/types/standard/button.d.ts +6 -0
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function getFieldsTemplate(fields: any, display: any): Promise<string>;
|
|
1
|
+
export function getFieldsTemplate(object: any, 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;
|
|
@@ -508,6 +508,7 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
|
|
|
508
508
|
columns: ({
|
|
509
509
|
body: ({
|
|
510
510
|
type: string;
|
|
511
|
+
className: string;
|
|
511
512
|
onEvent: {
|
|
512
513
|
"@history_paths.changed": {
|
|
513
514
|
actions: {
|
|
@@ -674,7 +675,13 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
674
675
|
btnClassName: string;
|
|
675
676
|
size: string;
|
|
676
677
|
}[];
|
|
677
|
-
position: string;
|
|
678
|
+
position: string; /**
|
|
679
|
+
* 点击记录详细界面相关表顶部标题进入的相关表页面的顶部amisSchema
|
|
680
|
+
* @param {*} objectSchema
|
|
681
|
+
* @param {*} recordId
|
|
682
|
+
* @param {*} relatedObjectName
|
|
683
|
+
* @returns amisSchema
|
|
684
|
+
*/
|
|
678
685
|
closeOnOutside: boolean;
|
|
679
686
|
resizable: boolean;
|
|
680
687
|
className: string;
|
|
@@ -24,6 +24,12 @@ export function getSchema(uiSchema: any, ctx: any): Promise<{
|
|
|
24
24
|
closeOnEsc: boolean;
|
|
25
25
|
closeOnOutside: boolean;
|
|
26
26
|
showCloseButton: boolean;
|
|
27
|
+
data: {
|
|
28
|
+
"&": string;
|
|
29
|
+
_master: string;
|
|
30
|
+
"_master._isRelated": string;
|
|
31
|
+
"_master.relatedKey": string;
|
|
32
|
+
};
|
|
27
33
|
size: string;
|
|
28
34
|
onEvent: {
|
|
29
35
|
cancel: {
|
|
@@ -150,6 +150,12 @@ export namespace StandardButtons {
|
|
|
150
150
|
closeOnEsc: boolean;
|
|
151
151
|
closeOnOutside: boolean;
|
|
152
152
|
showCloseButton: boolean;
|
|
153
|
+
data: {
|
|
154
|
+
"&": string;
|
|
155
|
+
_master: string;
|
|
156
|
+
"_master._isRelated": string;
|
|
157
|
+
"_master.relatedKey": string;
|
|
158
|
+
};
|
|
153
159
|
size: string;
|
|
154
160
|
onEvent: {
|
|
155
161
|
cancel: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "6.3.0-beta.
|
|
4
|
+
"version": "6.3.0-beta.12",
|
|
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": "32bda6c188edebe8f497731d6ee0b468b1a2fe25"
|
|
65
65
|
}
|