aloha-vue 1.0.248 → 1.0.249
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/package.json
CHANGED
package/src/ATable/ATable.js
CHANGED
|
@@ -226,6 +226,11 @@ export default {
|
|
|
226
226
|
required: false,
|
|
227
227
|
default: () => [],
|
|
228
228
|
},
|
|
229
|
+
rowActionsClass: {
|
|
230
|
+
type: [String, Object],
|
|
231
|
+
required: false,
|
|
232
|
+
default: undefined,
|
|
233
|
+
},
|
|
229
234
|
rowsFooter: {
|
|
230
235
|
type: Array,
|
|
231
236
|
required: false,
|
|
@@ -701,6 +706,7 @@ export default {
|
|
|
701
706
|
row,
|
|
702
707
|
rowIndex,
|
|
703
708
|
selectedRowsIndexes: this.selectedRowsIndexes,
|
|
709
|
+
rowActionsClass: this.rowActionsClass,
|
|
704
710
|
onSetSelectedRowsIndexes: this.setSelectedRowsIndexes,
|
|
705
711
|
}, {
|
|
706
712
|
get: vm => [
|
|
@@ -726,6 +732,7 @@ export default {
|
|
|
726
732
|
countVisibleMobileColumns: this.countVisibleMobileColumns,
|
|
727
733
|
row,
|
|
728
734
|
rowIndex,
|
|
735
|
+
rowActionsClass: this.rowActionsClass,
|
|
729
736
|
selectedRowsIndexes: this.selectedRowsIndexes,
|
|
730
737
|
onSetSelectedRowsIndexes: this.setSelectedRowsIndexes,
|
|
731
738
|
isFooter: true,
|
|
@@ -29,6 +29,11 @@ export default {
|
|
|
29
29
|
type: Boolean,
|
|
30
30
|
required: false,
|
|
31
31
|
},
|
|
32
|
+
rowActionsClass: {
|
|
33
|
+
type: [String, Object],
|
|
34
|
+
required: false,
|
|
35
|
+
default: undefined,
|
|
36
|
+
},
|
|
32
37
|
},
|
|
33
38
|
inject: [
|
|
34
39
|
"columnActionsWidthLocal",
|
|
@@ -73,7 +78,10 @@ export default {
|
|
|
73
78
|
render() {
|
|
74
79
|
return h("div", {
|
|
75
80
|
role: "cell",
|
|
76
|
-
class:
|
|
81
|
+
class: [
|
|
82
|
+
"a_table__td a_table__cell a_table__cell_action",
|
|
83
|
+
this.rowActionsClass,
|
|
84
|
+
],
|
|
77
85
|
// style: this.stylesTdAction,
|
|
78
86
|
}, [
|
|
79
87
|
this.isColumnsScrollInvisibleDropdownVisible && h(ADropdown, {
|
|
@@ -48,6 +48,11 @@ export default {
|
|
|
48
48
|
type: Boolean,
|
|
49
49
|
required: false,
|
|
50
50
|
},
|
|
51
|
+
rowActionsClass: {
|
|
52
|
+
type: [String, Object],
|
|
53
|
+
required: false,
|
|
54
|
+
default: undefined,
|
|
55
|
+
},
|
|
51
56
|
},
|
|
52
57
|
emits: [
|
|
53
58
|
"setSelectedRowsIndexes",
|
|
@@ -144,6 +149,7 @@ export default {
|
|
|
144
149
|
row: this.row,
|
|
145
150
|
rowIndex: this.rowIndex,
|
|
146
151
|
isFooter: this.isFooter,
|
|
152
|
+
rowActionsClass: this.rowActionsClass,
|
|
147
153
|
}, this.$slots);
|
|
148
154
|
|
|
149
155
|
const CHILDREN = this.isMobile ?
|