@elaraai/east-ui 1.0.13 → 1.0.15

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 (40) hide show
  1. package/dist/src/collections/index.d.ts +1 -0
  2. package/dist/src/collections/index.d.ts.map +1 -1
  3. package/dist/src/collections/index.js +1 -0
  4. package/dist/src/collections/index.js.map +1 -1
  5. package/dist/src/collections/map/index.d.ts +1180 -0
  6. package/dist/src/collections/map/index.d.ts.map +1 -0
  7. package/dist/src/collections/map/index.js +802 -0
  8. package/dist/src/collections/map/index.js.map +1 -0
  9. package/dist/src/collections/map/types.d.ts +586 -0
  10. package/dist/src/collections/map/types.d.ts.map +1 -0
  11. package/dist/src/collections/map/types.js +315 -0
  12. package/dist/src/collections/map/types.js.map +1 -0
  13. package/dist/src/component.d.ts +225 -0
  14. package/dist/src/component.d.ts.map +1 -1
  15. package/dist/src/component.js +36 -0
  16. package/dist/src/component.js.map +1 -1
  17. package/dist/src/index.d.ts +1 -1
  18. package/dist/src/index.d.ts.map +1 -1
  19. package/dist/src/index.js +1 -1
  20. package/dist/src/index.js.map +1 -1
  21. package/dist/src/internal.d.ts +1 -1
  22. package/dist/src/internal.d.ts.map +1 -1
  23. package/dist/src/internal.js +1 -1
  24. package/dist/src/internal.js.map +1 -1
  25. package/dist/src/runtime/collections/index.d.ts +1 -0
  26. package/dist/src/runtime/collections/index.d.ts.map +1 -1
  27. package/dist/src/runtime/collections/index.js +1 -0
  28. package/dist/src/runtime/collections/index.js.map +1 -1
  29. package/dist/src/runtime/collections/map.d.ts +74 -0
  30. package/dist/src/runtime/collections/map.d.ts.map +1 -0
  31. package/dist/src/runtime/collections/map.js +70 -0
  32. package/dist/src/runtime/collections/map.js.map +1 -0
  33. package/dist/test/collections/map.examples.d.ts +8 -0
  34. package/dist/test/collections/map.examples.d.ts.map +1 -0
  35. package/dist/test/collections/map.examples.js +150 -0
  36. package/dist/test/collections/map.examples.js.map +1 -0
  37. package/dist/test/collections/schematic.examples.d.ts.map +1 -1
  38. package/dist/test/collections/schematic.examples.js +30 -2
  39. package/dist/test/collections/schematic.examples.js.map +1 -1
  40. package/package.json +3 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/collections/map/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EAIH,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,WAAW,EACX,SAAS,EACT,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,GACb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAqB,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAwB,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAiB,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EACH,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,YAAY,GACf,MAAM,YAAY,CAAC;AAEpB,kBAAkB;AAClB,OAAO,EACH,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,YAAY,GACf,MAAM,YAAY,CAAC;AAQpB,SAAS,SAAS,CAAC,IAAgC;IAC/C,OAAO,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACjE,CAAC;AAED;sDACsD;AACtD,SAAS,UAAU,CAAC,IAAkE;IAClF,IAAI,IAAI,KAAK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;;;;;WAMG;QACH,MAAM,EAAE,aAAa;QACrB;;;;;WAKG;QACH,SAAS,EAAE,gBAAgB;QAC3B;;;;;;;WAOG;QACH,IAAI,EAAE,WAAW;QACjB;;;;;;WAMG;QACH,KAAK,EAAE,YAAY;QACnB;;;;;;;WAOG;QACH,OAAO,EAAE,cAAc;KAC1B;CACK,CAAC"}
