aloha-vue 1.2.32 → 1.2.33

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.32",
17
+ "version": "1.2.33",
18
18
  "author": {
19
19
  "name": "Ilia Brykin",
20
20
  "email": "brykin.ilia@gmail.com"
@@ -305,15 +305,23 @@ export default {
305
305
  h("div", {
306
306
  class: "a_table__multiple_panel__actions",
307
307
  }, [
308
- h(AButton, {
309
- class: "a_btn a_btn_primary a_table__action",
310
- type: "button",
311
- disabled: this.isBtnMultipleActionDisabled || this.isLoadingMultipleActions || this.disabledMultipleActions,
312
- text: this.currentMultipleActions.text,
313
- loading: this.isLoadingMultipleActions,
314
- loadingAlign: "left",
315
- onClick: this.onOpenModalMultipleActions,
316
- }),
308
+ this.currentMultipleActions.slot && this.$slots.multipleActionActiveSlot ?
309
+ this.$slots.multipleActionActiveSlot({
310
+ disabled: this.isBtnMultipleActionDisabled || this.isLoadingMultipleActions || this.disabledMultipleActions,
311
+ loading: this.isLoadingMultipleActions,
312
+ text: this.currentMultipleActions.text,
313
+ action: this.currentMultipleActions,
314
+ onClick: this.onOpenModalMultipleActions,
315
+ }) :
316
+ h(AButton, {
317
+ class: "a_btn a_btn_primary a_table__action",
318
+ type: "button",
319
+ disabled: this.isBtnMultipleActionDisabled || this.isLoadingMultipleActions || this.disabledMultipleActions,
320
+ text: this.currentMultipleActions.text,
321
+ loading: this.isLoadingMultipleActions,
322
+ loadingAlign: "left",
323
+ onClick: this.onOpenModalMultipleActions,
324
+ }),
317
325
  h(AButton, {
318
326
  class: "a_btn a_btn_secondary a_table__action",
319
327
  type: "button",
@@ -1,4 +1,5 @@
1
1
  .a_table__parent {
2
+ --a_table_bg: var(--a_color_white);
2
3
  --a_table_th_bg: #f1f4f7;
3
4
  --a_table_th_border_bottom_width: 3px;
4
5
  --a_table_th_border_bottom_color: #d0c9c0;
@@ -42,7 +43,7 @@
42
43
  overflow-x: auto;
43
44
  }
44
45
  .a_table {
45
- --a_table_bg: var(--a_color_white);
46
+
46
47
  display: block;
47
48
  width: 100%;
48
49
  caption-side: bottom;