@octostar/map-component 0.9.1 → 0.10.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/README.md +37 -43
- package/dist/de-CiibAOpt.js +584 -0
- package/dist/de-CiibAOpt.js.map +1 -0
- package/dist/es-D8jViCNt.js +584 -0
- package/dist/es-D8jViCNt.js.map +1 -0
- package/dist/fr-ftr3hxY2.js +584 -0
- package/dist/fr-ftr3hxY2.js.map +1 -0
- package/dist/index.mjs +996 -638
- package/dist/index.mjs.map +1 -1
- package/dist/it-JiSfNdMa.js +584 -0
- package/dist/it-JiSfNdMa.js.map +1 -0
- package/dist/pt-BR-DfnZxiOD.js +584 -0
- package/dist/pt-BR-DfnZxiOD.js.map +1 -0
- package/dist/pt-PT-Cvl_rDbf.js +584 -0
- package/dist/pt-PT-Cvl_rDbf.js.map +1 -0
- package/dist/types/components/cluster-pie-chart.d.ts.map +1 -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/properties-panel.d.ts.map +1 -1
- package/dist/types/components/timebar.d.ts +1 -2
- package/dist/types/components/timebar.d.ts.map +1 -1
- package/dist/types/i18n/icuContext.d.ts +10 -0
- package/dist/types/i18n/icuContext.d.ts.map +1 -0
- package/dist/types/i18n/index.d.ts +17 -0
- package/dist/types/i18n/index.d.ts.map +1 -0
- package/dist/types/i18n/locale.d.ts +12 -0
- package/dist/types/i18n/locale.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/feature-cap.d.ts +3 -24
- package/dist/types/lib/feature-cap.d.ts.map +1 -1
- package/dist/types/lib/ingest-pipeline.d.ts.map +1 -1
- package/dist/types/lib/labels/icon-labels.d.ts +33 -0
- package/dist/types/lib/labels/icon-labels.d.ts.map +1 -0
- package/dist/types/lib/labels/message-labels.d.ts +112 -0
- package/dist/types/lib/labels/message-labels.d.ts.map +1 -0
- package/dist/types/lib/labels/panel-labels.d.ts +328 -0
- package/dist/types/lib/labels/panel-labels.d.ts.map +1 -0
- package/dist/types/lib/map-editor-api.d.ts +6 -8
- package/dist/types/lib/map-editor-api.d.ts.map +1 -1
- package/dist/types/lib/map-labels.d.ts +602 -609
- package/dist/types/lib/map-labels.d.ts.map +1 -1
- package/package.json +15 -1
|
@@ -1,151 +1,191 @@
|
|
|
1
|
+
import { type Translate } from '../i18n/index.js';
|
|
1
2
|
/**
|
|
2
3
|
* Layer names the map writes into data stay English: hosts match layers by
|
|
3
4
|
* name across users' maps (share links), whatever language each user reads.
|
|
4
5
|
*/
|
|
5
6
|
export declare const DEFAULT_LAYER_ID = "default";
|
|
6
7
|
export declare const DEFAULT_LAYER_NAME = "Default Layer";
|
|
7
|
-
/**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
defaultLayerName: string;
|
|
14
|
-
newTextLabel: string;
|
|
15
|
-
clusterOther: string;
|
|
16
|
-
mapInitFailedTitle: string;
|
|
17
|
-
mapInitFailedSubtitle: string;
|
|
18
|
-
mapInitFailedFallback: string;
|
|
19
|
-
refreshPage: string;
|
|
20
|
-
measureDistance: string;
|
|
21
|
-
measureArea: string;
|
|
22
|
-
measureDistanceHint: string;
|
|
23
|
-
measureAreaHint: string;
|
|
24
|
-
measureClearHint: string;
|
|
25
|
-
timelineToggle: string;
|
|
26
|
-
layersToggle: string;
|
|
27
|
-
layersToggleAriaLabel: string;
|
|
28
|
-
unsavedCount: (count: number) => string;
|
|
29
|
-
createPointFeature: string;
|
|
30
|
-
noEditableLayer: string;
|
|
31
|
-
tooltipId: string;
|
|
32
|
-
morePointsHint: string;
|
|
33
|
-
traceDuration: string;
|
|
34
|
-
traceDistance: string;
|
|
35
|
-
traceAvgSpeed: string;
|
|
36
|
-
traceGroup: (group: string) => string;
|
|
37
|
-
statusFeatureCount: (count: number) => string;
|
|
38
|
-
statusSelectedCount: (count: number) => string;
|
|
39
|
-
};
|
|
40
|
-
toasts: {
|
|
41
|
-
screenshotFailed: string;
|
|
42
|
-
screenshotMapNotReady: string;
|
|
43
|
-
screenshotNotRendered: string;
|
|
44
|
-
noVisibleLayers: string;
|
|
45
|
-
noVisibleLayersDescription: string;
|
|
46
|
-
noLayerSelected: string;
|
|
47
|
-
noLayerSelectedDescription: string;
|
|
48
|
-
cannotClearHpLayer: string;
|
|
49
|
-
cannotClearHpLayerDescription: string;
|
|
50
|
-
layerEmpty: string;
|
|
51
|
-
layerEmptyDescription: string;
|
|
52
|
-
layerCleared: string;
|
|
53
|
-
layerClearedDescription: (layerName: string) => string;
|
|
54
|
-
terrainUnavailable: string;
|
|
55
|
-
terrainUnavailableDescription: string;
|
|
56
|
-
terrainEnabled: string;
|
|
57
|
-
terrainEnabledDescription: string;
|
|
58
|
-
exportFailed: string;
|
|
59
|
-
exportFailedDescription: string;
|
|
60
|
-
featuresAdded: string;
|
|
61
|
-
featuresAddedDescription: ({ count, layerName }: {
|
|
62
|
-
count: number;
|
|
63
|
-
layerName: string;
|
|
64
|
-
}) => string;
|
|
65
|
-
layerCreated: string;
|
|
66
|
-
searchFailed: string;
|
|
67
|
-
searchFailedDescription: string;
|
|
68
|
-
mapRestored: string;
|
|
69
|
-
mapRestoredDescription: ({ layerCount, featureCount }: {
|
|
70
|
-
layerCount: number;
|
|
71
|
-
featureCount: number;
|
|
8
|
+
/** Every string the map draws itself, in the language `t` translates to. */
|
|
9
|
+
export declare const buildMapLabels: (t: Translate) => {
|
|
10
|
+
propertiesPanel: {
|
|
11
|
+
showingFirstSelected: ({ shown, total }: {
|
|
12
|
+
shown: number;
|
|
13
|
+
total: number;
|
|
72
14
|
}) => string;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
15
|
+
previousOverlappingPoint: string;
|
|
16
|
+
nextOverlappingPoint: string;
|
|
17
|
+
selectedFeatures: (count: number) => string;
|
|
18
|
+
untitledFeature: string;
|
|
19
|
+
hpLayerHint: string;
|
|
20
|
+
hpBadge: string;
|
|
21
|
+
viewBadge: string;
|
|
22
|
+
openInNewTab: string;
|
|
23
|
+
actions: string;
|
|
24
|
+
copyToLayer: string;
|
|
25
|
+
moveToLayer: string;
|
|
26
|
+
untitledLayer: string;
|
|
27
|
+
newLayer: string;
|
|
28
|
+
newLayerPrompt: string;
|
|
29
|
+
changeIcon: string;
|
|
30
|
+
setIcon: string;
|
|
31
|
+
deleteFeatures: (count: number) => string;
|
|
32
|
+
deleteFeature: string;
|
|
33
|
+
entityCards: string;
|
|
34
|
+
entityCardsCount: (count: number) => string;
|
|
35
|
+
properties: string;
|
|
36
|
+
noEntityCardProvider: string;
|
|
37
|
+
selectSingleToSeeProperties: string;
|
|
38
|
+
selectSingleToEdit: string;
|
|
39
|
+
pointDetail: string;
|
|
40
|
+
layer: string;
|
|
41
|
+
octostarRecord: string;
|
|
42
|
+
localMapFeature: string;
|
|
43
|
+
unsaved: string;
|
|
44
|
+
createEntity: string;
|
|
45
|
+
untitledRecord: string;
|
|
46
|
+
refreshFromRecord: string;
|
|
47
|
+
recordFields: string;
|
|
48
|
+
id: string;
|
|
49
|
+
featureSaved: string;
|
|
50
|
+
savedTo: (workspace: string) => string;
|
|
79
51
|
saveFailed: string;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
52
|
+
saveFeatureFailed: string;
|
|
53
|
+
refreshed: string;
|
|
54
|
+
refreshedDescription: string;
|
|
55
|
+
refreshFailed: string;
|
|
56
|
+
};
|
|
57
|
+
featureFields: {
|
|
58
|
+
label: string;
|
|
59
|
+
name: string;
|
|
60
|
+
enterLabel: string;
|
|
61
|
+
featureName: string;
|
|
62
|
+
noName: string;
|
|
63
|
+
icon: string;
|
|
64
|
+
type: string;
|
|
65
|
+
noType: string;
|
|
66
|
+
latLng: string;
|
|
67
|
+
centroidHint: string;
|
|
68
|
+
latitude: string;
|
|
69
|
+
longitude: string;
|
|
70
|
+
temporal: string;
|
|
71
|
+
dateCount: (count: number) => string;
|
|
72
|
+
start: string;
|
|
73
|
+
end: string;
|
|
74
|
+
style: string;
|
|
75
|
+
fontSize: string;
|
|
76
|
+
fontColor: string;
|
|
77
|
+
fontWeight: string;
|
|
78
|
+
fontWeightNormal: string;
|
|
79
|
+
fontWeightBold: string;
|
|
80
|
+
arrowSize: string;
|
|
81
|
+
stroke: string;
|
|
82
|
+
strokeColor: string;
|
|
83
|
+
strokeWidth: string;
|
|
84
|
+
strokeOpacity: string;
|
|
85
|
+
fill: string;
|
|
86
|
+
fillColor: string;
|
|
87
|
+
fillOpacity: string;
|
|
88
|
+
resetFillToStroke: string;
|
|
89
|
+
iconSize: string;
|
|
90
|
+
propertyKey: string;
|
|
91
|
+
propertyValue: string;
|
|
92
|
+
newProperty: string;
|
|
93
|
+
};
|
|
94
|
+
iconPicker: {
|
|
95
|
+
title: string;
|
|
96
|
+
searchPlaceholder: string;
|
|
97
|
+
allCategories: (count: number) => string;
|
|
98
|
+
categoryWithCount: ({ category, count }: {
|
|
99
|
+
category: string;
|
|
89
100
|
count: number;
|
|
90
|
-
reprojectedFrom: string | null;
|
|
91
101
|
}) => string;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
noIconsFound: (query: string) => string;
|
|
103
|
+
noIconSelected: string;
|
|
104
|
+
clearIcon: string;
|
|
105
|
+
cancel: string;
|
|
106
|
+
emptyTrigger: string;
|
|
107
|
+
anyEmojiHint: string;
|
|
108
|
+
useEmoji: (emoji: string) => string;
|
|
109
|
+
emojiNotEverywhere: string;
|
|
110
|
+
customEmoji: string;
|
|
111
|
+
emojiGroups: {
|
|
112
|
+
smileys: string;
|
|
113
|
+
people: string;
|
|
114
|
+
nature: string;
|
|
115
|
+
food: string;
|
|
116
|
+
travel: string;
|
|
117
|
+
activities: string;
|
|
118
|
+
objects: string;
|
|
119
|
+
symbols: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
iconCategories: Record<"people" | "nature" | "food" | "activities" | "symbols" | "places" | "transport" | "work" | "shopping" | "communication" | "maritime" | "security" | "time" | "shapes" | "arrows", string>;
|
|
123
|
+
iconNames: Record<"search" | "anchor" | "eye" | "baby" | "dog" | "cat" | "horse" | "bird" | "fish" | "hamburger" | "pizza" | "compass" | "mountain" | "volcano" | "stadium" | "hospital" | "school" | "factory" | "castle" | "church" | "mosque" | "tent" | "train" | "bus" | "taxi" | "motorcycle" | "construction" | "sailboat" | "ship" | "helicopter" | "satellite" | "rocket" | "sun" | "star" | "cloud" | "rainbow" | "umbrella" | "snowflake" | "fire" | "trophy" | "basketball" | "bell" | "radio" | "camera" | "bookmark" | "package" | "briefcase" | "calendar" | "pushpin" | "key" | "hammer" | "shield" | "wrench" | "gear" | "microscope" | "radioactive" | "biohazard" | "map-pin" | "home" | "building" | "store" | "graduation" | "library" | "landmark" | "car" | "plane" | "bike" | "fuel" | "truck" | "utensils" | "coffee" | "beer" | "wine" | "ice-cream" | "apple" | "cake" | "trees" | "waves" | "flower" | "leaf" | "heart" | "flag" | "alert" | "info" | "check" | "x-mark" | "zap" | "peace" | "recycle" | "music" | "film" | "gamepad" | "medal" | "sports" | "fishing" | "art" | "test-tube" | "computer" | "cart" | "gift" | "money" | "credit-card" | "phone" | "mail" | "globe" | "tv" | "user" | "users" | "lighthouse" | "lock" | "police" | "siren" | "clock" | "tag" | "red-circle" | "blue-circle" | "green-circle" | "yellow-circle" | "orange-circle" | "purple-circle" | "white-circle" | "black-circle" | "red-square" | "blue-square" | "diamond" | "arrow-up" | "arrow-down" | "arrow-left" | "arrow-right" | "target", string>;
|
|
124
|
+
timebar: {
|
|
125
|
+
play: string;
|
|
126
|
+
pause: string;
|
|
127
|
+
reset: string;
|
|
128
|
+
cumulative: string;
|
|
129
|
+
toggle: string;
|
|
130
|
+
featureCount: (count: number) => string;
|
|
131
|
+
selectedCount: ({ selected, total }: {
|
|
132
|
+
selected: number;
|
|
133
|
+
total: number;
|
|
103
134
|
}) => string;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
layerName: string;
|
|
135
|
+
binEvents: (count: number) => string;
|
|
136
|
+
binEventsWithSelection: ({ count, selected }: {
|
|
107
137
|
count: number;
|
|
108
|
-
|
|
138
|
+
selected: number;
|
|
109
139
|
}) => string;
|
|
110
140
|
};
|
|
111
|
-
|
|
141
|
+
actionPanel: {
|
|
142
|
+
groupLabel: string;
|
|
143
|
+
saveTooltip: string;
|
|
144
|
+
saveAriaLabel: string;
|
|
145
|
+
save: string;
|
|
146
|
+
loadTooltip: string;
|
|
147
|
+
loadAriaLabel: string;
|
|
148
|
+
load: string;
|
|
149
|
+
};
|
|
150
|
+
navigate: {
|
|
112
151
|
title: string;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
kept: number;
|
|
127
|
-
sourceCount: number;
|
|
128
|
-
layerName: string;
|
|
129
|
-
dropped: number;
|
|
130
|
-
}) => string;
|
|
131
|
-
restoreNote: string;
|
|
152
|
+
addressPlaceholder: string;
|
|
153
|
+
searchAddress: string;
|
|
154
|
+
orCoordinates: string;
|
|
155
|
+
latitude: string;
|
|
156
|
+
longitude: string;
|
|
157
|
+
latitudePlaceholder: string;
|
|
158
|
+
longitudePlaceholder: string;
|
|
159
|
+
dropPoint: string;
|
|
160
|
+
goToCoordinates: string;
|
|
161
|
+
locationNotFound: string;
|
|
162
|
+
locationNotFoundDescription: string;
|
|
163
|
+
searchError: string;
|
|
164
|
+
searchErrorDescription: string;
|
|
132
165
|
};
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
invalidFormat: string;
|
|
142
|
-
noFeatures: string;
|
|
143
|
-
workerUnresponsive: string;
|
|
144
|
-
workerCrashed: string;
|
|
166
|
+
coordinates: {
|
|
167
|
+
invalidCoordinates: string;
|
|
168
|
+
invalidCoordinatesDescription: string;
|
|
169
|
+
invalidLatitude: string;
|
|
170
|
+
invalidLongitude: string;
|
|
171
|
+
latitudeOutOfRange: string;
|
|
172
|
+
longitudeOutOfRange: string;
|
|
173
|
+
notANumber: string;
|
|
145
174
|
};
|
|
146
|
-
|
|
175
|
+
featureSearch: {
|
|
147
176
|
title: string;
|
|
148
|
-
|
|
177
|
+
placeholder: string;
|
|
178
|
+
titlesMode: string;
|
|
179
|
+
fullJsonMode: string;
|
|
180
|
+
resultCount: ({ count, more }: {
|
|
181
|
+
count: number;
|
|
182
|
+
more: boolean;
|
|
183
|
+
}) => string;
|
|
184
|
+
totalCount: (count: number) => string;
|
|
185
|
+
noResults: string;
|
|
186
|
+
typeToSearch: (count: number) => string;
|
|
187
|
+
untitledFeature: string;
|
|
188
|
+
unknownGeometry: string;
|
|
149
189
|
};
|
|
150
190
|
mapOptions: {
|
|
151
191
|
title: string;
|
|
@@ -191,24 +231,20 @@ export declare const DEFAULT_MAP_LABELS: {
|
|
|
191
231
|
moveSelectedHere: (count: number) => string;
|
|
192
232
|
};
|
|
193
233
|
layerSettings: {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
altitudeDisplay: string;
|
|
209
|
-
altitude3d: string;
|
|
210
|
-
altitudeFlat: string;
|
|
211
|
-
altitudeBoth: string;
|
|
234
|
+
iconSameForAll: string;
|
|
235
|
+
iconByFieldValue: string;
|
|
236
|
+
icons: string;
|
|
237
|
+
iconsAssigning: string;
|
|
238
|
+
iconsAssignedByAi: string;
|
|
239
|
+
iconsAssignedByKeywords: string;
|
|
240
|
+
reassignIcons: string;
|
|
241
|
+
reassignIconsWithAi: string;
|
|
242
|
+
reassignIconsByKeywords: string;
|
|
243
|
+
iconAiUnavailable: (error: string) => string;
|
|
244
|
+
iconAiNoUsableIcon: string;
|
|
245
|
+
assignNewIcons: (count: number) => string;
|
|
246
|
+
iconOtherValues: string;
|
|
247
|
+
iconEmptyOrUnassigned: string;
|
|
212
248
|
visualSettings: string;
|
|
213
249
|
labels: string;
|
|
214
250
|
labelFromName: string;
|
|
@@ -226,21 +262,6 @@ export declare const DEFAULT_MAP_LABELS: {
|
|
|
226
262
|
fixedColor: string;
|
|
227
263
|
categories: string;
|
|
228
264
|
gradient: string;
|
|
229
|
-
pointIcon: string;
|
|
230
|
-
iconSameForAll: string;
|
|
231
|
-
iconByFieldValue: string;
|
|
232
|
-
icons: string;
|
|
233
|
-
iconsAssigning: string;
|
|
234
|
-
iconsAssignedByAi: string;
|
|
235
|
-
iconsAssignedByKeywords: string;
|
|
236
|
-
reassignIcons: string;
|
|
237
|
-
reassignIconsWithAi: string;
|
|
238
|
-
reassignIconsByKeywords: string;
|
|
239
|
-
iconAiUnavailable: (error: string) => string;
|
|
240
|
-
iconAiNoUsableIcon: string;
|
|
241
|
-
assignNewIcons: (count: number) => string;
|
|
242
|
-
iconOtherValues: string;
|
|
243
|
-
iconEmptyOrUnassigned: string;
|
|
244
265
|
legend: string;
|
|
245
266
|
legendTop: (count: number) => string;
|
|
246
267
|
legendSampled: string;
|
|
@@ -248,6 +269,25 @@ export declare const DEFAULT_MAP_LABELS: {
|
|
|
248
269
|
noMatches: string;
|
|
249
270
|
showLess: string;
|
|
250
271
|
showAll: (count: number) => string;
|
|
272
|
+
pointFeatures: string;
|
|
273
|
+
traceLines: string;
|
|
274
|
+
connectAllPoints: string;
|
|
275
|
+
groupBy: (field: string) => string;
|
|
276
|
+
heatmap: string;
|
|
277
|
+
intensity: string;
|
|
278
|
+
radius: string;
|
|
279
|
+
clustering: string;
|
|
280
|
+
simpleCount: string;
|
|
281
|
+
pieBy: (field: string) => string;
|
|
282
|
+
showPointDots: string;
|
|
283
|
+
countByField: string;
|
|
284
|
+
selectNumericField: string;
|
|
285
|
+
colorBubblesByValue: string;
|
|
286
|
+
altitudeDisplay: string;
|
|
287
|
+
altitude3d: string;
|
|
288
|
+
altitudeFlat: string;
|
|
289
|
+
altitudeBoth: string;
|
|
290
|
+
pointIcon: string;
|
|
251
291
|
};
|
|
252
292
|
drawingToolbar: {
|
|
253
293
|
drawingTools: string;
|
|
@@ -281,6 +321,9 @@ export declare const DEFAULT_MAP_LABELS: {
|
|
|
281
321
|
redo: string;
|
|
282
322
|
deleteSelected: (count: number) => string;
|
|
283
323
|
deleteSelectedAriaLabel: string;
|
|
324
|
+
deleteKey: string;
|
|
325
|
+
undoShortcut: string;
|
|
326
|
+
redoShortcut: string;
|
|
284
327
|
clearAll: (count: number) => string;
|
|
285
328
|
moreTools: string;
|
|
286
329
|
clearAllConfirmTitle: string;
|
|
@@ -288,47 +331,144 @@ export declare const DEFAULT_MAP_LABELS: {
|
|
|
288
331
|
clearAllConfirmOk: string;
|
|
289
332
|
clearAllConfirmCancel: string;
|
|
290
333
|
};
|
|
291
|
-
|
|
334
|
+
ingest: {
|
|
335
|
+
importing: (name: string) => string;
|
|
336
|
+
rendering: (name: string) => string;
|
|
337
|
+
preparingDownload: (name: string) => string;
|
|
338
|
+
progress: ({ received, total }: {
|
|
339
|
+
received: number;
|
|
340
|
+
total: number;
|
|
341
|
+
}) => string;
|
|
342
|
+
invalidFormat: string;
|
|
343
|
+
noFeatures: string;
|
|
344
|
+
workerUnresponsive: string;
|
|
345
|
+
workerCrashed: string;
|
|
346
|
+
};
|
|
347
|
+
dropZone: {
|
|
292
348
|
title: string;
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
349
|
+
subtitle: string;
|
|
350
|
+
};
|
|
351
|
+
canvas: {
|
|
352
|
+
defaultLayerName: string;
|
|
353
|
+
newTextLabel: string;
|
|
354
|
+
clusterOther: string;
|
|
355
|
+
mapInitFailedTitle: string;
|
|
356
|
+
mapInitFailedSubtitle: string;
|
|
357
|
+
mapInitFailedFallback: string;
|
|
358
|
+
refreshPage: string;
|
|
359
|
+
measureDistance: string;
|
|
360
|
+
measureArea: string;
|
|
361
|
+
measureDistanceHint: string;
|
|
362
|
+
measureAreaHint: string;
|
|
363
|
+
measureClearHint: string;
|
|
364
|
+
timelineToggle: string;
|
|
365
|
+
layersToggle: string;
|
|
366
|
+
layersToggleAriaLabel: string;
|
|
367
|
+
unsavedCount: (count: number) => string;
|
|
368
|
+
createPointFeature: string;
|
|
369
|
+
noEditableLayer: string;
|
|
370
|
+
tooltipId: string;
|
|
371
|
+
morePointsHint: string;
|
|
372
|
+
traceDuration: string;
|
|
373
|
+
traceDistance: string;
|
|
374
|
+
traceAvgSpeed: string;
|
|
375
|
+
traceGroup: (group: string) => string;
|
|
376
|
+
statusFeatureCount: (count: number) => string;
|
|
377
|
+
statusSelectedCount: (count: number) => string;
|
|
306
378
|
};
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
379
|
+
toasts: {
|
|
380
|
+
mapRestored: string;
|
|
381
|
+
mapRestoredDescription: ({ layerCount, featureCount }: {
|
|
382
|
+
layerCount: number;
|
|
383
|
+
featureCount: number;
|
|
384
|
+
}) => string;
|
|
385
|
+
featuresLoaded: string;
|
|
386
|
+
featuresLoadedDescription: (count: number) => string;
|
|
387
|
+
loadFailed: string;
|
|
388
|
+
loadFailedDescription: string;
|
|
389
|
+
saved: string;
|
|
390
|
+
savedDescription: string;
|
|
391
|
+
saveFailed: string;
|
|
392
|
+
saveFailedDescription: string;
|
|
393
|
+
noFeatures: string;
|
|
394
|
+
noFeaturesDescription: string;
|
|
395
|
+
geojsonLoadFailed: string;
|
|
396
|
+
invalidFile: string;
|
|
397
|
+
emptyGeojson: string;
|
|
398
|
+
hpLayerCreatedDescription: ({ layerName, count, reprojectedFrom }: import("./labels/message-labels").CreatedLayer) => string;
|
|
399
|
+
dataViewingLayer: string;
|
|
400
|
+
dataViewingLayerDescription: string;
|
|
401
|
+
hostOwnedLayer: string;
|
|
402
|
+
hostOwnedLayerDescription: string;
|
|
403
|
+
noLayerToLoadInto: string;
|
|
404
|
+
noLayerToLoadIntoDescription: string;
|
|
405
|
+
geojsonLoaded: string;
|
|
406
|
+
geojsonLoadedDescription: ({ count, reprojectedFrom, layerHidden }: {
|
|
407
|
+
count: number;
|
|
408
|
+
reprojectedFrom: string | null;
|
|
409
|
+
layerHidden: boolean;
|
|
410
|
+
}) => string;
|
|
411
|
+
layerAdded: string;
|
|
412
|
+
layerAddedDescription: ({ layerName, count, reprojectedFrom }: import("./labels/message-labels").CreatedLayer) => string;
|
|
413
|
+
screenshotFailed: string;
|
|
414
|
+
screenshotMapNotReady: string;
|
|
415
|
+
screenshotNotRendered: string;
|
|
416
|
+
noVisibleLayers: string;
|
|
417
|
+
noVisibleLayersDescription: string;
|
|
418
|
+
noLayerSelected: string;
|
|
419
|
+
noLayerSelectedDescription: string;
|
|
420
|
+
cannotClearHpLayer: string;
|
|
421
|
+
cannotClearHpLayerDescription: string;
|
|
422
|
+
layerEmpty: string;
|
|
423
|
+
layerEmptyDescription: string;
|
|
424
|
+
layerCleared: string;
|
|
425
|
+
layerClearedDescription: (layerName: string) => string;
|
|
426
|
+
terrainUnavailable: string;
|
|
427
|
+
terrainUnavailableDescription: string;
|
|
428
|
+
terrainEnabled: string;
|
|
429
|
+
terrainEnabledDescription: string;
|
|
430
|
+
exportFailed: string;
|
|
431
|
+
exportFailedDescription: string;
|
|
432
|
+
featuresAdded: string;
|
|
433
|
+
featuresAddedDescription: ({ count, layerName }: {
|
|
434
|
+
count: number;
|
|
435
|
+
layerName: string;
|
|
436
|
+
}) => string;
|
|
437
|
+
layerCreated: string;
|
|
438
|
+
searchFailed: string;
|
|
439
|
+
searchFailedDescription: string;
|
|
315
440
|
};
|
|
316
|
-
|
|
441
|
+
featureCap: {
|
|
317
442
|
title: string;
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
resultCount: ({ count, more }: {
|
|
323
|
-
count: number;
|
|
324
|
-
more: boolean;
|
|
443
|
+
layersOverLimit: ({ layerCount, max, dropped }: {
|
|
444
|
+
layerCount: number;
|
|
445
|
+
max: number;
|
|
446
|
+
dropped: number;
|
|
325
447
|
}) => string;
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
448
|
+
layerAlreadyHeld: ({ layerName, existing, max, kept, dropped }: {
|
|
449
|
+
layerName: string;
|
|
450
|
+
existing: number;
|
|
451
|
+
max: number;
|
|
452
|
+
kept: number;
|
|
453
|
+
dropped: number;
|
|
454
|
+
}) => string;
|
|
455
|
+
firstFeaturesAdded: ({ kept, sourceCount, layerName, dropped }: {
|
|
456
|
+
kept: number;
|
|
457
|
+
sourceCount: number;
|
|
458
|
+
layerName: string;
|
|
459
|
+
dropped: number;
|
|
460
|
+
}) => string;
|
|
461
|
+
restoreNote: string;
|
|
331
462
|
};
|
|
463
|
+
};
|
|
464
|
+
/** Every user-facing string of the map component. */
|
|
465
|
+
export type MapLabels = ReturnType<typeof buildMapLabels>;
|
|
466
|
+
/** The map's own labels in `locale`, built once per locale; English while that catalog is still loading. */
|
|
467
|
+
export declare function mapLabelsFor(locale: string): MapLabels;
|
|
468
|
+
/** The English labels: the defaults of helpers that run outside any map. */
|
|
469
|
+
export declare const DEFAULT_MAP_LABELS: MapLabels;
|
|
470
|
+
/** The labels a `MapEditorCanvas` shows; null outside one. */
|
|
471
|
+
export declare const MapLabelsContext: import("react").Context<{
|
|
332
472
|
propertiesPanel: {
|
|
333
473
|
showingFirstSelected: ({ shown, total }: {
|
|
334
474
|
shown: number;
|
|
@@ -404,212 +544,110 @@ export declare const DEFAULT_MAP_LABELS: {
|
|
|
404
544
|
strokeColor: string;
|
|
405
545
|
strokeWidth: string;
|
|
406
546
|
strokeOpacity: string;
|
|
407
|
-
fill: string;
|
|
408
|
-
fillColor: string;
|
|
409
|
-
fillOpacity: string;
|
|
410
|
-
resetFillToStroke: string;
|
|
411
|
-
iconSize: string;
|
|
412
|
-
propertyKey: string;
|
|
413
|
-
propertyValue: string;
|
|
414
|
-
newProperty: string;
|
|
415
|
-
};
|
|
416
|
-
iconPicker: {
|
|
417
|
-
title: string;
|
|
418
|
-
searchPlaceholder: string;
|
|
419
|
-
allCategories: (count: number) => string;
|
|
420
|
-
categoryWithCount: ({ category, count }: {
|
|
421
|
-
category: string;
|
|
422
|
-
count: number;
|
|
423
|
-
}) => string;
|
|
424
|
-
noIconsFound: (query: string) => string;
|
|
425
|
-
noIconSelected: string;
|
|
426
|
-
clearIcon: string;
|
|
427
|
-
cancel: string;
|
|
428
|
-
emptyTrigger: string;
|
|
429
|
-
anyEmojiHint: string;
|
|
430
|
-
useEmoji: (emoji: string) => string;
|
|
431
|
-
emojiNotEverywhere: string;
|
|
432
|
-
customEmoji: string;
|
|
433
|
-
emojiGroups: {
|
|
434
|
-
smileys: string;
|
|
435
|
-
people: string;
|
|
436
|
-
nature: string;
|
|
437
|
-
food: string;
|
|
438
|
-
travel: string;
|
|
439
|
-
activities: string;
|
|
440
|
-
objects: string;
|
|
441
|
-
symbols: string;
|
|
442
|
-
};
|
|
443
|
-
};
|
|
444
|
-
iconCategories: Record<"time" | "people" | "nature" | "food" | "activities" | "symbols" | "places" | "transport" | "work" | "shopping" | "communication" | "maritime" | "security" | "shapes" | "arrows", string>;
|
|
445
|
-
iconNames: Record<"search" | "eye" | "baby" | "dog" | "cat" | "horse" | "bird" | "fish" | "hamburger" | "pizza" | "compass" | "mountain" | "volcano" | "stadium" | "hospital" | "school" | "factory" | "castle" | "church" | "mosque" | "tent" | "train" | "bus" | "taxi" | "motorcycle" | "construction" | "anchor" | "sailboat" | "ship" | "helicopter" | "satellite" | "rocket" | "sun" | "star" | "cloud" | "rainbow" | "umbrella" | "snowflake" | "fire" | "trophy" | "basketball" | "bell" | "radio" | "camera" | "bookmark" | "package" | "briefcase" | "calendar" | "pushpin" | "key" | "hammer" | "shield" | "wrench" | "gear" | "microscope" | "radioactive" | "biohazard" | "map-pin" | "home" | "building" | "store" | "graduation" | "library" | "landmark" | "car" | "plane" | "bike" | "fuel" | "truck" | "utensils" | "coffee" | "beer" | "wine" | "ice-cream" | "apple" | "cake" | "trees" | "waves" | "flower" | "leaf" | "heart" | "flag" | "alert" | "info" | "check" | "x-mark" | "zap" | "peace" | "recycle" | "music" | "film" | "gamepad" | "medal" | "sports" | "fishing" | "art" | "test-tube" | "computer" | "cart" | "gift" | "money" | "credit-card" | "phone" | "mail" | "globe" | "tv" | "user" | "users" | "lighthouse" | "lock" | "police" | "siren" | "clock" | "tag" | "red-circle" | "blue-circle" | "green-circle" | "yellow-circle" | "orange-circle" | "purple-circle" | "white-circle" | "black-circle" | "red-square" | "blue-square" | "diamond" | "arrow-up" | "arrow-down" | "arrow-left" | "arrow-right" | "target", string>;
|
|
446
|
-
timebar: {
|
|
447
|
-
play: string;
|
|
448
|
-
pause: string;
|
|
449
|
-
reset: string;
|
|
450
|
-
cumulative: string;
|
|
451
|
-
toggle: string;
|
|
452
|
-
featureCount: (count: number) => string;
|
|
453
|
-
selectedCount: ({ selected, total }: {
|
|
454
|
-
selected: number;
|
|
455
|
-
total: number;
|
|
456
|
-
}) => string;
|
|
457
|
-
binEvents: (count: number) => string;
|
|
458
|
-
binEventsWithSelection: ({ count, selected }: {
|
|
459
|
-
count: number;
|
|
460
|
-
selected: number;
|
|
461
|
-
}) => string;
|
|
462
|
-
};
|
|
463
|
-
actionPanel: {
|
|
464
|
-
groupLabel: string;
|
|
465
|
-
saveTooltip: string;
|
|
466
|
-
saveAriaLabel: string;
|
|
467
|
-
save: string;
|
|
468
|
-
loadTooltip: string;
|
|
469
|
-
loadAriaLabel: string;
|
|
470
|
-
load: string;
|
|
471
|
-
};
|
|
472
|
-
};
|
|
473
|
-
/** Every user-facing string of the map component; see `DEFAULT_MAP_LABELS` for the English text. */
|
|
474
|
-
export type MapLabels = typeof DEFAULT_MAP_LABELS;
|
|
475
|
-
export declare const MapLabelsContext: import("react").Context<{
|
|
476
|
-
canvas: {
|
|
477
|
-
defaultLayerName: string;
|
|
478
|
-
newTextLabel: string;
|
|
479
|
-
clusterOther: string;
|
|
480
|
-
mapInitFailedTitle: string;
|
|
481
|
-
mapInitFailedSubtitle: string;
|
|
482
|
-
mapInitFailedFallback: string;
|
|
483
|
-
refreshPage: string;
|
|
484
|
-
measureDistance: string;
|
|
485
|
-
measureArea: string;
|
|
486
|
-
measureDistanceHint: string;
|
|
487
|
-
measureAreaHint: string;
|
|
488
|
-
measureClearHint: string;
|
|
489
|
-
timelineToggle: string;
|
|
490
|
-
layersToggle: string;
|
|
491
|
-
layersToggleAriaLabel: string;
|
|
492
|
-
unsavedCount: (count: number) => string;
|
|
493
|
-
createPointFeature: string;
|
|
494
|
-
noEditableLayer: string;
|
|
495
|
-
tooltipId: string;
|
|
496
|
-
morePointsHint: string;
|
|
497
|
-
traceDuration: string;
|
|
498
|
-
traceDistance: string;
|
|
499
|
-
traceAvgSpeed: string;
|
|
500
|
-
traceGroup: (group: string) => string;
|
|
501
|
-
statusFeatureCount: (count: number) => string;
|
|
502
|
-
statusSelectedCount: (count: number) => string;
|
|
503
|
-
};
|
|
504
|
-
toasts: {
|
|
505
|
-
screenshotFailed: string;
|
|
506
|
-
screenshotMapNotReady: string;
|
|
507
|
-
screenshotNotRendered: string;
|
|
508
|
-
noVisibleLayers: string;
|
|
509
|
-
noVisibleLayersDescription: string;
|
|
510
|
-
noLayerSelected: string;
|
|
511
|
-
noLayerSelectedDescription: string;
|
|
512
|
-
cannotClearHpLayer: string;
|
|
513
|
-
cannotClearHpLayerDescription: string;
|
|
514
|
-
layerEmpty: string;
|
|
515
|
-
layerEmptyDescription: string;
|
|
516
|
-
layerCleared: string;
|
|
517
|
-
layerClearedDescription: (layerName: string) => string;
|
|
518
|
-
terrainUnavailable: string;
|
|
519
|
-
terrainUnavailableDescription: string;
|
|
520
|
-
terrainEnabled: string;
|
|
521
|
-
terrainEnabledDescription: string;
|
|
522
|
-
exportFailed: string;
|
|
523
|
-
exportFailedDescription: string;
|
|
524
|
-
featuresAdded: string;
|
|
525
|
-
featuresAddedDescription: ({ count, layerName }: {
|
|
526
|
-
count: number;
|
|
527
|
-
layerName: string;
|
|
528
|
-
}) => string;
|
|
529
|
-
layerCreated: string;
|
|
530
|
-
searchFailed: string;
|
|
531
|
-
searchFailedDescription: string;
|
|
532
|
-
mapRestored: string;
|
|
533
|
-
mapRestoredDescription: ({ layerCount, featureCount }: {
|
|
534
|
-
layerCount: number;
|
|
535
|
-
featureCount: number;
|
|
536
|
-
}) => string;
|
|
537
|
-
featuresLoaded: string;
|
|
538
|
-
featuresLoadedDescription: (count: number) => string;
|
|
539
|
-
loadFailed: string;
|
|
540
|
-
loadFailedDescription: string;
|
|
541
|
-
saved: string;
|
|
542
|
-
savedDescription: string;
|
|
543
|
-
saveFailed: string;
|
|
544
|
-
saveFailedDescription: string;
|
|
545
|
-
noFeatures: string;
|
|
546
|
-
noFeaturesDescription: string;
|
|
547
|
-
geojsonLoadFailed: string;
|
|
548
|
-
invalidFile: string;
|
|
549
|
-
emptyGeojson: string;
|
|
550
|
-
/** `reprojectedFrom` is the source CRS when the file was reprojected, otherwise null. */
|
|
551
|
-
hpLayerCreatedDescription: ({ layerName, count, reprojectedFrom }: {
|
|
552
|
-
layerName: string;
|
|
547
|
+
fill: string;
|
|
548
|
+
fillColor: string;
|
|
549
|
+
fillOpacity: string;
|
|
550
|
+
resetFillToStroke: string;
|
|
551
|
+
iconSize: string;
|
|
552
|
+
propertyKey: string;
|
|
553
|
+
propertyValue: string;
|
|
554
|
+
newProperty: string;
|
|
555
|
+
};
|
|
556
|
+
iconPicker: {
|
|
557
|
+
title: string;
|
|
558
|
+
searchPlaceholder: string;
|
|
559
|
+
allCategories: (count: number) => string;
|
|
560
|
+
categoryWithCount: ({ category, count }: {
|
|
561
|
+
category: string;
|
|
553
562
|
count: number;
|
|
554
|
-
reprojectedFrom: string | null;
|
|
555
563
|
}) => string;
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
564
|
+
noIconsFound: (query: string) => string;
|
|
565
|
+
noIconSelected: string;
|
|
566
|
+
clearIcon: string;
|
|
567
|
+
cancel: string;
|
|
568
|
+
emptyTrigger: string;
|
|
569
|
+
anyEmojiHint: string;
|
|
570
|
+
useEmoji: (emoji: string) => string;
|
|
571
|
+
emojiNotEverywhere: string;
|
|
572
|
+
customEmoji: string;
|
|
573
|
+
emojiGroups: {
|
|
574
|
+
smileys: string;
|
|
575
|
+
people: string;
|
|
576
|
+
nature: string;
|
|
577
|
+
food: string;
|
|
578
|
+
travel: string;
|
|
579
|
+
activities: string;
|
|
580
|
+
objects: string;
|
|
581
|
+
symbols: string;
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
iconCategories: Record<"people" | "nature" | "food" | "activities" | "symbols" | "places" | "transport" | "work" | "shopping" | "communication" | "maritime" | "security" | "time" | "shapes" | "arrows", string>;
|
|
585
|
+
iconNames: Record<"search" | "anchor" | "eye" | "baby" | "dog" | "cat" | "horse" | "bird" | "fish" | "hamburger" | "pizza" | "compass" | "mountain" | "volcano" | "stadium" | "hospital" | "school" | "factory" | "castle" | "church" | "mosque" | "tent" | "train" | "bus" | "taxi" | "motorcycle" | "construction" | "sailboat" | "ship" | "helicopter" | "satellite" | "rocket" | "sun" | "star" | "cloud" | "rainbow" | "umbrella" | "snowflake" | "fire" | "trophy" | "basketball" | "bell" | "radio" | "camera" | "bookmark" | "package" | "briefcase" | "calendar" | "pushpin" | "key" | "hammer" | "shield" | "wrench" | "gear" | "microscope" | "radioactive" | "biohazard" | "map-pin" | "home" | "building" | "store" | "graduation" | "library" | "landmark" | "car" | "plane" | "bike" | "fuel" | "truck" | "utensils" | "coffee" | "beer" | "wine" | "ice-cream" | "apple" | "cake" | "trees" | "waves" | "flower" | "leaf" | "heart" | "flag" | "alert" | "info" | "check" | "x-mark" | "zap" | "peace" | "recycle" | "music" | "film" | "gamepad" | "medal" | "sports" | "fishing" | "art" | "test-tube" | "computer" | "cart" | "gift" | "money" | "credit-card" | "phone" | "mail" | "globe" | "tv" | "user" | "users" | "lighthouse" | "lock" | "police" | "siren" | "clock" | "tag" | "red-circle" | "blue-circle" | "green-circle" | "yellow-circle" | "orange-circle" | "purple-circle" | "white-circle" | "black-circle" | "red-square" | "blue-square" | "diamond" | "arrow-up" | "arrow-down" | "arrow-left" | "arrow-right" | "target", string>;
|
|
586
|
+
timebar: {
|
|
587
|
+
play: string;
|
|
588
|
+
pause: string;
|
|
589
|
+
reset: string;
|
|
590
|
+
cumulative: string;
|
|
591
|
+
toggle: string;
|
|
592
|
+
featureCount: (count: number) => string;
|
|
593
|
+
selectedCount: ({ selected, total }: {
|
|
594
|
+
selected: number;
|
|
595
|
+
total: number;
|
|
567
596
|
}) => string;
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
layerName: string;
|
|
597
|
+
binEvents: (count: number) => string;
|
|
598
|
+
binEventsWithSelection: ({ count, selected }: {
|
|
571
599
|
count: number;
|
|
572
|
-
|
|
600
|
+
selected: number;
|
|
573
601
|
}) => string;
|
|
574
602
|
};
|
|
575
|
-
|
|
603
|
+
actionPanel: {
|
|
604
|
+
groupLabel: string;
|
|
605
|
+
saveTooltip: string;
|
|
606
|
+
saveAriaLabel: string;
|
|
607
|
+
save: string;
|
|
608
|
+
loadTooltip: string;
|
|
609
|
+
loadAriaLabel: string;
|
|
610
|
+
load: string;
|
|
611
|
+
};
|
|
612
|
+
navigate: {
|
|
576
613
|
title: string;
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
kept: number;
|
|
591
|
-
sourceCount: number;
|
|
592
|
-
layerName: string;
|
|
593
|
-
dropped: number;
|
|
594
|
-
}) => string;
|
|
595
|
-
restoreNote: string;
|
|
614
|
+
addressPlaceholder: string;
|
|
615
|
+
searchAddress: string;
|
|
616
|
+
orCoordinates: string;
|
|
617
|
+
latitude: string;
|
|
618
|
+
longitude: string;
|
|
619
|
+
latitudePlaceholder: string;
|
|
620
|
+
longitudePlaceholder: string;
|
|
621
|
+
dropPoint: string;
|
|
622
|
+
goToCoordinates: string;
|
|
623
|
+
locationNotFound: string;
|
|
624
|
+
locationNotFoundDescription: string;
|
|
625
|
+
searchError: string;
|
|
626
|
+
searchErrorDescription: string;
|
|
596
627
|
};
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
invalidFormat: string;
|
|
606
|
-
noFeatures: string;
|
|
607
|
-
workerUnresponsive: string;
|
|
608
|
-
workerCrashed: string;
|
|
628
|
+
coordinates: {
|
|
629
|
+
invalidCoordinates: string;
|
|
630
|
+
invalidCoordinatesDescription: string;
|
|
631
|
+
invalidLatitude: string;
|
|
632
|
+
invalidLongitude: string;
|
|
633
|
+
latitudeOutOfRange: string;
|
|
634
|
+
longitudeOutOfRange: string;
|
|
635
|
+
notANumber: string;
|
|
609
636
|
};
|
|
610
|
-
|
|
637
|
+
featureSearch: {
|
|
611
638
|
title: string;
|
|
612
|
-
|
|
639
|
+
placeholder: string;
|
|
640
|
+
titlesMode: string;
|
|
641
|
+
fullJsonMode: string;
|
|
642
|
+
resultCount: ({ count, more }: {
|
|
643
|
+
count: number;
|
|
644
|
+
more: boolean;
|
|
645
|
+
}) => string;
|
|
646
|
+
totalCount: (count: number) => string;
|
|
647
|
+
noResults: string;
|
|
648
|
+
typeToSearch: (count: number) => string;
|
|
649
|
+
untitledFeature: string;
|
|
650
|
+
unknownGeometry: string;
|
|
613
651
|
};
|
|
614
652
|
mapOptions: {
|
|
615
653
|
title: string;
|
|
@@ -655,24 +693,20 @@ export declare const MapLabelsContext: import("react").Context<{
|
|
|
655
693
|
moveSelectedHere: (count: number) => string;
|
|
656
694
|
};
|
|
657
695
|
layerSettings: {
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
altitudeDisplay: string;
|
|
673
|
-
altitude3d: string;
|
|
674
|
-
altitudeFlat: string;
|
|
675
|
-
altitudeBoth: string;
|
|
696
|
+
iconSameForAll: string;
|
|
697
|
+
iconByFieldValue: string;
|
|
698
|
+
icons: string;
|
|
699
|
+
iconsAssigning: string;
|
|
700
|
+
iconsAssignedByAi: string;
|
|
701
|
+
iconsAssignedByKeywords: string;
|
|
702
|
+
reassignIcons: string;
|
|
703
|
+
reassignIconsWithAi: string;
|
|
704
|
+
reassignIconsByKeywords: string;
|
|
705
|
+
iconAiUnavailable: (error: string) => string;
|
|
706
|
+
iconAiNoUsableIcon: string;
|
|
707
|
+
assignNewIcons: (count: number) => string;
|
|
708
|
+
iconOtherValues: string;
|
|
709
|
+
iconEmptyOrUnassigned: string;
|
|
676
710
|
visualSettings: string;
|
|
677
711
|
labels: string;
|
|
678
712
|
labelFromName: string;
|
|
@@ -690,21 +724,6 @@ export declare const MapLabelsContext: import("react").Context<{
|
|
|
690
724
|
fixedColor: string;
|
|
691
725
|
categories: string;
|
|
692
726
|
gradient: string;
|
|
693
|
-
pointIcon: string;
|
|
694
|
-
iconSameForAll: string;
|
|
695
|
-
iconByFieldValue: string;
|
|
696
|
-
icons: string;
|
|
697
|
-
iconsAssigning: string;
|
|
698
|
-
iconsAssignedByAi: string;
|
|
699
|
-
iconsAssignedByKeywords: string;
|
|
700
|
-
reassignIcons: string;
|
|
701
|
-
reassignIconsWithAi: string;
|
|
702
|
-
reassignIconsByKeywords: string;
|
|
703
|
-
iconAiUnavailable: (error: string) => string;
|
|
704
|
-
iconAiNoUsableIcon: string;
|
|
705
|
-
assignNewIcons: (count: number) => string;
|
|
706
|
-
iconOtherValues: string;
|
|
707
|
-
iconEmptyOrUnassigned: string;
|
|
708
727
|
legend: string;
|
|
709
728
|
legendTop: (count: number) => string;
|
|
710
729
|
legendSampled: string;
|
|
@@ -712,6 +731,25 @@ export declare const MapLabelsContext: import("react").Context<{
|
|
|
712
731
|
noMatches: string;
|
|
713
732
|
showLess: string;
|
|
714
733
|
showAll: (count: number) => string;
|
|
734
|
+
pointFeatures: string;
|
|
735
|
+
traceLines: string;
|
|
736
|
+
connectAllPoints: string;
|
|
737
|
+
groupBy: (field: string) => string;
|
|
738
|
+
heatmap: string;
|
|
739
|
+
intensity: string;
|
|
740
|
+
radius: string;
|
|
741
|
+
clustering: string;
|
|
742
|
+
simpleCount: string;
|
|
743
|
+
pieBy: (field: string) => string;
|
|
744
|
+
showPointDots: string;
|
|
745
|
+
countByField: string;
|
|
746
|
+
selectNumericField: string;
|
|
747
|
+
colorBubblesByValue: string;
|
|
748
|
+
altitudeDisplay: string;
|
|
749
|
+
altitude3d: string;
|
|
750
|
+
altitudeFlat: string;
|
|
751
|
+
altitudeBoth: string;
|
|
752
|
+
pointIcon: string;
|
|
715
753
|
};
|
|
716
754
|
drawingToolbar: {
|
|
717
755
|
drawingTools: string;
|
|
@@ -742,205 +780,160 @@ export declare const MapLabelsContext: import("react").Context<{
|
|
|
742
780
|
drawArrow: string;
|
|
743
781
|
drawCircle: string;
|
|
744
782
|
undo: string;
|
|
745
|
-
redo: string;
|
|
746
|
-
deleteSelected: (count: number) => string;
|
|
747
|
-
deleteSelectedAriaLabel: string;
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
addressPlaceholder: string;
|
|
758
|
-
searchAddress: string;
|
|
759
|
-
orCoordinates: string;
|
|
760
|
-
latitude: string;
|
|
761
|
-
longitude: string;
|
|
762
|
-
latitudePlaceholder: string;
|
|
763
|
-
longitudePlaceholder: string;
|
|
764
|
-
dropPoint: string;
|
|
765
|
-
goToCoordinates: string;
|
|
766
|
-
locationNotFound: string;
|
|
767
|
-
locationNotFoundDescription: string;
|
|
768
|
-
searchError: string;
|
|
769
|
-
searchErrorDescription: string;
|
|
770
|
-
};
|
|
771
|
-
coordinates: {
|
|
772
|
-
invalidCoordinates: string;
|
|
773
|
-
invalidCoordinatesDescription: string;
|
|
774
|
-
invalidLatitude: string;
|
|
775
|
-
invalidLongitude: string;
|
|
776
|
-
latitudeOutOfRange: string;
|
|
777
|
-
longitudeOutOfRange: string;
|
|
778
|
-
notANumber: string;
|
|
779
|
-
};
|
|
780
|
-
featureSearch: {
|
|
781
|
-
title: string;
|
|
782
|
-
placeholder: string;
|
|
783
|
-
titlesMode: string;
|
|
784
|
-
fullJsonMode: string;
|
|
785
|
-
/** `more` is true when the result list stopped at its cap. */
|
|
786
|
-
resultCount: ({ count, more }: {
|
|
787
|
-
count: number;
|
|
788
|
-
more: boolean;
|
|
789
|
-
}) => string;
|
|
790
|
-
totalCount: (count: number) => string;
|
|
791
|
-
noResults: string;
|
|
792
|
-
typeToSearch: (count: number) => string;
|
|
793
|
-
untitledFeature: string;
|
|
794
|
-
unknownGeometry: string;
|
|
783
|
+
redo: string;
|
|
784
|
+
deleteSelected: (count: number) => string;
|
|
785
|
+
deleteSelectedAriaLabel: string;
|
|
786
|
+
deleteKey: string;
|
|
787
|
+
undoShortcut: string;
|
|
788
|
+
redoShortcut: string;
|
|
789
|
+
clearAll: (count: number) => string;
|
|
790
|
+
moreTools: string;
|
|
791
|
+
clearAllConfirmTitle: string;
|
|
792
|
+
clearAllConfirmContent: (count: number) => string;
|
|
793
|
+
clearAllConfirmOk: string;
|
|
794
|
+
clearAllConfirmCancel: string;
|
|
795
795
|
};
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
796
|
+
ingest: {
|
|
797
|
+
importing: (name: string) => string;
|
|
798
|
+
rendering: (name: string) => string;
|
|
799
|
+
preparingDownload: (name: string) => string;
|
|
800
|
+
progress: ({ received, total }: {
|
|
801
|
+
received: number;
|
|
799
802
|
total: number;
|
|
800
803
|
}) => string;
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
hpLayerHint: string;
|
|
806
|
-
hpBadge: string;
|
|
807
|
-
viewBadge: string;
|
|
808
|
-
openInNewTab: string;
|
|
809
|
-
actions: string;
|
|
810
|
-
copyToLayer: string;
|
|
811
|
-
moveToLayer: string;
|
|
812
|
-
untitledLayer: string;
|
|
813
|
-
newLayer: string;
|
|
814
|
-
newLayerPrompt: string;
|
|
815
|
-
changeIcon: string;
|
|
816
|
-
setIcon: string;
|
|
817
|
-
deleteFeatures: (count: number) => string;
|
|
818
|
-
deleteFeature: string;
|
|
819
|
-
entityCards: string;
|
|
820
|
-
entityCardsCount: (count: number) => string;
|
|
821
|
-
properties: string;
|
|
822
|
-
noEntityCardProvider: string;
|
|
823
|
-
selectSingleToSeeProperties: string;
|
|
824
|
-
selectSingleToEdit: string;
|
|
825
|
-
pointDetail: string;
|
|
826
|
-
layer: string;
|
|
827
|
-
octostarRecord: string;
|
|
828
|
-
localMapFeature: string;
|
|
829
|
-
unsaved: string;
|
|
830
|
-
createEntity: string;
|
|
831
|
-
untitledRecord: string;
|
|
832
|
-
refreshFromRecord: string;
|
|
833
|
-
recordFields: string;
|
|
834
|
-
id: string;
|
|
835
|
-
featureSaved: string;
|
|
836
|
-
savedTo: (workspace: string) => string;
|
|
837
|
-
saveFailed: string;
|
|
838
|
-
saveFeatureFailed: string;
|
|
839
|
-
refreshed: string;
|
|
840
|
-
refreshedDescription: string;
|
|
841
|
-
refreshFailed: string;
|
|
842
|
-
};
|
|
843
|
-
featureFields: {
|
|
844
|
-
label: string;
|
|
845
|
-
name: string;
|
|
846
|
-
enterLabel: string;
|
|
847
|
-
featureName: string;
|
|
848
|
-
noName: string;
|
|
849
|
-
icon: string;
|
|
850
|
-
type: string;
|
|
851
|
-
noType: string;
|
|
852
|
-
latLng: string;
|
|
853
|
-
centroidHint: string;
|
|
854
|
-
latitude: string;
|
|
855
|
-
longitude: string;
|
|
856
|
-
temporal: string;
|
|
857
|
-
dateCount: (count: number) => string;
|
|
858
|
-
start: string;
|
|
859
|
-
end: string;
|
|
860
|
-
style: string;
|
|
861
|
-
fontSize: string;
|
|
862
|
-
fontColor: string;
|
|
863
|
-
fontWeight: string;
|
|
864
|
-
fontWeightNormal: string;
|
|
865
|
-
fontWeightBold: string;
|
|
866
|
-
arrowSize: string;
|
|
867
|
-
stroke: string;
|
|
868
|
-
strokeColor: string;
|
|
869
|
-
strokeWidth: string;
|
|
870
|
-
strokeOpacity: string;
|
|
871
|
-
fill: string;
|
|
872
|
-
fillColor: string;
|
|
873
|
-
fillOpacity: string;
|
|
874
|
-
resetFillToStroke: string;
|
|
875
|
-
iconSize: string;
|
|
876
|
-
propertyKey: string;
|
|
877
|
-
propertyValue: string;
|
|
878
|
-
newProperty: string;
|
|
804
|
+
invalidFormat: string;
|
|
805
|
+
noFeatures: string;
|
|
806
|
+
workerUnresponsive: string;
|
|
807
|
+
workerCrashed: string;
|
|
879
808
|
};
|
|
880
|
-
|
|
809
|
+
dropZone: {
|
|
881
810
|
title: string;
|
|
882
|
-
|
|
883
|
-
allCategories: (count: number) => string;
|
|
884
|
-
categoryWithCount: ({ category, count }: {
|
|
885
|
-
category: string;
|
|
886
|
-
count: number;
|
|
887
|
-
}) => string;
|
|
888
|
-
noIconsFound: (query: string) => string;
|
|
889
|
-
noIconSelected: string;
|
|
890
|
-
clearIcon: string;
|
|
891
|
-
cancel: string;
|
|
892
|
-
emptyTrigger: string;
|
|
893
|
-
anyEmojiHint: string;
|
|
894
|
-
useEmoji: (emoji: string) => string;
|
|
895
|
-
emojiNotEverywhere: string;
|
|
896
|
-
customEmoji: string;
|
|
897
|
-
emojiGroups: {
|
|
898
|
-
smileys: string;
|
|
899
|
-
people: string;
|
|
900
|
-
nature: string;
|
|
901
|
-
food: string;
|
|
902
|
-
travel: string;
|
|
903
|
-
activities: string;
|
|
904
|
-
objects: string;
|
|
905
|
-
symbols: string;
|
|
906
|
-
};
|
|
811
|
+
subtitle: string;
|
|
907
812
|
};
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
813
|
+
canvas: {
|
|
814
|
+
defaultLayerName: string;
|
|
815
|
+
newTextLabel: string;
|
|
816
|
+
clusterOther: string;
|
|
817
|
+
mapInitFailedTitle: string;
|
|
818
|
+
mapInitFailedSubtitle: string;
|
|
819
|
+
mapInitFailedFallback: string;
|
|
820
|
+
refreshPage: string;
|
|
821
|
+
measureDistance: string;
|
|
822
|
+
measureArea: string;
|
|
823
|
+
measureDistanceHint: string;
|
|
824
|
+
measureAreaHint: string;
|
|
825
|
+
measureClearHint: string;
|
|
826
|
+
timelineToggle: string;
|
|
827
|
+
layersToggle: string;
|
|
828
|
+
layersToggleAriaLabel: string;
|
|
829
|
+
unsavedCount: (count: number) => string;
|
|
830
|
+
createPointFeature: string;
|
|
831
|
+
noEditableLayer: string;
|
|
832
|
+
tooltipId: string;
|
|
833
|
+
morePointsHint: string;
|
|
834
|
+
traceDuration: string;
|
|
835
|
+
traceDistance: string;
|
|
836
|
+
traceAvgSpeed: string;
|
|
837
|
+
traceGroup: (group: string) => string;
|
|
838
|
+
statusFeatureCount: (count: number) => string;
|
|
839
|
+
statusSelectedCount: (count: number) => string;
|
|
840
|
+
};
|
|
841
|
+
toasts: {
|
|
842
|
+
mapRestored: string;
|
|
843
|
+
mapRestoredDescription: ({ layerCount, featureCount }: {
|
|
844
|
+
layerCount: number;
|
|
845
|
+
featureCount: number;
|
|
920
846
|
}) => string;
|
|
921
|
-
|
|
922
|
-
|
|
847
|
+
featuresLoaded: string;
|
|
848
|
+
featuresLoadedDescription: (count: number) => string;
|
|
849
|
+
loadFailed: string;
|
|
850
|
+
loadFailedDescription: string;
|
|
851
|
+
saved: string;
|
|
852
|
+
savedDescription: string;
|
|
853
|
+
saveFailed: string;
|
|
854
|
+
saveFailedDescription: string;
|
|
855
|
+
noFeatures: string;
|
|
856
|
+
noFeaturesDescription: string;
|
|
857
|
+
geojsonLoadFailed: string;
|
|
858
|
+
invalidFile: string;
|
|
859
|
+
emptyGeojson: string;
|
|
860
|
+
hpLayerCreatedDescription: ({ layerName, count, reprojectedFrom }: import("./labels/message-labels").CreatedLayer) => string;
|
|
861
|
+
dataViewingLayer: string;
|
|
862
|
+
dataViewingLayerDescription: string;
|
|
863
|
+
hostOwnedLayer: string;
|
|
864
|
+
hostOwnedLayerDescription: string;
|
|
865
|
+
noLayerToLoadInto: string;
|
|
866
|
+
noLayerToLoadIntoDescription: string;
|
|
867
|
+
geojsonLoaded: string;
|
|
868
|
+
geojsonLoadedDescription: ({ count, reprojectedFrom, layerHidden }: {
|
|
923
869
|
count: number;
|
|
924
|
-
|
|
870
|
+
reprojectedFrom: string | null;
|
|
871
|
+
layerHidden: boolean;
|
|
872
|
+
}) => string;
|
|
873
|
+
layerAdded: string;
|
|
874
|
+
layerAddedDescription: ({ layerName, count, reprojectedFrom }: import("./labels/message-labels").CreatedLayer) => string;
|
|
875
|
+
screenshotFailed: string;
|
|
876
|
+
screenshotMapNotReady: string;
|
|
877
|
+
screenshotNotRendered: string;
|
|
878
|
+
noVisibleLayers: string;
|
|
879
|
+
noVisibleLayersDescription: string;
|
|
880
|
+
noLayerSelected: string;
|
|
881
|
+
noLayerSelectedDescription: string;
|
|
882
|
+
cannotClearHpLayer: string;
|
|
883
|
+
cannotClearHpLayerDescription: string;
|
|
884
|
+
layerEmpty: string;
|
|
885
|
+
layerEmptyDescription: string;
|
|
886
|
+
layerCleared: string;
|
|
887
|
+
layerClearedDescription: (layerName: string) => string;
|
|
888
|
+
terrainUnavailable: string;
|
|
889
|
+
terrainUnavailableDescription: string;
|
|
890
|
+
terrainEnabled: string;
|
|
891
|
+
terrainEnabledDescription: string;
|
|
892
|
+
exportFailed: string;
|
|
893
|
+
exportFailedDescription: string;
|
|
894
|
+
featuresAdded: string;
|
|
895
|
+
featuresAddedDescription: ({ count, layerName }: {
|
|
896
|
+
count: number;
|
|
897
|
+
layerName: string;
|
|
925
898
|
}) => string;
|
|
899
|
+
layerCreated: string;
|
|
900
|
+
searchFailed: string;
|
|
901
|
+
searchFailedDescription: string;
|
|
926
902
|
};
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
903
|
+
featureCap: {
|
|
904
|
+
title: string;
|
|
905
|
+
layersOverLimit: ({ layerCount, max, dropped }: {
|
|
906
|
+
layerCount: number;
|
|
907
|
+
max: number;
|
|
908
|
+
dropped: number;
|
|
909
|
+
}) => string;
|
|
910
|
+
layerAlreadyHeld: ({ layerName, existing, max, kept, dropped }: {
|
|
911
|
+
layerName: string;
|
|
912
|
+
existing: number;
|
|
913
|
+
max: number;
|
|
914
|
+
kept: number;
|
|
915
|
+
dropped: number;
|
|
916
|
+
}) => string;
|
|
917
|
+
firstFeaturesAdded: ({ kept, sourceCount, layerName, dropped }: {
|
|
918
|
+
kept: number;
|
|
919
|
+
sourceCount: number;
|
|
920
|
+
layerName: string;
|
|
921
|
+
dropped: number;
|
|
922
|
+
}) => string;
|
|
923
|
+
restoreNote: string;
|
|
935
924
|
};
|
|
936
|
-
}>;
|
|
925
|
+
} | null>;
|
|
937
926
|
/**
|
|
938
|
-
* A layer's name as shown: a layer still called "Default Layer"
|
|
927
|
+
* A layer's name as shown: a layer still called "Default Layer" shows the map's translation, any other name shows
|
|
939
928
|
* as stored. Matched by name alone because restoring a saved map gives every layer a new id.
|
|
940
929
|
*/
|
|
941
930
|
export declare function shownLayerName(layer: {
|
|
942
931
|
id: string;
|
|
943
932
|
name: string;
|
|
944
933
|
}, labels: MapLabels['canvas']): string;
|
|
934
|
+
/**
|
|
935
|
+
* The labels of the enclosing map. A component a host renders on its own, such as a `Timebar`, gets the map's
|
|
936
|
+
* labels in the page's language.
|
|
937
|
+
*/
|
|
945
938
|
export declare function useMapLabels(): MapLabels;
|
|
946
939
|
//# sourceMappingURL=map-labels.d.ts.map
|