@steedos-widgets/sortable 3.6.7-beta.1 → 3.6.7-beta.2

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.7-beta.1/dist/sortable.umd.js",
7
- "https://unpkg.com/@steedos-widgets/sortable@3.6.7-beta.1/dist/sortable.umd.css"
6
+ "https://unpkg.com/@steedos-widgets/sortable@3.6.7-beta.2/dist/sortable.umd.js",
7
+ "https://unpkg.com/@steedos-widgets/sortable@3.6.7-beta.2/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.7-beta.1/dist/meta.js",
18
+ "url": "https://unpkg.com/@steedos-widgets/sortable@3.6.7-beta.2/dist/meta.js",
19
19
  "urls": {
20
- "default": "https://unpkg.com/@steedos-widgets/sortable@3.6.7-beta.1/dist/meta.js",
21
- "design": "https://unpkg.com/@steedos-widgets/sortable@3.6.7-beta.1/dist/meta.js"
20
+ "default": "https://unpkg.com/@steedos-widgets/sortable@3.6.7-beta.2/dist/meta.js",
21
+ "design": "https://unpkg.com/@steedos-widgets/sortable@3.6.7-beta.2/dist/meta.js"
22
22
  }
23
23
  }
24
24
  ]
@@ -56087,14 +56087,14 @@ async function getTableSchema$1(object, fields, options){
56087
56087
  headerToolbarClassName: "py-2 px-2 border-gray-300 border-solid border-b",
56088
56088
  className: "",
56089
56089
  draggable: false,
56090
- defaultParams: getDefaultParams$1(options),
56091
56090
  card: card,
56092
56091
  syncLocation: false,
56093
56092
  keepItemSelectionOnPageChange: true,
56094
56093
  checkOnItemClick: isLookup ? true : false,
56095
56094
  labelTpl: `\${${options.labelFieldName}}`,
56096
56095
  autoFillHeight: false, // 自动高度效果不理想,先关闭
56097
- columnsTogglable: false
56096
+ columnsTogglable: false,
56097
+ ...getDefaultParams$1(options) //不可以使用crud的defaultParams属性,会造成翻页bug,https://github.com/steedos/steedos-platform/issues/6576
56098
56098
  }
56099
56099
  }
56100
56100
 
@@ -56120,7 +56120,6 @@ async function getTableSchema$1(object, fields, options){
56120
56120
  headerToolbarClassName: "py-2 px-2 border-gray-300 border-solid border-b",
56121
56121
  className: "",
56122
56122
  draggable: false,
56123
- defaultParams: getDefaultParams$1(options),
56124
56123
  columns: columns,
56125
56124
  syncLocation: false,
56126
56125
  keepItemSelectionOnPageChange: true,
@@ -56128,7 +56127,8 @@ async function getTableSchema$1(object, fields, options){
56128
56127
  labelTpl: `\${${options.labelFieldName}}`,
56129
56128
  autoFillHeight: false, // 自动高度效果不理想,先关闭
56130
56129
  columnsTogglable: false,
56131
- ...treeConfig
56130
+ ...treeConfig,
56131
+ ...getDefaultParams$1(options) //不可以使用crud的defaultParams属性,会造成翻页bug,https://github.com/steedos/steedos-platform/issues/6576
56132
56132
  }
56133
56133
  }
56134
56134
 
@@ -56297,7 +56297,6 @@ async function getListSchema$1(fields, options){
56297
56297
  name: "thelist",
56298
56298
  draggable: false,
56299
56299
  headerToolbar: ['reload'],
56300
- defaultParams: getDefaultParams(options),
56301
56300
  syncLocation: false,
56302
56301
  keepItemSelectionOnPageChange: true,
56303
56302
  checkOnItemClick: false,
@@ -56319,7 +56318,8 @@ async function getListSchema$1(fields, options){
56319
56318
  })
56320
56319
  }
56321
56320
  ]
56322
- }
56321
+ },
56322
+ ...getDefaultParams(options) //不可以使用crud的defaultParams属性,会造成翻页bug,https://github.com/steedos/steedos-platform/issues/6576
56323
56323
  }
56324
56324
  }
56325
56325
 
@@ -58966,9 +58966,7 @@ async function getListSchema(
58966
58966
  }
58967
58967
 
58968
58968
  if(localListViewProps.perPage){
58969
- listSchema.defaultParams = {
58970
- perPage: localListViewProps.perPage
58971
- };
58969
+ listSchema.perPage = localListViewProps.perPage;
58972
58970
  }
58973
58971
  defaults.listSchema = lodash.exports.defaultsDeep({}, listSchema, defaults.listSchema || {});
58974
58972
  }