@steedos-widgets/amis-lib 1.2.11 → 1.2.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.
@@ -573,6 +573,11 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
573
573
  }[] | {
574
574
  type: string;
575
575
  icon: string;
576
+ /**
577
+ * 记录详细界面中相关表顶部头amisSchema
578
+ * @param {*} relatedObjectSchema 相关对象UISchema
579
+ * @returns amisSchema
580
+ */
576
581
  onEvent: {
577
582
  click: {
578
583
  actions: {
@@ -98,13 +98,10 @@ export function getObjectDetail(objectSchema: any, recordId: any, ctx: any): Pro
98
98
  actionType: string;
99
99
  componentId: string;
100
100
  expression: string;
101
- args?: undefined;
101
+ script?: undefined;
102
102
  } | {
103
- args: {
104
- url: string;
105
- blank: boolean;
106
- };
107
103
  actionType: string;
104
+ script: string;
108
105
  expression: string;
109
106
  componentId?: undefined;
110
107
  })[];
@@ -97,13 +97,10 @@ export function getViewSchema(objectName: any, recordId: any, ctx: any): Promise
97
97
  actionType: string;
98
98
  componentId: string;
99
99
  expression: string;
100
- args?: undefined;
100
+ script?: undefined;
101
101
  } | {
102
- args: {
103
- url: string;
104
- blank: boolean;
105
- };
106
102
  actionType: string;
103
+ script: string;
107
104
  expression: string;
108
105
  componentId?: undefined;
109
106
  })[];
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.11",
4
+ "version": "1.2.12",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -59,5 +59,5 @@
59
59
  "dependencies": {
60
60
  "lodash": "^4.17.21"
61
61
  },
62
- "gitHead": "8a63835b4b7f3bba4930be5671400a2695b479de"
62
+ "gitHead": "074ce8d2a7565d609d6421964dd7326ad7d377cc"
63
63
  }