@maas/vue-equipment 0.31.0 → 0.32.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/nuxt/module.mjs +8 -1
- package/dist/plugins/MagicAccordion/index.d.ts +5 -0
- package/dist/plugins/MagicAccordion/index.mjs +25 -0
- package/dist/plugins/MagicAccordion/nuxt.d.ts +2 -0
- package/dist/plugins/MagicAccordion/nuxt.mjs +23 -0
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue +72 -0
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +26 -0
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue +31 -0
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue.d.ts +27 -0
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue +71 -0
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +47 -0
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue +55 -0
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +25 -0
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionCallback.d.ts +14 -0
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionCallback.mjs +32 -0
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionState.d.ts +7 -0
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionState.mjs +42 -0
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionTrigger.d.ts +16 -0
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionTrigger.mjs +35 -0
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionView.d.ts +12 -0
- package/dist/plugins/MagicAccordion/src/composables/private/useAccordionView.mjs +60 -0
- package/dist/plugins/MagicAccordion/src/composables/useMagicAccordion.d.ts +10 -0
- package/dist/plugins/MagicAccordion/src/composables/useMagicAccordion.mjs +9 -0
- package/dist/plugins/MagicAccordion/src/symbols/index.d.ts +5 -0
- package/dist/plugins/MagicAccordion/src/symbols/index.mjs +8 -0
- package/dist/plugins/MagicAccordion/src/types/index.d.ts +43 -0
- package/dist/plugins/MagicAccordion/src/types/index.mjs +0 -0
- package/dist/plugins/MagicAccordion/src/utils/defaultOptions.d.ts +4 -0
- package/dist/plugins/MagicAccordion/src/utils/defaultOptions.mjs +6 -0
- package/dist/plugins/MagicAutoSize/src/components/MagicAutoSize.vue +43 -4
- package/dist/plugins/MagicAutoSize/src/components/MagicAutoSize.vue.d.ts +5 -1
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue +3 -1
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerState.d.ts +2 -45
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerState.mjs +3 -2
- package/dist/plugins/MagicDrawer/src/composables/useMagicDrawer.mjs +5 -8
- package/dist/plugins/MagicDrawer/src/types/index.d.ts +1 -0
- package/dist/plugins/MagicEmitter/src/composables/useMagicEmitter.d.ts +376 -118
- package/dist/plugins/MagicEmitter/src/types/index.d.ts +2 -0
- package/dist/plugins/MagicMenu/index.d.ts +2 -2
- package/dist/plugins/MagicMenu/index.mjs +14 -2
- package/dist/plugins/MagicMenu/src/composables/private/useMenuCallback.mjs +6 -6
- package/dist/plugins/MagicMenu/src/composables/private/useMenuView.mjs +6 -6
- package/dist/plugins/MagicMenu/src/types/index.d.ts +21 -8
- package/dist/plugins/MagicMenu/src/utils/defaultOptions.d.ts +2 -3
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue +1 -1
- package/dist/plugins/MagicScroll/src/symbols/index.d.ts +2 -2
- package/dist/plugins/MagicToast/src/composables/private/useToastApi.d.ts +1 -1
- package/dist/plugins/MagicToast/src/composables/private/useToastStore.d.ts +14 -4
- package/dist/plugins/MagicToast/src/composables/useMagicToast.d.ts +5 -5
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/index.mjs +1 -0
- package/dist/utils/css/easings.css +4 -0
- package/package.json +1 -1
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerStore.d.ts +0 -5
- package/dist/plugins/MagicDrawer/src/composables/private/useDrawerStore.mjs +0 -15
|
@@ -1,6 +1,49 @@
|
|
|
1
1
|
export declare function useMagicEmitter(): {
|
|
2
2
|
on: {
|
|
3
|
-
<Key extends "progress" | "
|
|
3
|
+
<Key extends "progress" | "collision" | keyof import("../../../MagicDraggable/src/types").DraggableEvents | keyof import("../../../MagicCookie/src/types").CookieEvents | keyof import("../../../MagicAccordion/src/types").AccordionEvents>(type: Key, handler: import("mitt").Handler<({
|
|
4
|
+
beforeEnter: string | {
|
|
5
|
+
id: string;
|
|
6
|
+
viewId: string;
|
|
7
|
+
} | {
|
|
8
|
+
id: string;
|
|
9
|
+
viewId: string;
|
|
10
|
+
};
|
|
11
|
+
enter: string | {
|
|
12
|
+
id: string;
|
|
13
|
+
viewId: string;
|
|
14
|
+
} | {
|
|
15
|
+
id: string;
|
|
16
|
+
viewId: string;
|
|
17
|
+
};
|
|
18
|
+
afterEnter: string | {
|
|
19
|
+
id: string;
|
|
20
|
+
viewId: string;
|
|
21
|
+
} | {
|
|
22
|
+
id: string;
|
|
23
|
+
viewId: string;
|
|
24
|
+
};
|
|
25
|
+
beforeLeave: string | {
|
|
26
|
+
id: string;
|
|
27
|
+
viewId: string;
|
|
28
|
+
} | {
|
|
29
|
+
id: string;
|
|
30
|
+
viewId: string;
|
|
31
|
+
};
|
|
32
|
+
leave: string | {
|
|
33
|
+
id: string;
|
|
34
|
+
viewId: string;
|
|
35
|
+
} | {
|
|
36
|
+
id: string;
|
|
37
|
+
viewId: string;
|
|
38
|
+
};
|
|
39
|
+
afterLeave: string | {
|
|
40
|
+
id: string;
|
|
41
|
+
viewId: string;
|
|
42
|
+
} | {
|
|
43
|
+
id: string;
|
|
44
|
+
viewId: string;
|
|
45
|
+
};
|
|
46
|
+
} & Omit<{
|
|
4
47
|
accept: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
5
48
|
reject: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
6
49
|
acceptSelected: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
@@ -63,27 +106,27 @@ export declare function useMagicEmitter(): {
|
|
|
63
106
|
} & Omit<{
|
|
64
107
|
beforeEnter: string | {
|
|
65
108
|
id: string;
|
|
66
|
-
|
|
109
|
+
viewId: string;
|
|
67
110
|
};
|
|
68
111
|
enter: string | {
|
|
69
112
|
id: string;
|
|
70
|
-
|
|
113
|
+
viewId: string;
|
|
71
114
|
};
|
|
72
115
|
afterEnter: string | {
|
|
73
116
|
id: string;
|
|
74
|
-
|
|
117
|
+
viewId: string;
|
|
75
118
|
};
|
|
76
119
|
beforeLeave: string | {
|
|
77
120
|
id: string;
|
|
78
|
-
|
|
121
|
+
viewId: string;
|
|
79
122
|
};
|
|
80
123
|
leave: string | {
|
|
81
124
|
id: string;
|
|
82
|
-
|
|
125
|
+
viewId: string;
|
|
83
126
|
};
|
|
84
127
|
afterLeave: string | {
|
|
85
128
|
id: string;
|
|
86
|
-
|
|
129
|
+
viewId: string;
|
|
87
130
|
};
|
|
88
131
|
beforeSnap: {
|
|
89
132
|
id: string;
|
|
@@ -121,52 +164,52 @@ export declare function useMagicEmitter(): {
|
|
|
121
164
|
} & Omit<{
|
|
122
165
|
beforeEnter: string | {
|
|
123
166
|
id: string;
|
|
124
|
-
|
|
167
|
+
viewId: string;
|
|
125
168
|
};
|
|
126
169
|
enter: string | {
|
|
127
170
|
id: string;
|
|
128
|
-
|
|
171
|
+
viewId: string;
|
|
129
172
|
};
|
|
130
173
|
afterEnter: string | {
|
|
131
174
|
id: string;
|
|
132
|
-
|
|
175
|
+
viewId: string;
|
|
133
176
|
};
|
|
134
177
|
beforeLeave: string | {
|
|
135
178
|
id: string;
|
|
136
|
-
|
|
179
|
+
viewId: string;
|
|
137
180
|
};
|
|
138
181
|
leave: string | {
|
|
139
182
|
id: string;
|
|
140
|
-
|
|
183
|
+
viewId: string;
|
|
141
184
|
};
|
|
142
185
|
afterLeave: string | {
|
|
143
186
|
id: string;
|
|
144
|
-
|
|
187
|
+
viewId: string;
|
|
145
188
|
};
|
|
146
189
|
} & Omit<{
|
|
147
190
|
beforeEnter: string | {
|
|
148
191
|
id: string;
|
|
149
|
-
|
|
192
|
+
viewId: string;
|
|
150
193
|
};
|
|
151
194
|
enter: string | {
|
|
152
195
|
id: string;
|
|
153
|
-
|
|
196
|
+
viewId: string;
|
|
154
197
|
};
|
|
155
198
|
afterEnter: string | {
|
|
156
199
|
id: string;
|
|
157
|
-
|
|
200
|
+
viewId: string;
|
|
158
201
|
};
|
|
159
202
|
beforeLeave: string | {
|
|
160
203
|
id: string;
|
|
161
|
-
|
|
204
|
+
viewId: string;
|
|
162
205
|
};
|
|
163
206
|
leave: string | {
|
|
164
207
|
id: string;
|
|
165
|
-
|
|
208
|
+
viewId: string;
|
|
166
209
|
};
|
|
167
210
|
afterLeave: string | {
|
|
168
211
|
id: string;
|
|
169
|
-
|
|
212
|
+
viewId: string;
|
|
170
213
|
};
|
|
171
214
|
} & Omit<{
|
|
172
215
|
collision: {
|
|
@@ -182,8 +225,51 @@ export declare function useMagicEmitter(): {
|
|
|
182
225
|
beforeLeave: string;
|
|
183
226
|
leave: string;
|
|
184
227
|
afterLeave: string;
|
|
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;
|
|
228
|
+
} & 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>, keyof import("../../../MagicAccordion/src/types").AccordionEvents>)[Key]>): void;
|
|
186
229
|
(type: "*", handler: import("mitt").WildcardHandler<{
|
|
230
|
+
beforeEnter: string | {
|
|
231
|
+
id: string;
|
|
232
|
+
viewId: string;
|
|
233
|
+
} | {
|
|
234
|
+
id: string;
|
|
235
|
+
viewId: string;
|
|
236
|
+
};
|
|
237
|
+
enter: string | {
|
|
238
|
+
id: string;
|
|
239
|
+
viewId: string;
|
|
240
|
+
} | {
|
|
241
|
+
id: string;
|
|
242
|
+
viewId: string;
|
|
243
|
+
};
|
|
244
|
+
afterEnter: string | {
|
|
245
|
+
id: string;
|
|
246
|
+
viewId: string;
|
|
247
|
+
} | {
|
|
248
|
+
id: string;
|
|
249
|
+
viewId: string;
|
|
250
|
+
};
|
|
251
|
+
beforeLeave: string | {
|
|
252
|
+
id: string;
|
|
253
|
+
viewId: string;
|
|
254
|
+
} | {
|
|
255
|
+
id: string;
|
|
256
|
+
viewId: string;
|
|
257
|
+
};
|
|
258
|
+
leave: string | {
|
|
259
|
+
id: string;
|
|
260
|
+
viewId: string;
|
|
261
|
+
} | {
|
|
262
|
+
id: string;
|
|
263
|
+
viewId: string;
|
|
264
|
+
};
|
|
265
|
+
afterLeave: string | {
|
|
266
|
+
id: string;
|
|
267
|
+
viewId: string;
|
|
268
|
+
} | {
|
|
269
|
+
id: string;
|
|
270
|
+
viewId: string;
|
|
271
|
+
};
|
|
272
|
+
} & Omit<{
|
|
187
273
|
accept: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
188
274
|
reject: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
189
275
|
acceptSelected: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
@@ -246,27 +332,27 @@ export declare function useMagicEmitter(): {
|
|
|
246
332
|
} & Omit<{
|
|
247
333
|
beforeEnter: string | {
|
|
248
334
|
id: string;
|
|
249
|
-
|
|
335
|
+
viewId: string;
|
|
250
336
|
};
|
|
251
337
|
enter: string | {
|
|
252
338
|
id: string;
|
|
253
|
-
|
|
339
|
+
viewId: string;
|
|
254
340
|
};
|
|
255
341
|
afterEnter: string | {
|
|
256
342
|
id: string;
|
|
257
|
-
|
|
343
|
+
viewId: string;
|
|
258
344
|
};
|
|
259
345
|
beforeLeave: string | {
|
|
260
346
|
id: string;
|
|
261
|
-
|
|
347
|
+
viewId: string;
|
|
262
348
|
};
|
|
263
349
|
leave: string | {
|
|
264
350
|
id: string;
|
|
265
|
-
|
|
351
|
+
viewId: string;
|
|
266
352
|
};
|
|
267
353
|
afterLeave: string | {
|
|
268
354
|
id: string;
|
|
269
|
-
|
|
355
|
+
viewId: string;
|
|
270
356
|
};
|
|
271
357
|
beforeSnap: {
|
|
272
358
|
id: string;
|
|
@@ -304,52 +390,52 @@ export declare function useMagicEmitter(): {
|
|
|
304
390
|
} & Omit<{
|
|
305
391
|
beforeEnter: string | {
|
|
306
392
|
id: string;
|
|
307
|
-
|
|
393
|
+
viewId: string;
|
|
308
394
|
};
|
|
309
395
|
enter: string | {
|
|
310
396
|
id: string;
|
|
311
|
-
|
|
397
|
+
viewId: string;
|
|
312
398
|
};
|
|
313
399
|
afterEnter: string | {
|
|
314
400
|
id: string;
|
|
315
|
-
|
|
401
|
+
viewId: string;
|
|
316
402
|
};
|
|
317
403
|
beforeLeave: string | {
|
|
318
404
|
id: string;
|
|
319
|
-
|
|
405
|
+
viewId: string;
|
|
320
406
|
};
|
|
321
407
|
leave: string | {
|
|
322
408
|
id: string;
|
|
323
|
-
|
|
409
|
+
viewId: string;
|
|
324
410
|
};
|
|
325
411
|
afterLeave: string | {
|
|
326
412
|
id: string;
|
|
327
|
-
|
|
413
|
+
viewId: string;
|
|
328
414
|
};
|
|
329
415
|
} & Omit<{
|
|
330
416
|
beforeEnter: string | {
|
|
331
417
|
id: string;
|
|
332
|
-
|
|
418
|
+
viewId: string;
|
|
333
419
|
};
|
|
334
420
|
enter: string | {
|
|
335
421
|
id: string;
|
|
336
|
-
|
|
422
|
+
viewId: string;
|
|
337
423
|
};
|
|
338
424
|
afterEnter: string | {
|
|
339
425
|
id: string;
|
|
340
|
-
|
|
426
|
+
viewId: string;
|
|
341
427
|
};
|
|
342
428
|
beforeLeave: string | {
|
|
343
429
|
id: string;
|
|
344
|
-
|
|
430
|
+
viewId: string;
|
|
345
431
|
};
|
|
346
432
|
leave: string | {
|
|
347
433
|
id: string;
|
|
348
|
-
|
|
434
|
+
viewId: string;
|
|
349
435
|
};
|
|
350
436
|
afterLeave: string | {
|
|
351
437
|
id: string;
|
|
352
|
-
|
|
438
|
+
viewId: string;
|
|
353
439
|
};
|
|
354
440
|
} & Omit<{
|
|
355
441
|
collision: {
|
|
@@ -365,10 +451,53 @@ export declare function useMagicEmitter(): {
|
|
|
365
451
|
beforeLeave: string;
|
|
366
452
|
leave: string;
|
|
367
453
|
afterLeave: string;
|
|
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;
|
|
454
|
+
} & 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>, keyof import("../../../MagicAccordion/src/types").AccordionEvents>>): void;
|
|
369
455
|
};
|
|
370
456
|
off: {
|
|
371
|
-
<Key extends "progress" | "
|
|
457
|
+
<Key extends "progress" | "collision" | keyof import("../../../MagicDraggable/src/types").DraggableEvents | keyof import("../../../MagicCookie/src/types").CookieEvents | keyof import("../../../MagicAccordion/src/types").AccordionEvents>(type: Key, handler?: import("mitt").Handler<({
|
|
458
|
+
beforeEnter: string | {
|
|
459
|
+
id: string;
|
|
460
|
+
viewId: string;
|
|
461
|
+
} | {
|
|
462
|
+
id: string;
|
|
463
|
+
viewId: string;
|
|
464
|
+
};
|
|
465
|
+
enter: string | {
|
|
466
|
+
id: string;
|
|
467
|
+
viewId: string;
|
|
468
|
+
} | {
|
|
469
|
+
id: string;
|
|
470
|
+
viewId: string;
|
|
471
|
+
};
|
|
472
|
+
afterEnter: string | {
|
|
473
|
+
id: string;
|
|
474
|
+
viewId: string;
|
|
475
|
+
} | {
|
|
476
|
+
id: string;
|
|
477
|
+
viewId: string;
|
|
478
|
+
};
|
|
479
|
+
beforeLeave: string | {
|
|
480
|
+
id: string;
|
|
481
|
+
viewId: string;
|
|
482
|
+
} | {
|
|
483
|
+
id: string;
|
|
484
|
+
viewId: string;
|
|
485
|
+
};
|
|
486
|
+
leave: string | {
|
|
487
|
+
id: string;
|
|
488
|
+
viewId: string;
|
|
489
|
+
} | {
|
|
490
|
+
id: string;
|
|
491
|
+
viewId: string;
|
|
492
|
+
};
|
|
493
|
+
afterLeave: string | {
|
|
494
|
+
id: string;
|
|
495
|
+
viewId: string;
|
|
496
|
+
} | {
|
|
497
|
+
id: string;
|
|
498
|
+
viewId: string;
|
|
499
|
+
};
|
|
500
|
+
} & Omit<{
|
|
372
501
|
accept: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
373
502
|
reject: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
374
503
|
acceptSelected: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
@@ -431,27 +560,27 @@ export declare function useMagicEmitter(): {
|
|
|
431
560
|
} & Omit<{
|
|
432
561
|
beforeEnter: string | {
|
|
433
562
|
id: string;
|
|
434
|
-
|
|
563
|
+
viewId: string;
|
|
435
564
|
};
|
|
436
565
|
enter: string | {
|
|
437
566
|
id: string;
|
|
438
|
-
|
|
567
|
+
viewId: string;
|
|
439
568
|
};
|
|
440
569
|
afterEnter: string | {
|
|
441
570
|
id: string;
|
|
442
|
-
|
|
571
|
+
viewId: string;
|
|
443
572
|
};
|
|
444
573
|
beforeLeave: string | {
|
|
445
574
|
id: string;
|
|
446
|
-
|
|
575
|
+
viewId: string;
|
|
447
576
|
};
|
|
448
577
|
leave: string | {
|
|
449
578
|
id: string;
|
|
450
|
-
|
|
579
|
+
viewId: string;
|
|
451
580
|
};
|
|
452
581
|
afterLeave: string | {
|
|
453
582
|
id: string;
|
|
454
|
-
|
|
583
|
+
viewId: string;
|
|
455
584
|
};
|
|
456
585
|
beforeSnap: {
|
|
457
586
|
id: string;
|
|
@@ -489,52 +618,52 @@ export declare function useMagicEmitter(): {
|
|
|
489
618
|
} & Omit<{
|
|
490
619
|
beforeEnter: string | {
|
|
491
620
|
id: string;
|
|
492
|
-
|
|
621
|
+
viewId: string;
|
|
493
622
|
};
|
|
494
623
|
enter: string | {
|
|
495
624
|
id: string;
|
|
496
|
-
|
|
625
|
+
viewId: string;
|
|
497
626
|
};
|
|
498
627
|
afterEnter: string | {
|
|
499
628
|
id: string;
|
|
500
|
-
|
|
629
|
+
viewId: string;
|
|
501
630
|
};
|
|
502
631
|
beforeLeave: string | {
|
|
503
632
|
id: string;
|
|
504
|
-
|
|
633
|
+
viewId: string;
|
|
505
634
|
};
|
|
506
635
|
leave: string | {
|
|
507
636
|
id: string;
|
|
508
|
-
|
|
637
|
+
viewId: string;
|
|
509
638
|
};
|
|
510
639
|
afterLeave: string | {
|
|
511
640
|
id: string;
|
|
512
|
-
|
|
641
|
+
viewId: string;
|
|
513
642
|
};
|
|
514
643
|
} & Omit<{
|
|
515
644
|
beforeEnter: string | {
|
|
516
645
|
id: string;
|
|
517
|
-
|
|
646
|
+
viewId: string;
|
|
518
647
|
};
|
|
519
648
|
enter: string | {
|
|
520
649
|
id: string;
|
|
521
|
-
|
|
650
|
+
viewId: string;
|
|
522
651
|
};
|
|
523
652
|
afterEnter: string | {
|
|
524
653
|
id: string;
|
|
525
|
-
|
|
654
|
+
viewId: string;
|
|
526
655
|
};
|
|
527
656
|
beforeLeave: string | {
|
|
528
657
|
id: string;
|
|
529
|
-
|
|
658
|
+
viewId: string;
|
|
530
659
|
};
|
|
531
660
|
leave: string | {
|
|
532
661
|
id: string;
|
|
533
|
-
|
|
662
|
+
viewId: string;
|
|
534
663
|
};
|
|
535
664
|
afterLeave: string | {
|
|
536
665
|
id: string;
|
|
537
|
-
|
|
666
|
+
viewId: string;
|
|
538
667
|
};
|
|
539
668
|
} & Omit<{
|
|
540
669
|
collision: {
|
|
@@ -550,8 +679,51 @@ export declare function useMagicEmitter(): {
|
|
|
550
679
|
beforeLeave: string;
|
|
551
680
|
leave: string;
|
|
552
681
|
afterLeave: string;
|
|
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]> | undefined): void;
|
|
682
|
+
} & 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>, keyof import("../../../MagicAccordion/src/types").AccordionEvents>)[Key]> | undefined): void;
|
|
554
683
|
(type: "*", handler: import("mitt").WildcardHandler<{
|
|
684
|
+
beforeEnter: string | {
|
|
685
|
+
id: string;
|
|
686
|
+
viewId: string;
|
|
687
|
+
} | {
|
|
688
|
+
id: string;
|
|
689
|
+
viewId: string;
|
|
690
|
+
};
|
|
691
|
+
enter: string | {
|
|
692
|
+
id: string;
|
|
693
|
+
viewId: string;
|
|
694
|
+
} | {
|
|
695
|
+
id: string;
|
|
696
|
+
viewId: string;
|
|
697
|
+
};
|
|
698
|
+
afterEnter: string | {
|
|
699
|
+
id: string;
|
|
700
|
+
viewId: string;
|
|
701
|
+
} | {
|
|
702
|
+
id: string;
|
|
703
|
+
viewId: string;
|
|
704
|
+
};
|
|
705
|
+
beforeLeave: string | {
|
|
706
|
+
id: string;
|
|
707
|
+
viewId: string;
|
|
708
|
+
} | {
|
|
709
|
+
id: string;
|
|
710
|
+
viewId: string;
|
|
711
|
+
};
|
|
712
|
+
leave: string | {
|
|
713
|
+
id: string;
|
|
714
|
+
viewId: string;
|
|
715
|
+
} | {
|
|
716
|
+
id: string;
|
|
717
|
+
viewId: string;
|
|
718
|
+
};
|
|
719
|
+
afterLeave: string | {
|
|
720
|
+
id: string;
|
|
721
|
+
viewId: string;
|
|
722
|
+
} | {
|
|
723
|
+
id: string;
|
|
724
|
+
viewId: string;
|
|
725
|
+
};
|
|
726
|
+
} & Omit<{
|
|
555
727
|
accept: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
556
728
|
reject: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
557
729
|
acceptSelected: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
@@ -614,27 +786,27 @@ export declare function useMagicEmitter(): {
|
|
|
614
786
|
} & Omit<{
|
|
615
787
|
beforeEnter: string | {
|
|
616
788
|
id: string;
|
|
617
|
-
|
|
789
|
+
viewId: string;
|
|
618
790
|
};
|
|
619
791
|
enter: string | {
|
|
620
792
|
id: string;
|
|
621
|
-
|
|
793
|
+
viewId: string;
|
|
622
794
|
};
|
|
623
795
|
afterEnter: string | {
|
|
624
796
|
id: string;
|
|
625
|
-
|
|
797
|
+
viewId: string;
|
|
626
798
|
};
|
|
627
799
|
beforeLeave: string | {
|
|
628
800
|
id: string;
|
|
629
|
-
|
|
801
|
+
viewId: string;
|
|
630
802
|
};
|
|
631
803
|
leave: string | {
|
|
632
804
|
id: string;
|
|
633
|
-
|
|
805
|
+
viewId: string;
|
|
634
806
|
};
|
|
635
807
|
afterLeave: string | {
|
|
636
808
|
id: string;
|
|
637
|
-
|
|
809
|
+
viewId: string;
|
|
638
810
|
};
|
|
639
811
|
beforeSnap: {
|
|
640
812
|
id: string;
|
|
@@ -672,52 +844,52 @@ export declare function useMagicEmitter(): {
|
|
|
672
844
|
} & Omit<{
|
|
673
845
|
beforeEnter: string | {
|
|
674
846
|
id: string;
|
|
675
|
-
|
|
847
|
+
viewId: string;
|
|
676
848
|
};
|
|
677
849
|
enter: string | {
|
|
678
850
|
id: string;
|
|
679
|
-
|
|
851
|
+
viewId: string;
|
|
680
852
|
};
|
|
681
853
|
afterEnter: string | {
|
|
682
854
|
id: string;
|
|
683
|
-
|
|
855
|
+
viewId: string;
|
|
684
856
|
};
|
|
685
857
|
beforeLeave: string | {
|
|
686
858
|
id: string;
|
|
687
|
-
|
|
859
|
+
viewId: string;
|
|
688
860
|
};
|
|
689
861
|
leave: string | {
|
|
690
862
|
id: string;
|
|
691
|
-
|
|
863
|
+
viewId: string;
|
|
692
864
|
};
|
|
693
865
|
afterLeave: string | {
|
|
694
866
|
id: string;
|
|
695
|
-
|
|
867
|
+
viewId: string;
|
|
696
868
|
};
|
|
697
869
|
} & Omit<{
|
|
698
870
|
beforeEnter: string | {
|
|
699
871
|
id: string;
|
|
700
|
-
|
|
872
|
+
viewId: string;
|
|
701
873
|
};
|
|
702
874
|
enter: string | {
|
|
703
875
|
id: string;
|
|
704
|
-
|
|
876
|
+
viewId: string;
|
|
705
877
|
};
|
|
706
878
|
afterEnter: string | {
|
|
707
879
|
id: string;
|
|
708
|
-
|
|
880
|
+
viewId: string;
|
|
709
881
|
};
|
|
710
882
|
beforeLeave: string | {
|
|
711
883
|
id: string;
|
|
712
|
-
|
|
884
|
+
viewId: string;
|
|
713
885
|
};
|
|
714
886
|
leave: string | {
|
|
715
887
|
id: string;
|
|
716
|
-
|
|
888
|
+
viewId: string;
|
|
717
889
|
};
|
|
718
890
|
afterLeave: string | {
|
|
719
891
|
id: string;
|
|
720
|
-
|
|
892
|
+
viewId: string;
|
|
721
893
|
};
|
|
722
894
|
} & Omit<{
|
|
723
895
|
collision: {
|
|
@@ -733,10 +905,53 @@ export declare function useMagicEmitter(): {
|
|
|
733
905
|
beforeLeave: string;
|
|
734
906
|
leave: string;
|
|
735
907
|
afterLeave: string;
|
|
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;
|
|
908
|
+
} & 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>, keyof import("../../../MagicAccordion/src/types").AccordionEvents>>): void;
|
|
737
909
|
};
|
|
738
910
|
emit: {
|
|
739
|
-
<Key extends "progress" | "
|
|
911
|
+
<Key extends "progress" | "collision" | keyof import("../../../MagicDraggable/src/types").DraggableEvents | keyof import("../../../MagicCookie/src/types").CookieEvents | keyof import("../../../MagicAccordion/src/types").AccordionEvents>(type: Key, event: ({
|
|
912
|
+
beforeEnter: string | {
|
|
913
|
+
id: string;
|
|
914
|
+
viewId: string;
|
|
915
|
+
} | {
|
|
916
|
+
id: string;
|
|
917
|
+
viewId: string;
|
|
918
|
+
};
|
|
919
|
+
enter: string | {
|
|
920
|
+
id: string;
|
|
921
|
+
viewId: string;
|
|
922
|
+
} | {
|
|
923
|
+
id: string;
|
|
924
|
+
viewId: string;
|
|
925
|
+
};
|
|
926
|
+
afterEnter: string | {
|
|
927
|
+
id: string;
|
|
928
|
+
viewId: string;
|
|
929
|
+
} | {
|
|
930
|
+
id: string;
|
|
931
|
+
viewId: string;
|
|
932
|
+
};
|
|
933
|
+
beforeLeave: string | {
|
|
934
|
+
id: string;
|
|
935
|
+
viewId: string;
|
|
936
|
+
} | {
|
|
937
|
+
id: string;
|
|
938
|
+
viewId: string;
|
|
939
|
+
};
|
|
940
|
+
leave: string | {
|
|
941
|
+
id: string;
|
|
942
|
+
viewId: string;
|
|
943
|
+
} | {
|
|
944
|
+
id: string;
|
|
945
|
+
viewId: string;
|
|
946
|
+
};
|
|
947
|
+
afterLeave: string | {
|
|
948
|
+
id: string;
|
|
949
|
+
viewId: string;
|
|
950
|
+
} | {
|
|
951
|
+
id: string;
|
|
952
|
+
viewId: string;
|
|
953
|
+
};
|
|
954
|
+
} & Omit<{
|
|
740
955
|
accept: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
741
956
|
reject: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
742
957
|
acceptSelected: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
@@ -799,27 +1014,27 @@ export declare function useMagicEmitter(): {
|
|
|
799
1014
|
} & Omit<{
|
|
800
1015
|
beforeEnter: string | {
|
|
801
1016
|
id: string;
|
|
802
|
-
|
|
1017
|
+
viewId: string;
|
|
803
1018
|
};
|
|
804
1019
|
enter: string | {
|
|
805
1020
|
id: string;
|
|
806
|
-
|
|
1021
|
+
viewId: string;
|
|
807
1022
|
};
|
|
808
1023
|
afterEnter: string | {
|
|
809
1024
|
id: string;
|
|
810
|
-
|
|
1025
|
+
viewId: string;
|
|
811
1026
|
};
|
|
812
1027
|
beforeLeave: string | {
|
|
813
1028
|
id: string;
|
|
814
|
-
|
|
1029
|
+
viewId: string;
|
|
815
1030
|
};
|
|
816
1031
|
leave: string | {
|
|
817
1032
|
id: string;
|
|
818
|
-
|
|
1033
|
+
viewId: string;
|
|
819
1034
|
};
|
|
820
1035
|
afterLeave: string | {
|
|
821
1036
|
id: string;
|
|
822
|
-
|
|
1037
|
+
viewId: string;
|
|
823
1038
|
};
|
|
824
1039
|
beforeSnap: {
|
|
825
1040
|
id: string;
|
|
@@ -857,52 +1072,52 @@ export declare function useMagicEmitter(): {
|
|
|
857
1072
|
} & Omit<{
|
|
858
1073
|
beforeEnter: string | {
|
|
859
1074
|
id: string;
|
|
860
|
-
|
|
1075
|
+
viewId: string;
|
|
861
1076
|
};
|
|
862
1077
|
enter: string | {
|
|
863
1078
|
id: string;
|
|
864
|
-
|
|
1079
|
+
viewId: string;
|
|
865
1080
|
};
|
|
866
1081
|
afterEnter: string | {
|
|
867
1082
|
id: string;
|
|
868
|
-
|
|
1083
|
+
viewId: string;
|
|
869
1084
|
};
|
|
870
1085
|
beforeLeave: string | {
|
|
871
1086
|
id: string;
|
|
872
|
-
|
|
1087
|
+
viewId: string;
|
|
873
1088
|
};
|
|
874
1089
|
leave: string | {
|
|
875
1090
|
id: string;
|
|
876
|
-
|
|
1091
|
+
viewId: string;
|
|
877
1092
|
};
|
|
878
1093
|
afterLeave: string | {
|
|
879
1094
|
id: string;
|
|
880
|
-
|
|
1095
|
+
viewId: string;
|
|
881
1096
|
};
|
|
882
1097
|
} & Omit<{
|
|
883
1098
|
beforeEnter: string | {
|
|
884
1099
|
id: string;
|
|
885
|
-
|
|
1100
|
+
viewId: string;
|
|
886
1101
|
};
|
|
887
1102
|
enter: string | {
|
|
888
1103
|
id: string;
|
|
889
|
-
|
|
1104
|
+
viewId: string;
|
|
890
1105
|
};
|
|
891
1106
|
afterEnter: string | {
|
|
892
1107
|
id: string;
|
|
893
|
-
|
|
1108
|
+
viewId: string;
|
|
894
1109
|
};
|
|
895
1110
|
beforeLeave: string | {
|
|
896
1111
|
id: string;
|
|
897
|
-
|
|
1112
|
+
viewId: string;
|
|
898
1113
|
};
|
|
899
1114
|
leave: string | {
|
|
900
1115
|
id: string;
|
|
901
|
-
|
|
1116
|
+
viewId: string;
|
|
902
1117
|
};
|
|
903
1118
|
afterLeave: string | {
|
|
904
1119
|
id: string;
|
|
905
|
-
|
|
1120
|
+
viewId: string;
|
|
906
1121
|
};
|
|
907
1122
|
} & Omit<{
|
|
908
1123
|
collision: {
|
|
@@ -918,8 +1133,51 @@ export declare function useMagicEmitter(): {
|
|
|
918
1133
|
beforeLeave: string;
|
|
919
1134
|
leave: string;
|
|
920
1135
|
afterLeave: string;
|
|
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]): void;
|
|
922
|
-
<Key extends "progress" | "
|
|
1136
|
+
} & 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>, keyof import("../../../MagicAccordion/src/types").AccordionEvents>)[Key]): void;
|
|
1137
|
+
<Key extends "progress" | "collision" | keyof import("../../../MagicDraggable/src/types").DraggableEvents | keyof import("../../../MagicCookie/src/types").CookieEvents | keyof import("../../../MagicAccordion/src/types").AccordionEvents>(type: undefined extends ({
|
|
1138
|
+
beforeEnter: string | {
|
|
1139
|
+
id: string;
|
|
1140
|
+
viewId: string;
|
|
1141
|
+
} | {
|
|
1142
|
+
id: string;
|
|
1143
|
+
viewId: string;
|
|
1144
|
+
};
|
|
1145
|
+
enter: string | {
|
|
1146
|
+
id: string;
|
|
1147
|
+
viewId: string;
|
|
1148
|
+
} | {
|
|
1149
|
+
id: string;
|
|
1150
|
+
viewId: string;
|
|
1151
|
+
};
|
|
1152
|
+
afterEnter: string | {
|
|
1153
|
+
id: string;
|
|
1154
|
+
viewId: string;
|
|
1155
|
+
} | {
|
|
1156
|
+
id: string;
|
|
1157
|
+
viewId: string;
|
|
1158
|
+
};
|
|
1159
|
+
beforeLeave: string | {
|
|
1160
|
+
id: string;
|
|
1161
|
+
viewId: string;
|
|
1162
|
+
} | {
|
|
1163
|
+
id: string;
|
|
1164
|
+
viewId: string;
|
|
1165
|
+
};
|
|
1166
|
+
leave: string | {
|
|
1167
|
+
id: string;
|
|
1168
|
+
viewId: string;
|
|
1169
|
+
} | {
|
|
1170
|
+
id: string;
|
|
1171
|
+
viewId: string;
|
|
1172
|
+
};
|
|
1173
|
+
afterLeave: string | {
|
|
1174
|
+
id: string;
|
|
1175
|
+
viewId: string;
|
|
1176
|
+
} | {
|
|
1177
|
+
id: string;
|
|
1178
|
+
viewId: string;
|
|
1179
|
+
};
|
|
1180
|
+
} & Omit<{
|
|
923
1181
|
accept: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
924
1182
|
reject: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
925
1183
|
acceptSelected: import("../../../MagicCookie/src/types").MagicCookieConsent;
|
|
@@ -982,27 +1240,27 @@ export declare function useMagicEmitter(): {
|
|
|
982
1240
|
} & Omit<{
|
|
983
1241
|
beforeEnter: string | {
|
|
984
1242
|
id: string;
|
|
985
|
-
|
|
1243
|
+
viewId: string;
|
|
986
1244
|
};
|
|
987
1245
|
enter: string | {
|
|
988
1246
|
id: string;
|
|
989
|
-
|
|
1247
|
+
viewId: string;
|
|
990
1248
|
};
|
|
991
1249
|
afterEnter: string | {
|
|
992
1250
|
id: string;
|
|
993
|
-
|
|
1251
|
+
viewId: string;
|
|
994
1252
|
};
|
|
995
1253
|
beforeLeave: string | {
|
|
996
1254
|
id: string;
|
|
997
|
-
|
|
1255
|
+
viewId: string;
|
|
998
1256
|
};
|
|
999
1257
|
leave: string | {
|
|
1000
1258
|
id: string;
|
|
1001
|
-
|
|
1259
|
+
viewId: string;
|
|
1002
1260
|
};
|
|
1003
1261
|
afterLeave: string | {
|
|
1004
1262
|
id: string;
|
|
1005
|
-
|
|
1263
|
+
viewId: string;
|
|
1006
1264
|
};
|
|
1007
1265
|
beforeSnap: {
|
|
1008
1266
|
id: string;
|
|
@@ -1040,52 +1298,52 @@ export declare function useMagicEmitter(): {
|
|
|
1040
1298
|
} & Omit<{
|
|
1041
1299
|
beforeEnter: string | {
|
|
1042
1300
|
id: string;
|
|
1043
|
-
|
|
1301
|
+
viewId: string;
|
|
1044
1302
|
};
|
|
1045
1303
|
enter: string | {
|
|
1046
1304
|
id: string;
|
|
1047
|
-
|
|
1305
|
+
viewId: string;
|
|
1048
1306
|
};
|
|
1049
1307
|
afterEnter: string | {
|
|
1050
1308
|
id: string;
|
|
1051
|
-
|
|
1309
|
+
viewId: string;
|
|
1052
1310
|
};
|
|
1053
1311
|
beforeLeave: string | {
|
|
1054
1312
|
id: string;
|
|
1055
|
-
|
|
1313
|
+
viewId: string;
|
|
1056
1314
|
};
|
|
1057
1315
|
leave: string | {
|
|
1058
1316
|
id: string;
|
|
1059
|
-
|
|
1317
|
+
viewId: string;
|
|
1060
1318
|
};
|
|
1061
1319
|
afterLeave: string | {
|
|
1062
1320
|
id: string;
|
|
1063
|
-
|
|
1321
|
+
viewId: string;
|
|
1064
1322
|
};
|
|
1065
1323
|
} & Omit<{
|
|
1066
1324
|
beforeEnter: string | {
|
|
1067
1325
|
id: string;
|
|
1068
|
-
|
|
1326
|
+
viewId: string;
|
|
1069
1327
|
};
|
|
1070
1328
|
enter: string | {
|
|
1071
1329
|
id: string;
|
|
1072
|
-
|
|
1330
|
+
viewId: string;
|
|
1073
1331
|
};
|
|
1074
1332
|
afterEnter: string | {
|
|
1075
1333
|
id: string;
|
|
1076
|
-
|
|
1334
|
+
viewId: string;
|
|
1077
1335
|
};
|
|
1078
1336
|
beforeLeave: string | {
|
|
1079
1337
|
id: string;
|
|
1080
|
-
|
|
1338
|
+
viewId: string;
|
|
1081
1339
|
};
|
|
1082
1340
|
leave: string | {
|
|
1083
1341
|
id: string;
|
|
1084
|
-
|
|
1342
|
+
viewId: string;
|
|
1085
1343
|
};
|
|
1086
1344
|
afterLeave: string | {
|
|
1087
1345
|
id: string;
|
|
1088
|
-
|
|
1346
|
+
viewId: string;
|
|
1089
1347
|
};
|
|
1090
1348
|
} & Omit<{
|
|
1091
1349
|
collision: {
|
|
@@ -1101,6 +1359,6 @@ export declare function useMagicEmitter(): {
|
|
|
1101
1359
|
beforeLeave: string;
|
|
1102
1360
|
leave: string;
|
|
1103
1361
|
afterLeave: string;
|
|
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] ? Key : never): void;
|
|
1362
|
+
} & 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>, keyof import("../../../MagicAccordion/src/types").AccordionEvents>)[Key] ? Key : never): void;
|
|
1105
1363
|
};
|
|
1106
1364
|
};
|