@steedos-widgets/sortable 1.3.4-beta.7 → 1.3.4-beta.9
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 +5 -5
- package/dist/sortable.cjs.js +8 -4
- package/dist/sortable.cjs.js.map +1 -1
- package/dist/sortable.esm.js +8 -4
- package/dist/sortable.esm.js.map +1 -1
- package/dist/sortable.umd.js +8 -4
- package/package.json +3 -3
package/dist/sortable.esm.js
CHANGED
|
@@ -56786,10 +56786,11 @@ function getObjectHeaderToolbar(mainObject, fields, formFactor, {
|
|
|
56786
56786
|
// "filter-toggler",
|
|
56787
56787
|
...(headerToolbarItems || []),
|
|
56788
56788
|
"bulkActions",
|
|
56789
|
-
|
|
56790
|
-
|
|
56791
|
-
|
|
56792
|
-
|
|
56789
|
+
// 不能放开crud columns-toggler否则crud card模式会报错
|
|
56790
|
+
// {
|
|
56791
|
+
// "type": "columns-toggler",
|
|
56792
|
+
// "className": "hidden"
|
|
56793
|
+
// },
|
|
56793
56794
|
...toolbars,
|
|
56794
56795
|
// {
|
|
56795
56796
|
// "type": "columns-toggler",
|
|
@@ -57396,10 +57397,13 @@ async function lookupToAmisPicker(field, readonly, ctx){
|
|
|
57396
57397
|
const op = api.data.$self.op;
|
|
57397
57398
|
if(!_.isEmpty(op)){
|
|
57398
57399
|
// op不为空,表示处于字段初始编辑状态,不是点击后出现弹窗状态。
|
|
57400
|
+
// 这里不可以用_.pick函数让payload只返回labelField和valueField,因为字段上配置的amis autoFill功能可能依赖了其他字段
|
|
57401
|
+
/*
|
|
57399
57402
|
const rows = _.map(payload.data.rows, (item)=>{
|
|
57400
57403
|
return _.pick(item, ["${referenceTo.labelField.name}", "${referenceTo.valueField.name}"]);
|
|
57401
57404
|
})
|
|
57402
57405
|
payload.data.rows = rows;
|
|
57406
|
+
*/
|
|
57403
57407
|
return payload;
|
|
57404
57408
|
}
|
|
57405
57409
|
if(enable_tree){
|