@@ -0,0 +1,586 @@
1
+ /**
2
+ * Copyright (c) 2025 Elara AI Pty Ltd
3
+ * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
+ */
5
+ import { ArrayType, BooleanType, FloatType, IntegerType, NullType, OptionType, StringType, StructType, VariantType } from "@elaraai/east";
6
+ /**
7
+ * A geographic point.
8
+ *
9
+ * @remarks
10
+ * Leaflet's coordinate order is `[lat, lng]` and H3 cell boundaries match,
11
+ * so values flow straight through to the renderer with no swap.
12
+ *
13
+ * @property lat - Latitude in degrees
14
+ * @property lng - Longitude in degrees
15
+ */
16
+ export declare const MapLatLngType: StructType<{
17
+ /** Latitude in degrees */
18
+ readonly lat: FloatType;
19
+ /** Longitude in degrees */
20
+ readonly lng: FloatType;
21
+ }>;
22
+ /**
23
+ * Type representing geographic points.
24
+ */
25
+ export type MapLatLngType = typeof MapLatLngType;
26
+ /**
27
+ * Theme tone for area fills, hex strokes, markers, and lines.
28
+ *
29
+ * @remarks
30
+ * Colour stays theme-owned: data selects a tone and the renderer's recipe
31
+ * maps each tone to its token.
32
+ *
33
+ * @property brand - Brand teal
34
+ * @property ink - Foreground ink
35
+ * @property muted - Muted foreground
36
+ * @property success - Status ok
37
+ * @property warning - Status warn
38
+ * @property danger - Status bad
39
+ */
40
+ export declare const MapToneType: VariantType<{
41
+ /** Brand teal */
42
+ readonly brand: NullType;
43
+ /** Foreground ink */
44
+ readonly ink: NullType;
45
+ /** Muted foreground */
46
+ readonly muted: NullType;
47
+ /** Status ok */
48
+ readonly success: NullType;
49
+ /** Status warn */
50
+ readonly warning: NullType;
51
+ /** Status bad */
52
+ readonly danger: NullType;
53
+ }>;
54
+ /**
55
+ * Type representing map tones.
56
+ */
57
+ export type MapToneType = typeof MapToneType;
58
+ /**
59
+ * CARTO raster basemap preset.
60
+ *
61
+ * @property positron - Light, low-saturation base (default)
62
+ * @property darkMatter - Dark base
63
+ * @property voyager - Balanced colour base
64
+ */
65
+ export declare const MapCartoStyleType: VariantType<{
66
+ /** Light, low-saturation base (default) */
67
+ readonly positron: NullType;
68
+ /** Dark base */
69
+ readonly darkMatter: NullType;
70
+ /** Balanced colour base */
71
+ readonly voyager: NullType;
72
+ }>;
73
+ /**
74
+ * Type representing CARTO basemap presets.
75
+ */
76
+ export type MapCartoStyleType = typeof MapCartoStyleType;
77
+ /**
78
+ * Basemap source — closed CARTO / OSM presets plus a raw XYZ escape hatch.
79
+ *
80
+ * @remarks
81
+ * The `custom` case keeps `attribution` required: tile providers (CARTO,
82
+ * OSM) require their credit to stay visible.
83
+ *
84
+ * @property carto - A CARTO raster preset
85
+ * @property osm - OpenStreetMap standard raster tiles
86
+ * @property custom - A raw XYZ tile template with explicit attribution
87
+ */
88
+ export declare const MapTileType: VariantType<{
89
+ /** A CARTO raster preset */
90
+ readonly carto: StructType<{
91
+ /** The CARTO preset */
92
+ readonly style: VariantType<{
93
+ /** Light, low-saturation base (default) */
94
+ readonly positron: NullType;
95
+ /** Dark base */
96
+ readonly darkMatter: NullType;
97
+ /** Balanced colour base */
98
+ readonly voyager: NullType;
99
+ }>;
100
+ }>;
101
+ /** OpenStreetMap standard raster tiles */
102
+ readonly osm: NullType;
103
+ /** A raw XYZ tile template with explicit attribution */
104
+ readonly custom: StructType<{
105
+ /** XYZ tile URL template (e.g. `https://{s}.tiles.example/{z}/{x}/{y}.png`) */
106
+ readonly url: StringType;
107
+ /** Attribution HTML kept visible in the corner */
108
+ readonly attribution: StringType;
109
+ /** Optional `{s}` subdomain list (default none) */
110
+ readonly subdomains: OptionType<ArrayType<StringType>>;
111
+ /** Optional max zoom for the layer (default the map's `maxZoom`) */
112
+ readonly maxZoom: OptionType<IntegerType>;
113
+ /** Optional retina `{r}` tiles (default off) */
114
+ readonly detectRetina: OptionType<BooleanType>;
115
+ }>;
116
+ }>;
117
+ /**
118
+ * Type representing basemap sources.
119
+ */
120
+ export type MapTileType = typeof MapTileType;
121
+ /**
122
+ * A `flyTo` / `fitBounds` camera target.
123
+ *
124
+ * @property point - Centre on a point at a zoom level
125
+ * @property bounds - Frame a south-west / north-east bounding box
126
+ */
127
+ export declare const MapFocusType: VariantType<{
128
+ /** Centre on a point at a zoom level */
129
+ readonly point: StructType<{
130
+ /** The centre */
131
+ readonly center: StructType<{
132
+ /** Latitude in degrees */
133
+ readonly lat: FloatType;
134
+ /** Longitude in degrees */
135
+ readonly lng: FloatType;
136
+ }>;
137
+ /** The zoom level to settle at */
138
+ readonly zoom: IntegerType;
139
+ }>;
140
+ /** Frame a south-west / north-east bounding box */
141
+ readonly bounds: StructType<{
142
+ /** South-west corner */
143
+ readonly sw: StructType<{
144
+ /** Latitude in degrees */
145
+ readonly lat: FloatType;
146
+ /** Longitude in degrees */
147
+ readonly lng: FloatType;
148
+ }>;
149
+ /** North-east corner */
150
+ readonly ne: StructType<{
151
+ /** Latitude in degrees */
152
+ readonly lat: FloatType;
153
+ /** Longitude in degrees */
154
+ readonly lng: FloatType;
155
+ }>;
156
+ }>;
157
+ }>;
158
+ /**
159
+ * Type representing camera targets.
160
+ */
161
+ export type MapFocusType = typeof MapFocusType;
162
+ /**
163
+ * An area boundary — an H3 disk, an explicit ring, or explicit H3 cell ids.
164
+ *
165
+ * @remarks
166
+ * The value stores H3 *inputs* (centre / `k` / resolution, or cell ids), not
167
+ * expanded boundary coordinates — the renderer owns `h3-js` and computes the
168
+ * rings, keeping the serialized value small.
169
+ *
170
+ * @property hexDisk - A `gridDisk(origin, k)` blob at a resolution
171
+ * @property polygon - An explicit ring of points
172
+ * @property cells - Explicit H3 cell ids
173
+ */
174
+ export declare const MapAreaShapeType: VariantType<{
175
+ /** A `gridDisk(origin, k)` blob at a resolution */
176
+ readonly hexDisk: StructType<{
177
+ /** The disk origin */
178
+ readonly center: StructType<{
179
+ /** Latitude in degrees */
180
+ readonly lat: FloatType;
181
+ /** Longitude in degrees */
182
+ readonly lng: FloatType;
183
+ }>;
184
+ /** Ring count (`k`) around the origin */
185
+ readonly k: IntegerType;
186
+ /** H3 resolution */
187
+ readonly resolution: IntegerType;
188
+ }>;
189
+ /** An explicit ring of points */
190
+ readonly polygon: ArrayType<StructType<{
191
+ /** Latitude in degrees */
192
+ readonly lat: FloatType;
193
+ /** Longitude in degrees */
194
+ readonly lng: FloatType;
195
+ }>>;
196
+ /** Explicit H3 cell ids */
197
+ readonly cells: ArrayType<StringType>;
198
+ }>;
199
+ /**
200
+ * Type representing area boundaries.
201
+ */
202
+ export type MapAreaShapeType = typeof MapAreaShapeType;
203
+ /**
204
+ * A filled, clickable area (e.g. a postcode).
205
+ *
206
+ * @remarks
207
+ * `status` drives both colour and the pulse animation; `bad` ⇒ red pulse,
208
+ * `success` / `info` ⇒ teal pulse, neutral ⇒ static.
209
+ *
210
+ * @property key - Area identity — `onAreaClick` returns it; `flyTo` target id
211
+ * @property shape - The H3 / polygon boundary
212
+ * @property label - Optional permanent tooltip
213
+ * @property detailLabel - Optional richer label shown only at/after `lodZoom`
214
+ * @property status - Optional status token; drives colour + pulse
215
+ * @property tone - Optional explicit tone override; absent ⇒ `status` drives colour
216
+ * @property color - Optional raw CSS colour; wins over `tone`
217
+ * @property fillOpacity - Optional fill alpha (0–1)
218
+ * @property weight - Optional stroke width in px
219
+ * @property pulse - Optional explicit pulse override; absent ⇒ derived from `status`
220
+ * @property flyTo - Optional click camera target; absent ⇒ frame the shape
221
+ */
222
+ export declare const MapAreaType: StructType<{
223
+ /** Area identity — `onAreaClick` returns it; `flyTo` target id */
224
+ readonly key: StringType;
225
+ /** The H3 / polygon boundary */
226
+ readonly shape: VariantType<{
227
+ /** A `gridDisk(origin, k)` blob at a resolution */
228
+ readonly hexDisk: StructType<{
229
+ /** The disk origin */
230
+ readonly center: StructType<{
231
+ /** Latitude in degrees */
232
+ readonly lat: FloatType;
233
+ /** Longitude in degrees */
234
+ readonly lng: FloatType;
235
+ }>;
236
+ /** Ring count (`k`) around the origin */
237
+ readonly k: IntegerType;
238
+ /** H3 resolution */
239
+ readonly resolution: IntegerType;
240
+ }>;
241
+ /** An explicit ring of points */
242
+ readonly polygon: ArrayType<StructType<{
243
+ /** Latitude in degrees */
244
+ readonly lat: FloatType;
245
+ /** Longitude in degrees */
246
+ readonly lng: FloatType;
247
+ }>>;
248
+ /** Explicit H3 cell ids */
249
+ readonly cells: ArrayType<StringType>;
250
+ }>;
251
+ /** Optional permanent tooltip */
252
+ readonly label: OptionType<StringType>;
253
+ /** Optional richer label shown only at/after `lodZoom` */
254
+ readonly detailLabel: OptionType<StringType>;
255
+ /** Optional status token; drives colour + pulse */
256
+ readonly status: OptionType<VariantType<{
257
+ readonly success: NullType;
258
+ readonly warning: NullType;
259
+ readonly danger: NullType;
260
+ readonly info: NullType;
261
+ readonly neutral: NullType;
262
+ }>>;
263
+ /** Optional explicit tone override; absent ⇒ `status` drives colour */
264
+ readonly tone: OptionType<VariantType<{
265
+ /** Brand teal */
266
+ readonly brand: NullType;
267
+ /** Foreground ink */
268
+ readonly ink: NullType;
269
+ /** Muted foreground */
270
+ readonly muted: NullType;
271
+ /** Status ok */
272
+ readonly success: NullType;
273
+ /** Status warn */
274
+ readonly warning: NullType;
275
+ /** Status bad */
276
+ readonly danger: NullType;
277
+ }>>;
278
+ /** Optional raw CSS colour (e.g. `"#2D7FF9"`); wins over `tone` */
279
+ readonly color: OptionType<StringType>;
280
+ /** Optional fill alpha (0–1) */
281
+ readonly fillOpacity: OptionType<FloatType>;
282
+ /** Optional stroke width in px */
283
+ readonly weight: OptionType<FloatType>;
284
+ /** Optional explicit pulse override; absent ⇒ derived from `status` */
285
+ readonly pulse: OptionType<BooleanType>;
286
+ /** Optional click camera target; absent ⇒ frame the shape */
287
+ readonly flyTo: OptionType<VariantType<{
288
+ /** Centre on a point at a zoom level */
289
+ readonly point: StructType<{
290
+ /** The centre */
291
+ readonly center: StructType<{
292
+ /** Latitude in degrees */
293
+ readonly lat: FloatType;
294
+ /** Longitude in degrees */
295
+ readonly lng: FloatType;
296
+ }>;
297
+ /** The zoom level to settle at */
298
+ readonly zoom: IntegerType;
299
+ }>;
300
+ /** Frame a south-west / north-east bounding box */
301
+ readonly bounds: StructType<{
302
+ /** South-west corner */
303
+ readonly sw: StructType<{
304
+ /** Latitude in degrees */
305
+ readonly lat: FloatType;
306
+ /** Longitude in degrees */
307
+ readonly lng: FloatType;
308
+ }>;
309
+ /** North-east corner */
310
+ readonly ne: StructType<{
311
+ /** Latitude in degrees */
312
+ readonly lat: FloatType;
313
+ /** Longitude in degrees */
314
+ readonly lng: FloatType;
315
+ }>;
316
+ }>;
317
+ }>>;
318
+ }>;
319
+ /**
320
+ * Type representing resolved areas.
321
+ */
322
+ export type MapAreaType = typeof MapAreaType;
323
+ /**
324
+ * The res-8 hex lattice plus per-cell detail revealed at LOD.
325
+ *
326
+ * @remarks
327
+ * First-class so the renderer can compute disks / boundaries with `h3-js`
328
+ * and gate per-cell detail on zoom; the value stays compact (cell ids, not
329
+ * boundary coordinates).
330
+ *
331
+ * @property lattice - Optional faint background lattice (a disk of cells)
332
+ * @property cells - Per-cell detail (id + optional status / fill / detail text)
333
+ * @property tone - Optional lattice stroke tone (default `muted`)
334
+ * @property interactive - Optional click-through flag (default false — decorative)
335
+ */
336
+ export declare const MapHexLayerType: StructType<{
337
+ /** Optional faint background lattice (a disk of cells around a centre) */
338
+ readonly lattice: OptionType<StructType<{
339
+ /** The lattice centre */
340
+ readonly center: StructType<{
341
+ /** Latitude in degrees */
342
+ readonly lat: FloatType;
343
+ /** Longitude in degrees */
344
+ readonly lng: FloatType;
345
+ }>;
346
+ /** Ring count (`k`) around the centre */
347
+ readonly k: IntegerType;
348
+ /** H3 resolution */
349
+ readonly resolution: IntegerType;
350
+ }>>;
351
+ /** Per-cell detail */
352
+ readonly cells: ArrayType<StructType<{
353
+ /** H3 cell id (the renderer calls `cellToBoundary`) */
354
+ readonly id: StringType;
355
+ /** Optional status token for the cell fill */
356
+ readonly status: OptionType<VariantType<{
357
+ readonly success: NullType;
358
+ readonly warning: NullType;
359
+ readonly danger: NullType;
360
+ readonly info: NullType;
361
+ readonly neutral: NullType;
362
+ }>>;
363
+ /** Optional fill alpha (0–1) */
364
+ readonly fillOpacity: OptionType<FloatType>;
365
+ /** Optional detail text shown only when zoom ≥ `lodZoom` */
366
+ readonly detail: OptionType<StringType>;
367
+ }>>;
368
+ /** Optional lattice stroke tone (default `muted`) */
369
+ readonly tone: OptionType<VariantType<{
370
+ /** Brand teal */
371
+ readonly brand: NullType;
372
+ /** Foreground ink */
373
+ readonly ink: NullType;
374
+ /** Muted foreground */
375
+ readonly muted: NullType;
376
+ /** Status ok */
377
+ readonly success: NullType;
378
+ /** Status warn */
379
+ readonly warning: NullType;
380
+ /** Status bad */
381
+ readonly danger: NullType;
382
+ }>>;
383
+ /** Optional click-through flag (default false — decorative) */
384
+ readonly interactive: OptionType<BooleanType>;
385
+ }>;
386
+ /**
387
+ * Type representing the hex layer.
388
+ */
389
+ export type MapHexLayerType = typeof MapHexLayerType;
390
+ /**
391
+ * A pin (home / POI). `minZoom` is the LOD gate; `icon` is a Font Awesome name.
392
+ *
393
+ * @property key - Marker identity — `onMarkerClick` returns it
394
+ * @property at - The pin location
395
+ * @property label - Optional permanent tooltip
396
+ * @property icon - Optional Font Awesome solid icon name
397
+ * @property tone - Optional marker tone
398
+ * @property minZoom - Optional LOD gate; the pin appears only at/after this zoom
399
+ * @property interactive - Optional click flag (default true)
400
+ */
401
+ export declare const MapMarkerType: StructType<{
402
+ /** Marker identity — `onMarkerClick` returns it */
403
+ readonly key: StringType;
404
+ /** The pin location */
405
+ readonly at: StructType<{
406
+ /** Latitude in degrees */
407
+ readonly lat: FloatType;
408
+ /** Longitude in degrees */
409
+ readonly lng: FloatType;
410
+ }>;
411
+ /** Optional permanent tooltip */
412
+ readonly label: OptionType<StringType>;
413
+ /** Optional Font Awesome solid icon name */
414
+ readonly icon: OptionType<StringType>;
415
+ /** Optional marker tone */
416
+ readonly tone: OptionType<VariantType<{
417
+ /** Brand teal */
418
+ readonly brand: NullType;
419
+ /** Foreground ink */
420
+ readonly ink: NullType;
421
+ /** Muted foreground */
422
+ readonly muted: NullType;
423
+ /** Status ok */
424
+ readonly success: NullType;
425
+ /** Status warn */
426
+ readonly warning: NullType;
427
+ /** Status bad */
428
+ readonly danger: NullType;
429
+ }>>;
430
+ /** Optional LOD gate; the pin appears only at/after this zoom */
431
+ readonly minZoom: OptionType<IntegerType>;
432
+ /** Optional click flag (default true) */
433
+ readonly interactive: OptionType<BooleanType>;
434
+ }>;
435
+ /**
436
+ * Type representing resolved markers.
437
+ */
438
+ export type MapMarkerType = typeof MapMarkerType;
439
+ /**
440
+ * Line render style.
441
+ *
442
+ * @property solid - A solid connector
443
+ * @property dashed - A dashed / routing connector
444
+ */
445
+ export declare const MapLineStyleType: VariantType<{
446
+ /** A solid connector */
447
+ readonly solid: StructType<{
448
+ /** Stroke tone (default `brand`) */
449
+ readonly tone: OptionType<VariantType<{
450
+ /** Brand teal */
451
+ readonly brand: NullType;
452
+ /** Foreground ink */
453
+ readonly ink: NullType;
454
+ /** Muted foreground */
455
+ readonly muted: NullType;
456
+ /** Status ok */
457
+ readonly success: NullType;
458
+ /** Status warn */
459
+ readonly warning: NullType;
460
+ /** Status bad */
461
+ readonly danger: NullType;
462
+ }>>;
463
+ /** Stroke width in px (default 2.5) */
464
+ readonly weight: OptionType<FloatType>;
465
+ }>;
466
+ /** A dashed / routing connector */
467
+ readonly dashed: StructType<{
468
+ /** Stroke tone (default `brand`) */
469
+ readonly tone: OptionType<VariantType<{
470
+ /** Brand teal */
471
+ readonly brand: NullType;
472
+ /** Foreground ink */
473
+ readonly ink: NullType;
474
+ /** Muted foreground */
475
+ readonly muted: NullType;
476
+ /** Status ok */
477
+ readonly success: NullType;
478
+ /** Status warn */
479
+ readonly warning: NullType;
480
+ /** Status bad */
481
+ readonly danger: NullType;
482
+ }>>;
483
+ /** Stroke width in px (default 2) */
484
+ readonly weight: OptionType<FloatType>;
485
+ }>;
486
+ }>;
487
+ /**
488
+ * Type representing line styles.
489
+ */
490
+ export type MapLineStyleType = typeof MapLineStyleType;
491
+ /**
492
+ * A connector / move arrow between geographic points.
493
+ *
494
+ * @property key - Line identity
495
+ * @property points - The polyline points, in order
496
+ * @property style - Render style (`solid` / `dashed`)
497
+ * @property flow - Optional animated dash-offset when active (default off)
498
+ * @property arrow - Optional arrowhead at the destination (default off)
499
+ */
500
+ export declare const MapLineType: StructType<{
501
+ /** Line identity */
502
+ readonly key: StringType;
503
+ /** The polyline points, in order */
504
+ readonly points: ArrayType<StructType<{
505
+ /** Latitude in degrees */
506
+ readonly lat: FloatType;
507
+ /** Longitude in degrees */
508
+ readonly lng: FloatType;
509
+ }>>;
510
+ /** Render style (`solid` / `dashed`) */
511
+ readonly style: VariantType<{
512
+ /** A solid connector */
513
+ readonly solid: StructType<{
514
+ /** Stroke tone (default `brand`) */
515
+ readonly tone: OptionType<VariantType<{
516
+ /** Brand teal */
517
+ readonly brand: NullType;
518
+ /** Foreground ink */
519
+ readonly ink: NullType;
520
+ /** Muted foreground */
521
+ readonly muted: NullType;
522
+ /** Status ok */
523
+ readonly success: NullType;
524
+ /** Status warn */
525
+ readonly warning: NullType;
526
+ /** Status bad */
527
+ readonly danger: NullType;
528
+ }>>;
529
+ /** Stroke width in px (default 2.5) */
530
+ readonly weight: OptionType<FloatType>;
531
+ }>;
532
+ /** A dashed / routing connector */
533
+ readonly dashed: StructType<{
534
+ /** Stroke tone (default `brand`) */
535
+ readonly tone: OptionType<VariantType<{
536
+ /** Brand teal */
537
+ readonly brand: NullType;
538
+ /** Foreground ink */
539
+ readonly ink: NullType;
540
+ /** Muted foreground */
541
+ readonly muted: NullType;
542
+ /** Status ok */
543
+ readonly success: NullType;
544
+ /** Status warn */
545
+ readonly warning: NullType;
546
+ /** Status bad */
547
+ readonly danger: NullType;
548
+ }>>;
549
+ /** Stroke width in px (default 2) */
550
+ readonly weight: OptionType<FloatType>;
551
+ }>;
552
+ }>;
553
+ /** Optional animated dash-offset when active (default off) */
554
+ readonly flow: OptionType<BooleanType>;
555
+ /** Optional arrowhead at the destination (default off) */
556
+ readonly arrow: OptionType<BooleanType>;
557
+ }>;
558
+ /**
559
+ * Type representing resolved lines.
560
+ */
561
+ export type MapLineType = typeof MapLineType;
562
+ /**
563
+ * A standalone label (e.g. a suburb name) not tied to an area.
564
+ *
565
+ * @property key - Label identity
566
+ * @property at - The label anchor
567
+ * @property text - The label text
568
+ */
569
+ export declare const MapLabelType: StructType<{
570
+ /** Label identity */
571
+ readonly key: StringType;
572
+ /** The label anchor */
573
+ readonly at: StructType<{
574
+ /** Latitude in degrees */
575
+ readonly lat: FloatType;
576
+ /** Longitude in degrees */
577
+ readonly lng: FloatType;
578
+ }>;
579
+ /** The label text */
580
+ readonly text: StringType;
581
+ }>;
582
+ /**
583
+ * Type representing standalone labels.
584
+ */
585
+ export type MapLabelType = typeof MapLabelType;
586
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/collections/map/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACd,MAAM,eAAe,CAAC;AAIvB;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa;IACtB,0BAA0B;;IAE1B,2BAA2B;;EAE7B,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC;AAEjD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,WAAW;IACpB,iBAAiB;;IAEjB,qBAAqB;;IAErB,u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