eoss-ui 0.6.36 → 0.6.38
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/lib/data-table.js +13 -11
- package/lib/eoss-ui.common.js +99 -53
- package/lib/form.js +14 -3
- package/lib/index.js +1 -1
- package/lib/select.js +0 -1
- package/lib/selector-panel.js +38 -15
- package/lib/theme-chalk/data-table.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/upload.js +19 -8
- package/package.json +3 -3
- package/packages/data-table/src/main.vue +1 -1
- package/packages/form/src/main.vue +3 -1
- package/packages/select/src/main.vue +0 -1
- package/packages/selector-panel/src/main.vue +8 -1
- package/packages/selector-panel/src/selection.vue +20 -3
- package/packages/theme-chalk/lib/data-table.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/data-table.scss +17 -0
- package/packages/upload/src/main.vue +14 -3
- package/src/index.js +1 -1
|
@@ -38,6 +38,18 @@
|
|
|
38
38
|
th {
|
|
39
39
|
padding: 6px 0;
|
|
40
40
|
text-align: center;
|
|
41
|
+
&.is-right {
|
|
42
|
+
text-align: right;
|
|
43
|
+
.cell {
|
|
44
|
+
justify-content: flex-end;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
&.is-left {
|
|
48
|
+
text-align: left;
|
|
49
|
+
.cell {
|
|
50
|
+
justify-content: flex-start;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
41
53
|
.cell {
|
|
42
54
|
justify-content: center;
|
|
43
55
|
}
|
|
@@ -55,6 +67,11 @@
|
|
|
55
67
|
justify-content: flex-end;
|
|
56
68
|
}
|
|
57
69
|
}
|
|
70
|
+
&.is-left {
|
|
71
|
+
.cell {
|
|
72
|
+
justify-content: flex-start;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
58
75
|
}
|
|
59
76
|
.es-table-handle-box {
|
|
60
77
|
text-align: center;
|
|
@@ -541,7 +541,8 @@ export default {
|
|
|
541
541
|
return true;
|
|
542
542
|
},
|
|
543
543
|
isSort() {
|
|
544
|
-
return this.dragSort && !this.isDisabled && this.isReadonly;
|
|
544
|
+
// return this.dragSort && !this.isDisabled && this.isReadonly;
|
|
545
|
+
return this.dragSort && !this.isDisabled;
|
|
545
546
|
},
|
|
546
547
|
datas() {
|
|
547
548
|
if (this.data) {
|
|
@@ -1226,10 +1227,20 @@ export default {
|
|
|
1226
1227
|
method: this.method,
|
|
1227
1228
|
url: this.dochubConfig.sortDocumentsUrl || uploadSort,
|
|
1228
1229
|
data: {
|
|
1229
|
-
ids: ids
|
|
1230
|
+
ids: ids,
|
|
1231
|
+
documentIds: ids,
|
|
1232
|
+
ownId: this.ownId,
|
|
1233
|
+
code: this.code,
|
|
1234
|
+
bucketCode: this.code,
|
|
1235
|
+
businessId: this.ownId
|
|
1230
1236
|
},
|
|
1231
1237
|
params: {
|
|
1232
|
-
ids: ids
|
|
1238
|
+
ids: ids,
|
|
1239
|
+
documentIds: ids,
|
|
1240
|
+
ownId: this.ownId,
|
|
1241
|
+
code: this.code,
|
|
1242
|
+
bucketCode: this.code,
|
|
1243
|
+
businessId: this.ownId
|
|
1233
1244
|
}
|
|
1234
1245
|
})
|
|
1235
1246
|
.then((res) => {
|