@progress/kendo-react-map 13.3.0 → 13.4.0-develop.2

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.
Files changed (55) hide show
  1. package/Map.d.ts +200 -0
  2. package/Map.mjs +9 -9
  3. package/MapContext.d.ts +22 -0
  4. package/MapProps.d.ts +122 -0
  5. package/common/events.d.ts +22 -0
  6. package/common/map-types.d.ts +8 -0
  7. package/components/BubbleLayer.d.ts +26 -0
  8. package/components/BubbleLayerTooltip.d.ts +25 -0
  9. package/components/Layers.d.ts +25 -0
  10. package/components/MarkerLayer.d.ts +26 -0
  11. package/components/MarkerLayerTooltip.d.ts +25 -0
  12. package/components/ShapeLayer.d.ts +26 -0
  13. package/components/ShapeLayerTooltip.d.ts +25 -0
  14. package/components/TileLayer.d.ts +19 -0
  15. package/components/base/CollectionConfigurationComponent.d.ts +27 -0
  16. package/components/base/ConfigurationComponent.d.ts +33 -0
  17. package/components/index.d.ts +16 -0
  18. package/defaults.d.ts +8 -0
  19. package/dist/cdn/js/kendo-react-map.js +1 -1
  20. package/events/base-event.d.ts +21 -0
  21. package/events/before-reset-event.d.ts +19 -0
  22. package/events/dom-event.d.ts +29 -0
  23. package/events/map-click-event.d.ts +27 -0
  24. package/events/map-event-builder.d.ts +13 -0
  25. package/events/map-event-builder.js +1 -1
  26. package/events/map-event-builder.mjs +28 -28
  27. package/events/marker-activate-event.d.ts +27 -0
  28. package/events/marker-click-event.d.ts +27 -0
  29. package/events/marker-created-event.d.ts +29 -0
  30. package/events/pan-end-event.d.ts +31 -0
  31. package/events/pan-event.d.ts +31 -0
  32. package/events/preventable-event.d.ts +25 -0
  33. package/events/reset-event.d.ts +21 -0
  34. package/events/shape-click-event.d.ts +32 -0
  35. package/events/shape-created-event.d.ts +36 -0
  36. package/events/shape-feature-created-event.d.ts +36 -0
  37. package/events/shape-mouse-enter-event.d.ts +35 -0
  38. package/events/shape-mouse-leave-event.d.ts +35 -0
  39. package/events/zoom-end-event.d.ts +23 -0
  40. package/events/zoom-start-event.d.ts +25 -0
  41. package/index.d.mts +9 -1017
  42. package/index.d.ts +9 -1017
  43. package/package-metadata.d.ts +12 -0
  44. package/package-metadata.js +1 -1
  45. package/package-metadata.mjs +10 -16
  46. package/package.json +4 -4
  47. package/store/reducer.d.ts +17 -0
  48. package/store/store.d.ts +29 -0
  49. package/tooltip/BubbleTooltipContext.d.ts +29 -0
  50. package/tooltip/MapTooltip.d.ts +44 -0
  51. package/tooltip/MarkerTooltipContext.d.ts +29 -0
  52. package/tooltip/Popup.d.ts +37 -0
  53. package/tooltip/ShapeTooltipContext.d.ts +25 -0
  54. package/tooltip/index.d.ts +12 -0
  55. package/utils/index.d.ts +16 -0
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { PackageMetadata } from '@progress/kendo-licensing';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const packageMetadata: PackageMetadata;
@@ -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 strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-map",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1768550535,version:"13.3.0",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;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-map",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1770288165,version:"13.4.0-develop.2",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;
@@ -1,19 +1,13 @@
1
1
  /**
2
- * @license
3
- *-------------------------------------------------------------------------------------------
4
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
- * Licensed under commercial license. See LICENSE.md in the package root for more information
6
- *-------------------------------------------------------------------------------------------
2
+ * @hidden
7
3
  */
