@ericchen1990/pano-view 3.8.0 → 3.10.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/README.md +745 -97
- package/README.zh-CN.md +606 -56
- package/dist/data.cjs +19 -0
- package/dist/data.cjs.map +1 -1
- package/dist/data.d.mts +17 -1
- package/dist/data.d.ts +17 -1
- package/dist/data.mjs +19 -0
- package/dist/data.mjs.map +1 -1
- package/dist/index.cjs +2630 -819
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +218 -6
- package/dist/index.d.ts +218 -6
- package/dist/index.mjs +2533 -711
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +282 -1
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.d.mts +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/ui.mjs.map +1 -1
- package/docs/dialogs.md +51 -41
- package/docs/dialogs.zh-CN.md +51 -41
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -356,10 +356,17 @@ type WebVRProfile = {
|
|
|
356
356
|
ipdMm: number;
|
|
357
357
|
/** Distance from the display to the headset lens, in millimetres. */
|
|
358
358
|
screenToLensMm?: number;
|
|
359
|
+
/**
|
|
360
|
+
* Distance from the headset tray bottom to the lens center, in millimetres.
|
|
361
|
+
* `0` or omitted keeps the optical axis on the vertical screen center.
|
|
362
|
+
*/
|
|
363
|
+
trayDistanceMm?: number;
|
|
359
364
|
/** Radial lens distortion coefficients. Zero disables distortion. */
|
|
360
365
|
k1: number;
|
|
361
366
|
k2: number;
|
|
362
367
|
};
|
|
368
|
+
/** Target WebXR session refresh rate. Omitting keeps the store default (`"high"`). */
|
|
369
|
+
type WebVRFrameRate = "low" | "mid" | "high" | number;
|
|
363
370
|
type WebVRChromeAppearance = {
|
|
364
371
|
background?: CSSProperties["background"];
|
|
365
372
|
color?: CSSProperties["color"];
|
|
@@ -369,8 +376,17 @@ type WebVRChromeAppearance = {
|
|
|
369
376
|
setupTitle?: ReactNode;
|
|
370
377
|
};
|
|
371
378
|
type WebVRChrome = boolean | WebVRChromeAppearance;
|
|
379
|
+
type WebVRState = {
|
|
380
|
+
available: boolean;
|
|
381
|
+
enabled: boolean;
|
|
382
|
+
mode: WebVRMode | null;
|
|
383
|
+
};
|
|
372
384
|
type WebVRProps = {
|
|
373
|
-
/**
|
|
385
|
+
/**
|
|
386
|
+
* Mount the built-in session chrome (Exit VR / MobileVR Setup). Defaults to
|
|
387
|
+
* true. Enter VR is not rendered; host apps drive entry through the handle
|
|
388
|
+
* or `usePanoViewer`.
|
|
389
|
+
*/
|
|
374
390
|
chrome?: WebVRChrome;
|
|
375
391
|
/** Enable the phone stereoscopic fallback. Defaults to true. */
|
|
376
392
|
mobileVr?: boolean;
|
|
@@ -380,8 +396,46 @@ type WebVRProps = {
|
|
|
380
396
|
fakeSupport?: boolean;
|
|
381
397
|
/** Physical diagonal screen size in inches, or automatic detection. */
|
|
382
398
|
screensize?: number | "auto";
|
|
399
|
+
/**
|
|
400
|
+
* Cardboard Device Parameter Database URL used when `screensize` is
|
|
401
|
+
* `"auto"`. Defaults to Google's public DPDB. Pass `""` or `null` to skip
|
|
402
|
+
* the online lookup for unknown devices.
|
|
403
|
+
*/
|
|
404
|
+
databaseUrl?: string | null;
|
|
383
405
|
/** Headset preset or a custom lens profile. */
|
|
384
406
|
profile?: WebVRProfileId | WebVRProfile;
|
|
407
|
+
/**
|
|
408
|
+
* Follow compass-oriented headings in MobileVR. Defaults to false.
|
|
409
|
+
* Has no effect in WebXR sessions.
|
|
410
|
+
*/
|
|
411
|
+
absolute?: boolean;
|
|
412
|
+
/** Panorama yaw that represents North when `absolute` is enabled. Defaults to 0. */
|
|
413
|
+
north?: number;
|
|
414
|
+
/**
|
|
415
|
+
* Gyro smoothing from 0 (none) to 0.99 (strong). Defaults to 0.
|
|
416
|
+
* Keep at 0 for normal viewing.
|
|
417
|
+
*/
|
|
418
|
+
friction?: number;
|
|
419
|
+
/**
|
|
420
|
+
* Allow horizontal touch dragging to correct MobileVR heading. Defaults to
|
|
421
|
+
* false because headset trays can trigger false touches.
|
|
422
|
+
*/
|
|
423
|
+
touchSupport?: boolean;
|
|
424
|
+
/**
|
|
425
|
+
* Distortion / WebXR framebuffer scale factor. Defaults to 1. Clamped to
|
|
426
|
+
* 0.5–2. Must be set before entering WebXR (cannot change mid-session).
|
|
427
|
+
*/
|
|
428
|
+
oversampling?: number;
|
|
429
|
+
/**
|
|
430
|
+
* WebXR fixed foveation in the range 0–1. Omit to keep the device default.
|
|
431
|
+
* `0` is full resolution; `1` is maximum edge downsampling.
|
|
432
|
+
*/
|
|
433
|
+
foveation?: number;
|
|
434
|
+
/**
|
|
435
|
+
* Target WebXR refresh rate. Omit to keep the store default (`"high"`).
|
|
436
|
+
* A numeric Hz picks the closest rate from `session.supportedFrameRates`.
|
|
437
|
+
*/
|
|
438
|
+
frameRate?: WebVRFrameRate;
|
|
385
439
|
/** Show a center reticle in VR. Defaults to true. */
|
|
386
440
|
cursor?: boolean;
|
|
387
441
|
/**
|
|
@@ -414,7 +468,11 @@ type WebVRHandle = {
|
|
|
414
468
|
isAvailable: () => boolean;
|
|
415
469
|
isEnabled: () => boolean;
|
|
416
470
|
getMode: () => WebVRMode | null;
|
|
471
|
+
getState: () => WebVRState;
|
|
472
|
+
subscribe: (onStoreChange: () => void) => () => void;
|
|
417
473
|
requestPermission: () => Promise<boolean>;
|
|
474
|
+
/** Clear stored MobileVR settings and restore prop / built-in defaults. */
|
|
475
|
+
resetSettings: () => void;
|
|
418
476
|
};
|
|
419
477
|
type WebVRSettings = {
|
|
420
478
|
screensize: number | "auto";
|
|
@@ -482,6 +540,8 @@ type PanoViewerHandle = {
|
|
|
482
540
|
isVRAvailable: () => boolean;
|
|
483
541
|
isVREnabled: () => boolean;
|
|
484
542
|
getVRMode: () => WebVRMode | null;
|
|
543
|
+
getVRState: () => WebVRState;
|
|
544
|
+
subscribeVR: (onStoreChange: () => void) => () => void;
|
|
485
545
|
requestVRPermission: () => Promise<boolean>;
|
|
486
546
|
getVideo: () => PanoVideoController | null;
|
|
487
547
|
subscribeVideo: (onStoreChange: () => void) => () => void;
|
|
@@ -771,7 +831,16 @@ type PanoOverlayRenderContext = {
|
|
|
771
831
|
};
|
|
772
832
|
isFullscreen: boolean;
|
|
773
833
|
};
|
|
774
|
-
|
|
834
|
+
type PanoOverlayProps = {
|
|
835
|
+
children?: ReactNode;
|
|
836
|
+
};
|
|
837
|
+
/**
|
|
838
|
+
* Screen-plane DOM UI for PanoViewer. Place it as a direct child of PanoViewer
|
|
839
|
+
* (or inside a Fragment under PanoViewer). It stays outside the panorama sphere
|
|
840
|
+
* and remains visible in fullscreen. Interactive children need `pointerEvents: "auto"`.
|
|
841
|
+
*/
|
|
842
|
+
declare function PanoOverlay({ children }: PanoOverlayProps): react.JSX.Element;
|
|
843
|
+
/** Read inside PanoOverlay, renderOverlay, or their DOM descendants. */
|
|
775
844
|
declare function usePanoOverlay(): PanoOverlayRenderContext;
|
|
776
845
|
/** Coordinate a custom modal with viewer inputs. Accessibility stays with the modal. */
|
|
777
846
|
declare function usePanoModal(open: boolean): void;
|
|
@@ -1415,6 +1484,17 @@ type ProjectHotspotDefinition = HotspotDefinition & {
|
|
|
1415
1484
|
};
|
|
1416
1485
|
declare function resolveHotspotAssets(hotspot: ProjectHotspotDefinition, baseUrl: string, sceneId: string, resolver?: AssetUrlResolver): ProjectHotspotDefinition;
|
|
1417
1486
|
|
|
1487
|
+
/**
|
|
1488
|
+
* Shared drag inertia and edge bounce for map pan and scene-menu scrolling.
|
|
1489
|
+
* Axis motion is pure; hosts own pointer capture and rAF loops.
|
|
1490
|
+
*/
|
|
1491
|
+
type PanoDragMotion = {
|
|
1492
|
+
/** Continue sliding after release from pointer velocity. Defaults to true. */
|
|
1493
|
+
inertia?: boolean;
|
|
1494
|
+
/** Rubber-band past edges while dragging; spring back on release. Defaults to true. */
|
|
1495
|
+
bounce?: boolean;
|
|
1496
|
+
};
|
|
1497
|
+
|
|
1418
1498
|
type PanoMapCorner = "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1419
1499
|
type PanoMapGradientStop = {
|
|
1420
1500
|
offset: number;
|
|
@@ -1506,6 +1586,11 @@ type PanoMapDefinition = {
|
|
|
1506
1586
|
* Only applies when `interaction` is `"zoom"`. Defaults to 8.
|
|
1507
1587
|
*/
|
|
1508
1588
|
maxScale?: number;
|
|
1589
|
+
/**
|
|
1590
|
+
* Pan inertia and edge bounce when `interaction` is `"zoom"`.
|
|
1591
|
+
* Omit for both on; set `false` or flag fields to disable.
|
|
1592
|
+
*/
|
|
1593
|
+
dragMotion?: PanoDragMotion | false;
|
|
1509
1594
|
spots: PanoMapSpotDefinition[];
|
|
1510
1595
|
sector?: PanoMapSectorDefinition;
|
|
1511
1596
|
};
|
|
@@ -1793,6 +1878,95 @@ declare const WEBVR_PROFILES: Record<WebVRProfileId, WebVRProfile>;
|
|
|
1793
1878
|
|
|
1794
1879
|
declare const DEFAULT_WEBVR_CURSOR_DWELL_MS = 1500;
|
|
1795
1880
|
|
|
1881
|
+
declare const EMPTY_WEBVR_STATE: WebVRState;
|
|
1882
|
+
|
|
1883
|
+
type PanoSceneMenuItem = {
|
|
1884
|
+
id: string;
|
|
1885
|
+
thumbnailUrl: string;
|
|
1886
|
+
title?: string;
|
|
1887
|
+
};
|
|
1888
|
+
type PanoSceneMenuPlacement = "top" | "bottom" | "left" | "right";
|
|
1889
|
+
/** Cross-axis alignment along the dock edge. Defaults to `"center"`. */
|
|
1890
|
+
type PanoSceneMenuAlign = "start" | "center" | "end";
|
|
1891
|
+
type PanoSceneMenuInset = number | string | {
|
|
1892
|
+
top?: number | string;
|
|
1893
|
+
right?: number | string;
|
|
1894
|
+
bottom?: number | string;
|
|
1895
|
+
left?: number | string;
|
|
1896
|
+
};
|
|
1897
|
+
type PanoSceneMenuLabelAlign = "start" | "center" | "end";
|
|
1898
|
+
type PanoSceneMenuAppearance = {
|
|
1899
|
+
background?: string;
|
|
1900
|
+
padding?: number | string;
|
|
1901
|
+
itemWidth?: number;
|
|
1902
|
+
itemHeight?: number;
|
|
1903
|
+
gap?: number | string;
|
|
1904
|
+
borderRadius?: number | string;
|
|
1905
|
+
selectionColor?: string;
|
|
1906
|
+
selectionWidth?: number;
|
|
1907
|
+
labelBackground?: string;
|
|
1908
|
+
labelColor?: string;
|
|
1909
|
+
/** Scene title alignment on the thumbnail. Defaults to `"start"`. */
|
|
1910
|
+
labelAlign?: PanoSceneMenuLabelAlign;
|
|
1911
|
+
fontSize?: number | string;
|
|
1912
|
+
controlColor?: string;
|
|
1913
|
+
controlBackground?: string;
|
|
1914
|
+
};
|
|
1915
|
+
type PanoSceneMenuProps = {
|
|
1916
|
+
items: readonly PanoSceneMenuItem[];
|
|
1917
|
+
activeId?: string | null;
|
|
1918
|
+
onSelect?: (id: string) => void;
|
|
1919
|
+
/** Dock edge inside the viewer overlay. Defaults to `"bottom"`. */
|
|
1920
|
+
placement?: PanoSceneMenuPlacement;
|
|
1921
|
+
/**
|
|
1922
|
+
* Align the menu along the dock edge when its main-axis size is smaller than
|
|
1923
|
+
* the available space. Also aligns short lists inside the strip. Defaults to
|
|
1924
|
+
* `"center"`.
|
|
1925
|
+
*/
|
|
1926
|
+
align?: PanoSceneMenuAlign;
|
|
1927
|
+
/**
|
|
1928
|
+
* Gap from the viewer edges. A single value applies to every side;
|
|
1929
|
+
* an object sets each side. Numbers are pixels. Defaults to `12`.
|
|
1930
|
+
*/
|
|
1931
|
+
inset?: PanoSceneMenuInset;
|
|
1932
|
+
/** Menu width. Numbers are pixels; strings may be `%`, `rem`, etc. */
|
|
1933
|
+
width?: number | string;
|
|
1934
|
+
/** Menu height. Numbers are pixels; strings may be `%`, `rem`, etc. */
|
|
1935
|
+
height?: number | string;
|
|
1936
|
+
/**
|
|
1937
|
+
* When `false` (default), the menu stays expanded.
|
|
1938
|
+
* When `true`, a toggle shows or hides the scene list.
|
|
1939
|
+
*/
|
|
1940
|
+
collapsible?: boolean;
|
|
1941
|
+
/** Uncontrolled expanded state when `collapsible` is true. Defaults to `true`. */
|
|
1942
|
+
defaultExpanded?: boolean;
|
|
1943
|
+
/** Controlled expanded state when `collapsible` is true. */
|
|
1944
|
+
expanded?: boolean;
|
|
1945
|
+
onExpandedChange?: (expanded: boolean) => void;
|
|
1946
|
+
/** Show previous/next controls at both ends of the list. Defaults to `false`. */
|
|
1947
|
+
showArrows?: boolean;
|
|
1948
|
+
/**
|
|
1949
|
+
* When `true`, previous/next arrows and arrow keys wrap from the last item
|
|
1950
|
+
* to the first and vice versa. Defaults to `false` (stop at the ends).
|
|
1951
|
+
*/
|
|
1952
|
+
loop?: boolean;
|
|
1953
|
+
/**
|
|
1954
|
+
* Scroll drag inertia and edge bounce.
|
|
1955
|
+
* Omit for both on (custom pointer scrolling). Set `false` for native overflow scroll.
|
|
1956
|
+
*/
|
|
1957
|
+
dragMotion?: PanoDragMotion | false;
|
|
1958
|
+
appearance?: PanoSceneMenuAppearance;
|
|
1959
|
+
className?: string;
|
|
1960
|
+
style?: CSSProperties;
|
|
1961
|
+
label?: string;
|
|
1962
|
+
previousLabel?: string;
|
|
1963
|
+
nextLabel?: string;
|
|
1964
|
+
expandLabel?: string;
|
|
1965
|
+
collapseLabel?: string;
|
|
1966
|
+
};
|
|
1967
|
+
declare const DEFAULT_PANO_SCENE_MENU_APPEARANCE: Required<PanoSceneMenuAppearance>;
|
|
1968
|
+
declare function PanoSceneMenu({ items, activeId, onSelect, placement, align, inset, width, height, collapsible, defaultExpanded, expanded: expandedProp, onExpandedChange, showArrows, loop, dragMotion: dragMotionProp, appearance, className, style, label, previousLabel, nextLabel, expandLabel, collapseLabel, }: PanoSceneMenuProps): react.JSX.Element;
|
|
1969
|
+
|
|
1796
1970
|
type ViewInteractionSource = "mouse" | "touch" | "keyboard";
|
|
1797
1971
|
type PanoWheelEvent = {
|
|
1798
1972
|
/** Signed wheel delta (same sign convention as WheelEvent.deltaY). */
|
|
@@ -2164,12 +2338,18 @@ type PanoMapProps = {
|
|
|
2164
2338
|
onCollapsedChange?: (collapsed: boolean) => void;
|
|
2165
2339
|
/** Extra chrome rendered above the map surface. */
|
|
2166
2340
|
renderChrome?: (controls: ReactNode) => ReactNode;
|
|
2341
|
+
/**
|
|
2342
|
+
* Opening zoom relative to the contain-fit scale.
|
|
2343
|
+
* Clamped to `[1, maxScale]`. Applies after the image is measured and recenters.
|
|
2344
|
+
* Resets only when this value or interaction mode changes.
|
|
2345
|
+
*/
|
|
2346
|
+
initialScale?: number;
|
|
2167
2347
|
};
|
|
2168
2348
|
/**
|
|
2169
2349
|
* Floor-plan map surface. Fills its parent; hosts decide docked vs dialog chrome.
|
|
2170
2350
|
* Icons and sectors keep CSS-pixel size while the background image zooms.
|
|
2171
2351
|
*/
|
|
2172
|
-
declare function PanoMap({ map, activeSceneId, onSelectScene, view: controlledView, mode, selectedSpotId, onSelectedSpotIdChange, onEditChange, placementSceneId, className, style, showZoomControls, showCollapseControl, collapsed: controlledCollapsed, onCollapsedChange, renderChrome, }: PanoMapProps): react.JSX.Element;
|
|
2352
|
+
declare function PanoMap({ map, activeSceneId, onSelectScene, view: controlledView, mode, selectedSpotId, onSelectedSpotIdChange, onEditChange, placementSceneId, className, style, showZoomControls, showCollapseControl, collapsed: controlledCollapsed, onCollapsedChange, renderChrome, initialScale, }: PanoMapProps): react.JSX.Element;
|
|
2173
2353
|
|
|
2174
2354
|
type PanoMapOverlayProps = {
|
|
2175
2355
|
map: PanoMapDefinition;
|
|
@@ -2183,6 +2363,38 @@ type PanoMapOverlayProps = {
|
|
|
2183
2363
|
placementSceneId?: string | null;
|
|
2184
2364
|
/** Force presentation while authoring, ignoring document presentation temporarily. */
|
|
2185
2365
|
presentationOverride?: PanoMapDefinition["presentation"];
|
|
2366
|
+
/** Override presentation mode for this mount. */
|
|
2367
|
+
presentation?: "docked" | "dialog";
|
|
2368
|
+
/** Override docked corner (or dialog launcher corner). */
|
|
2369
|
+
corner?: PanoMapCorner;
|
|
2370
|
+
/** Override docked panel or dialog-launcher width in CSS pixels. */
|
|
2371
|
+
width?: number;
|
|
2372
|
+
/** Override docked panel or dialog-launcher height in CSS pixels. */
|
|
2373
|
+
height?: number;
|
|
2374
|
+
/** Horizontal inset from the chosen corner in CSS pixels. */
|
|
2375
|
+
offsetX?: number;
|
|
2376
|
+
/** Vertical inset from the chosen corner in CSS pixels. */
|
|
2377
|
+
offsetY?: number;
|
|
2378
|
+
/** Preferred dialog body width in CSS pixels; clamped to the viewer. */
|
|
2379
|
+
dialogWidth?: number;
|
|
2380
|
+
/** Preferred dialog body height in CSS pixels; clamped to the viewer. */
|
|
2381
|
+
dialogHeight?: number;
|
|
2382
|
+
/** Override map interaction for this mount. */
|
|
2383
|
+
interaction?: PanoMapDefinition["interaction"];
|
|
2384
|
+
/**
|
|
2385
|
+
* Maximum zoom multiplier relative to the contain-fit scale.
|
|
2386
|
+
* Values below 1 are treated as 1.
|
|
2387
|
+
*/
|
|
2388
|
+
maxScale?: number;
|
|
2389
|
+
/**
|
|
2390
|
+
* Opening zoom relative to the contain-fit scale.
|
|
2391
|
+
* Clamped to `[1, maxScale]`. View state only; not written to the map document.
|
|
2392
|
+
*/
|
|
2393
|
+
initialScale?: number;
|
|
2394
|
+
showZoomControls?: boolean;
|
|
2395
|
+
showCollapseControl?: boolean;
|
|
2396
|
+
/** Override spot icon edge length in CSS pixels. */
|
|
2397
|
+
iconSize?: number;
|
|
2186
2398
|
openLabel?: string;
|
|
2187
2399
|
closeLabel?: string;
|
|
2188
2400
|
title?: string;
|
|
@@ -2192,10 +2404,10 @@ type PanoMapOverlayProps = {
|
|
|
2192
2404
|
editorSurface?: boolean;
|
|
2193
2405
|
};
|
|
2194
2406
|
/**
|
|
2195
|
-
* Visitor-facing map chrome for `
|
|
2407
|
+
* Visitor-facing map chrome for `PanoOverlay`.
|
|
2196
2408
|
* Docked panels stay in a corner; dialog mode opens the same map in a modal.
|
|
2197
2409
|
*/
|
|
2198
|
-
declare function PanoMapOverlay({ map, activeSceneId, onSelectScene, view, mode, selectedSpotId, onSelectedSpotIdChange, onEditChange, placementSceneId, presentationOverride, openLabel, closeLabel, title, className, style, editorSurface, }: PanoMapOverlayProps): react.JSX.Element;
|
|
2410
|
+
declare function PanoMapOverlay({ map, activeSceneId, onSelectScene, view, mode, selectedSpotId, onSelectedSpotIdChange, onEditChange, placementSceneId, presentationOverride, presentation: presentationModeProp, corner: cornerProp, width: widthProp, height: heightProp, offsetX: offsetXProp, offsetY: offsetYProp, dialogWidth, dialogHeight, interaction, maxScale, initialScale, showZoomControls, showCollapseControl, iconSize, openLabel, closeLabel, title, className, style, editorSurface, }: PanoMapOverlayProps): react.JSX.Element;
|
|
2199
2411
|
|
|
2200
2412
|
type MapRect = {
|
|
2201
2413
|
left: number;
|
|
@@ -2229,4 +2441,4 @@ declare function containerPointToImage(point: MapPoint, viewport: MapViewport):
|
|
|
2229
2441
|
/** Clockwise degrees from image up for a vector in container space. */
|
|
2230
2442
|
declare function headingFromVector(dx: number, dy: number): number;
|
|
2231
2443
|
|
|
2232
|
-
export { type ArrowGraphic, type AssetUrlContext, type AssetUrlResolver, AudioHotspot, type AudioHotspotDefinition, type AudioHotspotErrorEvent, type AudioHotspotProps, type AudioPlaybackState, AutoRotate, type AutoRotateProps, BackgroundAudio, type BackgroundAudioController, type BackgroundAudioErrorEvent, type BackgroundAudioProps, type BackgroundAudioSnapshot, type BackgroundAudioSource, type CircleGraphic, type CubeFaceCode, type CubemapViewerConfig, DEFAULT_HOTSPOT_TOOLTIP_APPEARANCE, DEFAULT_HOTSPOT_TOOLTIP_OFFSET, DEFAULT_PANO_CURSORS, DEFAULT_PANO_VIDEO_CAPTION_APPEARANCE, DEFAULT_PANO_VIDEO_CONTROLS_APPEARANCE, DEFAULT_PANO_VIDEO_PLAYBACK_RATES, DEFAULT_WEBVR_CHROME_APPEARANCE, DEFAULT_WEBVR_CURSOR_DWELL_MS, type DiamondGraphic, type GraphicDefinition, GraphicHotspot, type GraphicHotspotDefinition, type GraphicHotspotProps, Gyro, type GyroHandle, type GyroProps, type GyroTouchMode, type HotspotCommonProps, type HotspotDefinition, type HotspotDefinitionBase, type HotspotDragEvent, type HotspotInputSource, type HotspotInteractionEvent, type HotspotMode, type HotspotPointerEvents, type HotspotPosition, type HotspotScaleMode, type HotspotTooltipAppearance, type HotspotTooltipContent, type HotspotTooltipPlacement, type HotspotTooltipTrigger, IframeHotspot, type IframeHotspotDefinition, type IframeHotspotProps, type IframePointerPolicy, ImageHotspot, type ImageHotspotDefinition, type ImageHotspotProps, type JsonObject, type JsonRequestOptions, type JsonValue, type KeyboardControlAction, type KeyboardControlKeys, KeyboardControls, type KeyboardControlsProps, type LoadPanoProjectOptions, type LoadSceneFromJsonOptions, type LoadedPanoProject, type LoadedProjectScene, MAX_HOTSPOT_PITCH, MIN_PANO_CONTEXT_MENU_BACKGROUND_OPACITY, type MouseControlButton, MouseControls, type MouseControlsOptions, type MouseControlsProps, PANO_FILTER_PRESETS, type PanoColorMatrix, PanoContextMenu, type PanoContextMenuActionItem, type PanoContextMenuAppearance, type PanoContextMenuEntry, type PanoContextMenuItem, type PanoContextMenuPresetActions, type PanoContextMenuPresetId, type PanoContextMenuPresetRef, type PanoContextMenuPresets, type PanoContextMenuProps, type PanoContextMenuRenderProps, type PanoContextMenuSelectContext, type PanoContextMenuSeparatorItem, type PanoCursor, type PanoCursors, PanoDataError, type PanoDataErrorCode, type PanoEventBus, type PanoEventListener, type PanoEventMap, type PanoEventType, PanoEvents, type PanoEventsProps, PanoFilter, type PanoFilterPreset, type PanoFilterProps, PanoMap, type PanoMapControlsDefinition, type PanoMapCorner, type PanoMapDefinition, type PanoMapDialogPresentation, type PanoMapDockedPresentation, type PanoMapEditChange, type PanoMapGradientStop, PanoMapOverlay, type PanoMapOverlayProps, type PanoMapPresentation, type PanoMapProps, type PanoMapSectorDefinition, type PanoMapSectorGradient, type PanoMapSpotDefinition, type PanoMediaActivationControls, type PanoMediaActivationOptions, PanoOverlayPortalProvider, type PanoOverlayRenderContext, type PanoProjectDefinition, type PanoProjectSceneDefinition, type PanoResizeEvent, PanoVideo, type PanoVideoCaptionAppearance, type PanoVideoController, PanoVideoControls, type PanoVideoControlsAppearance, type PanoVideoControlsProps, type PanoVideoErrorEvent, type PanoVideoErrorSource, type PanoVideoPlaybackSnapshot, type PanoVideoProps, type PanoVideoSource, type PanoVideoTrack, type PanoVideoTrackKind, type PanoVideoVariant, type PanoViewEasing, type PanoViewLimits, type PanoViewLookToOptions, type PanoViewNavigationOptions, type PanoViewNavigationResult, PanoViewer, type PanoViewerHandle, type PanoViewerProps, type PanoViewerState, type PanoWheelEvent, type PanoramaControlsOptions, type PanoramaPointerEvent, type PointHotspotDefinition, type PointHotspotDefinitionBase, PolygonHotspot, type PolygonHotspotDefinition, type PolygonHotspotProps, type PolygonValidationCode, type PolygonValidationIssue, type PolygonVerticesChangeEvent, PolylineHotspot, type PolylineHotspotDefinition, type PolylineHotspotProps, type PolylineValidationIssue, type PolylineVerticesChangeEvent, type PopupAssetUrlContext, type PopupAssetUrlResolver, type ProjectCustomActionEvent, type ProjectCustomHotspotAction, type ProjectHotspotAction, type ProjectHotspotClickEvent, type ProjectHotspotDefinition, type ProjectHotspotErrorEvent, type ProjectHotspotEvent, type ProjectHotspotRenderContext, type ProjectHotspotTrigger, type ProjectPopupBlock, type ProjectPopupDefinition, type ProjectPopupRequestEvent, ProjectScenes, type ProjectScenesProps, type RectangleGraphic, type RingGraphic, type Scene, type SceneFromViewerConfigOptions, type SceneTransition, type SceneTransitionEndEvent, type SceneTransitionErrorEvent, type SceneTransitionPreset, Scenes, type ScenesController, type ScenesProps, type SequenceFrameDirection, type SequenceFrameEvent, SequenceHotspot, type SequenceHotspotDefinition, type SequenceHotspotErrorEvent, type SequenceHotspotProps, type SequenceLoadProgress, type SequencePlaybackState, type SetPanoViewerOptions, Sphere, type SphereProps, type SphereScene, SphereTile, type SphereTileAddress, type SphereTileLevel, type SphereTileLoadError, type SphereTileMultiresConfig, type SphereTileProps, type SphereTileScene, type SphereViewerConfig, type StarGraphic, type SvgGraphic, type SvgPathGraphic, TextHotspot, type TextHotspotAlign, type TextHotspotDefinition, type TextHotspotFontStyle, type TextHotspotProps, type TextHotspotStyle, type TextHotspotVerticalAlign, type TextHotspotWhiteSpace, Tile, type TileAddress, type TileLoadError, type TileLoadProgress, type TileMultiresConfig, type TileProps, type TileScene, TouchControls, type TouchControlsOptions, type TouchControlsProps, type TriangleGraphic, type UsePanoViewerResult, VideoHotspot, type VideoHotspotDefinition, type VideoHotspotErrorEvent, type VideoHotspotProps, type VideoPlaybackState, type ViewInteractionEvent, type ViewInteractionSource, type ViewerConfig, type ViewerDocument, WEBVR_PROFILES, WEBVR_PROFILE_IDS, WebVR, type WebVRChrome, type WebVRChromeAppearance, type WebVRHandle, type WebVRMode, type WebVRProfile, type WebVRProfileId, type WebVRProps, type WebVRSettings, clampPanoPitch, composePanoContextMenuItems, containRect, containerPointToImage, createDefaultPanoContextMenuItems, createPanoContextMenuPresets, cycleSceneId, headingFromVector, horizontalFov, hotspotAction, imagePointToContainer, loadPanoProject, loadSceneFromJson, normalizePanoPosition, normalizePanoYaw, panoPositionToVector3, parsePanoMap, parsePanoProject, projectHotspotTriggers, resolvePanoContextMenuEntries, resolvePanoMapAssets, resolveHotspotAssets as resolveProjectHotspotAssets, resolveProjectPopupAssets, sceneFromViewerConfig, sectorRotation, setHotspotAction, unwrapPolygonVertices, usePanoEvents, usePanoModal, usePanoOverlay, usePanoViewer, validatePolygonVertices, validatePolylineVertices, vector3ToPanoPosition };
|
|
2444
|
+
export { type ArrowGraphic, type AssetUrlContext, type AssetUrlResolver, AudioHotspot, type AudioHotspotDefinition, type AudioHotspotErrorEvent, type AudioHotspotProps, type AudioPlaybackState, AutoRotate, type AutoRotateProps, BackgroundAudio, type BackgroundAudioController, type BackgroundAudioErrorEvent, type BackgroundAudioProps, type BackgroundAudioSnapshot, type BackgroundAudioSource, type CircleGraphic, type CubeFaceCode, type CubemapViewerConfig, DEFAULT_HOTSPOT_TOOLTIP_APPEARANCE, DEFAULT_HOTSPOT_TOOLTIP_OFFSET, DEFAULT_PANO_CURSORS, DEFAULT_PANO_SCENE_MENU_APPEARANCE, DEFAULT_PANO_VIDEO_CAPTION_APPEARANCE, DEFAULT_PANO_VIDEO_CONTROLS_APPEARANCE, DEFAULT_PANO_VIDEO_PLAYBACK_RATES, DEFAULT_WEBVR_CHROME_APPEARANCE, DEFAULT_WEBVR_CURSOR_DWELL_MS, type DiamondGraphic, EMPTY_WEBVR_STATE, type GraphicDefinition, GraphicHotspot, type GraphicHotspotDefinition, type GraphicHotspotProps, Gyro, type GyroHandle, type GyroProps, type GyroTouchMode, type HotspotCommonProps, type HotspotDefinition, type HotspotDefinitionBase, type HotspotDragEvent, type HotspotInputSource, type HotspotInteractionEvent, type HotspotMode, type HotspotPointerEvents, type HotspotPosition, type HotspotScaleMode, type HotspotTooltipAppearance, type HotspotTooltipContent, type HotspotTooltipPlacement, type HotspotTooltipTrigger, IframeHotspot, type IframeHotspotDefinition, type IframeHotspotProps, type IframePointerPolicy, ImageHotspot, type ImageHotspotDefinition, type ImageHotspotProps, type JsonObject, type JsonRequestOptions, type JsonValue, type KeyboardControlAction, type KeyboardControlKeys, KeyboardControls, type KeyboardControlsProps, type LoadPanoProjectOptions, type LoadSceneFromJsonOptions, type LoadedPanoProject, type LoadedProjectScene, MAX_HOTSPOT_PITCH, MIN_PANO_CONTEXT_MENU_BACKGROUND_OPACITY, type MouseControlButton, MouseControls, type MouseControlsOptions, type MouseControlsProps, PANO_FILTER_PRESETS, type PanoColorMatrix, PanoContextMenu, type PanoContextMenuActionItem, type PanoContextMenuAppearance, type PanoContextMenuEntry, type PanoContextMenuItem, type PanoContextMenuPresetActions, type PanoContextMenuPresetId, type PanoContextMenuPresetRef, type PanoContextMenuPresets, type PanoContextMenuProps, type PanoContextMenuRenderProps, type PanoContextMenuSelectContext, type PanoContextMenuSeparatorItem, type PanoCursor, type PanoCursors, PanoDataError, type PanoDataErrorCode, type PanoDragMotion, type PanoEventBus, type PanoEventListener, type PanoEventMap, type PanoEventType, PanoEvents, type PanoEventsProps, PanoFilter, type PanoFilterPreset, type PanoFilterProps, PanoMap, type PanoMapControlsDefinition, type PanoMapCorner, type PanoMapDefinition, type PanoMapDialogPresentation, type PanoMapDockedPresentation, type PanoMapEditChange, type PanoMapGradientStop, PanoMapOverlay, type PanoMapOverlayProps, type PanoMapPresentation, type PanoMapProps, type PanoMapSectorDefinition, type PanoMapSectorGradient, type PanoMapSpotDefinition, type PanoMediaActivationControls, type PanoMediaActivationOptions, PanoOverlay, PanoOverlayPortalProvider, type PanoOverlayProps, type PanoOverlayRenderContext, type PanoProjectDefinition, type PanoProjectSceneDefinition, type PanoResizeEvent, PanoSceneMenu, type PanoSceneMenuAlign, type PanoSceneMenuAppearance, type PanoSceneMenuInset, type PanoSceneMenuItem, type PanoSceneMenuLabelAlign, type PanoSceneMenuPlacement, type PanoSceneMenuProps, PanoVideo, type PanoVideoCaptionAppearance, type PanoVideoController, PanoVideoControls, type PanoVideoControlsAppearance, type PanoVideoControlsProps, type PanoVideoErrorEvent, type PanoVideoErrorSource, type PanoVideoPlaybackSnapshot, type PanoVideoProps, type PanoVideoSource, type PanoVideoTrack, type PanoVideoTrackKind, type PanoVideoVariant, type PanoViewEasing, type PanoViewLimits, type PanoViewLookToOptions, type PanoViewNavigationOptions, type PanoViewNavigationResult, PanoViewer, type PanoViewerHandle, type PanoViewerProps, type PanoViewerState, type PanoWheelEvent, type PanoramaControlsOptions, type PanoramaPointerEvent, type PointHotspotDefinition, type PointHotspotDefinitionBase, PolygonHotspot, type PolygonHotspotDefinition, type PolygonHotspotProps, type PolygonValidationCode, type PolygonValidationIssue, type PolygonVerticesChangeEvent, PolylineHotspot, type PolylineHotspotDefinition, type PolylineHotspotProps, type PolylineValidationIssue, type PolylineVerticesChangeEvent, type PopupAssetUrlContext, type PopupAssetUrlResolver, type ProjectCustomActionEvent, type ProjectCustomHotspotAction, type ProjectHotspotAction, type ProjectHotspotClickEvent, type ProjectHotspotDefinition, type ProjectHotspotErrorEvent, type ProjectHotspotEvent, type ProjectHotspotRenderContext, type ProjectHotspotTrigger, type ProjectPopupBlock, type ProjectPopupDefinition, type ProjectPopupRequestEvent, ProjectScenes, type ProjectScenesProps, type RectangleGraphic, type RingGraphic, type Scene, type SceneFromViewerConfigOptions, type SceneTransition, type SceneTransitionEndEvent, type SceneTransitionErrorEvent, type SceneTransitionPreset, Scenes, type ScenesController, type ScenesProps, type SequenceFrameDirection, type SequenceFrameEvent, SequenceHotspot, type SequenceHotspotDefinition, type SequenceHotspotErrorEvent, type SequenceHotspotProps, type SequenceLoadProgress, type SequencePlaybackState, type SetPanoViewerOptions, Sphere, type SphereProps, type SphereScene, SphereTile, type SphereTileAddress, type SphereTileLevel, type SphereTileLoadError, type SphereTileMultiresConfig, type SphereTileProps, type SphereTileScene, type SphereViewerConfig, type StarGraphic, type SvgGraphic, type SvgPathGraphic, TextHotspot, type TextHotspotAlign, type TextHotspotDefinition, type TextHotspotFontStyle, type TextHotspotProps, type TextHotspotStyle, type TextHotspotVerticalAlign, type TextHotspotWhiteSpace, Tile, type TileAddress, type TileLoadError, type TileLoadProgress, type TileMultiresConfig, type TileProps, type TileScene, TouchControls, type TouchControlsOptions, type TouchControlsProps, type TriangleGraphic, type UsePanoViewerResult, VideoHotspot, type VideoHotspotDefinition, type VideoHotspotErrorEvent, type VideoHotspotProps, type VideoPlaybackState, type ViewInteractionEvent, type ViewInteractionSource, type ViewerConfig, type ViewerDocument, WEBVR_PROFILES, WEBVR_PROFILE_IDS, WebVR, type WebVRChrome, type WebVRChromeAppearance, type WebVRFrameRate, type WebVRHandle, type WebVRMode, type WebVRProfile, type WebVRProfileId, type WebVRProps, type WebVRSettings, type WebVRState, clampPanoPitch, composePanoContextMenuItems, containRect, containerPointToImage, createDefaultPanoContextMenuItems, createPanoContextMenuPresets, cycleSceneId, headingFromVector, horizontalFov, hotspotAction, imagePointToContainer, loadPanoProject, loadSceneFromJson, normalizePanoPosition, normalizePanoYaw, panoPositionToVector3, parsePanoMap, parsePanoProject, projectHotspotTriggers, resolvePanoContextMenuEntries, resolvePanoMapAssets, resolveHotspotAssets as resolveProjectHotspotAssets, resolveProjectPopupAssets, sceneFromViewerConfig, sectorRotation, setHotspotAction, unwrapPolygonVertices, usePanoEvents, usePanoModal, usePanoOverlay, usePanoViewer, validatePolygonVertices, validatePolylineVertices, vector3ToPanoPosition };
|