@maas/vue-equipment 0.29.0 → 0.29.1
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
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
export declare function useMagicEmitter(): {
|
|
2
2
|
on: {
|
|
3
|
-
<Key extends "progress" | "
|
|
3
|
+
<Key extends "progress" | "collision" | keyof import("../../..").DraggableEvents | keyof import("../../..").CookieEvents | keyof import("../../..").CommandEvents>(type: Key, handler: import("mitt").Handler<({
|
|
4
4
|
collision: {
|
|
5
5
|
dir: "up" | "down";
|
|
6
6
|
pos: "top" | "bottom";
|
|
7
7
|
el: HTMLElement;
|
|
8
8
|
data?: Record<string, unknown> | undefined;
|
|
9
9
|
};
|
|
10
|
+
} & Omit<{
|
|
10
11
|
beforeEnter: string;
|
|
11
12
|
enter: string;
|
|
12
13
|
afterEnter: string;
|
|
13
14
|
beforeLeave: string;
|
|
14
15
|
leave: string;
|
|
15
16
|
afterLeave: string;
|
|
17
|
+
} & Omit<{
|
|
16
18
|
accept: import("../../../MagicCookie/src/types").CookieConsent;
|
|
17
19
|
reject: import("../../../MagicCookie/src/types").CookieConsent;
|
|
18
20
|
acceptSelected: import("../../../MagicCookie/src/types").CookieConsent;
|
|
21
|
+
} & Omit<{
|
|
19
22
|
beforeSnap: {
|
|
20
23
|
id: string;
|
|
21
24
|
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
@@ -71,12 +74,61 @@ export declare function useMagicEmitter(): {
|
|
|
71
74
|
x: number;
|
|
72
75
|
y: number;
|
|
73
76
|
};
|
|
77
|
+
} & Omit<{
|
|
78
|
+
beforeEnter: string;
|
|
79
|
+
enter: string;
|
|
80
|
+
afterEnter: string;
|
|
81
|
+
beforeLeave: string;
|
|
82
|
+
leave: string;
|
|
83
|
+
afterLeave: string;
|
|
84
|
+
beforeSnap: {
|
|
85
|
+
id: string;
|
|
86
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
87
|
+
};
|
|
88
|
+
snapTo: {
|
|
89
|
+
id: string;
|
|
90
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
91
|
+
duration?: number | undefined;
|
|
92
|
+
};
|
|
93
|
+
afterSnap: {
|
|
94
|
+
id: string;
|
|
95
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
96
|
+
};
|
|
97
|
+
beforeDrag: {
|
|
98
|
+
id: string;
|
|
99
|
+
x: number;
|
|
100
|
+
y: number;
|
|
101
|
+
};
|
|
102
|
+
drag: {
|
|
103
|
+
id: string;
|
|
104
|
+
x: number;
|
|
105
|
+
y: number;
|
|
106
|
+
};
|
|
107
|
+
afterDrag: {
|
|
108
|
+
id: string;
|
|
109
|
+
x: number;
|
|
110
|
+
y: number;
|
|
111
|
+
};
|
|
74
112
|
progress: {
|
|
75
113
|
id: string;
|
|
76
114
|
x: number;
|
|
77
115
|
y: number;
|
|
78
116
|
};
|
|
79
|
-
}
|
|
117
|
+
} & Omit<{
|
|
118
|
+
beforeEnter: string;
|
|
119
|
+
enter: string;
|
|
120
|
+
afterEnter: string;
|
|
121
|
+
beforeLeave: string;
|
|
122
|
+
leave: string;
|
|
123
|
+
afterLeave: string;
|
|
124
|
+
} & 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;
|
|
80
132
|
(type: "*", handler: import("mitt").WildcardHandler<{
|
|
81
133
|
collision: {
|
|
82
134
|
dir: "up" | "down";
|
|
@@ -84,15 +136,18 @@ export declare function useMagicEmitter(): {
|
|
|
84
136
|
el: HTMLElement;
|
|
85
137
|
data?: Record<string, unknown> | undefined;
|
|
86
138
|
};
|
|
139
|
+
} & Omit<{
|
|
87
140
|
beforeEnter: string;
|
|
88
141
|
enter: string;
|
|
89
142
|
afterEnter: string;
|
|
90
143
|
beforeLeave: string;
|
|
91
144
|
leave: string;
|
|
92
145
|
afterLeave: string;
|
|
146
|
+
} & Omit<{
|
|
93
147
|
accept: import("../../../MagicCookie/src/types").CookieConsent;
|
|
94
148
|
reject: import("../../../MagicCookie/src/types").CookieConsent;
|
|
95
149
|
acceptSelected: import("../../../MagicCookie/src/types").CookieConsent;
|
|
150
|
+
} & Omit<{
|
|
96
151
|
beforeSnap: {
|
|
97
152
|
id: string;
|
|
98
153
|
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
@@ -148,30 +203,82 @@ export declare function useMagicEmitter(): {
|
|
|
148
203
|
x: number;
|
|
149
204
|
y: number;
|
|
150
205
|
};
|
|
206
|
+
} & Omit<{
|
|
207
|
+
beforeEnter: string;
|
|
208
|
+
enter: string;
|
|
209
|
+
afterEnter: string;
|
|
210
|
+
beforeLeave: string;
|
|
211
|
+
leave: string;
|
|
212
|
+
afterLeave: string;
|
|
213
|
+
beforeSnap: {
|
|
214
|
+
id: string;
|
|
215
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
216
|
+
};
|
|
217
|
+
snapTo: {
|
|
218
|
+
id: string;
|
|
219
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
220
|
+
duration?: number | undefined;
|
|
221
|
+
};
|
|
222
|
+
afterSnap: {
|
|
223
|
+
id: string;
|
|
224
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
225
|
+
};
|
|
226
|
+
beforeDrag: {
|
|
227
|
+
id: string;
|
|
228
|
+
x: number;
|
|
229
|
+
y: number;
|
|
230
|
+
};
|
|
231
|
+
drag: {
|
|
232
|
+
id: string;
|
|
233
|
+
x: number;
|
|
234
|
+
y: number;
|
|
235
|
+
};
|
|
236
|
+
afterDrag: {
|
|
237
|
+
id: string;
|
|
238
|
+
x: number;
|
|
239
|
+
y: number;
|
|
240
|
+
};
|
|
151
241
|
progress: {
|
|
152
242
|
id: string;
|
|
153
243
|
x: number;
|
|
154
244
|
y: number;
|
|
155
245
|
};
|
|
156
|
-
}
|
|
246
|
+
} & Omit<{
|
|
247
|
+
beforeEnter: string;
|
|
248
|
+
enter: string;
|
|
249
|
+
afterEnter: string;
|
|
250
|
+
beforeLeave: string;
|
|
251
|
+
leave: string;
|
|
252
|
+
afterLeave: string;
|
|
253
|
+
} & 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;
|
|
157
261
|
};
|
|
158
262
|
off: {
|
|
159
|
-
<Key_1 extends "progress" | "
|
|
263
|
+
<Key_1 extends "progress" | "collision" | keyof import("../../..").DraggableEvents | keyof import("../../..").CookieEvents | keyof import("../../..").CommandEvents>(type: Key_1, handler?: import("mitt").Handler<({
|
|
160
264
|
collision: {
|
|
161
265
|
dir: "up" | "down";
|
|
162
266
|
pos: "top" | "bottom";
|
|
163
267
|
el: HTMLElement;
|
|
164
268
|
data?: Record<string, unknown> | undefined;
|
|
165
269
|
};
|
|
270
|
+
} & Omit<{
|
|
166
271
|
beforeEnter: string;
|
|
167
272
|
enter: string;
|
|
168
273
|
afterEnter: string;
|
|
169
274
|
beforeLeave: string;
|
|
170
275
|
leave: string;
|
|
171
276
|
afterLeave: string;
|
|
277
|
+
} & Omit<{
|
|
172
278
|
accept: import("../../../MagicCookie/src/types").CookieConsent;
|
|
173
279
|
reject: import("../../../MagicCookie/src/types").CookieConsent;
|
|
174
280
|
acceptSelected: import("../../../MagicCookie/src/types").CookieConsent;
|
|
281
|
+
} & Omit<{
|
|
175
282
|
beforeSnap: {
|
|
176
283
|
id: string;
|
|
177
284
|
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
@@ -227,12 +334,61 @@ export declare function useMagicEmitter(): {
|
|
|
227
334
|
x: number;
|
|
228
335
|
y: number;
|
|
229
336
|
};
|
|
337
|
+
} & Omit<{
|
|
338
|
+
beforeEnter: string;
|
|
339
|
+
enter: string;
|
|
340
|
+
afterEnter: string;
|
|
341
|
+
beforeLeave: string;
|
|
342
|
+
leave: string;
|
|
343
|
+
afterLeave: string;
|
|
344
|
+
beforeSnap: {
|
|
345
|
+
id: string;
|
|
346
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
347
|
+
};
|
|
348
|
+
snapTo: {
|
|
349
|
+
id: string;
|
|
350
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
351
|
+
duration?: number | undefined;
|
|
352
|
+
};
|
|
353
|
+
afterSnap: {
|
|
354
|
+
id: string;
|
|
355
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
356
|
+
};
|
|
357
|
+
beforeDrag: {
|
|
358
|
+
id: string;
|
|
359
|
+
x: number;
|
|
360
|
+
y: number;
|
|
361
|
+
};
|
|
362
|
+
drag: {
|
|
363
|
+
id: string;
|
|
364
|
+
x: number;
|
|
365
|
+
y: number;
|
|
366
|
+
};
|
|
367
|
+
afterDrag: {
|
|
368
|
+
id: string;
|
|
369
|
+
x: number;
|
|
370
|
+
y: number;
|
|
371
|
+
};
|
|
230
372
|
progress: {
|
|
231
373
|
id: string;
|
|
232
374
|
x: number;
|
|
233
375
|
y: number;
|
|
234
376
|
};
|
|
235
|
-
}
|
|
377
|
+
} & Omit<{
|
|
378
|
+
beforeEnter: string;
|
|
379
|
+
enter: string;
|
|
380
|
+
afterEnter: string;
|
|
381
|
+
beforeLeave: string;
|
|
382
|
+
leave: string;
|
|
383
|
+
afterLeave: string;
|
|
384
|
+
} & 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;
|
|
236
392
|
(type: "*", handler: import("mitt").WildcardHandler<{
|
|
237
393
|
collision: {
|
|
238
394
|
dir: "up" | "down";
|
|
@@ -240,15 +396,18 @@ export declare function useMagicEmitter(): {
|
|
|
240
396
|
el: HTMLElement;
|
|
241
397
|
data?: Record<string, unknown> | undefined;
|
|
242
398
|
};
|
|
399
|
+
} & Omit<{
|
|
243
400
|
beforeEnter: string;
|
|
244
401
|
enter: string;
|
|
245
402
|
afterEnter: string;
|
|
246
403
|
beforeLeave: string;
|
|
247
404
|
leave: string;
|
|
248
405
|
afterLeave: string;
|
|
406
|
+
} & Omit<{
|
|
249
407
|
accept: import("../../../MagicCookie/src/types").CookieConsent;
|
|
250
408
|
reject: import("../../../MagicCookie/src/types").CookieConsent;
|
|
251
409
|
acceptSelected: import("../../../MagicCookie/src/types").CookieConsent;
|
|
410
|
+
} & Omit<{
|
|
252
411
|
beforeSnap: {
|
|
253
412
|
id: string;
|
|
254
413
|
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
@@ -304,30 +463,82 @@ export declare function useMagicEmitter(): {
|
|
|
304
463
|
x: number;
|
|
305
464
|
y: number;
|
|
306
465
|
};
|
|
466
|
+
} & Omit<{
|
|
467
|
+
beforeEnter: string;
|
|
468
|
+
enter: string;
|
|
469
|
+
afterEnter: string;
|
|
470
|
+
beforeLeave: string;
|
|
471
|
+
leave: string;
|
|
472
|
+
afterLeave: string;
|
|
473
|
+
beforeSnap: {
|
|
474
|
+
id: string;
|
|
475
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
476
|
+
};
|
|
477
|
+
snapTo: {
|
|
478
|
+
id: string;
|
|
479
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
480
|
+
duration?: number | undefined;
|
|
481
|
+
};
|
|
482
|
+
afterSnap: {
|
|
483
|
+
id: string;
|
|
484
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
485
|
+
};
|
|
486
|
+
beforeDrag: {
|
|
487
|
+
id: string;
|
|
488
|
+
x: number;
|
|
489
|
+
y: number;
|
|
490
|
+
};
|
|
491
|
+
drag: {
|
|
492
|
+
id: string;
|
|
493
|
+
x: number;
|
|
494
|
+
y: number;
|
|
495
|
+
};
|
|
496
|
+
afterDrag: {
|
|
497
|
+
id: string;
|
|
498
|
+
x: number;
|
|
499
|
+
y: number;
|
|
500
|
+
};
|
|
307
501
|
progress: {
|
|
308
502
|
id: string;
|
|
309
503
|
x: number;
|
|
310
504
|
y: number;
|
|
311
505
|
};
|
|
312
|
-
}
|
|
506
|
+
} & Omit<{
|
|
507
|
+
beforeEnter: string;
|
|
508
|
+
enter: string;
|
|
509
|
+
afterEnter: string;
|
|
510
|
+
beforeLeave: string;
|
|
511
|
+
leave: string;
|
|
512
|
+
afterLeave: string;
|
|
513
|
+
} & 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;
|
|
313
521
|
};
|
|
314
522
|
emit: {
|
|
315
|
-
<Key_2 extends "progress" | "
|
|
523
|
+
<Key_2 extends "progress" | "collision" | keyof import("../../..").DraggableEvents | keyof import("../../..").CookieEvents | keyof import("../../..").CommandEvents>(type: Key_2, event: ({
|
|
316
524
|
collision: {
|
|
317
525
|
dir: "up" | "down";
|
|
318
526
|
pos: "top" | "bottom";
|
|
319
527
|
el: HTMLElement;
|
|
320
528
|
data?: Record<string, unknown> | undefined;
|
|
321
529
|
};
|
|
530
|
+
} & Omit<{
|
|
322
531
|
beforeEnter: string;
|
|
323
532
|
enter: string;
|
|
324
533
|
afterEnter: string;
|
|
325
534
|
beforeLeave: string;
|
|
326
535
|
leave: string;
|
|
327
536
|
afterLeave: string;
|
|
537
|
+
} & Omit<{
|
|
328
538
|
accept: import("../../../MagicCookie/src/types").CookieConsent;
|
|
329
539
|
reject: import("../../../MagicCookie/src/types").CookieConsent;
|
|
330
540
|
acceptSelected: import("../../../MagicCookie/src/types").CookieConsent;
|
|
541
|
+
} & Omit<{
|
|
331
542
|
beforeSnap: {
|
|
332
543
|
id: string;
|
|
333
544
|
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
@@ -383,28 +594,80 @@ export declare function useMagicEmitter(): {
|
|
|
383
594
|
x: number;
|
|
384
595
|
y: number;
|
|
385
596
|
};
|
|
597
|
+
} & Omit<{
|
|
598
|
+
beforeEnter: string;
|
|
599
|
+
enter: string;
|
|
600
|
+
afterEnter: string;
|
|
601
|
+
beforeLeave: string;
|
|
602
|
+
leave: string;
|
|
603
|
+
afterLeave: string;
|
|
604
|
+
beforeSnap: {
|
|
605
|
+
id: string;
|
|
606
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
607
|
+
};
|
|
608
|
+
snapTo: {
|
|
609
|
+
id: string;
|
|
610
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
611
|
+
duration?: number | undefined;
|
|
612
|
+
};
|
|
613
|
+
afterSnap: {
|
|
614
|
+
id: string;
|
|
615
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
616
|
+
};
|
|
617
|
+
beforeDrag: {
|
|
618
|
+
id: string;
|
|
619
|
+
x: number;
|
|
620
|
+
y: number;
|
|
621
|
+
};
|
|
622
|
+
drag: {
|
|
623
|
+
id: string;
|
|
624
|
+
x: number;
|
|
625
|
+
y: number;
|
|
626
|
+
};
|
|
627
|
+
afterDrag: {
|
|
628
|
+
id: string;
|
|
629
|
+
x: number;
|
|
630
|
+
y: number;
|
|
631
|
+
};
|
|
386
632
|
progress: {
|
|
387
633
|
id: string;
|
|
388
634
|
x: number;
|
|
389
635
|
y: number;
|
|
390
636
|
};
|
|
391
|
-
}
|
|
392
|
-
|
|
637
|
+
} & Omit<{
|
|
638
|
+
beforeEnter: string;
|
|
639
|
+
enter: string;
|
|
640
|
+
afterEnter: string;
|
|
641
|
+
beforeLeave: string;
|
|
642
|
+
leave: string;
|
|
643
|
+
afterLeave: string;
|
|
644
|
+
} & 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 ({
|
|
393
653
|
collision: {
|
|
394
654
|
dir: "up" | "down";
|
|
395
655
|
pos: "top" | "bottom";
|
|
396
656
|
el: HTMLElement;
|
|
397
657
|
data?: Record<string, unknown> | undefined;
|
|
398
658
|
};
|
|
659
|
+
} & Omit<{
|
|
399
660
|
beforeEnter: string;
|
|
400
661
|
enter: string;
|
|
401
662
|
afterEnter: string;
|
|
402
663
|
beforeLeave: string;
|
|
403
664
|
leave: string;
|
|
404
665
|
afterLeave: string;
|
|
666
|
+
} & Omit<{
|
|
405
667
|
accept: import("../../../MagicCookie/src/types").CookieConsent;
|
|
406
668
|
reject: import("../../../MagicCookie/src/types").CookieConsent;
|
|
407
669
|
acceptSelected: import("../../../MagicCookie/src/types").CookieConsent;
|
|
670
|
+
} & Omit<{
|
|
408
671
|
beforeSnap: {
|
|
409
672
|
id: string;
|
|
410
673
|
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
@@ -460,11 +723,60 @@ export declare function useMagicEmitter(): {
|
|
|
460
723
|
x: number;
|
|
461
724
|
y: number;
|
|
462
725
|
};
|
|
726
|
+
} & Omit<{
|
|
727
|
+
beforeEnter: string;
|
|
728
|
+
enter: string;
|
|
729
|
+
afterEnter: string;
|
|
730
|
+
beforeLeave: string;
|
|
731
|
+
leave: string;
|
|
732
|
+
afterLeave: string;
|
|
733
|
+
beforeSnap: {
|
|
734
|
+
id: string;
|
|
735
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
736
|
+
};
|
|
737
|
+
snapTo: {
|
|
738
|
+
id: string;
|
|
739
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
740
|
+
duration?: number | undefined;
|
|
741
|
+
};
|
|
742
|
+
afterSnap: {
|
|
743
|
+
id: string;
|
|
744
|
+
snapPoint: import("../../../MagicDrawer/src/types").DrawerSnapPoint;
|
|
745
|
+
};
|
|
746
|
+
beforeDrag: {
|
|
747
|
+
id: string;
|
|
748
|
+
x: number;
|
|
749
|
+
y: number;
|
|
750
|
+
};
|
|
751
|
+
drag: {
|
|
752
|
+
id: string;
|
|
753
|
+
x: number;
|
|
754
|
+
y: number;
|
|
755
|
+
};
|
|
756
|
+
afterDrag: {
|
|
757
|
+
id: string;
|
|
758
|
+
x: number;
|
|
759
|
+
y: number;
|
|
760
|
+
};
|
|
463
761
|
progress: {
|
|
464
762
|
id: string;
|
|
465
763
|
x: number;
|
|
466
764
|
y: number;
|
|
467
765
|
};
|
|
468
|
-
}
|
|
766
|
+
} & Omit<{
|
|
767
|
+
beforeEnter: string;
|
|
768
|
+
enter: string;
|
|
769
|
+
afterEnter: string;
|
|
770
|
+
beforeLeave: string;
|
|
771
|
+
leave: string;
|
|
772
|
+
afterLeave: string;
|
|
773
|
+
} & Omit<{
|
|
774
|
+
beforeEnter: string;
|
|
775
|
+
enter: string;
|
|
776
|
+
afterEnter: string;
|
|
777
|
+
beforeLeave: string;
|
|
778
|
+
leave: string;
|
|
779
|
+
afterLeave: string;
|
|
780
|
+
} & Omit<{}, keyof import("../../..").ToastEvents>, keyof import("../../..").ModalEvents>, keyof import("../../..").DrawerEvents>, keyof import("../../..").DraggableEvents>, keyof import("../../..").CookieEvents>, keyof import("../../..").CommandEvents>, "collision">)[Key_3] ? Key_3 : never): void;
|
|
469
781
|
};
|
|
470
782
|
};
|
|
@@ -6,9 +6,9 @@ import type { DrawerEvents } from '../../../MagicDrawer.js';
|
|
|
6
6
|
import type { ModalEvents } from '../../../MagicModal.js';
|
|
7
7
|
import type { ToastEvents } from '../../../MagicToast.js';
|
|
8
8
|
type MergeTypes<T, U> = {
|
|
9
|
-
[K in keyof
|
|
10
|
-
}
|
|
11
|
-
type Merge<T extends
|
|
9
|
+
[K in keyof T]: K extends keyof U ? T[K] | U[K] : T[K];
|
|
10
|
+
} & Omit<U, keyof T>;
|
|
11
|
+
type Merge<T extends unknown[]> = T extends [infer First, ...infer Rest] ? MergeTypes<First, Merge<Rest>> : {};
|
|
12
12
|
export type MagicEmitterEvents = Merge<[
|
|
13
13
|
CollisionEvents,
|
|
14
14
|
CommandEvents,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maas/vue-equipment",
|
|
3
3
|
"description": "A magic collection of Vue composables, plugins, components and directives",
|
|
4
|
-
"version": "0.29.
|
|
4
|
+
"version": "0.29.1",
|
|
5
5
|
"author": "Robin Scholz <https://github.com/robinscholz>, Christoph Jeworutzki <https://github.com/ChristophJeworutzki>",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@antfu/ni": "^0.21.12",
|