@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 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.6/dist/sortable.umd.js",
7
- "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.6/dist/sortable.umd.css"
6
+ "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.7/dist/sortable.umd.js",
7
+ "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.7/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.6/dist/meta.js",
18
+ "url": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.7/dist/meta.js",
19
19
  "urls": {
20
- "default": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.6/dist/meta.js",
21
- "design": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.6/dist/meta.js"
20
+ "default": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.7/dist/meta.js",
21
+ "design": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.7/dist/meta.js"
22
22
  }
23
23
  }
24
24
  ]
@@ -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-23 11:25:18
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 {