@octostar/map-component 0.6.4 → 0.7.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.
Files changed (48) hide show
  1. package/dist/index.mjs +904 -202
  2. package/dist/index.mjs.map +1 -1
  3. package/dist/styles.css +1 -0
  4. package/dist/types/components/layers-panel.d.ts +8 -0
  5. package/dist/types/components/layers-panel.d.ts.map +1 -1
  6. package/dist/types/components/map-editor-canvas.d.ts.map +1 -1
  7. package/dist/types/components/timebar.d.ts +9 -1
  8. package/dist/types/components/timebar.d.ts.map +1 -1
  9. package/dist/types/index.d.ts +4 -0
  10. package/dist/types/index.d.ts.map +1 -1
  11. package/dist/types/lib/custom-layer-stack.d.ts +7 -1
  12. package/dist/types/lib/custom-layer-stack.d.ts.map +1 -1
  13. package/dist/types/lib/feature-stack.d.ts.map +1 -1
  14. package/dist/types/lib/history-diff.d.ts +2 -0
  15. package/dist/types/lib/history-diff.d.ts.map +1 -1
  16. package/dist/types/lib/host-icon-scale.d.ts +28 -0
  17. package/dist/types/lib/host-icon-scale.d.ts.map +1 -0
  18. package/dist/types/lib/host-line-decorations.d.ts +70 -0
  19. package/dist/types/lib/host-line-decorations.d.ts.map +1 -0
  20. package/dist/types/lib/host-owned-layers.d.ts +84 -0
  21. package/dist/types/lib/host-owned-layers.d.ts.map +1 -0
  22. package/dist/types/lib/label-pinning.d.ts +24 -0
  23. package/dist/types/lib/label-pinning.d.ts.map +1 -1
  24. package/dist/types/lib/map-editor-api.d.ts +67 -0
  25. package/dist/types/lib/map-editor-api.d.ts.map +1 -1
  26. package/dist/types/lib/paint-feature.d.ts +9 -2
  27. package/dist/types/lib/paint-feature.d.ts.map +1 -1
  28. package/dist/types/lib/property-utils.d.ts +1 -1
  29. package/dist/types/lib/property-utils.d.ts.map +1 -1
  30. package/dist/types/lib/selection-overlay.d.ts +2 -1
  31. package/dist/types/lib/selection-overlay.d.ts.map +1 -1
  32. package/dist/types/lib/shard-constants.d.ts +5 -1
  33. package/dist/types/lib/shard-constants.d.ts.map +1 -1
  34. package/dist/types/lib/shard-registry.d.ts +2 -0
  35. package/dist/types/lib/shard-registry.d.ts.map +1 -1
  36. package/dist/types/lib/temporal-ingest.d.ts +4 -1
  37. package/dist/types/lib/temporal-ingest.d.ts.map +1 -1
  38. package/dist/types/lib/temporal-normalize.d.ts +16 -0
  39. package/dist/types/lib/temporal-normalize.d.ts.map +1 -1
  40. package/dist/types/lib/timeline-index.d.ts +6 -5
  41. package/dist/types/lib/timeline-index.d.ts.map +1 -1
  42. package/dist/types/lib/timeline-state.d.ts +21 -5
  43. package/dist/types/lib/timeline-state.d.ts.map +1 -1
  44. package/dist/types/lib/trace-group-suggestion.d.ts +2 -1
  45. package/dist/types/lib/trace-group-suggestion.d.ts.map +1 -1
  46. package/dist/types/lib/trace-groups.d.ts +8 -4
  47. package/dist/types/lib/trace-groups.d.ts.map +1 -1
  48. package/package.json +1 -1
@@ -1,5 +1,8 @@
1
1
  import type { Layer } from '@/components/layers-panel';
2
2
  import { type GradientRange } from './color-utils';