8
- const e = Object.freeze({
9
- name: "@progress/kendo-react-map",
10
- productName: "KendoReact",
11
- productCode: "KENDOUIREACT",
12
- productCodes: ["KENDOUIREACT"],
13
- publishDate: 1768550535,
14
- version: "13.3.0",
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"
4
+ export const packageMetadata = Object.freeze({
5
+ name: '@progress/kendo-react-map',
6
+ productName: 'KendoReact',
7
+ productCode: 'KENDOUIREACT',
8
+ productCodes: ['KENDOUIREACT'],
9
+ publishDate: 1651750998,
10
+ version: '13.4.0-develop.2',
11
+ licensingDocsUrl:
12
+ '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'
16
13
  });
17
- export {
18
- e as packageMetadata
19
- };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-map",
3
- "version": "13.3.0",
3
+ "version": "13.4.0-develop.2",
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.7.2",
30
- "@progress/kendo-react-common": "13.3.0",
31
- "@progress/kendo-react-popup": "13.3.0",
30
+ "@progress/kendo-react-common": "13.4.0-develop.2",
31
+ "@progress/kendo-react-popup": "13.4.0-develop.2",
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": 1768550535,
59
+ "publishDate": 1770288165,
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
  },
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { StoreAction } from './store.js';
9
+ /**
10
+ * @hidden
11
+ */
12
+ declare const optionsReducer: (currentState: any, action: StoreAction) => object;
13
+ /**
14
+ * @hidden
15
+ */
16
+ declare const observersReducer: (currentState: any, action: StoreAction) => any;
17
+ export { optionsReducer, observersReducer };
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export interface StoreAction {
12
+ mapKey?: string;
13
+ mapCollectionIdxKey?: string;
14
+ type?: string;
15
+ payload: any;
16
+ }
17
+ /**
18
+ * @hidden
19
+ */
20
+ export interface Store {
21
+ getState(): any;
22
+ dispatch(action: StoreAction | object): void;
23
+ subscribe(f: Function): Function;
24
+ }
25
+ /**
26
+ * @hidden
27
+ */
28
+ declare const createStore: (reducer: any) => Store;
29
+ export default createStore;
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Location } from '../index.js';
9
+ /**
10
+ * Context object for bubble layer tooltips.
11
+ */
12
+ export interface BubbleTooltipContext {
13
+ /**
14
+ * The original data item used to create the bubble.
15
+ */
16
+ dataItem: any;
17
+ /**
18
+ * The index of the bubble layer in the map.
19
+ */
20
+ layerIndex: number;
21
+ /**
22
+ * The location of the bubble.
23
+ */
24
+ location: Location;
25
+ /**
26
+ * The numerical value of the bubble
27
+ */
28
+ value: number;
29
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Align, Offset } from '@progress/kendo-react-popup';
9
+ import { InstanceObserver } from '@progress/kendo-charts';
10
+ import { MarkerTooltipContext } from './MarkerTooltipContext.js';
11
+ import { ShapeTooltipContext } from './ShapeTooltipContext.js';
12
+ import { BubbleTooltipContext } from './BubbleTooltipContext.js';
13
+ import { MapContext } from '../MapContext.js';
14
+ import * as React from 'react';
15
+ type TooltipContext = MarkerTooltipContext | ShapeTooltipContext | BubbleTooltipContext;
16
+ /**
17
+ * @hidden
18
+ */
19
+ export interface MapTooltipState {
20
+ className?: string | undefined;
21
+ popupShown: boolean;
22
+ popupAlign?: Align;
23
+ popupOffset?: Offset;
24
+ popupStyles?: any;
25
+ popupContext?: TooltipContext;
26
+ shared?: boolean;
27
+ }
28
+ /**
29
+ * @hidden
30
+ */
31
+ export declare class MapTooltip extends React.Component<{}, MapTooltipState> {
32
+ static contextType: React.Context<import('../MapContext').MapContextType | null>;
33
+ context: React.ContextType<typeof MapContext>;
34
+ readonly state: MapTooltipState;
35
+ mapObserver?: InstanceObserver;
36
+ componentDidMount(): void;
37
+ render(): React.JSX.Element | null;
38
+ componentWillUnmount(): void;
39
+ onShowTooltip(e: any): void;
40
+ onHideTooltip(): void;
41
+ createTooltipContext(e: any): TooltipContext;
42
+ findRenderFunctionByLayer(layerIndex: number): any;
43
+ }
44
+ export {};
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Location } from '../index.js';
9
+ /**
10
+ * Context object for marker tooltips.
11
+ */
12
+ export interface MarkerTooltipContext {
13
+ /**
14
+ * The original data item used to create the marker.
15
+ */
16
+ dataItem: any;
17
+ /**
18
+ * The index of the marker layer in the map.
19
+ */
20
+ layerIndex: number;
21
+ /**
22
+ * The location of the marker.
23
+ */
24
+ location: Location;
25
+ /**
26
+ * The title of the marker.
27
+ */
28
+ title: string;
29
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { InstanceObserver } from '@progress/kendo-charts';
9
+ import { DomEvent } from './../events/dom-event.js';
10
+ import { Align, Offset } from '@progress/kendo-react-popup';
11
+ import { MapContext } from '../MapContext.js';
12
+ import * as React from 'react';
13
+ /**
14
+ * @hidden
15
+ */
16
+ export interface TooltipPopupProps {
17
+ className?: string | undefined;
18
+ popupShown: boolean;
19
+ popupAlign?: Align;
20
+ popupOffset?: Offset;
21
+ popupStyles?: any;
22
+ popupContent: Function;
23
+ }
24
+ /**
25
+ * @hidden
26
+ */
27
+ export declare class TooltipPopup extends React.Component<TooltipPopupProps, {}> {
28
+ static contextType: React.Context<import('../MapContext').MapContextType | null>;
29
+ context: React.ContextType<typeof MapContext>;
30
+ mapObserver: InstanceObserver;
31
+ element: HTMLDivElement | null;
32
+ constructor(props: TooltipPopupProps);
33
+ componentDidMount(): void;
34
+ render(): React.JSX.Element;
35
+ componentWillUnmount(): void;
36
+ onMapMouseLeave: (e: DomEvent<React.MouseEvent<HTMLDivElement>>) => boolean;
37
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Location } from '../index.js';
9
+ /**
10
+ * Context object for shape layer tooltips.
11
+ */
12
+ export interface ShapeTooltipContext {
13
+ /**
14
+ * The original GeoJSON data item used to create the shape.
15
+ */
16
+ dataItem: any;
17
+ /**
18
+ * The index of the shape layer in the map.
19
+ */
20
+ layerIndex: number;
21
+ /**
22
+ * The location (center point) of the shape.
23
+ */
24
+ location: Location;
25
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { MapTooltip } from './MapTooltip.js';
9
+ import { MarkerTooltipContext } from './MarkerTooltipContext.js';
10
+ import { BubbleTooltipContext } from './BubbleTooltipContext.js';
11
+ import { ShapeTooltipContext } from './ShapeTooltipContext.js';
12
+ export { BubbleTooltipContext, MarkerTooltipContext, MapTooltip, ShapeTooltipContext };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ declare function hasParent(element: any, parent: any): boolean;
12
+ /**
13
+ * @hidden
14
+ */
15
+ declare function validateChildren<P>(props: P, propName: string, componentName: string, childType: React.FunctionComponent): Error | null;
16
+ export { hasParent, validateChildren };