@steedos-widgets/sortable 1.3.22-beta.2 → 1.3.22-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 +4 -1
- package/dist/sortable.cjs.js.map +1 -1
- package/dist/sortable.esm.js +4 -1
- package/dist/sortable.esm.js.map +1 -1
- package/dist/sortable.umd.js +4 -1
- package/package.json +3 -3
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.
|
|
7
|
-
"https://unpkg.com/@steedos-widgets/sortable@1.3.22-beta.
|
|
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"
|
|
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.
|
|
18
|
+
"url": "https://unpkg.com/@steedos-widgets/sortable@1.3.22-beta.3/dist/meta.js",
|
|
19
19
|
"urls": {
|
|
20
|
-
"default": "https://unpkg.com/@steedos-widgets/sortable@1.3.22-beta.
|
|
21
|
-
"design": "https://unpkg.com/@steedos-widgets/sortable@1.3.22-beta.
|
|
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"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
]
|
package/dist/sortable.cjs.js
CHANGED
|
@@ -54969,6 +54969,7 @@ async function getQuickEditSchema(field, options){
|
|
|
54969
54969
|
{
|
|
54970
54970
|
"actionType": "custom",
|
|
54971
54971
|
"script": `
|
|
54972
|
+
|
|
54972
54973
|
var _display = _.cloneDeep(event.data._display);
|
|
54973
54974
|
${displayField}
|
|
54974
54975
|
doAction({actionType: 'setValue', "args": {"value": {_display}},componentId: "${quickEditId}"});
|
|
@@ -55355,7 +55356,9 @@ async function getTableColumns(fields, options){
|
|
|
55355
55356
|
if(!options.isLookup && !options.isInputTable){
|
|
55356
55357
|
//将_display放入crud的columns中,可以通过setvalue修改行内数据域的_display,而不影响上层items的_display,用于批量编辑
|
|
55357
55358
|
columns.push({name: '_display',type: 'static', width: 32, placeholder: "",id: "_display_${_index}", className: "hidden"});
|
|
55358
|
-
|
|
55359
|
+
if(!options.enable_tree){
|
|
55360
|
+
columns.push({name: '_index',type: 'text', width: 32, placeholder: ""});
|
|
55361
|
+
}
|
|
55359
55362
|
}
|
|
55360
55363
|
const allowEdit = options.permissions?.allowEdit && !options.isLookup && options.enable_inline_edit != false;
|
|
55361
55364
|
|