3
+ import { HOST_OWNED_PROP } from './label-pinning';
4
+ /** Set by the styler on host-owned features; read by the label layout. */
5
+ export { HOST_OWNED_PROP };
3
6
  /** Matches the paint-side `['coalesce', ['get', '_labelPriority'], 100]` default. */
4
7
  export declare const DEFAULT_LABEL_PRIORITY = 100;
5
8
  /** Opacities of a feature with no `stroke-opacity` / `fill-opacity` of its own. */
@@ -34,18 +37,22 @@ export declare const RENDER_PROPERTY_KEYS: readonly string[];
34
37
  /** Host keys copied verbatim onto read-only features. `_dvl_h3`: Map NT's DVL
35
38
  * hex bins, whose tooltip identity key reads it off the rendered feature. */
36
39
  export declare const RENDER_PASSTHROUGH_KEYS: readonly string[];
40
+ /** Host keys copied onto the features of a host-owned layer: its icons' zoom scale. */
41
+ export declare const HOST_PASSTHROUGH_KEYS: readonly string[];
37
42
  /** Draw-annotation keys the label layout and the arrow overlay read, so
38
43
  * annotations exported from one map and imported into another as a read-only
39
44
  * layer keep rendering. These are the names MapboxDraw already persists into
40
45
  * saved maps and exported GeoJSON -- `kind` (the annotation's shape: `text`,
41
46
  * `arrow`, `circle`, `rectangle`) included -- so they are matched verbatim
42
- * rather than renamed. The gate below reads `kind` for the same reason. */
47
+ * rather than renamed. The gate below reads `kind` for the same reason, and
48
+ * also lets them through on every feature of a host-owned layer. */
43
49
  export declare const ANNOTATION_PASSTHROUGH_KEYS: readonly string[];
44
50
  /** Emoji only: the icon image is the value drawn as text, so a word would come out as cropped letters. */
45
51
  export declare function isEmojiIcon(value: unknown): value is string;
46
52
  /**
47
53
  * The emoji a point's icon draws: an emoji as is, an icon picker name such as "star" as its emoji,
48
- * anything else none. It remembers the last answer, so a layer icon is checked once, not per point.
54
+ * a host image id as is, anything else none. It remembers the last answer, so a layer icon is
55
+ * checked once, not per point.
49
56
  */
50
57
  export declare function resolveIcon(value: unknown): string;
51
58
  /** The layer's heatmap or cluster mode blanks its points, and with them anything labelling them. */
