aloha-vue 1.2.151 → 1.2.153
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
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",
|
|
@@ -93,7 +93,6 @@
|
|
|
93
93
|
.a_select_menu__child {
|
|
94
94
|
max-height: var(--a_select_menu_max_height);
|
|
95
95
|
overflow: auto;
|
|
96
|
-
overflow-y: hidden;
|
|
97
96
|
}
|
|
98
97
|
|
|
99
98
|
.a_select_list {
|
|
@@ -122,6 +121,7 @@
|
|
|
122
121
|
word-wrap: break-word;
|
|
123
122
|
word-break: break-word;
|
|
124
123
|
hyphens: auto;
|
|
124
|
+
overflow-y: hidden;
|
|
125
125
|
&:not(.a_select__menu__link_disabled) {
|
|
126
126
|
&:hover {
|
|
127
127
|
background-color: var(--a_select_menu_link_hover_bg);
|