@steedos-widgets/amis-object 1.1.2 → 1.1.3-beta.10

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.
@@ -1750,8 +1750,8 @@ var config = {
1750
1750
  /*
1751
1751
  * @Author: baozhoutao@steedos.com
1752
1752
  * @Date: 2022-11-01 15:51:00
1753
- * @LastEditors: 廖大雪 2291335922@qq.com
1754
- * @LastEditTime: 2023-03-09 15:16:10
1753
+ * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
1754
+ * @LastEditTime: 2023-03-27 15:42:24
1755
1755
  * @Description:
1756
1756
  */
1757
1757
 
@@ -1791,6 +1791,7 @@ const getSchema$4 = async (uiSchema, ctx) => {
1791
1791
  "type": "dialog",
1792
1792
  "data": {
1793
1793
  "$master": "$$",
1794
+ "_master": "${_master}",
1794
1795
  "defaultData": "${defaultData}",
1795
1796
  "appId": "${appId}",
1796
1797
  "objectName": "${objectName}",
@@ -1863,7 +1864,7 @@ async function getPage({type, pageId = '', appId, objectName = '', recordId = ''
1863
1864
  * @Author: baozhoutao@steedos.com
1864
1865
  * @Date: 2022-11-01 15:49:58
1865
1866
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
1866
- * @LastEditTime: 2023-03-25 17:22:00
1867
+ * @LastEditTime: 2023-03-27 11:36:49
1867
1868
  * @Description:
1868
1869
  */
1869
1870
 
@@ -1907,10 +1908,6 @@ const getSchema$3 = async (uiSchema, ctx) => {
1907
1908
  actionType: "dialog",
1908
1909
  dialog: {
1909
1910
  type: "dialog",
1910
- "data": {
1911
- "&": "$$",
1912
- "$master": "$$"
1913
- },
1914
1911
  title: title,
1915
1912
  bodyClassName: "",
1916
1913
  body: [formSchema],
@@ -1937,7 +1934,7 @@ const getSchema$3 = async (uiSchema, ctx) => {
1937
1934
  * @Author: 殷亮辉 yinlianghui@hotoa.com
1938
1935
  * @Date: 2023-03-22 09:31:21
1939
1936
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
1940
- * @LastEditTime: 2023-03-25 22:41:27
1937
+ * @LastEditTime: 2023-03-27 16:03:34
1941
1938
  */
1942
1939
  const getSchema$2 = (uiSchema)=>{
1943
1940
  return {
@@ -1993,12 +1990,12 @@ const getSchema$2 = (uiSchema)=>{
1993
1990
  {
1994
1991
  "actionType": "broadcast",
1995
1992
  "args": {
1996
- "eventName": "@data.changed.${masterObjectName}"
1993
+ "eventName": "@data.changed.${_master.objectName}"
1997
1994
  },
1998
1995
  "data": {
1999
- "objectName": "${masterObjectName}"
1996
+ "objectName": "${_master.objectName}"
2000
1997
  },
2001
- "expression": "${masterObjectName}"
1998
+ "expression": "${_master.objectName}"
2002
1999
  }
2003
2000
  ]
2004
2001
  }
@@ -6237,12 +6234,12 @@ async function getObjectForm(objectSchema, ctx){
6237
6234
  {
6238
6235
  "actionType": "broadcast",
6239
6236
  "args": {
6240
- "eventName": "@data.changed.${$master.masterObjectName}"
6237
+ "eventName": "@data.changed.${_master.objectName}"
6241
6238
  },
6242
6239
  "data": {
6243
- "objectName": "${$master.masterObjectName}"
6240
+ "objectName": "${_master.objectName}"
6244
6241
  },
6245
- "expression": "${$master.masterObjectName}"
6242
+ "expression": "${_master.objectName}"
6246
6243
  }
6247
6244
  ]
6248
6245
  }