@steedos-widgets/amis-lib 1.2.6-beta.10 → 1.2.6-beta.11
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 +6 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +6 -4
- package/dist/index.umd.js.map +1 -1
- package/dist/types/schema/standard_new.amis.d.ts +1 -0
- package/dist/types/standard/button.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -1394,8 +1394,8 @@
|
|
|
1394
1394
|
/*
|
|
1395
1395
|
* @Author: baozhoutao@steedos.com
|
|
1396
1396
|
* @Date: 2022-11-01 15:51:00
|
|
1397
|
-
* @LastEditors:
|
|
1398
|
-
* @LastEditTime: 2023-04-
|
|
1397
|
+
* @LastEditors: Please set LastEditors
|
|
1398
|
+
* @LastEditTime: 2023-04-26 11:52:04
|
|
1399
1399
|
* @Description:
|
|
1400
1400
|
*/
|
|
1401
1401
|
|
|
@@ -1487,7 +1487,8 @@
|
|
|
1487
1487
|
"schemaApi": {
|
|
1488
1488
|
"data": {
|
|
1489
1489
|
"isLookup": "${isLookup}",
|
|
1490
|
-
"_master": "${_master}"
|
|
1490
|
+
"_master": "${_master}",
|
|
1491
|
+
"url": "${context.rootUrl}/api/pageSchema/form?app=${appId}&objectApiName=${objectName}&formFactor=${formFactor}"
|
|
1491
1492
|
},
|
|
1492
1493
|
"url": "${context.rootUrl}/api/pageSchema/form?app=${appId}&objectApiName=${objectName}&formFactor=${formFactor}",
|
|
1493
1494
|
"method": "get",
|
|
@@ -1496,7 +1497,7 @@
|
|
|
1496
1497
|
"headers": {
|
|
1497
1498
|
"Authorization": "Bearer ${context.tenantId},${context.authToken}"
|
|
1498
1499
|
},
|
|
1499
|
-
"requestAdaptor": "",
|
|
1500
|
+
"requestAdaptor": "return { ...api, url: api.body.url }",
|
|
1500
1501
|
"adaptor": schemaApiAdaptor
|
|
1501
1502
|
}
|
|
1502
1503
|
}
|
|
@@ -3437,6 +3438,7 @@ setTimeout(()=>{
|
|
|
3437
3438
|
`;
|
|
3438
3439
|
return [
|
|
3439
3440
|
// "bulkActions",
|
|
3441
|
+
...(headerToolbarItems || []),
|
|
3440
3442
|
hiddenCount ? {} :{
|
|
3441
3443
|
"type": "tpl",
|
|
3442
3444
|
"tpl": "${count} 个项目"
|