@kitware/vtk.js 19.2.13 → 19.3.0
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/Common/Core/Base64.js +1 -1
- package/Common/Core/CellArray.js +2 -3
- package/Common/Core/ClassHierarchy.js +1 -1
- package/Common/Core/DataArray/Constants.js +1 -2
- package/Common/Core/DataArray.js +3 -4
- package/Common/Core/Endian.js +1 -2
- package/Common/Core/ImageHelper.js +1 -1
- package/Common/Core/LookupTable.js +1 -2
- package/Common/Core/MatrixBuilder.js +1 -1
- package/Common/Core/Points.js +1 -2
- package/Common/Core/PriorityQueue.js +1 -2
- package/Common/Core/ProgressHandler.js +1 -2
- package/Common/Core/ScalarsToColors/Constants.js +1 -2
- package/Common/Core/ScalarsToColors.js +2 -3
- package/Common/Core/StringArray.js +1 -2
- package/Common/Core/URLExtract.js +1 -1
- package/Common/Core/VariantArray.js +1 -2
- package/Common/Core.js +1 -1
- package/Common/DataModel/BoundingBox.js +2 -3
- package/Common/DataModel/Box.js +2 -3
- package/Common/DataModel/CardinalSpline1D.js +1 -2
- package/Common/DataModel/Cell.js +1 -2
- package/Common/DataModel/CellLinks.js +26 -27
- package/Common/DataModel/CellTypes/Constants.js +1 -2
- package/Common/DataModel/CellTypes.js +2 -3
- package/Common/DataModel/Cone.js +1 -2
- package/Common/DataModel/Cylinder.js +2 -3
- package/Common/DataModel/DataSet/Constants.js +1 -2
- package/Common/DataModel/DataSet.js +2 -3
- package/Common/DataModel/DataSetAttributes/Constants.js +1 -2
- package/Common/DataModel/DataSetAttributes/FieldData.js +1 -2
- package/Common/DataModel/DataSetAttributes.js +2 -3
- package/Common/DataModel/ITKHelper.js +1 -1
- package/Common/DataModel/ImageData.js +1 -2
- package/Common/DataModel/ImplicitBoolean/Constants.js +1 -2
- package/Common/DataModel/ImplicitBoolean.js +2 -3
- package/Common/DataModel/KochanekSpline1D.js +1 -2
- package/Common/DataModel/Line/Constants.js +1 -2
- package/Common/DataModel/Line.js +2 -3
- package/Common/DataModel/Molecule.js +1 -2
- package/Common/DataModel/PiecewiseFunction.js +1 -2
- package/Common/DataModel/Plane.js +2 -3
- package/Common/DataModel/PointSet.js +1 -2
- package/Common/DataModel/PolyData/Constants.js +1 -2
- package/Common/DataModel/PolyData.js +1 -2
- package/Common/DataModel/Polygon.js +1 -2
- package/Common/DataModel/SelectionNode/Constants.js +1 -2
- package/Common/DataModel/SelectionNode.js +2 -3
- package/Common/DataModel/Sphere.js +2 -3
- package/Common/DataModel/Spline1D.js +1 -2
- package/Common/DataModel/Spline3D/Constants.js +1 -2
- package/Common/DataModel/Spline3D.js +1 -2
- package/Common/DataModel/StructuredData/Constants.js +1 -2
- package/Common/DataModel/StructuredData.js +2 -3
- package/Common/DataModel/Triangle.js +2 -3
- package/Common/DataModel.js +1 -1
- package/Common/System/MobileVR/headsets.js +1 -1
- package/Common/System/MobileVR.js +1 -1
- package/Common/System/TimerLog.js +1 -2
- package/Common/System.js +1 -1
- package/Common/Transform/LandmarkTransform/Constants.js +1 -2
- package/Common/Transform/LandmarkTransform.js +2 -3
- package/Common/Transform.js +1 -1
- package/Common/index.js +1 -1
- package/Filters/Core/Cutter.js +3 -4
- package/Filters/Core.js +1 -1
- package/Filters/Cornerstone/ImageDataToCornerstoneImage.js +1 -2
- package/Filters/Cornerstone.js +1 -1
- package/Filters/General/AppendPolyData.js +1 -2
- package/Filters/General/Calculator.js +2 -3
- package/Filters/General/ClosedPolyLineToSurfaceFilter.js +1 -2
- package/Filters/General/ImageCropFilter.js +1 -2
- package/Filters/General/ImageMarchingCubes/caseTable.js +1 -1
- package/Filters/General/ImageMarchingCubes.js +1 -2
- package/Filters/General/ImageMarchingSquares/caseTable.js +1 -1
- package/Filters/General/ImageMarchingSquares.js +1 -2
- package/Filters/General/ImageOutlineFilter.js +1 -2
- package/Filters/General/ImageSliceFilter.js +1 -2
- package/Filters/General/ImageStreamline.js +1 -2
- package/Filters/General/LineFilter.js +1 -2
- package/Filters/General/MoleculeToRepresentation.js +1 -2
- package/Filters/General/OutlineFilter.js +1 -2
- package/Filters/General/PaintFilter/PaintFilter.worker.js +3 -3
- package/Filters/General/PaintFilter.js +3 -4
- package/Filters/General/ScalarToRGBA.js +1 -2
- package/Filters/General/TriangleFilter.js +1 -2
- package/Filters/General/TubeFilter/Constants.js +1 -2
- package/Filters/General/TubeFilter.js +1 -2
- package/Filters/General/WarpScalar.js +1 -2
- package/Filters/General/WindowedSincPolyDataFilter.js +43 -44
- package/Filters/General.js +1 -1
- package/Filters/Sources/Arrow2DSource/Constants.js +1 -2
- package/Filters/Sources/Arrow2DSource.js +2 -3
- package/Filters/Sources/ArrowSource.js +1 -2
- package/Filters/Sources/CircleSource.js +2 -3
- package/Filters/Sources/ConcentricCylinderSource.js +1 -2
- package/Filters/Sources/ConeSource.js +1 -2
- package/Filters/Sources/CubeSource.js +1 -2
- package/Filters/Sources/Cursor3D.js +12 -13
- package/Filters/Sources/CylinderSource.js +1 -2
- package/Filters/Sources/ImageGridSource.js +1 -2
- package/Filters/Sources/LineSource.js +1 -2
- package/Filters/Sources/PlaneSource.js +1 -2
- package/Filters/Sources/PointSource.js +1 -2
- package/Filters/Sources/RTAnalyticSource.js +1 -2
- package/Filters/Sources/SLICSource.js +1 -2
- package/Filters/Sources/SphereSource.js +1 -2
- package/Filters/Sources/ViewFinderSource.js +1 -2
- package/Filters/Sources.js +1 -1
- package/Filters/Texture/TextureMapToPlane.js +1 -2
- package/Filters/Texture/TextureMapToSphere.js +1 -2
- package/Filters/Texture.js +1 -1
- package/Filters/index.js +1 -1
- package/IO/Core/BinaryHelper.js +1 -1
- package/IO/Core/DataAccessHelper/HtmlDataAccessHelper.js +1 -1
- package/IO/Core/DataAccessHelper/HttpDataAccessHelper.js +1 -1
- package/IO/Core/DataAccessHelper/JSZipDataAccessHelper.js +3 -3
- package/IO/Core/DataAccessHelper/LiteHttpDataAccessHelper.js +1 -1
- package/IO/Core/DataAccessHelper.js +1 -2
- package/IO/Core/HttpDataSetReader.js +1 -2
- package/IO/Core/HttpDataSetSeriesReader.js +1 -2
- package/IO/Core/HttpSceneLoader.js +2 -3
- package/IO/Core/ImageStream/DefaultProtocol.js +1 -1
- package/IO/Core/ImageStream/ViewStream.js +1 -2
- package/IO/Core/ImageStream.js +1 -2
- package/IO/Core/ResourceLoader.js +1 -2
- package/IO/Core/Serializer/ArraySerializer.js +1 -2
- package/IO/Core/Serializer/FieldDataSerializer.js +1 -1
- package/IO/Core/Serializer/ImageDataSerializer.js +1 -1
- package/IO/Core/Serializer/PolyDataSerializer.js +1 -1
- package/IO/Core/Serializer.js +1 -1
- package/IO/Core/WSLinkClient.js +1 -2
- package/IO/Core/ZipMultiDataSetReader.js +3 -4
- package/IO/Core/ZipMultiDataSetWriter.js +3 -4
- package/IO/Core.js +1 -1
- package/IO/Geometry/DracoReader.js +1 -2
- package/IO/Geometry/PLYReader.js +1 -2
- package/IO/Geometry/STLReader.js +1 -2
- package/IO/Geometry/STLWriter/Constants.js +1 -2
- package/IO/Geometry/STLWriter.js +2 -3
- package/IO/Geometry.js +1 -1
- package/IO/Legacy/LegacyAsciiParser.js +1 -1
- package/IO/Legacy/PolyDataReader.js +1 -2
- package/IO/Legacy.js +1 -1
- package/IO/Misc/ElevationReader.js +1 -2
- package/IO/Misc/HttpDataSetLODsLoader.js +1 -2
- package/IO/Misc/ITKImageReader.js +1 -2
- package/IO/Misc/ITKPolyDataReader.js +1 -2
- package/IO/Misc/JSONNucleoReader.js +1 -2
- package/IO/Misc/JSONReader.js +1 -2
- package/IO/Misc/MTLReader.js +2 -3
- package/IO/Misc/OBJReader.js +1 -2
- package/IO/Misc/PDBReader.js +1 -2
- package/IO/Misc/SkyboxReader.js +3 -4
- package/IO/Misc.js +1 -1
- package/IO/XML/XMLImageDataReader.js +1 -2
- package/IO/XML/XMLImageDataWriter.js +2 -3
- package/IO/XML/XMLPolyDataReader.js +1 -2
- package/IO/XML/XMLPolyDataWriter.js +2 -3
- package/IO/XML/XMLReader.js +1 -2
- package/IO/XML/XMLWriter/Constants.js +1 -2
- package/IO/XML/XMLWriter.js +4 -4
- package/IO/XML.js +1 -1
- package/IO/index.js +1 -1
- package/Imaging/Core/AbstractImageInterpolator/Constants.js +1 -2
- package/Imaging/Core/AbstractImageInterpolator/InterpolationInfo.js +2 -3
- package/Imaging/Core/AbstractImageInterpolator.js +2 -3
- package/Imaging/Core/ImageInterpolator.js +2 -3
- package/Imaging/Core/ImagePointDataIterator.js +1 -2
- package/Imaging/Core/ImageReslice/Constants.js +1 -2
- package/Imaging/Core/ImageReslice.js +2 -3
- package/Imaging/Core.js +1 -1
- package/Imaging/Hybrid/SampleFunction.js +2 -3
- package/Imaging/Hybrid.js +1 -1
- package/Imaging/index.js +1 -1
- package/Interaction/Animations/TimeStepBasedAnimationHandler.js +2 -3
- package/Interaction/Manipulators/CompositeCameraManipulator.js +1 -2
- package/Interaction/Manipulators/CompositeGestureManipulator.js +1 -2
- package/Interaction/Manipulators/CompositeKeyboardManipulator.js +1 -2
- package/Interaction/Manipulators/CompositeMouseManipulator.js +1 -2
- package/Interaction/Manipulators/CompositeVRManipulator.js +1 -2
- package/Interaction/Manipulators/GestureCameraManipulator.js +1 -2
- package/Interaction/Manipulators/KeyboardCameraManipulator.js +1 -2
- package/Interaction/Manipulators/MouseBoxSelectorManipulator.js +3 -4
- package/Interaction/Manipulators/MouseCameraAxisRotateManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraSliceManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballFirstPersonManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballMultiRotateManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballPanManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballRollManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballRotateManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballZoomManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraTrackballZoomToMouseManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraUnicamManipulator.js +1 -2
- package/Interaction/Manipulators/MouseCameraUnicamRotateManipulator.js +1 -2
- package/Interaction/Manipulators/MouseRangeManipulator.js +1 -2
- package/Interaction/Manipulators/VRButtonPanManipulator.js +1 -2
- package/Interaction/Manipulators.js +1 -1
- package/Interaction/Misc/DeviceOrientationToCamera.js +1 -1
- package/Interaction/Misc.js +1 -1
- package/Interaction/Style/InteractorStyleImage.js +1 -2
- package/Interaction/Style/InteractorStyleMPRSlice.js +1 -2
- package/Interaction/Style/InteractorStyleManipulator/Presets.js +1 -1
- package/Interaction/Style/InteractorStyleManipulator.js +2 -3
- package/Interaction/Style/InteractorStyleRemoteMouse.js +2 -3
- package/Interaction/Style/InteractorStyleTrackballCamera.js +1 -2
- package/Interaction/Style/InteractorStyleUnicam.js +1 -2
- package/Interaction/Style.js +1 -1
- package/Interaction/UI/CornerAnnotation.js +1 -2
- package/Interaction/UI/FPSMonitor.js +2 -3
- package/Interaction/UI/Icons.js +1 -1
- package/Interaction/UI/Slider/Constants.js +1 -2
- package/Interaction/UI/Slider.js +2 -3
- package/Interaction/UI/VolumeController.js +1 -2
- package/Interaction/UI.js +1 -1
- package/Interaction/Widgets/AbstractWidget.js +2 -3
- package/Interaction/Widgets/DistanceRepresentation.js +2 -3
- package/Interaction/Widgets/DistanceWidget.js +2 -3
- package/Interaction/Widgets/HandleRepresentation/Constants.js +1 -2
- package/Interaction/Widgets/HandleRepresentation.js +2 -3
- package/Interaction/Widgets/HandleWidget/Constants.js +1 -2
- package/Interaction/Widgets/HandleWidget.js +2 -3
- package/Interaction/Widgets/ImageCroppingRegionsRepresentation.js +1 -2
- package/Interaction/Widgets/ImageCroppingRegionsWidget/Constants.js +1 -1
- package/Interaction/Widgets/ImageCroppingRegionsWidget.js +2 -3
- package/Interaction/Widgets/LabelRepresentation/Constants.js +1 -2
- package/Interaction/Widgets/LabelRepresentation.js +3 -4
- package/Interaction/Widgets/LabelWidget.js +2 -3
- package/Interaction/Widgets/LineRepresentation/Constants.js +1 -2
- package/Interaction/Widgets/LineRepresentation.js +2 -3
- package/Interaction/Widgets/LineWidget/Constants.js +1 -2
- package/Interaction/Widgets/LineWidget.js +2 -3
- package/Interaction/Widgets/OrientationMarkerWidget/Constants.js +1 -1
- package/Interaction/Widgets/OrientationMarkerWidget.js +2 -3
- package/Interaction/Widgets/PiecewiseGaussianWidget/ComputeHistogram.worker.js +3 -3
- package/Interaction/Widgets/PiecewiseGaussianWidget.js +15 -16
- package/Interaction/Widgets/PointPlacer.js +1 -2
- package/Interaction/Widgets/ResliceCursor/ResliceCursor/Constants.js +1 -2
- package/Interaction/Widgets/ResliceCursor/ResliceCursor.js +2 -3
- package/Interaction/Widgets/ResliceCursor/ResliceCursorActor/Constants.js +1 -2
- package/Interaction/Widgets/ResliceCursor/ResliceCursorActor.js +2 -3
- package/Interaction/Widgets/ResliceCursor/ResliceCursorLineRepresentation.js +1 -2
- package/Interaction/Widgets/ResliceCursor/ResliceCursorPolyDataAlgorithm.js +2 -3
- package/Interaction/Widgets/ResliceCursor/ResliceCursorRepresentation.js +1 -2
- package/Interaction/Widgets/ResliceCursor/ResliceCursorWidget/Constants.js +1 -2
- package/Interaction/Widgets/ResliceCursor/ResliceCursorWidget.js +2 -3
- package/Interaction/Widgets/SphereHandleRepresentation.js +2 -3
- package/Interaction/Widgets/WidgetRepresentation.js +1 -2
- package/Interaction/Widgets.js +1 -1
- package/Interaction/index.js +1 -1
- package/Proxy/Animation/AbstractAnimationProxy.js +1 -2
- package/Proxy/Animation/AnimationProxyManager.js +1 -2
- package/Proxy/Animation/TimeStepBasedAnimationHandlerProxy.js +1 -2
- package/Proxy/Core/AbstractRepresentationProxy.js +1 -1
- package/Proxy/Core/LookupTableProxy/Constants.js +1 -1
- package/Proxy/Core/LookupTableProxy.js +1 -2
- package/Proxy/Core/PiecewiseFunctionProxy/Constants.js +1 -1
- package/Proxy/Core/PiecewiseFunctionProxy.js +2 -3
- package/Proxy/Core/ProxyManager/core.js +2 -2
- package/Proxy/Core/ProxyManager/properties.js +2 -2
- package/Proxy/Core/ProxyManager/state.js +2 -2
- package/Proxy/Core/ProxyManager/view.js +1 -1
- package/Proxy/Core/ProxyManager.js +1 -2
- package/Proxy/Core/SourceProxy.js +1 -2
- package/Proxy/Core/View2DProxy.js +1 -2
- package/Proxy/Core/ViewProxy.js +4 -4
- package/Proxy/Core.js +1 -1
- package/Proxy/Representations/GeometryRepresentationProxy.js +1 -2
- package/Proxy/Representations/GlyphRepresentationProxy.js +1 -2
- package/Proxy/Representations/MoleculeRepresentationProxy.js +1 -2
- package/Proxy/Representations/SkyboxRepresentationProxy.js +1 -2
- package/Proxy/Representations/SliceRepresentationProxy.js +2 -3
- package/Proxy/Representations/SlicedGeometryRepresentationProxy.js +1 -2
- package/Proxy/Representations/VolumeRepresentationProxy.js +1 -2
- package/Proxy/Representations.js +1 -1
- package/Proxy/index.js +1 -1
- package/Rendering/Core/AbstractMapper.js +1 -2
- package/Rendering/Core/AbstractMapper3D.js +1 -2
- package/Rendering/Core/AbstractPicker.js +1 -2
- package/Rendering/Core/Actor.js +2 -3
- package/Rendering/Core/Actor2D.js +1 -2
- package/Rendering/Core/AnnotatedCubeActor/Presets.js +1 -1
- package/Rendering/Core/AnnotatedCubeActor.js +2 -3
- package/Rendering/Core/AxesActor.js +2 -3
- package/Rendering/Core/Camera.js +1 -2
- package/Rendering/Core/CellPicker.js +2 -3
- package/Rendering/Core/ColorTransferFunction/ColorMaps.js +1 -1
- package/Rendering/Core/ColorTransferFunction/ColorMapsLite.js +1 -1
- package/Rendering/Core/ColorTransferFunction/Constants.js +1 -2
- package/Rendering/Core/ColorTransferFunction.js +2 -3
- package/Rendering/Core/Coordinate/Constants.js +1 -2
- package/Rendering/Core/Coordinate.js +2 -3
- package/Rendering/Core/CubeAxesActor.js +2 -3
- package/Rendering/Core/Follower.js +2 -3
- package/Rendering/Core/Glyph3DMapper/Constants.js +1 -2
- package/Rendering/Core/Glyph3DMapper.js +2 -3
- package/Rendering/Core/HardwareSelector.js +1 -2
- package/Rendering/Core/ImageMapper/Constants.js +1 -2
- package/Rendering/Core/ImageMapper.js +2 -3
- package/Rendering/Core/ImageProperty/Constants.js +1 -2
- package/Rendering/Core/ImageProperty.js +1 -2
- package/Rendering/Core/ImageSlice.js +1 -2
- package/Rendering/Core/InteractorObserver.js +2 -3
- package/Rendering/Core/InteractorStyle/Constants.js +1 -2
- package/Rendering/Core/InteractorStyle.js +2 -3
- package/Rendering/Core/Light.js +1 -2
- package/Rendering/Core/Mapper/CoincidentTopologyHelper.js +1 -2
- package/Rendering/Core/Mapper/Constants.js +1 -2
- package/Rendering/Core/Mapper/Static.js +1 -2
- package/Rendering/Core/Mapper.js +2 -3
- package/Rendering/Core/Picker.js +2 -3
- package/Rendering/Core/PixelSpaceCallbackMapper.js +1 -2
- package/Rendering/Core/PointPicker.js +1 -9
- package/Rendering/Core/Prop.js +1 -2
- package/Rendering/Core/Prop3D.js +1 -2
- package/Rendering/Core/Property/Constants.js +1 -2
- package/Rendering/Core/Property.js +2 -3
- package/Rendering/Core/Property2D.js +1 -2
- package/Rendering/Core/RenderWindow.js +1 -2
- package/Rendering/Core/RenderWindowInteractor/Constants.js +1 -2
- package/Rendering/Core/RenderWindowInteractor.js +2 -3
- package/Rendering/Core/Renderer.js +2 -3
- package/Rendering/Core/ScalarBarActor.js +2 -3
- package/Rendering/Core/Skybox.js +1 -2
- package/Rendering/Core/SphereMapper.js +1 -2
- package/Rendering/Core/StickMapper.js +1 -2
- package/Rendering/Core/SurfaceLICInterface/Constants.js +1 -2
- package/Rendering/Core/SurfaceLICInterface.js +1 -2
- package/Rendering/Core/SurfaceLICMapper.js +1 -2
- package/Rendering/Core/Texture.js +1 -2
- package/Rendering/Core/Viewport.js +1 -2
- package/Rendering/Core/Volume.js +1 -2
- package/Rendering/Core/VolumeMapper/Constants.js +1 -2
- package/Rendering/Core/VolumeMapper.js +1 -2
- package/Rendering/Core/VolumeProperty/Constants.js +1 -2
- package/Rendering/Core/VolumeProperty.js +2 -3
- package/Rendering/Core.js +2 -2
- package/Rendering/Misc/CanvasView.js +1 -2
- package/Rendering/Misc/FullScreenRenderWindow.js +1 -2
- package/Rendering/Misc/GenericRenderWindow.js +1 -2
- package/Rendering/Misc/RemoteView.js +1 -2
- package/Rendering/Misc/RenderWindowWithControlBar.js +2 -3
- package/Rendering/Misc/SynchronizableRenderWindow/vtkObjectManager.js +2 -2
- package/Rendering/Misc/SynchronizableRenderWindow.js +3 -4
- package/Rendering/Misc/TextureLODsDownloader.js +1 -2
- package/Rendering/Misc.js +1 -1
- package/Rendering/OpenGL/Actor.js +2 -3
- package/Rendering/OpenGL/Actor2D.js +2 -3
- package/Rendering/OpenGL/BufferObject/Constants.js +1 -2
- package/Rendering/OpenGL/BufferObject.js +2 -3
- package/Rendering/OpenGL/Camera.js +2 -3
- package/Rendering/OpenGL/CellArrayBufferObject.js +2 -4
- package/Rendering/OpenGL/Convolution2DPass.js +1 -2
- package/Rendering/OpenGL/ForwardPass.js +1 -2
- package/Rendering/OpenGL/Framebuffer.js +2 -3
- package/Rendering/OpenGL/Glyph3DMapper.js +3 -4
- package/Rendering/OpenGL/HardwareSelector/Constants.js +1 -2
- package/Rendering/OpenGL/HardwareSelector.js +2 -3
- package/Rendering/OpenGL/Helper.js +1 -2
- package/Rendering/OpenGL/ImageMapper.js +2 -3
- package/Rendering/OpenGL/ImageSlice.js +2 -3
- package/Rendering/OpenGL/PixelSpaceCallbackMapper.js +1 -2
- package/Rendering/OpenGL/PolyDataMapper.js +2 -3
- package/Rendering/OpenGL/RadialDistortionPass.js +1 -2
- package/Rendering/OpenGL/RenderWindow.js +1 -2
- package/Rendering/OpenGL/Renderer.js +2 -3
- package/Rendering/OpenGL/ReplacementShaderMapper.js +1 -1
- package/Rendering/OpenGL/Shader.js +1 -2
- package/Rendering/OpenGL/ShaderCache.js +1 -2
- package/Rendering/OpenGL/ShaderProgram.js +1 -1
- package/Rendering/OpenGL/Skybox.js +2 -3
- package/Rendering/OpenGL/SphereMapper.js +2 -3
- package/Rendering/OpenGL/StickMapper.js +2 -3
- package/Rendering/OpenGL/SurfaceLIC/LineIntegralConvolution2D/pingpong.js +1 -2
- package/Rendering/OpenGL/SurfaceLIC/LineIntegralConvolution2D.js +1 -2
- package/Rendering/OpenGL/SurfaceLIC/SurfaceLICInterface.js +1 -2
- package/Rendering/OpenGL/SurfaceLIC/SurfaceLICMapper.js +3 -4
- package/Rendering/OpenGL/SurfaceLIC.js +1 -1
- package/Rendering/OpenGL/Texture/Constants.js +1 -2
- package/Rendering/OpenGL/Texture.js +3 -4
- package/Rendering/OpenGL/TextureUnitManager.js +1 -2
- package/Rendering/OpenGL/VertexArrayObject.js +1 -2
- package/Rendering/OpenGL/ViewNodeFactory.js +1 -2
- package/Rendering/OpenGL/Volume.js +2 -3
- package/Rendering/OpenGL/VolumeMapper.js +3 -4
- package/Rendering/OpenGL.js +1 -1
- package/Rendering/SceneGraph/RenderPass.js +1 -2
- package/Rendering/SceneGraph/RenderWindowViewNode.js +1 -2
- package/Rendering/SceneGraph/ViewNode.js +1 -1
- package/Rendering/SceneGraph/ViewNodeFactory.js +1 -2
- package/Rendering/SceneGraph.js +1 -1
- package/Rendering/WebGPU/Actor.js +1 -2
- package/Rendering/WebGPU/BindGroup.js +1 -2
- package/Rendering/WebGPU/Buffer.js +2 -3
- package/Rendering/WebGPU/BufferManager/Constants.js +1 -2
- package/Rendering/WebGPU/BufferManager.js +3 -4
- package/Rendering/WebGPU/Camera.js +1 -2
- package/Rendering/WebGPU/Device.js +2 -3
- package/Rendering/WebGPU/ForwardPass.js +1 -2
- package/Rendering/WebGPU/FullScreenQuad.js +1 -2
- package/Rendering/WebGPU/Glyph3DMapper.js +3 -4
- package/Rendering/WebGPU/HardwareSelectionPass.js +1 -2
- package/Rendering/WebGPU/HardwareSelector.js +1 -2
- package/Rendering/WebGPU/MapperHelper.js +1 -2
- package/Rendering/WebGPU/OpaquePass.js +2 -4
- package/Rendering/WebGPU/OrderIndependentTranslucentPass.js +1 -2
- package/Rendering/WebGPU/Pipeline.js +2 -3
- package/Rendering/WebGPU/PixelSpaceCallbackMapper.js +1 -2
- package/Rendering/WebGPU/PolyDataMapper.js +3 -4
- package/Rendering/WebGPU/RenderEncoder.js +2 -3
- package/Rendering/WebGPU/RenderWindow.js +11 -3
- package/Rendering/WebGPU/Renderer.js +2 -3
- package/Rendering/WebGPU/Sampler.js +1 -2
- package/Rendering/WebGPU/ShaderCache.js +1 -2
- package/Rendering/WebGPU/ShaderDescription.js +1 -2
- package/Rendering/WebGPU/ShaderModule.js +1 -1
- package/Rendering/WebGPU/SphereMapper.js +1 -2
- package/Rendering/WebGPU/StickMapper.js +1 -2
- package/Rendering/WebGPU/StorageBuffer.js +1 -2
- package/Rendering/WebGPU/Texture.js +2 -3
- package/Rendering/WebGPU/TextureManager.js +24 -7
- package/Rendering/WebGPU/TextureView.js +19 -4
- package/Rendering/WebGPU/Types.js +83 -42
- package/Rendering/WebGPU/UniformBuffer.js +1 -2
- package/Rendering/WebGPU/VertexInput.js +2 -3
- package/Rendering/WebGPU/ViewNodeFactory.js +1 -2
- package/Rendering/WebGPU/Volume.js +1 -2
- package/Rendering/WebGPU/VolumePass.js +2 -3
- package/Rendering/WebGPU/VolumePassFSQ.js +4 -4
- package/Rendering/WebGPU.js +1 -1
- package/Rendering/index.js +1 -1
- package/ThirdParty/index.js +2 -2
- package/Utilities/DataGenerator/convert-cli.js +10 -8
- package/Utilities/ExampleRunner/example-runner-cli.js +2 -1
- package/Utilities/ExampleRunner/template-config.js +8 -6
- package/Utilities/TestResults/TESTS-Chrome_Headless_93.0.4577.63_(Linux_x86_64).xml +1058 -1058
- package/Utilities/XMLConverter/xml2json-cli.js +5 -4
- package/Widgets/Core/AbstractWidget/Constants.js +1 -2
- package/Widgets/Core/AbstractWidget.js +1 -2
- package/Widgets/Core/AbstractWidgetFactory.js +2 -3
- package/Widgets/Core/StateBuilder/boundsMixin.js +1 -2
- package/Widgets/Core/StateBuilder/colorMixin.js +1 -2
- package/Widgets/Core/StateBuilder/cornerMixin.js +1 -2
- package/Widgets/Core/StateBuilder/directionMixin.js +1 -2
- package/Widgets/Core/StateBuilder/manipulatorMixin.js +1 -2
- package/Widgets/Core/StateBuilder/nameMixin.js +1 -2
- package/Widgets/Core/StateBuilder/orientationMixin.js +1 -2
- package/Widgets/Core/StateBuilder/originMixin.js +1 -2
- package/Widgets/Core/StateBuilder/scale1Mixin.js +1 -2
- package/Widgets/Core/StateBuilder/scale3Mixin.js +1 -2
- package/Widgets/Core/StateBuilder/shapeMixin.js +1 -2
- package/Widgets/Core/StateBuilder/textMixin.js +1 -2
- package/Widgets/Core/StateBuilder/visibleMixin.js +1 -2
- package/Widgets/Core/StateBuilder.js +1 -2
- package/Widgets/Core/WidgetManager/Constants.js +1 -2
- package/Widgets/Core/WidgetManager.js +1 -2
- package/Widgets/Core/WidgetState.js +1 -2
- package/Widgets/Core.js +1 -1
- package/Widgets/Manipulators/LineManipulator.js +1 -2
- package/Widgets/Manipulators/PlaneManipulator.js +1 -2
- package/Widgets/Manipulators/TrackballManipulator.js +1 -2
- package/Widgets/Manipulators.js +1 -1
- package/Widgets/Representations/ArrowHandleRepresentation.js +2 -3
- package/Widgets/Representations/CircleContextRepresentation.js +1 -2
- package/Widgets/Representations/ContextRepresentation.js +2 -3
- package/Widgets/Representations/ConvexFaceContextRepresentation.js +1 -2
- package/Widgets/Representations/CroppingOutlineRepresentation.js +1 -2
- package/Widgets/Representations/CubeHandleRepresentation.js +1 -2
- package/Widgets/Representations/HandleRepresentation.js +2 -3
- package/Widgets/Representations/ImplicitPlaneRepresentation.js +1 -2
- package/Widgets/Representations/OutlineContextRepresentation.js +1 -2
- package/Widgets/Representations/PolyLineRepresentation.js +2 -3
- package/Widgets/Representations/RectangleContextRepresentation.js +1 -2
- package/Widgets/Representations/ResliceCursorContextRepresentation.js +2 -3
- package/Widgets/Representations/SphereHandleRepresentation.js +1 -2
- package/Widgets/Representations/SplineContextRepresentation.js +1 -2
- package/Widgets/Representations/WidgetRepresentation/Constants.js +1 -2
- package/Widgets/Representations/WidgetRepresentation.js +1 -2
- package/Widgets/Representations.js +1 -1
- package/Widgets/SVG/SVGLandmarkRepresentation.js +2 -3
- package/Widgets/SVG/SVGRepresentation.js +3 -2
- package/Widgets/Widgets3D/AngleWidget/behavior.js +1 -1
- package/Widgets/Widgets3D/AngleWidget/state.js +1 -1
- package/Widgets/Widgets3D/AngleWidget.js +1 -2
- package/Widgets/Widgets3D/DistanceWidget/behavior.js +1 -1
- package/Widgets/Widgets3D/DistanceWidget/state.js +1 -1
- package/Widgets/Widgets3D/DistanceWidget.js +1 -2
- package/Widgets/Widgets3D/EllipseWidget/behavior.js +2 -2
- package/Widgets/Widgets3D/EllipseWidget/state.js +1 -1
- package/Widgets/Widgets3D/EllipseWidget.js +2 -3
- package/Widgets/Widgets3D/ImageCroppingWidget/behavior.js +1 -1
- package/Widgets/Widgets3D/ImageCroppingWidget/state.js +1 -1
- package/Widgets/Widgets3D/ImageCroppingWidget.js +1 -2
- package/Widgets/Widgets3D/ImplicitPlaneWidget.js +1 -2
- package/Widgets/Widgets3D/InteractiveOrientationWidget/behavior.js +2 -2
- package/Widgets/Widgets3D/InteractiveOrientationWidget/state.js +1 -2
- package/Widgets/Widgets3D/InteractiveOrientationWidget.js +1 -2
- package/Widgets/Widgets3D/LineWidget/Constants.js +1 -2
- package/Widgets/Widgets3D/LineWidget/behavior.js +2 -2
- package/Widgets/Widgets3D/LineWidget/state.js +1 -1
- package/Widgets/Widgets3D/LineWidget.js +1 -2
- package/Widgets/Widgets3D/PaintWidget.js +1 -2
- package/Widgets/Widgets3D/PolyLineWidget/behavior.js +1 -1
- package/Widgets/Widgets3D/PolyLineWidget/state.js +1 -1
- package/Widgets/Widgets3D/PolyLineWidget.js +1 -2
- package/Widgets/Widgets3D/RectangleWidget/behavior.js +2 -2
- package/Widgets/Widgets3D/RectangleWidget/state.js +1 -1
- package/Widgets/Widgets3D/RectangleWidget.js +2 -3
- package/Widgets/Widgets3D/ResliceCursorWidget/Constants.js +1 -2
- package/Widgets/Widgets3D/ResliceCursorWidget/behavior.js +1 -1
- package/Widgets/Widgets3D/ResliceCursorWidget/state.js +1 -1
- package/Widgets/Widgets3D/ResliceCursorWidget.js +1 -2
- package/Widgets/Widgets3D/ShapeWidget/Constants.js +1 -2
- package/Widgets/Widgets3D/ShapeWidget/behavior.js +2 -2
- package/Widgets/Widgets3D/ShapeWidget.js +1 -2
- package/Widgets/Widgets3D/SplineWidget/behavior.js +1 -1
- package/Widgets/Widgets3D/SplineWidget/state.js +1 -1
- package/Widgets/Widgets3D/SplineWidget.js +1 -2
- package/Widgets/Widgets3D.js +1 -1
- package/Widgets/index.js +1 -1
- package/_vendor/base64-js/index.js_commonjs-exports +1 -0
- package/_vendor/blueimp-md5/js/md5.js_commonjs-module +3 -0
- package/_vendor/define-properties/index.js_commonjs-proxy +1 -1
- package/_vendor/globalthis/implementation.browser.js_commonjs-module +3 -0
- package/_vendor/globalthis/implementation.browser.js_commonjs-proxy +1 -1
- package/_vendor/globalthis/polyfill.js_commonjs-proxy +1 -1
- package/_vendor/globalthis/shim.js_commonjs-proxy +2 -1
- package/_vendor/jszip/dist/jszip.min.js_commonjs-module +3 -0
- package/_vendor/object-keys/implementation.js_commonjs-proxy +1 -1
- package/_vendor/object-keys/index.js_commonjs-proxy +1 -1
- package/_vendor/object-keys/isArguments.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/lib/alea.js_commonjs-module +3 -0
- package/_vendor/seedrandom/lib/alea.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/lib/tychei.js_commonjs-module +3 -0
- package/_vendor/seedrandom/lib/tychei.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/lib/xor128.js_commonjs-module +3 -0
- package/_vendor/seedrandom/lib/xor128.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/lib/xor4096.js_commonjs-module +3 -0
- package/_vendor/seedrandom/lib/xor4096.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/lib/xorshift7.js_commonjs-module +3 -0
- package/_vendor/seedrandom/lib/xorshift7.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/lib/xorwow.js_commonjs-module +3 -0
- package/_vendor/seedrandom/lib/xorwow.js_commonjs-proxy +1 -1
- package/_vendor/seedrandom/seedrandom.js_commonjs-module +3 -0
- package/_vendor/seedrandom/seedrandom.js_commonjs-proxy +1 -1
- package/_vendor/webworker-promise/lib/register.js_commonjs-module +3 -0
- package/_vendor/webworker-promise/lib/tiny-emitter.js_commonjs-proxy +1 -1
- package/_vendor/webworker-promise/src/tiny-emitter.js_commonjs-proxy +1 -0
- package/_vendor/xmlbuilder2/lib/xmlbuilder2.min.js_commonjs-module +3 -0
- package/_virtual/commonjsHelpers.js +3 -4
- package/_virtual/{polyfill-node_buffer.js → polyfill-node.buffer.js} +1 -1
- package/_virtual/{polyfill-node_global.js → polyfill-node.global.js} +0 -0
- package/_virtual/rollup-plugin-worker-loader__module_Sources/Filters/General/PaintFilter/PaintFilter.worker.js +1 -1
- package/_virtual/rollup-plugin-worker-loader__module_Sources/Interaction/Widgets/PiecewiseGaussianWidget/ComputeHistogram.worker.js +1 -1
- package/macros.js +4 -5
- package/package.json +54 -55
- package/vendor/base64-js/index.js +1 -87
- package/vendor/blueimp-md5/js/md5.js +6 -3
- package/vendor/d3-array/src/ascending.js +1 -1
- package/vendor/d3-array/src/bisect.js +2 -1
- package/vendor/d3-array/src/bisector.js +21 -23
- package/vendor/d3-array/src/mode.js +1 -0
- package/vendor/d3-scale/src/continuous.js +2 -2
- package/vendor/d3-time/src/ticks.js +1 -0
- package/vendor/define-properties/index.js +2 -1
- package/vendor/globalthis/implementation.browser.js +4 -9
- package/vendor/globalthis/index.js +13 -6
- package/vendor/globalthis/polyfill.js +6 -3
- package/vendor/globalthis/shim.js +12 -9
- package/vendor/jszip/dist/jszip.min.js +11 -0
- package/vendor/object-keys/index.js +2 -2
- package/vendor/pako/dist/pako.esm.mjs +397 -388
- package/vendor/seedrandom/index.js +28 -21
- package/vendor/seedrandom/lib/alea.js +4 -5
- package/vendor/seedrandom/lib/tychei.js +4 -5
- package/vendor/seedrandom/lib/xor128.js +4 -5
- package/vendor/seedrandom/lib/xor4096.js +4 -5
- package/vendor/seedrandom/lib/xorshift7.js +4 -5
- package/vendor/seedrandom/lib/xorwow.js +4 -5
- package/vendor/seedrandom/seedrandom.js +4 -5
- package/vendor/webworker-promise/lib/register.js +14 -8
- package/vendor/webworker-promise/src/index.js +110 -0
- package/vendor/webworker-promise/src/tiny-emitter.js +51 -0
- package/vendor/xmlbuilder2/lib/xmlbuilder2.min.js +6 -7
- package/vtk.js +2 -3
- package/_vendor/base64-js/index.js_commonjs-proxy +0 -1
- package/_vendor/buffer/index.js_commonjs-proxy +0 -1
- package/_vendor/ieee754/index.js_commonjs-proxy +0 -1
- package/_vendor/immediate/lib/browser.js_commonjs-proxy +0 -1
- package/_vendor/inherits/inherits_browser.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/base64.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/compressedObject.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/compressions.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/crc32.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/defaults.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/external.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/flate.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/generate/ZipFileWorker.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/generate/index.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/load.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/nodejs/NodejsStreamInputAdapter.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/nodejs/NodejsStreamOutputAdapter.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/nodejsUtils.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/object.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/readable-stream-browser.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/reader/ArrayReader.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/reader/DataReader.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/reader/NodeBufferReader.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/reader/StringReader.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/reader/Uint8ArrayReader.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/reader/readerFor.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/signature.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/stream/ConvertWorker.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/stream/Crc32Probe.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/stream/DataLengthProbe.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/stream/DataWorker.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/stream/GenericWorker.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/stream/StreamHelper.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/support.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/utf8.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/utils.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/zipEntries.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/zipEntry.js_commonjs-proxy +0 -1
- package/_vendor/jszip/lib/zipObject.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/index.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/deflate.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/inflate.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/utils/common.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/utils/strings.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/adler32.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/constants.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/crc32.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/deflate.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/gzheader.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/inffast.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/inflate.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/inftrees.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/messages.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/trees.js_commonjs-proxy +0 -1
- package/_vendor/jszip/node_modules/pako/lib/zlib/zstream.js_commonjs-proxy +0 -1
- package/_vendor/lie/lib/browser.js_commonjs-proxy +0 -1
- package/_vendor/safe-buffer/index.js_commonjs-proxy +0 -1
- package/_vendor/set-immediate-shim/index.js_commonjs-proxy +0 -1
- package/_vendor/util/support/isBufferBrowser.js_commonjs-proxy +0 -1
- package/_virtual/_polyfill-node_stream.js_commonjs-proxy.js +0 -6
- package/_virtual/polyfill-node__buffer_list.js +0 -59
- package/_virtual/polyfill-node__stream_duplex.js +0 -44
- package/_virtual/polyfill-node__stream_passthrough.js +0 -15
- package/_virtual/polyfill-node__stream_readable.js +0 -896
- package/_virtual/polyfill-node__stream_transform.js +0 -132
- package/_virtual/polyfill-node__stream_writable.js +0 -480
- package/_virtual/polyfill-node_process.js +0 -225
- package/_virtual/polyfill-node_stream.js +0 -120
- package/vendor/buffer/index.js +0 -2112
- package/vendor/events/events.js +0 -457
- package/vendor/ieee754/index.js +0 -92
- package/vendor/immediate/lib/browser.js +0 -72
- package/vendor/inherits/inherits_browser.js +0 -29
- package/vendor/jszip/lib/base64.js +0 -113
- package/vendor/jszip/lib/compressedObject.js +0 -74
- package/vendor/jszip/lib/compressions.js +0 -20
- package/vendor/jszip/lib/crc32.js +0 -77
- package/vendor/jszip/lib/defaults.js +0 -25
- package/vendor/jszip/lib/external.js +0 -22
- package/vendor/jszip/lib/flate.js +0 -96
- package/vendor/jszip/lib/generate/ZipFileWorker.js +0 -540
- package/vendor/jszip/lib/generate/index.js +0 -61
- package/vendor/jszip/lib/index.js +0 -58
- package/vendor/jszip/lib/load.js +0 -82
- package/vendor/jszip/lib/nodejs/NodejsStreamInputAdapter.js +0 -74
- package/vendor/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +0 -45
- package/vendor/jszip/lib/nodejsUtils.js +0 -59
- package/vendor/jszip/lib/object.js +0 -389
- package/vendor/jszip/lib/readable-stream-browser.js +0 -14
- package/vendor/jszip/lib/reader/ArrayReader.js +0 -58
- package/vendor/jszip/lib/reader/DataReader.js +0 -117
- package/vendor/jszip/lib/reader/NodeBufferReader.js +0 -20
- package/vendor/jszip/lib/reader/StringReader.js +0 -39
- package/vendor/jszip/lib/reader/Uint8ArrayReader.js +0 -23
- package/vendor/jszip/lib/reader/readerFor.js +0 -28
- package/vendor/jszip/lib/signature.js +0 -17
- package/vendor/jszip/lib/stream/ConvertWorker.js +0 -26
- package/vendor/jszip/lib/stream/Crc32Probe.js +0 -24
- package/vendor/jszip/lib/stream/DataLengthProbe.js +0 -28
- package/vendor/jszip/lib/stream/DataWorker.js +0 -116
- package/vendor/jszip/lib/stream/GenericWorker.js +0 -263
- package/vendor/jszip/lib/stream/StreamHelper.js +0 -214
- package/vendor/jszip/lib/support.js +0 -45
- package/vendor/jszip/lib/utf8.js +0 -284
- package/vendor/jszip/lib/utils.js +0 -486
- package/vendor/jszip/lib/zipEntries.js +0 -257
- package/vendor/jszip/lib/zipEntry.js +0 -293
- package/vendor/jszip/lib/zipObject.js +0 -133
- package/vendor/jszip/node_modules/pako/index.js +0 -18
- package/vendor/jszip/node_modules/pako/lib/deflate.js +0 -406
- package/vendor/jszip/node_modules/pako/lib/inflate.js +0 -429
- package/vendor/jszip/node_modules/pako/lib/utils/common.js +0 -110
- package/vendor/jszip/node_modules/pako/lib/utils/strings.js +0 -192
- package/vendor/jszip/node_modules/pako/lib/zlib/adler32.js +0 -51
- package/vendor/jszip/node_modules/pako/lib/zlib/constants.js +0 -68
- package/vendor/jszip/node_modules/pako/lib/zlib/crc32.js +0 -59
- package/vendor/jszip/node_modules/pako/lib/zlib/deflate.js +0 -1892
- package/vendor/jszip/node_modules/pako/lib/zlib/gzheader.js +0 -58
- package/vendor/jszip/node_modules/pako/lib/zlib/inffast.js +0 -345
- package/vendor/jszip/node_modules/pako/lib/zlib/inflate.js +0 -1572
- package/vendor/jszip/node_modules/pako/lib/zlib/inftrees.js +0 -345
- package/vendor/jszip/node_modules/pako/lib/zlib/messages.js +0 -32
- package/vendor/jszip/node_modules/pako/lib/zlib/trees.js +0 -1232
- package/vendor/jszip/node_modules/pako/lib/zlib/zstream.js +0 -47
- package/vendor/lie/lib/browser.js +0 -274
- package/vendor/process/browser.js +0 -190
- package/vendor/safe-buffer/index.js +0 -69
- package/vendor/set-immediate-shim/index.js +0 -8
- package/vendor/string_decoder/lib/string_decoder.js +0 -276
- package/vendor/util/support/isBufferBrowser.js +0 -8
- package/vendor/util/util.js +0 -706
- package/vendor/webworker-promise/lib/index.js +0 -172
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// (C) 1995-2013 Jean-loup Gailly and Mark Adler
|
|
2
|
-
// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
|
|
3
|
-
//
|
|
4
|
-
// This software is provided 'as-is', without any express or implied
|
|
5
|
-
// warranty. In no event will the authors be held liable for any damages
|
|
6
|
-
// arising from the use of this software.
|
|
7
|
-
//
|
|
8
|
-
// Permission is granted to anyone to use this software for any purpose,
|
|
9
|
-
// including commercial applications, and to alter it and redistribute it
|
|
10
|
-
// freely, subject to the following restrictions:
|
|
11
|
-
//
|
|
12
|
-
// 1. The origin of this software must not be misrepresented; you must not
|
|
13
|
-
// claim that you wrote the original software. If you use this software
|
|
14
|
-
// in a product, an acknowledgment in the product documentation would be
|
|
15
|
-
// appreciated but is not required.
|
|
16
|
-
// 2. Altered source versions must be plainly marked as such, and must not be
|
|
17
|
-
// misrepresented as being the original software.
|
|
18
|
-
// 3. This notice may not be removed or altered from any source distribution.
|
|
19
|
-
|
|
20
|
-
function ZStream() {
|
|
21
|
-
/* next input byte */
|
|
22
|
-
this.input = null; // JS specific, because we have no pointers
|
|
23
|
-
this.next_in = 0;
|
|
24
|
-
/* number of bytes available at input */
|
|
25
|
-
this.avail_in = 0;
|
|
26
|
-
/* total number of input bytes read so far */
|
|
27
|
-
this.total_in = 0;
|
|
28
|
-
/* next output byte should be put there */
|
|
29
|
-
this.output = null; // JS specific, because we have no pointers
|
|
30
|
-
this.next_out = 0;
|
|
31
|
-
/* remaining free space at output */
|
|
32
|
-
this.avail_out = 0;
|
|
33
|
-
/* total number of bytes output so far */
|
|
34
|
-
this.total_out = 0;
|
|
35
|
-
/* last error message, NULL if no error */
|
|
36
|
-
this.msg = ''/*Z_NULL*/;
|
|
37
|
-
/* not visible by applications */
|
|
38
|
-
this.state = null;
|
|
39
|
-
/* best guess about the data type: binary or text */
|
|
40
|
-
this.data_type = 2/*Z_UNKNOWN*/;
|
|
41
|
-
/* adler32 value of the uncompressed data */
|
|
42
|
-
this.adler = 0;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
var zstream = ZStream;
|
|
46
|
-
|
|
47
|
-
export { zstream as z };
|
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
import { b as browser$1 } from '../../immediate/lib/browser.js';
|
|
2
|
-
|
|
3
|
-
/* istanbul ignore next */
|
|
4
|
-
function INTERNAL() {}
|
|
5
|
-
|
|
6
|
-
var handlers = {};
|
|
7
|
-
|
|
8
|
-
var REJECTED = ['REJECTED'];
|
|
9
|
-
var FULFILLED = ['FULFILLED'];
|
|
10
|
-
var PENDING = ['PENDING'];
|
|
11
|
-
|
|
12
|
-
var browser = Promise$1;
|
|
13
|
-
|
|
14
|
-
function Promise$1(resolver) {
|
|
15
|
-
if (typeof resolver !== 'function') {
|
|
16
|
-
throw new TypeError('resolver must be a function');
|
|
17
|
-
}
|
|
18
|
-
this.state = PENDING;
|
|
19
|
-
this.queue = [];
|
|
20
|
-
this.outcome = void 0;
|
|
21
|
-
if (resolver !== INTERNAL) {
|
|
22
|
-
safelyResolveThenable(this, resolver);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
Promise$1.prototype["finally"] = function (callback) {
|
|
27
|
-
if (typeof callback !== 'function') {
|
|
28
|
-
return this;
|
|
29
|
-
}
|
|
30
|
-
var p = this.constructor;
|
|
31
|
-
return this.then(resolve, reject);
|
|
32
|
-
|
|
33
|
-
function resolve(value) {
|
|
34
|
-
function yes () {
|
|
35
|
-
return value;
|
|
36
|
-
}
|
|
37
|
-
return p.resolve(callback()).then(yes);
|
|
38
|
-
}
|
|
39
|
-
function reject(reason) {
|
|
40
|
-
function no () {
|
|
41
|
-
throw reason;
|
|
42
|
-
}
|
|
43
|
-
return p.resolve(callback()).then(no);
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
Promise$1.prototype["catch"] = function (onRejected) {
|
|
47
|
-
return this.then(null, onRejected);
|
|
48
|
-
};
|
|
49
|
-
Promise$1.prototype.then = function (onFulfilled, onRejected) {
|
|
50
|
-
if (typeof onFulfilled !== 'function' && this.state === FULFILLED ||
|
|
51
|
-
typeof onRejected !== 'function' && this.state === REJECTED) {
|
|
52
|
-
return this;
|
|
53
|
-
}
|
|
54
|
-
var promise = new this.constructor(INTERNAL);
|
|
55
|
-
if (this.state !== PENDING) {
|
|
56
|
-
var resolver = this.state === FULFILLED ? onFulfilled : onRejected;
|
|
57
|
-
unwrap(promise, resolver, this.outcome);
|
|
58
|
-
} else {
|
|
59
|
-
this.queue.push(new QueueItem(promise, onFulfilled, onRejected));
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
return promise;
|
|
63
|
-
};
|
|
64
|
-
function QueueItem(promise, onFulfilled, onRejected) {
|
|
65
|
-
this.promise = promise;
|
|
66
|
-
if (typeof onFulfilled === 'function') {
|
|
67
|
-
this.onFulfilled = onFulfilled;
|
|
68
|
-
this.callFulfilled = this.otherCallFulfilled;
|
|
69
|
-
}
|
|
70
|
-
if (typeof onRejected === 'function') {
|
|
71
|
-
this.onRejected = onRejected;
|
|
72
|
-
this.callRejected = this.otherCallRejected;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
QueueItem.prototype.callFulfilled = function (value) {
|
|
76
|
-
handlers.resolve(this.promise, value);
|
|
77
|
-
};
|
|
78
|
-
QueueItem.prototype.otherCallFulfilled = function (value) {
|
|
79
|
-
unwrap(this.promise, this.onFulfilled, value);
|
|
80
|
-
};
|
|
81
|
-
QueueItem.prototype.callRejected = function (value) {
|
|
82
|
-
handlers.reject(this.promise, value);
|
|
83
|
-
};
|
|
84
|
-
QueueItem.prototype.otherCallRejected = function (value) {
|
|
85
|
-
unwrap(this.promise, this.onRejected, value);
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
function unwrap(promise, func, value) {
|
|
89
|
-
browser$1(function () {
|
|
90
|
-
var returnValue;
|
|
91
|
-
try {
|
|
92
|
-
returnValue = func(value);
|
|
93
|
-
} catch (e) {
|
|
94
|
-
return handlers.reject(promise, e);
|
|
95
|
-
}
|
|
96
|
-
if (returnValue === promise) {
|
|
97
|
-
handlers.reject(promise, new TypeError('Cannot resolve promise with itself'));
|
|
98
|
-
} else {
|
|
99
|
-
handlers.resolve(promise, returnValue);
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
handlers.resolve = function (self, value) {
|
|
105
|
-
var result = tryCatch(getThen, value);
|
|
106
|
-
if (result.status === 'error') {
|
|
107
|
-
return handlers.reject(self, result.value);
|
|
108
|
-
}
|
|
109
|
-
var thenable = result.value;
|
|
110
|
-
|
|
111
|
-
if (thenable) {
|
|
112
|
-
safelyResolveThenable(self, thenable);
|
|
113
|
-
} else {
|
|
114
|
-
self.state = FULFILLED;
|
|
115
|
-
self.outcome = value;
|
|
116
|
-
var i = -1;
|
|
117
|
-
var len = self.queue.length;
|
|
118
|
-
while (++i < len) {
|
|
119
|
-
self.queue[i].callFulfilled(value);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
return self;
|
|
123
|
-
};
|
|
124
|
-
handlers.reject = function (self, error) {
|
|
125
|
-
self.state = REJECTED;
|
|
126
|
-
self.outcome = error;
|
|
127
|
-
var i = -1;
|
|
128
|
-
var len = self.queue.length;
|
|
129
|
-
while (++i < len) {
|
|
130
|
-
self.queue[i].callRejected(error);
|
|
131
|
-
}
|
|
132
|
-
return self;
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
function getThen(obj) {
|
|
136
|
-
// Make sure we only access the accessor once as required by the spec
|
|
137
|
-
var then = obj && obj.then;
|
|
138
|
-
if (obj && (typeof obj === 'object' || typeof obj === 'function') && typeof then === 'function') {
|
|
139
|
-
return function appyThen() {
|
|
140
|
-
then.apply(obj, arguments);
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
function safelyResolveThenable(self, thenable) {
|
|
146
|
-
// Either fulfill, reject or reject with error
|
|
147
|
-
var called = false;
|
|
148
|
-
function onError(value) {
|
|
149
|
-
if (called) {
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
called = true;
|
|
153
|
-
handlers.reject(self, value);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
function onSuccess(value) {
|
|
157
|
-
if (called) {
|
|
158
|
-
return;
|
|
159
|
-
}
|
|
160
|
-
called = true;
|
|
161
|
-
handlers.resolve(self, value);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
function tryToUnwrap() {
|
|
165
|
-
thenable(onSuccess, onError);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
var result = tryCatch(tryToUnwrap);
|
|
169
|
-
if (result.status === 'error') {
|
|
170
|
-
onError(result.value);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
function tryCatch(func, value) {
|
|
175
|
-
var out = {};
|
|
176
|
-
try {
|
|
177
|
-
out.value = func(value);
|
|
178
|
-
out.status = 'success';
|
|
179
|
-
} catch (e) {
|
|
180
|
-
out.status = 'error';
|
|
181
|
-
out.value = e;
|
|
182
|
-
}
|
|
183
|
-
return out;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
Promise$1.resolve = resolve;
|
|
187
|
-
function resolve(value) {
|
|
188
|
-
if (value instanceof this) {
|
|
189
|
-
return value;
|
|
190
|
-
}
|
|
191
|
-
return handlers.resolve(new this(INTERNAL), value);
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
Promise$1.reject = reject;
|
|
195
|
-
function reject(reason) {
|
|
196
|
-
var promise = new this(INTERNAL);
|
|
197
|
-
return handlers.reject(promise, reason);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
Promise$1.all = all;
|
|
201
|
-
function all(iterable) {
|
|
202
|
-
var self = this;
|
|
203
|
-
if (Object.prototype.toString.call(iterable) !== '[object Array]') {
|
|
204
|
-
return this.reject(new TypeError('must be an array'));
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
var len = iterable.length;
|
|
208
|
-
var called = false;
|
|
209
|
-
if (!len) {
|
|
210
|
-
return this.resolve([]);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
var values = new Array(len);
|
|
214
|
-
var resolved = 0;
|
|
215
|
-
var i = -1;
|
|
216
|
-
var promise = new this(INTERNAL);
|
|
217
|
-
|
|
218
|
-
while (++i < len) {
|
|
219
|
-
allResolver(iterable[i], i);
|
|
220
|
-
}
|
|
221
|
-
return promise;
|
|
222
|
-
function allResolver(value, i) {
|
|
223
|
-
self.resolve(value).then(resolveFromAll, function (error) {
|
|
224
|
-
if (!called) {
|
|
225
|
-
called = true;
|
|
226
|
-
handlers.reject(promise, error);
|
|
227
|
-
}
|
|
228
|
-
});
|
|
229
|
-
function resolveFromAll(outValue) {
|
|
230
|
-
values[i] = outValue;
|
|
231
|
-
if (++resolved === len && !called) {
|
|
232
|
-
called = true;
|
|
233
|
-
handlers.resolve(promise, values);
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
Promise$1.race = race;
|
|
240
|
-
function race(iterable) {
|
|
241
|
-
var self = this;
|
|
242
|
-
if (Object.prototype.toString.call(iterable) !== '[object Array]') {
|
|
243
|
-
return this.reject(new TypeError('must be an array'));
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
var len = iterable.length;
|
|
247
|
-
var called = false;
|
|
248
|
-
if (!len) {
|
|
249
|
-
return this.resolve([]);
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
var i = -1;
|
|
253
|
-
var promise = new this(INTERNAL);
|
|
254
|
-
|
|
255
|
-
while (++i < len) {
|
|
256
|
-
resolver(iterable[i]);
|
|
257
|
-
}
|
|
258
|
-
return promise;
|
|
259
|
-
function resolver(value) {
|
|
260
|
-
self.resolve(value).then(function (response) {
|
|
261
|
-
if (!called) {
|
|
262
|
-
called = true;
|
|
263
|
-
handlers.resolve(promise, response);
|
|
264
|
-
}
|
|
265
|
-
}, function (error) {
|
|
266
|
-
if (!called) {
|
|
267
|
-
called = true;
|
|
268
|
-
handlers.reject(promise, error);
|
|
269
|
-
}
|
|
270
|
-
});
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
export { browser as b };
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
import { c as createCommonjsModule } from '../../_virtual/commonjsHelpers.js';
|
|
2
|
-
|
|
3
|
-
var browser = createCommonjsModule(function (module) {
|
|
4
|
-
// shim for using process in browser
|
|
5
|
-
var process = module.exports = {};
|
|
6
|
-
|
|
7
|
-
// cached from whatever global is present so that test runners that stub it
|
|
8
|
-
// don't break things. But we need to wrap it in a try catch in case it is
|
|
9
|
-
// wrapped in strict mode code which doesn't define any globals. It's inside a
|
|
10
|
-
// function because try/catches deoptimize in certain engines.
|
|
11
|
-
|
|
12
|
-
var cachedSetTimeout;
|
|
13
|
-
var cachedClearTimeout;
|
|
14
|
-
|
|
15
|
-
function defaultSetTimout() {
|
|
16
|
-
throw new Error('setTimeout has not been defined');
|
|
17
|
-
}
|
|
18
|
-
function defaultClearTimeout () {
|
|
19
|
-
throw new Error('clearTimeout has not been defined');
|
|
20
|
-
}
|
|
21
|
-
(function () {
|
|
22
|
-
try {
|
|
23
|
-
if (typeof setTimeout === 'function') {
|
|
24
|
-
cachedSetTimeout = setTimeout;
|
|
25
|
-
} else {
|
|
26
|
-
cachedSetTimeout = defaultSetTimout;
|
|
27
|
-
}
|
|
28
|
-
} catch (e) {
|
|
29
|
-
cachedSetTimeout = defaultSetTimout;
|
|
30
|
-
}
|
|
31
|
-
try {
|
|
32
|
-
if (typeof clearTimeout === 'function') {
|
|
33
|
-
cachedClearTimeout = clearTimeout;
|
|
34
|
-
} else {
|
|
35
|
-
cachedClearTimeout = defaultClearTimeout;
|
|
36
|
-
}
|
|
37
|
-
} catch (e) {
|
|
38
|
-
cachedClearTimeout = defaultClearTimeout;
|
|
39
|
-
}
|
|
40
|
-
} ());
|
|
41
|
-
function runTimeout(fun) {
|
|
42
|
-
if (cachedSetTimeout === setTimeout) {
|
|
43
|
-
//normal enviroments in sane situations
|
|
44
|
-
return setTimeout(fun, 0);
|
|
45
|
-
}
|
|
46
|
-
// if setTimeout wasn't available but was latter defined
|
|
47
|
-
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
|
48
|
-
cachedSetTimeout = setTimeout;
|
|
49
|
-
return setTimeout(fun, 0);
|
|
50
|
-
}
|
|
51
|
-
try {
|
|
52
|
-
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
53
|
-
return cachedSetTimeout(fun, 0);
|
|
54
|
-
} catch(e){
|
|
55
|
-
try {
|
|
56
|
-
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
57
|
-
return cachedSetTimeout.call(null, fun, 0);
|
|
58
|
-
} catch(e){
|
|
59
|
-
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
|
|
60
|
-
return cachedSetTimeout.call(this, fun, 0);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
function runClearTimeout(marker) {
|
|
67
|
-
if (cachedClearTimeout === clearTimeout) {
|
|
68
|
-
//normal enviroments in sane situations
|
|
69
|
-
return clearTimeout(marker);
|
|
70
|
-
}
|
|
71
|
-
// if clearTimeout wasn't available but was latter defined
|
|
72
|
-
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
|
73
|
-
cachedClearTimeout = clearTimeout;
|
|
74
|
-
return clearTimeout(marker);
|
|
75
|
-
}
|
|
76
|
-
try {
|
|
77
|
-
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
78
|
-
return cachedClearTimeout(marker);
|
|
79
|
-
} catch (e){
|
|
80
|
-
try {
|
|
81
|
-
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
82
|
-
return cachedClearTimeout.call(null, marker);
|
|
83
|
-
} catch (e){
|
|
84
|
-
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
|
|
85
|
-
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
|
|
86
|
-
return cachedClearTimeout.call(this, marker);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
93
|
-
var queue = [];
|
|
94
|
-
var draining = false;
|
|
95
|
-
var currentQueue;
|
|
96
|
-
var queueIndex = -1;
|
|
97
|
-
|
|
98
|
-
function cleanUpNextTick() {
|
|
99
|
-
if (!draining || !currentQueue) {
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
draining = false;
|
|
103
|
-
if (currentQueue.length) {
|
|
104
|
-
queue = currentQueue.concat(queue);
|
|
105
|
-
} else {
|
|
106
|
-
queueIndex = -1;
|
|
107
|
-
}
|
|
108
|
-
if (queue.length) {
|
|
109
|
-
drainQueue();
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
function drainQueue() {
|
|
114
|
-
if (draining) {
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
var timeout = runTimeout(cleanUpNextTick);
|
|
118
|
-
draining = true;
|
|
119
|
-
|
|
120
|
-
var len = queue.length;
|
|
121
|
-
while(len) {
|
|
122
|
-
currentQueue = queue;
|
|
123
|
-
queue = [];
|
|
124
|
-
while (++queueIndex < len) {
|
|
125
|
-
if (currentQueue) {
|
|
126
|
-
currentQueue[queueIndex].run();
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
queueIndex = -1;
|
|
130
|
-
len = queue.length;
|
|
131
|
-
}
|
|
132
|
-
currentQueue = null;
|
|
133
|
-
draining = false;
|
|
134
|
-
runClearTimeout(timeout);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
process.nextTick = function (fun) {
|
|
138
|
-
var args = new Array(arguments.length - 1);
|
|
139
|
-
if (arguments.length > 1) {
|
|
140
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
141
|
-
args[i - 1] = arguments[i];
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
queue.push(new Item(fun, args));
|
|
145
|
-
if (queue.length === 1 && !draining) {
|
|
146
|
-
runTimeout(drainQueue);
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
// v8 likes predictible objects
|
|
151
|
-
function Item(fun, array) {
|
|
152
|
-
this.fun = fun;
|
|
153
|
-
this.array = array;
|
|
154
|
-
}
|
|
155
|
-
Item.prototype.run = function () {
|
|
156
|
-
this.fun.apply(null, this.array);
|
|
157
|
-
};
|
|
158
|
-
process.title = 'browser';
|
|
159
|
-
process.browser = true;
|
|
160
|
-
process.env = {};
|
|
161
|
-
process.argv = [];
|
|
162
|
-
process.version = ''; // empty string to avoid regexp issues
|
|
163
|
-
process.versions = {};
|
|
164
|
-
|
|
165
|
-
function noop() {}
|
|
166
|
-
|
|
167
|
-
process.on = noop;
|
|
168
|
-
process.addListener = noop;
|
|
169
|
-
process.once = noop;
|
|
170
|
-
process.off = noop;
|
|
171
|
-
process.removeListener = noop;
|
|
172
|
-
process.removeAllListeners = noop;
|
|
173
|
-
process.emit = noop;
|
|
174
|
-
process.prependListener = noop;
|
|
175
|
-
process.prependOnceListener = noop;
|
|
176
|
-
|
|
177
|
-
process.listeners = function (name) { return [] };
|
|
178
|
-
|
|
179
|
-
process.binding = function (name) {
|
|
180
|
-
throw new Error('process.binding is not supported');
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
process.cwd = function () { return '/' };
|
|
184
|
-
process.chdir = function (dir) {
|
|
185
|
-
throw new Error('process.chdir is not supported');
|
|
186
|
-
};
|
|
187
|
-
process.umask = function() { return 0; };
|
|
188
|
-
});
|
|
189
|
-
|
|
190
|
-
export { browser as b };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { c as createCommonjsModule } from '../../_virtual/commonjsHelpers.js';
|
|
2
|
-
import { b as buffer } from '../buffer/index.js';
|
|
3
|
-
|
|
4
|
-
/* eslint-disable node/no-deprecated-api */
|
|
5
|
-
|
|
6
|
-
var safeBuffer = createCommonjsModule(function (module, exports) {
|
|
7
|
-
var Buffer = buffer.Buffer;
|
|
8
|
-
|
|
9
|
-
// alternative to using Object.keys for old browsers
|
|
10
|
-
function copyProps (src, dst) {
|
|
11
|
-
for (var key in src) {
|
|
12
|
-
dst[key] = src[key];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {
|
|
16
|
-
module.exports = buffer;
|
|
17
|
-
} else {
|
|
18
|
-
// Copy properties from require('buffer')
|
|
19
|
-
copyProps(buffer, exports);
|
|
20
|
-
exports.Buffer = SafeBuffer;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
function SafeBuffer (arg, encodingOrOffset, length) {
|
|
24
|
-
return Buffer(arg, encodingOrOffset, length)
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Copy static methods from Buffer
|
|
28
|
-
copyProps(Buffer, SafeBuffer);
|
|
29
|
-
|
|
30
|
-
SafeBuffer.from = function (arg, encodingOrOffset, length) {
|
|
31
|
-
if (typeof arg === 'number') {
|
|
32
|
-
throw new TypeError('Argument must not be a number')
|
|
33
|
-
}
|
|
34
|
-
return Buffer(arg, encodingOrOffset, length)
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
SafeBuffer.alloc = function (size, fill, encoding) {
|
|
38
|
-
if (typeof size !== 'number') {
|
|
39
|
-
throw new TypeError('Argument must be a number')
|
|
40
|
-
}
|
|
41
|
-
var buf = Buffer(size);
|
|
42
|
-
if (fill !== undefined) {
|
|
43
|
-
if (typeof encoding === 'string') {
|
|
44
|
-
buf.fill(fill, encoding);
|
|
45
|
-
} else {
|
|
46
|
-
buf.fill(fill);
|
|
47
|
-
}
|
|
48
|
-
} else {
|
|
49
|
-
buf.fill(0);
|
|
50
|
-
}
|
|
51
|
-
return buf
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
SafeBuffer.allocUnsafe = function (size) {
|
|
55
|
-
if (typeof size !== 'number') {
|
|
56
|
-
throw new TypeError('Argument must be a number')
|
|
57
|
-
}
|
|
58
|
-
return Buffer(size)
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
SafeBuffer.allocUnsafeSlow = function (size) {
|
|
62
|
-
if (typeof size !== 'number') {
|
|
63
|
-
throw new TypeError('Argument must be a number')
|
|
64
|
-
}
|
|
65
|
-
return buffer.SlowBuffer(size)
|
|
66
|
-
};
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
export { safeBuffer as s };
|