@situm/react-native 3.0.0-beta.5 → 3.0.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/android/gradlew.bat +84 -84
- package/lib/commonjs/index.js +12 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/sdk/types/index.d.js +82 -109
- package/lib/commonjs/sdk/types/index.d.js.map +1 -1
- package/lib/commonjs/wayfinding/index.js +17 -0
- package/lib/commonjs/wayfinding/index.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/sdk/types/index.d.js +82 -109
- package/lib/module/sdk/types/index.d.js.map +1 -1
- package/lib/module/wayfinding/index.js +1 -0
- package/lib/module/wayfinding/index.js.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/wayfinding/index.d.ts +1 -1
- package/lib/typescript/src/wayfinding/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/sdk/types/index.d.ts +83 -137
- package/src/wayfinding/index.ts +1 -1
- package/src/wayfinding/types/index.d.ts +7 -3
- package/android/.gradle/5.6.4/fileChanges/last-build.bin +0 -0
- package/android/.gradle/5.6.4/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/5.6.4/gc.properties +0 -0
package/android/gradlew.bat
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
@if "%DEBUG%" == "" @echo off
|
|
2
|
-
@rem ##########################################################################
|
|
3
|
-
@rem
|
|
4
|
-
@rem Gradle startup script for Windows
|
|
5
|
-
@rem
|
|
6
|
-
@rem ##########################################################################
|
|
7
|
-
|
|
8
|
-
@rem Set local scope for the variables with windows NT shell
|
|
9
|
-
if "%OS%"=="Windows_NT" setlocal
|
|
10
|
-
|
|
11
|
-
set DIRNAME=%~dp0
|
|
12
|
-
if "%DIRNAME%" == "" set DIRNAME=.
|
|
13
|
-
set APP_BASE_NAME=%~n0
|
|
14
|
-
set APP_HOME=%DIRNAME%
|
|
15
|
-
|
|
16
|
-
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
17
|
-
set DEFAULT_JVM_OPTS=
|
|
18
|
-
|
|
19
|
-
@rem Find java.exe
|
|
20
|
-
if defined JAVA_HOME goto findJavaFromJavaHome
|
|
21
|
-
|
|
22
|
-
set JAVA_EXE=java.exe
|
|
23
|
-
%JAVA_EXE% -version >NUL 2>&1
|
|
24
|
-
if "%ERRORLEVEL%" == "0" goto init
|
|
25
|
-
|
|
26
|
-
echo.
|
|
27
|
-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
28
|
-
echo.
|
|
29
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
30
|
-
echo location of your Java installation.
|
|
31
|
-
|
|
32
|
-
goto fail
|
|
33
|
-
|
|
34
|
-
:findJavaFromJavaHome
|
|
35
|
-
set JAVA_HOME=%JAVA_HOME:"=%
|
|
36
|
-
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
37
|
-
|
|
38
|
-
if exist "%JAVA_EXE%" goto init
|
|
39
|
-
|
|
40
|
-
echo.
|
|
41
|
-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
|
42
|
-
echo.
|
|
43
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
44
|
-
echo location of your Java installation.
|
|
45
|
-
|
|
46
|
-
goto fail
|
|
47
|
-
|
|
48
|
-
:init
|
|
49
|
-
@rem Get command-line arguments, handling Windows variants
|
|
50
|
-
|
|
51
|
-
if not "%OS%" == "Windows_NT" goto win9xME_args
|
|
52
|
-
|
|
53
|
-
:win9xME_args
|
|
54
|
-
@rem Slurp the command line arguments.
|
|
55
|
-
set CMD_LINE_ARGS=
|
|
56
|
-
set _SKIP=2
|
|
57
|
-
|
|
58
|
-
:win9xME_args_slurp
|
|
59
|
-
if "x%~1" == "x" goto execute
|
|
60
|
-
|
|
61
|
-
set CMD_LINE_ARGS=%*
|
|
62
|
-
|
|
63
|
-
:execute
|
|
64
|
-
@rem Setup the command line
|
|
65
|
-
|
|
66
|
-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
|
67
|
-
|
|
68
|
-
@rem Execute Gradle
|
|
69
|
-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
|
|
70
|
-
|
|
71
|
-
:end
|
|
72
|
-
@rem End local scope for the variables with windows NT shell
|
|
73
|
-
if "%ERRORLEVEL%"=="0" goto mainEnd
|
|
74
|
-
|
|
75
|
-
:fail
|
|
76
|
-
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
|
77
|
-
rem the _cmd.exe /c_ return code!
|
|
78
|
-
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
|
79
|
-
exit /b 1
|
|
80
|
-
|
|
81
|
-
:mainEnd
|
|
82
|
-
if "%OS%"=="Windows_NT" endlocal
|
|
83
|
-
|
|
84
|
-
:omega
|
|
1
|
+
@if "%DEBUG%" == "" @echo off
|
|
2
|
+
@rem ##########################################################################
|
|
3
|
+
@rem
|
|
4
|
+
@rem Gradle startup script for Windows
|
|
5
|
+
@rem
|
|
6
|
+
@rem ##########################################################################
|
|
7
|
+
|
|
8
|
+
@rem Set local scope for the variables with windows NT shell
|
|
9
|
+
if "%OS%"=="Windows_NT" setlocal
|
|
10
|
+
|
|
11
|
+
set DIRNAME=%~dp0
|
|
12
|
+
if "%DIRNAME%" == "" set DIRNAME=.
|
|
13
|
+
set APP_BASE_NAME=%~n0
|
|
14
|
+
set APP_HOME=%DIRNAME%
|
|
15
|
+
|
|
16
|
+
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
17
|
+
set DEFAULT_JVM_OPTS=
|
|
18
|
+
|
|
19
|
+
@rem Find java.exe
|
|
20
|
+
if defined JAVA_HOME goto findJavaFromJavaHome
|
|
21
|
+
|
|
22
|
+
set JAVA_EXE=java.exe
|
|
23
|
+
%JAVA_EXE% -version >NUL 2>&1
|
|
24
|
+
if "%ERRORLEVEL%" == "0" goto init
|
|
25
|
+
|
|
26
|
+
echo.
|
|
27
|
+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
28
|
+
echo.
|
|
29
|
+
echo Please set the JAVA_HOME variable in your environment to match the
|
|
30
|
+
echo location of your Java installation.
|
|
31
|
+
|
|
32
|
+
goto fail
|
|
33
|
+
|
|
34
|
+
:findJavaFromJavaHome
|
|
35
|
+
set JAVA_HOME=%JAVA_HOME:"=%
|
|
36
|
+
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
37
|
+
|
|
38
|
+
if exist "%JAVA_EXE%" goto init
|
|
39
|
+
|
|
40
|
+
echo.
|
|
41
|
+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
|
42
|
+
echo.
|
|
43
|
+
echo Please set the JAVA_HOME variable in your environment to match the
|
|
44
|
+
echo location of your Java installation.
|
|
45
|
+
|
|
46
|
+
goto fail
|
|
47
|
+
|
|
48
|
+
:init
|
|
49
|
+
@rem Get command-line arguments, handling Windows variants
|
|
50
|
+
|
|
51
|
+
if not "%OS%" == "Windows_NT" goto win9xME_args
|
|
52
|
+
|
|
53
|
+
:win9xME_args
|
|
54
|
+
@rem Slurp the command line arguments.
|
|
55
|
+
set CMD_LINE_ARGS=
|
|
56
|
+
set _SKIP=2
|
|
57
|
+
|
|
58
|
+
:win9xME_args_slurp
|
|
59
|
+
if "x%~1" == "x" goto execute
|
|
60
|
+
|
|
61
|
+
set CMD_LINE_ARGS=%*
|
|
62
|
+
|
|
63
|
+
:execute
|
|
64
|
+
@rem Setup the command line
|
|
65
|
+
|
|
66
|
+
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
|
67
|
+
|
|
68
|
+
@rem Execute Gradle
|
|
69
|
+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
|
|
70
|
+
|
|
71
|
+
:end
|
|
72
|
+
@rem End local scope for the variables with windows NT shell
|
|
73
|
+
if "%ERRORLEVEL%"=="0" goto mainEnd
|
|
74
|
+
|
|
75
|
+
:fail
|
|
76
|
+
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
|
77
|
+
rem the _cmd.exe /c_ return code!
|
|
78
|
+
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
|
79
|
+
exit /b 1
|
|
80
|
+
|
|
81
|
+
:mainEnd
|
|
82
|
+
if "%OS%"=="Windows_NT" endlocal
|
|
83
|
+
|
|
84
|
+
:omega
|
package/lib/commonjs/index.js
CHANGED
|
@@ -18,6 +18,18 @@ Object.keys(_index).forEach(function (key) {
|
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
});
|
|
21
|
+
var _index2 = require("./wayfinding/types/index.d");
|
|
22
|
+
Object.keys(_index2).forEach(function (key) {
|
|
23
|
+
if (key === "default" || key === "__esModule") return;
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
25
|
+
if (key in exports && exports[key] === _index2[key]) return;
|
|
26
|
+
Object.defineProperty(exports, key, {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () {
|
|
29
|
+
return _index2[key];
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
});
|
|
21
33
|
var _requestPermission = require("./utils/requestPermission");
|
|
22
34
|
Object.keys(_requestPermission).forEach(function (key) {
|
|
23
35
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_sdk","_interopRequireDefault","require","_index","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_requestPermission","_wayfinding","obj","__esModule","default","_default","SitumPlugin"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;AAAA,IAAAA,IAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,MAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,MAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,MAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;
|
|
1
|
+
{"version":3,"names":["_sdk","_interopRequireDefault","require","_index","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_index2","_requestPermission","_wayfinding","obj","__esModule","default","_default","SitumPlugin"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;AAAA,IAAAA,IAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,MAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,MAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,MAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,OAAA,GAAAd,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAW,OAAA,EAAAV,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAS,OAAA,CAAAT,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,OAAA,CAAAT,GAAA;IAAA;EAAA;AAAA;AAGA,IAAAU,kBAAA,GAAAf,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAY,kBAAA,EAAAX,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAU,kBAAA,CAAAV,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAE,kBAAA,CAAAV,GAAA;IAAA;EAAA;AAAA;AACA,IAAAW,WAAA,GAAAhB,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAa,WAAA,EAAAZ,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAW,WAAA,CAAAX,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAG,WAAA,CAAAX,GAAA;IAAA;EAAA;AAAA;AAA6B,SAAAN,uBAAAkB,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAN7B;AAIA;AAAA,IAAAG,QAAA,GAGeC,YAAW;AAAAX,OAAA,CAAAS,OAAA,GAAAC,QAAA"}
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatusName = void 0;
|
|
7
7
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
8
8
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
9
|
-
/**
|
|
10
|
-
* Building
|
|
11
|
-
* @description
|
|
12
|
-
*
|
|
9
|
+
/**
|
|
10
|
+
* @name Building
|
|
11
|
+
* @description A Building object definition
|
|
12
|
+
*
|
|
13
13
|
* @property {string} buildingIdentifier - The unique identifier of the resource
|
|
14
14
|
* @property {string} name - The building name that is appropriate for display to the user.
|
|
15
15
|
* @property {string} address - Te building address.
|
|
@@ -24,43 +24,38 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
24
24
|
* @property {string} userIdentifier - Unique identifier of the owner user of the building
|
|
25
25
|
* @property {object} customFields - Map of custom fields, indexed by their name.
|
|
26
26
|
*/
|
|
27
|
-
/** @name
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* Represents a rectangle bounds in a greographic 2D space.
|
|
27
|
+
/** @name Bounds
|
|
28
|
+
* @description Represents a rectangle bounds in a greographic 2D space.
|
|
29
|
+
*
|
|
31
30
|
* @property {Coordinate} northEast - The coordinate of the north-east corner of the bound.
|
|
32
31
|
* @property {Coordinate} northWest - The coordinate of the north-west corner of the bound.
|
|
33
32
|
* @property {Coordinate} southEast - The coordinate of the south-east corner of the bound.
|
|
34
33
|
* @property {Coordinate} southWest - The coordinate of the south-east corner of the bound.
|
|
35
34
|
*/
|
|
36
|
-
/** @name
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* Define 2D dimensions of a rectangular area.
|
|
35
|
+
/** @name Dimensions
|
|
36
|
+
* @description Define 2D dimensions of a rectangular area.
|
|
37
|
+
*
|
|
40
38
|
* @property {number} width - Width of rectangle in meters
|
|
41
39
|
* @property {number} height - Height of rectangle in meters.
|
|
42
40
|
*/
|
|
43
41
|
/**
|
|
44
|
-
* @name
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* A structure that contains geographical coordinate.
|
|
42
|
+
* @name Coordinate
|
|
43
|
+
* @description A structure that contains geographical coordinate.
|
|
44
|
+
*
|
|
48
45
|
* @property {number} latitude - Latitude in degrees
|
|
49
46
|
* @property {number} longitude - Longitude in degrees
|
|
50
47
|
*/
|
|
51
48
|
/**
|
|
52
|
-
* @name
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* A structure that contains cartesian coordinate.
|
|
49
|
+
* @name CartesianCoordinate
|
|
50
|
+
* @description A structure that contains cartesian coordinate.
|
|
51
|
+
*
|
|
56
52
|
* @property {number} x - Value of coordinate at x-axis
|
|
57
53
|
* @property {number} y - Value of coordinate at y-axis
|
|
58
54
|
*/
|
|
59
55
|
/**
|
|
60
|
-
* @name
|
|
61
|
-
* Floor
|
|
62
|
-
*
|
|
63
|
-
* Floor of a building.
|
|
56
|
+
* @name Floor
|
|
57
|
+
* @description Floor of a building.
|
|
58
|
+
*
|
|
64
59
|
* @property {number} altitude - Altitude of the floor above ground level, in meters.
|
|
65
60
|
* @property {string} buildingIdentifier - The identifier of building which this floor belongs.
|
|
66
61
|
* @property {number} level - The number of the floor.
|
|
@@ -70,10 +65,9 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
70
65
|
* @property {string} floorIdentifier - The unique identifier of the resource
|
|
71
66
|
*/
|
|
72
67
|
/**
|
|
73
|
-
* @name
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* Point of Interest, associated to a building, regardless of whether it's place inside or outside the building.
|
|
68
|
+
* @name POI
|
|
69
|
+
* @description Point of Interest, associated to a building, regardless of whether it's place inside or outside the building.
|
|
70
|
+
*
|
|
77
71
|
* @property {string} identifier - The unique identifier of the resource
|
|
78
72
|
* @property {string} buildingIdentifier - Identifier of building to which the POI belongs.
|
|
79
73
|
* @property {CartesianCoordinate} cartesianCoordinate - Cartesian coordinate of this position, relative to building {@link Bounds}.
|
|
@@ -88,10 +82,9 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
88
82
|
* @property {object} customFields - Map of custom fields, indexed by their name.
|
|
89
83
|
*/
|
|
90
84
|
/**
|
|
91
|
-
* @name
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
* Point of Interest, associated to a building, regardless of whether it's place inside or outside the building.
|
|
85
|
+
* @name Geofence
|
|
86
|
+
* @description Point of Interest, associated to a building, regardless of whether it's place inside or outside the building.
|
|
87
|
+
*
|
|
95
88
|
* @property {string} identifier - The unique identifier of the resource
|
|
96
89
|
* @property {string} buildingIdentifier - Identifier of building to which the POI belongs.
|
|
97
90
|
* @property {string} floorIdentifier - If this POI is outside the building (isOutdoor == true), this field has no meaning.
|
|
@@ -101,10 +94,9 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
101
94
|
* @property {object} customFields - Map of custom fields, indexed by their name.
|
|
102
95
|
*/
|
|
103
96
|
/**
|
|
104
|
-
* @name
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
* Category of Point of Interest.
|
|
97
|
+
* @name PoiCategory
|
|
98
|
+
* @description Category of Point of Interest.
|
|
99
|
+
*
|
|
108
100
|
* @property {string} poiCategoryCode - Unique code of the category
|
|
109
101
|
* @property {string} poiCategoryName - The category name appropriate for display to the user
|
|
110
102
|
* @property {string} icon_selected - The selected icon url
|
|
@@ -112,10 +104,9 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
112
104
|
* @property {boolean} public - Whether the category is public or not
|
|
113
105
|
*/
|
|
114
106
|
/**
|
|
115
|
-
* @name
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
* Associate geographical coordinate (Location) with Building and Floor (Cartography) and cartesian coordinate relative to that building.
|
|
107
|
+
* @name Point
|
|
108
|
+
* @description Associate geographical coordinate (Location) with Building and Floor (Cartography) and cartesian coordinate relative to that building.
|
|
109
|
+
*
|
|
119
110
|
* @property {string} buildingIdentifier - Unique identifier for the building to which this point belongs
|
|
120
111
|
* @property {CartesianCoordinate} cartesianCoordinate - Cartesian coordinate (in meters) relative to the Bounds of building's base.
|
|
121
112
|
* @property {Coordinate} coordinate - Geographic coordinate (latitude, longitude) of the point, regardless of whether it's placed inside or outside the building.
|
|
@@ -124,10 +115,9 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
124
115
|
* @property {boolean} idOutdoor - If the POI is outside the building.
|
|
125
116
|
*/
|
|
126
117
|
/**
|
|
127
|
-
* @name
|
|
128
|
-
* Route
|
|
129
|
-
*
|
|
130
|
-
* Route between two points.
|
|
118
|
+
* @name Route
|
|
119
|
+
* @description Route between two points.
|
|
120
|
+
*
|
|
131
121
|
* @property {RouteStep[]} edges - Ordered list of steps to go to the goal point
|
|
132
122
|
* @property {RouteStep} firstStep - First step
|
|
133
123
|
* @property {Point} from - Point where the route starts.
|
|
@@ -140,10 +130,9 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
140
130
|
* @property {RouteSegment[]} segments - List of segments formed by consecutive points and a floor identifier
|
|
141
131
|
*/
|
|
142
132
|
/**
|
|
143
|
-
* @name
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
* A fragment of a route, described by the initial point from and the last point to of the fragment, and some information about the step within the route.
|
|
133
|
+
* @name RouteStep
|
|
134
|
+
* @description A fragment of a route, described by the initial point from and the last point to of the fragment, and some information about the step within the route.
|
|
135
|
+
*
|
|
147
136
|
* @property {number} distance - Distance between from and to in meters.
|
|
148
137
|
* @property {number} distanceToGoal - Distance in meters between the start point of this step (from) and the last point in the route ('to' of the last step).
|
|
149
138
|
* @property {Point} from - Start point of this step.
|
|
@@ -153,18 +142,16 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
153
142
|
* @property {boolean} isLast - Returns true if this is the last step in the route.
|
|
154
143
|
*/
|
|
155
144
|
/**
|
|
156
|
-
* @name
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
* A fragment of a route, described by a floor identifier and a list of consecutive points from the same floor
|
|
145
|
+
* @name RouteSegment
|
|
146
|
+
* @description A fragment of a route, described by a floor identifier and a list of consecutive points from the same floor
|
|
147
|
+
*
|
|
160
148
|
* @property {string} floorIdentifier - Identifier of the floor containing the points in this segment
|
|
161
149
|
* @property {Point[]} points - Consecutive points in the same floor forming a path
|
|
162
150
|
*/
|
|
163
151
|
/**
|
|
164
|
-
* @name
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
* Represents the instruction that a user should follow when on a RouteStep to continue the route.
|
|
152
|
+
* @name Indication
|
|
153
|
+
* @description Represents the instruction that a user should follow when on a RouteStep to continue the route.
|
|
154
|
+
*
|
|
168
155
|
* @property {number} distance - The distance between the origin and destination
|
|
169
156
|
* @property {number} distanceToNextLevel - The number of levels between the origin and destination
|
|
170
157
|
* @property {string} indicationType - The Indication.Action of the instruction as String
|
|
@@ -175,10 +162,9 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
175
162
|
* @property {boolean} neededLevelChange - If the user should change the level in order to arrive to destination
|
|
176
163
|
*/
|
|
177
164
|
/**
|
|
178
|
-
* @name
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
* Provides information of the progress of a user while following a route.
|
|
165
|
+
* @name NavigationProgress
|
|
166
|
+
* @description Provides information of the progress of a user while following a route.
|
|
167
|
+
*
|
|
182
168
|
* @property {Point} closestPointInRoute - Closest point in the route from the user location provided . @deprecated Use closestLocationInRoute instead.
|
|
183
169
|
* @property {Location} closestLocationInRoute - Closest location in the route from the user location provided .
|
|
184
170
|
* @property {number} distanceToClosestPointInRoute - Distance between the real user location (provided to updateWithLocation(Location)) and the closest route location.
|
|
@@ -194,10 +180,9 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
194
180
|
* @property {RouteSegment[]} segments - List of segments formed by consecutive points and a floor identifier
|
|
195
181
|
*/
|
|
196
182
|
/**
|
|
197
|
-
* @name
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
* An event: POI with radius, conversion area and asociated statistics. It is intended for usage in marketing apps.
|
|
183
|
+
* @name SitumEvent
|
|
184
|
+
* @description An event: POI with radius, conversion area and asociated statistics. It is intended for usage in marketing apps.
|
|
185
|
+
*
|
|
201
186
|
* @property {number} buildingIdentifier - The identifier of the building this floor belongs to. Deprecated, use trigger.center.buildingIdentifier instead
|
|
202
187
|
* @property {number} identifier - Unique identifier of the SitumEvent.
|
|
203
188
|
* @property {number} floorIdentifier - The identifier of the floor this event is located at. @deprecated, use trigger.center.floorIdentifier instead
|
|
@@ -212,10 +197,9 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
212
197
|
* @property {number} y - Center of the event in the y-axis. @deprecated, use trigger.center.cartesianCoordinate.y instead
|
|
213
198
|
*/
|
|
214
199
|
/**
|
|
215
|
-
* @name
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* A rectangular area of a floor defining the conversion area of an event
|
|
200
|
+
* @name SitumConversionArea
|
|
201
|
+
* @description A rectangular area of a floor defining the conversion area of an event
|
|
202
|
+
*
|
|
219
203
|
* @property {number} floorIdentifier - The identifier of the floor the SitumConversionArea is located at.
|
|
220
204
|
* @property {object} topLeft - Top-left corner
|
|
221
205
|
* @property {object} topRight - Top-right corner
|
|
@@ -223,18 +207,16 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
223
207
|
* @property {object} bottomRight - Bottom-right corner
|
|
224
208
|
*/
|
|
225
209
|
/**
|
|
226
|
-
* @name
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
* A circular area
|
|
210
|
+
* @name Circle
|
|
211
|
+
* @description A circular area
|
|
212
|
+
*
|
|
230
213
|
* @property {Point} center - The center of the circle
|
|
231
214
|
* @property {number} radius - The radius of the circle
|
|
232
215
|
*/
|
|
233
216
|
/**
|
|
234
|
-
* @name
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
* A data object that contains parameters for the location service, LocationManager.
|
|
217
|
+
* @name LocationOptions
|
|
218
|
+
* @description A data object that contains parameters for the location service, LocationManager.
|
|
219
|
+
*
|
|
238
220
|
* @property {number} buildingIdentifier - Identifier of the building on which the positioning will be started
|
|
239
221
|
* @property {number} interval - Default interval (in milliseconds) to notify location updates
|
|
240
222
|
* @property {string} indoorProvider - Default indoor provider. Possible values are INPHONE and SUPPORT
|
|
@@ -252,19 +234,16 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
252
234
|
* @property {boolean} autoEnableBleDuringPositioning - Set if the BLE should be re-enabled during positioning if the ble is used. Android only
|
|
253
235
|
*/
|
|
254
236
|
/**
|
|
255
|
-
* @name
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
* A data object that contains parameters for the location service, LocationManager.
|
|
259
|
-
* @type {array}
|
|
237
|
+
* @name LocationRequest
|
|
238
|
+
* @description A data object that contains parameters for the location service, LocationManager.
|
|
239
|
+
*
|
|
260
240
|
* @property {Building} building 0 - Building on which the positioning will be started
|
|
261
241
|
* @property {LocationOptions} locationOptions 1 - Location options.
|
|
262
242
|
*/
|
|
263
243
|
/**
|
|
264
|
-
* @name
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
* A data object that contains parameters for the navigation service, NavigationManager.
|
|
244
|
+
* @name NavigationRequest
|
|
245
|
+
* @description A data object that contains parameters for the navigation service, NavigationManager.
|
|
246
|
+
*
|
|
268
247
|
* @property {number} distanceToChangeIndicationThreshold - Distance threshold from when the next indication is considered reached.
|
|
269
248
|
* @property {number} distanceToFloorChangeThreshold - Distance threshold from when a floor change is considered reached.
|
|
270
249
|
* @property {number} distanceToGoalThreshold - Distance threshold from when the goal is considered reached.
|
|
@@ -277,20 +256,18 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
277
256
|
* @property {number} timeToIgnoreUnexpectedFloorChanges - Time (in millis) to ignore the locations received during navigation, when the next indication is a floor change, if the locations are in a wrong floor (not in origin or destination floors).
|
|
278
257
|
*/
|
|
279
258
|
/**
|
|
280
|
-
* @name
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
* A data object that contains the request for directions.
|
|
259
|
+
* @name DirectionsRequest
|
|
260
|
+
* @description A data object that contains the request for directions.
|
|
261
|
+
*
|
|
284
262
|
* @property {Building} positioningBuilding
|
|
285
263
|
* @property {Point|Location} from - Current user's position as the starting point of the route.
|
|
286
264
|
* @property {Point|POI} to - Point to, where the route should end.
|
|
287
265
|
* @property {DirectionsOptions} options - Options that can be added to the request.
|
|
288
266
|
*/
|
|
289
267
|
/**
|
|
290
|
-
* @name
|
|
291
|
-
*
|
|
292
|
-
*
|
|
293
|
-
* A data object that contains the directions options.
|
|
268
|
+
* @name DirectionsOptions
|
|
269
|
+
* @description A data object that contains the directions options.
|
|
270
|
+
*
|
|
294
271
|
* @property {boolean} minimizeFloorChanges - Defines wheter or not the route should be calculated minimizing the floor changes even if the result is longer.
|
|
295
272
|
* @property {boolean} accessibleRoute - Deprecated, use accessibilityMode. Defines wheter or not the route has to be suitable for wheel chairs (true) or not (false).
|
|
296
273
|
* @property {boolean} accessible - Deprecated, use accessibilityMode. Defines wheter or not the route has to be suitable for wheel chairs (true) or not (false).
|
|
@@ -298,35 +275,31 @@ exports.NavigationUpdateType = exports.NavigationStatus = exports.LocationStatus
|
|
|
298
275
|
* @property {number} startingAngle - Current user's orientation in degrees.
|
|
299
276
|
*/
|
|
300
277
|
/**
|
|
301
|
-
* @name
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
* Outdoor location options are only used in indoor-outdoor mode (Only available for Android)
|
|
278
|
+
* @name OutdoorLocationOptions
|
|
279
|
+
* @description Outdoor location options are only used in indoor-outdoor mode (Only available for Android)
|
|
280
|
+
*
|
|
305
281
|
* @property {boolean} continuousMode - Environment detection continuous mode (true) or burst mode (false).
|
|
306
282
|
* @property {boolean} userDefinedThreshold
|
|
307
283
|
* @property {number} burstInterval - Interval to scan for GPS and detect the environment (in seconds).
|
|
308
284
|
* @property {number} averageSnrThreshold
|
|
309
285
|
*/
|
|
310
286
|
/**
|
|
311
|
-
* @name
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
* Represents a BLE filter. Now the only field is the BLE proximity UUID
|
|
287
|
+
* @name BeaconFilter
|
|
288
|
+
* @description Represents a BLE filter. Now the only field is the BLE proximity UUID
|
|
289
|
+
*
|
|
315
290
|
* @property {string} uuid - Assigns the proximity UUID
|
|
316
291
|
*/
|
|
317
292
|
/**
|
|
318
|
-
* @name
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
* A data object that contains the parameters to process realtime data of the users.
|
|
293
|
+
* @name RealTimeRequest
|
|
294
|
+
* @description A data object that contains the parameters to process realtime data of the users.
|
|
295
|
+
*
|
|
322
296
|
* @property {Building} building object
|
|
323
297
|
* @property {int} pollTime - Interval in milliseconds (minimum is 3000ms).
|
|
324
298
|
*/
|
|
325
299
|
/**
|
|
326
|
-
* @name
|
|
327
|
-
*
|
|
328
|
-
*
|
|
329
|
-
* A data object that contains information of the location of users in realtime.
|
|
300
|
+
* @name RealTimeData
|
|
301
|
+
* @description A data object that contains information of the location of users in realtime.
|
|
302
|
+
*
|
|
330
303
|
* @property {Array<Location>} locations object
|
|
331
304
|
*/
|
|
332
305
|
let LocationStatusName = /*#__PURE__*/function (LocationStatusName) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["LocationStatusName","exports","NavigationStatus","NavigationUpdateType"],"sourceRoot":"../../../../src","sources":["sdk/types/index.d.ts"],"mappings":";;;;;;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;
|
|
1
|
+
{"version":3,"names":["LocationStatusName","exports","NavigationStatus","NavigationUpdateType"],"sourceRoot":"../../../../src","sources":["sdk/types/index.d.ts"],"mappings":";;;;;;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAiBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAQA;AACA;AACA;AACA;AACA;AACA;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAcA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAiBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAmBA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAcA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAQA;AACA;AACA;AACA;AACA;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA;AACA;AACA;AACA;AACA;AACA;AALA,IAwCYA,kBAAkB,0BAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAA,OAAlBA,kBAAkB;AAAA;AAAAC,OAAA,CAAAD,kBAAA,GAAAA,kBAAA;AAAA,IAgClBE,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;AAAAD,OAAA,CAAAC,gBAAA,GAAAA,gBAAA;AAAA,IAMhBC,oBAAoB,0BAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAAA,OAApBA,oBAAoB;AAAA;AAAAF,OAAA,CAAAE,oBAAA,GAAAA,oBAAA"}
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
useSitum: true,
|
|
8
|
+
SitumProvider: true,
|
|
9
|
+
MapView: true
|
|
10
|
+
};
|
|
6
11
|
Object.defineProperty(exports, "MapView", {
|
|
7
12
|
enumerable: true,
|
|
8
13
|
get: function () {
|
|
@@ -21,6 +26,18 @@ Object.defineProperty(exports, "useSitum", {
|
|
|
21
26
|
return _hooks.default;
|
|
22
27
|
}
|
|
23
28
|
});
|
|
29
|
+
var _types = require("./types");
|
|
30
|
+
Object.keys(_types).forEach(function (key) {
|
|
31
|
+
if (key === "default" || key === "__esModule") return;
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
33
|
+
if (key in exports && exports[key] === _types[key]) return;
|
|
34
|
+
Object.defineProperty(exports, key, {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () {
|
|
37
|
+
return _types[key];
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
});
|
|
24
41
|
var _hooks = _interopRequireDefault(require("./hooks"));
|
|
25
42
|
var _store = _interopRequireDefault(require("./store"));
|
|
26
43
|
var _MapView = _interopRequireDefault(require("./components/MapView"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_types","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_hooks","_interopRequireDefault","_store","_MapView","obj","__esModule","default"],"sourceRoot":"../../../src","sources":["wayfinding/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAb,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AAGA,IAAAS,MAAA,GAAAC,sBAAA,CAAAd,OAAA;AAGA,IAAAe,MAAA,GAAAD,sBAAA,CAAAd,OAAA;AAGA,IAAAgB,QAAA,GAAAF,sBAAA,CAAAd,OAAA;AAA0D,SAAAc,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA"}
|
package/lib/module/index.js
CHANGED
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SitumPlugin"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA,OAAOA,WAAW,MAAM,OAAO;;AAE/B;AACA,cAAc,qBAAqB;;
|
|
1
|
+
{"version":3,"names":["SitumPlugin"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA,OAAOA,WAAW,MAAM,OAAO;;AAE/B;AACA,cAAc,qBAAqB;AACnC,cAAc,4BAA4B;;AAE1C;AACA,cAAc,2BAA2B;AACzC,cAAc,cAAc;AAC5B,eAAeA,WAAW"}
|