@wemap/positioning 2.5.1 → 2.7.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/config.json +1 -4
- package/dist/wemap-positioning.min.js +1 -0
- package/index.js +8 -0
- package/package.json +11 -10
- package/src/components/NavigationConfig.js +3 -6
- package/src/providers/others/MapMatchingProvider.js +1 -4
- package/src/providers/pose/ArCoreProvider.js +1 -1
- package/src/providers/pose/GnssWifiPdrProvider.js +2 -1
- package/src/providers/pose/PoseProvider.js +1 -1
- package/src/providers/pose/pdr/PdrProvider.js +2 -2
- package/src/providers/pose/pdr/helpers/Smoother.js +1 -1
- package/src/providers/pose/pdr/helpers/Smoother.spec.js +361 -359
- package/webpack/webpack.prod.js +1 -1
- package/.eslintrc.json +0 -481
- package/.nvmrc +0 -1
- package/src/index.js +0 -8
package/webpack/webpack.prod.js
CHANGED
package/.eslintrc.json
DELETED
|
@@ -1,481 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"env": {
|
|
3
|
-
"amd": true,
|
|
4
|
-
"browser": true,
|
|
5
|
-
"commonjs": true,
|
|
6
|
-
"es6": true,
|
|
7
|
-
"mocha": true,
|
|
8
|
-
"node": true
|
|
9
|
-
},
|
|
10
|
-
"parser": "babel-eslint",
|
|
11
|
-
"parserOptions": {
|
|
12
|
-
"ecmaFeatures": {
|
|
13
|
-
"experimentalObjectRestSpread": true,
|
|
14
|
-
"jsx": true
|
|
15
|
-
},
|
|
16
|
-
"ecmaVersion": 6,
|
|
17
|
-
"sourceType": "module"
|
|
18
|
-
},
|
|
19
|
-
"plugins": [
|
|
20
|
-
"react",
|
|
21
|
-
"jsdoc"
|
|
22
|
-
],
|
|
23
|
-
"rules": {
|
|
24
|
-
"accessor-pairs": [
|
|
25
|
-
2,
|
|
26
|
-
{
|
|
27
|
-
"getWithoutSet": false,
|
|
28
|
-
"setWithoutGet": true
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"array-bracket-spacing": [
|
|
32
|
-
2,
|
|
33
|
-
"never",
|
|
34
|
-
{}
|
|
35
|
-
],
|
|
36
|
-
"arrow-parens": 0,
|
|
37
|
-
"arrow-spacing": 0,
|
|
38
|
-
"block-scoped-var": 2,
|
|
39
|
-
"brace-style": [
|
|
40
|
-
2,
|
|
41
|
-
"1tbs"
|
|
42
|
-
],
|
|
43
|
-
"callback-return": 0,
|
|
44
|
-
"camelcase": [
|
|
45
|
-
2,
|
|
46
|
-
{
|
|
47
|
-
"properties": "never"
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
"comma-dangle": [
|
|
51
|
-
2,
|
|
52
|
-
"never"
|
|
53
|
-
],
|
|
54
|
-
"comma-spacing": [
|
|
55
|
-
2,
|
|
56
|
-
{
|
|
57
|
-
"after": true
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"comma-style": 2,
|
|
61
|
-
"complexity": [
|
|
62
|
-
2,
|
|
63
|
-
20
|
|
64
|
-
],
|
|
65
|
-
"computed-property-spacing": [
|
|
66
|
-
2,
|
|
67
|
-
"never"
|
|
68
|
-
],
|
|
69
|
-
"consistent-return": 2,
|
|
70
|
-
"consistent-this": [
|
|
71
|
-
2,
|
|
72
|
-
"self"
|
|
73
|
-
],
|
|
74
|
-
"constructor-super": 0,
|
|
75
|
-
"curly": [
|
|
76
|
-
2,
|
|
77
|
-
"all"
|
|
78
|
-
],
|
|
79
|
-
"default-case": 0,
|
|
80
|
-
"dot-location": [
|
|
81
|
-
2,
|
|
82
|
-
"property"
|
|
83
|
-
],
|
|
84
|
-
"dot-notation": [
|
|
85
|
-
2,
|
|
86
|
-
{
|
|
87
|
-
"allowKeywords": true
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
"eol-last": 2,
|
|
91
|
-
"eqeqeq": [
|
|
92
|
-
2,
|
|
93
|
-
"allow-null"
|
|
94
|
-
],
|
|
95
|
-
"func-names": 0,
|
|
96
|
-
"func-style": 0,
|
|
97
|
-
"generator-star-spacing": 0,
|
|
98
|
-
"guard-for-in": 2,
|
|
99
|
-
"handle-callback-err": [
|
|
100
|
-
2,
|
|
101
|
-
"err"
|
|
102
|
-
],
|
|
103
|
-
"id-length": [
|
|
104
|
-
1,
|
|
105
|
-
{
|
|
106
|
-
"exceptions": [
|
|
107
|
-
"by",
|
|
108
|
-
"cb",
|
|
109
|
-
"fa",
|
|
110
|
-
"fs",
|
|
111
|
-
"id",
|
|
112
|
-
"js",
|
|
113
|
-
"ok",
|
|
114
|
-
"on",
|
|
115
|
-
"pp",
|
|
116
|
-
"pt",
|
|
117
|
-
"ne",
|
|
118
|
-
"nw",
|
|
119
|
-
"se",
|
|
120
|
-
"sw",
|
|
121
|
-
"to",
|
|
122
|
-
"e",
|
|
123
|
-
"i",
|
|
124
|
-
"j",
|
|
125
|
-
"k",
|
|
126
|
-
"l",
|
|
127
|
-
"m",
|
|
128
|
-
"n",
|
|
129
|
-
"x",
|
|
130
|
-
"y",
|
|
131
|
-
"z",
|
|
132
|
-
"FS",
|
|
133
|
-
"OK",
|
|
134
|
-
"PI",
|
|
135
|
-
"Q",
|
|
136
|
-
"L",
|
|
137
|
-
"W",
|
|
138
|
-
"$"
|
|
139
|
-
],
|
|
140
|
-
"max": 26,
|
|
141
|
-
"min": 3
|
|
142
|
-
}
|
|
143
|
-
],
|
|
144
|
-
"id-match": 0,
|
|
145
|
-
"indent": [
|
|
146
|
-
2,
|
|
147
|
-
4,
|
|
148
|
-
{
|
|
149
|
-
"SwitchCase": 0,
|
|
150
|
-
"VariableDeclarator": 1
|
|
151
|
-
}
|
|
152
|
-
],
|
|
153
|
-
"init-declarations": 0,
|
|
154
|
-
"key-spacing": [
|
|
155
|
-
1,
|
|
156
|
-
{
|
|
157
|
-
"afterColon": true,
|
|
158
|
-
"beforeColon": false,
|
|
159
|
-
"mode": "strict"
|
|
160
|
-
}
|
|
161
|
-
],
|
|
162
|
-
"keyword-spacing": 2,
|
|
163
|
-
"linebreak-style": [
|
|
164
|
-
2,
|
|
165
|
-
"unix"
|
|
166
|
-
],
|
|
167
|
-
"lines-around-comment": [
|
|
168
|
-
2,
|
|
169
|
-
{
|
|
170
|
-
"allowBlockStart": true,
|
|
171
|
-
"beforeBlockComment": true
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
|
-
"max-depth": [
|
|
175
|
-
2,
|
|
176
|
-
4
|
|
177
|
-
],
|
|
178
|
-
"max-len": [
|
|
179
|
-
1,
|
|
180
|
-
100,
|
|
181
|
-
4,
|
|
182
|
-
{
|
|
183
|
-
"ignoreComments": true,
|
|
184
|
-
"ignoreUrls": true
|
|
185
|
-
}
|
|
186
|
-
],
|
|
187
|
-
"max-nested-callbacks": [
|
|
188
|
-
2,
|
|
189
|
-
4
|
|
190
|
-
],
|
|
191
|
-
"max-params": [
|
|
192
|
-
1,
|
|
193
|
-
4
|
|
194
|
-
],
|
|
195
|
-
"max-statements": [
|
|
196
|
-
1,
|
|
197
|
-
25
|
|
198
|
-
],
|
|
199
|
-
"new-cap": [
|
|
200
|
-
2,
|
|
201
|
-
{
|
|
202
|
-
"capIsNew": true,
|
|
203
|
-
"newIsCap": true
|
|
204
|
-
}
|
|
205
|
-
],
|
|
206
|
-
"new-parens": 2,
|
|
207
|
-
"newline-after-var": 0,
|
|
208
|
-
"no-alert": 2,
|
|
209
|
-
"no-array-constructor": 2,
|
|
210
|
-
"no-bitwise": 2,
|
|
211
|
-
"no-caller": 1,
|
|
212
|
-
"no-catch-shadow": 2,
|
|
213
|
-
"no-class-assign": 0,
|
|
214
|
-
"no-cond-assign": [
|
|
215
|
-
2,
|
|
216
|
-
"except-parens"
|
|
217
|
-
],
|
|
218
|
-
"no-console": 1,
|
|
219
|
-
"no-const-assign": 0,
|
|
220
|
-
"no-constant-condition": 2,
|
|
221
|
-
"no-continue": 1,
|
|
222
|
-
"no-control-regex": 2,
|
|
223
|
-
"no-debugger": 1,
|
|
224
|
-
"no-delete-var": 1,
|
|
225
|
-
"no-div-regex": 2,
|
|
226
|
-
"no-dupe-args": 2,
|
|
227
|
-
"no-dupe-keys": 2,
|
|
228
|
-
"no-duplicate-case": 1,
|
|
229
|
-
"no-else-return": 2,
|
|
230
|
-
"no-empty": 2,
|
|
231
|
-
"no-empty-character-class": 2,
|
|
232
|
-
"no-empty-label": 0,
|
|
233
|
-
"no-eq-null": 2,
|
|
234
|
-
"no-eval": 2,
|
|
235
|
-
"no-ex-assign": 2,
|
|
236
|
-
"no-extend-native": 0,
|
|
237
|
-
"no-extra-bind": 2,
|
|
238
|
-
"no-extra-boolean-cast": 2,
|
|
239
|
-
"no-extra-parens": [
|
|
240
|
-
2,
|
|
241
|
-
"functions"
|
|
242
|
-
],
|
|
243
|
-
"no-extra-semi": 2,
|
|
244
|
-
"no-fallthrough": 2,
|
|
245
|
-
"no-floating-decimal": 2,
|
|
246
|
-
"no-func-assign": 2,
|
|
247
|
-
"no-implicit-coercion": [
|
|
248
|
-
1,
|
|
249
|
-
{
|
|
250
|
-
"boolean": true,
|
|
251
|
-
"number": true,
|
|
252
|
-
"string": true
|
|
253
|
-
}
|
|
254
|
-
],
|
|
255
|
-
"no-implied-eval": 2,
|
|
256
|
-
"no-inline-comments": 2,
|
|
257
|
-
"no-inner-declarations": [
|
|
258
|
-
2,
|
|
259
|
-
"both"
|
|
260
|
-
],
|
|
261
|
-
"no-invalid-regexp": 2,
|
|
262
|
-
"no-irregular-whitespace": 2,
|
|
263
|
-
"no-iterator": 2,
|
|
264
|
-
"no-label-var": 2,
|
|
265
|
-
"no-labels": 2,
|
|
266
|
-
"no-lone-blocks": 2,
|
|
267
|
-
"no-lonely-if": 2,
|
|
268
|
-
"no-loop-func": 2,
|
|
269
|
-
"no-mixed-requires": 0,
|
|
270
|
-
"no-mixed-spaces-and-tabs": 2,
|
|
271
|
-
"no-multi-spaces": 2,
|
|
272
|
-
"no-multi-str": 2,
|
|
273
|
-
"no-multiple-empty-lines": [
|
|
274
|
-
2,
|
|
275
|
-
{
|
|
276
|
-
"max": 2
|
|
277
|
-
}
|
|
278
|
-
],
|
|
279
|
-
"no-native-reassign": 2,
|
|
280
|
-
"no-negated-in-lhs": 2,
|
|
281
|
-
"no-nested-ternary": 2,
|
|
282
|
-
"no-new": 2,
|
|
283
|
-
"no-new-func": 2,
|
|
284
|
-
"no-new-object": 2,
|
|
285
|
-
"no-new-require": 2,
|
|
286
|
-
"no-new-wrappers": 2,
|
|
287
|
-
"no-obj-calls": 2,
|
|
288
|
-
"no-octal": 2,
|
|
289
|
-
"no-octal-escape": 2,
|
|
290
|
-
"no-param-reassign": [
|
|
291
|
-
1,
|
|
292
|
-
{
|
|
293
|
-
"props": true
|
|
294
|
-
}
|
|
295
|
-
],
|
|
296
|
-
"no-path-concat": 2,
|
|
297
|
-
"no-plusplus": 0,
|
|
298
|
-
"no-process-env": 0,
|
|
299
|
-
"no-process-exit": 0,
|
|
300
|
-
"no-proto": 2,
|
|
301
|
-
"no-redeclare": [
|
|
302
|
-
2,
|
|
303
|
-
{
|
|
304
|
-
"builtinGlobals": true
|
|
305
|
-
}
|
|
306
|
-
],
|
|
307
|
-
"no-regex-spaces": 2,
|
|
308
|
-
"no-restricted-modules": 0,
|
|
309
|
-
"no-return-assign": [
|
|
310
|
-
2,
|
|
311
|
-
"except-parens"
|
|
312
|
-
],
|
|
313
|
-
"no-script-url": 1,
|
|
314
|
-
"no-self-compare": 2,
|
|
315
|
-
"no-sequences": 2,
|
|
316
|
-
"no-shadow": [
|
|
317
|
-
2,
|
|
318
|
-
{
|
|
319
|
-
"hoist": "all"
|
|
320
|
-
}
|
|
321
|
-
],
|
|
322
|
-
"no-shadow-restricted-names": 2,
|
|
323
|
-
"no-spaced-func": 2,
|
|
324
|
-
"no-sparse-arrays": 2,
|
|
325
|
-
"no-sync": 0,
|
|
326
|
-
"no-ternary": 0,
|
|
327
|
-
"no-this-before-super": 0,
|
|
328
|
-
"no-throw-literal": 2,
|
|
329
|
-
"no-trailing-spaces": 2,
|
|
330
|
-
"no-undef": 2,
|
|
331
|
-
"no-undef-init": 2,
|
|
332
|
-
"no-undefined": 2,
|
|
333
|
-
"no-underscore-dangle": 0,
|
|
334
|
-
"no-unexpected-multiline": 2,
|
|
335
|
-
"no-unneeded-ternary": 2,
|
|
336
|
-
"no-unreachable": 2,
|
|
337
|
-
"no-unused-expressions": 2,
|
|
338
|
-
"no-unused-vars": 2,
|
|
339
|
-
"no-use-before-define": 2,
|
|
340
|
-
"no-useless-call": 2,
|
|
341
|
-
"no-var": 0,
|
|
342
|
-
"no-void": 1,
|
|
343
|
-
"no-warning-comments": [
|
|
344
|
-
1,
|
|
345
|
-
{
|
|
346
|
-
"location": "anywhere"
|
|
347
|
-
}
|
|
348
|
-
],
|
|
349
|
-
"no-whitespace-before-property": 1,
|
|
350
|
-
"no-with": 2,
|
|
351
|
-
"object-curly-newline": [
|
|
352
|
-
1,
|
|
353
|
-
{
|
|
354
|
-
"minProperties": 2
|
|
355
|
-
}
|
|
356
|
-
],
|
|
357
|
-
"object-curly-spacing": 0,
|
|
358
|
-
"object-property-newline": [
|
|
359
|
-
1,
|
|
360
|
-
{
|
|
361
|
-
"allowMultiplePropertiesPerLine": false
|
|
362
|
-
}
|
|
363
|
-
],
|
|
364
|
-
"object-shorthand": 0,
|
|
365
|
-
"operator-assignment": 0,
|
|
366
|
-
"operator-linebreak": [
|
|
367
|
-
2,
|
|
368
|
-
"before",
|
|
369
|
-
{
|
|
370
|
-
"overrides": {}
|
|
371
|
-
}
|
|
372
|
-
],
|
|
373
|
-
"padded-blocks": 0,
|
|
374
|
-
"prefer-const": 1,
|
|
375
|
-
"prefer-reflect": 0,
|
|
376
|
-
"prefer-spread": 0,
|
|
377
|
-
"quote-props": 0,
|
|
378
|
-
"quotes": [
|
|
379
|
-
2,
|
|
380
|
-
"single"
|
|
381
|
-
],
|
|
382
|
-
"radix": 2,
|
|
383
|
-
"react/forbid-prop-types": [
|
|
384
|
-
1,
|
|
385
|
-
{
|
|
386
|
-
"forbid": [
|
|
387
|
-
"any"
|
|
388
|
-
]
|
|
389
|
-
}
|
|
390
|
-
],
|
|
391
|
-
"react/jsx-indent": [
|
|
392
|
-
2,
|
|
393
|
-
4
|
|
394
|
-
],
|
|
395
|
-
"react/jsx-indent-props": [
|
|
396
|
-
2,
|
|
397
|
-
4
|
|
398
|
-
],
|
|
399
|
-
"react/jsx-max-props-per-line": [
|
|
400
|
-
2,
|
|
401
|
-
{
|
|
402
|
-
"maximum": 1
|
|
403
|
-
}
|
|
404
|
-
],
|
|
405
|
-
"react/jsx-no-comment-textnodes": 2,
|
|
406
|
-
"react/jsx-no-duplicate-props": 2,
|
|
407
|
-
"react/jsx-no-undef": 2,
|
|
408
|
-
"react/jsx-uses-vars": 2,
|
|
409
|
-
"react/no-deprecated": 1,
|
|
410
|
-
"react/prop-types": 2,
|
|
411
|
-
"require-yield": 0,
|
|
412
|
-
"semi": [
|
|
413
|
-
2,
|
|
414
|
-
"always"
|
|
415
|
-
],
|
|
416
|
-
"semi-spacing": 0,
|
|
417
|
-
"sort-vars": 0,
|
|
418
|
-
"space-after-keywords": 0,
|
|
419
|
-
"space-before-blocks": 0,
|
|
420
|
-
"space-before-function-paren": [
|
|
421
|
-
2,
|
|
422
|
-
{
|
|
423
|
-
"anonymous": "never",
|
|
424
|
-
"named": "never"
|
|
425
|
-
}
|
|
426
|
-
],
|
|
427
|
-
"space-in-parens": [
|
|
428
|
-
2,
|
|
429
|
-
"never"
|
|
430
|
-
],
|
|
431
|
-
"space-infix-ops": 2,
|
|
432
|
-
"space-unary-ops": 0,
|
|
433
|
-
"spaced-comment": [
|
|
434
|
-
2,
|
|
435
|
-
"always",
|
|
436
|
-
{
|
|
437
|
-
"exceptions": [
|
|
438
|
-
"-",
|
|
439
|
-
"+",
|
|
440
|
-
"#"
|
|
441
|
-
]
|
|
442
|
-
}
|
|
443
|
-
],
|
|
444
|
-
"strict": [
|
|
445
|
-
2,
|
|
446
|
-
"function"
|
|
447
|
-
],
|
|
448
|
-
"use-isnan": 2,
|
|
449
|
-
"valid-jsdoc": 0,
|
|
450
|
-
"valid-typeof": 2,
|
|
451
|
-
"vars-on-top": 0,
|
|
452
|
-
"wrap-iife": [
|
|
453
|
-
2,
|
|
454
|
-
"outside"
|
|
455
|
-
],
|
|
456
|
-
"wrap-regex": 2,
|
|
457
|
-
"yoda": [
|
|
458
|
-
2,
|
|
459
|
-
"never",
|
|
460
|
-
{}
|
|
461
|
-
],
|
|
462
|
-
"jsdoc/no-undefined-types": 1
|
|
463
|
-
},
|
|
464
|
-
"settings": {
|
|
465
|
-
"react": {
|
|
466
|
-
"pragma": "React",
|
|
467
|
-
"version": "16.0"
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
"overrides": [
|
|
471
|
-
{
|
|
472
|
-
"files": [
|
|
473
|
-
"*.test.js",
|
|
474
|
-
"*.spec.js"
|
|
475
|
-
],
|
|
476
|
-
"rules": {
|
|
477
|
-
"no-unused-expressions": "off"
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
]
|
|
481
|
-
}
|
package/.nvmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
12.10.0
|
package/src/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import InclinationProvider from './providers/others/InclinationProvider';
|
|
2
|
-
import PositioningHandler from './PositioningHandler';
|
|
3
|
-
import EventType from './events/EventType';
|
|
4
|
-
import { ProvidersName } from './providers/ProvidersList';
|
|
5
|
-
|
|
6
|
-
export {
|
|
7
|
-
InclinationProvider, PositioningHandler, EventType, ProvidersName
|
|
8
|
-
};
|