@steedos-widgets/sortable 1.3.22-beta.2 → 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 +5 -5
- package/dist/sortable.cjs.js +11 -6
- package/dist/sortable.cjs.js.map +1 -1
- package/dist/sortable.esm.js +11 -6
- package/dist/sortable.esm.js.map +1 -1
- package/dist/sortable.umd.js +11 -6
- package/package.json +3 -3
package/dist/sortable.esm.js
CHANGED
|
@@ -54965,6 +54965,7 @@ async function getQuickEditSchema(field, options){
|
|
|
54965
54965
|
{
|
|
54966
54966
|
"actionType": "custom",
|
|
54967
54967
|
"script": `
|
|
54968
|
+
|
|
54968
54969
|
var _display = _.cloneDeep(event.data._display);
|
|
54969
54970
|
${displayField}
|
|
54970
54971
|
doAction({actionType: 'setValue', "args": {"value": {_display}},componentId: "${quickEditId}"});
|
|
@@ -55136,7 +55137,7 @@ async function getQuickEditSchema(field, options){
|
|
|
55136
55137
|
"actions":[
|
|
55137
55138
|
{
|
|
55138
55139
|
"actionType": "setValue",
|
|
55139
|
-
"componentId":
|
|
55140
|
+
"componentId": quickEditId,
|
|
55140
55141
|
"args": {
|
|
55141
55142
|
"value":{
|
|
55142
55143
|
"quickedit_record_permissions_loading": true
|
|
@@ -55161,7 +55162,7 @@ async function getQuickEditSchema(field, options){
|
|
|
55161
55162
|
},
|
|
55162
55163
|
{
|
|
55163
55164
|
"actionType": "setValue",
|
|
55164
|
-
"componentId":
|
|
55165
|
+
"componentId": quickEditId,
|
|
55165
55166
|
"args": {
|
|
55166
55167
|
"value":{
|
|
55167
55168
|
"quickedit_record_permissions_loading": false
|
|
@@ -55170,7 +55171,7 @@ async function getQuickEditSchema(field, options){
|
|
|
55170
55171
|
},
|
|
55171
55172
|
{
|
|
55172
55173
|
"actionType": "setValue",
|
|
55173
|
-
"componentId":
|
|
55174
|
+
"componentId": quickEditId,
|
|
55174
55175
|
"args": {
|
|
55175
55176
|
"value":{
|
|
55176
55177
|
"quickedit_record_permissions": "${event.data}"
|
|
@@ -55349,9 +55350,9 @@ function getFieldWidth(width){
|
|
|
55349
55350
|
async function getTableColumns(fields, options){
|
|
55350
55351
|
const columns = [];
|
|
55351
55352
|
if(!options.isLookup && !options.isInputTable){
|
|
55352
|
-
|
|
55353
|
-
|
|
55354
|
-
|
|
55353
|
+
if(!options.enable_tree){
|
|
55354
|
+
columns.push({name: '_index',type: 'text', width: 32, placeholder: ""});
|
|
55355
|
+
}
|
|
55355
55356
|
}
|
|
55356
55357
|
const allowEdit = options.permissions?.allowEdit && !options.isLookup && options.enable_inline_edit != false;
|
|
55357
55358
|
|
|
@@ -55893,6 +55894,7 @@ async function getTableSchema$1(fields, options){
|
|
|
55893
55894
|
if(!isLookup && !hiddenColumnOperation){
|
|
55894
55895
|
columns.push(await getTableOperation(options));
|
|
55895
55896
|
}
|
|
55897
|
+
|
|
55896
55898
|
}
|
|
55897
55899
|
|
|
55898
55900
|
return {
|
|
@@ -59172,6 +59174,9 @@ async function lookupToAmisPicker(field, readonly, ctx){
|
|
|
59172
59174
|
*/
|
|
59173
59175
|
return payload;
|
|
59174
59176
|
}
|
|
59177
|
+
if(!payload.data.rows){
|
|
59178
|
+
payload.data.rows = [];
|
|
59179
|
+
}
|
|
59175
59180
|
if(enable_tree){
|
|
59176
59181
|
const records = payload.data.rows;
|
|
59177
59182
|
const treeRecords = [];
|