@maas/vue-equipment 0.33.1 → 0.34.0
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/dist/nuxt/module.json +1 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue +1 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuCallback.d.ts +1 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuCallback.mjs +4 -1
- package/dist/plugins/MagicMenu/src/composables/private/useMenuView.mjs +2 -2
- package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue +0 -1
- package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +0 -1
- package/package.json +1 -1
package/dist/nuxt/module.json
CHANGED
|
@@ -6,6 +6,7 @@ export function useMenuCallback(args) {
|
|
|
6
6
|
state,
|
|
7
7
|
instanceId,
|
|
8
8
|
viewId,
|
|
9
|
+
innerActive,
|
|
9
10
|
wrapperActive,
|
|
10
11
|
lockScroll,
|
|
11
12
|
unlockScroll,
|
|
@@ -44,7 +45,9 @@ export function useMenuCallback(args) {
|
|
|
44
45
|
removeScrollLockPadding();
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
|
-
|
|
48
|
+
if (!innerActive.value) {
|
|
49
|
+
wrapperActive.value = false;
|
|
50
|
+
}
|
|
48
51
|
}
|
|
49
52
|
return {
|
|
50
53
|
onBeforeEnter,
|
|
@@ -102,7 +102,7 @@ export function useMenuView(instanceId) {
|
|
|
102
102
|
instance.active = true;
|
|
103
103
|
unselectUnrelatedViews(id);
|
|
104
104
|
} catch (error) {
|
|
105
|
-
if (error.name === "AbortError") {
|
|
105
|
+
if (error.name === "AbortError" && state.options.debug) {
|
|
106
106
|
console.log(
|
|
107
107
|
`selectView() was interrupted by a call to unselectView()`
|
|
108
108
|
);
|
|
@@ -124,7 +124,7 @@ export function useMenuView(instanceId) {
|
|
|
124
124
|
await delay(delayMs, abortController.signal);
|
|
125
125
|
instance.active = false;
|
|
126
126
|
} catch (error) {
|
|
127
|
-
if (error.name === "AbortError") {
|
|
127
|
+
if (error.name === "AbortError" && state.options.debug) {
|
|
128
128
|
console.log(
|
|
129
129
|
`unselectView() was interrupted by a call to selectView()`
|
|
130
130
|
);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maas/vue-equipment",
|
|
3
3
|
"description": "A magic collection of Vue composables, plugins, components and directives",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.34.0",
|
|
5
5
|
"author": "Robin Scholz <https://github.com/robinscholz>, Christoph Jeworutzki <https://github.com/ChristophJeworutzki>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"devDependencies": {
|