@eyeon/map 2.0.13 → 2.0.15
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/assets/MapViewer.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/chunks/MapViewer.js +2586 -2074
- package/dist/chunks/MapViewer.js.map +1 -1
- package/dist/chunks/stacking.js +1073 -768
- package/dist/chunks/stacking.js.map +1 -1
- package/dist/chunks/wheelZoom.js +35 -35
- package/dist/core/currentLocation.d.ts +15 -0
- package/dist/core/currentLocation.d.ts.map +1 -0
- package/dist/core/hostChrome.d.ts +9 -1
- package/dist/core/hostChrome.d.ts.map +1 -1
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +190 -159
- package/dist/core/publicShapes.d.ts +18 -0
- package/dist/core/publicShapes.d.ts.map +1 -0
- package/dist/core/publish/index.d.ts.map +1 -1
- package/dist/core/responsive.d.ts +51 -0
- package/dist/core/responsive.d.ts.map +1 -0
- package/dist/core/types.d.ts +18 -3
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/websiteModal.d.ts +53 -0
- package/dist/core/websiteModal.d.ts.map +1 -0
- package/dist/editor/MapEditor.d.ts +10 -2
- package/dist/editor/MapEditor.d.ts.map +1 -1
- package/dist/editor/draftOps.d.ts +2 -1
- package/dist/editor/draftOps.d.ts.map +1 -1
- package/dist/editor/editorSectionReturn.d.ts +4 -2
- package/dist/editor/editorSectionReturn.d.ts.map +1 -1
- package/dist/editor/index.css +257 -0
- package/dist/editor/index.d.ts +1 -1
- package/dist/editor/index.d.ts.map +1 -1
- package/dist/editor/index.js +3532 -3444
- package/dist/editor/index.js.map +1 -1
- package/dist/editor/panels/LeftRail.d.ts +4 -2
- package/dist/editor/panels/LeftRail.d.ts.map +1 -1
- package/dist/editor/panels/PreviewOverlay.d.ts +8 -3
- package/dist/editor/panels/PreviewOverlay.d.ts.map +1 -1
- package/dist/editor/previewDocument.d.ts +2 -1
- package/dist/editor/previewDocument.d.ts.map +1 -1
- package/dist/specialIcons.d.ts +2 -2
- package/dist/viewer/MapViewer.d.ts +10 -1
- package/dist/viewer/MapViewer.d.ts.map +1 -1
- package/dist/viewer/camera.d.ts +19 -1
- package/dist/viewer/camera.d.ts.map +1 -1
- package/dist/viewer/components/CameraRig.d.ts +12 -1
- package/dist/viewer/components/CameraRig.d.ts.map +1 -1
- package/dist/viewer/components/LevelMeshes.d.ts +6 -2
- package/dist/viewer/components/LevelMeshes.d.ts.map +1 -1
- package/dist/viewer/components/MapScene.d.ts +16 -3
- package/dist/viewer/components/MapScene.d.ts.map +1 -1
- package/dist/viewer/components/RouteLine.d.ts +25 -4
- package/dist/viewer/components/RouteLine.d.ts.map +1 -1
- package/dist/viewer/fetchWebsiteRetailers.d.ts +3 -0
- package/dist/viewer/fetchWebsiteRetailers.d.ts.map +1 -0
- package/dist/viewer/index.css +227 -0
- package/dist/viewer/index.d.ts +1 -1
- package/dist/viewer/index.d.ts.map +1 -1
- package/dist/viewer/index.js +6 -6
- package/dist/viewer/orbitWheelZoom.d.ts +12 -0
- package/dist/viewer/orbitWheelZoom.d.ts.map +1 -0
- package/dist/viewer/ui/WebsiteInfoModal.d.ts +10 -0
- package/dist/viewer/ui/WebsiteInfoModal.d.ts.map +1 -0
- package/package.json +2 -2
package/dist/viewer/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { M as r, a as
|
|
2
|
-
import {
|
|
1
|
+
import { M as r, a as s, b as o, R as p } from "../chunks/MapViewer.js";
|
|
2
|
+
import { aI as i, aW as t, bL as M } from "../chunks/stacking.js";
|
|
3
3
|
export {
|
|
4
4
|
r as MapControls,
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
s as MapScene,
|
|
6
|
+
o as MapViewer,
|
|
7
7
|
p as RuntimeChrome,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
i as isMapViewerHost,
|
|
9
|
+
t as mapSurface,
|
|
10
10
|
M as viewerChrome
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OrbitControls uses one `enableZoom` flag for wheel and touch pinch.
|
|
3
|
+
* Website maps must swallow wheel only — pinch stays on the controls.
|
|
4
|
+
*
|
|
5
|
+
* R3F sets `events.connected` to `false` until the canvas host is wired,
|
|
6
|
+
* so callers must not treat a falsy connected value as a DOM node.
|
|
7
|
+
*/
|
|
8
|
+
export declare function orbitEventRoot(eventSource: EventTarget | null | undefined, connected: unknown, canvas: EventTarget | null | undefined): EventTarget | null;
|
|
9
|
+
export declare function viewerWheelEventHitsMap(root: EventTarget | null | undefined, target: EventTarget | null): boolean;
|
|
10
|
+
/** Stop OrbitControls without preventDefault so the page can still scroll. */
|
|
11
|
+
export declare function suppressViewerWheelZoom(event: Event): void;
|
|
12
|
+
//# sourceMappingURL=orbitWheelZoom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"orbitWheelZoom.d.ts","sourceRoot":"","sources":["../../src/viewer/orbitWheelZoom.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,wBAAgB,cAAc,CAC5B,WAAW,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,EAC3C,SAAS,EAAE,OAAO,EAClB,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACrC,WAAW,GAAG,IAAI,CAKpB;AAED,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,EACpC,MAAM,EAAE,WAAW,GAAG,IAAI,GACzB,OAAO,CAIT;AAED,8EAA8E;AAC9E,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAE1D"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { WebsiteDestination, WebsiteMappedRetailer } from '../../core';
|
|
3
|
+
export declare function WebsiteInfoModal({ destination, retailers, imageProxyUrl, onClose, onMapIt, }: {
|
|
4
|
+
destination: WebsiteDestination;
|
|
5
|
+
retailers: WebsiteMappedRetailer[];
|
|
6
|
+
imageProxyUrl?: string | null;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
onMapIt: (fromRetailerId: number) => void;
|
|
9
|
+
}): React.ReactPortal | null;
|
|
10
|
+
//# sourceMappingURL=WebsiteInfoModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebsiteInfoModal.d.ts","sourceRoot":"","sources":["../../../src/viewer/ui/WebsiteInfoModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAQ5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAE5E,wBAAgB,gBAAgB,CAAC,EAC/B,WAAW,EACX,SAAS,EACT,aAAa,EACb,OAAO,EACP,OAAO,GACR,EAAE;IACD,WAAW,EAAE,kBAAkB,CAAC;IAChC,SAAS,EAAE,qBAAqB,EAAE,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C,4BAgJA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eyeon/map",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.15",
|
|
4
4
|
"description": "EyeOn Center Map v2 — core, viewer, and editor",
|
|
5
5
|
"author": "EyeOn LLC",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -91,4 +91,4 @@
|
|
|
91
91
|
"vite-plugin-dts": "^4.2.3",
|
|
92
92
|
"vitest": "^2.1.0"
|
|
93
93
|
}
|
|
94
|
-
}
|
|
94
|
+
}
|