aloha-vue 1.0.249 → 1.0.250
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
|
@@ -78,59 +78,63 @@ export default {
|
|
|
78
78
|
render() {
|
|
79
79
|
return h("div", {
|
|
80
80
|
role: "cell",
|
|
81
|
-
class:
|
|
82
|
-
"a_table__td a_table__cell a_table__cell_action",
|
|
83
|
-
this.rowActionsClass,
|
|
84
|
-
],
|
|
81
|
+
class: "a_table__td a_table__cell a_table__cell_action",
|
|
85
82
|
// style: this.stylesTdAction,
|
|
86
83
|
}, [
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
isCaret: false,
|
|
92
|
-
placement: "bottom-end",
|
|
93
|
-
menuWidth: 600,
|
|
94
|
-
}, {
|
|
95
|
-
button: () => [
|
|
96
|
-
h(AIcon, {
|
|
97
|
-
icon: "Plus",
|
|
98
|
-
class: "a_table__cell_action__additional_icon",
|
|
99
|
-
}),
|
|
100
|
-
h("span", {
|
|
101
|
-
class: "a_table__cell_action__additional_text",
|
|
102
|
-
}, this.columnsScrollInvisibleText)
|
|
84
|
+
h("div", {
|
|
85
|
+
class: [
|
|
86
|
+
"a_table__cell__child",
|
|
87
|
+
this.rowActionsClass,
|
|
103
88
|
],
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
return h(ATableListItem, {
|
|
110
|
-
column,
|
|
111
|
-
columnIndex,
|
|
112
|
-
row: this.row,
|
|
113
|
-
rowIndex: this.rowIndex,
|
|
114
|
-
isFooter: this.isFooter,
|
|
115
|
-
}, this.$slots);
|
|
116
|
-
}),
|
|
117
|
-
]),
|
|
118
|
-
],
|
|
119
|
-
}),
|
|
120
|
-
this.isRowActionsDropdownVisible && h(AGroupButtonDropdown, {
|
|
121
|
-
actions: this.rowActionsFiltered,
|
|
122
|
-
useDropdownActionClass: true,
|
|
123
|
-
indexFirstDropdownAction: 0,
|
|
124
|
-
indexFirstDropdownActionMobile: 0,
|
|
125
|
-
minDropdownActions: 0,
|
|
126
|
-
dropdownAttributes: {
|
|
127
|
-
id: this.buttonActionsId,
|
|
128
|
-
buttonIconLeft: "OptionVertical",
|
|
129
|
-
buttonClass: "a_btn a_btn_secondary a_table__cell_action__btn",
|
|
130
|
-
placement: "bottom-end",
|
|
89
|
+
}, [
|
|
90
|
+
this.isColumnsScrollInvisibleDropdownVisible && h(ADropdown, {
|
|
91
|
+
buttonClass: "a_btn a_btn_link",
|
|
92
|
+
dropdownClass: "a_p_0 a_overflow_x_hidden",
|
|
93
|
+
dropdownTag: "div",
|
|
131
94
|
isCaret: false,
|
|
132
|
-
|
|
133
|
-
|
|
95
|
+
placement: "bottom-end",
|
|
96
|
+
menuWidth: 600,
|
|
97
|
+
}, {
|
|
98
|
+
button: () => [
|
|
99
|
+
h(AIcon, {
|
|
100
|
+
icon: "Plus",
|
|
101
|
+
class: "a_table__cell_action__additional_icon",
|
|
102
|
+
}),
|
|
103
|
+
h("span", {
|
|
104
|
+
class: "a_table__cell_action__additional_text",
|
|
105
|
+
}, this.columnsScrollInvisibleText)
|
|
106
|
+
],
|
|
107
|
+
dropdown: () => [
|
|
108
|
+
h("dl", {
|
|
109
|
+
class: "a_list_dl a_list_dl_dt_right",
|
|
110
|
+
}, [
|
|
111
|
+
this.columnsScrollInvisible.map((column, columnIndex) => {
|
|
112
|
+
return h(ATableListItem, {
|
|
113
|
+
column,
|
|
114
|
+
columnIndex,
|
|
115
|
+
row: this.row,
|
|
116
|
+
rowIndex: this.rowIndex,
|
|
117
|
+
isFooter: this.isFooter,
|
|
118
|
+
}, this.$slots);
|
|
119
|
+
}),
|
|
120
|
+
]),
|
|
121
|
+
],
|
|
122
|
+
}),
|
|
123
|
+
this.isRowActionsDropdownVisible && h(AGroupButtonDropdown, {
|
|
124
|
+
actions: this.rowActionsFiltered,
|
|
125
|
+
useDropdownActionClass: true,
|
|
126
|
+
indexFirstDropdownAction: 0,
|
|
127
|
+
indexFirstDropdownActionMobile: 0,
|
|
128
|
+
minDropdownActions: 0,
|
|
129
|
+
dropdownAttributes: {
|
|
130
|
+
id: this.buttonActionsId,
|
|
131
|
+
buttonIconLeft: "OptionVertical",
|
|
132
|
+
buttonClass: "a_btn a_btn_secondary a_table__cell_action__btn",
|
|
133
|
+
placement: "bottom-end",
|
|
134
|
+
isCaret: false,
|
|
135
|
+
},
|
|
136
|
+
}, this.$slots),
|
|
137
|
+
]),
|
|
134
138
|
]);
|
|
135
139
|
},
|
|
136
140
|
};
|