aloha-vue 1.2.152 → 1.2.154
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 +1 -1
- package/src/AModal/AModal.js +7 -2
- package/src/AModalConfirm/AModalConfirm.js +1 -0
- package/src/ui/ACheckbox/ACheckbox.js +6 -4
- package/src/ui/ARadio/ARadio.js +6 -4
- package/src/ui/ASelect/ASelect.js +6 -4
- package/src/ui/ASelect/i18n/ru.json +1 -1
- package/src/ui/ATinymce/compositionAPI/ATinymceAPI.js +1 -0
package/package.json
CHANGED
package/src/AModal/AModal.js
CHANGED
|
@@ -167,6 +167,11 @@ export default {
|
|
|
167
167
|
required: false,
|
|
168
168
|
default: () => modalPluginOptions.value.propsDefault.selectorCloseIds,
|
|
169
169
|
},
|
|
170
|
+
showCloseButton: {
|
|
171
|
+
type: Boolean,
|
|
172
|
+
required: false,
|
|
173
|
+
default: true,
|
|
174
|
+
},
|
|
170
175
|
size: {
|
|
171
176
|
type: String,
|
|
172
177
|
validator: value => ["small", "large", "xl", "xxl", "fullscreen"].indexOf(value) !== -1,
|
|
@@ -322,13 +327,13 @@ export default {
|
|
|
322
327
|
extra: this.extra,
|
|
323
328
|
}),
|
|
324
329
|
]),
|
|
325
|
-
h(AButton, {
|
|
330
|
+
this.showCloseButton ? h(AButton, {
|
|
326
331
|
class: "a_btn_close",
|
|
327
332
|
disabled: this.disabledLocal,
|
|
328
333
|
textScreenReader: this.closeButtonText,
|
|
329
334
|
title: this.closeButtonText,
|
|
330
335
|
onClick: () => this.close(true),
|
|
331
|
-
})
|
|
336
|
+
}) : "",
|
|
332
337
|
]),
|
|
333
338
|
h("div", {
|
|
334
339
|
ref: "modal_body",
|
|
@@ -644,10 +644,12 @@ export default {
|
|
|
644
644
|
})
|
|
645
645
|
]),
|
|
646
646
|
]),
|
|
647
|
-
this.
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
647
|
+
(!this.dataSort.length || this.hasNotElementsWithSearch) ?
|
|
648
|
+
h(ATranslation, {
|
|
649
|
+
class: "a_form__not_elements",
|
|
650
|
+
text: "_A_CHECKBOX_HAS_NOT_ELEMENTS_WITH_SEARCH_",
|
|
651
|
+
}) :
|
|
652
|
+
"",
|
|
651
653
|
]),
|
|
652
654
|
]),
|
|
653
655
|
]),
|
package/src/ui/ARadio/ARadio.js
CHANGED
|
@@ -652,10 +652,12 @@ export default {
|
|
|
652
652
|
})
|
|
653
653
|
]),
|
|
654
654
|
]),
|
|
655
|
-
this.
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
655
|
+
(!this.dataSort.length || this.hasNotElementsWithSearch) ?
|
|
656
|
+
h(ATranslation, {
|
|
657
|
+
class: "a_form__not_elements",
|
|
658
|
+
text: "_A_RADIO_HAS_NOT_ELEMENTS_WITH_SEARCH_",
|
|
659
|
+
}) :
|
|
660
|
+
"",
|
|
659
661
|
]),
|
|
660
662
|
]),
|
|
661
663
|
]),
|
|
@@ -875,10 +875,12 @@ export default {
|
|
|
875
875
|
})
|
|
876
876
|
]),
|
|
877
877
|
]),
|
|
878
|
-
this.
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
878
|
+
(!this.dataSort.length || this.hasNotElementsWithSearch) ?
|
|
879
|
+
h(ATranslation, {
|
|
880
|
+
class: "a_form__not_elements",
|
|
881
|
+
text: "_A_SELECT_HAS_NOT_ELEMENTS_WITH_SEARCH_",
|
|
882
|
+
}) :
|
|
883
|
+
"",
|
|
882
884
|
]),
|
|
883
885
|
]),
|
|
884
886
|
]),
|