@steedos-widgets/amis-lib 3.6.13 → 3.6.14
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 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -1072,7 +1072,7 @@ function getRecordPermissionsQuery(object, recordId, options){
|
|
|
1072
1072
|
function getApi$2 (isMobile){
|
|
1073
1073
|
if(isMobile);else {
|
|
1074
1074
|
// return __meteor_runtime_config__.ROOT_URL_PATH_PREFIX + "/graphql"
|
|
1075
|
-
return `\${context.rootUrl}/graphql?reload=\${additionalFilters}`
|
|
1075
|
+
return `\${context.rootUrl}/graphql?reload=\${additionalFilters|join}`
|
|
1076
1076
|
}
|
|
1077
1077
|
}
|
|
1078
1078
|
|
|
@@ -8283,6 +8283,10 @@ function getObjectHeaderQuickSearchBox(mainObject, fields, formFactor, { isLooku
|
|
|
8283
8283
|
// const scope = event.context.scoped;
|
|
8284
8284
|
// 如果点击过顶部搜索栏表单的取消按钮,会把此处event.data.__super.__super.__super中的搜索表单项的所有字段设置为null
|
|
8285
8285
|
// 点击取消按钮后继续在表单项中输入过滤条件且最后没有点击回车按键或点击表单项搜索按钮的话,在快速搜索中点击回车按钮提交搜索会所顶部搜索表单中的字段值清空
|
|
8286
|
+
let filterForm = SteedosUI.getClosestAmisComponentByType(scope, "form");
|
|
8287
|
+
if(!filterForm){
|
|
8288
|
+
return;
|
|
8289
|
+
}
|
|
8286
8290
|
let isLookup = event.data.isLookup;
|
|
8287
8291
|
let __lookupField = event.data.__lookupField;
|
|
8288
8292
|
let __changedFilterFormValuesKey = "__changedFilterFormValues";
|
|
@@ -8293,9 +8297,8 @@ function getObjectHeaderQuickSearchBox(mainObject, fields, formFactor, { isLooku
|
|
|
8293
8297
|
}
|
|
8294
8298
|
__changedFilterFormValuesKey += lookupTag;
|
|
8295
8299
|
}
|
|
8296
|
-
let filterForm = SteedosUI.getClosestAmisComponentByType(scope, "form");
|
|
8297
8300
|
setTimeout(function(){
|
|
8298
|
-
filterForm.setValues(event.data[__changedFilterFormValuesKey]);
|
|
8301
|
+
filterForm && filterForm.setValues(event.data[__changedFilterFormValuesKey]);
|
|
8299
8302
|
}, 500);
|
|
8300
8303
|
`;
|
|
8301
8304
|
|