@steedos-widgets/sortable 1.3.4-beta.6 → 1.3.4-beta.8
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 +12 -6
- package/dist/sortable.cjs.js.map +1 -1
- package/dist/sortable.esm.js +12 -6
- package/dist/sortable.esm.js.map +1 -1
- package/dist/sortable.umd.js +12 -6
- 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@1.3.4-beta.
|
|
7
|
-
"https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.
|
|
6
|
+
"https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.8/dist/sortable.umd.js",
|
|
7
|
+
"https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.8/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@1.3.4-beta.
|
|
18
|
+
"url": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.8/dist/meta.js",
|
|
19
19
|
"urls": {
|
|
20
|
-
"default": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.
|
|
21
|
-
"design": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.
|
|
20
|
+
"default": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.8/dist/meta.js",
|
|
21
|
+
"design": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.8/dist/meta.js"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
]
|
package/dist/sortable.cjs.js
CHANGED
|
@@ -54816,7 +54816,7 @@ async function getListSchema$1(fields, options){
|
|
|
54816
54816
|
* @Author: baozhoutao@steedos.com
|
|
54817
54817
|
* @Date: 2022-11-01 15:51:00
|
|
54818
54818
|
* @LastEditors: 殷亮辉 yinlianghui@hotoa.com
|
|
54819
|
-
* @LastEditTime: 2023-09-
|
|
54819
|
+
* @LastEditTime: 2023-09-25 14:53:05
|
|
54820
54820
|
* @Description:
|
|
54821
54821
|
*/
|
|
54822
54822
|
|
|
@@ -54895,10 +54895,15 @@ const getSchema$5 = async (uiSchema, ctx) => {
|
|
|
54895
54895
|
}, 200);
|
|
54896
54896
|
`;
|
|
54897
54897
|
const getSelectedRowsScript = `
|
|
54898
|
+
const isLookup = event.data.isLookup;
|
|
54899
|
+
if(isLookup){
|
|
54900
|
+
// lookup弹出窗口的新建功能不需要支持复制新建
|
|
54901
|
+
return;
|
|
54902
|
+
}
|
|
54898
54903
|
const uiSchema = event.data.uiSchema;
|
|
54899
54904
|
const objectName = event.data.objectName;
|
|
54900
54905
|
const listViewRef = event.context.scoped.getComponentById("listview_" + objectName);
|
|
54901
|
-
const selectedItems = listViewRef.props.store.toJSON().selectedItems || [];
|
|
54906
|
+
const selectedItems = listViewRef && listViewRef.props.store.toJSON().selectedItems || [];
|
|
54902
54907
|
event.data.selectedIds = _.map(selectedItems, uiSchema.idFieldName || '_id');
|
|
54903
54908
|
`;
|
|
54904
54909
|
return {
|
|
@@ -56785,10 +56790,11 @@ function getObjectHeaderToolbar(mainObject, fields, formFactor, {
|
|
|
56785
56790
|
// "filter-toggler",
|
|
56786
56791
|
...(headerToolbarItems || []),
|
|
56787
56792
|
"bulkActions",
|
|
56788
|
-
|
|
56789
|
-
|
|
56790
|
-
|
|
56791
|
-
|
|
56793
|
+
// 不能放开crud columns-toggler否则crud card模式会报错
|
|
56794
|
+
// {
|
|
56795
|
+
// "type": "columns-toggler",
|
|
56796
|
+
// "className": "hidden"
|
|
56797
|
+
// },
|
|
56792
56798
|
...toolbars,
|
|
56793
56799
|
// {
|
|
56794
56800
|
// "type": "columns-toggler",
|