aloha-vue 1.2.193 → 1.2.195

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
@@ -14,7 +14,7 @@
14
14
  "Vue.js"
15
15
  ],
16
16
  "homepage": "https://github.com/ilia-brykin/aloha/#README.md",
17
- "version": "1.2.193",
17
+ "version": "1.2.195",
18
18
  "author": {
19
19
  "name": "Ilia Brykin",
20
20
  "email": "brykin.ilia@gmail.com"
@@ -7,6 +7,7 @@ import AGroupButtonDropdown from "../../AGroupButtonDropdown/AGroupButtonDropdow
7
7
  import AIcon from "../../AIcon/AIcon";
8
8
  import ATableListItem from "../ATableListItem/ATableListItem";
9
9
 
10
+ import AMobileAPI from "../../compositionAPI/AMobileAPI";
10
11
  import ColumnsCountAPI from "./compositionAPI/ColumnsCountAPI.js";
11
12
  import RowActionsAPI from "../compositionAPI/RowActionsAPI";
12
13
  import RowNumberAPI from "./compositionAPI/RowNumberAPI.js";
@@ -64,6 +65,10 @@ export default {
64
65
  "tableId",
65
66
  ],
66
67
  setup(props) {
68
+ const {
69
+ isMobileWidth,
70
+ } = AMobileAPI();
71
+
67
72
  const {
68
73
  buttonActionsId,
69
74
  buttonFirstActionId,
@@ -91,6 +96,7 @@ export default {
91
96
  columnsScrollInvisibleText,
92
97
  countColumnsScrollInvisible,
93
98
  isColumnsScrollInvisibleDropdownVisible,
99
+ isMobileWidth,
94
100
  isRowActionsDropdownVisible,
95
101
  rowActionsFiltered,
96
102
  rowNumber,
@@ -167,7 +173,8 @@ export default {
167
173
  }) :
168
174
  "",
169
175
  this.isRowActionsDropdownVisible ?
170
- this.columnActionsView === "dropdown" ?
176
+ this.columnActionsView === "dropdown" ||
177
+ (this.isMobileWidth && this.columnActionsOnePlusDropdownOptions.indexFirstDropdownActionMobile === 0) ?
171
178
  h(ADropdown, {
172
179
  id: this.buttonActionsId,
173
180
  actions: this.rowActionsFiltered,