@steedos-widgets/amis-lib 6.10.21 → 6.10.22
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 +2 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +2 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -20008,11 +20008,6 @@ const getRelatedRecords = async (instance)=>{
|
|
|
20008
20008
|
|
|
20009
20009
|
// TODO delete button
|
|
20010
20010
|
const getRelatedInstances = async (instance)=>{
|
|
20011
|
-
// if(!instance.related_instances || isEmpty(instance.related_instances)){
|
|
20012
|
-
// return ;
|
|
20013
|
-
// }
|
|
20014
|
-
const spaceId = getSteedosAuth$1().tenantId;
|
|
20015
|
-
|
|
20016
20011
|
return {
|
|
20017
20012
|
"type": "list",
|
|
20018
20013
|
"name": "relatedInstances",
|
|
@@ -20023,7 +20018,7 @@ const getRelatedInstances = async (instance)=>{
|
|
|
20023
20018
|
{
|
|
20024
20019
|
type: 'tpl',
|
|
20025
20020
|
inline: true,
|
|
20026
|
-
tpl: `<a href='
|
|
20021
|
+
tpl: `<a href='/app/approve_workflow/page/page_instance_view?recordId=\${_id}' target='_blank'>\${name}</a>`
|
|
20027
20022
|
}
|
|
20028
20023
|
],
|
|
20029
20024
|
"actions": [
|
|
@@ -21085,7 +21080,7 @@ const getFlowFormSchema = async (instance, box) => {
|
|
|
21085
21080
|
submitEvents = onEvent?.submit?.actions || [];
|
|
21086
21081
|
nextStepInitedEvents = onEvent?.nextStepInited?.actions || [];
|
|
21087
21082
|
nextStepChangeEvents = onEvent?.nextStepChange?.actions || [];
|
|
21088
|
-
nextStepUserChangeEvents = onEvent?.nextStepUserChange
|
|
21083
|
+
nextStepUserChangeEvents = onEvent?.nextStepUserChange?.actions || [];
|
|
21089
21084
|
}
|
|
21090
21085
|
// if (box == 'inbox' || box == 'draft') {
|
|
21091
21086
|
// TODO: 临时去掉 AutoOpenApproveDrawer 功能因为测试到性能问题
|