@mappedin/viewer 0.8.1 → 0.8.2-fd8a5a6.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.
@@ -34,8 +34,8 @@ declare class RootStore {
34
34
  startupOptions: TStartViewerOptions | TStartViewerWithLocalDataOptions;
35
35
  });
36
36
  private getInitialDepartureMode;
37
- private serializeCoordinate;
38
- private deserializeCoordinate;
37
+ private getCoordinateForUrl;
38
+ private getCoordinateFromUrl;
39
39
  private syncState;
40
40
  private syncCurrentMap;
41
41
  get __mvfFeaturesByExternalId(): Record<string, import("@mappedin/mvf").Feature<import("@mappedin/mvf").Polygon | import("@mappedin/mvf").LineString | import("@mappedin/mvf").Point, import("@mappedin/mvf").SpaceProperties> | import("@mappedin/mvf").Feature<import("@mappedin/mvf").Polygon | import("@mappedin/mvf").LineString, import("@mappedin/mvf").ObstructionProperties>>;
@@ -14,14 +14,17 @@ declare class RouterStore {
14
14
  history: History;
15
15
  base?: string;
16
16
  });
17
- private getParams;
17
+ private encodeParam;
18
+ private decodeParam;
19
+ private encodeParams;
20
+ private parseSearch;
18
21
  private update;
19
22
  private getPath;
20
23
  get state(): {
21
24
  path: string;
22
- params: Record<string, string>;
25
+ params: Record<string, string | string[]>;
23
26
  };
24
- go(state: string, newParams: Record<string, string | undefined>, options?: TRouterGoOptions): void;
27
+ go(state: string, newParams: Record<string, string | string[] | undefined>, options?: TRouterGoOptions): void;
25
28
  back(): void;
26
29
  cleanup(): void;
27
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mappedin/viewer",
3
- "version": "0.8.1",
3
+ "version": "0.8.2-fd8a5a6.0",
4
4
  "type": "module",
5
5
  "browser": "./dist/index.js",
6
6
  "license": "UNLICENSED",