@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.
@@ -55137,7 +55137,7 @@ async function getQuickEditSchema(field, options){
55137
55137
  "actions":[
55138
55138
  {
55139
55139
  "actionType": "setValue",
55140
- "componentId": `service_listview_${options.objectName}`,
55140
+ "componentId": quickEditId,
55141
55141
  "args": {
55142
55142
  "value":{
55143
55143
  "quickedit_record_permissions_loading": true
@@ -55162,7 +55162,7 @@ async function getQuickEditSchema(field, options){
55162
55162
  },
55163
55163
  {
55164
55164
  "actionType": "setValue",
55165
- "componentId": `service_listview_${options.objectName}`,
55165
+ "componentId": quickEditId,
55166
55166
  "args": {
55167
55167
  "value":{
55168
55168
  "quickedit_record_permissions_loading": false
@@ -55171,7 +55171,7 @@ async function getQuickEditSchema(field, options){
55171
55171
  },
55172
55172
  {
55173
55173
  "actionType": "setValue",
55174
- "componentId": `service_listview_${options.objectName}`,
55174
+ "componentId": quickEditId,
55175
55175
  "args": {
55176
55176
  "value":{
55177
55177
  "quickedit_record_permissions": "${event.data}"
@@ -55350,8 +55350,6 @@ function getFieldWidth(width){
55350
55350
  async function getTableColumns(fields, options){
55351
55351
  const columns = [];
55352
55352
  if(!options.isLookup && !options.isInputTable){
55353
- //将_display放入crud的columns中,可以通过setvalue修改行内数据域的_display,而不影响上层items的_display,用于批量编辑
55354
- columns.push({name: '_display',type: 'static', width: 32, placeholder: "",id: "_display_${_index}", className: "hidden"});
55355
55353
  if(!options.enable_tree){
55356
55354
  columns.push({name: '_index',type: 'text', width: 32, placeholder: ""});
55357
55355
  }
@@ -55896,6 +55894,7 @@ async function getTableSchema$1(fields, options){
55896
55894
  if(!isLookup && !hiddenColumnOperation){
55897
55895
  columns.push(await getTableOperation(options));
55898
55896
  }
55897
+
55899
55898
  }
55900
55899
 
55901
55900
  return {
@@ -59175,6 +59174,9 @@ async function lookupToAmisPicker(field, readonly, ctx){
59175
59174
  */
59176
59175
  return payload;
59177
59176
  }
59177
+ if(!payload.data.rows){
59178
+ payload.data.rows = [];
59179
+ }
59178
59180
  if(enable_tree){
59179
59181
  const records = payload.data.rows;
59180
59182
  const treeRecords = [];