@arenarium/maps 1.0.105 → 1.0.107
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/index.d.ts +31 -49
- package/dist/index.js +36 -36
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -149,10 +149,16 @@ declare const mapStyleSchema: z.ZodUnion<[
|
|
|
149
149
|
declare const mapConfigurationSchema: z.ZodObject<{
|
|
150
150
|
pin: z.ZodOptional<z.ZodObject<{
|
|
151
151
|
fade: z.ZodOptional<z.ZodBoolean>;
|
|
152
|
+
maxCount: z.ZodOptional<z.ZodNumber>;
|
|
153
|
+
maxZoom: z.ZodOptional<z.ZodNumber>;
|
|
152
154
|
}, "strip", z.ZodTypeAny, {
|
|
153
155
|
fade?: boolean | undefined;
|
|
156
|
+
maxCount?: number | undefined;
|
|
157
|
+
maxZoom?: number | undefined;
|
|
154
158
|
}, {
|
|
155
159
|
fade?: boolean | undefined;
|
|
160
|
+
maxCount?: number | undefined;
|
|
161
|
+
maxZoom?: number | undefined;
|
|
156
162
|
}>>;
|
|
157
163
|
animation: z.ZodOptional<z.ZodObject<{
|
|
158
164
|
queue: z.ZodOptional<z.ZodObject<{
|
|
@@ -174,6 +180,8 @@ declare const mapConfigurationSchema: z.ZodObject<{
|
|
|
174
180
|
}, "strip", z.ZodTypeAny, {
|
|
175
181
|
pin?: {
|
|
176
182
|
fade?: boolean | undefined;
|
|
183
|
+
maxCount?: number | undefined;
|
|
184
|
+
maxZoom?: number | undefined;
|
|
177
185
|
} | undefined;
|
|
178
186
|
animation?: {
|
|
179
187
|
queue?: {
|
|
@@ -183,6 +191,8 @@ declare const mapConfigurationSchema: z.ZodObject<{
|
|
|
183
191
|
}, {
|
|
184
192
|
pin?: {
|
|
185
193
|
fade?: boolean | undefined;
|
|
194
|
+
maxCount?: number | undefined;
|
|
195
|
+
maxZoom?: number | undefined;
|
|
186
196
|
} | undefined;
|
|
187
197
|
animation?: {
|
|
188
198
|
queue?: {
|
|
@@ -329,8 +339,8 @@ declare const mapOptionsSchema: z.ZodObject<{
|
|
|
329
339
|
};
|
|
330
340
|
}>>;
|
|
331
341
|
}, "strip", z.ZodTypeAny, {
|
|
332
|
-
minZoom?: number | undefined;
|
|
333
342
|
maxZoom?: number | undefined;
|
|
343
|
+
minZoom?: number | undefined;
|
|
334
344
|
maxBounds?: {
|
|
335
345
|
sw: {
|
|
336
346
|
lat: number;
|
|
@@ -342,8 +352,8 @@ declare const mapOptionsSchema: z.ZodObject<{
|
|
|
342
352
|
};
|
|
343
353
|
} | undefined;
|
|
344
354
|
}, {
|
|
345
|
-
minZoom?: number | undefined;
|
|
346
355
|
maxZoom?: number | undefined;
|
|
356
|
+
minZoom?: number | undefined;
|
|
347
357
|
maxBounds?: {
|
|
348
358
|
sw: {
|
|
349
359
|
lat: number;
|
|
@@ -358,10 +368,16 @@ declare const mapOptionsSchema: z.ZodObject<{
|
|
|
358
368
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
359
369
|
pin: z.ZodOptional<z.ZodObject<{
|
|
360
370
|
fade: z.ZodOptional<z.ZodBoolean>;
|
|
371
|
+
maxCount: z.ZodOptional<z.ZodNumber>;
|
|
372
|
+
maxZoom: z.ZodOptional<z.ZodNumber>;
|
|
361
373
|
}, "strip", z.ZodTypeAny, {
|
|
362
374
|
fade?: boolean | undefined;
|
|
375
|
+
maxCount?: number | undefined;
|
|
376
|
+
maxZoom?: number | undefined;
|
|
363
377
|
}, {
|
|
364
378
|
fade?: boolean | undefined;
|
|
379
|
+
maxCount?: number | undefined;
|
|
380
|
+
maxZoom?: number | undefined;
|
|
365
381
|
}>>;
|
|
366
382
|
animation: z.ZodOptional<z.ZodObject<{
|
|
367
383
|
queue: z.ZodOptional<z.ZodObject<{
|
|
@@ -383,6 +399,8 @@ declare const mapOptionsSchema: z.ZodObject<{
|
|
|
383
399
|
}, "strip", z.ZodTypeAny, {
|
|
384
400
|
pin?: {
|
|
385
401
|
fade?: boolean | undefined;
|
|
402
|
+
maxCount?: number | undefined;
|
|
403
|
+
maxZoom?: number | undefined;
|
|
386
404
|
} | undefined;
|
|
387
405
|
animation?: {
|
|
388
406
|
queue?: {
|
|
@@ -392,6 +410,8 @@ declare const mapOptionsSchema: z.ZodObject<{
|
|
|
392
410
|
}, {
|
|
393
411
|
pin?: {
|
|
394
412
|
fade?: boolean | undefined;
|
|
413
|
+
maxCount?: number | undefined;
|
|
414
|
+
maxZoom?: number | undefined;
|
|
395
415
|
} | undefined;
|
|
396
416
|
animation?: {
|
|
397
417
|
queue?: {
|
|
@@ -425,8 +445,8 @@ declare const mapOptionsSchema: z.ZodObject<{
|
|
|
425
445
|
url: string;
|
|
426
446
|
};
|
|
427
447
|
restriction?: {
|
|
428
|
-
minZoom?: number | undefined;
|
|
429
448
|
maxZoom?: number | undefined;
|
|
449
|
+
minZoom?: number | undefined;
|
|
430
450
|
maxBounds?: {
|
|
431
451
|
sw: {
|
|
432
452
|
lat: number;
|
|
@@ -441,6 +461,8 @@ declare const mapOptionsSchema: z.ZodObject<{
|
|
|
441
461
|
configuration?: {
|
|
442
462
|
pin?: {
|
|
443
463
|
fade?: boolean | undefined;
|
|
464
|
+
maxCount?: number | undefined;
|
|
465
|
+
maxZoom?: number | undefined;
|
|
444
466
|
} | undefined;
|
|
445
467
|
animation?: {
|
|
446
468
|
queue?: {
|
|
@@ -474,8 +496,8 @@ declare const mapOptionsSchema: z.ZodObject<{
|
|
|
474
496
|
url: string;
|
|
475
497
|
};
|
|
476
498
|
restriction?: {
|
|
477
|
-
minZoom?: number | undefined;
|
|
478
499
|
maxZoom?: number | undefined;
|
|
500
|
+
minZoom?: number | undefined;
|
|
479
501
|
maxBounds?: {
|
|
480
502
|
sw: {
|
|
481
503
|
lat: number;
|
|
@@ -490,6 +512,8 @@ declare const mapOptionsSchema: z.ZodObject<{
|
|
|
490
512
|
configuration?: {
|
|
491
513
|
pin?: {
|
|
492
514
|
fade?: boolean | undefined;
|
|
515
|
+
maxCount?: number | undefined;
|
|
516
|
+
maxZoom?: number | undefined;
|
|
493
517
|
} | undefined;
|
|
494
518
|
animation?: {
|
|
495
519
|
queue?: {
|
|
@@ -565,7 +589,7 @@ export interface EventPayloadMap {
|
|
|
565
589
|
}
|
|
566
590
|
export type EventId = keyof EventHandlerMap;
|
|
567
591
|
export type EventHandler<E extends EventId> = (payload: EventPayloadMap[E]) => void;
|
|
568
|
-
declare const mapPopupDataSchema: z.
|
|
592
|
+
declare const mapPopupDataSchema: z.ZodObject<{
|
|
569
593
|
id: z.ZodString;
|
|
570
594
|
rank: z.ZodNumber;
|
|
571
595
|
lat: z.ZodNumber;
|
|
@@ -586,20 +610,6 @@ declare const mapPopupDataSchema: z.ZodEffects<z.ZodObject<{
|
|
|
586
610
|
rank: number;
|
|
587
611
|
width: number;
|
|
588
612
|
height: number;
|
|
589
|
-
}>, {
|
|
590
|
-
lat: number;
|
|
591
|
-
lng: number;
|
|
592
|
-
id: string;
|
|
593
|
-
rank: number;
|
|
594
|
-
width: number;
|
|
595
|
-
height: number;
|
|
596
|
-
}, {
|
|
597
|
-
lat: number;
|
|
598
|
-
lng: number;
|
|
599
|
-
id: string;
|
|
600
|
-
rank: number;
|
|
601
|
-
width: number;
|
|
602
|
-
height: number;
|
|
603
613
|
}>;
|
|
604
614
|
declare const mapPopupStateSchema: z.ZodTuple<[
|
|
605
615
|
z.ZodNumber,
|
|
@@ -612,7 +622,7 @@ declare const mapPopupContentCallbackSchema: z.ZodFunction<z.ZodTuple<[
|
|
|
612
622
|
z.ZodString
|
|
613
623
|
], z.ZodUnknown>, z.ZodPromise<z.ZodAny>>;
|
|
614
624
|
declare const mapPopupSchema: z.ZodObject<{
|
|
615
|
-
data: z.
|
|
625
|
+
data: z.ZodObject<{
|
|
616
626
|
id: z.ZodString;
|
|
617
627
|
rank: z.ZodNumber;
|
|
618
628
|
lat: z.ZodNumber;
|
|
@@ -633,20 +643,6 @@ declare const mapPopupSchema: z.ZodObject<{
|
|
|
633
643
|
rank: number;
|
|
634
644
|
width: number;
|
|
635
645
|
height: number;
|
|
636
|
-
}>, {
|
|
637
|
-
lat: number;
|
|
638
|
-
lng: number;
|
|
639
|
-
id: string;
|
|
640
|
-
rank: number;
|
|
641
|
-
width: number;
|
|
642
|
-
height: number;
|
|
643
|
-
}, {
|
|
644
|
-
lat: number;
|
|
645
|
-
lng: number;
|
|
646
|
-
id: string;
|
|
647
|
-
rank: number;
|
|
648
|
-
width: number;
|
|
649
|
-
height: number;
|
|
650
646
|
}>;
|
|
651
647
|
state: z.ZodTuple<[
|
|
652
648
|
z.ZodNumber,
|
|
@@ -712,7 +708,7 @@ declare const mapPopupSchema: z.ZodObject<{
|
|
|
712
708
|
}>;
|
|
713
709
|
declare const mapPopupStatesRequestSchema: z.ZodObject<{
|
|
714
710
|
key: z.ZodString;
|
|
715
|
-
data: z.ZodArray<z.
|
|
711
|
+
data: z.ZodArray<z.ZodObject<{
|
|
716
712
|
id: z.ZodString;
|
|
717
713
|
rank: z.ZodNumber;
|
|
718
714
|
lat: z.ZodNumber;
|
|
@@ -733,20 +729,6 @@ declare const mapPopupStatesRequestSchema: z.ZodObject<{
|
|
|
733
729
|
rank: number;
|
|
734
730
|
width: number;
|
|
735
731
|
height: number;
|
|
736
|
-
}>, {
|
|
737
|
-
lat: number;
|
|
738
|
-
lng: number;
|
|
739
|
-
id: string;
|
|
740
|
-
rank: number;
|
|
741
|
-
width: number;
|
|
742
|
-
height: number;
|
|
743
|
-
}, {
|
|
744
|
-
lat: number;
|
|
745
|
-
lng: number;
|
|
746
|
-
id: string;
|
|
747
|
-
rank: number;
|
|
748
|
-
width: number;
|
|
749
|
-
height: number;
|
|
750
732
|
}>, "many">;
|
|
751
733
|
}, "strip", z.ZodTypeAny, {
|
|
752
734
|
data: {
|