aloha-vue 1.0.51 → 1.0.52

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aloha-vue",
3
3
  "description": "Project aloha",
4
- "version": "1.0.51",
4
+ "version": "1.0.52",
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"
@@ -64,6 +64,10 @@ export default {
64
64
  required: false,
65
65
  default: "a_btn a_btn_primary",
66
66
  },
67
+ isSaveButtonHide: {
68
+ type: Boolean,
69
+ required: false,
70
+ },
67
71
  close: {
68
72
  type: Function,
69
73
  required: true,
@@ -78,7 +82,7 @@ export default {
78
82
  required: false,
79
83
  default: "a_btn a_btn_secondary",
80
84
  },
81
- isCloseButtonHidden: {
85
+ isCloseButtonHide: {
82
86
  type: Boolean,
83
87
  required: false,
84
88
  },
@@ -435,6 +439,7 @@ export default {
435
439
  class: "a_btn_close",
436
440
  ariaLabel: "Close",
437
441
  disabled: this.disabledLocal,
442
+ title: this.closeButtonText,
438
443
  onClick: this.close,
439
444
  })
440
445
  ]),
@@ -464,7 +469,7 @@ export default {
464
469
  class: "a_modal_footer",
465
470
  }, [
466
471
  this.$slots.modalFooter && this.$slots.modalFooter(),
467
- this.save && h("button", {
472
+ (!this.isSaveButtonHide && this.save) && h("button", {
468
473
  type: "button",
469
474
  class: this.saveButtonClass,
470
475
  disabled: this.disabledLocal,
@@ -472,7 +477,7 @@ export default {
472
477
  }, [
473
478
  h("span", null, this.saveButtonText),
474
479
  ]),
475
- !this.isCloseButtonHidden && h("button", {
480
+ !this.isCloseButtonHide && h("button", {
476
481
  type: "button",
477
482
  class: this.closeButtonClass,
478
483
  disabled: this.disabledLocal,