@octostar/map-component 0.10.0 → 0.11.0
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/{de-CiibAOpt.js → de-baB1tmXy.js} +4 -1
- package/dist/{fr-ftr3hxY2.js.map → de-baB1tmXy.js.map} +1 -1
- package/dist/{es-D8jViCNt.js → es-BOFeFpOn.js} +4 -1
- package/dist/{de-CiibAOpt.js.map → es-BOFeFpOn.js.map} +1 -1
- package/dist/{fr-ftr3hxY2.js → fr-CaNTJBXD.js} +4 -1
- package/dist/{it-JiSfNdMa.js.map → fr-CaNTJBXD.js.map} +1 -1
- package/dist/index.mjs +715 -609
- package/dist/index.mjs.map +1 -1
- package/dist/{it-JiSfNdMa.js → it-D8wMaegA.js} +4 -1
- package/dist/{es-D8jViCNt.js.map → it-D8wMaegA.js.map} +1 -1
- package/dist/{pt-BR-DfnZxiOD.js → pt-BR-DU8z2z6T.js} +4 -1
- package/dist/{pt-BR-DfnZxiOD.js.map → pt-BR-DU8z2z6T.js.map} +1 -1
- package/dist/{pt-PT-Cvl_rDbf.js → pt-PT-ByMcI3iF.js} +4 -1
- package/dist/{pt-PT-Cvl_rDbf.js.map → pt-PT-ByMcI3iF.js.map} +1 -1
- package/dist/styles.css +5 -1
- package/dist/types/components/layers-panel.d.ts +4 -1
- package/dist/types/components/layers-panel.d.ts.map +1 -1
- package/dist/types/components/map-editor-canvas.d.ts.map +1 -1
- package/dist/types/components/value-legend.d.ts +29 -0
- package/dist/types/components/value-legend.d.ts.map +1 -0
- package/dist/types/lib/field-values.d.ts +13 -0
- package/dist/types/lib/field-values.d.ts.map +1 -1
- package/dist/types/lib/labels/panel-labels.d.ts +3 -0
- package/dist/types/lib/labels/panel-labels.d.ts.map +1 -1
- package/dist/types/lib/map-labels.d.ts +6 -0
- package/dist/types/lib/map-labels.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -39,6 +39,7 @@ const it = {
|
|
|
39
39
|
"(double-click to clear)": "(doppio clic per cancellare)",
|
|
40
40
|
"(hidden)_map labels": "(nascoste)",
|
|
41
41
|
"(shown)_map labels": "(mostrate)",
|
|
42
|
+
"{count, number}": "{count, number}",
|
|
42
43
|
"{count, number} found": "Trovati: {count, number}",
|
|
43
44
|
"{count, number} total": "{count, number} in totale",
|
|
44
45
|
"{count, number}+ found": "Trovati: {count, number}+",
|
|
@@ -69,6 +70,8 @@ const it = {
|
|
|
69
70
|
"{layerCount, plural, one {Restored # layer with {featureCount, plural, one {# feature} other {# features}}} other {Restored # layers with {featureCount, plural, one {# feature} other {# features}}}}": "{layerCount, plural, one {Ripristinato # livello con {featureCount, plural, one {# elemento} other {# elementi}}} other {Ripristinati # livelli con {featureCount, plural, one {# elemento} other {# elementi}}}}",
|
|
70
71
|
"{received, number} / {total, plural, one {# feature} other {# features}}": "{received, number} / {total, plural, one {# elemento} other {# elementi}}",
|
|
71
72
|
"{selected, number} of {total, number} selected": "Selezionati: {selected, number} di {total, number}",
|
|
73
|
+
"{value} ({count, number}, {share, number, percent})": "{value} ({count, number}, {share, number, percent})",
|
|
74
|
+
"{value} ({count, number})": "{value} ({count, number})",
|
|
72
75
|
"3D (show altitude)": "3D (mostra l'altitudine)",
|
|
73
76
|
"3D Terrain Enabled": "Terreno 3D attivato",
|
|
74
77
|
"3D Terrain Unavailable": "Terreno 3D non disponibile",
|
|
@@ -581,4 +584,4 @@ export {
|
|
|
581
584
|
Value,
|
|
582
585
|
it as default
|
|
583
586
|
};
|
|
584
|
-
//# sourceMappingURL=it-
|
|
587
|
+
//# sourceMappingURL=it-D8wMaegA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"it-D8wMaegA.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -39,6 +39,7 @@ const ptBR = {
|
|
|
39
39
|
"(double-click to clear)": "(clique duas vezes para limpar)",
|
|
40
40
|
"(hidden)_map labels": "(ocultos)",
|
|
41
41
|
"(shown)_map labels": "(exibidos)",
|
|
42
|
+
"{count, number}": "{count, number}",
|
|
42
43
|
"{count, number} found": "Encontrados: {count, number}",
|
|
43
44
|
"{count, number} total": "{count, number} no total",
|
|
44
45
|
"{count, number}+ found": "Encontrados: {count, number}+",
|
|
@@ -69,6 +70,8 @@ const ptBR = {
|
|
|
69
70
|
"{layerCount, plural, one {Restored # layer with {featureCount, plural, one {# feature} other {# features}}} other {Restored # layers with {featureCount, plural, one {# feature} other {# features}}}}": "{layerCount, plural, one {# camada restaurada com {featureCount, plural, one {# item} other {# itens}}} other {# camadas restauradas com {featureCount, plural, one {# item} other {# itens}}}}",
|
|
70
71
|
"{received, number} / {total, plural, one {# feature} other {# features}}": "{received, number} / {total, plural, one {# item} other {# itens}}",
|
|
71
72
|
"{selected, number} of {total, number} selected": "Selecionados: {selected, number} de {total, number}",
|
|
73
|
+
"{value} ({count, number}, {share, number, percent})": "{value} ({count, number}, {share, number, percent})",
|
|
74
|
+
"{value} ({count, number})": "{value} ({count, number})",
|
|
72
75
|
"3D (show altitude)": "3D (mostrar a altitude)",
|
|
73
76
|
"3D Terrain Enabled": "Terreno 3D ativado",
|
|
74
77
|
"3D Terrain Unavailable": "Terreno 3D indisponível",
|
|
@@ -581,4 +584,4 @@ export {
|
|
|
581
584
|
Value,
|
|
582
585
|
ptBR as default
|
|
583
586
|
};
|
|
584
|
-
//# sourceMappingURL=pt-BR-
|
|
587
|
+
//# sourceMappingURL=pt-BR-DU8z2z6T.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pt-BR-
|
|
1
|
+
{"version":3,"file":"pt-BR-DU8z2z6T.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -39,6 +39,7 @@ const ptPT = {
|
|
|
39
39
|
"(double-click to clear)": "(duplo clique para limpar)",
|
|
40
40
|
"(hidden)_map labels": "(ocultas)",
|
|
41
41
|
"(shown)_map labels": "(visíveis)",
|
|
42
|
+
"{count, number}": "{count, number}",
|
|
42
43
|
"{count, number} found": "Encontrados: {count, number}",
|
|
43
44
|
"{count, number} total": "{count, number} no total",
|
|
44
45
|
"{count, number}+ found": "Encontrados: {count, number}+",
|
|
@@ -69,6 +70,8 @@ const ptPT = {
|
|
|
69
70
|
"{layerCount, plural, one {Restored # layer with {featureCount, plural, one {# feature} other {# features}}} other {Restored # layers with {featureCount, plural, one {# feature} other {# features}}}}": "{layerCount, plural, one {# camada restaurada com {featureCount, plural, one {# elemento} other {# elementos}}} other {# camadas restauradas com {featureCount, plural, one {# elemento} other {# elementos}}}}",
|
|
70
71
|
"{received, number} / {total, plural, one {# feature} other {# features}}": "{received, number} / {total, plural, one {# elemento} other {# elementos}}",
|
|
71
72
|
"{selected, number} of {total, number} selected": "Selecionados: {selected, number} de {total, number}",
|
|
73
|
+
"{value} ({count, number}, {share, number, percent})": "{value} ({count, number}, {share, number, percent})",
|
|
74
|
+
"{value} ({count, number})": "{value} ({count, number})",
|
|
72
75
|
"3D (show altitude)": "3D (mostrar a altitude)",
|
|
73
76
|
"3D Terrain Enabled": "Terreno 3D ativado",
|
|
74
77
|
"3D Terrain Unavailable": "Terreno 3D indisponível",
|
|
@@ -581,4 +584,4 @@ export {
|
|
|
581
584
|
Value,
|
|
582
585
|
ptPT as default
|
|
583
586
|
};
|
|
584
|
-
//# sourceMappingURL=pt-PT-
|
|
587
|
+
//# sourceMappingURL=pt-PT-ByMcI3iF.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pt-PT-
|
|
1
|
+
{"version":3,"file":"pt-PT-ByMcI3iF.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/styles.css
CHANGED
|
@@ -234,6 +234,7 @@ body{--tw-bg-opacity:1;background-color:hsl(var(--background) / var(--tw-bg-opac
|
|
|
234
234
|
.relative{position:relative}
|
|
235
235
|
.sticky{position:sticky}
|
|
236
236
|
.inset-0{inset:0px}
|
|
237
|
+
.inset-y-0{top:0px;bottom:0px}
|
|
237
238
|
.-bottom-0\.5{bottom:-0.125rem}
|
|
238
239
|
.-bottom-1{bottom:-0.25rem}
|
|
239
240
|
.-right-0\.5{right:-0.125rem}
|
|
@@ -243,6 +244,7 @@ body{--tw-bg-opacity:1;background-color:hsl(var(--background) / var(--tw-bg-opac
|
|
|
243
244
|
.bottom-1{bottom:0.25rem}
|
|
244
245
|
.bottom-3{bottom:0.75rem}
|
|
245
246
|
.bottom-4{bottom:1rem}
|
|
247
|
+
.left-0{left:0px}
|
|
246
248
|
.left-1\/2{left:50%}
|
|
247
249
|
.left-16{left:4rem}
|
|
248
250
|
.left-4{left:1rem}
|
|
@@ -337,7 +339,6 @@ body{--tw-bg-opacity:1;background-color:hsl(var(--background) / var(--tw-bg-opac
|
|
|
337
339
|
.h-px{height:1px}
|
|
338
340
|
.h-screen{height:100vh}
|
|
339
341
|
.max-h-24{max-height:6rem}
|
|
340
|
-
.max-h-40{max-height:10rem}
|
|
341
342
|
.max-h-48{max-height:12rem}
|
|
342
343
|
.max-h-56{max-height:14rem}
|
|
343
344
|
.max-h-64{max-height:16rem}
|
|
@@ -507,6 +508,7 @@ to{transform:rotate(360deg)}}
|
|
|
507
508
|
.bg-muted\/30{background-color:hsl(var(--muted) / 0.3)}
|
|
508
509
|
.bg-muted\/40{background-color:hsl(var(--muted) / 0.4)}
|
|
509
510
|
.bg-muted\/50{background-color:hsl(var(--muted) / 0.5)}
|
|
511
|
+
.bg-muted\/60{background-color:hsl(var(--muted) / 0.6)}
|
|
510
512
|
.bg-orange-500{--tw-bg-opacity:1;background-color:rgb(249 115 22 / var(--tw-bg-opacity, 1))}
|
|
511
513
|
.bg-popover{--tw-bg-opacity:1;background-color:hsl(var(--popover) / var(--tw-bg-opacity, 1))}
|
|
512
514
|
.bg-primary{--tw-bg-opacity:1;background-color:hsl(var(--primary) / var(--tw-bg-opacity, 1))}
|
|
@@ -645,6 +647,8 @@ to{transform:rotate(360deg)}}
|
|
|
645
647
|
.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}
|
|
646
648
|
.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}
|
|
647
649
|
.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}
|
|
650
|
+
.ring-inset{--tw-ring-inset:inset}
|
|
651
|
+
.ring-black\/15{--tw-ring-color:rgb(0 0 0 / 0.15)}
|
|
648
652
|
.ring-primary{--tw-ring-opacity:1;--tw-ring-color:hsl(var(--primary) / var(--tw-ring-opacity, 1))}
|
|
649
653
|
.ring-offset-1{--tw-ring-offset-width:1px}
|
|
650
654
|
.ring-offset-background{--tw-ring-offset-color:hsl(var(--background) / 1)}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Map } from 'lucide-react';
|
|
2
2
|
import { type MapLabels } from '../lib/map-labels.js';
|
|
3
3
|
import type { IconSuggestionProvider } from '../lib/icon-by-field.js';
|
|
4
|
+
import type { ClusterPieCategories } from '../lib/field-values.js';
|
|
4
5
|
export type BuiltInMapStyle = 'streets' | 'satellite' | 'dark';
|
|
5
6
|
export type MapStyle = BuiltInMapStyle | (string & {});
|
|
6
7
|
export declare const MAP_STYLES: {
|
|
@@ -172,6 +173,8 @@ interface LayersPanelProps {
|
|
|
172
173
|
value: string;
|
|
173
174
|
count: number;
|
|
174
175
|
}[];
|
|
176
|
+
/** The slices `layerId`'s cluster pies draw when grouped by `fieldName`. Renders the pie legend. */
|
|
177
|
+
getClusterPieCategories?: (layerId: string, fieldName: string) => ClusterPieCategories | null;
|
|
175
178
|
onUpdateHeatmapConfig?: (layerId: string, config: HeatmapConfig) => void;
|
|
176
179
|
onUpdateClusterConfig?: (layerId: string, config: ClusterConfig) => void;
|
|
177
180
|
onUpdateVisualConfig?: (layerId: string, config: VisualConfig) => void;
|
|
@@ -228,6 +231,6 @@ interface LayersPanelProps {
|
|
|
228
231
|
/** Host AI that assigns an icon per field value; without it the panel uses its keyword match. */
|
|
229
232
|
iconSuggestionProvider?: IconSuggestionProvider;
|
|
230
233
|
}
|
|
231
|
-
export declare function LayersPanel({ layers, onAddLayer, onRemoveLayer, onRenameLayer, onToggleLayerVisibility, onMoveFeatureToLayer, selectedFeatureIds, getFeatureCount, getLayerUnsavedCount, getMapUnsavedCount, activeEditingLayerId, onSetActiveEditingLayer, onSaveLayerGeoJSON, onLoadLayerGeoJSON, onLoadNewLayerGeoJSON, onSaveAllGeoJSON, onSearchAndAddToNewLayer, onWorkspaceLoad, onWorkspaceSave, onFitToFeatures, onFitToLayerFeatures, currentMapStyle, onMapStyleChange, onUpdateTraceConfig, getAvailableTraceFields, getSuggestedTraceField, getLayerFields, getFieldValueDistribution, onUpdateHeatmapConfig, onUpdateClusterConfig, onUpdateVisualConfig, hasPointFeatures, autoLabelConfig, onUpdateAutoLabelConfig, visibleFeatureCount, is3DTerrainEnabled, onToggle3DTerrain, onUpdateAltitudeDisplayMode, availableBasemaps, hideSatellite, hideDark, hideTerrain, hideBasemapSwitcher, externalPersistence, customGlobalMenuItems, extraLayerToolbarButtons, extraNewLayerButtons, layerBadgeProvider, featureCountProvider, iconSuggestionProvider, }: LayersPanelProps): import("react").JSX.Element;
|
|
234
|
+
export declare function LayersPanel({ layers, onAddLayer, onRemoveLayer, onRenameLayer, onToggleLayerVisibility, onMoveFeatureToLayer, selectedFeatureIds, getFeatureCount, getLayerUnsavedCount, getMapUnsavedCount, activeEditingLayerId, onSetActiveEditingLayer, onSaveLayerGeoJSON, onLoadLayerGeoJSON, onLoadNewLayerGeoJSON, onSaveAllGeoJSON, onSearchAndAddToNewLayer, onWorkspaceLoad, onWorkspaceSave, onFitToFeatures, onFitToLayerFeatures, currentMapStyle, onMapStyleChange, onUpdateTraceConfig, getAvailableTraceFields, getSuggestedTraceField, getLayerFields, getFieldValueDistribution, getClusterPieCategories, onUpdateHeatmapConfig, onUpdateClusterConfig, onUpdateVisualConfig, hasPointFeatures, autoLabelConfig, onUpdateAutoLabelConfig, visibleFeatureCount, is3DTerrainEnabled, onToggle3DTerrain, onUpdateAltitudeDisplayMode, availableBasemaps, hideSatellite, hideDark, hideTerrain, hideBasemapSwitcher, externalPersistence, customGlobalMenuItems, extraLayerToolbarButtons, extraNewLayerButtons, layerBadgeProvider, featureCountProvider, iconSuggestionProvider, }: LayersPanelProps): import("react").JSX.Element;
|
|
232
235
|
export {};
|
|
233
236
|
//# sourceMappingURL=layers-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layers-panel.d.ts","sourceRoot":"","sources":["../../../client/src/components/layers-panel.tsx"],"names":[],"mappings":"AACA,OAAO,EAA0G,GAAG,EAAmE,MAAM,cAAc,CAAC;AAI5M,OAAO,EAAgC,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"layers-panel.d.ts","sourceRoot":"","sources":["../../../client/src/components/layers-panel.tsx"],"names":[],"mappings":"AACA,OAAO,EAA0G,GAAG,EAAmE,MAAM,cAAc,CAAC;AAI5M,OAAO,EAAgC,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGhF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAQ/D,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,CAAC;AAC/D,MAAM,MAAM,QAAQ,GAAG,eAAe,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEvD,eAAO,MAAM,UAAU,EAAE;IAAE,EAAE,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,OAAO,GAAG,CAAA;CAAE,EAIxE,CAAC;AAEF,+EAA+E;AAC/E,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GAAG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B,EACvB,mBAAmB,EACnB,kBAA0B,EAC1B,iBAAiB,EACjB,2BAA2B,EAC3B,iBAAiB,EACjB,aAAqB,EACrB,QAAgB,EAChB,WAAmB,EACnB,mBAA2B,EAC3B,mBAA2B,EAC3B,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,GACvB,EAAE,gBAAgB,+BAkjClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-editor-canvas.d.ts","sourceRoot":"","sources":["../../../client/src/components/map-editor-canvas.tsx"],"names":[],"mappings":"AAsLA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"map-editor-canvas.d.ts","sourceRoot":"","sources":["../../../client/src/components/map-editor-canvas.tsx"],"names":[],"mappings":"AAsLA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,gDAAgD,CAAC;AAsSxD,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAoF5E,eAAO,MAAM,eAAe,4GA6mT1B,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { ClusterPieCategories } from '../lib/field-values.js';
|
|
3
|
+
export interface LegendRow {
|
|
4
|
+
value: string;
|
|
5
|
+
count: number;
|
|
6
|
+
color: string;
|
|
7
|
+
}
|
|
8
|
+
type FieldValueDistribution = (layerId: string, fieldName: string, maxValues?: number) => {
|
|
9
|
+
value: string;
|
|
10
|
+
count: number;
|
|
11
|
+
}[];
|
|
12
|
+
/** A legend's heading, shared by the value legends and the gradient legend. */
|
|
13
|
+
export declare function LegendTitle({ children }: {
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
}): import("react").JSX.Element;
|
|
16
|
+
/** Which color each value of the color-by field paints, in the same hash the map uses. */
|
|
17
|
+
export declare function ColorByFieldLegend({ layerId, fieldName, getFieldValueDistribution, }: {
|
|
18
|
+
layerId: string;
|
|
19
|
+
fieldName: string;
|
|
20
|
+
getFieldValueDistribution: FieldValueDistribution;
|
|
21
|
+
}): import("react").JSX.Element;
|
|
22
|
+
/** The slices of a layer's cluster pies: one row per value with its own slice, then Other. */
|
|
23
|
+
export declare function ClusterPieLegend({ layerId, fieldName, getClusterPieCategories, }: {
|
|
24
|
+
layerId: string;
|
|
25
|
+
fieldName: string;
|
|
26
|
+
getClusterPieCategories: (layerId: string, fieldName: string) => ClusterPieCategories | null;
|
|
27
|
+
}): import("react").JSX.Element | null;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=value-legend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-legend.d.ts","sourceRoot":"","sources":["../../../client/src/components/value-legend.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAgC,MAAM,OAAO,CAAC;AAIrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAM/D,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,KAAK,sBAAsB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,KAAK;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,CAAC;AAE7H,+EAA+E;AAC/E,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAEhE;AAqID,0FAA0F;AAC1F,wBAAgB,kBAAkB,CAAC,EACjC,OAAO,EACP,SAAS,EACT,yBAAyB,GAC1B,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,yBAAyB,EAAE,sBAAsB,CAAC;CACnD,+BAgBA;AAED,8FAA8F;AAC9F,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,SAAS,EACT,uBAAuB,GACxB,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,uBAAuB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,oBAAoB,GAAG,IAAI,CAAC;CAC9F,sCAwBA"}
|
|
@@ -6,4 +6,17 @@ export declare function fieldValueDistribution(features: readonly (GeoJSON.Featu
|
|
|
6
6
|
value: string;
|
|
7
7
|
count: number;
|
|
8
8
|
}[];
|
|
9
|
+
/** How many values get a cluster pie slice of their own; the rest share Other. */
|
|
10
|
+
export declare const CLUSTER_PIE_MAX_CATEGORIES = 15;
|
|
11
|
+
export interface ClusterPieCategories {
|
|
12
|
+
/** The values with a slice of their own, most frequent first (ties by value). */
|
|
13
|
+
values: {
|
|
14
|
+
value: string;
|
|
15
|
+
count: number;
|
|
16
|
+
}[];
|
|
17
|
+
/** Points in the Other slice: every remaining value, and points without one. */
|
|
18
|
+
otherCount: number;
|
|
19
|
+
}
|
|
20
|
+
/** The slices the cluster pies of `points` draw. The map and the pie legend both read this. */
|
|
21
|
+
export declare function clusterPieCategories(points: readonly GeoJSON.Feature[], fieldName: string): ClusterPieCategories;
|
|
9
22
|
//# sourceMappingURL=field-values.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-values.d.ts","sourceRoot":"","sources":["../../../client/src/lib/field-values.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,EAAE,EAClD,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,SAAS,SAAkB,GAC1B;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,CAYpC"}
|
|
1
|
+
{"version":3,"file":"field-values.d.ts","sourceRoot":"","sources":["../../../client/src/lib/field-values.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,EAAE,EAClD,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,SAAS,SAAkB,GAC1B;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,CAYpC;AAED,kFAAkF;AAClF,eAAO,MAAM,0BAA0B,KAAK,CAAC;AAE7C,MAAM,WAAW,oBAAoB;IACnC,iFAAiF;IACjF,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC3C,gFAAgF;IAChF,UAAU,EAAE,MAAM,CAAC;CACpB;AAaD,+FAA+F;AAC/F,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,SAAS,OAAO,CAAC,OAAO,EAAE,EAClC,SAAS,EAAE,MAAM,GAChB,oBAAoB,CAiBtB"}
|
|
@@ -109,6 +109,9 @@ export declare const layerSettingLabels: (t: Translate) => {
|
|
|
109
109
|
noMatches: string;
|
|
110
110
|
showLess: string;
|
|
111
111
|
showAll: (count: number) => string;
|
|
112
|
+
legendCount: (count: number) => string;
|
|
113
|
+
legendRowTitle: (value: string, count: number) => string;
|
|
114
|
+
legendRowShare: (value: string, count: number, share: number) => string;
|
|
112
115
|
pointFeatures: string;
|
|
113
116
|
traceLines: string;
|
|
114
117
|
connectAllPoints: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-labels.d.ts","sourceRoot":"","sources":["../../../../client/src/lib/labels/panel-labels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,C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AAM,gBAAgB,MAAO,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA+BzC,8DAA8D;uCAC/B;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,OAAO,CAAA;SAAE;4BAE3C,MAAM;;8BAEJ,MAAM;;;;CAO9B,CAAC;AAEH,eAAO,MAAM,qBAAqB,MAAO,SAAS;6CACP;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;;;8BAI/C,MAAM;;;;;;;;;;;;;;4BAeR,MAAM;;;8BAGJ,MAAM;;;;;;;;;;;;;;;;yBAgBX,MAAM;;;;;;CAM3B,CAAC;AAEH,eAAO,MAAM,kBAAkB,MAAO,SAAS;;;;;;;;;;;;;;uBAc1B,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBzB,CAAC;AAEH,4EAA4E;AAC5E,eAAO,MAAM,aAAa,MAAO,SAAS;;;;;;0BAMlB,MAAM;yCACS;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;uBAErD,MAAM;kDACqB;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE;CAKjF,CAAC;AAEH,eAAO,MAAM,iBAAiB,MAAO,SAAS;;;;;;;;CAQ5C,CAAC"}
|
|
@@ -269,6 +269,9 @@ export declare const buildMapLabels: (t: Translate) => {
|
|
|
269
269
|
noMatches: string;
|
|
270
270
|
showLess: string;
|
|
271
271
|
showAll: (count: number) => string;
|
|
272
|
+
legendCount: (count: number) => string;
|
|
273
|
+
legendRowTitle: (value: string, count: number) => string;
|
|
274
|
+
legendRowShare: (value: string, count: number, share: number) => string;
|
|
272
275
|
pointFeatures: string;
|
|
273
276
|
traceLines: string;
|
|
274
277
|
connectAllPoints: string;
|
|
@@ -731,6 +734,9 @@ export declare const MapLabelsContext: import("react").Context<{
|
|
|
731
734
|
noMatches: string;
|
|
732
735
|
showLess: string;
|
|
733
736
|
showAll: (count: number) => string;
|
|
737
|
+
legendCount: (count: number) => string;
|
|
738
|
+
legendRowTitle: (value: string, count: number) => string;
|
|
739
|
+
legendRowShare: (value: string, count: number, share: number) => string;
|
|
734
740
|
pointFeatures: string;
|
|
735
741
|
traceLines: string;
|
|
736
742
|
connectAllPoints: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-labels.d.ts","sourceRoot":"","sources":["../../../client/src/lib/map-labels.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,SAAS,EAA+B,MAAM,QAAQ,CAAC;AAiBvF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,YAAY,CAAC;AAC1C,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD,4EAA4E;AAC5E,eAAO,MAAM,cAAc,MAAO,SAAS
|
|
1
|
+
{"version":3,"file":"map-labels.d.ts","sourceRoot":"","sources":["../../../client/src/lib/map-labels.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,SAAS,EAA+B,MAAM,QAAQ,CAAC;AAiBvF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,YAAY,CAAC;AAC1C,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD,4EAA4E;AAC5E,eAAO,MAAM,cAAc,MAAO,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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