@steedos-widgets/sortable 1.3.22-beta.3 → 3.6.0-beta.3

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.22-beta.3/dist/sortable.umd.js",
7
- "https://unpkg.com/@steedos-widgets/sortable@1.3.22-beta.3/dist/sortable.umd.css"
6
+ "https://unpkg.com/@steedos-widgets/sortable@3.6.0-beta.3/dist/sortable.umd.js",
7
+ "https://unpkg.com/@steedos-widgets/sortable@3.6.0-beta.3/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.22-beta.3/dist/meta.js",
18
+ "url": "https://unpkg.com/@steedos-widgets/sortable@3.6.0-beta.3/dist/meta.js",
19
19
  "urls": {
20
- "default": "https://unpkg.com/@steedos-widgets/sortable@1.3.22-beta.3/dist/meta.js",
21
- "design": "https://unpkg.com/@steedos-widgets/sortable@1.3.22-beta.3/dist/meta.js"
20
+ "default": "https://unpkg.com/@steedos-widgets/sortable@3.6.0-beta.3/dist/meta.js",
21
+ "design": "https://unpkg.com/@steedos-widgets/sortable@3.6.0-beta.3/dist/meta.js"
22
22
  }
23
23
  }
24
24
  ]
@@ -55141,7 +55141,7 @@ async function getQuickEditSchema(field, options){
55141
55141
  "actions":[
55142
55142
  {
55143
55143
  "actionType": "setValue",
55144
- "componentId": `service_listview_${options.objectName}`,
55144
+ "componentId": quickEditId,
55145
55145
  "args": {
55146
55146
  "value":{
55147
55147
  "quickedit_record_permissions_loading": true
@@ -55166,7 +55166,7 @@ async function getQuickEditSchema(field, options){
55166
55166
  },
55167
55167
  {
55168
55168
  "actionType": "setValue",
55169
- "componentId": `service_listview_${options.objectName}`,
55169
+ "componentId": quickEditId,
55170
55170
  "args": {
55171
55171
  "value":{
55172
55172
  "quickedit_record_permissions_loading": false
@@ -55175,7 +55175,7 @@ async function getQuickEditSchema(field, options){
55175
55175
  },
55176
55176
  {
55177
55177
  "actionType": "setValue",
55178
- "componentId": `service_listview_${options.objectName}`,
55178
+ "componentId": quickEditId,
55179
55179
  "args": {
55180
55180
  "value":{
55181
55181
  "quickedit_record_permissions": "${event.data}"
@@ -55354,8 +55354,6 @@ function getFieldWidth(width){
55354
55354
  async function getTableColumns(fields, options){
55355
55355
  const columns = [];
55356
55356
  if(!options.isLookup && !options.isInputTable){
55357
- //将_display放入crud的columns中,可以通过setvalue修改行内数据域的_display,而不影响上层items的_display,用于批量编辑
55358
- columns.push({name: '_display',type: 'static', width: 32, placeholder: "",id: "_display_${_index}", className: "hidden"});
55359
55357
  if(!options.enable_tree){
55360
55358
  columns.push({name: '_index',type: 'text', width: 32, placeholder: ""});
55361
55359
  }
@@ -55900,6 +55898,7 @@ async function getTableSchema$1(fields, options){
55900
55898
  if(!isLookup && !hiddenColumnOperation){
55901
55899
  columns.push(await getTableOperation(options));
55902
55900
  }
55901
+
55903
55902
  }
55904
55903
 
55905
55904
  return {
@@ -59179,6 +59178,9 @@ async function lookupToAmisPicker(field, readonly, ctx){
59179
59178
  */
59180
59179
  return payload;
59181
59180
  }
59181
+ if(!payload.data.rows){
59182
+ payload.data.rows = [];
59183
+ }
59182
59184
  if(enable_tree){
59183
59185
  const records = payload.data.rows;
59184
59186
  const treeRecords = [];