aloha-vue 1.0.135 → 1.0.136
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
|
@@ -77,7 +77,6 @@ export default {
|
|
|
77
77
|
classForTh() {
|
|
78
78
|
return [
|
|
79
79
|
"a_table__th a_table__cell",
|
|
80
|
-
this.column.class,
|
|
81
80
|
{
|
|
82
81
|
a_table__th_draggable: !this.isLocked && !this.isLoadingOptions && this.isColumnsDnd,
|
|
83
82
|
a_table__th_sorting: this.isSorting,
|
|
@@ -184,15 +183,22 @@ export default {
|
|
|
184
183
|
return "";
|
|
185
184
|
}
|
|
186
185
|
return h("div", this.attributesForTh, [
|
|
187
|
-
h(
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
186
|
+
h("div", {
|
|
187
|
+
class: [
|
|
188
|
+
"a_table__cell__child",
|
|
189
|
+
this.column.class,
|
|
190
|
+
],
|
|
191
|
+
}, [
|
|
192
|
+
h(this.componentLocal, this.attributesForButton, [
|
|
193
|
+
h(ATranslation, {
|
|
194
|
+
text: this.column.label,
|
|
195
|
+
tag: "span",
|
|
196
|
+
}),
|
|
197
|
+
h("span", {
|
|
198
|
+
class: "a_table__th__sort__icons",
|
|
199
|
+
}, [
|
|
200
|
+
...this.iconsSortable,
|
|
201
|
+
]),
|
|
196
202
|
]),
|
|
197
203
|
]),
|
|
198
204
|
]);
|
|
@@ -109,7 +109,6 @@ export default {
|
|
|
109
109
|
role: "cell",
|
|
110
110
|
class: [
|
|
111
111
|
"a_table__td a_table__cell",
|
|
112
|
-
this.column.class,
|
|
113
112
|
{
|
|
114
113
|
a_table__cell_click: this.hasPreview && !this.isFooter,
|
|
115
114
|
},
|
|
@@ -178,29 +177,38 @@ export default {
|
|
|
178
177
|
}
|
|
179
178
|
return h(
|
|
180
179
|
"div",
|
|
181
|
-
this.attributesForTd,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
180
|
+
this.attributesForTd,
|
|
181
|
+
[
|
|
182
|
+
h("div", {
|
|
183
|
+
class: [
|
|
184
|
+
"a_table__cell__child",
|
|
185
|
+
this.column.class,
|
|
186
|
+
],
|
|
187
|
+
}, (this.isSlot && this.$slots[this.slot]) ?
|
|
188
|
+
this.$slots[this.slot]({
|
|
189
|
+
column: this.column,
|
|
190
|
+
columnIndex: this.columnIndex,
|
|
191
|
+
row: this.row,
|
|
192
|
+
rowIndex: this.rowIndex,
|
|
193
|
+
rows: this.rowsLocal,
|
|
194
|
+
}) :
|
|
195
|
+
(this.isLink && this.toLocal) ?
|
|
196
|
+
[
|
|
197
|
+
h(resolveComponent("RouterLink"), {
|
|
198
|
+
class: [this.column.class, this.classForLink],
|
|
199
|
+
to: this.toLocal,
|
|
200
|
+
}, () => [
|
|
201
|
+
h("span", {
|
|
202
|
+
innerHTML: this.text,
|
|
203
|
+
}),
|
|
204
|
+
]),
|
|
205
|
+
] :
|
|
206
|
+
[
|
|
207
|
+
h("span", {
|
|
208
|
+
innerHTML: this.text,
|
|
209
|
+
}),
|
|
210
|
+
])
|
|
211
|
+
]
|
|
204
212
|
);
|
|
205
213
|
},
|
|
206
214
|
};
|