@itwin/core-frontend 3.0.0 → 3.1.0-dev.12
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/CHANGELOG.md +35 -156
- package/lib/cjs/BriefcaseConnection.d.ts.map +1 -1
- package/lib/cjs/BriefcaseConnection.js +6 -5
- package/lib/cjs/BriefcaseConnection.js.map +1 -1
- package/lib/cjs/DisplayStyleState.d.ts +1 -0
- package/lib/cjs/DisplayStyleState.d.ts.map +1 -1
- package/lib/cjs/DisplayStyleState.js.map +1 -1
- package/lib/cjs/DrawingViewState.js +3 -3
- package/lib/cjs/DrawingViewState.js.map +1 -1
- package/lib/cjs/EnvironmentDecorations.d.ts.map +1 -1
- package/lib/cjs/EnvironmentDecorations.js +7 -10
- package/lib/cjs/EnvironmentDecorations.js.map +1 -1
- package/lib/cjs/SheetViewState.d.ts.map +1 -1
- package/lib/cjs/SheetViewState.js +4 -6
- package/lib/cjs/SheetViewState.js.map +1 -1
- package/lib/cjs/Viewport.d.ts +6 -3
- package/lib/cjs/Viewport.d.ts.map +1 -1
- package/lib/cjs/Viewport.js +16 -9
- package/lib/cjs/Viewport.js.map +1 -1
- package/lib/cjs/core-frontend.d.ts +1 -0
- package/lib/cjs/core-frontend.d.ts.map +1 -1
- package/lib/cjs/core-frontend.js +1 -0
- package/lib/cjs/core-frontend.js.map +1 -1
- package/lib/cjs/render/RenderMaterial.d.ts +61 -0
- package/lib/cjs/render/RenderMaterial.d.ts.map +1 -0
- package/lib/cjs/render/RenderMaterial.js +10 -0
- package/lib/cjs/render/RenderMaterial.js.map +1 -0
- package/lib/cjs/render/RenderSystem.d.ts +10 -3
- package/lib/cjs/render/RenderSystem.d.ts.map +1 -1
- package/lib/cjs/render/RenderSystem.js +11 -3
- package/lib/cjs/render/RenderSystem.js.map +1 -1
- package/lib/cjs/render/primitives/mesh/RealityMeshPrimitive.d.ts +2 -0
- package/lib/cjs/render/primitives/mesh/RealityMeshPrimitive.d.ts.map +1 -1
- package/lib/cjs/render/primitives/mesh/RealityMeshPrimitive.js +39 -2
- package/lib/cjs/render/primitives/mesh/RealityMeshPrimitive.js.map +1 -1
- package/lib/cjs/render/webgl/DrawCommand.js +1 -1
- package/lib/cjs/render/webgl/DrawCommand.js.map +1 -1
- package/lib/cjs/render/webgl/Material.d.ts.map +1 -1
- package/lib/cjs/render/webgl/Material.js +2 -0
- package/lib/cjs/render/webgl/Material.js.map +1 -1
- package/lib/cjs/render/webgl/RealityMesh.d.ts +1 -0
- package/lib/cjs/render/webgl/RealityMesh.d.ts.map +1 -1
- package/lib/cjs/render/webgl/RealityMesh.js +1 -0
- package/lib/cjs/render/webgl/RealityMesh.js.map +1 -1
- package/lib/cjs/render/webgl/SceneCompositor.d.ts +3 -0
- package/lib/cjs/render/webgl/SceneCompositor.d.ts.map +1 -1
- package/lib/cjs/render/webgl/SceneCompositor.js +31 -6
- package/lib/cjs/render/webgl/SceneCompositor.js.map +1 -1
- package/lib/cjs/render/webgl/ShaderProgram.d.ts +1 -0
- package/lib/cjs/render/webgl/ShaderProgram.d.ts.map +1 -1
- package/lib/cjs/render/webgl/ShaderProgram.js +1 -0
- package/lib/cjs/render/webgl/ShaderProgram.js.map +1 -1
- package/lib/cjs/render/webgl/System.d.ts +2 -0
- package/lib/cjs/render/webgl/System.d.ts.map +1 -1
- package/lib/cjs/render/webgl/System.js +43 -0
- package/lib/cjs/render/webgl/System.js.map +1 -1
- package/lib/cjs/render/webgl/Texture.d.ts.map +1 -1
- package/lib/cjs/render/webgl/Texture.js +2 -2
- package/lib/cjs/render/webgl/Texture.js.map +1 -1
- package/lib/cjs/tile/DynamicIModelTile.d.ts.map +1 -1
- package/lib/cjs/tile/DynamicIModelTile.js +1 -1
- package/lib/cjs/tile/DynamicIModelTile.js.map +1 -1
- package/lib/cjs/tile/GltfReader.d.ts +6 -1
- package/lib/cjs/tile/GltfReader.d.ts.map +1 -1
- package/lib/cjs/tile/GltfReader.js +102 -27
- package/lib/cjs/tile/GltfReader.js.map +1 -1
- package/lib/cjs/tile/ImdlReader.d.ts.map +1 -1
- package/lib/cjs/tile/ImdlReader.js +2 -0
- package/lib/cjs/tile/ImdlReader.js.map +1 -1
- package/lib/cjs/tile/LRUTileList.d.ts +29 -29
- package/lib/cjs/tile/LRUTileList.d.ts.map +1 -1
- package/lib/cjs/tile/LRUTileList.js +50 -50
- package/lib/cjs/tile/LRUTileList.js.map +1 -1
- package/lib/cjs/tile/OrbitGtTileTree.js +1 -1
- package/lib/cjs/tile/OrbitGtTileTree.js.map +1 -1
- package/lib/cjs/tile/RealityModelTileTree.d.ts +24 -2
- package/lib/cjs/tile/RealityModelTileTree.d.ts.map +1 -1
- package/lib/cjs/tile/RealityModelTileTree.js +36 -11
- package/lib/cjs/tile/RealityModelTileTree.js.map +1 -1
- package/lib/cjs/tile/RealityTile.d.ts +17 -3
- package/lib/cjs/tile/RealityTile.d.ts.map +1 -1
- package/lib/cjs/tile/RealityTile.js +34 -2
- package/lib/cjs/tile/RealityTile.js.map +1 -1
- package/lib/cjs/tile/RealityTileLoader.d.ts +8 -5
- package/lib/cjs/tile/RealityTileLoader.d.ts.map +1 -1
- package/lib/cjs/tile/RealityTileLoader.js +19 -5
- package/lib/cjs/tile/RealityTileLoader.js.map +1 -1
- package/lib/cjs/tile/RealityTileTree.d.ts +3 -1
- package/lib/cjs/tile/RealityTileTree.d.ts.map +1 -1
- package/lib/cjs/tile/RealityTileTree.js +5 -1
- package/lib/cjs/tile/RealityTileTree.js.map +1 -1
- package/lib/cjs/tile/Tile.d.ts +5 -4
- package/lib/cjs/tile/Tile.d.ts.map +1 -1
- package/lib/cjs/tile/Tile.js +3 -2
- package/lib/cjs/tile/Tile.js.map +1 -1
- package/lib/cjs/tile/TileAdmin.d.ts +43 -45
- package/lib/cjs/tile/TileAdmin.d.ts.map +1 -1
- package/lib/cjs/tile/TileAdmin.js +104 -99
- package/lib/cjs/tile/TileAdmin.js.map +1 -1
- package/lib/cjs/tile/TileGeometryCollector.d.ts +80 -0
- package/lib/cjs/tile/TileGeometryCollector.d.ts.map +1 -0
- package/lib/cjs/tile/TileGeometryCollector.js +71 -0
- package/lib/cjs/tile/TileGeometryCollector.js.map +1 -0
- package/lib/cjs/tile/TileRequest.d.ts +12 -9
- package/lib/cjs/tile/TileRequest.d.ts.map +1 -1
- package/lib/cjs/tile/TileRequest.js +19 -11
- package/lib/cjs/tile/TileRequest.js.map +1 -1
- package/lib/cjs/tile/TileRequestChannel.js +3 -3
- package/lib/cjs/tile/TileRequestChannel.js.map +1 -1
- package/lib/cjs/tile/TileTree.d.ts +7 -1
- package/lib/cjs/tile/TileTree.d.ts.map +1 -1
- package/lib/cjs/tile/TileTree.js +8 -1
- package/lib/cjs/tile/TileTree.js.map +1 -1
- package/lib/cjs/tile/TileTreeReference.d.ts +23 -2
- package/lib/cjs/tile/TileTreeReference.d.ts.map +1 -1
- package/lib/cjs/tile/TileTreeReference.js +37 -1
- package/lib/cjs/tile/TileTreeReference.js.map +1 -1
- package/lib/cjs/tile/TileUsageMarker.d.ts +9 -9
- package/lib/cjs/tile/TileUsageMarker.d.ts.map +1 -1
- package/lib/cjs/tile/TileUsageMarker.js +9 -9
- package/lib/cjs/tile/TileUsageMarker.js.map +1 -1
- package/lib/cjs/tile/TileUser.d.ts +33 -0
- package/lib/cjs/tile/TileUser.d.ts.map +1 -0
- package/lib/cjs/tile/TileUser.js +28 -0
- package/lib/cjs/tile/TileUser.js.map +1 -0
- package/lib/cjs/tile/TileUserSet.d.ts +28 -0
- package/lib/cjs/tile/TileUserSet.d.ts.map +1 -0
- package/lib/cjs/tile/TileUserSet.js +123 -0
- package/lib/cjs/tile/TileUserSet.js.map +1 -0
- package/lib/cjs/tile/internal.d.ts +3 -0
- package/lib/cjs/tile/internal.d.ts.map +1 -1
- package/lib/cjs/tile/internal.js +3 -0
- package/lib/cjs/tile/internal.js.map +1 -1
- package/lib/cjs/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts +1 -2
- package/lib/cjs/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts.map +1 -1
- package/lib/cjs/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js +1 -1
- package/lib/cjs/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js.map +1 -1
- package/lib/cjs/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.d.ts +1 -2
- package/lib/cjs/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.d.ts.map +1 -1
- package/lib/cjs/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js +1 -1
- package/lib/cjs/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js.map +1 -1
- package/lib/cjs/tile/map/ImageryProviders/BingImageryProvider.js +1 -1
- package/lib/cjs/tile/map/ImageryProviders/BingImageryProvider.js.map +1 -1
- package/lib/cjs/tile/map/ImageryProviders/MapBoxLayerImageryProvider.d.ts +1 -2
- package/lib/cjs/tile/map/ImageryProviders/MapBoxLayerImageryProvider.d.ts.map +1 -1
- package/lib/cjs/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js +1 -1
- package/lib/cjs/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js.map +1 -1
- package/lib/cjs/tile/map/ImageryTileTree.d.ts +2 -2
- package/lib/cjs/tile/map/ImageryTileTree.d.ts.map +1 -1
- package/lib/cjs/tile/map/ImageryTileTree.js +1 -1
- package/lib/cjs/tile/map/ImageryTileTree.js.map +1 -1
- package/lib/cjs/tile/map/MapTile.d.ts +7 -6
- package/lib/cjs/tile/map/MapTile.d.ts.map +1 -1
- package/lib/cjs/tile/map/MapTile.js +47 -34
- package/lib/cjs/tile/map/MapTile.js.map +1 -1
- package/lib/cjs/tile/map/MapTileLoader.d.ts +2 -1
- package/lib/cjs/tile/map/MapTileLoader.d.ts.map +1 -1
- package/lib/cjs/tile/map/MapTileLoader.js +4 -1
- package/lib/cjs/tile/map/MapTileLoader.js.map +1 -1
- package/lib/cjs/tile/map/MapTileTree.d.ts +8 -5
- package/lib/cjs/tile/map/MapTileTree.d.ts.map +1 -1
- package/lib/cjs/tile/map/MapTileTree.js +25 -7
- package/lib/cjs/tile/map/MapTileTree.js.map +1 -1
- package/lib/esm/BriefcaseConnection.d.ts.map +1 -1
- package/lib/esm/BriefcaseConnection.js +6 -5
- package/lib/esm/BriefcaseConnection.js.map +1 -1
- package/lib/esm/DisplayStyleState.d.ts +1 -0
- package/lib/esm/DisplayStyleState.d.ts.map +1 -1
- package/lib/esm/DisplayStyleState.js.map +1 -1
- package/lib/esm/DrawingViewState.js +3 -3
- package/lib/esm/DrawingViewState.js.map +1 -1
- package/lib/esm/EnvironmentDecorations.d.ts.map +1 -1
- package/lib/esm/EnvironmentDecorations.js +8 -11
- package/lib/esm/EnvironmentDecorations.js.map +1 -1
- package/lib/esm/SheetViewState.d.ts.map +1 -1
- package/lib/esm/SheetViewState.js +5 -7
- package/lib/esm/SheetViewState.js.map +1 -1
- package/lib/esm/Viewport.d.ts +6 -3
- package/lib/esm/Viewport.d.ts.map +1 -1
- package/lib/esm/Viewport.js +17 -10
- package/lib/esm/Viewport.js.map +1 -1
- package/lib/esm/core-frontend.d.ts +1 -0
- package/lib/esm/core-frontend.d.ts.map +1 -1
- package/lib/esm/core-frontend.js +1 -0
- package/lib/esm/core-frontend.js.map +1 -1
- package/lib/esm/render/RenderMaterial.d.ts +61 -0
- package/lib/esm/render/RenderMaterial.d.ts.map +1 -0
- package/lib/esm/render/RenderMaterial.js +9 -0
- package/lib/esm/render/RenderMaterial.js.map +1 -0
- package/lib/esm/render/RenderSystem.d.ts +10 -3
- package/lib/esm/render/RenderSystem.d.ts.map +1 -1
- package/lib/esm/render/RenderSystem.js +9 -1
- package/lib/esm/render/RenderSystem.js.map +1 -1
- package/lib/esm/render/primitives/mesh/RealityMeshPrimitive.d.ts +2 -0
- package/lib/esm/render/primitives/mesh/RealityMeshPrimitive.d.ts.map +1 -1
- package/lib/esm/render/primitives/mesh/RealityMeshPrimitive.js +39 -2
- package/lib/esm/render/primitives/mesh/RealityMeshPrimitive.js.map +1 -1
- package/lib/esm/render/webgl/DrawCommand.js +1 -1
- package/lib/esm/render/webgl/DrawCommand.js.map +1 -1
- package/lib/esm/render/webgl/Material.d.ts.map +1 -1
- package/lib/esm/render/webgl/Material.js +2 -0
- package/lib/esm/render/webgl/Material.js.map +1 -1
- package/lib/esm/render/webgl/RealityMesh.d.ts +1 -0
- package/lib/esm/render/webgl/RealityMesh.d.ts.map +1 -1
- package/lib/esm/render/webgl/RealityMesh.js +1 -0
- package/lib/esm/render/webgl/RealityMesh.js.map +1 -1
- package/lib/esm/render/webgl/SceneCompositor.d.ts +3 -0
- package/lib/esm/render/webgl/SceneCompositor.d.ts.map +1 -1
- package/lib/esm/render/webgl/SceneCompositor.js +31 -6
- package/lib/esm/render/webgl/SceneCompositor.js.map +1 -1
- package/lib/esm/render/webgl/ShaderProgram.d.ts +1 -0
- package/lib/esm/render/webgl/ShaderProgram.d.ts.map +1 -1
- package/lib/esm/render/webgl/ShaderProgram.js +1 -0
- package/lib/esm/render/webgl/ShaderProgram.js.map +1 -1
- package/lib/esm/render/webgl/System.d.ts +2 -0
- package/lib/esm/render/webgl/System.d.ts.map +1 -1
- package/lib/esm/render/webgl/System.js +44 -1
- package/lib/esm/render/webgl/System.js.map +1 -1
- package/lib/esm/render/webgl/Texture.d.ts.map +1 -1
- package/lib/esm/render/webgl/Texture.js +2 -2
- package/lib/esm/render/webgl/Texture.js.map +1 -1
- package/lib/esm/tile/DynamicIModelTile.d.ts.map +1 -1
- package/lib/esm/tile/DynamicIModelTile.js +1 -1
- package/lib/esm/tile/DynamicIModelTile.js.map +1 -1
- package/lib/esm/tile/GltfReader.d.ts +6 -1
- package/lib/esm/tile/GltfReader.d.ts.map +1 -1
- package/lib/esm/tile/GltfReader.js +103 -28
- package/lib/esm/tile/GltfReader.js.map +1 -1
- package/lib/esm/tile/ImdlReader.d.ts.map +1 -1
- package/lib/esm/tile/ImdlReader.js +2 -0
- package/lib/esm/tile/ImdlReader.js.map +1 -1
- package/lib/esm/tile/LRUTileList.d.ts +29 -29
- package/lib/esm/tile/LRUTileList.d.ts.map +1 -1
- package/lib/esm/tile/LRUTileList.js +47 -47
- package/lib/esm/tile/LRUTileList.js.map +1 -1
- package/lib/esm/tile/OrbitGtTileTree.js +1 -1
- package/lib/esm/tile/OrbitGtTileTree.js.map +1 -1
- package/lib/esm/tile/RealityModelTileTree.d.ts +24 -2
- package/lib/esm/tile/RealityModelTileTree.d.ts.map +1 -1
- package/lib/esm/tile/RealityModelTileTree.js +36 -12
- package/lib/esm/tile/RealityModelTileTree.js.map +1 -1
- package/lib/esm/tile/RealityTile.d.ts +17 -3
- package/lib/esm/tile/RealityTile.d.ts.map +1 -1
- package/lib/esm/tile/RealityTile.js +34 -2
- package/lib/esm/tile/RealityTile.js.map +1 -1
- package/lib/esm/tile/RealityTileLoader.d.ts +8 -5
- package/lib/esm/tile/RealityTileLoader.d.ts.map +1 -1
- package/lib/esm/tile/RealityTileLoader.js +19 -5
- package/lib/esm/tile/RealityTileLoader.js.map +1 -1
- package/lib/esm/tile/RealityTileTree.d.ts +3 -1
- package/lib/esm/tile/RealityTileTree.d.ts.map +1 -1
- package/lib/esm/tile/RealityTileTree.js +7 -3
- package/lib/esm/tile/RealityTileTree.js.map +1 -1
- package/lib/esm/tile/Tile.d.ts +5 -4
- package/lib/esm/tile/Tile.d.ts.map +1 -1
- package/lib/esm/tile/Tile.js +3 -2
- package/lib/esm/tile/Tile.js.map +1 -1
- package/lib/esm/tile/TileAdmin.d.ts +43 -45
- package/lib/esm/tile/TileAdmin.d.ts.map +1 -1
- package/lib/esm/tile/TileAdmin.js +105 -100
- package/lib/esm/tile/TileAdmin.js.map +1 -1
- package/lib/esm/tile/TileGeometryCollector.d.ts +80 -0
- package/lib/esm/tile/TileGeometryCollector.d.ts.map +1 -0
- package/lib/esm/tile/TileGeometryCollector.js +67 -0
- package/lib/esm/tile/TileGeometryCollector.js.map +1 -0
- package/lib/esm/tile/TileRequest.d.ts +12 -9
- package/lib/esm/tile/TileRequest.d.ts.map +1 -1
- package/lib/esm/tile/TileRequest.js +19 -11
- package/lib/esm/tile/TileRequest.js.map +1 -1
- package/lib/esm/tile/TileRequestChannel.js +3 -3
- package/lib/esm/tile/TileRequestChannel.js.map +1 -1
- package/lib/esm/tile/TileTree.d.ts +7 -1
- package/lib/esm/tile/TileTree.d.ts.map +1 -1
- package/lib/esm/tile/TileTree.js +8 -1
- package/lib/esm/tile/TileTree.js.map +1 -1
- package/lib/esm/tile/TileTreeReference.d.ts +23 -2
- package/lib/esm/tile/TileTreeReference.d.ts.map +1 -1
- package/lib/esm/tile/TileTreeReference.js +39 -3
- package/lib/esm/tile/TileTreeReference.js.map +1 -1
- package/lib/esm/tile/TileUsageMarker.d.ts +9 -9
- package/lib/esm/tile/TileUsageMarker.d.ts.map +1 -1
- package/lib/esm/tile/TileUsageMarker.js +9 -9
- package/lib/esm/tile/TileUsageMarker.js.map +1 -1
- package/lib/esm/tile/TileUser.d.ts +33 -0
- package/lib/esm/tile/TileUser.d.ts.map +1 -0
- package/lib/esm/tile/TileUser.js +25 -0
- package/lib/esm/tile/TileUser.js.map +1 -0
- package/lib/esm/tile/TileUserSet.d.ts +28 -0
- package/lib/esm/tile/TileUserSet.d.ts.map +1 -0
- package/lib/esm/tile/TileUserSet.js +118 -0
- package/lib/esm/tile/TileUserSet.js.map +1 -0
- package/lib/esm/tile/internal.d.ts +3 -0
- package/lib/esm/tile/internal.d.ts.map +1 -1
- package/lib/esm/tile/internal.js +3 -0
- package/lib/esm/tile/internal.js.map +1 -1
- package/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts +1 -2
- package/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts.map +1 -1
- package/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js +1 -1
- package/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js.map +1 -1
- package/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.d.ts +1 -2
- package/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.d.ts.map +1 -1
- package/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js +1 -1
- package/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js.map +1 -1
- package/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js +1 -1
- package/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js.map +1 -1
- package/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.d.ts +1 -2
- package/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.d.ts.map +1 -1
- package/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js +1 -1
- package/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js.map +1 -1
- package/lib/esm/tile/map/ImageryTileTree.d.ts +2 -2
- package/lib/esm/tile/map/ImageryTileTree.d.ts.map +1 -1
- package/lib/esm/tile/map/ImageryTileTree.js +1 -1
- package/lib/esm/tile/map/ImageryTileTree.js.map +1 -1
- package/lib/esm/tile/map/MapTile.d.ts +7 -6
- package/lib/esm/tile/map/MapTile.d.ts.map +1 -1
- package/lib/esm/tile/map/MapTile.js +47 -34
- package/lib/esm/tile/map/MapTile.js.map +1 -1
- package/lib/esm/tile/map/MapTileLoader.d.ts +2 -1
- package/lib/esm/tile/map/MapTileLoader.d.ts.map +1 -1
- package/lib/esm/tile/map/MapTileLoader.js +4 -1
- package/lib/esm/tile/map/MapTileLoader.js.map +1 -1
- package/lib/esm/tile/map/MapTileTree.d.ts +8 -5
- package/lib/esm/tile/map/MapTileTree.d.ts.map +1 -1
- package/lib/esm/tile/map/MapTileTree.js +26 -8
- package/lib/esm/tile/map/MapTileTree.js.map +1 -1
- package/package.json +20 -20
- package/lib/cjs/ViewportSet.d.ts +0 -28
- package/lib/cjs/ViewportSet.d.ts.map +0 -1
- package/lib/cjs/ViewportSet.js +0 -126
- package/lib/cjs/ViewportSet.js.map +0 -1
- package/lib/esm/ViewportSet.d.ts +0 -28
- package/lib/esm/ViewportSet.d.ts.map +0 -1
- package/lib/esm/ViewportSet.js +0 -121
- package/lib/esm/ViewportSet.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,127 +1,6 @@
|
|
|
1
1
|
# Change Log - @itwin/core-frontend
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
4
|
-
|
|
5
|
-
## 3.0.0
|
|
6
|
-
Mon, 24 Jan 2022 14:00:52 GMT
|
|
7
|
-
|
|
8
|
-
### Updates
|
|
9
|
-
|
|
10
|
-
- Remove alternateLabels from UnitProps and require them to be provided via AlternateUnitLabelsProvider.
|
|
11
|
-
- Improve performance of schedule scripts containing large numbers of transform nodes.
|
|
12
|
-
- Fix striping artifact produced by ambient occlusion in views with very large frustums.
|
|
13
|
-
- Render 2d map when terrain data is not available.
|
|
14
|
-
- Make onRestartTool explicitly async
|
|
15
|
-
- Add support for producing larger tiles.
|
|
16
|
-
- The Cartographic creation API now takes an interface as an argument with named properties. This will avoid callers mixing up the order of longitude, latitude, and height.
|
|
17
|
-
- remove unused ClientRequestContext.useContextForRpc
|
|
18
|
-
- improve concurrent query changes
|
|
19
|
-
- SolidFill mode chooses an edge color to contrast with the element color and the background color.
|
|
20
|
-
- Remove usage-logging-client
|
|
21
|
-
- Upgrade target to ES2019 and deliver both a CommonJs and ESModule version of package
|
|
22
|
-
- Add support for indexed edges in tile graphics to reduce memory footprint and number of draw calls.
|
|
23
|
-
- Allow the same tile to be drawn repeatedly and efficiently in same Viewport with different symbology overrides.
|
|
24
|
-
- Ensure edges are always requested if TileAdmin.alwaysRequestEdges is true.
|
|
25
|
-
- Fix flickering with TwoWayViewportSync when one of the viewport's frustum is animated.
|
|
26
|
-
- Fix WebGL view not updating when dropping second viewport.
|
|
27
|
-
- Ensure DisplayStyleState.scheduleScript is synchronized with changes to DisplayStyleSettings.renderTimeline and DisplayStyleSettings.scheduleScriptProps.
|
|
28
|
-
- convertTouchMoveStartToButtonDownAndMotion stopped working with change to not await snap.
|
|
29
|
-
- 'onPostInstall' doing the animation logic on ViewGlobeLocationTool was redundant when done in addition to ViewGlobeLocationTool.parseAndRun. We got away with it before the Tool parseAndRun async change by the convenient luck of the flow of the non-async code. This removes '_doLocationView' from ViewGlobeLocationTool.parseAndRun.
|
|
30
|
-
- Improve conformance with the glTF 2.0 spec.
|
|
31
|
-
- Fix caching of gradient textures.
|
|
32
|
-
- Removed ViewState.isCameraEnabled.
|
|
33
|
-
- large textures
|
|
34
|
-
- Correct loop for collating imagery tiles to map mesh primitives
|
|
35
|
-
- Omit terrain skirts if the background map has a transparent clip mask applied.
|
|
36
|
-
- Fix viewport using terrain settings from previous display style when display style is reassigned.
|
|
37
|
-
- Fix iOS15 overlay draws.
|
|
38
|
-
- Deprecated Viewport.readImage in favor of Viewport.readImageBuffer.
|
|
39
|
-
- Sky cube primitive buffers must be bound when attempting to draw a sky cube.
|
|
40
|
-
- Clean up SkyBox and GroundPlane APIs.
|
|
41
|
-
- Tweak terrain skirt height calculation to match previous
|
|
42
|
-
- Correct calculation for up vector when looking at globe location
|
|
43
|
-
- Fix ViewCreator3d spatial criterion to account for NULL.
|
|
44
|
-
- fix ecsql row format
|
|
45
|
-
- Fix Open Street Map Building display
|
|
46
|
-
- Added support for Fresnel effect.
|
|
47
|
-
- Update FrontendHubAccess api to use ChangesetIndexAndId
|
|
48
|
-
- Fix issue that would prevent higher resolutions tiles to be fetch from ArcGIS server.
|
|
49
|
-
- Improved map layers validation when authentication is required.
|
|
50
|
-
- Added support for EPSG:4326 in WMS imagery provider.
|
|
51
|
-
- getAccessToken always returns a token
|
|
52
|
-
- Add readGltfGraphics for producing graphics from a glTF asset.
|
|
53
|
-
- Support smooth transition to globally centered views
|
|
54
|
-
- Fix some oversights in implementation of glTF.
|
|
55
|
-
- Added support for view-independent decoration graphics.
|
|
56
|
-
- Support creating a GraphicBuilder without a Viewport.
|
|
57
|
-
- Implemented a different clustering algorithm in MarkerSet.
|
|
58
|
-
- Add IModelApp.publicPath for users to override where core public assets are fetched from
|
|
59
|
-
- Supports instanced rendering of area pattern symbols.
|
|
60
|
-
- LocalhostIpcHost, display-test-app support for R/W web (via orchestrator)
|
|
61
|
-
- Added ability to convert iModel coordinates to or from any Geographic CRS
|
|
62
|
-
- rename contextId -> iTwinId
|
|
63
|
-
- Fix erroneous AccuDraw activation.
|
|
64
|
-
- make ViewState3d.lookAt take named arguments
|
|
65
|
-
- Added lookAtPerspectiveOrOrtho to ViewState3d
|
|
66
|
-
- Dropped DisplayStyleState.changeBaseMapProps. Added new DisplayStyleState.backgroundMapBase setter.
|
|
67
|
-
- Fix problem with RealityDataSourceKey string convertion
|
|
68
|
-
- Promote RealityDataSource and RealityDataSourceKey API to beta and update documentation
|
|
69
|
-
- Remove optimization that keep RealityDataSource from key in a list.
|
|
70
|
-
- Add Support for APIM RDS url to create RealityDataSourceKey from tilesetUrl
|
|
71
|
-
- ViewCreator3d no longer throws if no 3d models are found; instead it uses the project extents as the view extents.
|
|
72
|
-
- moved RealityDataAccessProps from core-frontend to core-common
|
|
73
|
-
- Impose default minimum spatial tolerance of 1mm.
|
|
74
|
-
- Support color mixing when overriding point cloud color
|
|
75
|
-
- rename to @itwin/core-frontend
|
|
76
|
-
- Support reading non-binary glTF assets.
|
|
77
|
-
- Fix non-locatable override for point clouds
|
|
78
|
-
- separate OnViewExtentsError from ViewChangeOptions
|
|
79
|
-
- Support to open OPC file from any server
|
|
80
|
-
- Enhancements and improvements to particle systems.
|
|
81
|
-
- Removed WebAppViewer
|
|
82
|
-
- remove ClientRequestContext and its subclasses
|
|
83
|
-
- Removed config.app usage
|
|
84
|
-
- Add support for inverting planar clip mask (inside vs outside)
|
|
85
|
-
- Remove deprecated APIs for 3.0.
|
|
86
|
-
- Support transparency overrides for point clouds
|
|
87
|
-
- Moved `UnitSystemKey` to `@itwin/core-quantity`.
|
|
88
|
-
- Simplify RealitydataAccessProps interface and usage in iModel.js
|
|
89
|
-
- Generalize the way to attach a reality data by adding a RealityDataSourceKey to ContextRealityModelProps
|
|
90
|
-
- Enhance RealityDataSource class
|
|
91
|
-
- Reduce ellipsoid occlusion tolerance to avoid misdisplayed tiles over horizon with depth off.
|
|
92
|
-
- Replace usage of I18N with generic Localization interface.
|
|
93
|
-
- Replace hard-coded Cesium ION key with TileAdminProps.cesiumIonKey to be supplied at IModelApp.startup.
|
|
94
|
-
- remove previously deprecated apis
|
|
95
|
-
- Remove the default Bing Maps and MapBox Imagery keys from source. There are no longer any default keys available for use and apps will need to provide the keys necessary.
|
|
96
|
-
- Mvoe map imagery provider from BackgroundMapSettings to MapImagerySettings.backgroundBase.
|
|
97
|
-
- remove IModelWriteRpcInterface
|
|
98
|
-
- Remove deprecate QuantityFormatter methods
|
|
99
|
-
- fix usage or lack thereof of tile/internal barrel module
|
|
100
|
-
- rename contexId to iTwinId
|
|
101
|
-
- Removed NativeAppAuthorization
|
|
102
|
-
- Improve display of textured meshes when the texture image contains a mix of transparent and opaque pixels.
|
|
103
|
-
- rename IModelReadRpcInterface.openForRead to getConnectionProps
|
|
104
|
-
- Simplify RenderTexture creation APIs.
|
|
105
|
-
- Avoid skipping tool dynamics frame when new graphic is still pending.
|
|
106
|
-
- Renamed an iModel's parent container to iTwin
|
|
107
|
-
- Altered to use abstract Reality Data interface
|
|
108
|
-
- Rework and correct child availability of tiled imagery formats. Added EPSG:4326 support for WMTS.
|
|
109
|
-
- Support Open City Planner (OCP) that stores orbit point clouds (OPC) in their own azure environment.
|
|
110
|
-
- Add TwoWayViewportFrustumSync to synchronize only the frusta of two viewports.
|
|
111
|
-
- tool.run and tool.parseAndRun are now async methods
|
|
112
|
-
- Added tool setting helper methods.
|
|
113
|
-
- Ensure memory consumed by instanced geometry is accurately reported.
|
|
114
|
-
- Add support for blending transparent viewport background with HTML elements beneath the viewport.
|
|
115
|
-
- Support for TypeDoc v0.22.7. Fix various broken docs links.
|
|
116
|
-
- Protect logoCard styling from app's CSS and make sure the logoCard opens in the correct window for pop-out viewports.
|
|
117
|
-
- Refactored part of AccuDraw UI & Providing AccuDraw UI documentation
|
|
118
|
-
- Fix bug that sets the icon on MessageBox.NoSymbol the Success icon.
|
|
119
|
-
- Created imodel-components folder & package and moved color, lineweight, navigationaids, quantity, timeline & viewport. Deprecated MessageSeverity in ui-core & added it ui-abstract. Added MessagePresenter interface to ui-abstract.
|
|
120
|
-
- Update LatLong display precision to 4 decimal points.
|
|
121
|
-
- Default cameraOn in 3d ViewCreator
|
|
122
|
-
- FeatureAppearance transparency by default ignores render mode and transparency view flag.
|
|
123
|
-
- Adding WebEditServer (test scenarios only for now).
|
|
124
|
-
- Add support for wiremesh display of design models and reality models.
|
|
3
|
+
This log was last generated on Wed, 12 Jan 2022 14:52:38 GMT and should not be manually modified.
|
|
125
4
|
|
|
126
5
|
## 2.19.28
|
|
127
6
|
Wed, 12 Jan 2022 14:52:38 GMT
|
|
@@ -599,7 +478,7 @@ Fri, 02 Apr 2021 13:18:42 GMT
|
|
|
599
478
|
|
|
600
479
|
- Polish up InteractiveEditingSession API and promote to beta.
|
|
601
480
|
- rework Authentication to use IpcHost
|
|
602
|
-
- Fixed isAuthorized check.
|
|
481
|
+
- Fixed isAuthorized check.
|
|
603
482
|
- Fix GPU Profiler for display-test-app
|
|
604
483
|
- Grid drawing code
|
|
605
484
|
- fixed z for edges and polylines when extended behind the eye
|
|
@@ -616,7 +495,7 @@ Fri, 02 Apr 2021 13:18:42 GMT
|
|
|
616
495
|
- Align scheduling of tile content requests more closely with capabilities of HTTP and RPC.
|
|
617
496
|
- Support for Bump Tool Settings
|
|
618
497
|
- Add missing ViewState.viewFlags setter.
|
|
619
|
-
- Simplified web app signIn, following the pattern established for desktops. The logic for silent signin has now been moved to WebViewerApp.
|
|
498
|
+
- Simplified web app signIn, following the pattern established for desktops. The logic for silent signin has now been moved to WebViewerApp.
|
|
620
499
|
|
|
621
500
|
## 2.13.0
|
|
622
501
|
Tue, 09 Mar 2021 20:28:13 GMT
|
|
@@ -921,8 +800,8 @@ Fri, 02 Oct 2020 18:03:32 GMT
|
|
|
921
800
|
|
|
922
801
|
- Added MapLayerSettingsService to persist custom map sources between sessions for same project/model
|
|
923
802
|
- Support authorization via URL suffix for Cesium ion. Handle PBR texture.
|
|
924
|
-
- Fixes to front end methods to pull, merge and push.
|
|
925
|
-
- Fixed desktop authorization after recent changes.
|
|
803
|
+
- Fixes to front end methods to pull, merge and push.
|
|
804
|
+
- Fixed desktop authorization after recent changes.
|
|
926
805
|
- Support literal double-quote characters in quoted key-in arguments.
|
|
927
806
|
- Restore reality model and schedule script init - inadvertently removed.
|
|
928
807
|
- Generate normals for 3d view decorations.
|
|
@@ -1019,7 +898,7 @@ Thu, 20 Aug 2020 20:57:09 GMT
|
|
|
1019
898
|
|
|
1020
899
|
### Updates
|
|
1021
900
|
|
|
1022
|
-
- Change to use toast message to inform user of extension loaded.
|
|
901
|
+
- Change to use toast message to inform user of extension loaded.
|
|
1023
902
|
- Decorators can now optionally have their decorations cached to achieve a potential performance benefit.
|
|
1024
903
|
- Introduce IModelApp security options (including CSRF protection).
|
|
1025
904
|
- Fixed Web Accessibility issues
|
|
@@ -1157,7 +1036,7 @@ Wed, 06 May 2020 13:17:49 GMT
|
|
|
1157
1036
|
|
|
1158
1037
|
### Updates
|
|
1159
1038
|
|
|
1160
|
-
- Fixed setup of UserInfo from browser clients, and more cleanups to AccessToken API.
|
|
1039
|
+
- Fixed setup of UserInfo from browser clients, and more cleanups to AccessToken API.
|
|
1161
1040
|
- Add a peerDependency on @bentley/extension-client
|
|
1162
1041
|
- lookAtViewAlignedVolume should adjust view delta for limits and not fail.
|
|
1163
1042
|
- Show min/max window error for mouse wheel zoom.
|
|
@@ -1170,7 +1049,7 @@ Wed, 06 May 2020 13:17:49 GMT
|
|
|
1170
1049
|
- `IModelApp.shutdown()` is now async.
|
|
1171
1050
|
- Make locate work for background map with depth turned off.
|
|
1172
1051
|
- Setup initialization of briefcase cache for offline workflows. (VSTS#286489)
|
|
1173
|
-
- Monitor progress of downloading briefcases, ability to cancel download of briefcases.
|
|
1052
|
+
- Monitor progress of downloading briefcases, ability to cancel download of briefcases.
|
|
1174
1053
|
- Introduce BriefcaseConnection, make IModelConnection abstract
|
|
1175
1054
|
- Remove ^ for ulas client dep in the frontend"
|
|
1176
1055
|
- Improve performance of shadow display on macOS by avoiding frequent calls to gl.getParameter().
|
|
@@ -1183,7 +1062,7 @@ Wed, 06 May 2020 13:17:49 GMT
|
|
|
1183
1062
|
- WebGL Compatibility functionality moved to webgl-compatibility package
|
|
1184
1063
|
- Added support for backward slashes in erroneous URLs of Reality Data in PW Context Share
|
|
1185
1064
|
- Reality models now cast and receive solar shadows.
|
|
1186
|
-
- NativeApp.deleteBriefcase should work in offline scenarios.
|
|
1065
|
+
- NativeApp.deleteBriefcase should work in offline scenarios.
|
|
1187
1066
|
- Dont reproject tiles if GeoLocation from tool.
|
|
1188
1067
|
- Support for progress/cancel from ios
|
|
1189
1068
|
- Ensure view decorations are scaled based on device-pixel ratio.
|
|
@@ -1227,14 +1106,14 @@ Wed, 06 May 2020 13:17:49 GMT
|
|
|
1227
1106
|
- Ensure the view updates in response to changes to terrain transparency.
|
|
1228
1107
|
- openBriefcase should not access internet.
|
|
1229
1108
|
- Fix material color inappropriately being applied in SolidFill mode when feature symbology overrides are in effect.
|
|
1230
|
-
- Added NativeApp.deleteBriefcase, avoided authorization exceptions when offline.
|
|
1231
|
-
- Refactored NativeApp API and RPC interfaces. This continues to be WIP.
|
|
1232
|
-
- Differentiated RemoteBriefcaseConnection-s from LocalBriefcaseConnection-s for use in web and native applications. These are now sub-classes of the abstract base class BriefcaseConnection.
|
|
1233
|
-
- Setup ability to use NativeApp.openBriefcase() in offline scenarios.
|
|
1109
|
+
- Added NativeApp.deleteBriefcase, avoided authorization exceptions when offline.
|
|
1110
|
+
- Refactored NativeApp API and RPC interfaces. This continues to be WIP.
|
|
1111
|
+
- Differentiated RemoteBriefcaseConnection-s from LocalBriefcaseConnection-s for use in web and native applications. These are now sub-classes of the abstract base class BriefcaseConnection.
|
|
1112
|
+
- Setup ability to use NativeApp.openBriefcase() in offline scenarios.
|
|
1234
1113
|
- add new interface for native app
|
|
1235
|
-
- VSTS#217447, 162382: Cleanups to implementation of downloading/opening/discovering briefcases in native applications (WIP).
|
|
1114
|
+
- VSTS#217447, 162382: Cleanups to implementation of downloading/opening/discovering briefcases in native applications (WIP).
|
|
1236
1115
|
- initialize connectivity status on NativeApp.startup() and unregister callback on NativeApp.shutdown()
|
|
1237
|
-
- VSTS#296110: Setup a way to close briefcases when the native application is offline.
|
|
1116
|
+
- VSTS#296110: Setup a way to close briefcases when the native application is offline.
|
|
1238
1117
|
- Remove named clip code, we ended up not wanting to save clips independent of saved views.
|
|
1239
1118
|
- Renamed OIDC constructs for consistency; Removed SAML support.
|
|
1240
1119
|
- Support OrbitGT point cloud dislay.
|
|
@@ -1248,7 +1127,7 @@ Wed, 06 May 2020 13:17:49 GMT
|
|
|
1248
1127
|
- Ensure unused tile trees are purged at regular intervals.
|
|
1249
1128
|
- Added API in MessageManager to display either a Toast or Sticky message using React components.
|
|
1250
1129
|
- Always accept point on reality model when snapping and remove message about nearest snap.
|
|
1251
|
-
- Optimize reality tile display.
|
|
1130
|
+
- Optimize reality tile display.
|
|
1252
1131
|
- Add mechanism to preload reality tiles included in an expanded frustum. Support display of ellipsoidal map tiles without depth buffering.
|
|
1253
1132
|
- Reduce the number of surface shader variations by 75%
|
|
1254
1133
|
- react to new clients packages from imodeljs-clients
|
|
@@ -1329,7 +1208,7 @@ Wed, 12 Feb 2020 17:45:50 GMT
|
|
|
1329
1208
|
- Fix regression causing background map to be affected by view's symbology overrides.
|
|
1330
1209
|
- Added support for backward slashes in erroneous URLs of Reality Data in PW Context Share
|
|
1331
1210
|
- Prevent reuse of cached tiles after project extents change.
|
|
1332
|
-
- VSTS#256133: Fixed issue with reopening connections if the backend crashes. Fixes to integration tests.
|
|
1211
|
+
- VSTS#256133: Fixed issue with reopening connections if the backend crashes. Fixes to integration tests.
|
|
1333
1212
|
- Fix incorrect aspect ratio for 3d view attachments.
|
|
1334
1213
|
- Overriding transparency of a textured surface or raster text multiplies the texture alpha by the override rather than replacing it.
|
|
1335
1214
|
- Better documentation of OidcDesktopClient/IOidcFrontendClient
|
|
@@ -1342,7 +1221,7 @@ Wed, 12 Feb 2020 17:45:50 GMT
|
|
|
1342
1221
|
- Resolve circular dependencies between tile-related types.
|
|
1343
1222
|
- Support for TypeDoc 0.16.8
|
|
1344
1223
|
- Mark as deprecated classes and interfaces that have moved to bentley/ui-abstract.
|
|
1345
|
-
- Change feature tracking API for plugins as requested by Design Review.
|
|
1224
|
+
- Change feature tracking API for plugins as requested by Design Review.
|
|
1346
1225
|
- EN: #124601 - Initial implementation of WebGL2
|
|
1347
1226
|
|
|
1348
1227
|
## 1.11.0
|
|
@@ -1377,7 +1256,7 @@ Tue, 07 Jan 2020 19:44:01 GMT
|
|
|
1377
1256
|
|
|
1378
1257
|
### Updates
|
|
1379
1258
|
|
|
1380
|
-
- Clear reality tile children loading flag when selecting.
|
|
1259
|
+
- Clear reality tile children loading flag when selecting.
|
|
1381
1260
|
- Animate change view operations
|
|
1382
1261
|
- Average the gpu profiler times for the last 120 frames instead of updating each frame; also simplify PerformnaceMetrics
|
|
1383
1262
|
- Implement tile availability testing for Cesium World Terrain.
|
|
@@ -1420,7 +1299,7 @@ Tue, 10 Dec 2019 18:08:56 GMT
|
|
|
1420
1299
|
- Code quality report fixes
|
|
1421
1300
|
- Make iModel.js viewports adhere to DPI of a host display.
|
|
1422
1301
|
- Code cleanup from codeQL hits
|
|
1423
|
-
- Setup OidcDesktopClient for Electron use cases.
|
|
1302
|
+
- Setup OidcDesktopClient for Electron use cases.
|
|
1424
1303
|
- Don't execute our event loop if there is no need
|
|
1425
1304
|
- Fix regression causing animation to be uneven.
|
|
1426
1305
|
- Fix warnings from static analysis
|
|
@@ -1484,7 +1363,7 @@ Fri, 01 Nov 2019 13:28:37 GMT
|
|
|
1484
1363
|
- Anisotropic filting of draped map tiles.
|
|
1485
1364
|
- Add debug tool for drape frustum.
|
|
1486
1365
|
- Added MarkerSet.changeViewport
|
|
1487
|
-
- Allow sub classes of OidcBrowserClient to override the settings passed to the underlying oidc-client library.
|
|
1366
|
+
- Allow sub classes of OidcBrowserClient to override the settings passed to the underlying oidc-client library.
|
|
1488
1367
|
- Tweaks to ambient occlusion settings.
|
|
1489
1368
|
- Fixed issues with use of OIDC AuthCode workflow in Electron and Single Page Applications.
|
|
1490
1369
|
- Update DefaultToolSettingsProvider to create responisve UI.
|
|
@@ -1512,7 +1391,7 @@ Fri, 01 Nov 2019 13:28:37 GMT
|
|
|
1512
1391
|
- Fixed bug that caused duplicated points to be handled improperly in batched spatial<->geocoord conversions
|
|
1513
1392
|
- MarkerSet applies only to a single ScreenViewport
|
|
1514
1393
|
- Make viewport member of MarkerSet public
|
|
1515
|
-
- More OIDC fixes for logout of electron apps.
|
|
1394
|
+
- More OIDC fixes for logout of electron apps.
|
|
1516
1395
|
- Improve performance for multiple viewports.
|
|
1517
1396
|
- Added New badge for UI items
|
|
1518
1397
|
- Cross-platform function to open an image in a new window.
|
|
@@ -1565,7 +1444,7 @@ Mon, 30 Sep 2019 22:28:48 GMT
|
|
|
1565
1444
|
- Added Cesium ION logo; fixed exception when opening a second viewport while terrain, shadows, or planar classification are enabled.
|
|
1566
1445
|
- Add checkbrowser.js, refine i18n in Tool
|
|
1567
1446
|
- Don't try to correct clip plane handle location when plane has been moved outside project extents. Updated image for two finger drag svg.
|
|
1568
|
-
- Refine frustum calculation for planar projection to create a tighter fit.
|
|
1447
|
+
- Refine frustum calculation for planar projection to create a tighter fit.
|
|
1569
1448
|
- Added ViewManager.getElementToolTip for overriding default persistent element tooltip.
|
|
1570
1449
|
- Various EVSM shadow tweaks
|
|
1571
1450
|
- Fix scenario in which a tile request is canceled after its http request completes and it remains perpetually in the request queue.
|
|
@@ -1628,7 +1507,7 @@ Tue, 10 Sep 2019 12:09:49 GMT
|
|
|
1628
1507
|
- Support reality model masking via black classifier geometry.
|
|
1629
1508
|
- Support nearest snap for reality models.
|
|
1630
1509
|
- Remove doubling of planar classifier size. This caused excessive generation time.
|
|
1631
|
-
- Refine texture projection calculation to include height range (for terrain).
|
|
1510
|
+
- Refine texture projection calculation to include height range (for terrain).
|
|
1632
1511
|
- Ensure DisplayStyle3dState.sunDirection is synchronized with DisplayStyle3dSettings JSON.
|
|
1633
1512
|
- Clip volume applied to view also applies to reality models.
|
|
1634
1513
|
- Added SetupCameraTool for defining camera by eye point and target point.
|
|
@@ -1701,7 +1580,7 @@ Wed, 24 Jul 2019 11:47:26 GMT
|
|
|
1701
1580
|
- Various OIDC related fixes - Bugs: 148507, 148508, Product Backlog Items: 148510, 148517, 148522.
|
|
1702
1581
|
- Add PluginUiManager class and PluginUiProvider interface that will be used by Plugins to specify UI components to add to an iModeljs application.
|
|
1703
1582
|
- Choose handle location for for section plane that is visible in the view.
|
|
1704
|
-
- Temporarily undid change to save tokens in local storage.
|
|
1583
|
+
- Temporarily undid change to save tokens in local storage.
|
|
1705
1584
|
- Added ToolAssistance support and Tool.iconSpec
|
|
1706
1585
|
- The WebGL rendering system now takes advantage of Vertex Array Objects if they are available via an extension. These provide a measurable performance increase in certain datasets.
|
|
1707
1586
|
|
|
@@ -1734,7 +1613,7 @@ Mon, 01 Jul 2019 19:04:29 GMT
|
|
|
1734
1613
|
- Allow index.html to set a CDN from which to load imodeljs external modules.
|
|
1735
1614
|
- Make Viewport.invaildateDecorations @beta, was @internal
|
|
1736
1615
|
- Add default unhandled exception handler to ToolAdmin
|
|
1737
|
-
- Added feature tracking info to UserInfo obtained by OidcBrowserClient.
|
|
1616
|
+
- Added feature tracking info to UserInfo obtained by OidcBrowserClient.
|
|
1738
1617
|
- Ensure we never have two active snap or tooltip requests
|
|
1739
1618
|
- Refine tile selection for map tiles
|
|
1740
1619
|
- Prevent default symbology overrides applying to subcategories whose appearances were explicitly overridden.
|
|
@@ -1754,7 +1633,7 @@ Mon, 03 Jun 2019 18:09:39 GMT
|
|
|
1754
1633
|
### Updates
|
|
1755
1634
|
|
|
1756
1635
|
- RPC system now accepts only basic values (primitives, "interface" objects, and binary).
|
|
1757
|
-
- Updated release tags.
|
|
1636
|
+
- Updated release tags.
|
|
1758
1637
|
- Added Viewport.changeViewedModel2d
|
|
1759
1638
|
- Clip shape tool should only set AccuDraw rotation on 1st point.
|
|
1760
1639
|
- Fix a prompt. Clip from element change to ignore selection set containing clip transient.
|
|
@@ -1787,7 +1666,7 @@ Mon, 03 Jun 2019 18:09:39 GMT
|
|
|
1787
1666
|
- Set max tiles to skip to 1 for reality model tiles. (better user experience)
|
|
1788
1667
|
- Set release tags for TiledGraphicsProvider classes
|
|
1789
1668
|
- Reload tile tree if animation id changes
|
|
1790
|
-
- Removed use of OidcClientWrapper.
|
|
1669
|
+
- Removed use of OidcClientWrapper.
|
|
1791
1670
|
- Add cSpell comment.
|
|
1792
1671
|
- Rename terrain to backgroundMap.
|
|
1793
1672
|
- Add IModelApp.queryRenderCompatibility() API to allow querying of any rendering limitations of a client system.
|
|
@@ -1822,7 +1701,7 @@ Mon, 13 May 2019 15:52:05 GMT
|
|
|
1822
1701
|
- Save ClipVector on ViewState instead of always creating new one from json.
|
|
1823
1702
|
- Set initial GL state to match default
|
|
1824
1703
|
- Dispose of planar classifiers.
|
|
1825
|
-
- Add spatial classifier UX
|
|
1704
|
+
- Add spatial classifier UX
|
|
1826
1705
|
- Hide clip decoration during modify. Easier right-click/touch tap support for non-handle pickable decoration.
|
|
1827
1706
|
- Add orientation option button to toolsettings for ClipByPlane/ClipByShape tools.
|
|
1828
1707
|
- ConvexClipPlaneSet modify handles. Make EmphasizeElements internal.
|
|
@@ -1892,7 +1771,7 @@ Mon, 13 May 2019 15:52:05 GMT
|
|
|
1892
1771
|
- Remove "assembly lock" from SelectTool now that SelectionScope has been implemented.
|
|
1893
1772
|
- Remove IModelApp subclasses
|
|
1894
1773
|
- Remove IModelConnection.openStandalone and IModelConnection.closeStandalone
|
|
1895
|
-
- Setup a generic context for tracking client requests, and made various related enhancements to logging, usage tracking and authorization.
|
|
1774
|
+
- Setup a generic context for tracking client requests, and made various related enhancements to logging, usage tracking and authorization.
|
|
1896
1775
|
- Allow tile content to be requested without edge data, reducing tile size and download time.
|
|
1897
1776
|
- Support image textures larger than WebGL capabilities by resizing them.
|
|
1898
1777
|
- Update icons-generic-webfont version to latest available.
|
|
@@ -1973,7 +1852,7 @@ Wed, 06 Mar 2019 15:41:22 GMT
|
|
|
1973
1852
|
- Fix clipping volume being inconsistently applied to view.
|
|
1974
1853
|
- Don't make textures transparent unless technique enables it.
|
|
1975
1854
|
- Fix incorrect "fit view" behavior when empty tiles exist.
|
|
1976
|
-
- Handle relative subpaths in reality model tile trees. Handle Y for axis/
|
|
1855
|
+
- Handle relative subpaths in reality model tile trees. Handle Y for axis/
|
|
1977
1856
|
- Fix handling of null animation visibility - should be 100% not 0.
|
|
1978
1857
|
- Added spatial <-> cartographic methods that check/use the geographic coordinate system before using ecef location.
|
|
1979
1858
|
- DefaultViewTouchTool should not call handleEvent until it's installed as the active ViewTool.
|
|
@@ -1995,10 +1874,10 @@ Wed, 06 Mar 2019 15:41:22 GMT
|
|
|
1995
1874
|
- Omit animation branches that are not visible.
|
|
1996
1875
|
- Improve efficiency and completeness of SubCategory loading for ViewStates.
|
|
1997
1876
|
- Save BUILD_SEMVER to globally accessible map. PluginAdmin and Plugin classes defined. IModelJsLoader improved.
|
|
1998
|
-
- Add optional iModel argument to EntityState.clone
|
|
1877
|
+
- Add optional iModel argument to EntityState.clone
|
|
1999
1878
|
- Added GeometricModelState.queryModelRange
|
|
2000
1879
|
- Added creatorId, new method to list RD per project, identified numerous area for changes WIP
|
|
2001
|
-
- IModelConnection.close() always disposes the briefcase held at the backend in the case of ReadWrite connections.
|
|
1880
|
+
- IModelConnection.close() always disposes the briefcase held at the backend in the case of ReadWrite connections.
|
|
2002
1881
|
- Implemented spatial criterai when searching through all reality data associated to a project.
|
|
2003
1882
|
- Problem with root document of reality data not in root of blob. Tiles could not be fetched. Root path is added to tiles names.
|
|
2004
1883
|
- Threading issue accessing Reality Data, RealityData class was transformed to be the main data access object instead of the client that was used by most/all reality data causing cache data clash and mix between many reality data.
|
|
@@ -2058,7 +1937,7 @@ Thu, 10 Jan 2019 22:46:17 GMT
|
|
|
2058
1937
|
- Fix IModelJsLoader to ensure react loaded before bwc.
|
|
2059
1938
|
- MeasureLocationTool show lat/long and altitude.
|
|
2060
1939
|
- Make raster text locate behave better.
|
|
2061
|
-
- Removed default OIDC scopes. All applications must now explicitly pass the required scopes.
|
|
1940
|
+
- Removed default OIDC scopes. All applications must now explicitly pass the required scopes.
|
|
2062
1941
|
- Can now await result from QuantityFormatter. Report delta relative to ACS when context lock enabled. Cleanup "Measure.Points" plug-in example until real measure tools are available.
|
|
2063
1942
|
- Quantity formatter now allows async method to get FormatterSpec that can be used to format quantities.
|
|
2064
1943
|
- QuantityFormatter.formatQuantity is now the only method to format quantities.
|
|
@@ -2227,7 +2106,7 @@ Mon, 12 Nov 2018 16:42:10 GMT
|
|
|
2227
2106
|
|
|
2228
2107
|
### Updates
|
|
2229
2108
|
|
|
2230
|
-
- Hydrated briefcases for ReadOnly cases from the latest checkpoint, rather than the seed files. This significantly improves performance of IModelDb/IModelConnection.open() for typical cases.
|
|
2109
|
+
- Hydrated briefcases for ReadOnly cases from the latest checkpoint, rather than the seed files. This significantly improves performance of IModelDb/IModelConnection.open() for typical cases.
|
|
2231
2110
|
|
|
2232
2111
|
## 0.165.0
|
|
2233
2112
|
Mon, 12 Nov 2018 15:47:00 GMT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BriefcaseConnection.d.ts","sourceRoot":"","sources":["../../src/BriefcaseConnection.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAU,OAAO,EAA2B,UAAU,EAA4B,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/H,O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O9F;;OAEG;WACiB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,GAAE,QAA6B,EAAE,IAAI,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAOzJ,2DAA2D;IAC3D,IAAW,QAAQ,IAAI,OAAO,CAAoC;IAElE;;;OAGG;IACU,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAanC,OAAO,CAAC,eAAe;IAKvB,2FAA2F;IAC9E,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAI/C;;OAEG;IACU,WAAW,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI7D;;;OAGG;IACU,WAAW,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAKjE;;;;OAIG;IACU,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAK3E;;OAEG;IACH,IAAW,YAAY,IAAI,qBAAqB,GAAG,SAAS,CAE3D;IAED;;;OAGG;IACU,wBAAwB,IAAI,OAAO,CAAC,OAAO,CAAC;IAIzD;;;;;OAKG;IACU,iBAAiB,IAAI,OAAO,CAAC,qBAAqB,CAAC;IAIhE;;OAEG;IACH,SAAgB,sBAAsB,4BAAiC,IAAI,MAAM,CAAC,KAAK,IAAI,EAAI;CAChG"}
|
|
@@ -16,6 +16,7 @@ const IModelApp_1 = require("./IModelApp");
|
|
|
16
16
|
const IModelConnection_1 = require("./IModelConnection");
|
|
17
17
|
const IpcApp_1 = require("./IpcApp");
|
|
18
18
|
const internal_1 = require("./tile/internal");
|
|
19
|
+
const Viewport_1 = require("./Viewport");
|
|
19
20
|
/** Keeps track of changes to models, buffering them until synchronization points.
|
|
20
21
|
* While a GraphicalEditingScope is open, the changes are buffered until the scope exits, at which point they are processed.
|
|
21
22
|
* Otherwise, the buffered changes are processed after undo/redo, commit, or pull+merge changes.
|
|
@@ -105,12 +106,12 @@ class ModelChangeMonitor {
|
|
|
105
106
|
this._deletedModels.clear();
|
|
106
107
|
}
|
|
107
108
|
invalidateScenes(changedModels) {
|
|
108
|
-
for (const
|
|
109
|
-
if (
|
|
109
|
+
for (const user of IModelApp_1.IModelApp.tileAdmin.tileUsers) {
|
|
110
|
+
if (user instanceof Viewport_1.Viewport && user.iModel === this._briefcase) {
|
|
110
111
|
for (const modelId of changedModels) {
|
|
111
|
-
if (
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
if (user.view.viewsModel(modelId)) {
|
|
113
|
+
user.invalidateScene();
|
|
114
|
+
user.setFeatureOverrideProviderChanged();
|
|
114
115
|
break;
|
|
115
116
|
}
|
|
116
117
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BriefcaseConnection.js","sourceRoot":"","sources":["../../src/BriefcaseConnection.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAA+H;AAC/H,oDAG4B;AAC5B,mDAAgD;AAChD,mEAAgE;AAChE,2CAAwC;AACxC,yDAAsD;AACtD,qCAAkC;AAClC,8CAAqE;AAErE;;;GAGG;AACH,MAAM,kBAAkB;IAOtB,YAAmB,SAA8B;QAJhC,mBAAc,GAAG,IAAI,GAAG,EAAU,CAAC;QACnC,mBAAc,GAAG,IAAI,GAAG,EAAkB,CAAC;QAC3C,cAAS,GAAmB,EAAE,CAAC;QAG9C,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAE5B,iCAAiC;QACjC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,WAAW,CAAC,CAAC,OAAO,EAAE,EAAE;YAChF,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;gBAC5B,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;gBACtC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,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AAI,CAAC,SAAS,GAAG,MAAM,eAAM,CAAC,WAAW,CAAC,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,WAAW,CAAC,WAAmB;QAC1C,IAAI,CAAC,eAAe,EAAE,CAAC;QACvB,OAAO,eAAM,CAAC,WAAW,CAAC,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,IAAW,YAAY;QACrB,OAAO,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC;IAC1C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,wBAAwB;QACnC,OAAO,eAAM,CAAC,WAAW,CAAC,6BAA6B,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,iBAAiB;QAC5B,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,CAAC;IACjD,CAAC;CAMF;AA9HD,kDA8HC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module IModelConnection\r\n */\r\n\r\nimport { assert, BeEvent, CompressedId64Set, Guid, GuidString, Id64String, IModelStatus, OpenMode } from \"@itwin/core-bentley\";\r\nimport {\r\n ChangesetIndex,\r\n ChangesetIndexAndId, IModelConnectionProps, IModelError, OpenBriefcaseProps, StandaloneOpenOptions,\r\n} from \"@itwin/core-common\";\r\nimport { BriefcaseTxns } from \"./BriefcaseTxns\";\r\nimport { GraphicalEditingScope } from \"./GraphicalEditingScope\";\r\nimport { IModelApp } from \"./IModelApp\";\r\nimport { IModelConnection } from \"./IModelConnection\";\r\nimport { IpcApp } from \"./IpcApp\";\r\nimport { disposeTileTreesForGeometricModels } from \"./tile/internal\";\r\n\r\n/** Keeps track of changes to models, buffering them until synchronization points.\r\n * While a GraphicalEditingScope is open, the changes are buffered until the scope exits, at which point they are processed.\r\n * Otherwise, the buffered changes are processed after undo/redo, commit, or pull+merge changes.\r\n */\r\nclass ModelChangeMonitor {\r\n private _editingScope?: GraphicalEditingScope;\r\n private readonly _briefcase: BriefcaseConnection;\r\n private readonly _deletedModels = new Set<string>();\r\n private readonly _modelIdToGuid = new Map<string, string>();\r\n private readonly _removals: VoidFunction[] = [];\r\n\r\n public constructor(briefcase: BriefcaseConnection) {\r\n this._briefcase = briefcase;\r\n\r\n // Buffer updated geometry guids.\r\n this._removals.push(briefcase.txns.onModelGeometryChanged.addListener((changes) => {\r\n for (const change of changes) {\r\n this._deletedModels.delete(change.id);\r\n this._modelIdToGuid.set(change.id, change.guid);\r\n }\r\n }));\r\n\r\n // Buffer deletions of models.\r\n this._removals.push(briefcase.txns.onModelsChanged.addListener((changes) => {\r\n if (changes.deleted) {\r\n for (const id of CompressedId64Set.iterable(changes.deleted)) {\r\n this._modelIdToGuid.delete(id);\r\n this._deletedModels.add(id);\r\n }\r\n }\r\n }));\r\n\r\n // Outside of an editing scope, we want to update viewport contents after commit, undo/redo, or merging changes.\r\n const maybeProcess = async () => {\r\n if (this.editingScope)\r\n return;\r\n\r\n const modelIds = Array.from(this._modelIdToGuid.keys());\r\n if (modelIds.length > 0)\r\n await IModelApp.tileAdmin.purgeTileTrees(this._briefcase, modelIds);\r\n\r\n this.processBuffered();\r\n };\r\n\r\n this._removals.push(briefcase.txns.onCommitted.addListener(maybeProcess));\r\n this._removals.push(briefcase.txns.onAfterUndoRedo.addListener(maybeProcess));\r\n this._removals.push(briefcase.txns.onChangesPulled.addListener(maybeProcess));\r\n }\r\n\r\n public async close(): Promise<void> {\r\n for (const removal of this._removals)\r\n removal();\r\n\r\n this._removals.length = 0;\r\n\r\n if (this._editingScope) {\r\n await this._editingScope.exit();\r\n this._editingScope = undefined;\r\n }\r\n }\r\n\r\n public get editingScope(): GraphicalEditingScope | undefined {\r\n return this._editingScope;\r\n }\r\n\r\n public async enterEditingScope(): Promise<GraphicalEditingScope> {\r\n if (this._editingScope)\r\n throw new Error(\"Cannot create an editing scope for an iModel that already has one\");\r\n\r\n this._editingScope = await GraphicalEditingScope.enter(this._briefcase);\r\n\r\n const removeGeomListener = this._editingScope.onGeometryChanges.addListener((changes) => {\r\n const modelIds = [];\r\n for (const change of changes)\r\n modelIds.push(change.id);\r\n\r\n this.invalidateScenes(modelIds);\r\n });\r\n\r\n this._editingScope.onExited.addOnce((scope) => {\r\n assert(scope === this._editingScope);\r\n this._editingScope = undefined;\r\n removeGeomListener();\r\n this.processBuffered();\r\n });\r\n\r\n return this._editingScope;\r\n }\r\n\r\n private processBuffered(): void {\r\n const models = this._briefcase.models;\r\n for (const [id, guid] of this._modelIdToGuid) {\r\n const model = models.getLoaded(id)?.asGeometricModel;\r\n if (model)\r\n model.geometryGuid = guid;\r\n }\r\n\r\n const modelIds = new Set<string>(this._modelIdToGuid.keys());\r\n for (const deleted of this._deletedModels) {\r\n modelIds.add(deleted);\r\n models.unload(deleted);\r\n }\r\n\r\n this.invalidateScenes(modelIds);\r\n disposeTileTreesForGeometricModels(modelIds, this._briefcase);\r\n\r\n this._briefcase.onBufferedModelChanges.raiseEvent(modelIds);\r\n\r\n this._modelIdToGuid.clear();\r\n this._deletedModels.clear();\r\n }\r\n\r\n private invalidateScenes(changedModels: Iterable<Id64String>): void {\r\n for (const vp of IModelApp.tileAdmin.viewports) {\r\n if (vp.iModel === this._briefcase) {\r\n for (const modelId of changedModels) {\r\n if (vp.view.viewsModel(modelId)) {\r\n vp.invalidateScene();\r\n vp.setFeatureOverrideProviderChanged();\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/** A connection to an editable briefcase on the backend. This class uses [Ipc]($docs/learning/IpcInterface.md) to communicate\r\n * to the backend and may only be used by [[IpcApp]]s.\r\n * @public\r\n */\r\nexport class BriefcaseConnection extends IModelConnection {\r\n protected _isClosed?: boolean;\r\n private readonly _modelsMonitor: ModelChangeMonitor;\r\n\r\n /** Manages local changes to the briefcase via [Txns]($docs/learning/InteractiveEditing.md). */\r\n public readonly txns: BriefcaseTxns;\r\n\r\n /** @internal */\r\n public override isBriefcaseConnection(): this is BriefcaseConnection { return true; }\r\n\r\n /** The Guid that identifies the iTwin that owns this iModel. */\r\n public override get iTwinId(): GuidString { return super.iTwinId!; } // GuidString | undefined for IModelConnection, but required for BriefcaseConnection\r\n\r\n /** The Guid that identifies this iModel. */\r\n public override get iModelId(): GuidString { return super.iModelId!; } // GuidString | undefined for IModelConnection, but required for BriefcaseConnection\r\n\r\n protected constructor(props: IModelConnectionProps, openMode: OpenMode) {\r\n super(props);\r\n this._openMode = openMode;\r\n this.txns = new BriefcaseTxns(this);\r\n this._modelsMonitor = new ModelChangeMonitor(this);\r\n }\r\n\r\n /** Open a BriefcaseConnection to a [BriefcaseDb]($backend). */\r\n public static async openFile(briefcaseProps: OpenBriefcaseProps): Promise<BriefcaseConnection> {\r\n const iModelProps = await IpcApp.callIpcHost(\"openBriefcase\", briefcaseProps);\r\n const connection = new this({ ...briefcaseProps, ...iModelProps }, briefcaseProps.readonly ? OpenMode.Readonly : OpenMode.ReadWrite);\r\n IModelConnection.onOpen.raiseEvent(connection);\r\n return connection;\r\n }\r\n\r\n /** Open a BriefcaseConnection to a [StandaloneDb]($backend)\r\n * @note StandaloneDbs, by definition, may not push or pull changes. Attempting to do so will throw exceptions.\r\n */\r\n public static async openStandalone(filePath: string, openMode: OpenMode = OpenMode.ReadWrite, opts?: StandaloneOpenOptions): Promise<BriefcaseConnection> {\r\n const openResponse = await IpcApp.callIpcHost(\"openStandalone\", filePath, openMode, opts);\r\n const connection = new this(openResponse, openMode);\r\n IModelConnection.onOpen.raiseEvent(connection);\r\n return connection;\r\n }\r\n\r\n /** Returns `true` if [[close]] has already been called. */\r\n public get isClosed(): boolean { return this._isClosed === true; }\r\n\r\n /**\r\n * Close this BriefcaseConnection.\r\n * @note make sure to call [[saveChanges]] before calling this method. Unsaved local changes are abandoned.\r\n */\r\n public async close(): Promise<void> {\r\n if (this.isClosed)\r\n return;\r\n\r\n await this._modelsMonitor.close();\r\n\r\n this.beforeClose();\r\n this.txns.dispose();\r\n\r\n this._isClosed = true;\r\n await IpcApp.callIpcHost(\"closeIModel\", this._fileKey);\r\n }\r\n\r\n private requireTimeline() {\r\n if (this.iTwinId === Guid.empty)\r\n throw new IModelError(IModelStatus.WrongIModel, \"iModel has no timeline\");\r\n }\r\n\r\n /** Query if there are any pending Txns in this briefcase that are waiting to be pushed. */\r\n public async hasPendingTxns(): Promise<boolean> { // eslint-disable-line @itwin/prefer-get\r\n return this.txns.hasPendingTxns();\r\n }\r\n\r\n /** Commit pending changes to this briefcase.\r\n * @param description Optional description of the changes.\r\n */\r\n public async saveChanges(description?: string): Promise<void> {\r\n await IpcApp.callIpcHost(\"saveChanges\", this.key, description);\r\n }\r\n\r\n /** Pull (and potentially merge if there are local changes) up to a specified changeset from iModelHub into this briefcase\r\n * @param toIndex The changeset index to pull changes to. If `undefined`, pull all changes.\r\n * @see [[BriefcaseTxns.onChangesPulled]] for the event dispatched after changes are pulled.\r\n */\r\n public async pullChanges(toIndex?: ChangesetIndex): Promise<void> {\r\n this.requireTimeline();\r\n this.changeset = await IpcApp.callIpcHost(\"pullChanges\", this.key, toIndex);\r\n }\r\n\r\n /** Create a changeset from local Txns and push to iModelHub. On success, clear Txn table.\r\n * @param description The description for the changeset\r\n * @returns the changesetId of the pushed changes\r\n * @see [[BriefcaseTxns.onChangesPushed]] for the event dispatched after changes are pushed.\r\n */\r\n public async pushChanges(description: string): Promise<ChangesetIndexAndId> {\r\n this.requireTimeline();\r\n return IpcApp.callIpcHost(\"pushChanges\", this.key, description);\r\n }\r\n\r\n /** The current graphical editing scope, if one is in progress.\r\n * @see [[enterEditingScope]] to begin graphical editing.\r\n */\r\n public get editingScope(): GraphicalEditingScope | undefined {\r\n return this._modelsMonitor.editingScope;\r\n }\r\n\r\n /** Return whether graphical editing is supported for this briefcase. It is not supported if the briefcase is read-only, or the briefcase contains a version of\r\n * the BisCore ECSchema older than v0.1.11.\r\n * @see [[enterEditingScope]] to enable graphical editing.\r\n */\r\n public async supportsGraphicalEditing(): Promise<boolean> {\r\n return IpcApp.callIpcHost(\"isGraphicalEditingSupported\", this.key);\r\n }\r\n\r\n /** Begin a new graphical editing scope.\r\n * @throws Error if an editing scope already exists or one could not be created.\r\n * @see [[GraphicalEditingScope.exit]] to exit the scope.\r\n * @see [[supportsGraphicalEditing]] to determine whether this method should be expected to succeed.\r\n * @see [[editingScope]] to obtain the current editing scope, if one is in progress.\r\n */\r\n public async enterEditingScope(): Promise<GraphicalEditingScope> {\r\n return this._modelsMonitor.enterEditingScope();\r\n }\r\n\r\n /** Strictly for tests - dispatched from ModelChangeMonitor.processBuffered.\r\n * @internal\r\n */\r\n public readonly onBufferedModelChanges = new BeEvent<(changedModelIds: Set<string>) => void>();\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"BriefcaseConnection.js","sourceRoot":"","sources":["../../src/BriefcaseConnection.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAA+H;AAC/H,oDAG4B;AAC5B,mDAAgD;AAChD,mEAAgE;AAChE,2CAAwC;AACxC,yDAAsD;AACtD,qCAAkC;AAClC,8CAAqE;AACrE,yCAAsC;AAEtC;;;GAGG;AACH,MAAM,kBAAkB;IAOtB,YAAmB,SAA8B;QAJhC,mBAAc,GAAG,IAAI,GAAG,EAAU,CAAC;QACnC,mBAAc,GAAG,IAAI,GAAG,EAAkB,CAAC;QAC3C,cAAS,GAAmB,EAAE,CAAC;QAG9C,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAE5B,iCAAiC;QACjC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,WAAW,CAAC,CAAC,OAAO,EAA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,CAAC,WAAoB;QAC3C,MAAM,eAAM,CAAC,WAAW,CAAC,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;IACjE,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,WAAW,CAAC,OAAwB;QAC/C,IAAI,CAAC,eAAe,EAAE,CAAC;QACvB,IAAI,CAAC,SAAS,GAAG,MAAM,eAAM,CAAC,WAAW,CAAC,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,WAAW,CAAC,WAAmB;QAC1C,IAAI,CAAC,eAAe,EAAE,CAAC;QACvB,OAAO,eAAM,CAAC,WAAW,CAAC,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,IAAW,YAAY;QACrB,OAAO,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC;IAC1C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,wBAAwB;QACnC,OAAO,eAAM,CAAC,WAAW,CAAC,6BAA6B,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,iBAAiB;QAC5B,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,CAAC;IACjD,CAAC;CAMF;AA9HD,kDA8HC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module IModelConnection\r\n */\r\n\r\nimport { assert, BeEvent, CompressedId64Set, Guid, GuidString, Id64String, IModelStatus, OpenMode } from \"@itwin/core-bentley\";\r\nimport {\r\n ChangesetIndex,\r\n ChangesetIndexAndId, IModelConnectionProps, IModelError, OpenBriefcaseProps, StandaloneOpenOptions,\r\n} from \"@itwin/core-common\";\r\nimport { BriefcaseTxns } from \"./BriefcaseTxns\";\r\nimport { GraphicalEditingScope } from \"./GraphicalEditingScope\";\r\nimport { IModelApp } from \"./IModelApp\";\r\nimport { IModelConnection } from \"./IModelConnection\";\r\nimport { IpcApp } from \"./IpcApp\";\r\nimport { disposeTileTreesForGeometricModels } from \"./tile/internal\";\r\nimport { Viewport } from \"./Viewport\";\r\n\r\n/** Keeps track of changes to models, buffering them until synchronization points.\r\n * While a GraphicalEditingScope is open, the changes are buffered until the scope exits, at which point they are processed.\r\n * Otherwise, the buffered changes are processed after undo/redo, commit, or pull+merge changes.\r\n */\r\nclass ModelChangeMonitor {\r\n private _editingScope?: GraphicalEditingScope;\r\n private readonly _briefcase: BriefcaseConnection;\r\n private readonly _deletedModels = new Set<string>();\r\n private readonly _modelIdToGuid = new Map<string, string>();\r\n private readonly _removals: VoidFunction[] = [];\r\n\r\n public constructor(briefcase: BriefcaseConnection) {\r\n this._briefcase = briefcase;\r\n\r\n // Buffer updated geometry guids.\r\n this._removals.push(briefcase.txns.onModelGeometryChanged.addListener((changes) => {\r\n for (const change of changes) {\r\n this._deletedModels.delete(change.id);\r\n this._modelIdToGuid.set(change.id, change.guid);\r\n }\r\n }));\r\n\r\n // Buffer deletions of models.\r\n this._removals.push(briefcase.txns.onModelsChanged.addListener((changes) => {\r\n if (changes.deleted) {\r\n for (const id of CompressedId64Set.iterable(changes.deleted)) {\r\n this._modelIdToGuid.delete(id);\r\n this._deletedModels.add(id);\r\n }\r\n }\r\n }));\r\n\r\n // Outside of an editing scope, we want to update viewport contents after commit, undo/redo, or merging changes.\r\n const maybeProcess = async () => {\r\n if (this.editingScope)\r\n return;\r\n\r\n const modelIds = Array.from(this._modelIdToGuid.keys());\r\n if (modelIds.length > 0)\r\n await IModelApp.tileAdmin.purgeTileTrees(this._briefcase, modelIds);\r\n\r\n this.processBuffered();\r\n };\r\n\r\n this._removals.push(briefcase.txns.onCommitted.addListener(maybeProcess));\r\n this._removals.push(briefcase.txns.onAfterUndoRedo.addListener(maybeProcess));\r\n this._removals.push(briefcase.txns.onChangesPulled.addListener(maybeProcess));\r\n }\r\n\r\n public async close(): Promise<void> {\r\n for (const removal of this._removals)\r\n removal();\r\n\r\n this._removals.length = 0;\r\n\r\n if (this._editingScope) {\r\n await this._editingScope.exit();\r\n this._editingScope = undefined;\r\n }\r\n }\r\n\r\n public get editingScope(): GraphicalEditingScope | undefined {\r\n return this._editingScope;\r\n }\r\n\r\n public async enterEditingScope(): Promise<GraphicalEditingScope> {\r\n if (this._editingScope)\r\n throw new Error(\"Cannot create an editing scope for an iModel that already has one\");\r\n\r\n this._editingScope = await GraphicalEditingScope.enter(this._briefcase);\r\n\r\n const removeGeomListener = this._editingScope.onGeometryChanges.addListener((changes) => {\r\n const modelIds = [];\r\n for (const change of changes)\r\n modelIds.push(change.id);\r\n\r\n this.invalidateScenes(modelIds);\r\n });\r\n\r\n this._editingScope.onExited.addOnce((scope) => {\r\n assert(scope === this._editingScope);\r\n this._editingScope = undefined;\r\n removeGeomListener();\r\n this.processBuffered();\r\n });\r\n\r\n return this._editingScope;\r\n }\r\n\r\n private processBuffered(): void {\r\n const models = this._briefcase.models;\r\n for (const [id, guid] of this._modelIdToGuid) {\r\n const model = models.getLoaded(id)?.asGeometricModel;\r\n if (model)\r\n model.geometryGuid = guid;\r\n }\r\n\r\n const modelIds = new Set<string>(this._modelIdToGuid.keys());\r\n for (const deleted of this._deletedModels) {\r\n modelIds.add(deleted);\r\n models.unload(deleted);\r\n }\r\n\r\n this.invalidateScenes(modelIds);\r\n disposeTileTreesForGeometricModels(modelIds, this._briefcase);\r\n\r\n this._briefcase.onBufferedModelChanges.raiseEvent(modelIds);\r\n\r\n this._modelIdToGuid.clear();\r\n this._deletedModels.clear();\r\n }\r\n\r\n private invalidateScenes(changedModels: Iterable<Id64String>): void {\r\n for (const user of IModelApp.tileAdmin.tileUsers) {\r\n if (user instanceof Viewport && user.iModel === this._briefcase) {\r\n for (const modelId of changedModels) {\r\n if (user.view.viewsModel(modelId)) {\r\n user.invalidateScene();\r\n user.setFeatureOverrideProviderChanged();\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/** A connection to an editable briefcase on the backend. This class uses [Ipc]($docs/learning/IpcInterface.md) to communicate\r\n * to the backend and may only be used by [[IpcApp]]s.\r\n * @public\r\n */\r\nexport class BriefcaseConnection extends IModelConnection {\r\n protected _isClosed?: boolean;\r\n private readonly _modelsMonitor: ModelChangeMonitor;\r\n\r\n /** Manages local changes to the briefcase via [Txns]($docs/learning/InteractiveEditing.md). */\r\n public readonly txns: BriefcaseTxns;\r\n\r\n /** @internal */\r\n public override isBriefcaseConnection(): this is BriefcaseConnection { return true; }\r\n\r\n /** The Guid that identifies the iTwin that owns this iModel. */\r\n public override get iTwinId(): GuidString { return super.iTwinId!; } // GuidString | undefined for IModelConnection, but required for BriefcaseConnection\r\n\r\n /** The Guid that identifies this iModel. */\r\n public override get iModelId(): GuidString { return super.iModelId!; } // GuidString | undefined for IModelConnection, but required for BriefcaseConnection\r\n\r\n protected constructor(props: IModelConnectionProps, openMode: OpenMode) {\r\n super(props);\r\n this._openMode = openMode;\r\n this.txns = new BriefcaseTxns(this);\r\n this._modelsMonitor = new ModelChangeMonitor(this);\r\n }\r\n\r\n /** Open a BriefcaseConnection to a [BriefcaseDb]($backend). */\r\n public static async openFile(briefcaseProps: OpenBriefcaseProps): Promise<BriefcaseConnection> {\r\n const iModelProps = await IpcApp.callIpcHost(\"openBriefcase\", briefcaseProps);\r\n const connection = new this({ ...briefcaseProps, ...iModelProps }, briefcaseProps.readonly ? OpenMode.Readonly : OpenMode.ReadWrite);\r\n IModelConnection.onOpen.raiseEvent(connection);\r\n return connection;\r\n }\r\n\r\n /** Open a BriefcaseConnection to a [StandaloneDb]($backend)\r\n * @note StandaloneDbs, by definition, may not push or pull changes. Attempting to do so will throw exceptions.\r\n */\r\n public static async openStandalone(filePath: string, openMode: OpenMode = OpenMode.ReadWrite, opts?: StandaloneOpenOptions): Promise<BriefcaseConnection> {\r\n const openResponse = await IpcApp.callIpcHost(\"openStandalone\", filePath, openMode, opts);\r\n const connection = new this(openResponse, openMode);\r\n IModelConnection.onOpen.raiseEvent(connection);\r\n return connection;\r\n }\r\n\r\n /** Returns `true` if [[close]] has already been called. */\r\n public get isClosed(): boolean { return this._isClosed === true; }\r\n\r\n /**\r\n * Close this BriefcaseConnection.\r\n * @note make sure to call [[saveChanges]] before calling this method. Unsaved local changes are abandoned.\r\n */\r\n public async close(): Promise<void> {\r\n if (this.isClosed)\r\n return;\r\n\r\n await this._modelsMonitor.close();\r\n\r\n this.beforeClose();\r\n this.txns.dispose();\r\n\r\n this._isClosed = true;\r\n await IpcApp.callIpcHost(\"closeIModel\", this._fileKey);\r\n }\r\n\r\n private requireTimeline() {\r\n if (this.iTwinId === Guid.empty)\r\n throw new IModelError(IModelStatus.WrongIModel, \"iModel has no timeline\");\r\n }\r\n\r\n /** Query if there are any pending Txns in this briefcase that are waiting to be pushed. */\r\n public async hasPendingTxns(): Promise<boolean> { // eslint-disable-line @itwin/prefer-get\r\n return this.txns.hasPendingTxns();\r\n }\r\n\r\n /** Commit pending changes to this briefcase.\r\n * @param description Optional description of the changes.\r\n */\r\n public async saveChanges(description?: string): Promise<void> {\r\n await IpcApp.callIpcHost(\"saveChanges\", this.key, description);\r\n }\r\n\r\n /** Pull (and potentially merge if there are local changes) up to a specified changeset from iModelHub into this briefcase\r\n * @param toIndex The changeset index to pull changes to. If `undefined`, pull all changes.\r\n * @see [[BriefcaseTxns.onChangesPulled]] for the event dispatched after changes are pulled.\r\n */\r\n public async pullChanges(toIndex?: ChangesetIndex): Promise<void> {\r\n this.requireTimeline();\r\n this.changeset = await IpcApp.callIpcHost(\"pullChanges\", this.key, toIndex);\r\n }\r\n\r\n /** Create a changeset from local Txns and push to iModelHub. On success, clear Txn table.\r\n * @param description The description for the changeset\r\n * @returns the changesetId of the pushed changes\r\n * @see [[BriefcaseTxns.onChangesPushed]] for the event dispatched after changes are pushed.\r\n */\r\n public async pushChanges(description: string): Promise<ChangesetIndexAndId> {\r\n this.requireTimeline();\r\n return IpcApp.callIpcHost(\"pushChanges\", this.key, description);\r\n }\r\n\r\n /** The current graphical editing scope, if one is in progress.\r\n * @see [[enterEditingScope]] to begin graphical editing.\r\n */\r\n public get editingScope(): GraphicalEditingScope | undefined {\r\n return this._modelsMonitor.editingScope;\r\n }\r\n\r\n /** Return whether graphical editing is supported for this briefcase. It is not supported if the briefcase is read-only, or the briefcase contains a version of\r\n * the BisCore ECSchema older than v0.1.11.\r\n * @see [[enterEditingScope]] to enable graphical editing.\r\n */\r\n public async supportsGraphicalEditing(): Promise<boolean> {\r\n return IpcApp.callIpcHost(\"isGraphicalEditingSupported\", this.key);\r\n }\r\n\r\n /** Begin a new graphical editing scope.\r\n * @throws Error if an editing scope already exists or one could not be created.\r\n * @see [[GraphicalEditingScope.exit]] to exit the scope.\r\n * @see [[supportsGraphicalEditing]] to determine whether this method should be expected to succeed.\r\n * @see [[editingScope]] to obtain the current editing scope, if one is in progress.\r\n */\r\n public async enterEditingScope(): Promise<GraphicalEditingScope> {\r\n return this._modelsMonitor.enterEditingScope();\r\n }\r\n\r\n /** Strictly for tests - dispatched from ModelChangeMonitor.processBuffered.\r\n * @internal\r\n */\r\n public readonly onBufferedModelChanges = new BeEvent<(changedModelIds: Set<string>) => void>();\r\n}\r\n"]}
|
|
@@ -16,6 +16,7 @@ import { ScreenViewport } from "./Viewport";
|
|
|
16
16
|
export declare class TerrainDisplayOverrides {
|
|
17
17
|
wantSkirts?: boolean;
|
|
18
18
|
wantNormals?: boolean;
|
|
19
|
+
produceGeometry?: boolean;
|
|
19
20
|
}
|
|
20
21
|
/** Options controlling display of [OpenStreetMap Buildings](https://cesium.com/platform/cesium-ion/content/cesium-osm-buildings/).
|
|
21
22
|
* @see [[DisplayStyleState.setOSMBuildingDisplay]].
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DisplayStyleState.d.ts","sourceRoot":"","sources":["../../src/DisplayStyleState.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,EAAU,OAAO,EAAQ,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAS,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAAyB,0BAA0B,EAAE,qBAAqB,EAC5F,iBAAiB,EAAwB,QAAQ,EAAE,wBAAwB,EAAE,sBAAsB,EACnG,iBAAiB,EAAE,oBAAoB,EAAE,WAAW,EAAE,iBAAiB,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAChH,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,EAAE,mBAAmB,EACvE,mBAAmB,EAAE,mBAAmB,EAAE,UAAU,EAAuF,SAAS,EACrJ,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAA4B,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEjG,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,gBAAgB;AAChB,qBAAa,uBAAuB;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DisplayStyleState.d.ts","sourceRoot":"","sources":["../../src/DisplayStyleState.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,EAAU,OAAO,EAAQ,UAAU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