eurostat-map 4.5.0 → 4.6.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/build/215.eurostatmap.min.js +1 -1
- package/build/eurostatmap.js +881 -317
- package/build/eurostatmap.min.js +2 -2
- package/build/eurostatmap.min.js.map +1 -1
- package/build/package.json +1 -1
- package/build/types/index.d.ts +8 -8
- package/build/types/legend/choropleth/ChoroplethLegendConfig.d.ts +1 -1
- package/build/types/legend/proportional-symbol/ProportionalSymbolsLegendConfig.d.ts +6 -0
- package/package.json +1 -1
package/build/package.json
CHANGED
package/build/types/index.d.ts
CHANGED
|
@@ -157,14 +157,7 @@ export type { SparkMapConfig, SparkMap, SparkStatConfig }
|
|
|
157
157
|
|
|
158
158
|
// Flow map types
|
|
159
159
|
export type { FlowMapConfig, FlowMap }
|
|
160
|
-
export type {
|
|
161
|
-
FlowNode,
|
|
162
|
-
FlowLink,
|
|
163
|
-
FlowGraph,
|
|
164
|
-
FlowCurvatureSettings,
|
|
165
|
-
FlowWidthGradientSettings,
|
|
166
|
-
FlowBundleSettings,
|
|
167
|
-
} from './layers/flow/FlowMapConfig'
|
|
160
|
+
export type { FlowNode, FlowLink, FlowGraph, FlowCurvatureSettings, FlowWidthGradientSettings, FlowBundleSettings } from './layers/flow/FlowMapConfig'
|
|
168
161
|
|
|
169
162
|
// ==================== Pattern Fill Options ====================
|
|
170
163
|
|
|
@@ -223,6 +216,13 @@ export function map(type: 'sparkline' | 'spark' | 'sparklines', config?: SparkMa
|
|
|
223
216
|
export function map(type: 'flow' | 'flowmap', config?: FlowMapConfig): FlowMap
|
|
224
217
|
export function map(type: MapType, config?: MapConfig): MapInstance
|
|
225
218
|
|
|
219
|
+
/**
|
|
220
|
+
* Enable or disable strict API guard for map chaining.
|
|
221
|
+
* When enabled, unknown method calls throw descriptive errors.
|
|
222
|
+
*
|
|
223
|
+
* @param enabled - True to enable strict API checks
|
|
224
|
+
* @returns Current strict API state
|
|
225
|
+
*/
|
|
226
226
|
// ==================== Utility Functions ====================
|
|
227
227
|
|
|
228
228
|
/**
|
|
@@ -63,7 +63,7 @@ export interface ChoroplethLegendConfig extends LegendConfig {
|
|
|
63
63
|
/** Explicit tick labels for continuous legends. */
|
|
64
64
|
tickLabels?: Array<string | number>
|
|
65
65
|
|
|
66
|
-
/**
|
|
66
|
+
/** Total data-value span highlighted when hovering continuous legends. @default 10 */
|
|
67
67
|
highlightTolerance?: number
|
|
68
68
|
|
|
69
69
|
/** Whether to show dataset min/max labels where supported. @default true */
|
|
@@ -7,6 +7,9 @@ export interface ProportionalSymbolSizeLegendConfig {
|
|
|
7
7
|
/** Title for the size legend. */
|
|
8
8
|
title?: string | null
|
|
9
9
|
|
|
10
|
+
/** Subtitle displayed below the title. */
|
|
11
|
+
subtitle?: string | null
|
|
12
|
+
|
|
10
13
|
/** Padding between title and legend content in pixels. @default 15 */
|
|
11
14
|
titlePadding?: number
|
|
12
15
|
|
|
@@ -57,6 +60,9 @@ export interface ProportionalSymbolColorLegendConfig {
|
|
|
57
60
|
/** Title for the color legend. */
|
|
58
61
|
title?: string | null
|
|
59
62
|
|
|
63
|
+
/** Subtitle displayed below the title. */
|
|
64
|
+
subtitle?: string | null
|
|
65
|
+
|
|
60
66
|
/** Padding between title and legend content in pixels. @default 10 */
|
|
61
67
|
titlePadding?: number
|
|
62
68
|
|
package/package.json
CHANGED