@crystaldesign/real-time-viewer-next 26.14.0-beta.20 → 26.14.0-beta.22

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.
Files changed (31) hide show
  1. package/build/esm/{DeckCutoutSubsystem-6aca7b92.js → DeckCutoutSubsystem-eb47a2b1.js} +1 -1
  2. package/build/esm/{GpuPassTiming-47d7d14b.js → GpuPassTiming-ffef4ca2.js} +1 -1
  3. package/build/esm/{RoomShell-e9d62ae3.js → RoomShell-44b80d5f.js} +1 -1
  4. package/build/esm/{SunLensflare-8e6b2ccb.js → SunLensflare-195e78f0.js} +1 -1
  5. package/build/esm/{WaterSurface-aa2471d6.js → WaterSurface-1678292e.js} +1 -1
  6. package/build/esm/{chipPlacement-f6e598a2.js → chipPlacement-aaa85bc3.js} +1 -1
  7. package/build/esm/{coachChunk-f22b1ed4.js → coachChunk-5f8a8ec6.js} +2 -2
  8. package/build/esm/{doorSwapChunk-4ba535c4.js → doorSwapChunk-6af4d939.js} +2 -2
  9. package/build/esm/{index-451a8bb2.js → index-4657421e.js} +504 -271
  10. package/build/esm/index.js +1 -1
  11. package/build/types/real-time-viewer-next/src/capture/applyShot.d.ts.map +1 -1
  12. package/build/types/real-time-viewer-next/src/core/dimension-lines/DimensionLine2D.d.ts +6 -0
  13. package/build/types/real-time-viewer-next/src/core/dimension-lines/DimensionLine2D.d.ts.map +1 -1
  14. package/build/types/real-time-viewer-next/src/core/dimension-lines/DimensionLines2D.d.ts +2 -0
  15. package/build/types/real-time-viewer-next/src/core/dimension-lines/DimensionLines2D.d.ts.map +1 -1
  16. package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionLineBuilders2D.d.ts +7 -0
  17. package/build/types/real-time-viewer-next/src/core/dimension-lines/dimensionLineBuilders2D.d.ts.map +1 -1
  18. package/build/types/real-time-viewer-next/src/core/dimension-lines/useLabelScale.d.ts +5 -0
  19. package/build/types/real-time-viewer-next/src/core/dimension-lines/useLabelScale.d.ts.map +1 -1
  20. package/build/types/real-time-viewer-next/src/plannerScene2D/buildDockingGroups.d.ts +3 -1
  21. package/build/types/real-time-viewer-next/src/plannerScene2D/buildDockingGroups.d.ts.map +1 -1
  22. package/build/types/real-time-viewer-next/src/plannerScene2D/buildScene2D.d.ts.map +1 -1
  23. package/build/types/real-time-viewer-next/src/plannerScene2D/dimensionConfigs.d.ts +5 -0
  24. package/build/types/real-time-viewer-next/src/plannerScene2D/dimensionConfigs.d.ts.map +1 -1
  25. package/build/types/real-time-viewer-next/src/types/scene2d.d.ts +10 -0
  26. package/build/types/real-time-viewer-next/src/types/scene2d.d.ts.map +1 -1
  27. package/build/types/real-time-viewer-next/src/utils/cameraFraming.d.ts +27 -0
  28. package/build/types/real-time-viewer-next/src/utils/cameraFraming.d.ts.map +1 -1
  29. package/build/umd/real-time-viewer-next.umd.min.js +1 -1
  30. package/build/umd/report.html +1 -1
  31. package/package.json +2 -2
@@ -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-451a8bb2.js';
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-4657421e.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-451a8bb2.js';
6
+ import { I as FRAME_ORDER, u as useRTVStore, ax as outlineSubPasses, ay as isOutlineDrawSkipped, az as gpuTimingTargets, aA as effectsOf } from './index-4657421e.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-451a8bb2.js';
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-4657421e.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-451a8bb2.js';
2
+ import { aB as flushPendingBVH, aC as collectCollisionTargets } from './index-4657421e.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-451a8bb2.js';
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-4657421e.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,4 +1,4 @@
1
- import './index-451a8bb2.js';
1
+ import './index-4657421e.js';
2
2
 
3
3
  /** A box in client px. */
4
4
 
@@ -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-451a8bb2.js';
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-4657421e.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-f6e598a2.js';
5
+ import { c as clamp, p as placeChipInBox, T as TOUCH_MAX_BOTTOM } from './chipPlacement-aaa85bc3.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-451a8bb2.js';
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-4657421e.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-f6e598a2.js';
11
+ import { T as TOUCH_MAX_BOTTOM, p as placeChipInBox } from './chipPlacement-aaa85bc3.js';
12
12
  import '@crystaldesign/diva-core';
13
13
  import '@babel/runtime/helpers/asyncToGenerator';
14
14
  import '@babel/runtime/helpers/typeof';