aloha-vue 1.0.231 → 1.0.232

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.
@@ -16,6 +16,7 @@ div
16
16
  :filters="filters"
17
17
  :rows-footer="rowsFooter"
18
18
  :is-loading-table="false"
19
+ :is-loading-multiple-actions="true"
19
20
  :views="views"
20
21
  :model-view="modelView"
21
22
  v-model:modelQuickSearch="modelQuickSearch"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aloha-vue",
3
3
  "description": "Project aloha",
4
- "version": "1.0.231",
4
+ "version": "1.0.232",
5
5
  "author": "Ilia Brykin",
6
6
  "scripts": {
7
7
  "build-icons": "node scriptsNode/iconsSvgToJs.js bootstrap3 && node scriptsNode/iconsSvgToJs.js bootstrap-1-9-1"
@@ -113,6 +113,10 @@ export default {
113
113
  type: Boolean,
114
114
  required: false,
115
115
  },
116
+ isLoadingMultipleActions: {
117
+ type: Boolean,
118
+ required: false,
119
+ },
116
120
  isPagination: {
117
121
  type: Boolean,
118
122
  required: false,
@@ -651,6 +655,7 @@ export default {
651
655
  multipleActions: this.multipleActions,
652
656
  modelFilters: this.modelFilters,
653
657
  isQuickSearch: this.isQuickSearch,
658
+ isLoadingMultipleActions: this.isLoadingMultipleActions,
654
659
  modelQuickSearch: this.modelQuickSearch,
655
660
  selectedRows: this.selectedRows,
656
661
  views: this.views,
@@ -64,6 +64,10 @@ export default {
64
64
  type: Boolean,
65
65
  required: false,
66
66
  },
67
+ isLoadingMultipleActions: {
68
+ type: Boolean,
69
+ required: false,
70
+ },
67
71
  modelQuickSearch: {
68
72
  type: String,
69
73
  required: true,
@@ -278,6 +282,8 @@ export default {
278
282
  extraTranslate: {
279
283
  countAllRows: this.countAllRows,
280
284
  },
285
+ disabled: this.isLoadingMultipleActions,
286
+ loading: this.isLoadingMultipleActions,
281
287
  onClick: this.toggleBtnAllRows,
282
288
  }),
283
289
  ]),
@@ -292,8 +298,10 @@ export default {
292
298
  h(AButton, {
293
299
  class: "a_btn a_btn_primary a_table__action",
294
300
  type: "button",
295
- disabled: this.isBtnMultipleActionDisabled,
301
+ disabled: this.isBtnMultipleActionDisabled || this.isLoadingMultipleActions,
296
302
  text: this.currentMultipleActions.label,
303
+ loading: this.isLoadingMultipleActions,
304
+ loadingAlign: "left",
297
305
  onClick: this.onOpenModalMultipleActions,
298
306
  }),
299
307
  h(AButton, {