aloha-vue 1.0.370 → 1.0.372

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.0.370",
17
+ "version": "1.0.372",
18
18
  "author": {
19
19
  "name": "Ilia Brykin",
20
20
  "email": "brykin.ilia@gmail.com"
@@ -27,7 +27,7 @@ export default {
27
27
  type: Boolean,
28
28
  required: false,
29
29
  },
30
- extraTranslate: {
30
+ extra: {
31
31
  type: Object,
32
32
  required: false,
33
33
  },
@@ -78,7 +78,7 @@ export default {
78
78
  tag: "span",
79
79
  class: ["a_cloak__text a_cloak__text_left", this.classTextSize],
80
80
  text: this.text,
81
- extra: this.extraTranslate,
81
+ extra: this.extra,
82
82
  });
83
83
  },
84
84
 
@@ -87,7 +87,7 @@ export default {
87
87
  tag: "span",
88
88
  class: ["a_cloak__text a_cloak__text_right", this.classTextSize],
89
89
  text: this.text,
90
- extra: this.extraTranslate,
90
+ extra: this.extra,
91
91
  });
92
92
  },
93
93
 
@@ -18,7 +18,7 @@ export default {
18
18
  default: "center",
19
19
  validator: value => ["start", "center", "end"].indexOf(value) !== -1,
20
20
  },
21
- extraTranslate: {
21
+ extra: {
22
22
  type: Object,
23
23
  required: false,
24
24
  },
@@ -82,7 +82,7 @@ export default {
82
82
  tag: "span",
83
83
  class: ["a_cloak__text a_cloak__text_left", this.classTextSize],
84
84
  text: this.text,
85
- extra: this.extraTranslate,
85
+ extra: this.extra,
86
86
  });
87
87
  },
88
88
 
@@ -91,7 +91,7 @@ export default {
91
91
  tag: "span",
92
92
  class: ["a_cloak__text a_cloak__text_right", this.classTextSize],
93
93
  text: this.text,
94
- extra: this.extraTranslate,
94
+ extra: this.extra,
95
95
  });
96
96
  },
97
97
 
@@ -270,7 +270,7 @@ export default {
270
270
  h(ATranslation, {
271
271
  tag: "span",
272
272
  class: "a_table__th__text",
273
- text: this.labelLocal,
273
+ safeHtml: this.labelLocal,
274
274
  }),
275
275
  this.column.title && h(ATranslation, {
276
276
  title: this.column.title,
@@ -293,7 +293,7 @@ export default {
293
293
  class: "a_btn a_btn_secondary a_table__multiple_panel__btn_all_rows",
294
294
  type: "button",
295
295
  text: this.textMultipleBtnAllRowsTranslate,
296
- extraTranslate: {
296
+ extra: {
297
297
  countAllRows: this.countAllRows,
298
298
  },
299
299
  disabled: this.isBtnSelectAllRowsDisabled || this.disabledMultipleActions,
@@ -40,7 +40,7 @@ export default {
40
40
  required: false,
41
41
  default: undefined,
42
42
  },
43
- extraTranslate: {
43
+ extra: {
44
44
  type: Object,
45
45
  required: false,
46
46
  default: () => ({}),
@@ -226,7 +226,7 @@ export default {
226
226
  forwardButtonTitle: this.forwardButtonTitle,
227
227
  forwardButtonIcon: this.forwardButtonIcon,
228
228
  forwardButtonIconAlign: this.forwardButtonIconAlign,
229
- extraTranslate: this.extraTranslate,
229
+ extra: this.extra,
230
230
  isForwardButtonDisabled: this.isForwardButtonDisabled,
231
231
  isBackButtonDisabled: this.isBackButtonDisabled,
232
232
  isForwardButtonHide: this.isForwardButtonHide,
@@ -260,7 +260,7 @@ export default {
260
260
  isBackStepButtonDisabled: this.isBackStepButtonDisabled,
261
261
  isForwardButtonDisabled: this.isForwardButtonDisabled,
262
262
  isBackButtonDisabled: this.isBackButtonDisabled,
263
- extraTranslate: this.extraTranslate,
263
+ extra: this.extra,
264
264
  onOnStepClick: this.onStepClick,
265
265
  }, this.$slots);
266
266
  }),
@@ -47,7 +47,7 @@ export default {
47
47
  type: Boolean,
48
48
  required: true,
49
49
  },
50
- extraTranslate: {
50
+ extra: {
51
51
  type: Object,
52
52
  required: true,
53
53
  },
@@ -132,7 +132,7 @@ export default {
132
132
  tag: "span",
133
133
  html: this.step.label,
134
134
  class: "a_wizard__step__text",
135
- extra: this.extraTranslate,
135
+ extra: this.extra,
136
136
  }),
137
137
  ]),
138
138
  h("span", {
@@ -69,7 +69,7 @@ export default {
69
69
  required: false,
70
70
  default: undefined,
71
71
  },
72
- extraTranslate: {
72
+ extra: {
73
73
  type: Object,
74
74
  required: false,
75
75
  default: undefined,
@@ -158,7 +158,7 @@ export default {
158
158
  icon: this.backButtonIcon,
159
159
  iconAlign: this.backButtonIconAlign,
160
160
  title: this.backButtonTitle,
161
- extraTranslate: this.extraTranslate,
161
+ extra: this.extra,
162
162
  disabled: this.isBackButtonDisabledLocal,
163
163
  loading: this.isButtonsLoading,
164
164
  onClick: this.goOneStepBack,
@@ -170,7 +170,7 @@ export default {
170
170
  icon: this.forwardButtonIcon,
171
171
  iconAlign: this.forwardButtonIconAlign,
172
172
  title: this.forwardButtonTitle,
173
- extraTranslate: this.extraTranslate,
173
+ extra: this.extra,
174
174
  disabled: this.isForwardButtonDisabledLocal,
175
175
  loading: this.isButtonsLoading,
176
176
  onClick: this.goOneStepForward,
@@ -14,7 +14,7 @@ export default function StepsAPI(props, {
14
14
  }) {
15
15
  const steps = toRef(props, "steps");
16
16
  const stepsProgressbarText = toRef(props, "stepsProgressbarText");
17
- const extraTranslate = toRef(props, "extraTranslate");
17
+ const extra = toRef(props, "extra");
18
18
 
19
19
  const {
20
20
  getTranslatedText,
@@ -31,7 +31,7 @@ export default function StepsAPI(props, {
31
31
  const stepActiveLabelTranslated = computed(() => {
32
32
  return getTranslatedText({
33
33
  placeholder: stepActiveLabel.value,
34
- extra: extraTranslate.value,
34
+ extra: extra.value,
35
35
  });
36
36
  });
37
37
 
@@ -44,7 +44,7 @@ export default function StepsAPI(props, {
44
44
  stepActiveLabel: stepActiveLabelTranslated.value,
45
45
  stepsCount: stepsCount.value,
46
46
  stepActive: stepActiveNumber.value,
47
- ...extraTranslate.value,
47
+ ...extra.value,
48
48
  };
49
49
  });
50
50