@steedos-widgets/sortable 1.3.4-beta.6 → 1.3.4-beta.7
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 +7 -2
- package/dist/sortable.cjs.js.map +1 -1
- package/dist/sortable.esm.js +7 -2
- package/dist/sortable.esm.js.map +1 -1
- package/dist/sortable.umd.js +7 -2
- package/package.json +3 -3
package/dist/sortable.esm.js
CHANGED
|
@@ -54812,7 +54812,7 @@ async function getListSchema$1(fields, options){
|
|
|
54812
54812
|
* @Author: baozhoutao@steedos.com
|
|
54813
54813
|
* @Date: 2022-11-01 15:51:00
|
|
54814
54814
|
* @LastEditors: 殷亮辉 yinlianghui@hotoa.com
|
|
54815
|
-
* @LastEditTime: 2023-09-
|
|
54815
|
+
* @LastEditTime: 2023-09-25 14:53:05
|
|
54816
54816
|
* @Description:
|
|
54817
54817
|
*/
|
|
54818
54818
|
|
|
@@ -54891,10 +54891,15 @@ const getSchema$5 = async (uiSchema, ctx) => {
|
|
|
54891
54891
|
}, 200);
|
|
54892
54892
|
`;
|
|
54893
54893
|
const getSelectedRowsScript = `
|
|
54894
|
+
const isLookup = event.data.isLookup;
|
|
54895
|
+
if(isLookup){
|
|
54896
|
+
// lookup弹出窗口的新建功能不需要支持复制新建
|
|
54897
|
+
return;
|
|
54898
|
+
}
|
|
54894
54899
|
const uiSchema = event.data.uiSchema;
|
|
54895
54900
|
const objectName = event.data.objectName;
|
|
54896
54901
|
const listViewRef = event.context.scoped.getComponentById("listview_" + objectName);
|
|
54897
|
-
const selectedItems = listViewRef.props.store.toJSON().selectedItems || [];
|
|
54902
|
+
const selectedItems = listViewRef && listViewRef.props.store.toJSON().selectedItems || [];
|
|
54898
54903
|
event.data.selectedIds = _.map(selectedItems, uiSchema.idFieldName || '_id');
|
|
54899
54904
|
`;
|
|
54900
54905
|
return {
|