viral-viewer-2 7.8.2 → 7.8.3
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/{batched-mesh-simplifier-CqamcaQ6.mjs → batched-mesh-simplifier-BX2o8JhR.mjs} +1 -1
- package/dist/components/post-processing/post-processing-renderer.d.ts +8 -0
- package/dist/components/post-processing/selection-outline-pass.d.ts +7 -1
- package/dist/components/renderer/viral-renderer.d.ts +21 -0
- package/dist/entities/viewer-option.d.ts +8 -0
- package/dist/{index-DGxoy8Wq.mjs → index-DXZttkMQ.mjs} +63353 -63246
- package/dist/index.mjs +1 -1
- package/dist/viral-viewer-api.d.ts +12 -12
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as r, t as i, C as s, n as l, v as n, D as t, u as o, E as V, J as d, F as u, G as M, H as c, aa as g, L as p, a9 as E, a0 as m, _ as v, $ as y, T as S, o as h, w as C, x as b, b as D, y as P, V as T, c as L, z as R, q as B, N as f, A as H, a2 as x, I as k, a3 as w, Y as A, W as G, K as N, r as U, ab as F, O as K, P as z, Q as I, a1 as W, M as j, p as q, a4 as J, a5 as O, m as Q, a6 as X, R as Y, S as Z, U as _, a7 as $, X as aa, a8 as ea, ac as ra, e as ia, d as sa, Z as la, k as na, j as ta, g as oa, s as Va, i as da, h as ua, l as Ma } from "./index-
|
|
1
|
+
import { f as r, t as i, C as s, n as l, v as n, D as t, u as o, E as V, J as d, F as u, G as M, H as c, aa as g, L as p, a9 as E, a0 as m, _ as v, $ as y, T as S, o as h, w as C, x as b, b as D, y as P, V as T, c as L, z as R, q as B, N as f, A as H, a2 as x, I as k, a3 as w, Y as A, W as G, K as N, r as U, ab as F, O as K, P as z, Q as I, a1 as W, M as j, p as q, a4 as J, a5 as O, m as Q, a6 as X, R as Y, S as Z, U as _, a7 as $, X as aa, a8 as ea, ac as ra, e as ia, d as sa, Z as la, k as na, j as ta, g as oa, s as Va, i as da, h as ua, l as Ma } from "./index-DXZttkMQ.mjs";
|
|
2
2
|
export {
|
|
3
3
|
r as BufferElement,
|
|
4
4
|
i as CheckClashResult,
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import type { ViewerOptions } from ".";
|
|
2
2
|
import { ViralAnimation } from "./components/animation/viral-animation";
|
|
3
3
|
import { ViralAvatarManager } from "./components/avatar-manager/viral-avatar-manager";
|
|
4
|
-
import { ViralEditor } from "./components/editor/viral-editor";
|
|
5
4
|
import { ViralBVH } from "./components/bvh/viral-bvh";
|
|
6
5
|
import { ViralCamera } from "./components/camera/viral-camera";
|
|
7
6
|
import { ViralCompressProcessor } from "./components/compress/viral-compress.processor";
|
|
8
7
|
import { ViralDataManager } from "./components/data-manager/viral-data-manager";
|
|
8
|
+
import { ViralEditor } from "./components/editor/viral-editor";
|
|
9
9
|
import { EventDispatcher } from "./components/event-handler/base/event-dispatcher";
|
|
10
10
|
import { ViralKeyboard } from "./components/event-handler/keyboard/viral-keyboard";
|
|
11
11
|
import { ViralMouse } from "./components/event-handler/mouse/viral-mouse";
|
|
12
12
|
import { ViralCentralizedEventHandler } from "./components/event-handler/viral-centralized-event-handler";
|
|
13
13
|
import { ViralLifecycleEventHandler } from "./components/event-handler/viral-lifecycle-event-handler";
|
|
14
|
+
import { ViralLandscape } from "./components/landscape/viral-landscape";
|
|
14
15
|
import { ViralLoader } from "./components/loader/viral.loader";
|
|
15
16
|
import { ViralMaterialManager } from "./components/material/viral-material-manager";
|
|
16
17
|
import { ViralRenderer } from "./components/renderer/viral-renderer";
|
|
@@ -18,37 +19,36 @@ import { ViralScene } from "./components/scene/viral-scene";
|
|
|
18
19
|
import { ViralElevationSection } from "./components/section-box/viral-elevation-section";
|
|
19
20
|
import { ViralSectionBox } from "./components/section-box/viral-section-box";
|
|
20
21
|
import { ViralStats } from "./components/stats/viral-stats";
|
|
22
|
+
import type { MetricsCallback } from "./components/telemetry/performance-metrics";
|
|
21
23
|
import { ViralVisibilityManager } from "./components/visibility-manager/viral-visibility-manager";
|
|
22
24
|
import { ViralContextMenu } from "./gui/context-menu/viral-context-menu";
|
|
23
25
|
import { ViralDraggableModal } from "./gui/draggable-modal/viral-draggable-modal";
|
|
26
|
+
import { LandscapeLayerPanel } from "./gui/landscape-layer-panel/landscape-layer-panel";
|
|
27
|
+
import type { MapPickerMapStyle, MapPickerSearchProvider, MapPickerSearchResult } from "./gui/map-picker/map-picker-modal";
|
|
28
|
+
import { MapPickerModal } from "./gui/map-picker/map-picker-modal";
|
|
24
29
|
import { ViralMeshDebugPanel } from "./gui/mesh-debug-panel/viral-mesh-debug-panel";
|
|
25
30
|
import { ViralNavigationCube } from "./gui/navigation-cube/viral-navigation-cube";
|
|
26
31
|
import { ViralPivotPoint } from "./gui/pivot-point/viral-pivot-point";
|
|
27
32
|
import { ViralRenderDebugPanel } from "./gui/render-debug-panel/viral-render-debug-panel";
|
|
28
33
|
import { ViralSpinner } from "./gui/spinner/viral-spinner";
|
|
29
34
|
import { ViralTools } from "./gui/tools/viral-tools";
|
|
30
|
-
import { LandscapeLayerPanel } from "./gui/landscape-layer-panel/landscape-layer-panel";
|
|
31
|
-
import { MapPickerModal } from "./gui/map-picker/map-picker-modal";
|
|
32
|
-
import type { MapPickerSearchResult, MapPickerSearchProvider, MapPickerMapStyle } from "./gui/map-picker/map-picker-modal";
|
|
33
|
-
import { ViralLandscape } from "./components/landscape/viral-landscape";
|
|
34
35
|
import { LocalStorageService } from "./services/local-storage.service";
|
|
35
36
|
import { SessionPersistence } from "./services/session/session-persistence";
|
|
36
|
-
import { SnapshotManager } from "./services/snapshot/snapshot-manager";
|
|
37
|
-
import type { SnapshotEnvelope, SnapshotMetadata } from "./services/snapshot/snapshot-types";
|
|
38
37
|
import { SceneSnapshotManager } from "./services/snapshot/scene-snapshot-manager";
|
|
39
38
|
import type { SaveSceneProgress, SnapshotExtension } from "./services/snapshot/scene-snapshot-types";
|
|
40
|
-
import
|
|
39
|
+
import { SnapshotManager } from "./services/snapshot/snapshot-manager";
|
|
40
|
+
import type { SnapshotEnvelope, SnapshotMetadata } from "./services/snapshot/snapshot-types";
|
|
41
41
|
export { ViralAnimation, ViralAvatarManager, ViralBVH, ViralCamera, ViralCompressProcessor, ViralDataManager, };
|
|
42
42
|
export { EventDispatcher, ViralKeyboard, ViralMouse, ViralCentralizedEventHandler, ViralLifecycleEventHandler, };
|
|
43
43
|
export { ViralLoader, ViralMaterialManager, ViralRenderer, ViralScene, ViralSectionBox, ViralElevationSection, ViralStats, };
|
|
44
|
-
export { ViralEditor, ViralVisibilityManager, SessionPersistence, SnapshotManager, SceneSnapshotManager };
|
|
44
|
+
export { ViralEditor, ViralVisibilityManager, SessionPersistence, SnapshotManager, SceneSnapshotManager, };
|
|
45
45
|
export type { SnapshotEnvelope, SnapshotMetadata, SaveSceneProgress, SnapshotExtension };
|
|
46
|
-
export { ViralMeshDebugPanel, ViralContextMenu, ViralDraggableModal, ViralNavigationCube, ViralPivotPoint, ViralRenderDebugPanel, ViralSpinner, ViralTools, MapPickerModal, LandscapeLayerPanel, MapPickerSearchResult, MapPickerSearchProvider, MapPickerMapStyle, };
|
|
46
|
+
export { ViralMeshDebugPanel, ViralContextMenu, ViralDraggableModal, ViralNavigationCube, ViralPivotPoint, ViralRenderDebugPanel, ViralSpinner, ViralTools, MapPickerModal, LandscapeLayerPanel, type MapPickerSearchResult, type MapPickerSearchProvider, type MapPickerMapStyle, };
|
|
47
47
|
export { ViralLandscape };
|
|
48
|
-
export type {
|
|
48
|
+
export type { CatalogCategory, CatalogItem } from "./components/editor/catalog/catalog-types";
|
|
49
|
+
export type { LandscapeDefinition, LandscapeLayerConfig, TerrainStyle, } from "./components/landscape/landscape-types";
|
|
49
50
|
export type { TerrainTileFetcher } from "./components/landscape/terrain-style";
|
|
50
51
|
export type { TrafficTileFetcher } from "./components/landscape/traffic-overlay";
|
|
51
|
-
export type { CatalogItem, CatalogCategory } from "./components/editor/catalog/catalog-types";
|
|
52
52
|
/**
|
|
53
53
|
* Root of library
|
|
54
54
|
*/
|