@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.
package/dist/assets.json CHANGED
@@ -3,8 +3,8 @@
3
3
  {
4
4
  "package": "@steedos-widgets/sortable",
5
5
  "urls": [
6
- "https://unpkg.com/@steedos-widgets/sortable@3.6.13/dist/sortable.umd.js",
7
- "https://unpkg.com/@steedos-widgets/sortable@3.6.13/dist/sortable.umd.css"
6
+ "https://unpkg.com/@steedos-widgets/sortable@3.6.14/dist/sortable.umd.js",
7
+ "https://unpkg.com/@steedos-widgets/sortable@3.6.14/dist/sortable.umd.css"
8
8
  ],
9
9
  "library": "BuilderSortable"
10
10
  }
@@ -15,10 +15,10 @@
15
15
  "npm": {
16
16
  "package": "@steedos-widgets/sortable"
17
17
  },
18
- "url": "https://unpkg.com/@steedos-widgets/sortable@3.6.13/dist/meta.js",
18
+ "url": "https://unpkg.com/@steedos-widgets/sortable@3.6.14/dist/meta.js",
19
19
  "urls": {
20
- "default": "https://unpkg.com/@steedos-widgets/sortable@3.6.13/dist/meta.js",
21
- "design": "https://unpkg.com/@steedos-widgets/sortable@3.6.13/dist/meta.js"
20
+ "default": "https://unpkg.com/@steedos-widgets/sortable@3.6.14/dist/meta.js",
21
+ "design": "https://unpkg.com/@steedos-widgets/sortable@3.6.14/dist/meta.js"
22
22
  }
23
23
  }
24
24
  ]
@@ -54415,7 +54415,7 @@ async function getFindQuery(object, recordId, fields, options){
54415
54415
  function getApi$2 (isMobile){
54416
54416
  if(isMobile);else {
54417
54417
  // return __meteor_runtime_config__.ROOT_URL_PATH_PREFIX + "/graphql"
54418
- return `\${context.rootUrl}/graphql?reload=\${additionalFilters}`
54418
+ return `\${context.rootUrl}/graphql?reload=\${additionalFilters|join}`
54419
54419
  }
54420
54420
  }
54421
54421
 
@@ -58330,6 +58330,10 @@ function getObjectHeaderQuickSearchBox(mainObject, fields, formFactor, { isLooku
58330
58330
  // const scope = event.context.scoped;
58331
58331
  // 如果点击过顶部搜索栏表单的取消按钮,会把此处event.data.__super.__super.__super中的搜索表单项的所有字段设置为null
58332
58332
  // 点击取消按钮后继续在表单项中输入过滤条件且最后没有点击回车按键或点击表单项搜索按钮的话,在快速搜索中点击回车按钮提交搜索会所顶部搜索表单中的字段值清空
58333
+ let filterForm = SteedosUI.getClosestAmisComponentByType(scope, "form");
58334
+ if(!filterForm){
58335
+ return;
58336
+ }
58333
58337
  let isLookup = event.data.isLookup;
58334
58338
  let __lookupField = event.data.__lookupField;
58335
58339
  let __changedFilterFormValuesKey = "__changedFilterFormValues";
@@ -58340,9 +58344,8 @@ function getObjectHeaderQuickSearchBox(mainObject, fields, formFactor, { isLooku
58340
58344
  }
58341
58345
  __changedFilterFormValuesKey += lookupTag;
58342
58346
  }
58343
- let filterForm = SteedosUI.getClosestAmisComponentByType(scope, "form");
58344
58347
  setTimeout(function(){
58345
- filterForm.setValues(event.data[__changedFilterFormValuesKey]);
58348
+ filterForm && filterForm.setValues(event.data[__changedFilterFormValuesKey]);
58346
58349
  }, 500);
58347
58350
  `;
58348
58351