aloha-vue 1.0.306 → 1.0.307

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.306",
4
+ "version": "1.0.307",
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"
@@ -5,6 +5,7 @@ import {
5
5
  } from "vue";
6
6
 
7
7
  import AForm from "../ui/AForm/AForm";
8
+ import ATranslation from "../ATranslation/ATranslation";
8
9
 
9
10
  import ASafeHtml from "../directives/ASafeHtml";
10
11
 
@@ -24,7 +25,6 @@ import {
24
25
  isFunction,
25
26
  isString,
26
27
  } from "lodash-es";
27
- import ATranslation from "../ATranslation/ATranslation";
28
28
 
29
29
  // @vue/component
30
30
  export default {
@@ -471,7 +471,10 @@ export default {
471
471
  this.headerText && h(this.headerTag, {
472
472
  class: "a_modal_title",
473
473
  }, [
474
- h("span", null, this.headerText),
474
+ h(ATranslation, {
475
+ tag: "span",
476
+ html: this.headerText,
477
+ }),
475
478
  ]),
476
479
  h("button", {
477
480
  type: "button",
@@ -7,7 +7,6 @@ import {
7
7
  } from "vue";
8
8
 
9
9
  import AButton from "../../AButton/AButton";
10
- import AIcon from "../../AIcon/AIcon";
11
10
  import ATableFiltersTopFilter from "./ATableFiltersTopFilter";
12
11
  import ATableFiltersTopFilterUi from "./ATableFiltersTopFilterUi";
13
12
 
@@ -138,17 +137,13 @@ export default {
138
137
  this.isBtnToggleVisible && h("div", {
139
138
  class: "a_column",
140
139
  }, [
141
- h("button", {
140
+ h(AButton, {
142
141
  class: "a_btn a_btn_link a_text_nowrap",
143
142
  type: "button",
143
+ text: this.textToggle,
144
+ iconRight: this.iconToggle,
144
145
  onClick: this.onToggle,
145
- }, [
146
- h("span", {}, this.textToggle),
147
- h(AIcon, {
148
- class: "a_ml_2",
149
- icon: this.iconToggle,
150
- }),
151
- ]),
146
+ }),
152
147
  ]),
153
148
  ]),
154
149
  h("div", {