@stadiamaps/ferrostar-webcomponents 0.48.1 → 0.50.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/dist/ferrostar-webcomponents.js +348 -336
- package/dist/ferrostar-webcomponents.js.map +1 -1
- package/dist/ferrostar-webcomponents.umd.cjs +19 -19
- package/dist/ferrostar-webcomponents.umd.cjs.map +1 -1
- package/dist/replay-controller.d.ts +3 -1
- package/dist/replay-controller.d.ts.map +1 -1
- package/dist/replay-events.d.ts +9 -0
- package/dist/replay-events.d.ts.map +1 -0
- package/dist/replay-tool.d.ts +8 -0
- package/dist/replay-tool.d.ts.map +1 -0
- package/package.json +10 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Route, TripState } from '@stadiamaps/ferrostar';
|
|
1
|
+
import { NavigationRecordingEvent, Route, TripState } from '@stadiamaps/ferrostar';
|
|
2
2
|
import { StateProvider } from './types';
|
|
3
3
|
import { ReactiveElement } from 'lit';
|
|
4
4
|
export declare class ReplayController extends ReactiveElement implements StateProvider {
|
|
@@ -30,5 +30,7 @@ export declare class ReplayController extends ReactiveElement implements StatePr
|
|
|
30
30
|
get speed(): number;
|
|
31
31
|
get playing(): boolean;
|
|
32
32
|
get duration(): number;
|
|
33
|
+
get events(): NavigationRecordingEvent[];
|
|
34
|
+
get initialRoute(): Route | null;
|
|
33
35
|
}
|
|
34
36
|
//# sourceMappingURL=replay-controller.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay-controller.d.ts","sourceRoot":"","sources":["../src/replay-controller.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"replay-controller.d.ts","sourceRoot":"","sources":["../src/replay-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAExB,KAAK,EACL,SAAS,EACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,KAAK,CAAC;AAGtC,qBACa,gBAAiB,SAAQ,eAAgB,YAAW,aAAa;IAC5E,OAAO,CAAC,MAAM,CAA0B;IACxC,OAAO,CAAC,aAAa,CAAyC;IAC9D,OAAO,CAAC,KAAK,CAAsB;IAInC,OAAO,CAAC,UAAU,CAAkB;IAIpC,OAAO,CAAC,SAAS,CAAkB;IAInC,OAAO,CAAC,aAAa,CAAa;IAIlC,OAAO,CAAC,eAAe,CAAa;IAIpC,OAAO,CAAC,mBAAmB,CAAa;IAGxC,OAAO,CAAC,cAAc,CAAa;IAGnC,OAAO,CAAC,cAAc,CAAa;IAGnC,OAAO,CAAC,SAAS,CAAkC;IAGnD,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAG/B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;gBAElB,QAAQ,EAAE,MAAM;IAU5B,OAAO,CAAC,UAAU;IAMZ,WAAW;IAmDX,IAAI;IAOV,KAAK;IAML,gBAAgB,CAAC,KAAK,EAAE,MAAM;IAK9B,WAAW,CAAC,KAAK,EAAE,MAAM;IAsBzB,cAAc,CAAC,QAAQ,EAAE,MAAM;IAQ/B,YAAY,CAAC,SAAS,EAAE,SAAS;IAUjC,YAAY,CAAC,KAAK,EAAE,KAAK;IAUnB,cAAc;IAWpB,IAAI,QAAQ,WAEX;IACD,IAAI,KAAK,WAER;IACD,IAAI,OAAO,YAEV;IAED,IAAI,QAAQ,WAEX;IACD,IAAI,MAAM,+BAET;IACD,IAAI,YAAY,iBAEf;CACF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NavigationRecordingEvent } from '@stadiamaps/ferrostar';
|
|
2
|
+
export interface ImportantEvent {
|
|
3
|
+
offsetMs: number;
|
|
4
|
+
type: string;
|
|
5
|
+
label: string;
|
|
6
|
+
tagClass: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const extractImportantEvents: (events: NavigationRecordingEvent[]) => ImportantEvent[];
|
|
9
|
+
//# sourceMappingURL=replay-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replay-events.d.ts","sourceRoot":"","sources":["../src/replay-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAMD,eAAO,MAAM,sBAAsB,GACjC,QAAQ,wBAAwB,EAAE,KACjC,cAAc,EAmFhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replay-tool.d.ts","sourceRoot":"","sources":["../src/replay-tool.ts"],"names":[],"mappings":"AAEA,OAAO,qCAAqC,CAAC;AAI7C,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,MAAM,CAAC,EAAE;YAAE,WAAW,EAAE,MAAM,IAAI,CAAA;SAAE,CAAC;KACtC;CACF"}
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/stadiamaps/ferrostar"
|
|
12
12
|
},
|
|
13
|
-
"version": "0.
|
|
13
|
+
"version": "0.50.0",
|
|
14
14
|
"license": "BSD-3-Clause",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"main": "./dist/ferrostar-webcomponents.js",
|
|
@@ -39,27 +39,28 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@maptimy/platform-formatters": "^0.6.0",
|
|
42
|
-
"@stadiamaps/ferrostar": "^0.
|
|
42
|
+
"@stadiamaps/ferrostar": "^0.50.0",
|
|
43
43
|
"lit": "^3.2.1",
|
|
44
|
-
"maplibre-gl": "^
|
|
44
|
+
"maplibre-gl": "^5.21.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@stadiamaps/maplibre-search-box": "^3.0.2",
|
|
48
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
49
|
-
"@typescript-eslint/parser": "^8.
|
|
50
|
-
"eslint": "^
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^8.59.2",
|
|
49
|
+
"@typescript-eslint/parser": "^8.59.1",
|
|
50
|
+
"eslint": "^10.1.0",
|
|
51
51
|
"eslint-config-prettier": "^10.1.5",
|
|
52
52
|
"eslint-plugin-html": "^8.1.2",
|
|
53
53
|
"eslint-plugin-lit": "^2.1.1",
|
|
54
54
|
"eslint-plugin-wc": "^3.0.1",
|
|
55
|
-
"
|
|
55
|
+
"@eslint/js": "^10.0.0",
|
|
56
|
+
"globals": "^17.4.0",
|
|
56
57
|
"prettier": "^3.5.3",
|
|
57
58
|
"typescript": "^5.8.3",
|
|
58
|
-
"vite": "^6.4.
|
|
59
|
+
"vite": "^6.4.2",
|
|
59
60
|
"vite-plugin-dts": "^4.5.3",
|
|
60
61
|
"vite-plugin-top-level-await": "^1.5.0",
|
|
61
62
|
"vite-plugin-wasm": "^3.4.1",
|
|
62
|
-
"vitest": "^
|
|
63
|
+
"vitest": "^4.1.1"
|
|
63
64
|
},
|
|
64
65
|
"keywords": [
|
|
65
66
|
"navigation",
|