@steedos-widgets/sortable 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.
@@ -54411,7 +54411,7 @@ async function getFindQuery(object, recordId, fields, options){
54411
54411
  function getApi$2 (isMobile){
54412
54412
  if(isMobile);else {
54413
54413
  // return __meteor_runtime_config__.ROOT_URL_PATH_PREFIX + "/graphql"
54414
- return `\${context.rootUrl}/graphql?reload=\${additionalFilters}`
54414
+ return `\${context.rootUrl}/graphql?reload=\${additionalFilters|join}`
54415
54415
  }
54416
54416
  }
54417
54417
 
@@ -58326,6 +58326,10 @@ function getObjectHeaderQuickSearchBox(mainObject, fields, formFactor, { isLooku
58326
58326
  // const scope = event.context.scoped;
58327
58327
  // 如果点击过顶部搜索栏表单的取消按钮,会把此处event.data.__super.__super.__super中的搜索表单项的所有字段设置为null
58328
58328
  // 点击取消按钮后继续在表单项中输入过滤条件且最后没有点击回车按键或点击表单项搜索按钮的话,在快速搜索中点击回车按钮提交搜索会所顶部搜索表单中的字段值清空
58329
+ let filterForm = SteedosUI.getClosestAmisComponentByType(scope, "form");
58330
+ if(!filterForm){
58331
+ return;
58332
+ }
58329
58333
  let isLookup = event.data.isLookup;
58330
58334
  let __lookupField = event.data.__lookupField;
58331
58335
  let __changedFilterFormValuesKey = "__changedFilterFormValues";
@@ -58336,9 +58340,8 @@ function getObjectHeaderQuickSearchBox(mainObject, fields, formFactor, { isLooku
58336
58340
  }
58337
58341
  __changedFilterFormValuesKey += lookupTag;
58338
58342
  }
58339
- let filterForm = SteedosUI.getClosestAmisComponentByType(scope, "form");
58340
58343
  setTimeout(function(){
58341
- filterForm.setValues(event.data[__changedFilterFormValuesKey]);
58344
+ filterForm && filterForm.setValues(event.data[__changedFilterFormValuesKey]);
58342
58345
  }, 500);
58343
58346
  `;
58344
58347