@mappedin/viewer 0.44.5-e461565.0 → 0.45.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.
@@ -1,4 +1,5 @@
1
1
  export declare enum E_DEPARTURE_MODE {
2
+ BLUE_DOT = "blue-dot",
2
3
  YOU_ARE_HERE = "you-are-here",
3
4
  DROPPED_PIN = "dropped-pin",
4
5
  LOCATION = "location",
@@ -17,7 +17,8 @@ export declare enum E_FEATURE_FLAGS {
17
17
  SAFETY_MODE = "safety-mode",
18
18
  SIMILAR_PLACES_TOAST = "similar-places-toast",
19
19
  NOTHING_ON_FLOOR_TOAST = "nothing-on-floor-toast",
20
- BLUE_DOT = "blue-dot"
20
+ BLUE_DOT = "blue-dot",
21
+ DEFAULT_LANGUAGE = "default-language"
21
22
  }
22
23
  type TFeatureFlagPayloads = {
23
24
  [E_FEATURE_FLAGS.MAKER_POP_UP]: boolean;
@@ -30,6 +31,7 @@ type TFeatureFlagPayloads = {
30
31
  [E_FEATURE_FLAGS.SIMILAR_PLACES_TOAST]: boolean;
31
32
  [E_FEATURE_FLAGS.NOTHING_ON_FLOOR_TOAST]: boolean;
32
33
  [E_FEATURE_FLAGS.BLUE_DOT]: boolean;
34
+ [E_FEATURE_FLAGS.DEFAULT_LANGUAGE]: Record<string, string>;
33
35
  };
34
36
  type TFeatureFlag<Key extends E_FEATURE_FLAGS> = {
35
37
  /**
@@ -122,6 +122,7 @@ declare class RootStore {
122
122
  get isAccessible(): boolean;
123
123
  get isSafetyModeEnabled(): boolean;
124
124
  get isOutdoorsVisible(): boolean;
125
+ get isBlueDotEnabled(): string | boolean;
125
126
  /**
126
127
  * The initial pitch from the router params. To get the initial pitch with defaults from the theme,
127
128
  * use {@link UIStore.theme.map.initialPitch}.
@@ -187,6 +187,7 @@ declare class UIStore {
187
187
  }): string;
188
188
  handleShareClick(): boolean | void;
189
189
  handleAppTimeout(): void;
190
+ setLanguage(language: string): void;
190
191
  cleanup(): void;
191
192
  }
192
193
  export default UIStore;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mappedin/viewer",
3
- "version": "0.44.5-e461565.0",
3
+ "version": "0.45.0",
4
4
  "type": "module",
5
5
  "browser": "./dist/index.js",
6
6
  "license": "UNLICENSED",