@steedos-widgets/amis-lib 1.3.0-beta.4 → 1.3.0-beta.6

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
@@ -2437,7 +2437,7 @@ const getSchema$2 = (uiSchema) => {
2437
2437
  * @Author: baozhoutao@steedos.com
2438
2438
  * @Date: 2022-11-07 17:00:38
2439
2439
  * @LastEditors: baozhoutao@steedos.com
2440
- * @LastEditTime: 2022-11-07 17:12:20
2440
+ * @LastEditTime: 2023-08-24 16:44:42
2441
2441
  * @Description:
2442
2442
  */
2443
2443
 
@@ -2457,7 +2457,7 @@ const getSchema$1 = (uiSchema)=>{
2457
2457
  "componentId": "",
2458
2458
  "args": {
2459
2459
  "blank": false,
2460
- "url": "/app/${app_id}/${objectName}/view/${_id}"
2460
+ "url": "/app/${app_id}/${objectName}/view/${_id}?side_object=${objectName}&side_listview_id=${listName}"
2461
2461
  },
2462
2462
  "actionType": "link"
2463
2463
  }
@@ -4043,7 +4043,7 @@ async function getObjectRecordDetailHeader(objectSchema, recordId, options) {
4043
4043
  "actions": [
4044
4044
  {
4045
4045
  "actionType": "custom",
4046
- "script": "Steedos.goBack()"
4046
+ "script": "window.goBack()"
4047
4047
  }
4048
4048
  ]
4049
4049
  }
@@ -8312,6 +8312,7 @@ async function getTableOperation(ctx){
8312
8312
 
8313
8313
  async function getTableSchema$1(fields, options){
8314
8314
  let isLookup = options && options.isLookup;
8315
+ let hiddenColumnOperation = options && options.hiddenColumnOperation;
8315
8316
  if(!options){
8316
8317
  options = {};
8317
8318
  }
@@ -8321,7 +8322,7 @@ async function getTableSchema$1(fields, options){
8321
8322
  }
8322
8323
  else {
8323
8324
  columns = await getTableColumns(fields, options);
8324
- if(!isLookup){
8325
+ if(!isLookup && !hiddenColumnOperation){
8325
8326
  columns.push(await getTableOperation(options));
8326
8327
  }
8327
8328
  }
@@ -10170,7 +10171,7 @@ async function getObjectDetail(objectSchema, recordId, ctx){
10170
10171
  // "blank": false
10171
10172
  // },
10172
10173
  "actionType": "custom",
10173
- "script": "Steedos.goBack()",
10174
+ "script": "window.goBack()",
10174
10175
  "expression": "this.__deletedRecord === true"
10175
10176
  }
10176
10177
  ]