@progress/kendo-react-map 9.4.0-develop.5 → 9.4.0-develop.7
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/Map.js +1 -1
- package/Map.mjs +0 -1
- package/MapContext.js +1 -1
- package/MapContext.mjs +0 -1
- package/components/BubbleLayer.js +1 -1
- package/components/BubbleLayer.mjs +2 -3
- package/components/BubbleLayerTooltip.js +1 -1
- package/components/BubbleLayerTooltip.mjs +0 -1
- package/components/Layers.js +1 -1
- package/components/Layers.mjs +2 -3
- package/components/MarkerLayer.js +1 -1
- package/components/MarkerLayer.mjs +0 -1
- package/components/MarkerLayerTooltip.js +1 -1
- package/components/MarkerLayerTooltip.mjs +0 -1
- package/components/ShapeLayer.js +1 -1
- package/components/ShapeLayer.mjs +2 -3
- package/components/ShapeLayerTooltip.js +1 -1
- package/components/ShapeLayerTooltip.mjs +0 -1
- package/components/TileLayer.js +1 -1
- package/components/TileLayer.mjs +0 -1
- package/components/base/CollectionConfigurationComponent.js +1 -1
- package/components/base/CollectionConfigurationComponent.mjs +0 -1
- package/components/base/ConfigurationComponent.js +1 -1
- package/components/base/ConfigurationComponent.mjs +0 -1
- package/dist/cdn/js/kendo-react-map.js +1 -1
- package/events/base-event.js +1 -1
- package/events/base-event.mjs +2 -3
- package/events/before-reset-event.js +1 -1
- package/events/before-reset-event.mjs +1 -2
- package/events/dom-event.js +1 -1
- package/events/dom-event.mjs +7 -8
- package/events/map-click-event.js +1 -1
- package/events/map-click-event.mjs +5 -6
- package/events/map-event-builder.js +1 -1
- package/events/map-event-builder.mjs +12 -13
- package/events/marker-activate-event.js +1 -1
- package/events/marker-activate-event.mjs +4 -5
- package/events/marker-click-event.js +1 -1
- package/events/marker-click-event.mjs +2 -3
- package/events/marker-created-event.js +1 -1
- package/events/marker-created-event.mjs +2 -3
- package/events/pan-end-event.js +1 -1
- package/events/pan-end-event.mjs +3 -4
- package/events/pan-event.js +1 -1
- package/events/pan-event.mjs +3 -4
- package/events/preventable-event.js +1 -1
- package/events/preventable-event.mjs +0 -1
- package/events/reset-event.js +1 -1
- package/events/reset-event.mjs +2 -3
- package/events/shape-click-event.js +1 -1
- package/events/shape-click-event.mjs +2 -3
- package/events/shape-created-event.js +1 -1
- package/events/shape-created-event.mjs +3 -4
- package/events/shape-feature-created-event.js +1 -1
- package/events/shape-feature-created-event.mjs +0 -1
- package/events/shape-mouse-enter-event.js +1 -1
- package/events/shape-mouse-enter-event.mjs +2 -3
- package/events/shape-mouse-leave-event.js +1 -1
- package/events/shape-mouse-leave-event.mjs +0 -1
- package/events/zoom-end-event.js +1 -1
- package/events/zoom-end-event.mjs +2 -3
- package/events/zoom-start-event.js +1 -1
- package/events/zoom-start-event.mjs +2 -3
- package/index.js +2 -1
- package/index.mjs +8 -8
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -3
- package/package.json +4 -4
- package/store/reducer.js +1 -1
- package/store/reducer.mjs +3 -4
- package/store/store.js +1 -1
- package/store/store.mjs +7 -8
- package/tooltip/MapTooltip.js +1 -1
- package/tooltip/MapTooltip.mjs +10 -11
- package/tooltip/Popup.js +1 -1
- package/tooltip/Popup.mjs +8 -9
- package/utils/index.js +1 -1
- package/utils/index.mjs +0 -1
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { PreventableEvent as t } from "./preventable-event.mjs";
|
|
10
9
|
class n extends t {
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
13
12
|
*/
|
|
14
|
-
constructor(
|
|
15
|
-
super(
|
|
13
|
+
constructor(r, e) {
|
|
14
|
+
super(e), this.marker = r.marker, this.layer = r.layer;
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
export {
|
package/events/pan-end-event.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./base-event.js");class i extends t.BaseEvent{constructor(e,n){super(n),this.origin=e.origin,this.center=e.center,this.originalEvent=e.originalEvent}}exports.PanEndEvent=i;
|
package/events/pan-end-event.mjs
CHANGED
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class s extends e {
|
|
8
|
+
import { BaseEvent as i } from "./base-event.mjs";
|
|
9
|
+
class o extends i {
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
13
12
|
*/
|
|
@@ -16,5 +15,5 @@ class s extends e {
|
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
export {
|
|
19
|
-
|
|
18
|
+
o as PanEndEvent
|
|
20
19
|
};
|
package/events/pan-event.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./base-event.js");class i extends n.BaseEvent{constructor(e,t){super(t),this.origin=e.origin,this.center=e.center,this.originalEvent=e.originalEvent}}exports.PanEvent=i;
|
package/events/pan-event.mjs
CHANGED
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class s extends e {
|
|
8
|
+
import { BaseEvent as i } from "./base-event.mjs";
|
|
9
|
+
class o extends i {
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
13
12
|
*/
|
|
@@ -16,5 +15,5 @@ class s extends e {
|
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
export {
|
|
19
|
-
|
|
18
|
+
o as PanEvent
|
|
20
19
|
};
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./base-event.js");class t extends e.BaseEvent{constructor(){super(...arguments),this.prevented=!1}preventDefault(){this.prevented=!0}isDefaultPrevented(){return this.prevented}}exports.PreventableEvent=t;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { BaseEvent as e } from "./base-event.mjs";
|
|
10
9
|
class n extends e {
|
|
11
10
|
constructor() {
|
package/events/reset-event.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./base-event.js");class s extends t.BaseEvent{constructor(r,e){super(e)}}exports.ResetEvent=s;
|
package/events/reset-event.mjs
CHANGED
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { BaseEvent as t } from "./base-event.mjs";
|
|
10
|
-
class
|
|
9
|
+
class n extends t {
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
13
12
|
*/
|
|
@@ -16,5 +15,5 @@ class o extends t {
|
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
export {
|
|
19
|
-
|
|
18
|
+
n as ResetEvent
|
|
20
19
|
};
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./base-event.js");class a extends s.BaseEvent{constructor(e,t){super(t),this.layer=e.layer,this.shape=e.shape,this.originalEvent=e.originalEvent}}exports.ShapeClickEvent=a;
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { BaseEvent as s } from "./base-event.mjs";
|
|
10
|
-
class
|
|
9
|
+
class i extends s {
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
13
12
|
*/
|
|
@@ -16,5 +15,5 @@ class a extends s {
|
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
export {
|
|
19
|
-
|
|
18
|
+
i as ShapeClickEvent
|
|
20
19
|
};
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./base-event.js");class s extends a.BaseEvent{constructor(e,t){super(t),this.layer=e.layer,this.shape=e.shape,this.location=null,e.shape&&(this.dataItem=e.shape.dataItem,this.location=e.shape.location)}}exports.ShapeCreatedEvent=s;
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class i extends e {
|
|
8
|
+
import { BaseEvent as s } from "./base-event.mjs";
|
|
9
|
+
class o extends s {
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
13
12
|
*/
|
|
@@ -16,5 +15,5 @@ class i extends e {
|
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
export {
|
|
19
|
-
|
|
18
|
+
o as ShapeCreatedEvent
|
|
20
19
|
};
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./base-event.js");class a extends r.BaseEvent{constructor(e,t){super(t),this.dataItem=e.dataItem,this.layer=e.layer,this.group=e.group,this.properties=e.properties}}exports.ShapeFeatureCreatedEvent=a;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { BaseEvent as r } from "./base-event.mjs";
|
|
10
9
|
class p extends r {
|
|
11
10
|
/**
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./base-event.js");class n extends s.BaseEvent{constructor(e,t){super(t),this.layer=e.layer,this.shape=e.shape,this.originalEvent=e.originalEvent}}exports.ShapeMouseEnterEvent=n;
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { BaseEvent as s } from "./base-event.mjs";
|
|
10
|
-
class
|
|
9
|
+
class n extends s {
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
13
12
|
*/
|
|
@@ -16,5 +15,5 @@ class a extends s {
|
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
export {
|
|
19
|
-
|
|
18
|
+
n as ShapeMouseEnterEvent
|
|
20
19
|
};
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./base-event.js");class a extends s.BaseEvent{constructor(e,t){super(t),this.layer=e.layer,this.shape=e.shape,this.originalEvent=e.originalEvent}}exports.ShapeMouseLeaveEvent=a;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { BaseEvent as t } from "./base-event.mjs";
|
|
10
9
|
class i extends t {
|
|
11
10
|
/**
|
package/events/zoom-end-event.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./base-event.js");class o extends n.BaseEvent{constructor(e,t){super(t),this.originalEvent=e.originalEvent}}exports.ZoomEndEvent=o;
|
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { BaseEvent as n } from "./base-event.mjs";
|
|
10
9
|
class s extends n {
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
13
12
|
*/
|
|
14
|
-
constructor(
|
|
15
|
-
super(
|
|
13
|
+
constructor(t, e) {
|
|
14
|
+
super(e), this.originalEvent = t.originalEvent;
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
export {
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./preventable-event.js");class r extends n.PreventableEvent{constructor(e,t){super(t),this.originalEvent=e.originalEvent}}exports.ZoomStartEvent=r;
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class i extends n {
|
|
8
|
+
import { PreventableEvent as r } from "./preventable-event.mjs";
|
|
9
|
+
class i extends r {
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
13
12
|
*/
|
package/index.js
CHANGED
|
@@ -5,4 +5,5 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
8
|
+
"use client";
|
|
9
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./components/base/CollectionConfigurationComponent.js"),t=require("./components/base/ConfigurationComponent.js"),a=require("./Map.js"),n=require("./components/Layers.js"),o=require("./components/ShapeLayer.js"),i=require("./components/ShapeLayerTooltip.js"),p=require("./components/TileLayer.js"),E=require("./components/BubbleLayer.js"),u=require("./components/BubbleLayerTooltip.js"),v=require("./components/MarkerLayer.js"),s=require("./components/MarkerLayerTooltip.js"),e=require("@progress/kendo-charts"),c=require("./events/before-reset-event.js"),M=require("./events/map-click-event.js"),l=require("./events/marker-activate-event.js"),C=require("./events/marker-click-event.js"),L=require("./events/marker-created-event.js"),q=require("./events/pan-end-event.js"),y=require("./events/pan-event.js"),k=require("./events/reset-event.js"),h=require("./events/shape-click-event.js"),S=require("./events/shape-created-event.js"),d=require("./events/shape-feature-created-event.js"),b=require("./events/shape-mouse-enter-event.js"),m=require("./events/shape-mouse-leave-event.js"),T=require("./events/zoom-end-event.js"),f=require("./events/zoom-start-event.js"),g=require("./tooltip/MapTooltip.js");exports.CollectionConfigurationComponent=r;exports.ConfigurationComponent=t;exports.Map=a.Map;exports.MapLayers=n.MapLayers;exports.MapShapeLayer=o.MapShapeLayer;exports.MapShapeLayerTooltip=i.MapShapeLayerTooltip;exports.MapTileLayer=p.MapTileLayer;exports.MapBubbleLayer=E.MapBubbleLayer;exports.MapBubbleLayerTooltip=u.MapBubbleLayerTooltip;exports.MapMarkerLayer=v.MapMarkerLayer;exports.MapMarkerLayerTooltip=s.MapMarkerLayerTooltip;Object.defineProperty(exports,"Extent",{enumerable:!0,get:()=>e.Extent});Object.defineProperty(exports,"Location",{enumerable:!0,get:()=>e.Location});exports.BeforeResetEvent=c.BeforeResetEvent;exports.MapClickEvent=M.MapClickEvent;exports.MarkerActivateEvent=l.MarkerActivateEvent;exports.MarkerClickEvent=C.MarkerClickEvent;exports.MarkerCreatedEvent=L.MarkerCreatedEvent;exports.PanEndEvent=q.PanEndEvent;exports.PanEvent=y.PanEvent;exports.ResetEvent=k.ResetEvent;exports.ShapeClickEvent=h.ShapeClickEvent;exports.ShapeCreatedEvent=S.ShapeCreatedEvent;exports.ShapeFeatureCreatedEvent=d.ShapeFeatureCreatedEvent;exports.ShapeMouseEnterEvent=b.ShapeMouseEnterEvent;exports.ShapeMouseLeaveEvent=m.ShapeMouseLeaveEvent;exports.ZoomEndEvent=T.ZoomEndEvent;exports.ZoomStartEvent=f.ZoomStartEvent;exports.MapTooltip=g.MapTooltip;
|
package/index.mjs
CHANGED
|
@@ -13,11 +13,11 @@ import { MapLayers as n } from "./components/Layers.mjs";
|
|
|
13
13
|
import { MapShapeLayer as E } from "./components/ShapeLayer.mjs";
|
|
14
14
|
import { MapShapeLayerTooltip as v } from "./components/ShapeLayerTooltip.mjs";
|
|
15
15
|
import { MapTileLayer as l } from "./components/TileLayer.mjs";
|
|
16
|
-
import { MapBubbleLayer as
|
|
16
|
+
import { MapBubbleLayer as L } from "./components/BubbleLayer.mjs";
|
|
17
17
|
import { MapBubbleLayerTooltip as k } from "./components/BubbleLayerTooltip.mjs";
|
|
18
|
-
import { MapMarkerLayer as
|
|
19
|
-
import { MapMarkerLayerTooltip as
|
|
20
|
-
import { Extent as
|
|
18
|
+
import { MapMarkerLayer as S } from "./components/MarkerLayer.mjs";
|
|
19
|
+
import { MapMarkerLayerTooltip as h } from "./components/MarkerLayerTooltip.mjs";
|
|
20
|
+
import { Extent as c, Location as T } from "@progress/kendo-charts";
|
|
21
21
|
import { BeforeResetEvent as B } from "./events/before-reset-event.mjs";
|
|
22
22
|
import { MapClickEvent as P } from "./events/map-click-event.mjs";
|
|
23
23
|
import { MarkerActivateEvent as Z } from "./events/marker-activate-event.mjs";
|
|
@@ -38,15 +38,15 @@ export {
|
|
|
38
38
|
B as BeforeResetEvent,
|
|
39
39
|
r as CollectionConfigurationComponent,
|
|
40
40
|
p as ConfigurationComponent,
|
|
41
|
-
|
|
41
|
+
c as Extent,
|
|
42
42
|
T as Location,
|
|
43
43
|
f as Map,
|
|
44
|
-
|
|
44
|
+
L as MapBubbleLayer,
|
|
45
45
|
k as MapBubbleLayerTooltip,
|
|
46
46
|
P as MapClickEvent,
|
|
47
47
|
n as MapLayers,
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
S as MapMarkerLayer,
|
|
49
|
+
h as MapMarkerLayerTooltip,
|
|
50
50
|
E as MapShapeLayer,
|
|
51
51
|
v as MapShapeLayerTooltip,
|
|
52
52
|
l as MapTileLayer,
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-map",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1738077691,version:"9.4.0-develop.7",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
const e = {
|
|
10
9
|
name: "@progress/kendo-react-map",
|
|
11
10
|
productName: "KendoReact",
|
|
12
11
|
productCode: "KENDOUIREACT",
|
|
13
12
|
productCodes: ["KENDOUIREACT"],
|
|
14
|
-
publishDate:
|
|
15
|
-
version: "9.4.0-develop.
|
|
13
|
+
publishDate: 1738077691,
|
|
14
|
+
version: "9.4.0-develop.7",
|
|
16
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"
|
|
17
16
|
};
|
|
18
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-map",
|
|
3
|
-
"version": "9.4.0-develop.
|
|
3
|
+
"version": "9.4.0-develop.7",
|
|
4
4
|
"description": "KendoReact Map package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@progress/kendo-drawing": "^1.21.2",
|
|
29
29
|
"@progress/kendo-licensing": "^1.3.4",
|
|
30
|
-
"@progress/kendo-react-common": "9.4.0-develop.
|
|
31
|
-
"@progress/kendo-react-popup": "9.4.0-develop.
|
|
30
|
+
"@progress/kendo-react-common": "9.4.0-develop.7",
|
|
31
|
+
"@progress/kendo-react-popup": "9.4.0-develop.7",
|
|
32
32
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
33
33
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
34
34
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"package": {
|
|
57
57
|
"productName": "KendoReact",
|
|
58
58
|
"productCode": "KENDOUIREACT",
|
|
59
|
-
"publishDate":
|
|
59
|
+
"publishDate": 1738077691,
|
|
60
60
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"
|
|
61
61
|
}
|
|
62
62
|
},
|
package/store/reducer.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=(t,e)=>e.mapCollectionIdxKey?a.collectionConfigurationItem(t,e):e.mapKey?a.configurationItem(t,e):{},u=(t,e)=>{if(e.type)switch(e.type){case"add":return[...t,e.payload];case"remove":return t.filter(o=>o!==e.payload);default:return t}else return[]},a={configurationItem(t,e){return Object.assign(t,{[e.mapKey]:e.payload})},collectionConfigurationItem(t,e){let o=!1;const[s,n]=e.mapCollectionIdxKey.split("_"),i=t[s].map((l,r)=>parseInt(n,10)===r?(o=!0,e.payload):l);return o===!1&&i.splice(parseInt(n,10),0,e.payload),Object.assign(t,{[s]:i})},themeItem(t,e){let o={};const s=Object.assign(o,t),{field:n,value:i}=e.payload,l=n.split(".");let r=l.shift();for(;l.length>0;)o=o[r]=o[r]||{},r=l.shift();return o[r]=i,s}};exports.observersReducer=u;exports.optionsReducer=c;
|
package/store/reducer.mjs
CHANGED
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
const c = (t, e) => e.mapCollectionIdxKey ? a.collectionConfigurationItem(t, e) : e.mapKey ? a.configurationItem(t, e) : {}, p = (t, e) => {
|
|
8
|
+
const p = (t, e) => e.mapCollectionIdxKey ? a.collectionConfigurationItem(t, e) : e.mapKey ? a.configurationItem(t, e) : {}, c = (t, e) => {
|
|
10
9
|
if (e.type)
|
|
11
10
|
switch (e.type) {
|
|
12
11
|
case "add":
|
|
@@ -41,6 +40,6 @@ const c = (t, e) => e.mapCollectionIdxKey ? a.collectionConfigurationItem(t, e)
|
|
|
41
40
|
}
|
|
42
41
|
};
|
|
43
42
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
c as observersReducer,
|
|
44
|
+
p as optionsReducer
|
|
46
45
|
};
|
package/store/store.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";const i=require("@progress/kendo-react-common"),u=o=>{let s,t=[];const n=()=>s,c=e=>{s=o(s,e),i.canUseDOM&&t.forEach(r=>r())},a=e=>(t.push(e),()=>t=t.filter(r=>r!==e));return c({}),{getState:n,dispatch:c,subscribe:a}};module.exports=u;
|
package/store/store.mjs
CHANGED
|
@@ -5,15 +5,14 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}, n = (e) => (t.push(e), () => t = t.filter((r) => r !== e));
|
|
8
|
+
import { canUseDOM as f } from "@progress/kendo-react-common";
|
|
9
|
+
const u = (o) => {
|
|
10
|
+
let r, t = [];
|
|
11
|
+
const a = () => r, c = (e) => {
|
|
12
|
+
r = o(r, e), f && t.forEach((s) => s());
|
|
13
|
+
}, n = (e) => (t.push(e), () => t = t.filter((s) => s !== e));
|
|
15
14
|
return c({}), { getState: a, dispatch: c, subscribe: n };
|
|
16
15
|
};
|
|
17
16
|
export {
|
|
18
|
-
|
|
17
|
+
u as default
|
|
19
18
|
};
|
package/tooltip/MapTooltip.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("react"),d=require("@progress/kendo-charts"),m=require("./Popup.js"),y=require("../MapContext.js");function f(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const e in o)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(o,e);Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:()=>o[e]})}}return t.default=o,Object.freeze(t)}const s=f(h),i=class i extends s.Component{constructor(){super(...arguments),this.context=null,this.state={popupShown:!1}}componentDidMount(){this.mapObserver=new d.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),this.context.observersStore.dispatch({type:"add",payload:this.mapObserver})}render(){const{popupContext:t,shared:e,className:n,...r}=this.state;if(!t||!this.state.popupShown)return null;const c=t.layerIndex,a=this.findRenderFunctionByLayer(c);if(!a)return null;const l=()=>s.createElement("div",{className:"k-tooltip-content"},a(t)),u=`k-map-${t.type}-tooltip`;return s.createElement(m.TooltipPopup,{...r,popupContent:l,className:u})}componentWillUnmount(){this.context.observersStore.dispatch({type:"remove",payload:this.mapObserver})}onShowTooltip(t){const{anchor:e,className:n}=t,r=this.createTooltipContext(t);this.setState({popupShown:!0,popupAlign:{vertical:"bottom",horizontal:"center"},popupOffset:e,popupContext:r,popupStyles:{position:"relative"},className:n})}onHideTooltip(){this.setState({popupShown:!1,popupStyles:{},className:void 0})}createTooltipContext(t){return t}findRenderFunctionByLayer(t){const e=this.context.optionsStore.getState().layers;return e!==void 0&&Array.isArray(e)&&e[t]!==void 0&&e[t].hasOwnProperty("tooltip")&&e[t].tooltip.hasOwnProperty("render")?e[t].tooltip.render:null}};i.contextType=y.MapContext;let p=i;exports.MapTooltip=p;
|
package/tooltip/MapTooltip.mjs
CHANGED
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import * as n from "react";
|
|
10
|
-
import { InstanceObserver as
|
|
11
|
-
import { TooltipPopup as
|
|
9
|
+
import { InstanceObserver as h } from "@progress/kendo-charts";
|
|
10
|
+
import { TooltipPopup as u } from "./Popup.mjs";
|
|
12
11
|
import { MapContext as m } from "../MapContext.mjs";
|
|
13
12
|
const p = class p extends n.Component {
|
|
14
13
|
constructor() {
|
|
@@ -17,7 +16,7 @@ const p = class p extends n.Component {
|
|
|
17
16
|
};
|
|
18
17
|
}
|
|
19
18
|
componentDidMount() {
|
|
20
|
-
this.mapObserver = new
|
|
19
|
+
this.mapObserver = new h(this, {
|
|
21
20
|
showTooltip: "onShowTooltip",
|
|
22
21
|
hideTooltip: "onHideTooltip"
|
|
23
22
|
}), this.context.observersStore.dispatch({
|
|
@@ -26,14 +25,14 @@ const p = class p extends n.Component {
|
|
|
26
25
|
});
|
|
27
26
|
}
|
|
28
27
|
render() {
|
|
29
|
-
const { popupContext: t, shared: o, className:
|
|
28
|
+
const { popupContext: t, shared: o, className: r, ...e } = this.state;
|
|
30
29
|
if (!t || !this.state.popupShown)
|
|
31
30
|
return null;
|
|
32
|
-
const a = t.layerIndex,
|
|
33
|
-
if (!
|
|
31
|
+
const a = t.layerIndex, s = this.findRenderFunctionByLayer(a);
|
|
32
|
+
if (!s)
|
|
34
33
|
return null;
|
|
35
|
-
const l = () => /* @__PURE__ */ n.createElement("div", { className: "k-tooltip-content" },
|
|
36
|
-
return /* @__PURE__ */ n.createElement(
|
|
34
|
+
const l = () => /* @__PURE__ */ n.createElement("div", { className: "k-tooltip-content" }, s(t)), c = `k-map-${t.type}-tooltip`;
|
|
35
|
+
return /* @__PURE__ */ n.createElement(u, { ...e, popupContent: l, className: c });
|
|
37
36
|
}
|
|
38
37
|
componentWillUnmount() {
|
|
39
38
|
this.context.observersStore.dispatch({
|
|
@@ -42,14 +41,14 @@ const p = class p extends n.Component {
|
|
|
42
41
|
});
|
|
43
42
|
}
|
|
44
43
|
onShowTooltip(t) {
|
|
45
|
-
const { anchor: o, className:
|
|
44
|
+
const { anchor: o, className: r } = t, e = this.createTooltipContext(t);
|
|
46
45
|
this.setState({
|
|
47
46
|
popupShown: !0,
|
|
48
47
|
popupAlign: { vertical: "bottom", horizontal: "center" },
|
|
49
48
|
popupOffset: o,
|
|
50
49
|
popupContext: e,
|
|
51
50
|
popupStyles: { position: "relative" },
|
|
52
|
-
className:
|
|
51
|
+
className: r
|
|
53
52
|
});
|
|
54
53
|
}
|
|
55
54
|
onHideTooltip() {
|
package/tooltip/Popup.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react"),d=require("@progress/kendo-charts"),h=require("../utils/index.js"),f=require("@progress/kendo-react-popup"),O=require("../MapContext.js");function v(n){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const e in n)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(t,e,o.get?o:{enumerable:!0,get:()=>n[e]})}}return t.default=n,Object.freeze(t)}const s=v(m),b={horizontal:"fit",vertical:"fit"},S=["k-tooltip","k-map-tooltip"],y="k-tooltip-wrapper",p=class p extends s.Component{constructor(t,e){super(t,e),this.context=null,this.element=null,this.onMapMouseLeave=o=>{const{syntheticEvent:r}=o;return!!h.hasParent(r.relatedTarget,this.element)},this.mapObserver=new d.InstanceObserver(this,{onMouseLeave:"onMapMouseLeave"}),e.observersStore.dispatch({type:"add",payload:this.mapObserver})}render(){const{popupShown:t,popupAlign:e,popupOffset:o,popupStyles:r,popupContent:c,className:i}=this.props,l=[...S,i].join(" ").trim();return s.createElement(f.Popup,{animate:!0,popupAlign:e,offset:o,show:t,collision:b,className:y},s.createElement("div",{className:l,style:r,ref:u=>this.element=u},c()))}componentWillUnmount(){this.context.observersStore.dispatch({type:"remove",payload:this.mapObserver})}};p.contextType=O.MapContext;let a=p;exports.TooltipPopup=a;
|
package/tooltip/Popup.mjs
CHANGED
|
@@ -5,17 +5,16 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import * as r from "react";
|
|
10
9
|
import { InstanceObserver as c } from "@progress/kendo-charts";
|
|
11
|
-
import { hasParent as
|
|
12
|
-
import { Popup as
|
|
10
|
+
import { hasParent as h } from "../utils/index.mjs";
|
|
11
|
+
import { Popup as u } from "@progress/kendo-react-popup";
|
|
13
12
|
import { MapContext as f } from "../MapContext.mjs";
|
|
14
|
-
const v = { horizontal: "fit", vertical: "fit" }, d = ["k-tooltip", "k-map-tooltip"], O = "k-tooltip-wrapper",
|
|
13
|
+
const v = { horizontal: "fit", vertical: "fit" }, d = ["k-tooltip", "k-map-tooltip"], O = "k-tooltip-wrapper", p = class p extends r.Component {
|
|
15
14
|
constructor(t, e) {
|
|
16
15
|
super(t, e), this.context = null, this.element = null, this.onMapMouseLeave = (o) => {
|
|
17
16
|
const { syntheticEvent: s } = o;
|
|
18
|
-
return !!
|
|
17
|
+
return !!h(s.relatedTarget, this.element);
|
|
19
18
|
}, this.mapObserver = new c(this, {
|
|
20
19
|
onMouseLeave: "onMapMouseLeave"
|
|
21
20
|
}), e.observersStore.dispatch({
|
|
@@ -26,7 +25,7 @@ const v = { horizontal: "fit", vertical: "fit" }, d = ["k-tooltip", "k-map-toolt
|
|
|
26
25
|
render() {
|
|
27
26
|
const { popupShown: t, popupAlign: e, popupOffset: o, popupStyles: s, popupContent: a, className: i } = this.props, m = [...d, i].join(" ").trim();
|
|
28
27
|
return /* @__PURE__ */ r.createElement(
|
|
29
|
-
|
|
28
|
+
u,
|
|
30
29
|
{
|
|
31
30
|
animate: !0,
|
|
32
31
|
popupAlign: e,
|
|
@@ -45,8 +44,8 @@ const v = { horizontal: "fit", vertical: "fit" }, d = ["k-tooltip", "k-map-toolt
|
|
|
45
44
|
});
|
|
46
45
|
}
|
|
47
46
|
};
|
|
48
|
-
|
|
49
|
-
let
|
|
47
|
+
p.contextType = f;
|
|
48
|
+
let n = p;
|
|
50
49
|
export {
|
|
51
|
-
|
|
50
|
+
n as TooltipPopup
|
|
52
51
|
};
|
package/utils/index.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function l(r,t){let e=r;for(;e&&e!==t;)e=e.parentNode;return!!e}function o(r,t,e,a){const n=r[t];if(n&&Array.isArray(n)){for(const i of n)if(!i.type||i.type!==a)return new Error(`${e} children should be Array of type ${a.displayName}.`)}return null}exports.hasParent=l;exports.validateChildren=o;
|
package/utils/index.mjs
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
function i(e, t) {
|
|
10
9
|
let r = e;
|
|
11
10
|
for (; r && r !== t; )
|