@mappedin/viewer 0.14.2 → 0.14.3-0fc3c2d.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/index.js +87648 -109808
- package/dist/types/App.d.ts +1 -1
- package/dist/types/components/button/index.d.ts +1 -1
- package/dist/types/components/common/fullscreen-overlay.d.ts +274 -0
- package/dist/types/components/main/index.d.ts +2 -2
- package/dist/types/components/metadata-card/carousel.d.ts +6 -0
- package/dist/types/components/metadata-card/details-section.d.ts +12 -0
- package/dist/types/components/metadata-card/directions-button.d.ts +5 -0
- package/dist/types/components/metadata-card/index.d.ts +12 -0
- package/dist/types/components/metadata-card/link-item.d.ts +7 -0
- package/dist/types/components/metadata-card/metadata-card.stories.d.ts +7 -0
- package/dist/types/components/metadata-card/nav-chevrons.d.ts +8 -0
- package/dist/types/components/metadata-card/nav-pills.d.ts +9 -0
- package/dist/types/components/positioner/index.d.ts +1 -1
- package/dist/types/components/search-bar/index.d.ts +2 -2
- package/dist/types/components/search-results/index.d.ts +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/lib/hooks/use-app-data.test.d.ts +0 -1
- package/dist/types/lib/hooks/use-window.d.ts +4 -3
- package/dist/types/lib/sdk/index.d.ts +11 -0
- package/dist/types/lib/types/options.d.ts +1 -4
- package/dist/types/lib/types/state.d.ts +6 -0
- package/dist/types/lib/types/theme.d.ts +12 -1
- package/dist/types/{stores/map-store/controllers/markers.lib.d.ts → lib/utils/annotation-utils.d.ts} +1 -1
- package/dist/types/lib/utils/data-utils.d.ts +20 -14
- package/dist/types/lib/utils/data-utils.test.d.ts +0 -1
- package/dist/types/lib/utils/not-null.d.ts +1 -0
- package/dist/types/stores/feature-flag-store/feature-flag-store.test.d.ts +0 -1
- package/dist/types/stores/map-store/controllers/camera.d.ts +4 -5
- package/dist/types/stores/map-store/controllers/camera.test.d.ts +0 -1
- package/dist/types/stores/map-store/controllers/directions.d.ts +244 -3
- package/dist/types/stores/map-store/controllers/directions.test.d.ts +0 -1
- package/dist/types/stores/map-store/controllers/hover.d.ts +1 -3
- package/dist/types/stores/map-store/controllers/hover.test.d.ts +0 -1
- package/dist/types/stores/map-store/controllers/labels.d.ts +4 -5
- package/dist/types/stores/map-store/controllers/labels.test.d.ts +0 -1
- package/dist/types/stores/map-store/controllers/map.d.ts +1 -1
- package/dist/types/stores/map-store/controllers/markers.d.ts +5 -2
- package/dist/types/stores/map-store/controllers/markers.test.d.ts +0 -1
- package/dist/types/stores/map-store/controllers/polygons.d.ts +3 -3
- package/dist/types/stores/map-store/controllers/polygons.test.d.ts +0 -1
- package/dist/types/stores/map-store/index.d.ts +4 -6
- package/dist/types/stores/map-store/map-store.test.d.ts +0 -1
- package/dist/types/stores/root-store/index.d.ts +73 -47
- package/dist/types/stores/router-store/index.d.ts +4 -6
- package/dist/types/stores/ui-store/index.d.ts +13 -13
- package/dist/types/stores/ui-store/ui-store.test.d.ts +0 -1
- package/dist/types/test-utils/test-mocks.d.ts +0 -0
- package/dist/types/test-utils/test-with-map.d.ts +11 -0
- package/package.json +4 -2
- package/dist/types/lib/hooks/use-venue-mvf.d.ts +0 -6
- package/dist/types/lib/mappedin-js-extensions/mappedin-annotation.d.ts +0 -17
- package/dist/types/stores/map-store/controllers/markers.lib.test.d.ts +0 -1
- package/dist/types/test-utils/test-with-venue.d.ts +0 -9
- /package/dist/types/lib/{mappedin-js-extensions/mappedin-annotation.test.d.ts → utils/annotation-utils.test.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mappedin/viewer",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.3-0fc3c2d.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"browser": "./dist/index.js",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@ladle/react": "^2.17.2",
|
|
21
21
|
"@mappedin/maker-icons": "1.0.0-fe4ca2f",
|
|
22
|
-
"@mappedin/
|
|
22
|
+
"@mappedin/maker-sdk": "6.0.3-alpha.4",
|
|
23
23
|
"@mappedin/mvf": "2.0.1-c7526c3.0",
|
|
24
24
|
"@testing-library/react-hooks": "^8.0.1",
|
|
25
25
|
"@types/react": "^18.2.15",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"@typescript-eslint/parser": "^6.0.0",
|
|
29
29
|
"@vitejs/plugin-react": "^4.0.3",
|
|
30
30
|
"@vitest/coverage-istanbul": "^0.34.1",
|
|
31
|
+
"canvas": "^2.11.2",
|
|
31
32
|
"eslint": "^8.45.0",
|
|
32
33
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
33
34
|
"eslint-plugin-react-refresh": "^0.4.3",
|
|
@@ -35,6 +36,7 @@
|
|
|
35
36
|
"happy-dom": "^10.9.0",
|
|
36
37
|
"history": "^5.3.0",
|
|
37
38
|
"i18next": "^23.4.4",
|
|
39
|
+
"jsdom": "^24.0.0",
|
|
38
40
|
"lodash.isequal": "^4.5.0",
|
|
39
41
|
"lodash.merge": "^4.6.2",
|
|
40
42
|
"mobx": "^6.10.0",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { MappedinCoordinate, MappedinMap } from '@mappedin/mappedin-js';
|
|
2
|
-
declare class MappedinAnnotation {
|
|
3
|
-
#private;
|
|
4
|
-
constructor({ id, type, coordinate, map, }: {
|
|
5
|
-
id: string;
|
|
6
|
-
type: string;
|
|
7
|
-
coordinate: [number, number];
|
|
8
|
-
map: MappedinMap;
|
|
9
|
-
});
|
|
10
|
-
private loadAsset;
|
|
11
|
-
get assetURI(): string | undefined;
|
|
12
|
-
get id(): string;
|
|
13
|
-
get type(): string;
|
|
14
|
-
get map(): MappedinMap;
|
|
15
|
-
get coordinate(): MappedinCoordinate;
|
|
16
|
-
}
|
|
17
|
-
export default MappedinAnnotation;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import RootStore from '../stores/root-store';
|
|
2
|
-
import { Mappedin } from '@mappedin/mappedin-js';
|
|
3
|
-
import { ParsedMVF } from '@mappedin/mvf';
|
|
4
|
-
export declare const testWithVenue: (venueFileName?: string) => Promise<{
|
|
5
|
-
rootStore: RootStore;
|
|
6
|
-
mapEl: HTMLDivElement;
|
|
7
|
-
venue: Mappedin;
|
|
8
|
-
mvf: ParsedMVF;
|
|
9
|
-
}>;
|
|
File without changes
|