@steedos-widgets/amis-lib 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.
package/dist/index.esm.js CHANGED
@@ -1363,8 +1363,8 @@ var config = {
1363
1363
  /*
1364
1364
  * @Author: baozhoutao@steedos.com
1365
1365
  * @Date: 2022-11-01 15:51:00
1366
- * @LastEditors: 廖大雪 2291335922@qq.com
1367
- * @LastEditTime: 2023-03-09 15:16:10
1366
+ * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
1367
+ * @LastEditTime: 2023-03-27 15:42:24
1368
1368
  * @Description:
1369
1369
  */
1370
1370
 
@@ -1404,6 +1404,7 @@ const getSchema$4 = async (uiSchema, ctx) => {
1404
1404
  "type": "dialog",
1405
1405
  "data": {
1406
1406
  "$master": "$$",
1407
+ "_master": "${_master}",
1407
1408
  "defaultData": "${defaultData}",
1408
1409
  "appId": "${appId}",
1409
1410
  "objectName": "${objectName}",
@@ -1476,7 +1477,7 @@ async function getPage({type, pageId = '', appId, objectName = '', recordId = ''
1476
1477
  * @Author: baozhoutao@steedos.com
1477
1478
  * @Date: 2022-11-01 15:49:58
1478
1479
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
1479
- * @LastEditTime: 2023-03-25 17:22:00
1480
+ * @LastEditTime: 2023-03-27 11:36:49
1480
1481
  * @Description:
1481
1482
  */
1482
1483
 
@@ -1520,10 +1521,6 @@ const getSchema$3 = async (uiSchema, ctx) => {
1520
1521
  actionType: "dialog",
1521
1522
  dialog: {
1522
1523
  type: "dialog",
1523
- "data": {
1524
- "&": "$$",
1525
- "$master": "$$"
1526
- },
1527
1524
  title: title,
1528
1525
  bodyClassName: "",
1529
1526
  body: [formSchema],
@@ -1550,7 +1547,7 @@ const getSchema$3 = async (uiSchema, ctx) => {
1550
1547
  * @Author: 殷亮辉 yinlianghui@hotoa.com
1551
1548
  * @Date: 2023-03-22 09:31:21
1552
1549
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
1553
- * @LastEditTime: 2023-03-25 22:41:27
1550
+ * @LastEditTime: 2023-03-27 16:03:34
1554
1551
  */
1555
1552
  const getSchema$2 = (uiSchema)=>{
1556
1553
  return {
@@ -1606,12 +1603,12 @@ const getSchema$2 = (uiSchema)=>{
1606
1603
  {
1607
1604
  "actionType": "broadcast",
1608
1605
  "args": {
1609
- "eventName": "@data.changed.${masterObjectName}"
1606
+ "eventName": "@data.changed.${_master.objectName}"
1610
1607
  },
1611
1608
  "data": {
1612
- "objectName": "${masterObjectName}"
1609
+ "objectName": "${_master.objectName}"
1613
1610
  },
1614
- "expression": "${masterObjectName}"
1611
+ "expression": "${_master.objectName}"
1615
1612
  }
1616
1613
  ]
1617
1614
  }
@@ -5850,12 +5847,12 @@ async function getObjectForm(objectSchema, ctx){
5850
5847
  {
5851
5848
  "actionType": "broadcast",
5852
5849
  "args": {
5853
- "eventName": "@data.changed.${$master.masterObjectName}"
5850
+ "eventName": "@data.changed.${_master.objectName}"
5854
5851
  },
5855
5852
  "data": {
5856
- "objectName": "${$master.masterObjectName}"
5853
+ "objectName": "${_master.objectName}"
5857
5854
  },
5858
- "expression": "${$master.masterObjectName}"
5855
+ "expression": "${_master.objectName}"
5859
5856
  }
5860
5857
  ]
5861
5858
  }