@situm/react-native 3.15.0-beta.0 → 3.15.0-beta.2
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/src/main/java/com/situm/plugin/PluginHelper.java +1 -1
- package/android/src/main/java/com/situm/plugin/SitumPluginImpl.java +1 -1
- package/ios/SitumPlugin.m +18 -11
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/sdk/index.js.map +1 -1
- package/lib/commonjs/sdk/internaDelegatedState.js.map +1 -0
- package/lib/commonjs/sdk/nativeInterface.js.map +1 -1
- package/lib/commonjs/sdk/types/constants.js.map +1 -1
- package/lib/commonjs/sdk/types/index.js.map +1 -1
- package/lib/commonjs/sdk/utils.js.map +1 -1
- package/lib/commonjs/utils/index.js.map +1 -1
- package/lib/commonjs/utils/logError.js.map +1 -1
- package/lib/commonjs/wayfinding/index.js.map +1 -1
- package/lib/commonjs/wayfinding/types/index.js.map +1 -1
- package/lib/commonjs/wayfinding/utils/index.js.map +1 -1
- package/lib/commonjs/wayfinding/utils/mapper.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/sdk/index.js.map +0 -1
- package/lib/module/sdk/internaDelegatedState.js.map +1 -0
- package/lib/module/sdk/nativeInterface.js.map +1 -1
- package/lib/module/sdk/types/constants.js.map +1 -1
- package/lib/module/sdk/types/index.js.map +1 -1
- package/lib/module/sdk/utils.js.map +1 -1
- package/lib/module/utils/index.js.map +1 -1
- package/lib/module/utils/logError.js.map +0 -1
- package/lib/module/wayfinding/index.js.map +1 -1
- package/lib/module/wayfinding/types/constants.js.map +1 -1
- package/lib/module/wayfinding/types/index.js.map +0 -1
- package/lib/module/wayfinding/utils/index.js.map +1 -1
- package/lib/module/wayfinding/utils/mapper.js.map +1 -1
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/{src/sdk → sdk}/index.d.ts +25 -32
- package/lib/typescript/sdk/index.d.ts.map +1 -0
- package/lib/typescript/sdk/internaDelegatedState.d.ts +17 -0
- package/lib/typescript/sdk/internaDelegatedState.d.ts.map +1 -0
- package/lib/typescript/{src/sdk → sdk}/nativeInterface.d.ts +4 -2
- package/lib/typescript/sdk/nativeInterface.d.ts.map +1 -0
- package/lib/typescript/sdk/types/constants.d.ts.map +1 -0
- package/lib/typescript/{src/sdk → sdk}/types/index.d.ts +2 -1
- package/lib/typescript/sdk/types/index.d.ts.map +1 -0
- package/lib/typescript/{src/sdk → sdk}/utils.d.ts +1 -1
- package/lib/typescript/sdk/utils.d.ts.map +1 -0
- package/lib/typescript/utils/index.d.ts.map +1 -0
- package/lib/typescript/utils/logError.d.ts.map +1 -0
- package/lib/typescript/{src/wayfinding → wayfinding}/components/MapView.d.ts +1 -1
- package/lib/typescript/wayfinding/components/MapView.d.ts.map +1 -0
- package/lib/typescript/wayfinding/hooks/index.d.ts.map +1 -0
- package/lib/typescript/wayfinding/index.d.ts.map +1 -0
- package/lib/typescript/{src/wayfinding → wayfinding}/store/index.d.ts +13 -13
- package/lib/typescript/wayfinding/store/index.d.ts.map +1 -0
- package/lib/typescript/{src/wayfinding → wayfinding}/store/utils.d.ts +0 -1
- package/lib/typescript/wayfinding/store/utils.d.ts.map +1 -0
- package/lib/typescript/wayfinding/types/constants.d.ts.map +1 -0
- package/lib/typescript/{src/wayfinding → wayfinding}/types/index.d.ts +1 -1
- package/lib/typescript/wayfinding/types/index.d.ts.map +1 -0
- package/lib/typescript/wayfinding/utils/index.d.ts +3 -0
- package/lib/typescript/wayfinding/utils/index.d.ts.map +1 -0
- package/lib/typescript/wayfinding/utils/mapper.d.ts.map +1 -0
- package/package.json +24 -35
- package/src/sdk/index.ts +67 -52
- package/src/sdk/internaDelegatedState.ts +54 -0
- package/src/sdk/nativeInterface.ts +31 -27
- package/src/sdk/types/index.ts +7 -6
- package/src/sdk/utils.ts +12 -9
- package/src/utils/logError.ts +1 -1
- package/src/wayfinding/components/MapView.tsx +103 -104
- package/src/wayfinding/hooks/index.ts +94 -91
- package/src/wayfinding/store/index.tsx +4 -4
- package/src/wayfinding/types/index.ts +1 -1
- package/src/wayfinding/utils/index.ts +2 -1
- package/LICENSE +0 -21
- package/README.md +0 -200
- package/SECURITY-POLICY.md +0 -9
- package/lib/commonjs/index.js +0 -73
- package/lib/commonjs/sdk/index.js +0 -932
- package/lib/commonjs/sdk/nativeInterface.js +0 -20
- package/lib/commonjs/sdk/types/constants.js +0 -68
- package/lib/commonjs/sdk/types/index.js +0 -405
- package/lib/commonjs/sdk/utils.js +0 -156
- package/lib/commonjs/utils/index.js +0 -17
- package/lib/commonjs/utils/logError.js +0 -21
- package/lib/commonjs/wayfinding/components/MapView.js +0 -389
- package/lib/commonjs/wayfinding/components/MapView.js.map +0 -1
- package/lib/commonjs/wayfinding/hooks/index.js +0 -229
- package/lib/commonjs/wayfinding/hooks/index.js.map +0 -1
- package/lib/commonjs/wayfinding/index.js +0 -57
- package/lib/commonjs/wayfinding/store/index.js +0 -242
- package/lib/commonjs/wayfinding/store/index.js.map +0 -1
- package/lib/commonjs/wayfinding/store/utils.js +0 -49
- package/lib/commonjs/wayfinding/store/utils.js.map +0 -1
- package/lib/commonjs/wayfinding/types/constants.js +0 -13
- package/lib/commonjs/wayfinding/types/constants.js.map +0 -1
- package/lib/commonjs/wayfinding/types/index.js +0 -6
- package/lib/commonjs/wayfinding/utils/index.js +0 -11
- package/lib/commonjs/wayfinding/utils/mapper.js +0 -206
- package/lib/module/index.js +0 -12
- package/lib/module/sdk/index.js +0 -903
- package/lib/module/sdk/nativeInterface.js +0 -18
- package/lib/module/sdk/types/constants.js +0 -63
- package/lib/module/sdk/types/index.js +0 -434
- package/lib/module/sdk/utils.js +0 -144
- package/lib/module/utils/index.js +0 -2
- package/lib/module/utils/logError.js +0 -15
- package/lib/module/wayfinding/components/MapView.js +0 -379
- package/lib/module/wayfinding/components/MapView.js.map +0 -1
- package/lib/module/wayfinding/hooks/index.js +0 -220
- package/lib/module/wayfinding/hooks/index.js.map +0 -1
- package/lib/module/wayfinding/index.js +0 -13
- package/lib/module/wayfinding/store/index.js +0 -206
- package/lib/module/wayfinding/store/index.js.map +0 -1
- package/lib/module/wayfinding/store/utils.js +0 -38
- package/lib/module/wayfinding/store/utils.js.map +0 -1
- package/lib/module/wayfinding/types/constants.js +0 -7
- package/lib/module/wayfinding/types/index.js +0 -2
- package/lib/module/wayfinding/utils/index.js +0 -4
- package/lib/module/wayfinding/utils/mapper.js +0 -195
- package/lib/typescript/src/index.d.ts.map +0 -1
- package/lib/typescript/src/sdk/index.d.ts.map +0 -1
- package/lib/typescript/src/sdk/nativeInterface.d.ts.map +0 -1
- package/lib/typescript/src/sdk/types/constants.d.ts.map +0 -1
- package/lib/typescript/src/sdk/types/index.d.ts.map +0 -1
- package/lib/typescript/src/sdk/utils.d.ts.map +0 -1
- package/lib/typescript/src/utils/index.d.ts.map +0 -1
- package/lib/typescript/src/utils/logError.d.ts.map +0 -1
- package/lib/typescript/src/wayfinding/components/MapView.d.ts.map +0 -1
- package/lib/typescript/src/wayfinding/hooks/index.d.ts.map +0 -1
- package/lib/typescript/src/wayfinding/index.d.ts.map +0 -1
- package/lib/typescript/src/wayfinding/store/index.d.ts.map +0 -1
- package/lib/typescript/src/wayfinding/store/utils.d.ts.map +0 -1
- package/lib/typescript/src/wayfinding/types/constants.d.ts.map +0 -1
- package/lib/typescript/src/wayfinding/types/index.d.ts.map +0 -1
- package/lib/typescript/src/wayfinding/utils/index.d.ts +0 -3
- package/lib/typescript/src/wayfinding/utils/index.d.ts.map +0 -1
- package/lib/typescript/src/wayfinding/utils/mapper.d.ts.map +0 -1
- package/security.txt +0 -4
- /package/lib/typescript/{src/index.d.ts → index.d.ts} +0 -0
- /package/lib/typescript/{src/sdk → sdk}/types/constants.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/index.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/logError.d.ts +0 -0
- /package/lib/typescript/{src/wayfinding → wayfinding}/hooks/index.d.ts +0 -0
- /package/lib/typescript/{src/wayfinding → wayfinding}/index.d.ts +0 -0
- /package/lib/typescript/{src/wayfinding → wayfinding}/types/constants.d.ts +0 -0
- /package/lib/typescript/{src/wayfinding → wayfinding}/utils/mapper.d.ts +0 -0
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 Situm Technologies
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/README.md
DELETED
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
<p align="center"> <img width="233" src="https://situm.com/wp-content/themes/situm/img/logo-situm.svg" style="margin-bottom:1rem" /> <h1 align="center">@situm/react-native</h1> </p>
|
|
2
|
-
|
|
3
|
-
<p align="center" style="text-align:center">
|
|
4
|
-
|
|
5
|
-
Set of utilities that allow any developer to build React Native location based apps using [Situm](https://www.situm.com/)'s indoor positioning system.
|
|
6
|
-
|
|
7
|
-
</p>
|
|
8
|
-
|
|
9
|
-
<div align="center" style="text-align:center">
|
|
10
|
-
|
|
11
|
-
[](https://opensource.org/licenses/MIT)
|
|
12
|
-

|
|
13
|
-

|
|
14
|
-
[](https://github.com/ellerbrock/typescript-badges/)
|
|
15
|
-

|
|
16
|
-
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
## Introduction
|
|
20
|
-
|
|
21
|
-
Situm React Native Plugin is a set of utilities that allow any developer to build React Native location based apps using [Situm](https://www.situm.com/)'s indoor positioning system.
|
|
22
|
-
|
|
23
|
-
This plugin has two parts:
|
|
24
|
-
|
|
25
|
-
- The base SDK, the building blocks that allow you to:
|
|
26
|
-
|
|
27
|
-
- obtain information related to buildings where Situm's positioning system is already configured: floorplans, points of interest, geotriggered events, etc.
|
|
28
|
-
- retrieve the location of the smartphone inside these buildings (position, orientation, and floor where the smartphone is).
|
|
29
|
-
- compute a route from a point A (e.g. where the smartphone is) to a point B (e.g. any point of interest within the building).
|
|
30
|
-
- trigger notifications when the user enters a certain area.
|
|
31
|
-
|
|
32
|
-
- A full featured and easy to integrate React Native component that allows you to:
|
|
33
|
-
- show your cartography on a map
|
|
34
|
-
- show the user location on the map
|
|
35
|
-
- calculate point-to-point wayfinging routes
|
|
36
|
-
- explore points of interest on your buildings on the map
|
|
37
|
-
|
|
38
|
-

|
|
39
|
-

|
|
40
|
-
|
|
41
|
-
<!-- ## Table of contents
|
|
42
|
-
|
|
43
|
-
- [Setup your account](#setup-your-account)
|
|
44
|
-
- [Installing pre-requisites](#installing-pre-requisites)
|
|
45
|
-
- [Using the Plugin](#using-the-plugin)
|
|
46
|
-
- [Getting Started](#getting-started)
|
|
47
|
-
- [Accessing plugin object](#accessing-plugin-object)
|
|
48
|
-
- [Methods](#methods)
|
|
49
|
-
- [Submitting Contributions](#submitting-contributions)
|
|
50
|
-
- [License](#license)
|
|
51
|
-
- [More information](#more-information)
|
|
52
|
-
- [Support information](#support-information) -->
|
|
53
|
-
|
|
54
|
-
## Getting started
|
|
55
|
-
|
|
56
|
-
There is a comprehensive tutorial on how to set-up a new application using this plugin on the Situm [documentation page](https://situm.com/docs/a-basic-react-native-app/).
|
|
57
|
-
|
|
58
|
-
Below you will find the basic steps to install and configure the plugin on your React Native project. These steps have already been done for you in the example application of this repository, but they are required for other projects.
|
|
59
|
-
|
|
60
|
-
## Running the example
|
|
61
|
-
|
|
62
|
-
Check the [example/README](./example/README.md) file of this repository to create your first React Native application using Situm React Native. In this example app you will find example screens for each method the plugin exposes.
|
|
63
|
-
|
|
64
|
-
### Configure the plugin on your React Native project
|
|
65
|
-
|
|
66
|
-
#### Install the plugin
|
|
67
|
-
|
|
68
|
-
Firstly you need to setup react-native development environment. To get started please follow instructions under section **React Native CLI Quickstart** on this [guide.](https://reactnative.dev/docs/environment-setup)
|
|
69
|
-
|
|
70
|
-
To add the Situm dependency to your React Native project, you can use the `yarn` or `npm` command. To add this dependency to your project, you can use the following command in your terminal:
|
|
71
|
-
|
|
72
|
-
```shell
|
|
73
|
-
yarn add @situm/react-native react-native-webview react-native-permissions
|
|
74
|
-
|
|
75
|
-
#OR
|
|
76
|
-
|
|
77
|
-
npm install --save @situm/react-native react-native-webview react-native-permissions
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
#### Set up your Situm credentials
|
|
81
|
-
|
|
82
|
-
Create a new `situm.tsx` file with your Situm credentials. You can use the contents of [example/src/situm.tsx](./example/src/situm.tsx) as example.
|
|
83
|
-
|
|
84
|
-
Follow the [Wayfinding guide](https://situm.com/docs/first-steps-for-wayfinding/) if you haven't set
|
|
85
|
-
up a Situm account.
|
|
86
|
-
|
|
87
|
-
#### Android
|
|
88
|
-
|
|
89
|
-
1. Add the `ACCESS_FINE_LOCATION` permission to your `AndroidManifest.xml` file if you have configured Situm SDK to [use GPS](<https://developers.situm.com/sdk_documentation/android/javadoc/latest/es/situm/sdk/location/locationrequest#useGps()>):
|
|
90
|
-
|
|
91
|
-
```xml
|
|
92
|
-
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
3. Set the `minSdkVersion` to 21 or later on your app's `build.gradle` file.
|
|
96
|
-
|
|
97
|
-
#### iOS
|
|
98
|
-
|
|
99
|
-
1. Add depedency in `PodFile`
|
|
100
|
-
|
|
101
|
-
```ruby
|
|
102
|
-
target 'YourApp' do
|
|
103
|
-
|
|
104
|
-
pod 'ReactNativeSitumPlugin', :path => '../node_modules/@situm/react-native/ReactNativeSitumPlugin.podspec'
|
|
105
|
-
|
|
106
|
-
end
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
You may need to add a Header Search Path: ([screenshot](https://reactnative.dev/docs/linking-libraries-ios.html#step-3))
|
|
110
|
-
|
|
111
|
-
```bash
|
|
112
|
-
$(SRCROOT)/../node_modules/@situm/react-native/lib/ios
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
2. Declare the following permissions in your app's `Info.plist` file to successfully start positioning:
|
|
116
|
-
|
|
117
|
-
```xml
|
|
118
|
-
<key>NSLocationWhenInUseUsageDescription</key>
|
|
119
|
-
<string>Location is required to find out where you are</string>
|
|
120
|
-
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
|
|
121
|
-
<string>Location is required to find out where you are</string>
|
|
122
|
-
<key>NSMotionUsageDescription</key>
|
|
123
|
-
<string>We use your phone sensors (giroscope, accelerometer and altimeter) to improve location quality</string>
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
3. For offline support you will have to add the underlying web application's domain inside the entry `WKAppBoundDomains` on `Info.plist` as follows:
|
|
127
|
-
|
|
128
|
-
```xml
|
|
129
|
-
<key>WKAppBoundDomains</key>
|
|
130
|
-
<array>
|
|
131
|
-
<string>map-viewer.situm.com</string>
|
|
132
|
-
</array>
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
## Migrate from the old Situm React Native Wayfinding plugin
|
|
136
|
-
|
|
137
|
-
The new [Situm React Native](https://www.npmjs.com/package/@situm/react-native) package breaks compatibility with the previous Situm React Native Wayfinding plugin. Integrating the new version is simpler and more straightforward. If you want to migrate your application, follow the steps described in the [Situm documentation](https://situm.com/docs/react-native-wayfinding-migration-guide).
|
|
138
|
-
|
|
139
|
-
## Development
|
|
140
|
-
|
|
141
|
-
### Run the tests
|
|
142
|
-
|
|
143
|
-
```bash
|
|
144
|
-
yarn test
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
Situm-React-Native-Plugin is licensed under [MIT License](https://opensource.org/licenses/MIT)
|
|
148
|
-
|
|
149
|
-
### Build the library
|
|
150
|
-
|
|
151
|
-
```bash
|
|
152
|
-
yarn run prepare
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
This will also generate the docs (see next section). More info is available at our [Developers Page](http://developers.situm.com/pages/mobile/react-native/).
|
|
156
|
-
|
|
157
|
-
### Build the documentation
|
|
158
|
-
|
|
159
|
-
```bash
|
|
160
|
-
yarn run doc
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
Docs will be available in the _docs/_ folder.
|
|
164
|
-
|
|
165
|
-
### Release version
|
|
166
|
-
|
|
167
|
-
```bash
|
|
168
|
-
yarn run prepare
|
|
169
|
-
npm pack
|
|
170
|
-
npm publish
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
or for beta channel
|
|
174
|
-
|
|
175
|
-
```bash
|
|
176
|
-
npm publish --tag beta
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
## Versioning
|
|
180
|
-
|
|
181
|
-
Please refer to [CHANGELOG.md](./CHANGELOG.md) for a list of notable changes for each version of the plugin.
|
|
182
|
-
|
|
183
|
-
You can also see the [tags on this repository](https://github.com/situmtech/situm-react-native/tags).
|
|
184
|
-
|
|
185
|
-
## Submitting contributions
|
|
186
|
-
|
|
187
|
-
You will need to sign a Contributor License Agreement (CLA) before making a submission. [Learn more here](https://situm.com/contributions/).
|
|
188
|
-
|
|
189
|
-
## License
|
|
190
|
-
|
|
191
|
-
This project is licensed under the MIT - see the [LICENSE](./LICENSE) file for further details.
|
|
192
|
-
|
|
193
|
-
## More information
|
|
194
|
-
|
|
195
|
-
More info is available at our [Developers Page](https://situm.com/docs/01-introduction/).
|
|
196
|
-
|
|
197
|
-
## Support information
|
|
198
|
-
|
|
199
|
-
For any question or bug report, please send an email to [support@situm.es](mailto:support@situm.es)
|
|
200
|
-
|
package/SECURITY-POLICY.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Please read [security.txt](https://github.com/situmtech/situm-react-native-plugin/blob/master/security.txt)
|
|
2
|
-
to report any security vulnerabilities. We will acknowledge receipt of your
|
|
3
|
-
vulnerability report and strive to send you regular updates about our
|
|
4
|
-
progress. If you're curious about the status of your disclosure please
|
|
5
|
-
feel free to email us again.
|
|
6
|
-
|
|
7
|
-
Please refrain from requesting compensation for reporting vulnerabilities.
|
|
8
|
-
If you want we will publicly acknowledge your responsible disclosure,
|
|
9
|
-
once the issue is fixed.
|
package/lib/commonjs/index.js
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _exportNames = {};
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _sdk = _interopRequireWildcard(require("./sdk"));
|
|
9
|
-
Object.keys(_sdk).forEach(function (key) {
|
|
10
|
-
if (key === "default" || key === "__esModule") return;
|
|
11
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
12
|
-
if (key in exports && exports[key] === _sdk[key]) return;
|
|
13
|
-
Object.defineProperty(exports, key, {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () {
|
|
16
|
-
return _sdk[key];
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
});
|
|
20
|
-
var _types = require("./sdk/types");
|
|
21
|
-
Object.keys(_types).forEach(function (key) {
|
|
22
|
-
if (key === "default" || key === "__esModule") return;
|
|
23
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
24
|
-
if (key in exports && exports[key] === _types[key]) return;
|
|
25
|
-
Object.defineProperty(exports, key, {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () {
|
|
28
|
-
return _types[key];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
var _types2 = require("./wayfinding/types");
|
|
33
|
-
Object.keys(_types2).forEach(function (key) {
|
|
34
|
-
if (key === "default" || key === "__esModule") return;
|
|
35
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
36
|
-
if (key in exports && exports[key] === _types2[key]) return;
|
|
37
|
-
Object.defineProperty(exports, key, {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function () {
|
|
40
|
-
return _types2[key];
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
});
|
|
44
|
-
var _utils = require("./utils");
|
|
45
|
-
Object.keys(_utils).forEach(function (key) {
|
|
46
|
-
if (key === "default" || key === "__esModule") return;
|
|
47
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
48
|
-
if (key in exports && exports[key] === _utils[key]) return;
|
|
49
|
-
Object.defineProperty(exports, key, {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function () {
|
|
52
|
-
return _utils[key];
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
var _wayfinding = require("./wayfinding");
|
|
57
|
-
Object.keys(_wayfinding).forEach(function (key) {
|
|
58
|
-
if (key === "default" || key === "__esModule") return;
|
|
59
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
60
|
-
if (key in exports && exports[key] === _wayfinding[key]) return;
|
|
61
|
-
Object.defineProperty(exports, key, {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function () {
|
|
64
|
-
return _wayfinding[key];
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
69
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
70
|
-
// Definitions
|
|
71
|
-
// APIs
|
|
72
|
-
var _default = exports.default = _sdk.default;
|
|
73
|
-
//# sourceMappingURL=index.js.map
|