@@ -1 +1 @@
1
- {"version":3,"file":"paint-feature.d.ts","sourceRoot":"","sources":["../../../client/src/lib/paint-feature.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAA2C,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAM5F,qFAAqF;AACrF,eAAO,MAAM,sBAAsB,MAAM,CAAC;AAE1C,mFAAmF;AACnF,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAChD,eAAO,MAAM,4BAA4B,MAAM,CAAC;AAEhD;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B,eAAe,EAAE,WAAW,CAAC,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnE,gBAAgB,EAAE,WAAW,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IACrD,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CA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AM,CAE3D;AAKD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAQlD;AAcD,oGAAoG;AACpG,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,GAAG,OAAO,CAElE;AAaD,wBAAgB,oBAAoB,CAClC,CAAC,EAAE,OAAO,CAAC,OAAO,EAClB,KAAK,EAAE,KAAK,GAAG,SAAS,EACxB,GAAG,EAAE,YAAY,EACjB,IAAI,EAAE,OAAO,GACZ,aAAa,CA8Lf;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC1C,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,YAAY,EAAE,KAAK,CAAC,cAAc,CAAC,EACnC,iBAAiB,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,iBAAiB,KAAK,IAAI,KAAK,IAAI,GAC7E,gBAAgB,CAiClB"}
@@ -9,7 +9,7 @@ export declare const INTERNAL_PROPERTY_KEYS: Set<string>;
9
9
  * semantic keys (kind, entityType, label) stay available because users
10
10
  * legitimately color or label by them.
11
11
  */
12
- export declare const STYLING_PROPERTY_KEYS: readonly ["stroke", "stroke-width", "stroke-opacity", "fill", "fill-opacity", "pointRadius", "pointIcon", "pointIconSize", "icon", "iconSize", "circleCenter", "circleRadius", "fontSize", "fontColor", "fontWeight", "arrowSize"];
12
+ export declare const STYLING_PROPERTY_KEYS: readonly ["stroke", "stroke-width", "stroke-opacity", "fill", "fill-opacity", "pointRadius", "pointIcon", "pointIconSize", "icon", "iconSize", "circleCenter", "circleRadius", "fontSize", "fontColor", "fontWeight", "arrowSize", "arrowInset", "iconFullZoom", "iconMinZoom", "iconMinScale"];
13
13
  /**
14
14
  * Property key prefixes injected by the map component at runtime.
15
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"property-utils.d.ts","sourceRoot":"","sources":["../../../client/src/lib/property-utils.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,sBAAsB,aAuBjC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,oOAiBxB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,0BAA0B,UAOtC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAGvD"}
1
+ {"version":3,"file":"property-utils.d.ts","sourceRoot":"","sources":["../../../client/src/lib/property-utils.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,sBAAsB,aA2BjC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,iSAqBxB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,0BAA0B,UAOtC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAGvD"}
@@ -28,11 +28,12 @@ import type { LayerSpecification } from 'maplibre-gl';
28
28
  export declare const SELECTION_OVERLAY_SOURCE_ID = "selection-overlay";
29
29
  export declare const SELECTION_OVERLAY_LAYER_IDS: {
30
30
  readonly iconRing: "selection-overlay-icon-ring";
31
+ readonly hostIconRing: "selection-overlay-host-icon-ring";
31
32
  readonly line: "selection-overlay-line";
32
33
  readonly polygon: "selection-overlay-polygon";
33
34
  readonly label: "selection-overlay-label";
34
35
  };
35
- /** In paint order, lowest first: the halos, then the label as the topmost layer of the style. */
36
+ /** In paint order, lowest first: the halos, then the label as the topmost layer of the style. Host features: see `hostIconRing` and `label`. */
36
37
  export declare function buildSelectionOverlayStack(): LayerSpecification[];
37
38
  /**
38
39
  * The overlay payload: the selected features styled exactly as their base
@@ -1 +1 @@
1
- {"version":3,"file":"selection-overlay.d.ts","sourceRoot":"","sources":["../../../client/src/lib/selection-overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAKtD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,eAAO,MAAM,2BAA2B,sBAAsB,CAAC;AAE/D,eAAO,MAAM,2BAA2B;;;;;CAK9B,CAAC;AAEX,iGAAiG;AACjG,wBAAgB,0BAA0B,IAAI,kBAAkB,EAAE,CA2DjE;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,WAAW,CAAC,MAAM,CAAC,EACxB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,SAAS,OAAO,CAAC,OAAO,EAAE,GACnD,OAAO,CAAC,iBAAiB,CAM3B"}
1
+ {"version":3,"file":"selection-overlay.d.ts","sourceRoot":"","sources":["../../../client/src/lib/selection-overlay.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAKtD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,eAAO,MAAM,2BAA2B,sBAAsB,CAAC;AAE/D,eAAO,MAAM,2BAA2B;;;;;;CAM9B,CAAC;AAEX,gJAAgJ;AAChJ,wBAAgB,0BAA0B,IAAI,kBAAkB,EAAE,CA2EjE;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,WAAW,CAAC,MAAM,CAAC,EACxB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,SAAS,OAAO,CAAC,OAAO,EAAE,GACnD,OAAO,CAAC,iBAAiB,CAM3B"}
@@ -24,8 +24,12 @@ export declare const DEFAULT_READ_ONLY_SHARD_SIZE = 10000;
24
24
  * (`trace-timeline.ts`) updates trace points through one source, and routing
25
25
  * those updates to the owning shard is TEAM-7583's rewrite. Enabling trace on
26
26
  * a sharded layer un-shards it on the next full sync; disabling re-shards it.
27
+ *
28
+ * Host-owned layers are excluded too: their line labels and arrowheads
29
+ * (`host-line-decorations.ts`) and their exemption from the timeline are built
30
+ * in the shared-source sync only.
27
31
  */
28
- export declare function isShardEligible(layer: Pick<Layer, 'readOnly' | 'traceConfig'>, featureCount: number, shardSize: number): boolean;
32
+ export declare function isShardEligible(layer: Pick<Layer, 'readOnly' | 'traceConfig' | 'hostOwned'>, featureCount: number, shardSize: number): boolean;
29
33
  export interface ShardRange {
30
34
  start: number;
31
35
  end: number;
@@ -1 +1 @@
1
- {"version":3,"file":"shard-constants.d.ts","sourceRoot":"","sources":["../../../client/src/lib/shard-constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAEvD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,4BAA4B,QAAS,CAAC;AAEnD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,UAAU,GAAG,aAAa,CAAC,EAC9C,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,GAChB,OAAO,CAKT;AAOD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,UAAU,EAAE,CAO1E;AAID,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAEpE;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAS9F;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAWlE"}
1
+ {"version":3,"file":"shard-constants.d.ts","sourceRoot":"","sources":["../../../client/src/lib/shard-constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAEvD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,4BAA4B,QAAS,CAAC;AAEnD;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,UAAU,GAAG,aAAa,GAAG,WAAW,CAAC,EAC5D,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,GAChB,OAAO,CAMT;AAOD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,UAAU,EAAE,CAO1E;AAID,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAEpE;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAS9F;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAWlE"}
@@ -39,6 +39,8 @@ export interface ShardRegistryHooks {
39
39
  onLayersRemoving(layerIds: string[]): void;
40
40
  /** `lastLabelVisibility`, so a shard born into a dense viewport is not the one layer that labels. */
41
41
  labelsVisible(): boolean;
42
+ /** Whether the shared `host-icon` layer takes pointer gestures: only while a host-owned layer exists. */
43
+ hostIconInteractive?(): boolean;
42
44
  /**
43
45
  * A source and its style-layer stack were just added. The canvas moves the
44
46
  * given label layers ahead of the basemap symbols here, the way it does for
@@ -1 +1 @@
1
- {"version":3,"file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E,MAAM,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IACvE,+DAA+D;IAC/D,cAAc,IAAI,MAAM,EAAE,CAAC;IAC3B,mIAAmI;IACnI,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,QAAQ,GAAG,KAAK,EAAE,IAAI,CAAC,EAAE;QAAE,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,MAAM,EAAE,CAAC;IACrG,qFAAqF;IACrF,mBAAmB,IAAI,MAAM,EAAE,CAAC;CACjC;AAOD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,kBAAkB,GAAG,aAAa,CA2L7F"}
@@ -1,4 +1,5 @@
1
1
  import { type FeatureCapOptions } from './feature-cap';
2
+ import { type TimelineFields } from './temporal-normalize';
2
3
  export interface PreparedLayerFeatures {
3
4
  /** Always a fresh array — array identity keys cache invalidation (see selection-spatial-index.ts). */
4
5
  features: GeoJSON.Feature[];
@@ -58,6 +59,8 @@ export interface TimelineScanOutput {
58
59
  * — no temporal keys, or nothing parseable — lands in `out.untimedIds`.
59
60
  * Accumulates into `out` so callers can scan several sources into one result.
60
61
  * Returns true when this call contributed at least one temporal entry.
62
+ * With `fields`, the dates come from those properties instead of the
63
+ * recognised names (`readTimelineDates`).
61
64
  */
62
- export declare function scanTemporalFeatures(features: readonly GeoJSON.Feature[], resolveLayerId: (featureId: string) => string, out: TimelineScanOutput): boolean;
65
+ export declare function scanTemporalFeatures(features: readonly GeoJSON.Feature[], resolveLayerId: (featureId: string) => string, out: TimelineScanOutput, fields?: TimelineFields): boolean;
63
66
  //# sourceMappingURL=temporal-ingest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"temporal-ingest.d.ts","sourceRoot":"","sources":["../../../client/src/lib/temporal-ingest.ts"],"names":[],"mappings":"AAOA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAIpE,MAAM,WAAW,qBAAqB;IACp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uD;IACvD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,4EAA4E;IAC5E,WAAW,EAAE,OAAO,CAAC;IACrB,wEAAwE;IACxE,OAAO,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,SAAS,OAAO,CAAC,OAAO,EAAE,EACjC,MAAM,CAAC,EAAE,MAAM,EACf,GAAG,CAAC,EAAE,iBAAiB,GACtB,qBAAqB,CAgEvB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,SAAS,OAAO,CAAC,OAAO,EAAE,EACpC,cAAc,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,EAC7C,GAAG,EAAE,kBAAkB,EACvB,MAAM,CAAC,EAAE,cAAc,GACtB,OAAO,CAuBT"}
@@ -8,4 +8,20 @@ export declare function normalizeTemporalProperties(properties: Record<string, u
8
8
  startDate: Date | null;
9
9
  endDate: Date | null;
10
10
  };
11
+ /** The properties a host picked to place features on the timeline, in place of the recognised names. */
12
+ export interface TimelineFields {
13
+ start: string;
14
+ end?: string;
15
+ }
16
+ /** Equal for equal picks and '' for none, so a pick keeps its identity across renders and caches. */
17
+ export declare const timelineFieldsKey: (fields?: TimelineFields) => string;
18
+ /** `hasAnyTemporalValue` for the picked fields: only a start value places a feature. */
19
+ export declare function hasTimelineValue(properties: Record<string, unknown>, fields?: TimelineFields): boolean;
20
+ /** Whether the timeline would date any of these features, parsing only present values and stopping at the first date. */
21
+ export declare const anyTimelineDate: (features: readonly GeoJSON.Feature[], fields?: TimelineFields) => boolean;
22
+ /** A feature's dates on the timeline: the picked fields when there are any, else the recognised names. */
23
+ export declare function readTimelineDates(properties: Record<string, unknown>, fields?: TimelineFields): {
24
+ startDate: Date | null;
25
+ endDate: Date | null;
26
+ };
11
27
  //# sourceMappingURL=temporal-normalize.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"temporal-normalize.d.ts","sourceRoot":"","sources":["../../../client/src/lib/temporal-normalize.ts"],"names":[],"mappings":"AAGA,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,CAQrD;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAShF;AAED,wBAAgB,2BAA2B,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAChF,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;CACtB,CAqBA"}
1
+ {"version":3,"file":"temporal-normalize.d.ts","sourceRoot":"","sources":["../../../client/src/lib/temporal-normalize.ts"],"names":[],"mappings":"AAGA,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,CAQrD;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAShF;AAED,wBAAgB,2BAA2B,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAChF,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;CACtB,CAqBA;AAED,wGAAwG;AACxG,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,qGAAqG;AACrG,eAAO,MAAM,iBAAiB,YAAa,cAAc,KAAG,MACM,CAAC;AAEnE,wFAAwF;AACxF,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,OAAO,CAEtG;AAED,yHAAyH;AACzH,eAAO,MAAM,eAAe,aAAc,SAAS,OAAO,CAAC,OAAO,EAAE,WAAW,cAAc,KAAG,OAM5F,CAAC;AAEL,0GAA0G;AAC1G,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,MAAM,CAAC,EAAE,cAAc,GACtB;IAAE,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,IAAI,GAAG,IAAI,CAAA;CAAE,CAMlD"}
@@ -1,3 +1,4 @@
1
+ import { type TimelineFields } from './temporal-normalize';
1
2
  import { type TimelineWindow } from './timeline-window';
2
3
  /**
3
4
  * A numeric interval index over one feature array, so a timeline tick finds
@@ -10,8 +11,8 @@ import { type TimelineWindow } from './timeline-window';
10
11
  * and a dropped one is collected with its array. Keep mutations copy-on-write.
11
12
  *
12
13
  * Dates are read the way the timeline store's scan reads them
13
- * (`normalizeTemporalProperties`), so the map and the histogram agree on
14
- * every feature, normalized or not.
14
+ * (`readTimelineDates`, with the host's timeline fields when it picked some),
15
+ * so the map and the histogram agree on every feature, normalized or not.
15
16
  */
16
17
  export interface TimelineIndex {
17
18
  readonly size: number;
@@ -31,13 +32,13 @@ export interface TimelineIndex {
31
32
  readonly mark: Uint8Array;
32
33
  }
33
34
  /** One feature's interval as the index reads it, for a caller that has the feature but not its position. */
34
- export declare function featureInterval(f: GeoJSON.Feature): {
35
+ export declare function featureInterval(f: GeoJSON.Feature, fields?: TimelineFields): {
35
36
  s: number;
36
37
  e: number;
37
38
  };
38
39
  /** For an array rebuilt per read (MapboxDraw's `getAll()`), where an index would never be reused. */
39
- export declare function isFeatureVisible(f: GeoJSON.Feature, w: TimelineWindow | null): boolean;
40
- export declare function getTimelineIndex(features: readonly GeoJSON.Feature[]): TimelineIndex;
40
+ export declare function isFeatureVisible(f: GeoJSON.Feature, w: TimelineWindow | null, fields?: TimelineFields): boolean;
41
+ export declare function getTimelineIndex(features: readonly GeoJSON.Feature[], fields?: TimelineFields): TimelineIndex;
41
42
  export declare function isVisibleAt(index: TimelineIndex, position: number, w: TimelineWindow | null): boolean;
42
43
  /**
43
44
  * Appends the positions whose visibility differs between `from` and `to`.
@@ -1 +1 @@
1
- {"version":3,"file":"timeline-index.d.ts","sourceRoot":"","sources":["../../../client/src/lib/timeline-index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAqB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE3E;;;;;;;;;;;;;GAaG;AAEH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,yGAAyG;IACzG,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B,qEAAqE;IACrE,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACpC,iEAAiE;IACjE,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,YAAY,CAAC;IAClC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,2FAA2F;IAC3F,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC;IACzD,sEAAsE;IACtE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;CAC3B;AAgBD,4GAA4G;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GAAG,MAAM,CAQnF"}
@@ -1,5 +1,6 @@
1
1
  import { TIMELINE_HIDDEN_KEY } from './selection-paint';
2
2
  import type { FeatureStateHost } from './selection-state';
3
+ import type { TimelineFields } from './temporal-normalize';
3
4
  import { type TimelineIndex } from './timeline-index';
4
5
  import { type TimelineWindow } from './timeline-window';
5
6
  /**
@@ -15,7 +16,10 @@ import { type TimelineWindow } from './timeline-window';
15
16
  * paints, the ids it holds hidden and the window those were computed for.
16
17
  * `seedTimelineSource` runs after a source is (re)painted and diffs it from
17
18
  * scratch, O(slice); `applyTimelineWindow` moves every recorded source to a
18
- * new window through the arrays' interval indexes, O(log n + flipped).
19
+ * new window through the arrays' interval indexes, O(log n + flipped);
20
+ * `reindexTimelineSources` re-derives the active ones when the host's
21
+ * timeline fields change, which changes every index, and leaves the rest
22
+ * stale until they are active again.
19
23
  *
20
24
  * Feature state is per `(source, id)`, so the copies of an id one source
21
25
  * paints share it: such an id is hidden only when every copy is, the rule the
@@ -29,7 +33,8 @@ export interface TimelineSlice {
29
33
  readonly end: number;
30
34
  }
31
35
  interface Copy {
32
- readonly index: TimelineIndex;
36
+ readonly features: readonly GeoJSON.Feature[];
37
+ index: TimelineIndex;
33
38
  readonly position: number;
34
39
  }
35
40
  interface SourceRecord {
@@ -42,6 +47,8 @@ interface SourceRecord {
42
47
  copies: Map<string, Copy[]> | null;
43
48
  /** The window `hidden` is current for. */
44
49
  window: TimelineWindow | null;
50
+ /** `hidden` was derived from other timeline fields: re-derive it before moving it. */
51
+ stale: boolean;
45
52
  }
46
53
  /** Source id → what its timeline state was computed from. */
47
54
  export type AppliedTimeline = Map<string, SourceRecord>;
@@ -50,7 +57,16 @@ export type AppliedTimeline = Map<string, SourceRecord>;
50
57
  * Unchanged slices on the same source object cost nothing, since state
51
58
  * persists across `setData`. Returns the number of host calls.
52
59
  */
53
- export declare function seedTimelineSource(host: FeatureStateHost, applied: AppliedTimeline, sourceId: string, slices: readonly TimelineSlice[], w: TimelineWindow | null): number;
60
+ export declare function seedTimelineSource(host: FeatureStateHost, applied: AppliedTimeline, sourceId: string, slices: readonly TimelineSlice[], w: TimelineWindow | null, fields?: TimelineFields): number;
61
+ /**
62
+ * After the host's timeline fields changed: bring every active recorded
63
+ * source to `w` from the new fields' indexes, so an `applyTimelineWindow` to
64
+ * the same window has nothing left to do. An inactive source is only marked
65
+ * stale; `applyTimelineWindow` re-derives it once it is active. Sources that
66
+ * were torn down or recreated are forgotten. Returns the ids whose state
67
+ * changed.
68
+ */
69
+ export declare function reindexTimelineSources(host: FeatureStateHost, applied: AppliedTimeline, w: TimelineWindow | null, isActive?: (sourceId: string) => boolean, fields?: TimelineFields): string[];
54
70
  /** Whether `id` carries the timeline-hidden state on `sourceId`, as painted. */
55
71
  export declare function isTimelineHiddenOn(applied: AppliedTimeline, sourceId: string, id: string): boolean;
56
72
  /**
@@ -58,7 +74,7 @@ export declare function isTimelineHiddenOn(applied: AppliedTimeline, sourceId: s
58
74
  * ids whose state changed. Sources that were torn down or recreated are
59
75
  * forgotten; a recreated one is seeded when it paints. An inactive source (a
60
76
  * hidden layer's shard) keeps its window and catches up on the first tick it
61
- * is active again, from that window.
77
+ * is active again, from that window, or from scratch when it is stale.
62
78
  */
63
- export declare function applyTimelineWindow(host: FeatureStateHost, applied: AppliedTimeline, next: TimelineWindow | null, isActive?: (sourceId: string) => boolean): string[];
79
+ export declare function applyTimelineWindow(host: FeatureStateHost, applied: AppliedTimeline, next: TimelineWindow | null, isActive?: (sourceId: string) => boolean, fields?: TimelineFields): string[];
64
80
  //# sourceMappingURL=timeline-state.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"timeline-state.d.ts","sourceRoot":"","sources":["../../../client/src/lib/timeline-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAmD,KAAK,aAAa,EAAE,M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-13,5 +13,6 @@
13
13
  * a category or a status, which would connect unrelated events; with no
14
14
  * identity-like field the layer keeps connecting all points.
15
15
  */
16
- export declare function suggestTraceGroupField(features: readonly (GeoJSON.Feature | undefined)[], fields: readonly string[]): string | null;
16
+ import type { TimelineFields } from './temporal-normalize';
17
+ export declare function suggestTraceGroupField(features: readonly (GeoJSON.Feature | undefined)[], fields: readonly string[], timelineFields?: TimelineFields): string | null;
17
18
  //# sourceMappingURL=trace-group-suggestion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"trace-group-suggestion.d.ts","sourceRoot":"","sources":["../../../client/src/lib/trace-group-suggestion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAqCH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,EAAE,EAClD,MAAM,EAAE,SAAS,MAAM,EAAE,GACxB,MAAM,GAAG,IAAI,CA+Bf"}
1
+ {"version":3,"file":"trace-group-suggestion.d.ts","sourceRoot":"","sources":["../../../client/src/lib/trace-group-suggestion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAsC3D,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,EAAE,EAClD,MAAM,EAAE,SAAS,MAAM,EAAE,EACzB,cAAc,CAAC,EAAE,cAAc,GAC9B,MAAM,GAAG,IAAI,CA+Bf"}
@@ -1,3 +1,4 @@
1
+ import { type TimelineFields } from './temporal-normalize';
1
2
  /**
2
3
  * Memoized trace grouping.
3
4
  *
@@ -48,11 +49,11 @@ export interface TraceSegmentStats {
48
49
  }
49
50
  export interface TraceGroup {
50
51
  key: string;
51
- /** Timed Point features of the group in ascending `startDate` order. */
52
+ /** Timed Point features of the group in ascending start order (`traceTime`). */
52
53
  points: GeoJSON.Feature[];
53
54
  /** `String(feature.id)` per point, parallel to `points`. */
54
55
  ids: string[];
55
- /** `startDate` parsed once per point, parallel to `points` (NaN when unparsable). */
56
+ /** The start parsed once per point, parallel to `points` (NaN when unparsable). */
56
57
  times: number[];
57
58
  /** Each point's position in the feature array the group was built from, parallel to `points`. */
58
59
  positions: number[];
@@ -63,10 +64,13 @@ export interface TraceGroup {
63
64
  }
64
65
  /**
65
66
  * Sorted groups for one layer's feature array. Only Point features with an
66
- * id and a truthy `startDate` take part; a point whose `groupByField` value
67
+ * id and a truthy `startDate` take part, or with `fields`, a start date in
68
+ * the picked field (`readTimelineDates`); a point whose `groupByField` value
67
69
  * is falsy lands in the ungrouped remainder.
68
70
  */
69
- export declare function getTraceGroups(features: readonly GeoJSON.Feature[], groupByField: string | null | undefined): readonly TraceGroup[];
71
+ export declare function getTraceGroups(features: readonly GeoJSON.Feature[], groupByField: string | null | undefined, fields?: TimelineFields): readonly TraceGroup[];
72
+ /** The point's time on its trace, or null when it takes no part. */
73
+ export declare function traceTime(feature: GeoJSON.Feature, fields: TimelineFields | undefined): number | null;
70
74
  /** Evenly spaced hues by group position (the ungrouped remainder counts as a position but keeps the default blue). */
71
75
  export declare function traceGroupColor(key: string, index: number, count: number): string;
72
76
  /** Indices (ascending) of the group's points the predicate keeps; it is called with each point's array position. */
@@ -1 +1 @@
1
- {"version":3,"file":"trace-groups.d.ts","sourceRoot":"","sources":["../../../client/src/lib/trace-groups.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,eAAO,MAAM,mBAAmB,YAAY,CAAC;AAC7C,eAAO,MAAM,mBAAmB,YAAY,CAAC;AAE7C,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM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KAAK,EAAE,MAAM,GAAG,MAAM,CAGjF;AAED,oHAAoH;AACpH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,GAAG,MAAM,EAAE,CAMzG;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,iBAAiB,CAmB1G;AAWD;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAE7F;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,UAAU,EACjB,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,OAAO,CAkBjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octostar/map-component",
3
- "version": "0.6.4",
3
+ "version": "0.7.0",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "description": "MapLibre-based map editor component",