@steedos-widgets/sortable 3.6.9 → 3.6.10
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 +18 -1
- package/dist/sortable.cjs.js.map +1 -1
- package/dist/sortable.esm.js +18 -1
- package/dist/sortable.esm.js.map +1 -1
- package/dist/sortable.umd.js +18 -1
- package/package.json +3 -3
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
|
-
"https://unpkg.com/@steedos-widgets/sortable@3.6.
|
|
6
|
+
"https://unpkg.com/@steedos-widgets/sortable@3.6.10/dist/sortable.umd.js",
|
|
7
|
+
"https://unpkg.com/@steedos-widgets/sortable@3.6.10/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.
|
|
18
|
+
"url": "https://unpkg.com/@steedos-widgets/sortable@3.6.10/dist/meta.js",
|
|
19
19
|
"urls": {
|
|
20
|
-
"default": "https://unpkg.com/@steedos-widgets/sortable@3.6.
|
|
21
|
-
"design": "https://unpkg.com/@steedos-widgets/sortable@3.6.
|
|
20
|
+
"default": "https://unpkg.com/@steedos-widgets/sortable@3.6.10/dist/meta.js",
|
|
21
|
+
"design": "https://unpkg.com/@steedos-widgets/sortable@3.6.10/dist/meta.js"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
]
|
package/dist/sortable.cjs.js
CHANGED
|
@@ -54400,12 +54400,15 @@ async function getFindQuery(object, recordId, fields, options){
|
|
|
54400
54400
|
// return item.replace(/^{/,"").replace(/}$/,"");
|
|
54401
54401
|
// }).join(",")) : "";
|
|
54402
54402
|
|
|
54403
|
+
const fieldsTemplate = `${await getFieldsTemplate(fields, options.expand)}${treeFields}${cfsFields}`;
|
|
54404
|
+
|
|
54403
54405
|
return {
|
|
54404
54406
|
orderBy: "${orderBy}",
|
|
54405
54407
|
orderDir: "${orderDir}",
|
|
54406
54408
|
pageNo: "${page}",
|
|
54407
54409
|
pageSize: "${perPage}",
|
|
54408
|
-
|
|
54410
|
+
queryFields: fieldsTemplate,
|
|
54411
|
+
query: `{${alias}:${object.name}${queryOptions}{${fieldsTemplate}}${countQuery}}`
|
|
54409
54412
|
}
|
|
54410
54413
|
}
|
|
54411
54414
|
|
|
@@ -59497,6 +59500,20 @@ async function lookupToAmisPicker(field, readonly, ctx){
|
|
|
59497
59500
|
);
|
|
59498
59501
|
}
|
|
59499
59502
|
});
|
|
59503
|
+
lodash.exports.each(listView.extra_columns || [], function (column) {
|
|
59504
|
+
// Lookup弹出列表跟列表视图组件一样,支持配置列表视图extra_columns,且允许其中字段是hidden的,hidden的字段在uiSchema.fields中不存在
|
|
59505
|
+
if (lodash.exports.isString(column)) {
|
|
59506
|
+
fieldsArr.push({
|
|
59507
|
+
extra: true,
|
|
59508
|
+
name: column
|
|
59509
|
+
});
|
|
59510
|
+
} else if (lodash.exports.isObject(column)) {
|
|
59511
|
+
fieldsArr.push({
|
|
59512
|
+
extra: true,
|
|
59513
|
+
name: column.field
|
|
59514
|
+
});
|
|
59515
|
+
}
|
|
59516
|
+
});
|
|
59500
59517
|
}else {
|
|
59501
59518
|
lodash.exports.each(refObjectConfig.fields, (field, field_name)=>{
|
|
59502
59519
|
if(field_name != '_id' && !field.hidden){
|