@crystaldesign/real-time-viewer-next 26.14.0-beta.2 → 26.14.0-beta.20
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/build/esm/{DeckCutoutSubsystem-ed8fa51b.js → DeckCutoutSubsystem-6aca7b92.js} +1 -1
- package/build/esm/{GpuPassTiming-0366ebe3.js → GpuPassTiming-47d7d14b.js} +1 -1
- package/build/esm/{RoomShell-6844aeb7.js → RoomShell-e9d62ae3.js} +1 -1
- package/build/esm/{SunLensflare-a9b51b28.js → SunLensflare-8e6b2ccb.js} +1 -1
- package/build/esm/{WaterSurface-8e95a363.js → WaterSurface-aa2471d6.js} +1 -1
- package/build/esm/{chipPlacement-ea37d089.js → chipPlacement-f6e598a2.js} +1 -1
- package/build/esm/{coachChunk-dccd0731.js → coachChunk-f22b1ed4.js} +2 -2
- package/build/esm/{doorSwapChunk-98d0c552.js → doorSwapChunk-4ba535c4.js} +2 -2
- package/build/esm/{index-d32454b2.js → index-451a8bb2.js} +1238 -603
- package/build/esm/index.js +1 -1
- package/build/types/real-time-viewer-next/src/capture/applyShot.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/core/SceneRenderer.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/core/camera/cameraIntents.d.ts +6 -0
- package/build/types/real-time-viewer-next/src/core/camera/cameraIntents.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/core/camera/retarget.d.ts +29 -9
- package/build/types/real-time-viewer-next/src/core/camera/retarget.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/core/camera/useCameraActions.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/core/camera/useCameraConstraints.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/core/interaction/ElementOverlay.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/core/interaction/FreeGridLayer.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/core/interaction/overlayChrome.d.ts +10 -0
- package/build/types/real-time-viewer-next/src/core/interaction/overlayChrome.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/interaction/overlayChrome.test.d.ts +5 -0
- package/build/types/real-time-viewer-next/src/core/interaction/overlayChrome.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/shownScene.d.ts +15 -0
- package/build/types/real-time-viewer-next/src/core/shownScene.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/shownScene.test.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/core/shownScene.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/core/view2d/DockingPoints2D.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/hooks/useAssembledScene.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/hooks/useEndGesturesOnUnmount.d.ts +7 -0
- package/build/types/real-time-viewer-next/src/hooks/useEndGesturesOnUnmount.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/hooks/useEndGesturesOnUnmount.test.d.ts +5 -0
- package/build/types/real-time-viewer-next/src/hooks/useEndGesturesOnUnmount.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/hooks/useHostPropsSync.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/publicApi.d.ts +4 -0
- package/build/types/real-time-viewer-next/src/publicApi.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/store/index.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/store/slices/accessory.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/store/slices/camera.d.ts +5 -0
- package/build/types/real-time-viewer-next/src/store/slices/camera.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/store/slices/doorSwap.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/store/slices/interaction.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/store/slices/plannerOperation.d.ts +68 -0
- package/build/types/real-time-viewer-next/src/store/slices/plannerOperation.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/plannerOperation.test.d.ts +5 -0
- package/build/types/real-time-viewer-next/src/store/slices/plannerOperation.test.d.ts.map +1 -0
- package/build/types/real-time-viewer-next/src/store/slices/selection.d.ts +6 -0
- package/build/types/real-time-viewer-next/src/store/slices/selection.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/store/types.d.ts +16 -9
- package/build/types/real-time-viewer-next/src/store/types.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/types/environment.d.ts +1 -1
- package/build/types/real-time-viewer-next/src/types/environment.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/utils/cameraFraming.d.ts +9 -1
- package/build/types/real-time-viewer-next/src/utils/cameraFraming.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/utils/collisionTargets.d.ts +2 -0
- package/build/types/real-time-viewer-next/src/utils/collisionTargets.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/utils/detectDeviceTier.d.ts +2 -3
- package/build/types/real-time-viewer-next/src/utils/detectDeviceTier.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/utils/focusVisibility.d.ts +45 -4
- package/build/types/real-time-viewer-next/src/utils/focusVisibility.d.ts.map +1 -1
- package/build/types/real-time-viewer-next/src/utils/whiteRoomPreset.d.ts.map +1 -1
- package/build/umd/114.real-time-viewer-next.umd.min.js +1 -1
- package/build/umd/{216.real-time-viewer-next.umd.min.js → 177.real-time-viewer-next.umd.min.js} +2 -2
- package/build/umd/177.real-time-viewer-next.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/{674.real-time-viewer-next.umd.min.js → 187.real-time-viewer-next.umd.min.js} +2 -2
- package/build/umd/187.real-time-viewer-next.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/{469.real-time-viewer-next.umd.min.js → 207.real-time-viewer-next.umd.min.js} +2 -2
- package/build/umd/207.real-time-viewer-next.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/{402.real-time-viewer-next.umd.min.js → 391.real-time-viewer-next.umd.min.js} +2 -2
- package/build/umd/391.real-time-viewer-next.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/{463.real-time-viewer-next.umd.min.js → 422.real-time-viewer-next.umd.min.js} +2 -2
- package/build/umd/422.real-time-viewer-next.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/{733.real-time-viewer-next.umd.min.js → 498.real-time-viewer-next.umd.min.js} +2 -2
- package/build/umd/498.real-time-viewer-next.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/real-time-viewer-next.umd.min.js +1 -1
- package/build/umd/report.html +1 -1
- package/package.json +2 -2
- package/build/umd/216.real-time-viewer-next.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/402.real-time-viewer-next.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/463.real-time-viewer-next.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/469.real-time-viewer-next.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/674.real-time-viewer-next.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/733.real-time-viewer-next.umd.min.js.LICENSE.txt +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ai as parseQualifiedElementKey, aj as resolveGeoNodes, ak as polygonSignedArea, al as simplifyClosedPolygon, am as ensureSimplePolygon, b as parseElementKey, an as useStableEnvSlice, u as useRTVStore, ao as bootPhase, ap as adoptPristineFadeState, aq as DECK_COLLAR_LOAD_ID } from './index-
|
|
1
|
+
import { ai as parseQualifiedElementKey, aj as resolveGeoNodes, ak as polygonSignedArea, al as simplifyClosedPolygon, am as ensureSimplePolygon, b as parseElementKey, an as useStableEnvSlice, u as useRTVStore, ao as bootPhase, ap as adoptPristineFadeState, aq as DECK_COLLAR_LOAD_ID } from './index-451a8bb2.js';
|
|
2
2
|
import { useRef, useEffect, useMemo, useState, useCallback } from 'react';
|
|
3
3
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
4
4
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
@@ -3,7 +3,7 @@ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
|
3
3
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
4
4
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
5
5
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
6
|
-
import { I as FRAME_ORDER, u as useRTVStore, ax as outlineSubPasses, ay as isOutlineDrawSkipped, az as gpuTimingTargets, aA as effectsOf } from './index-
|
|
6
|
+
import { I as FRAME_ORDER, u as useRTVStore, ax as outlineSubPasses, ay as isOutlineDrawSkipped, az as gpuTimingTargets, aA as effectsOf } from './index-451a8bb2.js';
|
|
7
7
|
import { useRef, useEffect } from 'react';
|
|
8
8
|
import { useThree, useFrame } from '@react-three/fiber';
|
|
9
9
|
import { RenderPass, EffectPass, Effect } from 'postprocessing';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _typeof from '@babel/runtime/helpers/typeof';
|
|
2
2
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
3
|
-
import { L as floorReflections, M as withRenderTarget, N as renderFloorReflection, I as FRAME_ORDER, O as sceneEpoch, P as roomAoUniforms, u as useRTVStore, Q as sameMatrix, R as collectElements, S as partBoxes, U as articleImportance, V as articleAoBoxes, W as ROOM_AO_BOX_BUDGETS, X as packArticleBoxes, Y as rotateXZ, b as parseElementKey, a as isAccessoryKey, l as parseElementSetId, Z as parseElementId, _ as findElement2D, k as getLocalBoundingBox, $ as getHostCallbacks, a0 as buildRoomWalls, a1 as ROOM_SHELL_LOAD_ID, a2 as ROOM_PLAN_2D, a3 as R3FAssetBoundary, a4 as useTextureSizeCap, a5 as CM, a6 as useShadowFlags, a7 as applyRoomAo, a8 as setRoomAoWalls, a9 as setRoomAoWallVisible, aa as squareEndQuad, ab as buildWallPieces, ac as pushPrism, ad as pieceQuad, ae as openingSpan, af as floorUnreflected, ag as cameraHiddenWalls, ah as cameraSquaredWallEnds } from './index-
|
|
3
|
+
import { L as floorReflections, M as withRenderTarget, N as renderFloorReflection, I as FRAME_ORDER, O as sceneEpoch, P as roomAoUniforms, u as useRTVStore, Q as sameMatrix, R as collectElements, S as partBoxes, U as articleImportance, V as articleAoBoxes, W as ROOM_AO_BOX_BUDGETS, X as packArticleBoxes, Y as rotateXZ, b as parseElementKey, a as isAccessoryKey, l as parseElementSetId, Z as parseElementId, _ as findElement2D, k as getLocalBoundingBox, $ as getHostCallbacks, a0 as buildRoomWalls, a1 as ROOM_SHELL_LOAD_ID, a2 as ROOM_PLAN_2D, a3 as R3FAssetBoundary, a4 as useTextureSizeCap, a5 as CM, a6 as useShadowFlags, a7 as applyRoomAo, a8 as setRoomAoWalls, a9 as setRoomAoWallVisible, aa as squareEndQuad, ab as buildWallPieces, ac as pushPrism, ad as pieceQuad, ae as openingSpan, af as floorUnreflected, ag as cameraHiddenWalls, ah as cameraSquaredWallEnds } from './index-451a8bb2.js';
|
|
4
4
|
import { useMemo, useEffect, useRef, Suspense } from 'react';
|
|
5
5
|
import { PerspectiveCamera, Vector3, Matrix4, Plane, Vector4, WebGLRenderTarget, DepthTexture, DepthFormat, UnsignedShortType, LinearFilter, HalfFloatType, Box3, Vector2, RepeatWrapping, SRGBColorSpace, NoColorSpace, ShapeGeometry, Shape, Frustum, MeshStandardMaterial, DoubleSide, BufferGeometry, BufferAttribute } from 'three';
|
|
6
6
|
import { useTexture } from '@react-three/drei';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
2
|
-
import { aB as flushPendingBVH, aC as collectCollisionTargets } from './index-
|
|
2
|
+
import { aB as flushPendingBVH, aC as collectCollisionTargets } from './index-451a8bb2.js';
|
|
3
3
|
import { useMemo, useEffect, useRef } from 'react';
|
|
4
4
|
import { Billboard } from '@react-three/drei';
|
|
5
5
|
import { useThree, useFrame } from '@react-three/fiber';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
2
|
-
import { M as withRenderTarget, ar as setCausticReceiversSuspended, as as waterUniforms, at as useContinuousFrames, au as disableWaterUniforms, u as useRTVStore, I as FRAME_ORDER, av as sunAnglesToDirection, aw as lightingSunTowardDirection } from './index-
|
|
2
|
+
import { M as withRenderTarget, ar as setCausticReceiversSuspended, as as waterUniforms, at as useContinuousFrames, au as disableWaterUniforms, u as useRTVStore, I as FRAME_ORDER, av as sunAnglesToDirection, aw as lightingSunTowardDirection } from './index-451a8bb2.js';
|
|
3
3
|
import { useRef, useMemo, useEffect, useCallback, useState } from 'react';
|
|
4
4
|
import { useThree, useFrame } from '@react-three/fiber';
|
|
5
5
|
import { Vector3, WebGLRenderTarget, HalfFloatType, RGBAFormat, LinearFilter, OrthographicCamera, ShaderMaterial, DoubleSide, MeshStandardMaterial, Box3, NoToneMapping, Frustum, Matrix4, Vector4, Vector2, Plane, Scene, Mesh, PlaneGeometry, ClampToEdgeWrapping, UnsignedByteType, LinearMipmapLinearFilter, MeshBasicMaterial, Color } from 'three';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as styleInject, p as prefersReducedMotion, u as useRTVStore, i as isElementNodeName, a as isAccessoryKey, b as parseElementKey, c as canPressDrag, d as canMoveAccessory, v as visibleElementCentre, w as worldToClientPxOnScreen, e as isElementVisibleAt, f as viewerElementOf, g as collectFreeCellWorldPositions, h as shelfElementKey, j as isDescendantElementKey, k as getLocalBoundingBox, l as parseElementSetId, T as TOUCH_LIFT_PX, m as markCoachHintSeen, n as useCoachHint, t as textFor, o as viewerCoachFrame, C as COARSE_POINTER, q as subscribeViewerCoachFrames } from './index-
|
|
1
|
+
import { s as styleInject, p as prefersReducedMotion, u as useRTVStore, i as isElementNodeName, a as isAccessoryKey, b as parseElementKey, c as canPressDrag, d as canMoveAccessory, v as visibleElementCentre, w as worldToClientPxOnScreen, e as isElementVisibleAt, f as viewerElementOf, g as collectFreeCellWorldPositions, h as shelfElementKey, j as isDescendantElementKey, k as getLocalBoundingBox, l as parseElementSetId, T as TOUCH_LIFT_PX, m as markCoachHintSeen, n as useCoachHint, t as textFor, o as viewerCoachFrame, C as COARSE_POINTER, q as subscribeViewerCoachFrames } from './index-451a8bb2.js';
|
|
2
2
|
import { useRef, useEffect, useMemo, useCallback } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { createPortal } from 'react-dom';
|
|
5
|
-
import { c as clamp, p as placeChipInBox, T as TOUCH_MAX_BOTTOM } from './chipPlacement-
|
|
5
|
+
import { c as clamp, p as placeChipInBox, T as TOUCH_MAX_BOTTOM } from './chipPlacement-f6e598a2.js';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
import _construct from '@babel/runtime/helpers/construct';
|
|
8
8
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as splitQualifiedElementKey, i as isElementNodeName, x as doorKeyOf, y as qualifiedElementKey, b as parseElementKey, l as parseElementSetId, k as getLocalBoundingBox, z as lendMirrorOverlays, A as convexHull, H as HIDDEN_FOR_STAND_IN, B as TOUCH_CLICK_SLOP_PX, D as CLICK_SLOP_PX, u as useRTVStore, E as acquireCursor, T as TOUCH_LIFT_PX, F as acquireControlsLock, G as rayAtClient, I as FRAME_ORDER, J as useAccentColor, K as isCoachHintSeen, s as styleInject } from './index-
|
|
1
|
+
import { r as splitQualifiedElementKey, i as isElementNodeName, x as doorKeyOf, y as qualifiedElementKey, b as parseElementKey, l as parseElementSetId, k as getLocalBoundingBox, z as lendMirrorOverlays, A as convexHull, H as HIDDEN_FOR_STAND_IN, B as TOUCH_CLICK_SLOP_PX, D as CLICK_SLOP_PX, u as useRTVStore, E as acquireCursor, T as TOUCH_LIFT_PX, F as acquireControlsLock, G as rayAtClient, I as FRAME_ORDER, J as useAccentColor, K as isCoachHintSeen, s as styleInject } from './index-451a8bb2.js';
|
|
2
2
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
3
3
|
import { useEffect, useRef, useMemo, useState, useCallback, useLayoutEffect } from 'react';
|
|
4
4
|
import { useThree, useFrame } from '@react-three/fiber';
|
|
@@ -8,7 +8,7 @@ import { Line } from '@react-three/drei';
|
|
|
8
8
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
9
9
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
10
10
|
import classnames from 'classnames';
|
|
11
|
-
import { T as TOUCH_MAX_BOTTOM, p as placeChipInBox } from './chipPlacement-
|
|
11
|
+
import { T as TOUCH_MAX_BOTTOM, p as placeChipInBox } from './chipPlacement-f6e598a2.js';
|
|
12
12
|
import '@crystaldesign/diva-core';
|
|
13
13
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
14
14
|
import '@babel/runtime/helpers/typeof';
|