@itwin/core-frontend 5.0.0-dev.4 → 5.0.0-dev.41
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 +42 -1
- package/lib/cjs/AccuDraw.d.ts +63 -8
- package/lib/cjs/AccuDraw.d.ts.map +1 -1
- package/lib/cjs/AccuDraw.js +118 -16
- package/lib/cjs/AccuDraw.js.map +1 -1
- package/lib/cjs/ApproximateTerrainHeights.js +1 -1
- package/lib/cjs/ApproximateTerrainHeights.js.map +1 -1
- package/lib/cjs/BackgroundMapGeometry.js +5 -5
- package/lib/cjs/BackgroundMapGeometry.js.map +1 -1
- package/lib/cjs/BriefcaseTxns.d.ts +2 -2
- package/lib/cjs/BriefcaseTxns.d.ts.map +1 -1
- package/lib/cjs/BriefcaseTxns.js.map +1 -1
- package/lib/cjs/DrawingViewState.js +9 -9
- package/lib/cjs/DrawingViewState.js.map +1 -1
- package/lib/cjs/GraphicalEditingScope.js +5 -5
- package/lib/cjs/GraphicalEditingScope.js.map +1 -1
- package/lib/cjs/IModelApp.d.ts.map +1 -1
- package/lib/cjs/IModelApp.js +62 -64
- package/lib/cjs/IModelApp.js.map +1 -1
- package/lib/cjs/IModelConnection.d.ts +4 -1
- package/lib/cjs/IModelConnection.d.ts.map +1 -1
- package/lib/cjs/IModelConnection.js +24 -21
- package/lib/cjs/IModelConnection.js.map +1 -1
- package/lib/cjs/IModelRoutingContext.d.ts +0 -3
- package/lib/cjs/IModelRoutingContext.d.ts.map +1 -1
- package/lib/cjs/IModelRoutingContext.js +5 -4
- package/lib/cjs/IModelRoutingContext.js.map +1 -1
- package/lib/cjs/IpcApp.d.ts.map +1 -1
- package/lib/cjs/IpcApp.js +4 -3
- package/lib/cjs/IpcApp.js.map +1 -1
- package/lib/cjs/LocalhostIpcApp.js +1 -1
- package/lib/cjs/LocalhostIpcApp.js.map +1 -1
- package/lib/cjs/NativeApp.js +15 -17
- package/lib/cjs/NativeApp.js.map +1 -1
- package/lib/cjs/NativeAppLogger.js +1 -1
- package/lib/cjs/NativeAppLogger.js.map +1 -1
- package/lib/cjs/NoRenderApp.js +1 -1
- package/lib/cjs/NoRenderApp.js.map +1 -1
- package/lib/cjs/RealityDataSourceTilesetUrlImpl.d.ts +6 -1
- package/lib/cjs/RealityDataSourceTilesetUrlImpl.d.ts.map +1 -1
- package/lib/cjs/RealityDataSourceTilesetUrlImpl.js +14 -2
- package/lib/cjs/RealityDataSourceTilesetUrlImpl.js.map +1 -1
- package/lib/cjs/SelectionSet.d.ts +84 -35
- package/lib/cjs/SelectionSet.d.ts.map +1 -1
- package/lib/cjs/SelectionSet.js +419 -163
- package/lib/cjs/SelectionSet.js.map +1 -1
- package/lib/cjs/Sprites.js +1 -1
- package/lib/cjs/Sprites.js.map +1 -1
- package/lib/cjs/ViewCreator2d.js +3 -3
- package/lib/cjs/ViewCreator2d.js.map +1 -1
- package/lib/cjs/ViewGlobalLocation.js +5 -5
- package/lib/cjs/ViewGlobalLocation.js.map +1 -1
- package/lib/cjs/ViewState.js +2 -2
- package/lib/cjs/ViewState.js.map +1 -1
- package/lib/cjs/ViewingSpace.js +9 -9
- package/lib/cjs/ViewingSpace.js.map +1 -1
- package/lib/cjs/Viewport.js +41 -41
- package/lib/cjs/Viewport.js.map +1 -1
- package/lib/cjs/common/imdl/ImdlSchema.d.ts +4 -0
- package/lib/cjs/common/imdl/ImdlSchema.d.ts.map +1 -1
- package/lib/cjs/common/imdl/ImdlSchema.js.map +1 -1
- package/lib/cjs/common/imdl/ParseImdlDocument.d.ts +1 -1
- package/lib/cjs/common/imdl/ParseImdlDocument.d.ts.map +1 -1
- package/lib/cjs/common/imdl/ParseImdlDocument.js +80 -7
- package/lib/cjs/common/imdl/ParseImdlDocument.js.map +1 -1
- package/lib/cjs/common/internal/render/DisplayParams.js +1 -1
- package/lib/cjs/common/internal/render/DisplayParams.js.map +1 -1
- package/lib/cjs/common/internal/render/GraphicDescriptionBuilderImpl.js +1 -1
- package/lib/cjs/common/internal/render/GraphicDescriptionBuilderImpl.js.map +1 -1
- package/lib/cjs/common/internal/render/GraphicDescriptionContextImpl.js +1 -1
- package/lib/cjs/common/internal/render/GraphicDescriptionContextImpl.js.map +1 -1
- package/lib/cjs/common/internal/render/MeshPrimitives.js +1 -1
- package/lib/cjs/common/internal/render/MeshPrimitives.js.map +1 -1
- package/lib/cjs/internal/render/PrimitiveBuilder.js +1 -1
- package/lib/cjs/internal/render/PrimitiveBuilder.js.map +1 -1
- package/lib/cjs/internal/render/RenderInstancesParamsImpl.js +1 -1
- package/lib/cjs/internal/render/RenderInstancesParamsImpl.js.map +1 -1
- package/lib/cjs/render/MockRender.js +3 -3
- package/lib/cjs/render/MockRender.js.map +1 -1
- package/lib/cjs/render/webgl/BackgroundMapDrape.js +1 -1
- package/lib/cjs/render/webgl/BackgroundMapDrape.js.map +1 -1
- package/lib/cjs/render/webgl/BatchState.js +1 -1
- package/lib/cjs/render/webgl/BatchState.js.map +1 -1
- package/lib/cjs/render/webgl/ColorInfo.js +2 -2
- package/lib/cjs/render/webgl/ColorInfo.js.map +1 -1
- package/lib/cjs/render/webgl/Diagnostics.js +4 -4
- package/lib/cjs/render/webgl/Diagnostics.js.map +1 -1
- package/lib/cjs/render/webgl/DrawCommand.js +4 -4
- package/lib/cjs/render/webgl/DrawCommand.js.map +1 -1
- package/lib/cjs/render/webgl/IModelFrameLifecycle.js +4 -4
- package/lib/cjs/render/webgl/IModelFrameLifecycle.js.map +1 -1
- package/lib/cjs/render/webgl/InstancedGeometry.js +3 -3
- package/lib/cjs/render/webgl/InstancedGeometry.js.map +1 -1
- package/lib/cjs/render/webgl/Material.js +4 -4
- package/lib/cjs/render/webgl/Material.js.map +1 -1
- package/lib/cjs/render/webgl/PlanarClassifier.js +1 -1
- package/lib/cjs/render/webgl/PlanarClassifier.js.map +1 -1
- package/lib/cjs/render/webgl/PlanarTextureProjection.js +1 -1
- package/lib/cjs/render/webgl/PlanarTextureProjection.js.map +1 -1
- package/lib/cjs/render/webgl/RenderState.js +1 -1
- package/lib/cjs/render/webgl/RenderState.js.map +1 -1
- package/lib/cjs/render/webgl/Target.js +1 -1
- package/lib/cjs/render/webgl/Target.js.map +1 -1
- package/lib/cjs/render/webgl/Technique.js +39 -39
- package/lib/cjs/render/webgl/Technique.js.map +1 -1
- package/lib/cjs/render/webgl/TechniqueFlags.js +1 -1
- package/lib/cjs/render/webgl/TechniqueFlags.js.map +1 -1
- package/lib/cjs/render/webgl/Texture.js +3 -3
- package/lib/cjs/render/webgl/Texture.js.map +1 -1
- package/lib/cjs/tile/CesiumAssetProvider.js +1 -1
- package/lib/cjs/tile/CesiumAssetProvider.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 +79 -2
- package/lib/cjs/tile/GltfReader.js.map +1 -1
- package/lib/cjs/tile/ImdlParser.js +2 -2
- package/lib/cjs/tile/ImdlParser.js.map +1 -1
- package/lib/cjs/tile/ImdlReader.js +1 -1
- package/lib/cjs/tile/ImdlReader.js.map +1 -1
- package/lib/cjs/tile/MeshoptCompression.d.ts +9 -0
- package/lib/cjs/tile/MeshoptCompression.d.ts.map +1 -1
- package/lib/cjs/tile/MeshoptCompression.js +98 -66
- package/lib/cjs/tile/MeshoptCompression.js.map +1 -1
- package/lib/cjs/tile/map/ArcGISTileMap.js +1 -1
- package/lib/cjs/tile/map/ArcGISTileMap.js.map +1 -1
- package/lib/cjs/tile/map/ArcGisUtilities.js +1 -1
- package/lib/cjs/tile/map/ArcGisUtilities.js.map +1 -1
- package/lib/cjs/tile/map/CesiumTerrainProvider.js +6 -6
- package/lib/cjs/tile/map/CesiumTerrainProvider.js.map +1 -1
- package/lib/cjs/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts.map +1 -1
- package/lib/cjs/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js +2 -2
- package/lib/cjs/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js.map +1 -1
- package/lib/cjs/tile/map/ImageryProviders/BingImageryProvider.d.ts.map +1 -1
- package/lib/cjs/tile/map/ImageryProviders/BingImageryProvider.js +5 -2
- package/lib/cjs/tile/map/ImageryProviders/BingImageryProvider.js.map +1 -1
- package/lib/cjs/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.d.ts.map +1 -1
- package/lib/cjs/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js +2 -2
- package/lib/cjs/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js.map +1 -1
- package/lib/cjs/tile/map/ImageryTileTree.js +2 -2
- package/lib/cjs/tile/map/ImageryTileTree.js.map +1 -1
- package/lib/cjs/tile/map/MapLayerImageryFormats.js +7 -7
- package/lib/cjs/tile/map/MapLayerImageryFormats.js.map +1 -1
- package/lib/cjs/tile/map/MapTile.js +8 -8
- package/lib/cjs/tile/map/MapTile.js.map +1 -1
- package/lib/cjs/tile/map/MapTileAvailability.js +1 -1
- package/lib/cjs/tile/map/MapTileAvailability.js.map +1 -1
- package/lib/cjs/tile/map/MapTileTree.js +9 -9
- package/lib/cjs/tile/map/MapTileTree.js.map +1 -1
- package/lib/cjs/tile/map/MapTilingScheme.js +1 -1
- package/lib/cjs/tile/map/MapTilingScheme.js.map +1 -1
- package/lib/cjs/tile/map/WmsCapabilities.js +2 -2
- package/lib/cjs/tile/map/WmsCapabilities.js.map +1 -1
- package/lib/cjs/tile/map/WmtsCapabilities.js +1 -1
- package/lib/cjs/tile/map/WmtsCapabilities.js.map +1 -1
- package/lib/cjs/tools/AccuDrawTool.d.ts +1 -0
- package/lib/cjs/tools/AccuDrawTool.d.ts.map +1 -1
- package/lib/cjs/tools/AccuDrawTool.js +22 -21
- package/lib/cjs/tools/AccuDrawTool.js.map +1 -1
- package/lib/cjs/tools/ClipViewTool.js +40 -40
- package/lib/cjs/tools/ClipViewTool.js.map +1 -1
- package/lib/cjs/tools/EditManipulator.js +2 -2
- package/lib/cjs/tools/EditManipulator.js.map +1 -1
- package/lib/cjs/tools/ElementSetTool.d.ts.map +1 -1
- package/lib/cjs/tools/ElementSetTool.js +11 -4
- package/lib/cjs/tools/ElementSetTool.js.map +1 -1
- package/lib/cjs/tools/IdleTool.js +2 -2
- package/lib/cjs/tools/IdleTool.js.map +1 -1
- package/lib/cjs/tools/MeasureTool.d.ts.map +1 -1
- package/lib/cjs/tools/MeasureTool.js +39 -39
- package/lib/cjs/tools/MeasureTool.js.map +1 -1
- package/lib/cjs/tools/SelectTool.js +7 -7
- package/lib/cjs/tools/SelectTool.js.map +1 -1
- package/lib/cjs/tools/Tool.js +10 -10
- package/lib/cjs/tools/Tool.js.map +1 -1
- package/lib/cjs/tools/ToolAdmin.d.ts.map +1 -1
- package/lib/cjs/tools/ToolAdmin.js +36 -24
- package/lib/cjs/tools/ToolAdmin.js.map +1 -1
- package/lib/cjs/tools/ToolAssistance.js +19 -19
- package/lib/cjs/tools/ToolAssistance.js.map +1 -1
- package/lib/cjs/tools/ToolSettings.js +63 -63
- package/lib/cjs/tools/ToolSettings.js.map +1 -1
- package/lib/cjs/tools/ViewTool.js +37 -37
- package/lib/cjs/tools/ViewTool.js.map +1 -1
- package/lib/cjs/workers/ImdlParser/Worker.js +2 -2
- package/lib/cjs/workers/ImdlParser/Worker.js.map +1 -1
- package/lib/esm/AccuDraw.d.ts +63 -8
- package/lib/esm/AccuDraw.d.ts.map +1 -1
- package/lib/esm/AccuDraw.js +119 -17
- package/lib/esm/AccuDraw.js.map +1 -1
- package/lib/esm/ApproximateTerrainHeights.js +1 -1
- package/lib/esm/ApproximateTerrainHeights.js.map +1 -1
- package/lib/esm/BackgroundMapGeometry.js +5 -5
- package/lib/esm/BackgroundMapGeometry.js.map +1 -1
- package/lib/esm/BriefcaseTxns.d.ts +2 -2
- package/lib/esm/BriefcaseTxns.d.ts.map +1 -1
- package/lib/esm/BriefcaseTxns.js.map +1 -1
- package/lib/esm/DrawingViewState.js +9 -9
- package/lib/esm/DrawingViewState.js.map +1 -1
- package/lib/esm/GraphicalEditingScope.js +5 -5
- package/lib/esm/GraphicalEditingScope.js.map +1 -1
- package/lib/esm/IModelApp.d.ts.map +1 -1
- package/lib/esm/IModelApp.js +63 -65
- package/lib/esm/IModelApp.js.map +1 -1
- package/lib/esm/IModelConnection.d.ts +4 -1
- package/lib/esm/IModelConnection.d.ts.map +1 -1
- package/lib/esm/IModelConnection.js +20 -17
- package/lib/esm/IModelConnection.js.map +1 -1
- package/lib/esm/IModelRoutingContext.d.ts +0 -3
- package/lib/esm/IModelRoutingContext.d.ts.map +1 -1
- package/lib/esm/IModelRoutingContext.js +3 -2
- package/lib/esm/IModelRoutingContext.js.map +1 -1
- package/lib/esm/IpcApp.d.ts.map +1 -1
- package/lib/esm/IpcApp.js +4 -3
- package/lib/esm/IpcApp.js.map +1 -1
- package/lib/esm/LocalhostIpcApp.js +1 -1
- package/lib/esm/LocalhostIpcApp.js.map +1 -1
- package/lib/esm/NativeApp.js +15 -17
- package/lib/esm/NativeApp.js.map +1 -1
- package/lib/esm/NativeAppLogger.js +1 -1
- package/lib/esm/NativeAppLogger.js.map +1 -1
- package/lib/esm/NoRenderApp.js +1 -1
- package/lib/esm/NoRenderApp.js.map +1 -1
- package/lib/esm/RealityDataSourceTilesetUrlImpl.d.ts +6 -1
- package/lib/esm/RealityDataSourceTilesetUrlImpl.d.ts.map +1 -1
- package/lib/esm/RealityDataSourceTilesetUrlImpl.js +14 -2
- package/lib/esm/RealityDataSourceTilesetUrlImpl.js.map +1 -1
- package/lib/esm/SelectionSet.d.ts +84 -35
- package/lib/esm/SelectionSet.d.ts.map +1 -1
- package/lib/esm/SelectionSet.js +418 -162
- package/lib/esm/SelectionSet.js.map +1 -1
- package/lib/esm/Sprites.js +1 -1
- package/lib/esm/Sprites.js.map +1 -1
- package/lib/esm/ViewCreator2d.js +3 -3
- package/lib/esm/ViewCreator2d.js.map +1 -1
- package/lib/esm/ViewGlobalLocation.js +5 -5
- package/lib/esm/ViewGlobalLocation.js.map +1 -1
- package/lib/esm/ViewState.js +2 -2
- package/lib/esm/ViewState.js.map +1 -1
- package/lib/esm/ViewingSpace.js +9 -9
- package/lib/esm/ViewingSpace.js.map +1 -1
- package/lib/esm/Viewport.js +41 -41
- package/lib/esm/Viewport.js.map +1 -1
- package/lib/esm/common/imdl/ImdlSchema.d.ts +4 -0
- package/lib/esm/common/imdl/ImdlSchema.d.ts.map +1 -1
- package/lib/esm/common/imdl/ImdlSchema.js.map +1 -1
- package/lib/esm/common/imdl/ParseImdlDocument.d.ts +1 -1
- package/lib/esm/common/imdl/ParseImdlDocument.d.ts.map +1 -1
- package/lib/esm/common/imdl/ParseImdlDocument.js +80 -7
- package/lib/esm/common/imdl/ParseImdlDocument.js.map +1 -1
- package/lib/esm/common/internal/render/DisplayParams.js +1 -1
- package/lib/esm/common/internal/render/DisplayParams.js.map +1 -1
- package/lib/esm/common/internal/render/GraphicDescriptionBuilderImpl.js +1 -1
- package/lib/esm/common/internal/render/GraphicDescriptionBuilderImpl.js.map +1 -1
- package/lib/esm/common/internal/render/GraphicDescriptionContextImpl.js +1 -1
- package/lib/esm/common/internal/render/GraphicDescriptionContextImpl.js.map +1 -1
- package/lib/esm/common/internal/render/MeshPrimitives.js +2 -2
- package/lib/esm/common/internal/render/MeshPrimitives.js.map +1 -1
- package/lib/esm/internal/render/PrimitiveBuilder.js +1 -1
- package/lib/esm/internal/render/PrimitiveBuilder.js.map +1 -1
- package/lib/esm/internal/render/RenderInstancesParamsImpl.js +1 -1
- package/lib/esm/internal/render/RenderInstancesParamsImpl.js.map +1 -1
- package/lib/esm/render/MockRender.js +3 -3
- package/lib/esm/render/MockRender.js.map +1 -1
- package/lib/esm/render/webgl/BackgroundMapDrape.js +1 -1
- package/lib/esm/render/webgl/BackgroundMapDrape.js.map +1 -1
- package/lib/esm/render/webgl/BatchState.js +1 -1
- package/lib/esm/render/webgl/BatchState.js.map +1 -1
- package/lib/esm/render/webgl/ColorInfo.js +2 -2
- package/lib/esm/render/webgl/ColorInfo.js.map +1 -1
- package/lib/esm/render/webgl/Diagnostics.js +4 -4
- package/lib/esm/render/webgl/Diagnostics.js.map +1 -1
- package/lib/esm/render/webgl/DrawCommand.js +4 -4
- package/lib/esm/render/webgl/DrawCommand.js.map +1 -1
- package/lib/esm/render/webgl/IModelFrameLifecycle.js +4 -4
- package/lib/esm/render/webgl/IModelFrameLifecycle.js.map +1 -1
- package/lib/esm/render/webgl/InstancedGeometry.js +3 -3
- package/lib/esm/render/webgl/InstancedGeometry.js.map +1 -1
- package/lib/esm/render/webgl/Material.js +4 -4
- package/lib/esm/render/webgl/Material.js.map +1 -1
- package/lib/esm/render/webgl/PlanarClassifier.js +1 -1
- package/lib/esm/render/webgl/PlanarClassifier.js.map +1 -1
- package/lib/esm/render/webgl/PlanarTextureProjection.js +1 -1
- package/lib/esm/render/webgl/PlanarTextureProjection.js.map +1 -1
- package/lib/esm/render/webgl/RenderState.js +1 -1
- package/lib/esm/render/webgl/RenderState.js.map +1 -1
- package/lib/esm/render/webgl/Target.js +1 -1
- package/lib/esm/render/webgl/Target.js.map +1 -1
- package/lib/esm/render/webgl/Technique.js +39 -39
- package/lib/esm/render/webgl/Technique.js.map +1 -1
- package/lib/esm/render/webgl/TechniqueFlags.js +1 -1
- package/lib/esm/render/webgl/TechniqueFlags.js.map +1 -1
- package/lib/esm/render/webgl/Texture.js +3 -3
- package/lib/esm/render/webgl/Texture.js.map +1 -1
- package/lib/esm/tile/CesiumAssetProvider.js +1 -1
- package/lib/esm/tile/CesiumAssetProvider.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 +79 -2
- package/lib/esm/tile/GltfReader.js.map +1 -1
- package/lib/esm/tile/ImdlParser.js +2 -2
- package/lib/esm/tile/ImdlParser.js.map +1 -1
- package/lib/esm/tile/ImdlReader.js +1 -1
- package/lib/esm/tile/ImdlReader.js.map +1 -1
- package/lib/esm/tile/MeshoptCompression.d.ts +9 -0
- package/lib/esm/tile/MeshoptCompression.d.ts.map +1 -1
- package/lib/esm/tile/MeshoptCompression.js +98 -44
- package/lib/esm/tile/MeshoptCompression.js.map +1 -1
- package/lib/esm/tile/map/ArcGISTileMap.js +1 -1
- package/lib/esm/tile/map/ArcGISTileMap.js.map +1 -1
- package/lib/esm/tile/map/ArcGisUtilities.js +1 -1
- package/lib/esm/tile/map/ArcGisUtilities.js.map +1 -1
- package/lib/esm/tile/map/CesiumTerrainProvider.js +6 -6
- package/lib/esm/tile/map/CesiumTerrainProvider.js.map +1 -1
- package/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts.map +1 -1
- package/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js +2 -2
- package/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js.map +1 -1
- package/lib/esm/tile/map/ImageryProviders/BingImageryProvider.d.ts.map +1 -1
- package/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js +5 -2
- package/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js.map +1 -1
- package/lib/esm/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.d.ts.map +1 -1
- package/lib/esm/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js +2 -2
- package/lib/esm/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js.map +1 -1
- package/lib/esm/tile/map/ImageryTileTree.js +2 -2
- package/lib/esm/tile/map/ImageryTileTree.js.map +1 -1
- package/lib/esm/tile/map/MapLayerImageryFormats.js +7 -7
- package/lib/esm/tile/map/MapLayerImageryFormats.js.map +1 -1
- package/lib/esm/tile/map/MapTile.js +8 -8
- package/lib/esm/tile/map/MapTile.js.map +1 -1
- package/lib/esm/tile/map/MapTileAvailability.js +1 -1
- package/lib/esm/tile/map/MapTileAvailability.js.map +1 -1
- package/lib/esm/tile/map/MapTileTree.js +9 -9
- package/lib/esm/tile/map/MapTileTree.js.map +1 -1
- package/lib/esm/tile/map/MapTilingScheme.js +1 -1
- package/lib/esm/tile/map/MapTilingScheme.js.map +1 -1
- package/lib/esm/tile/map/WmsCapabilities.js +2 -2
- package/lib/esm/tile/map/WmsCapabilities.js.map +1 -1
- package/lib/esm/tile/map/WmtsCapabilities.js +1 -1
- package/lib/esm/tile/map/WmtsCapabilities.js.map +1 -1
- package/lib/esm/tools/AccuDrawTool.d.ts +1 -0
- package/lib/esm/tools/AccuDrawTool.d.ts.map +1 -1
- package/lib/esm/tools/AccuDrawTool.js +22 -21
- package/lib/esm/tools/AccuDrawTool.js.map +1 -1
- package/lib/esm/tools/ClipViewTool.js +40 -40
- package/lib/esm/tools/ClipViewTool.js.map +1 -1
- package/lib/esm/tools/EditManipulator.js +2 -2
- package/lib/esm/tools/EditManipulator.js.map +1 -1
- package/lib/esm/tools/ElementSetTool.d.ts.map +1 -1
- package/lib/esm/tools/ElementSetTool.js +11 -4
- package/lib/esm/tools/ElementSetTool.js.map +1 -1
- package/lib/esm/tools/IdleTool.js +2 -2
- package/lib/esm/tools/IdleTool.js.map +1 -1
- package/lib/esm/tools/MeasureTool.d.ts.map +1 -1
- package/lib/esm/tools/MeasureTool.js +40 -40
- package/lib/esm/tools/MeasureTool.js.map +1 -1
- package/lib/esm/tools/SelectTool.js +7 -7
- package/lib/esm/tools/SelectTool.js.map +1 -1
- package/lib/esm/tools/Tool.js +10 -10
- package/lib/esm/tools/Tool.js.map +1 -1
- package/lib/esm/tools/ToolAdmin.d.ts.map +1 -1
- package/lib/esm/tools/ToolAdmin.js +36 -24
- package/lib/esm/tools/ToolAdmin.js.map +1 -1
- package/lib/esm/tools/ToolAssistance.js +19 -19
- package/lib/esm/tools/ToolAssistance.js.map +1 -1
- package/lib/esm/tools/ToolSettings.js +63 -63
- package/lib/esm/tools/ToolSettings.js.map +1 -1
- package/lib/esm/tools/ViewTool.js +37 -37
- package/lib/esm/tools/ViewTool.js.map +1 -1
- package/lib/esm/workers/ImdlParser/Worker.js +2 -2
- package/lib/esm/workers/ImdlParser/Worker.js.map +1 -1
- package/lib/public/locales/en/CoreTools.json +1 -0
- package/lib/public/scripts/parse-imdl-worker.js +1 -1
- package/lib/workers/webpack/parse-imdl-worker.js +1 -1
- package/package.json +20 -21
|
@@ -29,8 +29,30 @@ class ViewClipTool extends PrimitiveTool_1.PrimitiveTool {
|
|
|
29
29
|
this._clipEventHandler = _clipEventHandler;
|
|
30
30
|
}
|
|
31
31
|
/** @internal */
|
|
32
|
+
static { this._orientationName = "enumAsOrientation"; }
|
|
33
|
+
/** @internal */
|
|
32
34
|
static enumAsOrientationMessage(str) { return Tool_1.CoreTools.translate(`Settings.Orientation.${str}`); }
|
|
33
35
|
/** @internal */
|
|
36
|
+
static { this._getEnumAsOrientationDescription = () => {
|
|
37
|
+
return {
|
|
38
|
+
name: ViewClipTool._orientationName,
|
|
39
|
+
displayLabel: Tool_1.CoreTools.translate("Settings.Orientation.Label"),
|
|
40
|
+
typename: "enum",
|
|
41
|
+
enum: {
|
|
42
|
+
choices: [
|
|
43
|
+
{ label: ViewClipTool.enumAsOrientationMessage("Top"), value: AccuDraw_1.ContextRotationId.Top },
|
|
44
|
+
{ label: ViewClipTool.enumAsOrientationMessage("Front"), value: AccuDraw_1.ContextRotationId.Front },
|
|
45
|
+
{ label: ViewClipTool.enumAsOrientationMessage("Left"), value: AccuDraw_1.ContextRotationId.Left },
|
|
46
|
+
{ label: ViewClipTool.enumAsOrientationMessage("Bottom"), value: AccuDraw_1.ContextRotationId.Bottom },
|
|
47
|
+
{ label: ViewClipTool.enumAsOrientationMessage("Back"), value: AccuDraw_1.ContextRotationId.Back },
|
|
48
|
+
{ label: ViewClipTool.enumAsOrientationMessage("Right"), value: AccuDraw_1.ContextRotationId.Right },
|
|
49
|
+
{ label: ViewClipTool.enumAsOrientationMessage("View"), value: AccuDraw_1.ContextRotationId.View },
|
|
50
|
+
{ label: ViewClipTool.enumAsOrientationMessage("Face"), value: AccuDraw_1.ContextRotationId.Face },
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
}; }
|
|
55
|
+
/** @internal */
|
|
34
56
|
requireWriteableTarget() { return false; }
|
|
35
57
|
/** @internal */
|
|
36
58
|
isCompatibleViewport(vp, isSelectedViewChange) { return (super.isCompatibleViewport(vp, isSelectedViewChange) && undefined !== vp && vp.view.allow3dManipulations()); }
|
|
@@ -329,32 +351,12 @@ class ViewClipTool extends PrimitiveTool_1.PrimitiveTool {
|
|
|
329
351
|
}
|
|
330
352
|
}
|
|
331
353
|
exports.ViewClipTool = ViewClipTool;
|
|
332
|
-
/** @internal */
|
|
333
|
-
ViewClipTool._orientationName = "enumAsOrientation";
|
|
334
|
-
/** @internal */
|
|
335
|
-
ViewClipTool._getEnumAsOrientationDescription = () => {
|
|
336
|
-
return {
|
|
337
|
-
name: ViewClipTool._orientationName,
|
|
338
|
-
displayLabel: Tool_1.CoreTools.translate("Settings.Orientation.Label"),
|
|
339
|
-
typename: "enum",
|
|
340
|
-
enum: {
|
|
341
|
-
choices: [
|
|
342
|
-
{ label: ViewClipTool.enumAsOrientationMessage("Top"), value: AccuDraw_1.ContextRotationId.Top },
|
|
343
|
-
{ label: ViewClipTool.enumAsOrientationMessage("Front"), value: AccuDraw_1.ContextRotationId.Front },
|
|
344
|
-
{ label: ViewClipTool.enumAsOrientationMessage("Left"), value: AccuDraw_1.ContextRotationId.Left },
|
|
345
|
-
{ label: ViewClipTool.enumAsOrientationMessage("Bottom"), value: AccuDraw_1.ContextRotationId.Bottom },
|
|
346
|
-
{ label: ViewClipTool.enumAsOrientationMessage("Back"), value: AccuDraw_1.ContextRotationId.Back },
|
|
347
|
-
{ label: ViewClipTool.enumAsOrientationMessage("Right"), value: AccuDraw_1.ContextRotationId.Right },
|
|
348
|
-
{ label: ViewClipTool.enumAsOrientationMessage("View"), value: AccuDraw_1.ContextRotationId.View },
|
|
349
|
-
{ label: ViewClipTool.enumAsOrientationMessage("Face"), value: AccuDraw_1.ContextRotationId.Face },
|
|
350
|
-
],
|
|
351
|
-
},
|
|
352
|
-
};
|
|
353
|
-
};
|
|
354
354
|
/** A tool to remove a clip volume for a view
|
|
355
355
|
* @public @extensions
|
|
356
356
|
*/
|
|
357
357
|
class ViewClipClearTool extends ViewClipTool {
|
|
358
|
+
static { this.toolId = "ViewClip.Clear"; }
|
|
359
|
+
static { this.iconSpec = "icon-section-tool"; }
|
|
358
360
|
/** @internal */
|
|
359
361
|
isCompatibleViewport(vp, isSelectedViewChange) { return (super.isCompatibleViewport(vp, isSelectedViewChange) && undefined !== vp && ViewClipTool.hasClip(vp)); }
|
|
360
362
|
/** @internal */
|
|
@@ -384,12 +386,12 @@ class ViewClipClearTool extends ViewClipTool {
|
|
|
384
386
|
}
|
|
385
387
|
}
|
|
386
388
|
exports.ViewClipClearTool = ViewClipClearTool;
|
|
387
|
-
ViewClipClearTool.toolId = "ViewClip.Clear";
|
|
388
|
-
ViewClipClearTool.iconSpec = "icon-section-tool";
|
|
389
389
|
/** A tool to define a clip volume for a view by specifying a plane
|
|
390
390
|
* @public
|
|
391
391
|
*/
|
|
392
392
|
class ViewClipByPlaneTool extends ViewClipTool {
|
|
393
|
+
static { this.toolId = "ViewClip.ByPlane"; }
|
|
394
|
+
static { this.iconSpec = "icon-section-plane"; }
|
|
393
395
|
constructor(clipEventHandler, _clearExistingPlanes = false) {
|
|
394
396
|
super(clipEventHandler);
|
|
395
397
|
this._clearExistingPlanes = _clearExistingPlanes;
|
|
@@ -457,8 +459,6 @@ class ViewClipByPlaneTool extends ViewClipTool {
|
|
|
457
459
|
}
|
|
458
460
|
}
|
|
459
461
|
exports.ViewClipByPlaneTool = ViewClipByPlaneTool;
|
|
460
|
-
ViewClipByPlaneTool.toolId = "ViewClip.ByPlane";
|
|
461
|
-
ViewClipByPlaneTool.iconSpec = "icon-section-plane";
|
|
462
462
|
/** A tool to define a clip volume for a view by specifying a shape
|
|
463
463
|
* @public
|
|
464
464
|
*/
|
|
@@ -470,6 +470,8 @@ class ViewClipByShapeTool extends ViewClipTool {
|
|
|
470
470
|
/** @internal */
|
|
471
471
|
this._points = [];
|
|
472
472
|
}
|
|
473
|
+
static { this.toolId = "ViewClip.ByShape"; }
|
|
474
|
+
static { this.iconSpec = "icon-section-shape"; }
|
|
473
475
|
/** @internal */
|
|
474
476
|
get orientation() { return this._orientationValue.value; }
|
|
475
477
|
set orientation(option) { this._orientationValue.value = option; }
|
|
@@ -658,12 +660,12 @@ class ViewClipByShapeTool extends ViewClipTool {
|
|
|
658
660
|
}
|
|
659
661
|
}
|
|
660
662
|
exports.ViewClipByShapeTool = ViewClipByShapeTool;
|
|
661
|
-
ViewClipByShapeTool.toolId = "ViewClip.ByShape";
|
|
662
|
-
ViewClipByShapeTool.iconSpec = "icon-section-shape";
|
|
663
663
|
/** A tool to define a clip volume for a view by specifying range corners
|
|
664
664
|
* @public
|
|
665
665
|
*/
|
|
666
666
|
class ViewClipByRangeTool extends ViewClipTool {
|
|
667
|
+
static { this.toolId = "ViewClip.ByRange"; }
|
|
668
|
+
static { this.iconSpec = "icon-section-range"; }
|
|
667
669
|
/** @internal */
|
|
668
670
|
showPrompt() {
|
|
669
671
|
const mainInstruction = ToolAssistance_1.ToolAssistance.createInstruction(this.iconSpec, Tool_1.CoreTools.translate(undefined === this._corner ? "ViewClip.ByRange.Prompts.FirstPoint" : "ViewClip.ByRange.Prompts.NextPoint"));
|
|
@@ -759,12 +761,12 @@ class ViewClipByRangeTool extends ViewClipTool {
|
|
|
759
761
|
}
|
|
760
762
|
}
|
|
761
763
|
exports.ViewClipByRangeTool = ViewClipByRangeTool;
|
|
762
|
-
ViewClipByRangeTool.toolId = "ViewClip.ByRange";
|
|
763
|
-
ViewClipByRangeTool.iconSpec = "icon-section-range";
|
|
764
764
|
/** A tool to define a clip volume for a view using the element aligned box or axis aligned box.
|
|
765
765
|
* @public
|
|
766
766
|
*/
|
|
767
767
|
class ViewClipByElementTool extends ViewClipTool {
|
|
768
|
+
static { this.toolId = "ViewClip.ByElement"; }
|
|
769
|
+
static { this.iconSpec = "icon-section-element"; }
|
|
768
770
|
constructor(clipEventHandler, _alwaysUseRange = false) {
|
|
769
771
|
super(clipEventHandler);
|
|
770
772
|
this._alwaysUseRange = _alwaysUseRange;
|
|
@@ -879,8 +881,6 @@ class ViewClipByElementTool extends ViewClipTool {
|
|
|
879
881
|
}
|
|
880
882
|
}
|
|
881
883
|
exports.ViewClipByElementTool = ViewClipByElementTool;
|
|
882
|
-
ViewClipByElementTool.toolId = "ViewClip.ByElement";
|
|
883
|
-
ViewClipByElementTool.iconSpec = "icon-section-element";
|
|
884
884
|
/** @internal Interactive tool base class to modify a view's clip */
|
|
885
885
|
class ViewClipModifyTool extends EditManipulator_1.EditManipulator.HandleTool {
|
|
886
886
|
constructor(manipulator, clip, vp, hitId, ids, controls) {
|
|
@@ -981,8 +981,8 @@ class ViewClipShapeModifyTool extends ViewClipModifyTool {
|
|
|
981
981
|
for (let i = 0; i < shapePts.length; i++) {
|
|
982
982
|
const prevFace = (0 === i ? shapePts.length - 2 : i - 1);
|
|
983
983
|
const nextFace = (shapePts.length - 1 === i ? 0 : i);
|
|
984
|
-
const prevSelected = offsetAll || (prevFace === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[prevFace]));
|
|
985
|
-
const nextSelected = offsetAll || (nextFace === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[nextFace]));
|
|
984
|
+
const prevSelected = offsetAll || (prevFace === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[prevFace]));
|
|
985
|
+
const nextSelected = offsetAll || (nextFace === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[nextFace]));
|
|
986
986
|
if (prevSelected && nextSelected) {
|
|
987
987
|
const prevPt = shapePts[i].plusScaled(this._controls[prevFace].direction, localOffset);
|
|
988
988
|
const nextPt = shapePts[i].plusScaled(this._controls[nextFace].direction, localOffset);
|
|
@@ -1006,8 +1006,8 @@ class ViewClipShapeModifyTool extends ViewClipModifyTool {
|
|
|
1006
1006
|
let zHigh = clipShape.zHigh;
|
|
1007
1007
|
const zLowIndex = this._controls.length - 2;
|
|
1008
1008
|
const zHighIndex = this._controls.length - 1;
|
|
1009
|
-
const zLowSelected = offsetAll || (zLowIndex === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[zLowIndex]));
|
|
1010
|
-
const zHighSelected = offsetAll || (zHighIndex === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[zHighIndex]));
|
|
1009
|
+
const zLowSelected = offsetAll || (zLowIndex === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[zLowIndex]));
|
|
1010
|
+
const zHighSelected = offsetAll || (zHighIndex === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[zHighIndex]));
|
|
1011
1011
|
if (zLowSelected || zHighSelected) {
|
|
1012
1012
|
const clipExtents = ViewClipTool.getClipShapeExtents(clipShape, this._viewRange);
|
|
1013
1013
|
if (zLowSelected)
|
|
@@ -1046,7 +1046,7 @@ class ViewClipPlanesModifyTool extends ViewClipModifyTool {
|
|
|
1046
1046
|
const offsetAll = ev.isShiftKey;
|
|
1047
1047
|
const planeSet = core_geometry_1.ConvexClipPlaneSet.createEmpty();
|
|
1048
1048
|
for (let i = 0; i < this._controls.length; i++) {
|
|
1049
|
-
const selected = offsetAll || (i === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[i]));
|
|
1049
|
+
const selected = offsetAll || (i === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[i]));
|
|
1050
1050
|
const origin = this._controls[i].origin.clone();
|
|
1051
1051
|
const direction = this._controls[i].direction;
|
|
1052
1052
|
if (selected)
|
|
@@ -1113,7 +1113,7 @@ class ViewClipDecoration extends EditManipulator_1.EditManipulator.HandleProvide
|
|
|
1113
1113
|
get clipPlaneSet() { return this._clipPlanes; }
|
|
1114
1114
|
getControlIndex(id) { return this._controlIds.indexOf(id); }
|
|
1115
1115
|
stop() {
|
|
1116
|
-
const selectedId = (undefined !== this._clipId && this.iModel.selectionSet.has(this._clipId)) ? this._clipId : undefined;
|
|
1116
|
+
const selectedId = (undefined !== this._clipId && this.iModel.selectionSet.elements.has(this._clipId)) ? this._clipId : undefined;
|
|
1117
1117
|
this._clipId = undefined; // Invalidate id so that decorator will be dropped...
|
|
1118
1118
|
super.stop();
|
|
1119
1119
|
if (undefined !== selectedId)
|
|
@@ -1277,7 +1277,7 @@ class ViewClipDecoration extends EditManipulator_1.EditManipulator.HandleProvide
|
|
|
1277
1277
|
return false;
|
|
1278
1278
|
// Show controls if only range box and it's controls are selected, selection set doesn't include any other elements...
|
|
1279
1279
|
let showControls = false;
|
|
1280
|
-
if (this.iModel.selectionSet.size <= this._controlIds.length + 1 && this.iModel.selectionSet.has(this._clipId)) {
|
|
1280
|
+
if (this.iModel.selectionSet.size <= this._controlIds.length + 1 && this.iModel.selectionSet.elements.has(this._clipId)) {
|
|
1281
1281
|
showControls = true;
|
|
1282
1282
|
if (this.iModel.selectionSet.size > 1) {
|
|
1283
1283
|
this.iModel.selectionSet.elements.forEach((val) => {
|
|
@@ -1600,7 +1600,7 @@ class ViewClipDecoration extends EditManipulator_1.EditManipulator.HandleProvide
|
|
|
1600
1600
|
const hidPts = shapePts.map((pt) => pt.clone());
|
|
1601
1601
|
const arrowVisBuilder = context.createGraphicBuilder(GraphicType_1.GraphicType.WorldOverlay, transform, this._controlIds[iFace]);
|
|
1602
1602
|
const arrowHidBuilder = context.createGraphicBuilder(GraphicType_1.GraphicType.WorldDecoration, transform);
|
|
1603
|
-
const isSelected = this.iModel.selectionSet.has(this._controlIds[iFace]);
|
|
1603
|
+
const isSelected = this.iModel.selectionSet.elements.has(this._controlIds[iFace]);
|
|
1604
1604
|
let outlineColorOvr = this._controls[iFace].outline;
|
|
1605
1605
|
if (undefined !== outlineColorOvr) {
|
|
1606
1606
|
outlineColorOvr = EditManipulator_1.EditManipulator.HandleUtils.adjustForBackgroundColor(outlineColorOvr, vp);
|