@steedos-widgets/sortable 6.3.0-beta.4 → 6.3.0-beta.5

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@6.3.0-beta.4/dist/sortable.umd.js",
7
- "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.4/dist/sortable.umd.css"
6
+ "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.5/dist/sortable.umd.js",
7
+ "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.5/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@6.3.0-beta.4/dist/meta.js",
18
+ "url": "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.5/dist/meta.js",
19
19
  "urls": {
20
- "default": "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.4/dist/meta.js",
21
- "design": "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.4/dist/meta.js"
20
+ "default": "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.5/dist/meta.js",
21
+ "design": "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.5/dist/meta.js"
22
22
  }
23
23
  }
24
24
  ]
@@ -58739,7 +58739,7 @@ async function getObjectFilter(objectSchema, fields, options) {
58739
58739
  * @Author: baozhoutao@steedos.com
58740
58740
  * @Date: 2022-07-05 15:55:39
58741
58741
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
58742
- * @LastEditTime: 2024-04-25 19:01:52
58742
+ * @LastEditTime: 2024-04-26 16:46:44
58743
58743
  * @Description:
58744
58744
  */
58745
58745
 
@@ -58998,10 +58998,6 @@ async function getListSchema(
58998
58998
  if (localListViewProps.perPage) {
58999
58999
  listSchema.perPage = localListViewProps.perPage;
59000
59000
  }
59001
- if (window.innerWidth > 768) {
59002
- // 列表视图组件PC端高度自动计算实现满屏效果,手机端不需要满屏效果,所以不用autofillheight
59003
- listSchema.autoFillHeight = true;
59004
- }
59005
59001
  defaults.listSchema = lodash.exports.defaultsDeep({}, listSchema, defaults.listSchema || {});
59006
59002
  }
59007
59003
  }
@@ -59009,6 +59005,13 @@ async function getListSchema(
59009
59005
  console.error("本地存储中crud参数解析异常:", ex);
59010
59006
  }
59011
59007
 
59008
+ if (window.innerWidth > 768) {
59009
+ // 列表视图组件PC端高度自动计算实现满屏效果,手机端不需要满屏效果,所以不用autofillheight,且允许重写微页面中重新组件autoFillHeight属性
59010
+ defaults.listSchema = lodash.exports.defaultsDeep({}, defaults.listSchema || {}, {
59011
+ autoFillHeight: true
59012
+ });
59013
+ }
59014
+
59012
59015
  ctx.defaults = defaults;
59013
59016
 
59014
59017
  if (listViewName == "recent") {