@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.
@@ -22388,14 +22388,14 @@
22388
22388
  headerToolbarClassName: "py-2 px-2 border-gray-300 border-solid border-b",
22389
22389
  className: "",
22390
22390
  draggable: false,
22391
- defaultParams: getDefaultParams$1(options),
22392
22391
  card: card,
22393
22392
  syncLocation: false,
22394
22393
  keepItemSelectionOnPageChange: true,
22395
22394
  checkOnItemClick: isLookup ? true : false,
22396
22395
  labelTpl: `\${${options.labelFieldName}}`,
22397
22396
  autoFillHeight: false, // 自动高度效果不理想,先关闭
22398
- columnsTogglable: false
22397
+ columnsTogglable: false,
22398
+ ...getDefaultParams$1(options) //不可以使用crud的defaultParams属性,会造成翻页bug,https://github.com/steedos/steedos-platform/issues/6576
22399
22399
  }
22400
22400
  }
22401
22401
 
@@ -22421,7 +22421,6 @@
22421
22421
  headerToolbarClassName: "py-2 px-2 border-gray-300 border-solid border-b",
22422
22422
  className: "",
22423
22423
  draggable: false,
22424
- defaultParams: getDefaultParams$1(options),
22425
22424
  columns: columns,
22426
22425
  syncLocation: false,
22427
22426
  keepItemSelectionOnPageChange: true,
@@ -22429,7 +22428,8 @@
22429
22428
  labelTpl: `\${${options.labelFieldName}}`,
22430
22429
  autoFillHeight: false, // 自动高度效果不理想,先关闭
22431
22430
  columnsTogglable: false,
22432
- ...treeConfig
22431
+ ...treeConfig,
22432
+ ...getDefaultParams$1(options) //不可以使用crud的defaultParams属性,会造成翻页bug,https://github.com/steedos/steedos-platform/issues/6576
22433
22433
  }
22434
22434
  }
22435
22435
 
@@ -22598,7 +22598,6 @@
22598
22598
  name: "thelist",
22599
22599
  draggable: false,
22600
22600
  headerToolbar: ['reload'],
22601
- defaultParams: getDefaultParams(options),
22602
22601
  syncLocation: false,
22603
22602
  keepItemSelectionOnPageChange: true,
22604
22603
  checkOnItemClick: false,
@@ -22620,7 +22619,8 @@
22620
22619
  })
22621
22620
  }
22622
22621
  ]
22623
- }
22622
+ },
22623
+ ...getDefaultParams(options) //不可以使用crud的defaultParams属性,会造成翻页bug,https://github.com/steedos/steedos-platform/issues/6576
22624
22624
  }
22625
22625
  }
22626
22626
 
@@ -25267,9 +25267,7 @@ crudService && crudService.setData({showFieldsFilter: toShowFieldsFilter});
25267
25267
  }
25268
25268
 
25269
25269
  if(localListViewProps.perPage){
25270
- listSchema.defaultParams = {
25271
- perPage: localListViewProps.perPage
25272
- };
25270
+ listSchema.perPage = localListViewProps.perPage;
25273
25271
  }
25274
25272
  defaults.listSchema = lodash.exports.defaultsDeep({}, listSchema, defaults.listSchema || {});
25275
25273
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos-widgets/sortable",
3
- "version": "3.6.7-beta.1",
3
+ "version": "3.6.7-beta.2",
4
4
  "main": "dist/sortable.cjs.js",
5
5
  "module": "dist/sortable.esm.js",
6
6
  "unpkg": "dist/sortable.umd.js",
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "@dnd-kit/core": "^6.0.5",
47
47
  "@dnd-kit/sortable": "^7.0.1",
48
- "@steedos-widgets/amis-lib": "3.6.7-beta.1"
48
+ "@steedos-widgets/amis-lib": "3.6.7-beta.2"
49
49
  },
50
- "gitHead": "d2291e196e39e48cccfb4939d3dbd66311f05a9a"
50
+ "gitHead": "cd9603cd3f25aa6b10eabf35e3ba727e13b62a7e"
51
51
  }