@maas/vue-equipment 1.0.0-beta.30 → 1.0.0-beta.32
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/MagicAccordion/src/components/MagicAccordionContent.vue +6 -6
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +2 -2
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue +2 -2
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionTrigger.d.ts +1 -1
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionTrigger.mjs +3 -3
- package/dist/plugins/MagicCommand/src/components/MagicCommandContent.vue +6 -6
- package/dist/plugins/MagicCommand/src/components/MagicCommandContent.vue.d.ts +2 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue +2 -2
- package/dist/plugins/MagicCommand/src/composables/private/useCommandTrigger.d.ts +1 -1
- package/dist/plugins/MagicCommand/src/composables/private/useCommandTrigger.mjs +2 -2
- package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue +3 -3
- package/dist/plugins/MagicCookie/src/composables/private/useCookieItem.mjs +3 -1
- package/dist/plugins/MagicCookie/src/composables/useMagicCookie.d.ts +2 -1
- package/dist/plugins/MagicCookie/src/composables/useMagicCookie.mjs +9 -5
- package/dist/plugins/MagicCookie/src/types/index.d.ts +1 -0
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue +3 -3
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue +6 -6
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +3 -3
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue +2 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue +2 -2
- package/dist/plugins/MagicMenu/src/composables/private/useMenuKeyListener.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/composables/private/useMenuKeyListener.mjs +2 -2
- package/dist/plugins/MagicMenu/src/composables/private/useMenuTrigger.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/composables/private/useMenuTrigger.mjs +2 -2
- package/dist/plugins/MagicModal/src/components/MagicModal.vue +3 -3
- package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue +6 -6
- package/package.json +5 -5
package/dist/nuxt/module.json
CHANGED
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
>
|
|
13
13
|
<transition
|
|
14
14
|
:name="mappedTransition"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
@before-enter="onBeforeEnter"
|
|
16
|
+
@enter="onEnter"
|
|
17
|
+
@after-enter="onAfterEnter"
|
|
18
|
+
@before-leave="onBeforeLeave"
|
|
19
|
+
@leave="onLeave"
|
|
20
|
+
@after-leave="onAfterLeave"
|
|
21
21
|
>
|
|
22
22
|
<primitive v-show="view?.active" :as-child="asChild">
|
|
23
23
|
<slot :view-active="view?.active" />
|
|
@@ -9,11 +9,11 @@ interface MagicAccordionContentProps {
|
|
|
9
9
|
easing: (t: number) => number;
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
declare var
|
|
12
|
+
declare var __VLS_22: {
|
|
13
13
|
viewActive: boolean | undefined;
|
|
14
14
|
};
|
|
15
15
|
type __VLS_Slots = {} & {
|
|
16
|
-
default?: (props: typeof
|
|
16
|
+
default?: (props: typeof __VLS_22) => any;
|
|
17
17
|
};
|
|
18
18
|
declare const __VLS_component: import("vue").DefineComponent<MagicAccordionContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -53,14 +53,14 @@ const view = getView(mappedViewId.value);
|
|
|
53
53
|
const mappedDisabled = computed(
|
|
54
54
|
() => toValue(disabled) || state.options.disabled
|
|
55
55
|
);
|
|
56
|
-
const { onMouseenter, onClick,
|
|
56
|
+
const { onMouseenter, onClick, onKeypress } = useAccordionTrigger({
|
|
57
57
|
elRef,
|
|
58
58
|
instanceId,
|
|
59
59
|
viewId: mappedViewId.value,
|
|
60
60
|
disabled,
|
|
61
61
|
trigger
|
|
62
62
|
});
|
|
63
|
-
onKeyStroke("Enter",
|
|
63
|
+
onKeyStroke("Enter", onKeypress);
|
|
64
64
|
</script>
|
|
65
65
|
|
|
66
66
|
<style>
|
|
@@ -11,6 +11,6 @@ interface UseAccordionTriggerArgs {
|
|
|
11
11
|
export declare function useAccordionTrigger(args: UseAccordionTriggerArgs): {
|
|
12
12
|
onMouseenter: () => void;
|
|
13
13
|
onClick: () => void;
|
|
14
|
-
|
|
14
|
+
onKeypress: (e: KeyboardEvent) => void;
|
|
15
15
|
};
|
|
16
16
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toValue } from "vue";
|
|
2
2
|
import { Primitive } from "@maas/vue-primitive";
|
|
3
|
-
import { useAccordionView } from "./useAccordionView.mjs";
|
|
4
3
|
import { useFocus } from "@vueuse/core";
|
|
4
|
+
import { useAccordionView } from "./useAccordionView.mjs";
|
|
5
5
|
export function useAccordionTrigger(args) {
|
|
6
6
|
const { instanceId, viewId, elRef, disabled, trigger } = args;
|
|
7
7
|
const { selectView, unselectView, getView } = useAccordionView(instanceId);
|
|
@@ -21,7 +21,7 @@ export function useAccordionTrigger(args) {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function onKeypress(e) {
|
|
25
25
|
if (focused.value && !toValue(disabled) && !view?.active) {
|
|
26
26
|
e.preventDefault();
|
|
27
27
|
e.stopPropagation();
|
|
@@ -35,6 +35,6 @@ export function useAccordionTrigger(args) {
|
|
|
35
35
|
return {
|
|
36
36
|
onMouseenter,
|
|
37
37
|
onClick,
|
|
38
|
-
|
|
38
|
+
onKeypress
|
|
39
39
|
};
|
|
40
40
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
<teleport v-if="state.renderer && state.active" :to="state.renderer">
|
|
3
3
|
<transition
|
|
4
4
|
:name="state.options.transition?.content"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
@before-enter="onBeforeEnter"
|
|
6
|
+
@enter="onEnter"
|
|
7
|
+
@after-enter="onAfterEnter"
|
|
8
|
+
@before-leave="onBeforeLeave"
|
|
9
|
+
@leave="onLeave"
|
|
10
|
+
@after-leave="onAfterLeave"
|
|
11
11
|
>
|
|
12
12
|
<div
|
|
13
13
|
v-if="isActive"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '@maas/vue-equipment/utils/css/keyframes/fade-in.css';
|
|
2
2
|
import '@maas/vue-equipment/utils/css/keyframes/fade-out.css';
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_18: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_18) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
8
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -63,7 +63,7 @@ const mappedDisabled = computed(
|
|
|
63
63
|
() => disabled ?? toValue(itemDisabled) ?? false
|
|
64
64
|
);
|
|
65
65
|
const options = inject(MagicCommandProviderOptions, void 0);
|
|
66
|
-
const { onMouseenter, onClick,
|
|
66
|
+
const { onMouseenter, onClick, onKeypress } = useCommandTrigger({
|
|
67
67
|
instanceId,
|
|
68
68
|
viewId: mappedViewId.value,
|
|
69
69
|
mappedActive,
|
|
@@ -86,7 +86,7 @@ if (options?.keyListener?.enter) {
|
|
|
86
86
|
for (const key of options.keyListener.enter) {
|
|
87
87
|
watch(keys[key], (value) => {
|
|
88
88
|
if (value) {
|
|
89
|
-
|
|
89
|
+
onKeypress();
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
}
|
|
@@ -13,6 +13,6 @@ type UseCommandTriggerArgs = {
|
|
|
13
13
|
export declare function useCommandTrigger(args: UseCommandTriggerArgs): {
|
|
14
14
|
onMouseenter: () => Promise<void>;
|
|
15
15
|
onClick: (e: MouseEvent) => Promise<void>;
|
|
16
|
-
|
|
16
|
+
onKeypress: (e?: KeyboardEvent) => Promise<void>;
|
|
17
17
|
};
|
|
18
18
|
export {};
|
|
@@ -18,7 +18,7 @@ export function useCommandTrigger(args) {
|
|
|
18
18
|
const { initializeState } = useCommandState(instanceId);
|
|
19
19
|
const state = initializeState();
|
|
20
20
|
const { focused } = useFocus(elRef);
|
|
21
|
-
async function
|
|
21
|
+
async function onKeypress(e) {
|
|
22
22
|
if ((focused.value || mappedActive?.value) && !mappedDisabled.value && !view?.active) {
|
|
23
23
|
e?.preventDefault();
|
|
24
24
|
e?.stopPropagation();
|
|
@@ -72,6 +72,6 @@ export function useCommandTrigger(args) {
|
|
|
72
72
|
return {
|
|
73
73
|
onMouseenter,
|
|
74
74
|
onClick,
|
|
75
|
-
|
|
75
|
+
onKeypress
|
|
76
76
|
};
|
|
77
77
|
}
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
<auto-size :width="false">
|
|
7
7
|
<transition
|
|
8
8
|
:name="state.options.transition"
|
|
9
|
-
@before-leave="onBeforeLeave"
|
|
10
|
-
@leave="onLeave"
|
|
11
|
-
@after-leave="onAfterLeave"
|
|
12
9
|
@before-enter="onBeforeEnter"
|
|
13
10
|
@enter="onEnter"
|
|
14
11
|
@after-enter="onAfterEnter"
|
|
12
|
+
@before-leave="onBeforeLeave"
|
|
13
|
+
@leave="onLeave"
|
|
14
|
+
@after-leave="onAfterLeave"
|
|
15
15
|
>
|
|
16
16
|
<div v-show="state.viewActive" class="magic-cookie-view__inner">
|
|
17
17
|
<slot :view-active="state.viewActive" />
|
|
@@ -20,7 +20,8 @@ export function useCookieItem(args) {
|
|
|
20
20
|
active: mappedActive,
|
|
21
21
|
optional: mappedOptional,
|
|
22
22
|
timestamp,
|
|
23
|
-
maxAge
|
|
23
|
+
maxAge,
|
|
24
|
+
set: false
|
|
24
25
|
};
|
|
25
26
|
return reactive(item);
|
|
26
27
|
}
|
|
@@ -73,6 +74,7 @@ export function useCookieItem(args) {
|
|
|
73
74
|
path: "/",
|
|
74
75
|
maxAge: item.maxAge
|
|
75
76
|
});
|
|
77
|
+
item.set = true;
|
|
76
78
|
}
|
|
77
79
|
return {
|
|
78
80
|
initializeItem,
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { type MaybeRef } from 'vue';
|
|
2
2
|
import type { CookieConsent, MagicCookieCallbackArgs } from '../types/index.js';
|
|
3
3
|
export declare function useMagicCookie(id: MaybeRef<string>): {
|
|
4
|
+
cookies: import("vue").ComputedRef<CookieConsent>;
|
|
5
|
+
cookiesSet: import("vue").ComputedRef<boolean>;
|
|
4
6
|
showView: () => void;
|
|
5
7
|
hideView: () => void;
|
|
6
8
|
toggleView: () => void;
|
|
7
|
-
cookieConsent: import("vue").ComputedRef<CookieConsent>;
|
|
8
9
|
selectItem: (id: string, timestamp?: number) => void;
|
|
9
10
|
unselectItem: (id: string, timestamp?: number) => void;
|
|
10
11
|
toggleItem: (id: string) => void;
|
|
@@ -9,7 +9,7 @@ export function useMagicCookie(id) {
|
|
|
9
9
|
const emitter = useMagicEmitter();
|
|
10
10
|
const { initializeState } = useCookieState(id);
|
|
11
11
|
const state = initializeState();
|
|
12
|
-
const
|
|
12
|
+
const cookies = computed(
|
|
13
13
|
() => state?.items.reduce(
|
|
14
14
|
(acc, cookie) => ({
|
|
15
15
|
...acc,
|
|
@@ -18,6 +18,9 @@ export function useMagicCookie(id) {
|
|
|
18
18
|
{}
|
|
19
19
|
)
|
|
20
20
|
);
|
|
21
|
+
const cookiesSet = computed(
|
|
22
|
+
() => state?.items.every((cookie) => cookie.set === true)
|
|
23
|
+
);
|
|
21
24
|
function showView() {
|
|
22
25
|
state.viewActive = true;
|
|
23
26
|
}
|
|
@@ -34,13 +37,13 @@ export function useMagicCookie(id) {
|
|
|
34
37
|
setItemCookie(cookie.id);
|
|
35
38
|
}
|
|
36
39
|
await nextTick();
|
|
37
|
-
emitter.emit("acceptAll",
|
|
40
|
+
emitter.emit("acceptAll", cookies.value);
|
|
38
41
|
}
|
|
39
42
|
function acceptSelected() {
|
|
40
43
|
for (const cookie of state.items) {
|
|
41
44
|
setItemCookie(cookie.id);
|
|
42
45
|
}
|
|
43
|
-
emitter.emit("acceptSelected",
|
|
46
|
+
emitter.emit("acceptSelected", cookies.value);
|
|
44
47
|
}
|
|
45
48
|
async function rejectAll() {
|
|
46
49
|
const timestamp = (/* @__PURE__ */ new Date()).getTime();
|
|
@@ -51,7 +54,7 @@ export function useMagicCookie(id) {
|
|
|
51
54
|
setItemCookie(cookie.id);
|
|
52
55
|
}
|
|
53
56
|
await nextTick();
|
|
54
|
-
emitter.emit("rejectAll",
|
|
57
|
+
emitter.emit("rejectAll", cookies.value);
|
|
55
58
|
}
|
|
56
59
|
function onAccept(callback) {
|
|
57
60
|
emitter.on("acceptAll", callback);
|
|
@@ -63,10 +66,11 @@ export function useMagicCookie(id) {
|
|
|
63
66
|
emitter.on("rejectAll", callback);
|
|
64
67
|
}
|
|
65
68
|
return {
|
|
69
|
+
cookies,
|
|
70
|
+
cookiesSet,
|
|
66
71
|
showView,
|
|
67
72
|
hideView,
|
|
68
73
|
toggleView,
|
|
69
|
-
cookieConsent,
|
|
70
74
|
selectItem,
|
|
71
75
|
unselectItem,
|
|
72
76
|
toggleItem,
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
<div ref="wrapper" class="magic-drawer__wrapper">
|
|
32
32
|
<transition
|
|
33
33
|
:name="contentTransition"
|
|
34
|
-
@before-leave="onBeforeLeave"
|
|
35
|
-
@leave="onLeave"
|
|
36
|
-
@after-leave="onAfterLeave"
|
|
37
34
|
@before-enter="onBeforeEnter"
|
|
38
35
|
@enter="onEnter"
|
|
39
36
|
@after-enter="onAfterEnter"
|
|
37
|
+
@before-leave="onBeforeLeave"
|
|
38
|
+
@leave="onLeave"
|
|
39
|
+
@after-leave="onAfterLeave"
|
|
40
40
|
>
|
|
41
41
|
<div v-show="innerActive" class="magic-drawer__content">
|
|
42
42
|
<component
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
<teleport v-if="wrapperActive" to="body">
|
|
3
3
|
<transition
|
|
4
4
|
:name="mappedTransition"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
@before-enter="onBeforeEnter"
|
|
6
|
+
@enter="onEnter"
|
|
7
|
+
@after-enter="onAfterEnter"
|
|
8
|
+
@before-leave="onBeforeLeave"
|
|
9
|
+
@leave="onLeave"
|
|
10
|
+
@after-leave="onAfterLeave"
|
|
11
11
|
>
|
|
12
12
|
<div
|
|
13
13
|
v-if="innerActive"
|
|
@@ -8,11 +8,11 @@ interface MagicMenuContentProps {
|
|
|
8
8
|
transition?: string;
|
|
9
9
|
referenceEl?: MaybeRef<HTMLElement | ComponentPublicInstance>;
|
|
10
10
|
}
|
|
11
|
-
declare var
|
|
11
|
+
declare var __VLS_22: {}, __VLS_24: {};
|
|
12
12
|
type __VLS_Slots = {} & {
|
|
13
|
-
arrow?: (props: typeof
|
|
13
|
+
arrow?: (props: typeof __VLS_22) => any;
|
|
14
14
|
} & {
|
|
15
|
-
default?: (props: typeof
|
|
15
|
+
default?: (props: typeof __VLS_24) => any;
|
|
16
16
|
};
|
|
17
17
|
declare const __VLS_component: import("vue").DefineComponent<MagicMenuContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicMenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -60,7 +60,7 @@ const {
|
|
|
60
60
|
onArrowUp,
|
|
61
61
|
onArrowDown,
|
|
62
62
|
onEscape,
|
|
63
|
-
|
|
63
|
+
onReturn,
|
|
64
64
|
onTab
|
|
65
65
|
} = useMenuKeyListener(id);
|
|
66
66
|
onKeyStroke("ArrowRight", onArrowRight);
|
|
@@ -68,7 +68,7 @@ onKeyStroke("ArrowLeft", onArrowLeft);
|
|
|
68
68
|
onKeyStroke("ArrowDown", onArrowDown);
|
|
69
69
|
onKeyStroke("ArrowUp", onArrowUp);
|
|
70
70
|
onKeyStroke("Escape", onEscape);
|
|
71
|
-
onKeyStroke("Enter",
|
|
71
|
+
onKeyStroke("Enter", onReturn);
|
|
72
72
|
onKeyStroke("Tab", onTab);
|
|
73
73
|
const { unselectAllViews } = useMenuView(id);
|
|
74
74
|
onClickOutside(
|
|
@@ -86,7 +86,7 @@ const mappedTabindex = computed(() => {
|
|
|
86
86
|
return void 0;
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
|
-
const { onMouseenter, onClick,
|
|
89
|
+
const { onMouseenter, onClick, onKeypress } = useMenuTrigger({
|
|
90
90
|
instanceId: mappedInstanceId.value,
|
|
91
91
|
viewId: mappedViewId.value,
|
|
92
92
|
itemId,
|
|
@@ -103,7 +103,7 @@ watch(
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
);
|
|
106
|
-
onKeyStroke("Enter",
|
|
106
|
+
onKeyStroke("Enter", onKeypress);
|
|
107
107
|
</script>
|
|
108
108
|
|
|
109
109
|
<style>
|
|
@@ -5,6 +5,6 @@ export declare function useMenuKeyListener(instanceId: MaybeRef<string>): {
|
|
|
5
5
|
onArrowUp: (e: KeyboardEvent) => void;
|
|
6
6
|
onArrowDown: (e: KeyboardEvent) => void;
|
|
7
7
|
onEscape: (e: KeyboardEvent) => void;
|
|
8
|
-
|
|
8
|
+
onReturn: (e: KeyboardEvent) => Promise<void>;
|
|
9
9
|
onTab: (e: KeyboardEvent) => void;
|
|
10
10
|
};
|
|
@@ -144,7 +144,7 @@ export function useMenuKeyListener(instanceId) {
|
|
|
144
144
|
state.input.view = "";
|
|
145
145
|
unselectAllViews();
|
|
146
146
|
}
|
|
147
|
-
async function
|
|
147
|
+
async function onReturn(e) {
|
|
148
148
|
try {
|
|
149
149
|
keyStrokeGuard(e);
|
|
150
150
|
} catch (e2) {
|
|
@@ -181,7 +181,7 @@ export function useMenuKeyListener(instanceId) {
|
|
|
181
181
|
onArrowUp,
|
|
182
182
|
onArrowDown,
|
|
183
183
|
onEscape,
|
|
184
|
-
|
|
184
|
+
onReturn,
|
|
185
185
|
onTab
|
|
186
186
|
};
|
|
187
187
|
}
|
|
@@ -12,6 +12,6 @@ type UseMenuTriggerArgs = {
|
|
|
12
12
|
export declare function useMenuTrigger(args: UseMenuTriggerArgs): {
|
|
13
13
|
onMouseenter: () => void;
|
|
14
14
|
onClick: (e: MouseEvent) => void;
|
|
15
|
-
|
|
15
|
+
onKeypress: (e: KeyboardEvent) => void;
|
|
16
16
|
};
|
|
17
17
|
export {};
|
|
@@ -34,7 +34,7 @@ export function useMenuTrigger(args) {
|
|
|
34
34
|
unselectView(viewId);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function onKeypress(e) {
|
|
38
38
|
if (focused.value && !mappedDisabled.value && !view?.active) {
|
|
39
39
|
e.preventDefault();
|
|
40
40
|
e.stopPropagation();
|
|
@@ -97,6 +97,6 @@ export function useMenuTrigger(args) {
|
|
|
97
97
|
return {
|
|
98
98
|
onMouseenter,
|
|
99
99
|
onClick,
|
|
100
|
-
|
|
100
|
+
onKeypress
|
|
101
101
|
};
|
|
102
102
|
}
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
</transition>
|
|
27
27
|
<transition
|
|
28
28
|
:name="mappedOptions.transition?.content"
|
|
29
|
-
@before-leave="onBeforeLeave"
|
|
30
|
-
@leave="onLeave"
|
|
31
|
-
@after-leave="onAfterLeave"
|
|
32
29
|
@before-enter="onBeforeEnter"
|
|
33
30
|
@enter="onEnter"
|
|
34
31
|
@after-enter="onAfterEnter"
|
|
32
|
+
@before-leave="onBeforeLeave"
|
|
33
|
+
@leave="onLeave"
|
|
34
|
+
@after-leave="onAfterLeave"
|
|
35
35
|
>
|
|
36
36
|
<component
|
|
37
37
|
:is="mappedOptions.tag"
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
tag="ol"
|
|
16
16
|
class="magic-toast-provider__list"
|
|
17
17
|
:name="state.options.transition"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
@before-enter="onBeforeEnter"
|
|
19
|
+
@enter="onEnter"
|
|
20
|
+
@after-enter="onAfterEnter"
|
|
21
|
+
@before-leave="onBeforeLeave"
|
|
22
|
+
@leave="onLeave"
|
|
23
|
+
@after-leave="onAfterLeave"
|
|
24
24
|
@mouseenter="onMouseenter"
|
|
25
25
|
@mouseleave="onMouseleave"
|
|
26
26
|
>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maas/vue-equipment",
|
|
3
3
|
"description": "Our Frontend Toolkit, Free and Open Source",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.32",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
7
7
|
"name": "Robin Scholz",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"import": "./dist/nuxt/module.mjs"
|
|
32
32
|
},
|
|
33
33
|
"./composables": {
|
|
34
|
-
"types": "./dist/composables/index.d.
|
|
35
|
-
"import": "./dist/composables/index.
|
|
34
|
+
"types": "./dist/composables/index.d.ts",
|
|
35
|
+
"import": "./dist/composables/index.js"
|
|
36
36
|
},
|
|
37
37
|
"./plugins": {
|
|
38
38
|
"types": "./dist/plugins/index.d.ts",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"import": "./dist/plugins/MagicPlayer/src/css/*.css"
|
|
43
43
|
},
|
|
44
44
|
"./utils": {
|
|
45
|
-
"types": "./dist/utils/index.d.
|
|
46
|
-
"import": "./dist/utils/index.
|
|
45
|
+
"types": "./dist/utils/index.d.ts",
|
|
46
|
+
"import": "./dist/utils/index.js"
|
|
47
47
|
},
|
|
48
48
|
"./utils/css/*.css": {
|
|
49
49
|
"import": "./dist/utils/css/*.css"
|