@tomtom-org/maps-sdk-plugin-agent-toolkit 0.9.0 → 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/dist/index.d.ts +8 -8
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1697,11 +1697,11 @@ declare class RoutingState implements ShownEntriesSlice {
|
|
|
1697
1697
|
private _params;
|
|
1698
1698
|
private _entryMode;
|
|
1699
1699
|
/**
|
|
1700
|
-
* Slice-level
|
|
1700
|
+
* Slice-level route colour applied to every RoutingModule on first show / re-show. Sticky
|
|
1701
1701
|
* across entry swaps so the rendered route always uses the most recently requested color.
|
|
1702
|
-
* Set via {@link
|
|
1702
|
+
* Set via {@link setColor}; persists for the lifetime of the slice (cleared on `reset`).
|
|
1703
1703
|
*/
|
|
1704
|
-
private
|
|
1704
|
+
private _color?;
|
|
1705
1705
|
/**
|
|
1706
1706
|
* The most recently `.showEntry`-ed id. Tracks "who was last brought up" so tools that
|
|
1707
1707
|
* operate on the focused module have a single pointer to read; the authoritative shown
|
|
@@ -1745,15 +1745,15 @@ declare class RoutingState implements ShownEntriesSlice {
|
|
|
1745
1745
|
showWaypoints?: boolean;
|
|
1746
1746
|
showSummaryBubbles?: boolean;
|
|
1747
1747
|
}): Promise<void>;
|
|
1748
|
-
/** Slice-level
|
|
1749
|
-
get
|
|
1748
|
+
/** Slice-level route colour persisted across entry swaps. Undefined when none has been set. */
|
|
1749
|
+
get color(): string | undefined;
|
|
1750
1750
|
/**
|
|
1751
|
-
* Set the slice-level
|
|
1751
|
+
* Set the slice-level route colour. The colour is applied immediately to every currently-shown
|
|
1752
1752
|
* entry's RoutingModule and remembered so that subsequent {@link showEntry} calls apply it
|
|
1753
|
-
* automatically. Pass `undefined` to clear the sticky
|
|
1753
|
+
* automatically. Pass `undefined` to clear the sticky colour — currently-shown modules keep
|
|
1754
1754
|
* their last paint until they're re-shown (MapLibre style restore handles full revert).
|
|
1755
1755
|
*/
|
|
1756
|
-
|
|
1756
|
+
setColor(color: string | undefined): void;
|
|
1757
1757
|
/**
|
|
1758
1758
|
* Hide the entry's routes + waypoints on its module (clear; the module stays cached).
|
|
1759
1759
|
* No-op when the entry is unknown or already hidden.
|