aloha-vue 1.0.253 → 1.0.255
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/AMenu/AMenu.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computed,
|
|
3
|
-
h,
|
|
3
|
+
h, onBeforeUnmount,
|
|
4
4
|
provide,
|
|
5
5
|
Teleport,
|
|
6
6
|
toRef, watch,
|
|
@@ -12,13 +12,14 @@ import AMenuButtonToggle from "./AMenuButtonToggle";
|
|
|
12
12
|
import AMenuPanel from "./AMenuPanel";
|
|
13
13
|
import AMenuSearchPanel from "./AMenuSearchPanel";
|
|
14
14
|
|
|
15
|
-
import MenuAttributesAPI from "./compositionAPI/MenuAttributesAPI";
|
|
16
15
|
import AMenuBlockerClickAPI from "./compositionAPI/AMenuBlockerClickAPI";
|
|
17
16
|
import AMenuDataAPI from "./compositionAPI/AMenuDataAPI";
|
|
18
17
|
import AMenuPanelsAPI from "./compositionAPI/AMenuPanelsAPI";
|
|
19
18
|
import AMenuResizeAPI from "./compositionAPI/AMenuResizeAPI";
|
|
20
19
|
import AMenuSearchAPI from "./compositionAPI/AMenuSearchAPI";
|
|
21
20
|
import AMenuToggleAPI from "./compositionAPI/AMenuToggleAPI";
|
|
21
|
+
import DestroyAPI from "./compositionAPI/DestroyAPI";
|
|
22
|
+
import MenuAttributesAPI from "./compositionAPI/MenuAttributesAPI";
|
|
22
23
|
|
|
23
24
|
export default {
|
|
24
25
|
name: "AMenu",
|
|
@@ -137,6 +138,10 @@ export default {
|
|
|
137
138
|
setup(props) {
|
|
138
139
|
const isLinkTruncated = toRef(props, "isLinkTruncated");
|
|
139
140
|
|
|
141
|
+
const {
|
|
142
|
+
removeBodyClasses,
|
|
143
|
+
} = DestroyAPI();
|
|
144
|
+
|
|
140
145
|
const {
|
|
141
146
|
dataKeyById,
|
|
142
147
|
dataProParent,
|
|
@@ -209,6 +214,10 @@ export default {
|
|
|
209
214
|
|
|
210
215
|
initMenuOpenOrClose();
|
|
211
216
|
|
|
217
|
+
onBeforeUnmount(() => {
|
|
218
|
+
removeBodyClasses();
|
|
219
|
+
});
|
|
220
|
+
|
|
212
221
|
return {
|
|
213
222
|
attributesBlockerClick,
|
|
214
223
|
attributesMenuClick,
|
|
@@ -222,6 +231,7 @@ export default {
|
|
|
222
231
|
isSearchActive,
|
|
223
232
|
modelSearch,
|
|
224
233
|
panelParentsOpen,
|
|
234
|
+
removeBodyClasses,
|
|
225
235
|
toggleMenu,
|
|
226
236
|
togglePanel,
|
|
227
237
|
updateModelSearch,
|
package/src/AModal/AModal.js
CHANGED
|
@@ -171,6 +171,11 @@ export default {
|
|
|
171
171
|
validator: value => ["small", "large", "xl", "xxl", "fullscreen"].indexOf(value) !== -1,
|
|
172
172
|
default: () => modalPluginOptions.value.propsDefault.size,
|
|
173
173
|
},
|
|
174
|
+
textErrorHeader: {
|
|
175
|
+
type: String,
|
|
176
|
+
required: false,
|
|
177
|
+
default: undefined,
|
|
178
|
+
},
|
|
174
179
|
textRequired: {
|
|
175
180
|
type: String,
|
|
176
181
|
required: false,
|
|
@@ -487,6 +492,7 @@ export default {
|
|
|
487
492
|
idPrefix: this.idPrefix,
|
|
488
493
|
isRequired: this.isRequired,
|
|
489
494
|
textRequired: this.textRequired,
|
|
495
|
+
textErrorHeader: this.textErrorHeader,
|
|
490
496
|
isHide: this.isDataFormHide,
|
|
491
497
|
isRender: this.isDataFormRender,
|
|
492
498
|
"onUpdate:modelValue": this.updateModelLocal,
|
|
@@ -47,7 +47,7 @@ export default {
|
|
|
47
47
|
required: false,
|
|
48
48
|
default: true,
|
|
49
49
|
},
|
|
50
|
-
|
|
50
|
+
textErrorHeader: {
|
|
51
51
|
type: String,
|
|
52
52
|
required: false,
|
|
53
53
|
default: "Bitte überprüfen Sie Ihre Eingaben.",
|
|
@@ -165,7 +165,7 @@ export default {
|
|
|
165
165
|
h("div", {
|
|
166
166
|
class: "a_errors__header"
|
|
167
167
|
}, [
|
|
168
|
-
h("strong", null, this.
|
|
168
|
+
h("strong", null, this.textErrorHeader),
|
|
169
169
|
]),
|
|
170
170
|
h("div", {
|
|
171
171
|
class: "a_errors__list",
|
package/src/ui/AForm/AForm.js
CHANGED
|
@@ -62,6 +62,11 @@ export default {
|
|
|
62
62
|
required: false,
|
|
63
63
|
default: undefined,
|
|
64
64
|
},
|
|
65
|
+
textErrorHeader: {
|
|
66
|
+
type: String,
|
|
67
|
+
required: false,
|
|
68
|
+
default: undefined,
|
|
69
|
+
},
|
|
65
70
|
},
|
|
66
71
|
emits: [
|
|
67
72
|
"update:modelValue",
|
|
@@ -131,6 +136,7 @@ export default {
|
|
|
131
136
|
isDismissible: false,
|
|
132
137
|
optionsList: this.data,
|
|
133
138
|
idPrefix: this.idPrefix,
|
|
139
|
+
textErrorHeader: this.textErrorHeader,
|
|
134
140
|
}),
|
|
135
141
|
h("div", {
|
|
136
142
|
class: "a_columns a_columns_count_12 a_columns_gab_2",
|