@arenarium/maps 1.0.212 → 1.0.213
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.css +1 -1
- package/dist/index.d.ts +2 -28
- package/dist/index.js +1 -1
- package/dist/main.cjs.js +1 -1
- package/dist/main.d.ts +2 -28
- package/dist/main.es.js +840 -842
- package/dist/style.css +1 -1
- package/package.json +20 -20
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.pin.svelte-
|
|
1
|
+
.pin.svelte-zz3jrb{position:absolute;background-color:var(--arenarium-maps-pin-border, white);padding:2px;box-sizing:border-box;box-shadow:var(--arenarium-maps-pin-shadow, 0px 2px 2px rgba(0, 0, 0, .5));transform-origin:0% 0%;transform-style:preserve-3d;transform:translate(-50%,-50%);backface-visibility:hidden;will-change:scale}.pin.svelte-zz3jrb .body:where(.svelte-zz3jrb){background-color:var(--arenarium-maps-pin-background, darkgreen);overflow:hidden;will-change:opacity}.pin.svelte-zz3jrb{scale:0;filter:brightness(0)}.pin.svelte-zz3jrb{display:none;content-visibility:hidden}.pin.displayed.svelte-zz3jrb{display:initial;content-visibility:initial}.anchor.svelte-11extwn{display:block;position:absolute;width:0px;height:0px;filter:drop-shadow(var(--arenarium-maps-tooltip-shadow, 0px 2px 2px rgba(0, 0, 0, .5)));transition:filter ease-in-out 125ms}.anchor.svelte-11extwn .bubble:where(.svelte-11extwn){position:absolute;left:0;top:0}.anchor.svelte-11extwn .bubble:where(.svelte-11extwn) .body:where(.svelte-11extwn){position:relative;background-color:var(--arenarium-maps-tooltip-background, white);cursor:pointer}.anchor.svelte-11extwn .pointer:where(.svelte-11extwn){position:absolute;left:0;top:0;background-color:var(--arenarium-maps-tooltip-background, white);transform-origin:0% 0%}.anchor.svelte-11extwn:hover{transform-style:preserve-3d;backface-visibility:hidden;filter:drop-shadow(var(--arenarium-maps-tooltip-shadow-hover, 0px 2px 4px rgba(0, 0, 0, .5)))}.anchor.svelte-11extwn:hover .bubble:where(.svelte-11extwn){transform-style:preserve-3d;backface-visibility:hidden}.anchor.svelte-11extwn{opacity:0;will-change:opacity}.anchor.svelte-11extwn .bubble:where(.svelte-11extwn){scale:0;transform-origin:0% 0%;will-change:transform,scale}.anchor.svelte-11extwn .pointer:where(.svelte-11extwn){scale:0;transform-origin:0% 0%;will-change:transform,scale}.anchor.svelte-11extwn{display:none;content-visibility:hidden}.anchor.displayed.svelte-11extwn{display:initial;content-visibility:initial}
|
package/dist/index.d.ts
CHANGED
|
@@ -34,23 +34,6 @@ declare const mapConfigurationSchema: z.ZodObject<{
|
|
|
34
34
|
limit?: number | undefined;
|
|
35
35
|
} | undefined;
|
|
36
36
|
}>>;
|
|
37
|
-
api: z.ZodOptional<z.ZodObject<{
|
|
38
|
-
states: z.ZodOptional<z.ZodObject<{
|
|
39
|
-
url: z.ZodString;
|
|
40
|
-
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
url: string;
|
|
42
|
-
}, {
|
|
43
|
-
url: string;
|
|
44
|
-
}>>;
|
|
45
|
-
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
states?: {
|
|
47
|
-
url: string;
|
|
48
|
-
} | undefined;
|
|
49
|
-
}, {
|
|
50
|
-
states?: {
|
|
51
|
-
url: string;
|
|
52
|
-
} | undefined;
|
|
53
|
-
}>>;
|
|
54
37
|
}, "strip", z.ZodTypeAny, {
|
|
55
38
|
pin?: {
|
|
56
39
|
fade?: boolean | undefined;
|
|
@@ -62,11 +45,6 @@ declare const mapConfigurationSchema: z.ZodObject<{
|
|
|
62
45
|
limit?: number | undefined;
|
|
63
46
|
} | undefined;
|
|
64
47
|
} | undefined;
|
|
65
|
-
api?: {
|
|
66
|
-
states?: {
|
|
67
|
-
url: string;
|
|
68
|
-
} | undefined;
|
|
69
|
-
} | undefined;
|
|
70
48
|
}, {
|
|
71
49
|
pin?: {
|
|
72
50
|
fade?: boolean | undefined;
|
|
@@ -78,11 +56,6 @@ declare const mapConfigurationSchema: z.ZodObject<{
|
|
|
78
56
|
limit?: number | undefined;
|
|
79
57
|
} | undefined;
|
|
80
58
|
} | undefined;
|
|
81
|
-
api?: {
|
|
82
|
-
states?: {
|
|
83
|
-
url: string;
|
|
84
|
-
} | undefined;
|
|
85
|
-
} | undefined;
|
|
86
59
|
}>;
|
|
87
60
|
export type MapConfiguration = z.infer<typeof mapConfigurationSchema>;
|
|
88
61
|
declare const mapBoundsSchema: z.ZodObject<{
|
|
@@ -507,7 +480,7 @@ declare const mapMarkerSchema: z.ZodObject<{
|
|
|
507
480
|
export type MapMarker = z.infer<typeof mapMarkerSchema>;
|
|
508
481
|
export declare class MapManager {
|
|
509
482
|
private apiKey;
|
|
510
|
-
private
|
|
483
|
+
private apiToken;
|
|
511
484
|
private apiDevEnvironment;
|
|
512
485
|
private mapProvider;
|
|
513
486
|
private markerDataArray;
|
|
@@ -524,6 +497,7 @@ export declare class MapManager {
|
|
|
524
497
|
hidePopup(id?: string): void;
|
|
525
498
|
private updateMarkerData;
|
|
526
499
|
private removeMarkerData;
|
|
500
|
+
private getMarkerStates;
|
|
527
501
|
private processMarkerDataCallback;
|
|
528
502
|
private processMarkerData;
|
|
529
503
|
private log;
|