@maas/vue-equipment 0.29.2 → 0.29.4
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/composables/index.js +5 -10
- package/dist/composables/index.js.map +1 -1
- package/dist/composables/index.mjs +5 -10
- package/dist/composables/index.mjs.map +1 -1
- package/dist/nuxt/module.json +5 -1
- package/dist/nuxt/module.mjs +16 -9
- package/dist/nuxt/types.d.mts +1 -16
- package/dist/nuxt/types.d.ts +1 -16
- package/dist/plugins/MagicCommand/index.d.ts +2 -4
- package/dist/plugins/MagicCommand/index.mjs +2 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandBody.vue +3 -3
- package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue +7 -4
- package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue.d.ts +2 -4
- package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue +4 -4
- package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +5 -5
- package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue +9 -6
- package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue.d.ts +2 -4
- package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue +4 -4
- package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue.d.ts +5 -5
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue +4 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +3 -3
- package/dist/plugins/MagicCommand/src/composables/private/useCommandScroll.mjs +1 -1
- package/dist/plugins/MagicCommand/src/composables/private/useCommandStore.mjs +1 -1
- package/dist/plugins/MagicCommand/src/symbols/index.d.ts +3 -3
- package/dist/plugins/MagicCommand/src/symbols/index.mjs +2 -2
- package/dist/plugins/MagicCommand/src/types/index.d.ts +5 -5
- package/dist/plugins/MagicCommand/src/utils/defaultOptions.d.ts +2 -2
- package/dist/plugins/MagicCookie/index.d.ts +0 -2
- package/dist/plugins/MagicCookie/src/components/MagicCookie.vue +6 -7
- package/dist/plugins/MagicCookie/src/components/MagicCookie.vue.d.ts +6 -6
- package/dist/plugins/MagicCookie/src/composables/private/useCookieApi.d.ts +17 -0
- package/dist/plugins/MagicCookie/src/composables/private/{defineCookieApi.mjs → useCookieApi.mjs} +4 -4
- package/dist/plugins/MagicCookie/src/composables/useMagicCookie.d.ts +5 -5
- package/dist/plugins/MagicCookie/src/composables/useMagicCookie.mjs +4 -4
- package/dist/plugins/MagicCookie/src/types/index.d.ts +6 -10
- package/dist/plugins/MagicDraggable/index.d.ts +2 -2
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue +10 -9
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +6 -8
- package/dist/plugins/MagicDraggable/src/composables/private/useDraggableState.d.ts +1 -2
- package/dist/plugins/MagicDraggable/src/types/index.d.ts +1 -1
- package/dist/plugins/MagicDraggable/src/utils/defaultOptions.d.ts +4 -4
- package/dist/plugins/MagicDrawer/index.d.ts +2 -2
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue +9 -8
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +3 -5
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerCallback.d.ts +2 -2
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerDOM.d.ts +3 -3
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerDOM.mjs +2 -2
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerDrag.mjs +3 -1
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerProgress.mjs +3 -1
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerState.mjs +1 -3
- package/dist/plugins/MagicDrawer/src/types/index.d.ts +1 -1
- package/dist/plugins/MagicDrawer/src/utils/defaultOptions.d.ts +7 -7
- package/dist/plugins/MagicEmitter/src/composables/useMagicEmitter.d.ts +494 -170
- package/dist/plugins/MagicEmitter/src/types/index.d.ts +9 -9
- package/dist/plugins/MagicMarquee/nuxt.mjs +1 -5
- package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue +3 -3
- package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue.d.ts +3 -3
- package/dist/plugins/MagicMenu/index.d.ts +4 -0
- package/dist/plugins/MagicMenu/index.mjs +27 -0
- package/dist/plugins/MagicMenu/nuxt.d.ts +2 -0
- package/dist/plugins/MagicMenu/nuxt.mjs +14 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue +144 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +26 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue +169 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue.d.ts +24 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue +137 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +29 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue +106 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue.d.ts +24 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue +122 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +26 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue +53 -0
- package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue.d.ts +21 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuCallback.d.ts +18 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuCallback.mjs +52 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuDOM.d.ts +6 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuDOM.mjs +42 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuItem.d.ts +15 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuItem.mjs +75 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuKeyListener.d.ts +10 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuKeyListener.mjs +178 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuState.d.ts +7 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuState.mjs +48 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuTrigger.d.ts +18 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuTrigger.mjs +262 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuUtils.d.ts +3 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuUtils.mjs +16 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuView.d.ts +20 -0
- package/dist/plugins/MagicMenu/src/composables/private/useMenuView.mjs +116 -0
- package/dist/plugins/MagicMenu/src/symbols/index.d.ts +9 -0
- package/dist/plugins/MagicMenu/src/symbols/index.mjs +16 -0
- package/dist/plugins/MagicMenu/src/types/index.d.ts +72 -0
- package/dist/plugins/MagicMenu/src/types/index.mjs +0 -0
- package/dist/plugins/MagicMenu/src/utils/defaultOptions.d.ts +4 -0
- package/dist/plugins/MagicMenu/src/utils/defaultOptions.mjs +9 -0
- package/dist/plugins/MagicModal/index.d.ts +2 -2
- package/dist/plugins/MagicModal/src/components/MagicModal.vue +9 -6
- package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +5 -6
- package/dist/plugins/MagicModal/src/composables/private/useModalCallback.d.ts +2 -2
- package/dist/plugins/MagicModal/src/composables/private/useModalDOM.d.ts +3 -3
- package/dist/plugins/MagicModal/src/composables/private/useModalDOM.mjs +2 -2
- package/dist/plugins/MagicModal/src/types/index.d.ts +1 -1
- package/dist/plugins/MagicModal/src/utils/defaultOptions.d.ts +2 -2
- package/dist/plugins/MagicNoise/index.d.ts +1 -2
- package/dist/plugins/MagicNoise/index.mjs +1 -2
- package/dist/plugins/MagicNoise/nuxt.mjs +1 -5
- package/dist/plugins/MagicNoise/src/components/MagicNoise.vue +4 -4
- package/dist/plugins/MagicNoise/src/components/MagicNoise.vue.d.ts +5 -5
- package/dist/plugins/MagicNoise/src/composables/private/useNoiseApi.d.ts +2 -2
- package/dist/plugins/MagicNoise/src/types/index.d.ts +1 -1
- package/dist/plugins/MagicNoise/src/utils/defaultOptions.d.ts +2 -2
- package/dist/plugins/MagicPlayer/index.d.ts +0 -1
- package/dist/plugins/MagicPlayer/src/components/MagicAudioPlayer.vue +2 -2
- package/dist/plugins/MagicPlayer/src/components/MagicAudioPlayer.vue.d.ts +3 -3
- package/dist/plugins/MagicPlayer/src/components/MagicAudioPlayerControls.vue +2 -2
- package/dist/plugins/MagicPlayer/src/components/MagicAudioPlayerControls.vue.d.ts +2 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayer.vue +9 -30
- package/dist/plugins/MagicPlayer/src/components/MagicPlayer.vue.d.ts +10 -14
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerControls.vue +79 -56
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerControls.vue.d.ts +20 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.vue +2 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.vue.d.ts +3 -3
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.vue +9 -7
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.vue.d.ts +2 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue +2 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue.d.ts +2 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue +2 -3
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue.d.ts +2 -2
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerMediaApi.mjs +3 -0
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerRuntime.d.ts +2 -2
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerRuntime.mjs +23 -4
- package/dist/plugins/MagicPlayer/src/types/index.d.ts +1 -1
- package/dist/plugins/MagicScroll/index.d.ts +3 -3
- package/dist/plugins/MagicScroll/index.mjs +1 -2
- package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue +11 -7
- package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue.d.ts +2 -2
- package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue +2 -2
- package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue.d.ts +3 -3
- package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue +2 -2
- package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +3 -3
- package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue +2 -2
- package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +3 -3
- package/dist/plugins/MagicScroll/src/components/MagicScrollTransform.vue +2 -2
- package/dist/plugins/MagicScroll/src/components/MagicScrollTransform.vue.d.ts +3 -3
- package/dist/plugins/MagicScroll/src/composables/private/useCollisionDetect.d.ts +28 -0
- package/dist/plugins/MagicScroll/src/composables/private/useCollisionDetect.mjs +144 -0
- package/dist/plugins/MagicScroll/src/composables/private/useScrollApi.d.ts +0 -1
- package/dist/plugins/MagicScroll/src/types/index.d.ts +19 -25
- package/dist/plugins/MagicToast/index.d.ts +0 -2
- package/dist/plugins/MagicToast/src/components/MagicToast.vue +4 -4
- package/dist/plugins/MagicToast/src/components/MagicToast.vue.d.ts +2 -2
- package/dist/plugins/MagicToast/src/components/MagicToastComponent.vue +4 -4
- package/dist/plugins/MagicToast/src/components/MagicToastComponent.vue.d.ts +5 -5
- package/dist/plugins/MagicToast/src/composables/private/useToastApi.d.ts +1 -1
- package/dist/plugins/MagicToast/src/composables/private/useToastCallback.d.ts +3 -3
- package/dist/plugins/MagicToast/src/composables/private/useToastCallback.mjs +5 -7
- package/dist/plugins/MagicToast/src/composables/private/useToastInternalApi.d.ts +2 -2
- package/dist/plugins/MagicToast/src/composables/private/useToastStore.d.ts +4 -14
- package/dist/plugins/MagicToast/src/composables/useMagicToast.d.ts +6 -6
- package/dist/plugins/MagicToast/src/types/index.d.ts +20 -21
- package/dist/plugins/MagicToast/src/utils/defaultOptions.d.ts +2 -2
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/index.mjs +1 -0
- package/dist/utils/index.js +4 -8
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +4 -8
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +9 -4
- package/dist/plugins/MagicCookie/src/composables/private/defineCookieApi.d.ts +0 -12
- package/dist/plugins/MagicScroll/src/composables/useCollisionDetect.d.ts +0 -6
- package/dist/plugins/MagicScroll/src/composables/useCollisionDetect.mjs +0 -119
|
@@ -1,23 +1,9 @@
|
|
|
1
1
|
export declare function useMagicEmitter(): {
|
|
2
2
|
on: {
|
|
3
|
-
<Key extends "progress" | "
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
el: HTMLElement;
|
|
8
|
-
data?: Record<string, unknown> | undefined;
|
|
9
|
-
};
|
|
10
|
-
} & Omit<{
|
|
11
|
-
beforeEnter: string;
|
|
12
|
-
enter: string;
|
|
13
|
-
afterEnter: string;
|
|
14
|
-
beforeLeave: string;
|
|
15
|
-
leave: string;
|
|
16
|
-
afterLeave: string;
|
|
17
|
-
} & Omit<{
|
|
18
|
-
accept: import("../../../MagicCookie/src/types").CookieConsent;
|
|
19
|
-
reject: import("../../../MagicCookie/src/types").CookieConsent;
|
|
20
|
-
acceptSelected: import("../../../MagicCookie/src/types").CookieConsent;
|
|
3
|
+
<Key extends "progress" | "beforeEnter" | "enter" | "afterEnter" | "beforeLeave" | "leave" | "afterLeave" | "collision" | keyof import("../../../MagicDraggable/src/types").DraggableEvents | keyof import("../../../MagicCookie/src/types").CookieEvents>(type: Key, handler: import("mitt").Handler<({
|
|
4
|
+
accept: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
5
|
+
reject: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
6
|
+
acceptSelected: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
21
7
|
} & Omit<{
|
|
22
8
|
beforeSnap: {
|
|
23
9
|
id: string;
|
|
@@ -75,12 +61,30 @@ export declare function useMagicEmitter(): {
|
|
|
75
61
|
y: number;
|
|
76
62
|
};
|
|
77
63
|
} & Omit<{
|
|
78
|
-
beforeEnter: string
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
64
|
+
beforeEnter: string | {
|
|
65
|
+
id: string;
|
|
66
|
+
view: string;
|
|
67
|
+
};
|
|
68
|
+
enter: string | {
|
|
69
|
+
id: string;
|
|
70
|
+
view: string;
|
|
71
|
+
};
|
|
72
|
+
afterEnter: string | {
|
|
73
|
+
id: string;
|
|
74
|
+
view: string;
|
|
75
|
+
};
|
|
76
|
+
beforeLeave: string | {
|
|
77
|
+
id: string;
|
|
78
|
+
view: string;
|
|
79
|
+
};
|
|
80
|
+
leave: string | {
|
|
81
|
+
id: string;
|
|
82
|
+
view: string;
|
|
83
|
+
};
|
|
84
|
+
afterLeave: string | {
|
|
85
|
+
id: string;
|
|
86
|
+
view: string;
|
|
87
|
+
};
|
|
84
88
|
beforeSnap: {
|
|
85
89
|
id: string;
|
|
86
90
|
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
@@ -115,25 +119,60 @@ export declare function useMagicEmitter(): {
|
|
|
115
119
|
y: number;
|
|
116
120
|
};
|
|
117
121
|
} & Omit<{
|
|
118
|
-
beforeEnter: string
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
beforeEnter: string | {
|
|
123
|
+
id: string;
|
|
124
|
+
view: string;
|
|
125
|
+
};
|
|
126
|
+
enter: string | {
|
|
127
|
+
id: string;
|
|
128
|
+
view: string;
|
|
129
|
+
};
|
|
130
|
+
afterEnter: string | {
|
|
131
|
+
id: string;
|
|
132
|
+
view: string;
|
|
133
|
+
};
|
|
134
|
+
beforeLeave: string | {
|
|
135
|
+
id: string;
|
|
136
|
+
view: string;
|
|
137
|
+
};
|
|
138
|
+
leave: string | {
|
|
139
|
+
id: string;
|
|
140
|
+
view: string;
|
|
141
|
+
};
|
|
142
|
+
afterLeave: string | {
|
|
143
|
+
id: string;
|
|
144
|
+
view: string;
|
|
145
|
+
};
|
|
146
|
+
} & Omit<{
|
|
147
|
+
beforeEnter: string | {
|
|
148
|
+
id: string;
|
|
149
|
+
view: string;
|
|
150
|
+
};
|
|
151
|
+
enter: string | {
|
|
152
|
+
id: string;
|
|
153
|
+
view: string;
|
|
154
|
+
};
|
|
155
|
+
afterEnter: string | {
|
|
156
|
+
id: string;
|
|
157
|
+
view: string;
|
|
158
|
+
};
|
|
159
|
+
beforeLeave: string | {
|
|
160
|
+
id: string;
|
|
161
|
+
view: string;
|
|
162
|
+
};
|
|
163
|
+
leave: string | {
|
|
164
|
+
id: string;
|
|
165
|
+
view: string;
|
|
166
|
+
};
|
|
167
|
+
afterLeave: string | {
|
|
168
|
+
id: string;
|
|
169
|
+
view: string;
|
|
170
|
+
};
|
|
124
171
|
} & Omit<{
|
|
125
|
-
beforeEnter: string;
|
|
126
|
-
enter: string;
|
|
127
|
-
afterEnter: string;
|
|
128
|
-
beforeLeave: string;
|
|
129
|
-
leave: string;
|
|
130
|
-
afterLeave: string;
|
|
131
|
-
} & Omit<{}, keyof import("../../..").ToastEvents>, keyof import("../../..").ModalEvents>, keyof import("../../..").DrawerEvents>, keyof import("../../..").DraggableEvents>, keyof import("../../..").CookieEvents>, keyof import("../../..").CommandEvents>, "collision">)[Key]>): void;
|
|
132
|
-
(type: "*", handler: import("mitt").WildcardHandler<{
|
|
133
172
|
collision: {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
173
|
+
direction: import("../../../MagicScroll/src/types").ScrollDirection;
|
|
174
|
+
position: import("../../../MagicScroll/src/types").Position;
|
|
175
|
+
element: HTMLElement;
|
|
137
176
|
data?: Record<string, unknown> | undefined;
|
|
138
177
|
};
|
|
139
178
|
} & Omit<{
|
|
@@ -143,10 +182,11 @@ export declare function useMagicEmitter(): {
|
|
|
143
182
|
beforeLeave: string;
|
|
144
183
|
leave: string;
|
|
145
184
|
afterLeave: string;
|
|
146
|
-
} & Omit<{
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
185
|
+
} & Omit<{}, keyof import("../../../MagicToast/src/types").ToastEvents>, "collision">, keyof import("../../../MagicMenu/src/types").MenuEvents>, keyof import("../../../MagicModal/src/types").ModalEvents>, keyof import("../../../MagicDrawer/src/types").DrawerEvents>, keyof import("../../../MagicDraggable/src/types").DraggableEvents>, keyof import("../../../MagicCookie/src/types").CookieEvents>)[Key]>): void;
|
|
186
|
+
(type: "*", handler: import("mitt").WildcardHandler<{
|
|
187
|
+
accept: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
188
|
+
reject: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
189
|
+
acceptSelected: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
150
190
|
} & Omit<{
|
|
151
191
|
beforeSnap: {
|
|
152
192
|
id: string;
|
|
@@ -204,12 +244,30 @@ export declare function useMagicEmitter(): {
|
|
|
204
244
|
y: number;
|
|
205
245
|
};
|
|
206
246
|
} & Omit<{
|
|
207
|
-
beforeEnter: string
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
247
|
+
beforeEnter: string | {
|
|
248
|
+
id: string;
|
|
249
|
+
view: string;
|
|
250
|
+
};
|
|
251
|
+
enter: string | {
|
|
252
|
+
id: string;
|
|
253
|
+
view: string;
|
|
254
|
+
};
|
|
255
|
+
afterEnter: string | {
|
|
256
|
+
id: string;
|
|
257
|
+
view: string;
|
|
258
|
+
};
|
|
259
|
+
beforeLeave: string | {
|
|
260
|
+
id: string;
|
|
261
|
+
view: string;
|
|
262
|
+
};
|
|
263
|
+
leave: string | {
|
|
264
|
+
id: string;
|
|
265
|
+
view: string;
|
|
266
|
+
};
|
|
267
|
+
afterLeave: string | {
|
|
268
|
+
id: string;
|
|
269
|
+
view: string;
|
|
270
|
+
};
|
|
213
271
|
beforeSnap: {
|
|
214
272
|
id: string;
|
|
215
273
|
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
@@ -244,27 +302,60 @@ export declare function useMagicEmitter(): {
|
|
|
244
302
|
y: number;
|
|
245
303
|
};
|
|
246
304
|
} & Omit<{
|
|
247
|
-
beforeEnter: string
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
305
|
+
beforeEnter: string | {
|
|
306
|
+
id: string;
|
|
307
|
+
view: string;
|
|
308
|
+
};
|
|
309
|
+
enter: string | {
|
|
310
|
+
id: string;
|
|
311
|
+
view: string;
|
|
312
|
+
};
|
|
313
|
+
afterEnter: string | {
|
|
314
|
+
id: string;
|
|
315
|
+
view: string;
|
|
316
|
+
};
|
|
317
|
+
beforeLeave: string | {
|
|
318
|
+
id: string;
|
|
319
|
+
view: string;
|
|
320
|
+
};
|
|
321
|
+
leave: string | {
|
|
322
|
+
id: string;
|
|
323
|
+
view: string;
|
|
324
|
+
};
|
|
325
|
+
afterLeave: string | {
|
|
326
|
+
id: string;
|
|
327
|
+
view: string;
|
|
328
|
+
};
|
|
329
|
+
} & Omit<{
|
|
330
|
+
beforeEnter: string | {
|
|
331
|
+
id: string;
|
|
332
|
+
view: string;
|
|
333
|
+
};
|
|
334
|
+
enter: string | {
|
|
335
|
+
id: string;
|
|
336
|
+
view: string;
|
|
337
|
+
};
|
|
338
|
+
afterEnter: string | {
|
|
339
|
+
id: string;
|
|
340
|
+
view: string;
|
|
341
|
+
};
|
|
342
|
+
beforeLeave: string | {
|
|
343
|
+
id: string;
|
|
344
|
+
view: string;
|
|
345
|
+
};
|
|
346
|
+
leave: string | {
|
|
347
|
+
id: string;
|
|
348
|
+
view: string;
|
|
349
|
+
};
|
|
350
|
+
afterLeave: string | {
|
|
351
|
+
id: string;
|
|
352
|
+
view: string;
|
|
353
|
+
};
|
|
253
354
|
} & Omit<{
|
|
254
|
-
beforeEnter: string;
|
|
255
|
-
enter: string;
|
|
256
|
-
afterEnter: string;
|
|
257
|
-
beforeLeave: string;
|
|
258
|
-
leave: string;
|
|
259
|
-
afterLeave: string;
|
|
260
|
-
} & Omit<{}, keyof import("../../..").ToastEvents>, keyof import("../../..").ModalEvents>, keyof import("../../..").DrawerEvents>, keyof import("../../..").DraggableEvents>, keyof import("../../..").CookieEvents>, keyof import("../../..").CommandEvents>, "collision">>): void;
|
|
261
|
-
};
|
|
262
|
-
off: {
|
|
263
|
-
<Key_1 extends "progress" | "collision" | keyof import("../../..").DraggableEvents | keyof import("../../..").CookieEvents | keyof import("../../..").CommandEvents>(type: Key_1, handler?: import("mitt").Handler<({
|
|
264
355
|
collision: {
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
356
|
+
direction: import("../../../MagicScroll/src/types").ScrollDirection;
|
|
357
|
+
position: import("../../../MagicScroll/src/types").Position;
|
|
358
|
+
element: HTMLElement;
|
|
268
359
|
data?: Record<string, unknown> | undefined;
|
|
269
360
|
};
|
|
270
361
|
} & Omit<{
|
|
@@ -274,10 +365,13 @@ export declare function useMagicEmitter(): {
|
|
|
274
365
|
beforeLeave: string;
|
|
275
366
|
leave: string;
|
|
276
367
|
afterLeave: string;
|
|
277
|
-
} & Omit<{
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
368
|
+
} & Omit<{}, keyof import("../../../MagicToast/src/types").ToastEvents>, "collision">, keyof import("../../../MagicMenu/src/types").MenuEvents>, keyof import("../../../MagicModal/src/types").ModalEvents>, keyof import("../../../MagicDrawer/src/types").DrawerEvents>, keyof import("../../../MagicDraggable/src/types").DraggableEvents>, keyof import("../../../MagicCookie/src/types").CookieEvents>>): void;
|
|
369
|
+
};
|
|
370
|
+
off: {
|
|
371
|
+
<Key_1 extends "progress" | "beforeEnter" | "enter" | "afterEnter" | "beforeLeave" | "leave" | "afterLeave" | "collision" | keyof import("../../../MagicDraggable/src/types").DraggableEvents | keyof import("../../../MagicCookie/src/types").CookieEvents>(type: Key_1, handler?: import("mitt").Handler<({
|
|
372
|
+
accept: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
373
|
+
reject: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
374
|
+
acceptSelected: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
281
375
|
} & Omit<{
|
|
282
376
|
beforeSnap: {
|
|
283
377
|
id: string;
|
|
@@ -335,12 +429,30 @@ export declare function useMagicEmitter(): {
|
|
|
335
429
|
y: number;
|
|
336
430
|
};
|
|
337
431
|
} & Omit<{
|
|
338
|
-
beforeEnter: string
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
432
|
+
beforeEnter: string | {
|
|
433
|
+
id: string;
|
|
434
|
+
view: string;
|
|
435
|
+
};
|
|
436
|
+
enter: string | {
|
|
437
|
+
id: string;
|
|
438
|
+
view: string;
|
|
439
|
+
};
|
|
440
|
+
afterEnter: string | {
|
|
441
|
+
id: string;
|
|
442
|
+
view: string;
|
|
443
|
+
};
|
|
444
|
+
beforeLeave: string | {
|
|
445
|
+
id: string;
|
|
446
|
+
view: string;
|
|
447
|
+
};
|
|
448
|
+
leave: string | {
|
|
449
|
+
id: string;
|
|
450
|
+
view: string;
|
|
451
|
+
};
|
|
452
|
+
afterLeave: string | {
|
|
453
|
+
id: string;
|
|
454
|
+
view: string;
|
|
455
|
+
};
|
|
344
456
|
beforeSnap: {
|
|
345
457
|
id: string;
|
|
346
458
|
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
@@ -375,25 +487,60 @@ export declare function useMagicEmitter(): {
|
|
|
375
487
|
y: number;
|
|
376
488
|
};
|
|
377
489
|
} & Omit<{
|
|
378
|
-
beforeEnter: string
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
490
|
+
beforeEnter: string | {
|
|
491
|
+
id: string;
|
|
492
|
+
view: string;
|
|
493
|
+
};
|
|
494
|
+
enter: string | {
|
|
495
|
+
id: string;
|
|
496
|
+
view: string;
|
|
497
|
+
};
|
|
498
|
+
afterEnter: string | {
|
|
499
|
+
id: string;
|
|
500
|
+
view: string;
|
|
501
|
+
};
|
|
502
|
+
beforeLeave: string | {
|
|
503
|
+
id: string;
|
|
504
|
+
view: string;
|
|
505
|
+
};
|
|
506
|
+
leave: string | {
|
|
507
|
+
id: string;
|
|
508
|
+
view: string;
|
|
509
|
+
};
|
|
510
|
+
afterLeave: string | {
|
|
511
|
+
id: string;
|
|
512
|
+
view: string;
|
|
513
|
+
};
|
|
514
|
+
} & Omit<{
|
|
515
|
+
beforeEnter: string | {
|
|
516
|
+
id: string;
|
|
517
|
+
view: string;
|
|
518
|
+
};
|
|
519
|
+
enter: string | {
|
|
520
|
+
id: string;
|
|
521
|
+
view: string;
|
|
522
|
+
};
|
|
523
|
+
afterEnter: string | {
|
|
524
|
+
id: string;
|
|
525
|
+
view: string;
|
|
526
|
+
};
|
|
527
|
+
beforeLeave: string | {
|
|
528
|
+
id: string;
|
|
529
|
+
view: string;
|
|
530
|
+
};
|
|
531
|
+
leave: string | {
|
|
532
|
+
id: string;
|
|
533
|
+
view: string;
|
|
534
|
+
};
|
|
535
|
+
afterLeave: string | {
|
|
536
|
+
id: string;
|
|
537
|
+
view: string;
|
|
538
|
+
};
|
|
384
539
|
} & Omit<{
|
|
385
|
-
beforeEnter: string;
|
|
386
|
-
enter: string;
|
|
387
|
-
afterEnter: string;
|
|
388
|
-
beforeLeave: string;
|
|
389
|
-
leave: string;
|
|
390
|
-
afterLeave: string;
|
|
391
|
-
} & Omit<{}, keyof import("../../..").ToastEvents>, keyof import("../../..").ModalEvents>, keyof import("../../..").DrawerEvents>, keyof import("../../..").DraggableEvents>, keyof import("../../..").CookieEvents>, keyof import("../../..").CommandEvents>, "collision">)[Key_1]> | undefined): void;
|
|
392
|
-
(type: "*", handler: import("mitt").WildcardHandler<{
|
|
393
540
|
collision: {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
541
|
+
direction: import("../../../MagicScroll/src/types").ScrollDirection;
|
|
542
|
+
position: import("../../../MagicScroll/src/types").Position;
|
|
543
|
+
element: HTMLElement;
|
|
397
544
|
data?: Record<string, unknown> | undefined;
|
|
398
545
|
};
|
|
399
546
|
} & Omit<{
|
|
@@ -403,10 +550,11 @@ export declare function useMagicEmitter(): {
|
|
|
403
550
|
beforeLeave: string;
|
|
404
551
|
leave: string;
|
|
405
552
|
afterLeave: string;
|
|
406
|
-
} & Omit<{
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
553
|
+
} & Omit<{}, keyof import("../../../MagicToast/src/types").ToastEvents>, "collision">, keyof import("../../../MagicMenu/src/types").MenuEvents>, keyof import("../../../MagicModal/src/types").ModalEvents>, keyof import("../../../MagicDrawer/src/types").DrawerEvents>, keyof import("../../../MagicDraggable/src/types").DraggableEvents>, keyof import("../../../MagicCookie/src/types").CookieEvents>)[Key_1]> | undefined): void;
|
|
554
|
+
(type: "*", handler: import("mitt").WildcardHandler<{
|
|
555
|
+
accept: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
556
|
+
reject: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
557
|
+
acceptSelected: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
410
558
|
} & Omit<{
|
|
411
559
|
beforeSnap: {
|
|
412
560
|
id: string;
|
|
@@ -464,12 +612,30 @@ export declare function useMagicEmitter(): {
|
|
|
464
612
|
y: number;
|
|
465
613
|
};
|
|
466
614
|
} & Omit<{
|
|
467
|
-
beforeEnter: string
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
615
|
+
beforeEnter: string | {
|
|
616
|
+
id: string;
|
|
617
|
+
view: string;
|
|
618
|
+
};
|
|
619
|
+
enter: string | {
|
|
620
|
+
id: string;
|
|
621
|
+
view: string;
|
|
622
|
+
};
|
|
623
|
+
afterEnter: string | {
|
|
624
|
+
id: string;
|
|
625
|
+
view: string;
|
|
626
|
+
};
|
|
627
|
+
beforeLeave: string | {
|
|
628
|
+
id: string;
|
|
629
|
+
view: string;
|
|
630
|
+
};
|
|
631
|
+
leave: string | {
|
|
632
|
+
id: string;
|
|
633
|
+
view: string;
|
|
634
|
+
};
|
|
635
|
+
afterLeave: string | {
|
|
636
|
+
id: string;
|
|
637
|
+
view: string;
|
|
638
|
+
};
|
|
473
639
|
beforeSnap: {
|
|
474
640
|
id: string;
|
|
475
641
|
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
@@ -504,27 +670,60 @@ export declare function useMagicEmitter(): {
|
|
|
504
670
|
y: number;
|
|
505
671
|
};
|
|
506
672
|
} & Omit<{
|
|
507
|
-
beforeEnter: string
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
673
|
+
beforeEnter: string | {
|
|
674
|
+
id: string;
|
|
675
|
+
view: string;
|
|
676
|
+
};
|
|
677
|
+
enter: string | {
|
|
678
|
+
id: string;
|
|
679
|
+
view: string;
|
|
680
|
+
};
|
|
681
|
+
afterEnter: string | {
|
|
682
|
+
id: string;
|
|
683
|
+
view: string;
|
|
684
|
+
};
|
|
685
|
+
beforeLeave: string | {
|
|
686
|
+
id: string;
|
|
687
|
+
view: string;
|
|
688
|
+
};
|
|
689
|
+
leave: string | {
|
|
690
|
+
id: string;
|
|
691
|
+
view: string;
|
|
692
|
+
};
|
|
693
|
+
afterLeave: string | {
|
|
694
|
+
id: string;
|
|
695
|
+
view: string;
|
|
696
|
+
};
|
|
697
|
+
} & Omit<{
|
|
698
|
+
beforeEnter: string | {
|
|
699
|
+
id: string;
|
|
700
|
+
view: string;
|
|
701
|
+
};
|
|
702
|
+
enter: string | {
|
|
703
|
+
id: string;
|
|
704
|
+
view: string;
|
|
705
|
+
};
|
|
706
|
+
afterEnter: string | {
|
|
707
|
+
id: string;
|
|
708
|
+
view: string;
|
|
709
|
+
};
|
|
710
|
+
beforeLeave: string | {
|
|
711
|
+
id: string;
|
|
712
|
+
view: string;
|
|
713
|
+
};
|
|
714
|
+
leave: string | {
|
|
715
|
+
id: string;
|
|
716
|
+
view: string;
|
|
717
|
+
};
|
|
718
|
+
afterLeave: string | {
|
|
719
|
+
id: string;
|
|
720
|
+
view: string;
|
|
721
|
+
};
|
|
513
722
|
} & Omit<{
|
|
514
|
-
beforeEnter: string;
|
|
515
|
-
enter: string;
|
|
516
|
-
afterEnter: string;
|
|
517
|
-
beforeLeave: string;
|
|
518
|
-
leave: string;
|
|
519
|
-
afterLeave: string;
|
|
520
|
-
} & Omit<{}, keyof import("../../..").ToastEvents>, keyof import("../../..").ModalEvents>, keyof import("../../..").DrawerEvents>, keyof import("../../..").DraggableEvents>, keyof import("../../..").CookieEvents>, keyof import("../../..").CommandEvents>, "collision">>): void;
|
|
521
|
-
};
|
|
522
|
-
emit: {
|
|
523
|
-
<Key_2 extends "progress" | "collision" | keyof import("../../..").DraggableEvents | keyof import("../../..").CookieEvents | keyof import("../../..").CommandEvents>(type: Key_2, event: ({
|
|
524
723
|
collision: {
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
724
|
+
direction: import("../../../MagicScroll/src/types").ScrollDirection;
|
|
725
|
+
position: import("../../../MagicScroll/src/types").Position;
|
|
726
|
+
element: HTMLElement;
|
|
528
727
|
data?: Record<string, unknown> | undefined;
|
|
529
728
|
};
|
|
530
729
|
} & Omit<{
|
|
@@ -534,10 +733,13 @@ export declare function useMagicEmitter(): {
|
|
|
534
733
|
beforeLeave: string;
|
|
535
734
|
leave: string;
|
|
536
735
|
afterLeave: string;
|
|
537
|
-
} & Omit<{
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
736
|
+
} & Omit<{}, keyof import("../../../MagicToast/src/types").ToastEvents>, "collision">, keyof import("../../../MagicMenu/src/types").MenuEvents>, keyof import("../../../MagicModal/src/types").ModalEvents>, keyof import("../../../MagicDrawer/src/types").DrawerEvents>, keyof import("../../../MagicDraggable/src/types").DraggableEvents>, keyof import("../../../MagicCookie/src/types").CookieEvents>>): void;
|
|
737
|
+
};
|
|
738
|
+
emit: {
|
|
739
|
+
<Key_2 extends "progress" | "beforeEnter" | "enter" | "afterEnter" | "beforeLeave" | "leave" | "afterLeave" | "collision" | keyof import("../../../MagicDraggable/src/types").DraggableEvents | keyof import("../../../MagicCookie/src/types").CookieEvents>(type: Key_2, event: ({
|
|
740
|
+
accept: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
741
|
+
reject: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
742
|
+
acceptSelected: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
541
743
|
} & Omit<{
|
|
542
744
|
beforeSnap: {
|
|
543
745
|
id: string;
|
|
@@ -595,12 +797,30 @@ export declare function useMagicEmitter(): {
|
|
|
595
797
|
y: number;
|
|
596
798
|
};
|
|
597
799
|
} & Omit<{
|
|
598
|
-
beforeEnter: string
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
800
|
+
beforeEnter: string | {
|
|
801
|
+
id: string;
|
|
802
|
+
view: string;
|
|
803
|
+
};
|
|
804
|
+
enter: string | {
|
|
805
|
+
id: string;
|
|
806
|
+
view: string;
|
|
807
|
+
};
|
|
808
|
+
afterEnter: string | {
|
|
809
|
+
id: string;
|
|
810
|
+
view: string;
|
|
811
|
+
};
|
|
812
|
+
beforeLeave: string | {
|
|
813
|
+
id: string;
|
|
814
|
+
view: string;
|
|
815
|
+
};
|
|
816
|
+
leave: string | {
|
|
817
|
+
id: string;
|
|
818
|
+
view: string;
|
|
819
|
+
};
|
|
820
|
+
afterLeave: string | {
|
|
821
|
+
id: string;
|
|
822
|
+
view: string;
|
|
823
|
+
};
|
|
604
824
|
beforeSnap: {
|
|
605
825
|
id: string;
|
|
606
826
|
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
@@ -635,25 +855,60 @@ export declare function useMagicEmitter(): {
|
|
|
635
855
|
y: number;
|
|
636
856
|
};
|
|
637
857
|
} & Omit<{
|
|
638
|
-
beforeEnter: string
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
858
|
+
beforeEnter: string | {
|
|
859
|
+
id: string;
|
|
860
|
+
view: string;
|
|
861
|
+
};
|
|
862
|
+
enter: string | {
|
|
863
|
+
id: string;
|
|
864
|
+
view: string;
|
|
865
|
+
};
|
|
866
|
+
afterEnter: string | {
|
|
867
|
+
id: string;
|
|
868
|
+
view: string;
|
|
869
|
+
};
|
|
870
|
+
beforeLeave: string | {
|
|
871
|
+
id: string;
|
|
872
|
+
view: string;
|
|
873
|
+
};
|
|
874
|
+
leave: string | {
|
|
875
|
+
id: string;
|
|
876
|
+
view: string;
|
|
877
|
+
};
|
|
878
|
+
afterLeave: string | {
|
|
879
|
+
id: string;
|
|
880
|
+
view: string;
|
|
881
|
+
};
|
|
882
|
+
} & Omit<{
|
|
883
|
+
beforeEnter: string | {
|
|
884
|
+
id: string;
|
|
885
|
+
view: string;
|
|
886
|
+
};
|
|
887
|
+
enter: string | {
|
|
888
|
+
id: string;
|
|
889
|
+
view: string;
|
|
890
|
+
};
|
|
891
|
+
afterEnter: string | {
|
|
892
|
+
id: string;
|
|
893
|
+
view: string;
|
|
894
|
+
};
|
|
895
|
+
beforeLeave: string | {
|
|
896
|
+
id: string;
|
|
897
|
+
view: string;
|
|
898
|
+
};
|
|
899
|
+
leave: string | {
|
|
900
|
+
id: string;
|
|
901
|
+
view: string;
|
|
902
|
+
};
|
|
903
|
+
afterLeave: string | {
|
|
904
|
+
id: string;
|
|
905
|
+
view: string;
|
|
906
|
+
};
|
|
644
907
|
} & Omit<{
|
|
645
|
-
beforeEnter: string;
|
|
646
|
-
enter: string;
|
|
647
|
-
afterEnter: string;
|
|
648
|
-
beforeLeave: string;
|
|
649
|
-
leave: string;
|
|
650
|
-
afterLeave: string;
|
|
651
|
-
} & Omit<{}, keyof import("../../..").ToastEvents>, keyof import("../../..").ModalEvents>, keyof import("../../..").DrawerEvents>, keyof import("../../..").DraggableEvents>, keyof import("../../..").CookieEvents>, keyof import("../../..").CommandEvents>, "collision">)[Key_2]): void;
|
|
652
|
-
<Key_3 extends "progress" | "collision" | keyof import("../../..").DraggableEvents | keyof import("../../..").CookieEvents | keyof import("../../..").CommandEvents>(type: undefined extends ({
|
|
653
908
|
collision: {
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
909
|
+
direction: import("../../../MagicScroll/src/types").ScrollDirection;
|
|
910
|
+
position: import("../../../MagicScroll/src/types").Position;
|
|
911
|
+
element: HTMLElement;
|
|
657
912
|
data?: Record<string, unknown> | undefined;
|
|
658
913
|
};
|
|
659
914
|
} & Omit<{
|
|
@@ -663,10 +918,11 @@ export declare function useMagicEmitter(): {
|
|
|
663
918
|
beforeLeave: string;
|
|
664
919
|
leave: string;
|
|
665
920
|
afterLeave: string;
|
|
666
|
-
} & Omit<{
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
921
|
+
} & Omit<{}, keyof import("../../../MagicToast/src/types").ToastEvents>, "collision">, keyof import("../../../MagicMenu/src/types").MenuEvents>, keyof import("../../../MagicModal/src/types").ModalEvents>, keyof import("../../../MagicDrawer/src/types").DrawerEvents>, keyof import("../../../MagicDraggable/src/types").DraggableEvents>, keyof import("../../../MagicCookie/src/types").CookieEvents>)[Key_2]): void;
|
|
922
|
+
<Key_3 extends "progress" | "beforeEnter" | "enter" | "afterEnter" | "beforeLeave" | "leave" | "afterLeave" | "collision" | keyof import("../../../MagicDraggable/src/types").DraggableEvents | keyof import("../../../MagicCookie/src/types").CookieEvents>(type: undefined extends ({
|
|
923
|
+
accept: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
924
|
+
reject: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
925
|
+
acceptSelected: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
670
926
|
} & Omit<{
|
|
671
927
|
beforeSnap: {
|
|
672
928
|
id: string;
|
|
@@ -724,12 +980,30 @@ export declare function useMagicEmitter(): {
|
|
|
724
980
|
y: number;
|
|
725
981
|
};
|
|
726
982
|
} & Omit<{
|
|
727
|
-
beforeEnter: string
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
983
|
+
beforeEnter: string | {
|
|
984
|
+
id: string;
|
|
985
|
+
view: string;
|
|
986
|
+
};
|
|
987
|
+
enter: string | {
|
|
988
|
+
id: string;
|
|
989
|
+
view: string;
|
|
990
|
+
};
|
|
991
|
+
afterEnter: string | {
|
|
992
|
+
id: string;
|
|
993
|
+
view: string;
|
|
994
|
+
};
|
|
995
|
+
beforeLeave: string | {
|
|
996
|
+
id: string;
|
|
997
|
+
view: string;
|
|
998
|
+
};
|
|
999
|
+
leave: string | {
|
|
1000
|
+
id: string;
|
|
1001
|
+
view: string;
|
|
1002
|
+
};
|
|
1003
|
+
afterLeave: string | {
|
|
1004
|
+
id: string;
|
|
1005
|
+
view: string;
|
|
1006
|
+
};
|
|
733
1007
|
beforeSnap: {
|
|
734
1008
|
id: string;
|
|
735
1009
|
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
@@ -764,12 +1038,62 @@ export declare function useMagicEmitter(): {
|
|
|
764
1038
|
y: number;
|
|
765
1039
|
};
|
|
766
1040
|
} & Omit<{
|
|
767
|
-
beforeEnter: string
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
1041
|
+
beforeEnter: string | {
|
|
1042
|
+
id: string;
|
|
1043
|
+
view: string;
|
|
1044
|
+
};
|
|
1045
|
+
enter: string | {
|
|
1046
|
+
id: string;
|
|
1047
|
+
view: string;
|
|
1048
|
+
};
|
|
1049
|
+
afterEnter: string | {
|
|
1050
|
+
id: string;
|
|
1051
|
+
view: string;
|
|
1052
|
+
};
|
|
1053
|
+
beforeLeave: string | {
|
|
1054
|
+
id: string;
|
|
1055
|
+
view: string;
|
|
1056
|
+
};
|
|
1057
|
+
leave: string | {
|
|
1058
|
+
id: string;
|
|
1059
|
+
view: string;
|
|
1060
|
+
};
|
|
1061
|
+
afterLeave: string | {
|
|
1062
|
+
id: string;
|
|
1063
|
+
view: string;
|
|
1064
|
+
};
|
|
1065
|
+
} & Omit<{
|
|
1066
|
+
beforeEnter: string | {
|
|
1067
|
+
id: string;
|
|
1068
|
+
view: string;
|
|
1069
|
+
};
|
|
1070
|
+
enter: string | {
|
|
1071
|
+
id: string;
|
|
1072
|
+
view: string;
|
|
1073
|
+
};
|
|
1074
|
+
afterEnter: string | {
|
|
1075
|
+
id: string;
|
|
1076
|
+
view: string;
|
|
1077
|
+
};
|
|
1078
|
+
beforeLeave: string | {
|
|
1079
|
+
id: string;
|
|
1080
|
+
view: string;
|
|
1081
|
+
};
|
|
1082
|
+
leave: string | {
|
|
1083
|
+
id: string;
|
|
1084
|
+
view: string;
|
|
1085
|
+
};
|
|
1086
|
+
afterLeave: string | {
|
|
1087
|
+
id: string;
|
|
1088
|
+
view: string;
|
|
1089
|
+
};
|
|
1090
|
+
} & Omit<{
|
|
1091
|
+
collision: {
|
|
1092
|
+
direction: import("../../../MagicScroll/src/types").ScrollDirection;
|
|
1093
|
+
position: import("../../../MagicScroll/src/types").Position;
|
|
1094
|
+
element: HTMLElement;
|
|
1095
|
+
data?: Record<string, unknown> | undefined;
|
|
1096
|
+
};
|
|
773
1097
|
} & Omit<{
|
|
774
1098
|
beforeEnter: string;
|
|
775
1099
|
enter: string;
|
|
@@ -777,6 +1101,6 @@ export declare function useMagicEmitter(): {
|
|
|
777
1101
|
beforeLeave: string;
|
|
778
1102
|
leave: string;
|
|
779
1103
|
afterLeave: string;
|
|
780
|
-
} & Omit<{}, keyof import("
|
|
1104
|
+
} & Omit<{}, keyof import("../../../MagicToast/src/types").ToastEvents>, "collision">, keyof import("../../../MagicMenu/src/types").MenuEvents>, keyof import("../../../MagicModal/src/types").ModalEvents>, keyof import("../../../MagicDrawer/src/types").DrawerEvents>, keyof import("../../../MagicDraggable/src/types").DraggableEvents>, keyof import("../../../MagicCookie/src/types").CookieEvents>)[Key_3] ? Key_3 : never): void;
|
|
781
1105
|
};
|
|
782
1106
|
};
|