@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/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +11 -14
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +11 -14
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +11 -14
- package/dist/index.umd.js.map +1 -1
- package/dist/types/schema/standard_edit.amis.d.ts +0 -4
- package/dist/types/schema/standard_new.amis.d.ts +1 -0
- package/dist/types/standard/button.d.ts +1 -4
- package/package.json +2 -2
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:
|
|
1367
|
-
* @LastEditTime: 2023-03-
|
|
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-
|
|
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-
|
|
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.${
|
|
1606
|
+
"eventName": "@data.changed.${_master.objectName}"
|
|
1610
1607
|
},
|
|
1611
1608
|
"data": {
|
|
1612
|
-
"objectName": "${
|
|
1609
|
+
"objectName": "${_master.objectName}"
|
|
1613
1610
|
},
|
|
1614
|
-
"expression": "${
|
|
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.${
|
|
5850
|
+
"eventName": "@data.changed.${_master.objectName}"
|
|
5854
5851
|
},
|
|
5855
5852
|
"data": {
|
|
5856
|
-
"objectName": "${
|
|
5853
|
+
"objectName": "${_master.objectName}"
|
|
5857
5854
|
},
|
|
5858
|
-
"expression": "${
|
|
5855
|
+
"expression": "${_master.objectName}"
|
|
5859
5856
|
}
|
|
5860
5857
|
]
|
|
5861
5858
|
}
|