@kitware/vtk.js 19.2.11 → 19.4.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.
Files changed (724) hide show
  1. package/Common/Core/Base64.js +1 -1
  2. package/Common/Core/CellArray.js +2 -3
  3. package/Common/Core/ClassHierarchy.js +1 -1
  4. package/Common/Core/DataArray/Constants.js +1 -2
  5. package/Common/Core/DataArray.js +3 -4
  6. package/Common/Core/Endian.js +1 -2
  7. package/Common/Core/HalfFloat.d.ts +24 -0
  8. package/Common/Core/HalfFloat.js +80 -0
  9. package/Common/Core/ImageHelper.js +1 -1
  10. package/Common/Core/LookupTable.js +1 -2
  11. package/Common/Core/MatrixBuilder.js +1 -1
  12. package/Common/Core/Points.js +1 -2
  13. package/Common/Core/PriorityQueue.js +1 -2
  14. package/Common/Core/ProgressHandler.js +1 -2
  15. package/Common/Core/ScalarsToColors/Constants.js +1 -2
  16. package/Common/Core/ScalarsToColors.js +2 -3
  17. package/Common/Core/StringArray.js +1 -2
  18. package/Common/Core/URLExtract.js +1 -1
  19. package/Common/Core/VariantArray.js +1 -2
  20. package/Common/Core.js +3 -1
  21. package/Common/DataModel/BoundingBox.js +2 -3
  22. package/Common/DataModel/Box.js +2 -3
  23. package/Common/DataModel/CardinalSpline1D.js +1 -2
  24. package/Common/DataModel/Cell.js +1 -2
  25. package/Common/DataModel/CellLinks.js +26 -27
  26. package/Common/DataModel/CellTypes/Constants.js +1 -2
  27. package/Common/DataModel/CellTypes.js +2 -3
  28. package/Common/DataModel/Cone.js +1 -2
  29. package/Common/DataModel/Cylinder.js +2 -3
  30. package/Common/DataModel/DataSet/Constants.js +1 -2
  31. package/Common/DataModel/DataSet.js +2 -3
  32. package/Common/DataModel/DataSetAttributes/Constants.js +1 -2
  33. package/Common/DataModel/DataSetAttributes/FieldData.js +1 -2
  34. package/Common/DataModel/DataSetAttributes.js +2 -3
  35. package/Common/DataModel/ITKHelper.js +1 -1
  36. package/Common/DataModel/ImageData.js +1 -2
  37. package/Common/DataModel/ImplicitBoolean/Constants.js +1 -2
  38. package/Common/DataModel/ImplicitBoolean.js +2 -3
  39. package/Common/DataModel/KochanekSpline1D.js +1 -2
  40. package/Common/DataModel/Line/Constants.js +1 -2
  41. package/Common/DataModel/Line.js +2 -3
  42. package/Common/DataModel/Molecule.js +1 -2
  43. package/Common/DataModel/PiecewiseFunction.js +1 -2
  44. package/Common/DataModel/Plane.js +2 -3
  45. package/Common/DataModel/PointSet.js +1 -2
  46. package/Common/DataModel/PolyData/Constants.js +1 -2
  47. package/Common/DataModel/PolyData.js +1 -2
  48. package/Common/DataModel/Polygon.js +1 -2
  49. package/Common/DataModel/SelectionNode/Constants.js +1 -2
  50. package/Common/DataModel/SelectionNode.js +2 -3
  51. package/Common/DataModel/Sphere.js +2 -3
  52. package/Common/DataModel/Spline1D.js +1 -2
  53. package/Common/DataModel/Spline3D/Constants.js +1 -2
  54. package/Common/DataModel/Spline3D.js +1 -2
  55. package/Common/DataModel/StructuredData/Constants.js +1 -2
  56. package/Common/DataModel/StructuredData.js +2 -3
  57. package/Common/DataModel/Triangle.js +2 -3
  58. package/Common/DataModel.js +1 -1
  59. package/Common/System/MobileVR/headsets.js +1 -1
  60. package/Common/System/MobileVR.js +1 -1
  61. package/Common/System/TimerLog.js +1 -2
  62. package/Common/System.js +1 -1
  63. package/Common/Transform/LandmarkTransform/Constants.js +1 -2
  64. package/Common/Transform/LandmarkTransform.js +2 -3
  65. package/Common/Transform.js +1 -1
  66. package/Common/index.js +1 -1
  67. package/Filters/Core/Cutter.js +3 -4
  68. package/Filters/Core.js +1 -1
  69. package/Filters/Cornerstone/ImageDataToCornerstoneImage.js +1 -2
  70. package/Filters/Cornerstone.js +1 -1
  71. package/Filters/General/AppendPolyData.js +1 -2
  72. package/Filters/General/Calculator.js +2 -3
  73. package/Filters/General/ClosedPolyLineToSurfaceFilter.js +1 -2
  74. package/Filters/General/ImageCropFilter.js +1 -2
  75. package/Filters/General/ImageMarchingCubes/caseTable.js +1 -1
  76. package/Filters/General/ImageMarchingCubes.js +1 -2
  77. package/Filters/General/ImageMarchingSquares/caseTable.js +1 -1
  78. package/Filters/General/ImageMarchingSquares.js +1 -2
  79. package/Filters/General/ImageOutlineFilter.js +1 -2
  80. package/Filters/General/ImageSliceFilter.js +1 -2
  81. package/Filters/General/ImageStreamline.js +1 -2
  82. package/Filters/General/LineFilter.js +1 -2
  83. package/Filters/General/MoleculeToRepresentation.js +1 -2
  84. package/Filters/General/OutlineFilter.js +1 -2
  85. package/Filters/General/PaintFilter/PaintFilter.worker.js +3 -3
  86. package/Filters/General/PaintFilter.js +3 -4
  87. package/Filters/General/ScalarToRGBA.js +1 -2
  88. package/Filters/General/TriangleFilter.js +1 -2
  89. package/Filters/General/TubeFilter/Constants.js +1 -2
  90. package/Filters/General/TubeFilter.js +1 -2
  91. package/Filters/General/WarpScalar.js +1 -2
  92. package/Filters/General/WindowedSincPolyDataFilter.js +43 -44
  93. package/Filters/General.js +1 -1
  94. package/Filters/Sources/Arrow2DSource/Constants.js +1 -2
  95. package/Filters/Sources/Arrow2DSource.js +2 -3
  96. package/Filters/Sources/ArrowSource.js +1 -2
  97. package/Filters/Sources/CircleSource.js +2 -3
  98. package/Filters/Sources/ConcentricCylinderSource.js +1 -2
  99. package/Filters/Sources/ConeSource.js +1 -2
  100. package/Filters/Sources/CubeSource.js +1 -2
  101. package/Filters/Sources/Cursor3D.js +12 -13
  102. package/Filters/Sources/CylinderSource.js +1 -2
  103. package/Filters/Sources/ImageGridSource.js +1 -2
  104. package/Filters/Sources/LineSource.js +1 -2
  105. package/Filters/Sources/PlaneSource.js +1 -2
  106. package/Filters/Sources/PointSource.js +1 -2
  107. package/Filters/Sources/RTAnalyticSource.js +1 -2
  108. package/Filters/Sources/SLICSource.js +1 -2
  109. package/Filters/Sources/SphereSource.js +1 -2
  110. package/Filters/Sources/ViewFinderSource.js +1 -2
  111. package/Filters/Sources.js +1 -1
  112. package/Filters/Texture/TextureMapToPlane.js +1 -2
  113. package/Filters/Texture/TextureMapToSphere.js +1 -2
  114. package/Filters/Texture.js +1 -1
  115. package/Filters/index.js +1 -1
  116. package/IO/Core/BinaryHelper.js +1 -1
  117. package/IO/Core/DataAccessHelper/HtmlDataAccessHelper.js +1 -1
  118. package/IO/Core/DataAccessHelper/HttpDataAccessHelper.js +1 -1
  119. package/IO/Core/DataAccessHelper/JSZipDataAccessHelper.js +3 -3
  120. package/IO/Core/DataAccessHelper/LiteHttpDataAccessHelper.js +1 -1
  121. package/IO/Core/DataAccessHelper.js +1 -2
  122. package/IO/Core/HttpDataSetReader.js +1 -2
  123. package/IO/Core/HttpDataSetSeriesReader.js +1 -2
  124. package/IO/Core/HttpSceneLoader.js +2 -3
  125. package/IO/Core/ImageStream/DefaultProtocol.js +1 -1
  126. package/IO/Core/ImageStream/ViewStream.js +1 -2
  127. package/IO/Core/ImageStream.js +1 -2
  128. package/IO/Core/ResourceLoader.js +1 -2
  129. package/IO/Core/Serializer/ArraySerializer.js +1 -2
  130. package/IO/Core/Serializer/FieldDataSerializer.js +1 -1
  131. package/IO/Core/Serializer/ImageDataSerializer.js +1 -1
  132. package/IO/Core/Serializer/PolyDataSerializer.js +1 -1
  133. package/IO/Core/Serializer.js +1 -1
  134. package/IO/Core/WSLinkClient.js +1 -2
  135. package/IO/Core/ZipMultiDataSetReader.js +3 -4
  136. package/IO/Core/ZipMultiDataSetWriter.js +3 -4
  137. package/IO/Core.js +1 -1
  138. package/IO/Geometry/DracoReader.js +1 -2
  139. package/IO/Geometry/PLYReader.js +1 -2
  140. package/IO/Geometry/STLReader.js +1 -2
  141. package/IO/Geometry/STLWriter/Constants.js +1 -2
  142. package/IO/Geometry/STLWriter.js +2 -3
  143. package/IO/Geometry.js +1 -1
  144. package/IO/Legacy/LegacyAsciiParser.js +1 -1
  145. package/IO/Legacy/PolyDataReader.js +1 -2
  146. package/IO/Legacy.js +1 -1
  147. package/IO/Misc/ElevationReader.js +1 -2
  148. package/IO/Misc/HttpDataSetLODsLoader.js +1 -2
  149. package/IO/Misc/ITKImageReader.js +1 -2
  150. package/IO/Misc/ITKPolyDataReader.js +1 -2
  151. package/IO/Misc/JSONNucleoReader.js +1 -2
  152. package/IO/Misc/JSONReader.js +1 -2
  153. package/IO/Misc/MTLReader.js +2 -3
  154. package/IO/Misc/OBJReader.js +1 -2
  155. package/IO/Misc/PDBReader.js +1 -2
  156. package/IO/Misc/SkyboxReader.js +3 -4
  157. package/IO/Misc.js +1 -1
  158. package/IO/XML/XMLImageDataReader.js +1 -2
  159. package/IO/XML/XMLImageDataWriter.js +2 -3
  160. package/IO/XML/XMLPolyDataReader.js +1 -2
  161. package/IO/XML/XMLPolyDataWriter.js +2 -3
  162. package/IO/XML/XMLReader.js +1 -2
  163. package/IO/XML/XMLWriter/Constants.js +1 -2
  164. package/IO/XML/XMLWriter.js +4 -4
  165. package/IO/XML.js +1 -1
  166. package/IO/index.js +1 -1
  167. package/Imaging/Core/AbstractImageInterpolator/Constants.js +1 -2
  168. package/Imaging/Core/AbstractImageInterpolator/InterpolationInfo.js +2 -3
  169. package/Imaging/Core/AbstractImageInterpolator.js +2 -3
  170. package/Imaging/Core/ImageInterpolator.js +2 -3
  171. package/Imaging/Core/ImagePointDataIterator.js +1 -2
  172. package/Imaging/Core/ImageReslice/Constants.js +1 -2
  173. package/Imaging/Core/ImageReslice.js +2 -3
  174. package/Imaging/Core.js +1 -1
  175. package/Imaging/Hybrid/SampleFunction.js +2 -3
  176. package/Imaging/Hybrid.js +1 -1
  177. package/Imaging/index.js +1 -1
  178. package/Interaction/Animations/TimeStepBasedAnimationHandler.js +2 -3
  179. package/Interaction/Manipulators/CompositeCameraManipulator.js +1 -2
  180. package/Interaction/Manipulators/CompositeGestureManipulator.js +1 -2
  181. package/Interaction/Manipulators/CompositeKeyboardManipulator.js +1 -2
  182. package/Interaction/Manipulators/CompositeMouseManipulator.js +1 -2
  183. package/Interaction/Manipulators/CompositeVRManipulator.js +1 -2
  184. package/Interaction/Manipulators/GestureCameraManipulator.js +1 -2
  185. package/Interaction/Manipulators/KeyboardCameraManipulator.js +1 -2
  186. package/Interaction/Manipulators/MouseBoxSelectorManipulator.js +3 -4
  187. package/Interaction/Manipulators/MouseCameraAxisRotateManipulator.js +1 -2
  188. package/Interaction/Manipulators/MouseCameraSliceManipulator.js +1 -2
  189. package/Interaction/Manipulators/MouseCameraTrackballFirstPersonManipulator.js +1 -2
  190. package/Interaction/Manipulators/MouseCameraTrackballMultiRotateManipulator.js +1 -2
  191. package/Interaction/Manipulators/MouseCameraTrackballPanManipulator.js +1 -2
  192. package/Interaction/Manipulators/MouseCameraTrackballRollManipulator.js +1 -2
  193. package/Interaction/Manipulators/MouseCameraTrackballRotateManipulator.js +1 -2
  194. package/Interaction/Manipulators/MouseCameraTrackballZoomManipulator.js +1 -2
  195. package/Interaction/Manipulators/MouseCameraTrackballZoomToMouseManipulator.js +1 -2
  196. package/Interaction/Manipulators/MouseCameraUnicamManipulator.js +1 -2
  197. package/Interaction/Manipulators/MouseCameraUnicamRotateManipulator.js +1 -2
  198. package/Interaction/Manipulators/MouseRangeManipulator.js +1 -2
  199. package/Interaction/Manipulators/VRButtonPanManipulator.js +1 -2
  200. package/Interaction/Manipulators.js +1 -1
  201. package/Interaction/Misc/DeviceOrientationToCamera.js +1 -1
  202. package/Interaction/Misc.js +1 -1
  203. package/Interaction/Style/InteractorStyleImage.js +1 -2
  204. package/Interaction/Style/InteractorStyleMPRSlice.js +1 -2
  205. package/Interaction/Style/InteractorStyleManipulator/Presets.js +1 -1
  206. package/Interaction/Style/InteractorStyleManipulator.js +2 -3
  207. package/Interaction/Style/InteractorStyleRemoteMouse.js +2 -3
  208. package/Interaction/Style/InteractorStyleTrackballCamera.js +1 -2
  209. package/Interaction/Style/InteractorStyleUnicam.js +1 -2
  210. package/Interaction/Style.js +1 -1
  211. package/Interaction/UI/CornerAnnotation.js +1 -2
  212. package/Interaction/UI/FPSMonitor.js +2 -3
  213. package/Interaction/UI/Icons.js +1 -1
  214. package/Interaction/UI/Slider/Constants.js +1 -2
  215. package/Interaction/UI/Slider.js +2 -3
  216. package/Interaction/UI/VolumeController.js +1 -2
  217. package/Interaction/UI.js +1 -1
  218. package/Interaction/Widgets/AbstractWidget.js +2 -3
  219. package/Interaction/Widgets/DistanceRepresentation.js +2 -3
  220. package/Interaction/Widgets/DistanceWidget.js +2 -3
  221. package/Interaction/Widgets/HandleRepresentation/Constants.js +1 -2
  222. package/Interaction/Widgets/HandleRepresentation.js +2 -3
  223. package/Interaction/Widgets/HandleWidget/Constants.js +1 -2
  224. package/Interaction/Widgets/HandleWidget.js +2 -3
  225. package/Interaction/Widgets/ImageCroppingRegionsRepresentation.js +1 -2
  226. package/Interaction/Widgets/ImageCroppingRegionsWidget/Constants.js +1 -1
  227. package/Interaction/Widgets/ImageCroppingRegionsWidget.js +2 -3
  228. package/Interaction/Widgets/LabelRepresentation/Constants.js +1 -2
  229. package/Interaction/Widgets/LabelRepresentation.js +3 -4
  230. package/Interaction/Widgets/LabelWidget.js +2 -3
  231. package/Interaction/Widgets/LineRepresentation/Constants.js +1 -2
  232. package/Interaction/Widgets/LineRepresentation.js +2 -3
  233. package/Interaction/Widgets/LineWidget/Constants.js +1 -2
  234. package/Interaction/Widgets/LineWidget.js +2 -3
  235. package/Interaction/Widgets/OrientationMarkerWidget/Constants.js +1 -1
  236. package/Interaction/Widgets/OrientationMarkerWidget.js +2 -3
  237. package/Interaction/Widgets/PiecewiseGaussianWidget/ComputeHistogram.worker.js +3 -3
  238. package/Interaction/Widgets/PiecewiseGaussianWidget.js +15 -16
  239. package/Interaction/Widgets/PointPlacer.js +1 -2
  240. package/Interaction/Widgets/ResliceCursor/ResliceCursor/Constants.js +1 -2
  241. package/Interaction/Widgets/ResliceCursor/ResliceCursor.js +2 -3
  242. package/Interaction/Widgets/ResliceCursor/ResliceCursorActor/Constants.js +1 -2
  243. package/Interaction/Widgets/ResliceCursor/ResliceCursorActor.js +2 -3
  244. package/Interaction/Widgets/ResliceCursor/ResliceCursorLineRepresentation.js +1 -2
  245. package/Interaction/Widgets/ResliceCursor/ResliceCursorPolyDataAlgorithm.js +2 -3
  246. package/Interaction/Widgets/ResliceCursor/ResliceCursorRepresentation.js +1 -2
  247. package/Interaction/Widgets/ResliceCursor/ResliceCursorWidget/Constants.js +1 -2
  248. package/Interaction/Widgets/ResliceCursor/ResliceCursorWidget.js +2 -3
  249. package/Interaction/Widgets/SphereHandleRepresentation.js +2 -3
  250. package/Interaction/Widgets/WidgetRepresentation.js +1 -2
  251. package/Interaction/Widgets.js +1 -1
  252. package/Interaction/index.js +1 -1
  253. package/Proxy/Animation/AbstractAnimationProxy.js +1 -2
  254. package/Proxy/Animation/AnimationProxyManager.js +1 -2
  255. package/Proxy/Animation/TimeStepBasedAnimationHandlerProxy.js +1 -2
  256. package/Proxy/Core/AbstractRepresentationProxy.js +1 -1
  257. package/Proxy/Core/LookupTableProxy/Constants.js +1 -1
  258. package/Proxy/Core/LookupTableProxy.js +1 -2
  259. package/Proxy/Core/PiecewiseFunctionProxy/Constants.js +1 -1
  260. package/Proxy/Core/PiecewiseFunctionProxy.js +2 -3
  261. package/Proxy/Core/ProxyManager/core.js +2 -2
  262. package/Proxy/Core/ProxyManager/properties.js +2 -2
  263. package/Proxy/Core/ProxyManager/state.js +2 -2
  264. package/Proxy/Core/ProxyManager/view.js +1 -1
  265. package/Proxy/Core/ProxyManager.js +1 -2
  266. package/Proxy/Core/SourceProxy.js +1 -2
  267. package/Proxy/Core/View2DProxy.js +1 -2
  268. package/Proxy/Core/ViewProxy.js +4 -4
  269. package/Proxy/Core.js +1 -1
  270. package/Proxy/Representations/GeometryRepresentationProxy.js +1 -2
  271. package/Proxy/Representations/GlyphRepresentationProxy.js +1 -2
  272. package/Proxy/Representations/MoleculeRepresentationProxy.js +1 -2
  273. package/Proxy/Representations/SkyboxRepresentationProxy.js +1 -2
  274. package/Proxy/Representations/SliceRepresentationProxy.js +2 -3
  275. package/Proxy/Representations/SlicedGeometryRepresentationProxy.js +1 -2
  276. package/Proxy/Representations/VolumeRepresentationProxy.js +1 -2
  277. package/Proxy/Representations.js +1 -1
  278. package/Proxy/index.js +1 -1
  279. package/README.md +1 -1
  280. package/Rendering/Core/AbstractMapper.js +1 -2
  281. package/Rendering/Core/AbstractMapper3D.js +1 -2
  282. package/Rendering/Core/AbstractPicker.js +1 -2
  283. package/Rendering/Core/Actor.js +2 -3
  284. package/Rendering/Core/Actor2D.js +1 -2
  285. package/Rendering/Core/AnnotatedCubeActor/Presets.js +1 -1
  286. package/Rendering/Core/AnnotatedCubeActor.js +2 -3
  287. package/Rendering/Core/AxesActor.js +2 -3
  288. package/Rendering/Core/Camera.js +1 -2
  289. package/Rendering/Core/CellPicker.js +2 -3
  290. package/Rendering/Core/ColorTransferFunction/ColorMaps.js +1 -1
  291. package/Rendering/Core/ColorTransferFunction/ColorMapsLite.js +1 -1
  292. package/Rendering/Core/ColorTransferFunction/Constants.js +1 -2
  293. package/Rendering/Core/ColorTransferFunction.js +2 -3
  294. package/Rendering/Core/Coordinate/Constants.js +1 -2
  295. package/Rendering/Core/Coordinate.js +2 -3
  296. package/Rendering/Core/CubeAxesActor.js +2 -3
  297. package/Rendering/Core/Follower.js +2 -3
  298. package/Rendering/Core/Glyph3DMapper/Constants.js +1 -2
  299. package/Rendering/Core/Glyph3DMapper.js +2 -3
  300. package/Rendering/Core/HardwareSelector.js +1 -2
  301. package/Rendering/Core/ImageMapper/Constants.js +1 -2
  302. package/Rendering/Core/ImageMapper.js +2 -3
  303. package/Rendering/Core/ImageProperty/Constants.js +1 -2
  304. package/Rendering/Core/ImageProperty.js +1 -2
  305. package/Rendering/Core/ImageSlice.js +1 -2
  306. package/Rendering/Core/InteractorObserver.js +2 -3
  307. package/Rendering/Core/InteractorStyle/Constants.js +1 -2
  308. package/Rendering/Core/InteractorStyle.js +2 -3
  309. package/Rendering/Core/Light.js +1 -2
  310. package/Rendering/Core/Mapper/CoincidentTopologyHelper.js +1 -2
  311. package/Rendering/Core/Mapper/Constants.js +1 -2
  312. package/Rendering/Core/Mapper/Static.js +1 -2
  313. package/Rendering/Core/Mapper.js +2 -3
  314. package/Rendering/Core/Picker.js +2 -3
  315. package/Rendering/Core/PixelSpaceCallbackMapper.js +1 -2
  316. package/Rendering/Core/PointPicker.js +1 -9
  317. package/Rendering/Core/Prop.js +1 -2
  318. package/Rendering/Core/Prop3D.js +1 -2
  319. package/Rendering/Core/Property/Constants.js +1 -2
  320. package/Rendering/Core/Property.js +2 -3
  321. package/Rendering/Core/Property2D.js +1 -2
  322. package/Rendering/Core/RenderWindow.js +1 -2
  323. package/Rendering/Core/RenderWindowInteractor/Constants.js +1 -2
  324. package/Rendering/Core/RenderWindowInteractor.js +2 -3
  325. package/Rendering/Core/Renderer.js +2 -3
  326. package/Rendering/Core/ScalarBarActor.js +2 -3
  327. package/Rendering/Core/Skybox.js +1 -2
  328. package/Rendering/Core/SphereMapper.js +1 -2
  329. package/Rendering/Core/StickMapper.js +1 -2
  330. package/Rendering/Core/SurfaceLICInterface/Constants.js +1 -2
  331. package/Rendering/Core/SurfaceLICInterface.js +1 -2
  332. package/Rendering/Core/SurfaceLICMapper.js +1 -2
  333. package/Rendering/Core/Texture.js +1 -2
  334. package/Rendering/Core/Viewport.js +1 -2
  335. package/Rendering/Core/Volume.js +1 -2
  336. package/Rendering/Core/VolumeMapper/Constants.js +1 -2
  337. package/Rendering/Core/VolumeMapper.js +1 -2
  338. package/Rendering/Core/VolumeProperty/Constants.js +1 -2
  339. package/Rendering/Core/VolumeProperty.js +2 -3
  340. package/Rendering/Core.js +2 -2
  341. package/Rendering/Misc/CanvasView.js +1 -2
  342. package/Rendering/Misc/FullScreenRenderWindow.js +1 -2
  343. package/Rendering/Misc/GenericRenderWindow.js +1 -2
  344. package/Rendering/Misc/RemoteView.js +1 -2
  345. package/Rendering/Misc/RenderWindowWithControlBar.js +2 -3
  346. package/Rendering/Misc/SynchronizableRenderWindow/vtkObjectManager.js +2 -2
  347. package/Rendering/Misc/SynchronizableRenderWindow.js +3 -4
  348. package/Rendering/Misc/TextureLODsDownloader.js +1 -2
  349. package/Rendering/Misc.js +1 -1
  350. package/Rendering/OpenGL/Actor.js +2 -3
  351. package/Rendering/OpenGL/Actor2D.js +2 -3
  352. package/Rendering/OpenGL/BufferObject/Constants.js +1 -2
  353. package/Rendering/OpenGL/BufferObject.js +2 -3
  354. package/Rendering/OpenGL/Camera.js +2 -3
  355. package/Rendering/OpenGL/CellArrayBufferObject.js +2 -4
  356. package/Rendering/OpenGL/Convolution2DPass.js +1 -2
  357. package/Rendering/OpenGL/ForwardPass.js +1 -2
  358. package/Rendering/OpenGL/Framebuffer.js +2 -3
  359. package/Rendering/OpenGL/Glyph3DMapper.js +3 -4
  360. package/Rendering/OpenGL/HardwareSelector/Constants.js +1 -2
  361. package/Rendering/OpenGL/HardwareSelector.js +2 -3
  362. package/Rendering/OpenGL/Helper.js +1 -2
  363. package/Rendering/OpenGL/ImageMapper.js +2 -3
  364. package/Rendering/OpenGL/ImageSlice.js +2 -3
  365. package/Rendering/OpenGL/PixelSpaceCallbackMapper.js +1 -2
  366. package/Rendering/OpenGL/PolyDataMapper.js +2 -3
  367. package/Rendering/OpenGL/RadialDistortionPass.js +1 -2
  368. package/Rendering/OpenGL/RenderWindow.js +1 -6
  369. package/Rendering/OpenGL/Renderer.js +2 -3
  370. package/Rendering/OpenGL/ReplacementShaderMapper.js +1 -1
  371. package/Rendering/OpenGL/Shader.js +1 -2
  372. package/Rendering/OpenGL/ShaderCache.js +1 -2
  373. package/Rendering/OpenGL/ShaderProgram.js +1 -1
  374. package/Rendering/OpenGL/Skybox.js +2 -3
  375. package/Rendering/OpenGL/SphereMapper.js +2 -3
  376. package/Rendering/OpenGL/StickMapper.js +2 -3
  377. package/Rendering/OpenGL/SurfaceLIC/LineIntegralConvolution2D/pingpong.js +1 -2
  378. package/Rendering/OpenGL/SurfaceLIC/LineIntegralConvolution2D.js +1 -2
  379. package/Rendering/OpenGL/SurfaceLIC/SurfaceLICInterface.js +1 -2
  380. package/Rendering/OpenGL/SurfaceLIC/SurfaceLICMapper.js +3 -4
  381. package/Rendering/OpenGL/SurfaceLIC.js +1 -1
  382. package/Rendering/OpenGL/Texture/Constants.js +1 -2
  383. package/Rendering/OpenGL/Texture.js +3 -4
  384. package/Rendering/OpenGL/TextureUnitManager.js +1 -2
  385. package/Rendering/OpenGL/VertexArrayObject.js +1 -2
  386. package/Rendering/OpenGL/ViewNodeFactory.js +1 -2
  387. package/Rendering/OpenGL/Volume.js +2 -3
  388. package/Rendering/OpenGL/VolumeMapper.js +3 -4
  389. package/Rendering/OpenGL.js +1 -1
  390. package/Rendering/SceneGraph/RenderPass.js +1 -2
  391. package/Rendering/SceneGraph/RenderWindowViewNode.js +1 -2
  392. package/Rendering/SceneGraph/ViewNode.js +1 -1
  393. package/Rendering/SceneGraph/ViewNodeFactory.js +1 -2
  394. package/Rendering/SceneGraph.js +1 -1
  395. package/Rendering/WebGPU/Actor.js +1 -2
  396. package/Rendering/WebGPU/BindGroup.js +1 -2
  397. package/Rendering/WebGPU/Buffer.js +2 -3
  398. package/Rendering/WebGPU/BufferManager/Constants.js +1 -2
  399. package/Rendering/WebGPU/BufferManager.js +3 -4
  400. package/Rendering/WebGPU/Camera.js +1 -2
  401. package/Rendering/WebGPU/Device.js +2 -3
  402. package/Rendering/WebGPU/ForwardPass.js +1 -2
  403. package/Rendering/WebGPU/FullScreenQuad.js +1 -2
  404. package/Rendering/WebGPU/Glyph3DMapper.js +3 -4
  405. package/Rendering/WebGPU/HardwareSelectionPass.js +1 -2
  406. package/Rendering/WebGPU/HardwareSelector.js +1 -2
  407. package/Rendering/WebGPU/MapperHelper.js +1 -2
  408. package/Rendering/WebGPU/OpaquePass.js +2 -4
  409. package/Rendering/WebGPU/OrderIndependentTranslucentPass.js +1 -2
  410. package/Rendering/WebGPU/Pipeline.js +2 -3
  411. package/Rendering/WebGPU/PixelSpaceCallbackMapper.js +1 -2
  412. package/Rendering/WebGPU/PolyDataMapper.js +3 -4
  413. package/Rendering/WebGPU/RenderEncoder.js +2 -3
  414. package/Rendering/WebGPU/RenderWindow.js +11 -3
  415. package/Rendering/WebGPU/Renderer.js +2 -3
  416. package/Rendering/WebGPU/Sampler.js +1 -2
  417. package/Rendering/WebGPU/ShaderCache.js +1 -2
  418. package/Rendering/WebGPU/ShaderDescription.js +1 -2
  419. package/Rendering/WebGPU/ShaderModule.js +1 -1
  420. package/Rendering/WebGPU/SphereMapper.js +1 -2
  421. package/Rendering/WebGPU/StickMapper.js +2 -3
  422. package/Rendering/WebGPU/StorageBuffer.js +1 -2
  423. package/Rendering/WebGPU/Texture.js +18 -10
  424. package/Rendering/WebGPU/TextureManager.js +27 -7
  425. package/Rendering/WebGPU/TextureView.js +19 -4
  426. package/Rendering/WebGPU/Types.js +83 -42
  427. package/Rendering/WebGPU/UniformBuffer.js +1 -2
  428. package/Rendering/WebGPU/VertexInput.js +2 -3
  429. package/Rendering/WebGPU/ViewNodeFactory.js +1 -2
  430. package/Rendering/WebGPU/Volume.js +1 -2
  431. package/Rendering/WebGPU/VolumePass.js +2 -3
  432. package/Rendering/WebGPU/VolumePassFSQ.js +21 -10
  433. package/Rendering/WebGPU.js +1 -1
  434. package/Rendering/index.js +1 -1
  435. package/ThirdParty/index.js +2 -2
  436. package/Utilities/DataGenerator/convert-cli.js +10 -8
  437. package/Utilities/ExampleRunner/example-runner-cli.js +2 -1
  438. package/Utilities/ExampleRunner/template-config.js +8 -6
  439. package/Utilities/TestResults/TESTS-Chrome_Headless_93.0.4577.82_(Linux_x86_64).xml +2251 -0
  440. package/Utilities/XMLConverter/xml2json-cli.js +5 -4
  441. package/Utilities/config/rules-examples.js +1 -1
  442. package/Utilities/config/rules-tests.js +9 -2
  443. package/Utilities/config/rules-vtk.js +1 -1
  444. package/Widgets/Core/AbstractWidget/Constants.js +1 -2
  445. package/Widgets/Core/AbstractWidget.js +1 -2
  446. package/Widgets/Core/AbstractWidgetFactory.js +2 -3
  447. package/Widgets/Core/StateBuilder/boundsMixin.js +1 -2
  448. package/Widgets/Core/StateBuilder/colorMixin.js +1 -2
  449. package/Widgets/Core/StateBuilder/cornerMixin.js +1 -2
  450. package/Widgets/Core/StateBuilder/directionMixin.js +1 -2
  451. package/Widgets/Core/StateBuilder/manipulatorMixin.js +1 -2
  452. package/Widgets/Core/StateBuilder/nameMixin.js +1 -2
  453. package/Widgets/Core/StateBuilder/orientationMixin.js +1 -2
  454. package/Widgets/Core/StateBuilder/originMixin.js +1 -2
  455. package/Widgets/Core/StateBuilder/scale1Mixin.js +1 -2
  456. package/Widgets/Core/StateBuilder/scale3Mixin.js +1 -2
  457. package/Widgets/Core/StateBuilder/shapeMixin.js +1 -2
  458. package/Widgets/Core/StateBuilder/textMixin.js +1 -2
  459. package/Widgets/Core/StateBuilder/visibleMixin.js +1 -2
  460. package/Widgets/Core/StateBuilder.js +1 -2
  461. package/Widgets/Core/WidgetManager/Constants.js +1 -2
  462. package/Widgets/Core/WidgetManager.js +1 -2
  463. package/Widgets/Core/WidgetState.js +1 -2
  464. package/Widgets/Core.js +1 -1
  465. package/Widgets/Manipulators/LineManipulator.js +1 -2
  466. package/Widgets/Manipulators/PlaneManipulator.js +1 -2
  467. package/Widgets/Manipulators/TrackballManipulator.js +1 -2
  468. package/Widgets/Manipulators.js +1 -1
  469. package/Widgets/Representations/ArrowHandleRepresentation.js +2 -3
  470. package/Widgets/Representations/CircleContextRepresentation.js +1 -2
  471. package/Widgets/Representations/ContextRepresentation.js +2 -3
  472. package/Widgets/Representations/ConvexFaceContextRepresentation.js +1 -2
  473. package/Widgets/Representations/CroppingOutlineRepresentation.js +1 -2
  474. package/Widgets/Representations/CubeHandleRepresentation.js +1 -2
  475. package/Widgets/Representations/HandleRepresentation.js +2 -3
  476. package/Widgets/Representations/ImplicitPlaneRepresentation.js +1 -2
  477. package/Widgets/Representations/OutlineContextRepresentation.js +1 -2
  478. package/Widgets/Representations/PolyLineRepresentation.js +2 -3
  479. package/Widgets/Representations/RectangleContextRepresentation.js +1 -2
  480. package/Widgets/Representations/ResliceCursorContextRepresentation.js +2 -3
  481. package/Widgets/Representations/SphereHandleRepresentation.js +1 -2
  482. package/Widgets/Representations/SplineContextRepresentation.js +1 -2
  483. package/Widgets/Representations/WidgetRepresentation/Constants.js +1 -2
  484. package/Widgets/Representations/WidgetRepresentation.js +1 -2
  485. package/Widgets/Representations.js +1 -1
  486. package/Widgets/SVG/SVGLandmarkRepresentation.js +2 -3
  487. package/Widgets/SVG/SVGRepresentation.js +3 -2
  488. package/Widgets/Widgets3D/AngleWidget/behavior.js +1 -1
  489. package/Widgets/Widgets3D/AngleWidget/state.js +1 -1
  490. package/Widgets/Widgets3D/AngleWidget.js +1 -2
  491. package/Widgets/Widgets3D/DistanceWidget/behavior.js +1 -1
  492. package/Widgets/Widgets3D/DistanceWidget/state.js +1 -1
  493. package/Widgets/Widgets3D/DistanceWidget.js +1 -2
  494. package/Widgets/Widgets3D/EllipseWidget/behavior.js +2 -2
  495. package/Widgets/Widgets3D/EllipseWidget/state.js +1 -1
  496. package/Widgets/Widgets3D/EllipseWidget.js +2 -3
  497. package/Widgets/Widgets3D/ImageCroppingWidget/behavior.js +1 -1
  498. package/Widgets/Widgets3D/ImageCroppingWidget/state.js +1 -1
  499. package/Widgets/Widgets3D/ImageCroppingWidget.js +1 -2
  500. package/Widgets/Widgets3D/ImplicitPlaneWidget.js +1 -2
  501. package/Widgets/Widgets3D/InteractiveOrientationWidget/behavior.js +2 -2
  502. package/Widgets/Widgets3D/InteractiveOrientationWidget/state.js +1 -2
  503. package/Widgets/Widgets3D/InteractiveOrientationWidget.js +1 -2
  504. package/Widgets/Widgets3D/LineWidget/Constants.js +1 -2
  505. package/Widgets/Widgets3D/LineWidget/behavior.js +2 -2
  506. package/Widgets/Widgets3D/LineWidget/state.js +1 -1
  507. package/Widgets/Widgets3D/LineWidget.js +1 -2
  508. package/Widgets/Widgets3D/PaintWidget.js +2 -2
  509. package/Widgets/Widgets3D/PolyLineWidget/behavior.js +1 -1
  510. package/Widgets/Widgets3D/PolyLineWidget/state.js +1 -1
  511. package/Widgets/Widgets3D/PolyLineWidget.js +1 -2
  512. package/Widgets/Widgets3D/RectangleWidget/behavior.js +2 -2
  513. package/Widgets/Widgets3D/RectangleWidget/state.js +1 -1
  514. package/Widgets/Widgets3D/RectangleWidget.js +2 -3
  515. package/Widgets/Widgets3D/ResliceCursorWidget/Constants.js +1 -2
  516. package/Widgets/Widgets3D/ResliceCursorWidget/behavior.js +1 -1
  517. package/Widgets/Widgets3D/ResliceCursorWidget/state.js +1 -1
  518. package/Widgets/Widgets3D/ResliceCursorWidget.js +1 -2
  519. package/Widgets/Widgets3D/ShapeWidget/Constants.js +1 -2
  520. package/Widgets/Widgets3D/ShapeWidget/behavior.js +2 -2
  521. package/Widgets/Widgets3D/ShapeWidget.js +1 -2
  522. package/Widgets/Widgets3D/SplineWidget/behavior.js +1 -1
  523. package/Widgets/Widgets3D/SplineWidget/state.js +1 -1
  524. package/Widgets/Widgets3D/SplineWidget.js +1 -2
  525. package/Widgets/Widgets3D.js +1 -1
  526. package/Widgets/index.js +1 -1
  527. package/_vendor/base64-js/index.js_commonjs-exports +1 -0
  528. package/_vendor/blueimp-md5/js/md5.js_commonjs-module +3 -0
  529. package/_vendor/define-properties/index.js_commonjs-proxy +1 -1
  530. package/_vendor/globalthis/implementation.browser.js_commonjs-module +3 -0
  531. package/_vendor/globalthis/implementation.browser.js_commonjs-proxy +1 -1
  532. package/_vendor/globalthis/polyfill.js_commonjs-proxy +1 -1
  533. package/_vendor/globalthis/shim.js_commonjs-proxy +2 -1
  534. package/_vendor/jszip/dist/jszip.min.js_commonjs-module +3 -0
  535. package/_vendor/object-keys/implementation.js_commonjs-proxy +1 -1
  536. package/_vendor/object-keys/index.js_commonjs-proxy +1 -1
  537. package/_vendor/object-keys/isArguments.js_commonjs-proxy +1 -1
  538. package/_vendor/seedrandom/lib/alea.js_commonjs-module +3 -0
  539. package/_vendor/seedrandom/lib/alea.js_commonjs-proxy +1 -1
  540. package/_vendor/seedrandom/lib/tychei.js_commonjs-module +3 -0
  541. package/_vendor/seedrandom/lib/tychei.js_commonjs-proxy +1 -1
  542. package/_vendor/seedrandom/lib/xor128.js_commonjs-module +3 -0
  543. package/_vendor/seedrandom/lib/xor128.js_commonjs-proxy +1 -1
  544. package/_vendor/seedrandom/lib/xor4096.js_commonjs-module +3 -0
  545. package/_vendor/seedrandom/lib/xor4096.js_commonjs-proxy +1 -1
  546. package/_vendor/seedrandom/lib/xorshift7.js_commonjs-module +3 -0
  547. package/_vendor/seedrandom/lib/xorshift7.js_commonjs-proxy +1 -1
  548. package/_vendor/seedrandom/lib/xorwow.js_commonjs-module +3 -0
  549. package/_vendor/seedrandom/lib/xorwow.js_commonjs-proxy +1 -1
  550. package/_vendor/seedrandom/seedrandom.js_commonjs-module +3 -0
  551. package/_vendor/seedrandom/seedrandom.js_commonjs-proxy +1 -1
  552. package/_vendor/webworker-promise/lib/register.js_commonjs-module +3 -0
  553. package/_vendor/webworker-promise/lib/tiny-emitter.js_commonjs-proxy +1 -1
  554. package/_vendor/webworker-promise/src/tiny-emitter.js_commonjs-proxy +1 -0
  555. package/_vendor/xmlbuilder2/lib/xmlbuilder2.min.js_commonjs-module +3 -0
  556. package/_virtual/commonjsHelpers.js +3 -4
  557. package/_virtual/{polyfill-node_buffer.js → polyfill-node.buffer.js} +1 -1
  558. package/_virtual/{polyfill-node_global.js → polyfill-node.global.js} +0 -0
  559. package/_virtual/rollup-plugin-worker-loader__module_Sources/Filters/General/PaintFilter/PaintFilter.worker.js +1 -1
  560. package/_virtual/rollup-plugin-worker-loader__module_Sources/Interaction/Widgets/PiecewiseGaussianWidget/ComputeHistogram.worker.js +1 -1
  561. package/macros.js +4 -5
  562. package/package.json +54 -57
  563. package/vendor/base64-js/index.js +1 -87
  564. package/vendor/blueimp-md5/js/md5.js +6 -3
  565. package/vendor/d3-array/src/ascending.js +1 -1
  566. package/vendor/d3-array/src/bisect.js +2 -1
  567. package/vendor/d3-array/src/bisector.js +21 -23
  568. package/vendor/d3-array/src/mode.js +1 -0
  569. package/vendor/d3-scale/src/continuous.js +2 -2
  570. package/vendor/d3-time/src/ticks.js +1 -0
  571. package/vendor/define-properties/index.js +2 -1
  572. package/vendor/globalthis/implementation.browser.js +4 -9
  573. package/vendor/globalthis/index.js +13 -6
  574. package/vendor/globalthis/polyfill.js +6 -3
  575. package/vendor/globalthis/shim.js +12 -9
  576. package/vendor/jszip/dist/jszip.min.js +11 -0
  577. package/vendor/object-keys/index.js +2 -2
  578. package/vendor/pako/dist/pako.esm.mjs +397 -388
  579. package/vendor/seedrandom/index.js +28 -21
  580. package/vendor/seedrandom/lib/alea.js +4 -5
  581. package/vendor/seedrandom/lib/tychei.js +4 -5
  582. package/vendor/seedrandom/lib/xor128.js +4 -5
  583. package/vendor/seedrandom/lib/xor4096.js +4 -5
  584. package/vendor/seedrandom/lib/xorshift7.js +4 -5
  585. package/vendor/seedrandom/lib/xorwow.js +4 -5
  586. package/vendor/seedrandom/seedrandom.js +4 -5
  587. package/vendor/webworker-promise/lib/register.js +14 -8
  588. package/vendor/webworker-promise/src/index.js +110 -0
  589. package/vendor/webworker-promise/src/tiny-emitter.js +51 -0
  590. package/vendor/xmlbuilder2/lib/xmlbuilder2.min.js +6 -7
  591. package/vtk.js +2 -3
  592. package/Utilities/TestResults/TESTS-Chrome_Headless_93.0.4577.63_(Linux_x86_64).xml +0 -2414
  593. package/_vendor/base64-js/index.js_commonjs-proxy +0 -1
  594. package/_vendor/buffer/index.js_commonjs-proxy +0 -1
  595. package/_vendor/ieee754/index.js_commonjs-proxy +0 -1
  596. package/_vendor/immediate/lib/browser.js_commonjs-proxy +0 -1
  597. package/_vendor/inherits/inherits_browser.js_commonjs-proxy +0 -1
  598. package/_vendor/jszip/lib/base64.js_commonjs-proxy +0 -1
  599. package/_vendor/jszip/lib/compressedObject.js_commonjs-proxy +0 -1
  600. package/_vendor/jszip/lib/compressions.js_commonjs-proxy +0 -1
  601. package/_vendor/jszip/lib/crc32.js_commonjs-proxy +0 -1
  602. package/_vendor/jszip/lib/defaults.js_commonjs-proxy +0 -1
  603. package/_vendor/jszip/lib/external.js_commonjs-proxy +0 -1
  604. package/_vendor/jszip/lib/flate.js_commonjs-proxy +0 -1
  605. package/_vendor/jszip/lib/generate/ZipFileWorker.js_commonjs-proxy +0 -1
  606. package/_vendor/jszip/lib/generate/index.js_commonjs-proxy +0 -1
  607. package/_vendor/jszip/lib/load.js_commonjs-proxy +0 -1
  608. package/_vendor/jszip/lib/nodejs/NodejsStreamInputAdapter.js_commonjs-proxy +0 -1
  609. package/_vendor/jszip/lib/nodejs/NodejsStreamOutputAdapter.js_commonjs-proxy +0 -1
  610. package/_vendor/jszip/lib/nodejsUtils.js_commonjs-proxy +0 -1
  611. package/_vendor/jszip/lib/object.js_commonjs-proxy +0 -1
  612. package/_vendor/jszip/lib/readable-stream-browser.js_commonjs-proxy +0 -1
  613. package/_vendor/jszip/lib/reader/ArrayReader.js_commonjs-proxy +0 -1
  614. package/_vendor/jszip/lib/reader/DataReader.js_commonjs-proxy +0 -1
  615. package/_vendor/jszip/lib/reader/NodeBufferReader.js_commonjs-proxy +0 -1
  616. package/_vendor/jszip/lib/reader/StringReader.js_commonjs-proxy +0 -1
  617. package/_vendor/jszip/lib/reader/Uint8ArrayReader.js_commonjs-proxy +0 -1
  618. package/_vendor/jszip/lib/reader/readerFor.js_commonjs-proxy +0 -1
  619. package/_vendor/jszip/lib/signature.js_commonjs-proxy +0 -1
  620. package/_vendor/jszip/lib/stream/ConvertWorker.js_commonjs-proxy +0 -1
  621. package/_vendor/jszip/lib/stream/Crc32Probe.js_commonjs-proxy +0 -1
  622. package/_vendor/jszip/lib/stream/DataLengthProbe.js_commonjs-proxy +0 -1
  623. package/_vendor/jszip/lib/stream/DataWorker.js_commonjs-proxy +0 -1
  624. package/_vendor/jszip/lib/stream/GenericWorker.js_commonjs-proxy +0 -1
  625. package/_vendor/jszip/lib/stream/StreamHelper.js_commonjs-proxy +0 -1
  626. package/_vendor/jszip/lib/support.js_commonjs-proxy +0 -1
  627. package/_vendor/jszip/lib/utf8.js_commonjs-proxy +0 -1
  628. package/_vendor/jszip/lib/utils.js_commonjs-proxy +0 -1
  629. package/_vendor/jszip/lib/zipEntries.js_commonjs-proxy +0 -1
  630. package/_vendor/jszip/lib/zipEntry.js_commonjs-proxy +0 -1
  631. package/_vendor/jszip/lib/zipObject.js_commonjs-proxy +0 -1
  632. package/_vendor/jszip/node_modules/pako/index.js_commonjs-proxy +0 -1
  633. package/_vendor/jszip/node_modules/pako/lib/deflate.js_commonjs-proxy +0 -1
  634. package/_vendor/jszip/node_modules/pako/lib/inflate.js_commonjs-proxy +0 -1
  635. package/_vendor/jszip/node_modules/pako/lib/utils/common.js_commonjs-proxy +0 -1
  636. package/_vendor/jszip/node_modules/pako/lib/utils/strings.js_commonjs-proxy +0 -1
  637. package/_vendor/jszip/node_modules/pako/lib/zlib/adler32.js_commonjs-proxy +0 -1
  638. package/_vendor/jszip/node_modules/pako/lib/zlib/constants.js_commonjs-proxy +0 -1
  639. package/_vendor/jszip/node_modules/pako/lib/zlib/crc32.js_commonjs-proxy +0 -1
  640. package/_vendor/jszip/node_modules/pako/lib/zlib/deflate.js_commonjs-proxy +0 -1
  641. package/_vendor/jszip/node_modules/pako/lib/zlib/gzheader.js_commonjs-proxy +0 -1
  642. package/_vendor/jszip/node_modules/pako/lib/zlib/inffast.js_commonjs-proxy +0 -1
  643. package/_vendor/jszip/node_modules/pako/lib/zlib/inflate.js_commonjs-proxy +0 -1
  644. package/_vendor/jszip/node_modules/pako/lib/zlib/inftrees.js_commonjs-proxy +0 -1
  645. package/_vendor/jszip/node_modules/pako/lib/zlib/messages.js_commonjs-proxy +0 -1
  646. package/_vendor/jszip/node_modules/pako/lib/zlib/trees.js_commonjs-proxy +0 -1
  647. package/_vendor/jszip/node_modules/pako/lib/zlib/zstream.js_commonjs-proxy +0 -1
  648. package/_vendor/lie/lib/browser.js_commonjs-proxy +0 -1
  649. package/_vendor/safe-buffer/index.js_commonjs-proxy +0 -1
  650. package/_vendor/set-immediate-shim/index.js_commonjs-proxy +0 -1
  651. package/_vendor/util/support/isBufferBrowser.js_commonjs-proxy +0 -1
  652. package/_virtual/_polyfill-node_stream.js_commonjs-proxy.js +0 -6
  653. package/_virtual/polyfill-node__buffer_list.js +0 -59
  654. package/_virtual/polyfill-node__stream_duplex.js +0 -44
  655. package/_virtual/polyfill-node__stream_passthrough.js +0 -15
  656. package/_virtual/polyfill-node__stream_readable.js +0 -896
  657. package/_virtual/polyfill-node__stream_transform.js +0 -132
  658. package/_virtual/polyfill-node__stream_writable.js +0 -480
  659. package/_virtual/polyfill-node_process.js +0 -225
  660. package/_virtual/polyfill-node_stream.js +0 -120
  661. package/vendor/buffer/index.js +0 -2112
  662. package/vendor/events/events.js +0 -457
  663. package/vendor/ieee754/index.js +0 -92
  664. package/vendor/immediate/lib/browser.js +0 -72
  665. package/vendor/inherits/inherits_browser.js +0 -29
  666. package/vendor/jszip/lib/base64.js +0 -113
  667. package/vendor/jszip/lib/compressedObject.js +0 -74
  668. package/vendor/jszip/lib/compressions.js +0 -20
  669. package/vendor/jszip/lib/crc32.js +0 -77
  670. package/vendor/jszip/lib/defaults.js +0 -25
  671. package/vendor/jszip/lib/external.js +0 -22
  672. package/vendor/jszip/lib/flate.js +0 -96
  673. package/vendor/jszip/lib/generate/ZipFileWorker.js +0 -540
  674. package/vendor/jszip/lib/generate/index.js +0 -61
  675. package/vendor/jszip/lib/index.js +0 -58
  676. package/vendor/jszip/lib/load.js +0 -82
  677. package/vendor/jszip/lib/nodejs/NodejsStreamInputAdapter.js +0 -74
  678. package/vendor/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +0 -45
  679. package/vendor/jszip/lib/nodejsUtils.js +0 -59
  680. package/vendor/jszip/lib/object.js +0 -389
  681. package/vendor/jszip/lib/readable-stream-browser.js +0 -14
  682. package/vendor/jszip/lib/reader/ArrayReader.js +0 -58
  683. package/vendor/jszip/lib/reader/DataReader.js +0 -117
  684. package/vendor/jszip/lib/reader/NodeBufferReader.js +0 -20
  685. package/vendor/jszip/lib/reader/StringReader.js +0 -39
  686. package/vendor/jszip/lib/reader/Uint8ArrayReader.js +0 -23
  687. package/vendor/jszip/lib/reader/readerFor.js +0 -28
  688. package/vendor/jszip/lib/signature.js +0 -17
  689. package/vendor/jszip/lib/stream/ConvertWorker.js +0 -26
  690. package/vendor/jszip/lib/stream/Crc32Probe.js +0 -24
  691. package/vendor/jszip/lib/stream/DataLengthProbe.js +0 -28
  692. package/vendor/jszip/lib/stream/DataWorker.js +0 -116
  693. package/vendor/jszip/lib/stream/GenericWorker.js +0 -263
  694. package/vendor/jszip/lib/stream/StreamHelper.js +0 -214
  695. package/vendor/jszip/lib/support.js +0 -45
  696. package/vendor/jszip/lib/utf8.js +0 -284
  697. package/vendor/jszip/lib/utils.js +0 -486
  698. package/vendor/jszip/lib/zipEntries.js +0 -257
  699. package/vendor/jszip/lib/zipEntry.js +0 -293
  700. package/vendor/jszip/lib/zipObject.js +0 -133
  701. package/vendor/jszip/node_modules/pako/index.js +0 -18
  702. package/vendor/jszip/node_modules/pako/lib/deflate.js +0 -406
  703. package/vendor/jszip/node_modules/pako/lib/inflate.js +0 -429
  704. package/vendor/jszip/node_modules/pako/lib/utils/common.js +0 -110
  705. package/vendor/jszip/node_modules/pako/lib/utils/strings.js +0 -192
  706. package/vendor/jszip/node_modules/pako/lib/zlib/adler32.js +0 -51
  707. package/vendor/jszip/node_modules/pako/lib/zlib/constants.js +0 -68
  708. package/vendor/jszip/node_modules/pako/lib/zlib/crc32.js +0 -59
  709. package/vendor/jszip/node_modules/pako/lib/zlib/deflate.js +0 -1892
  710. package/vendor/jszip/node_modules/pako/lib/zlib/gzheader.js +0 -58
  711. package/vendor/jszip/node_modules/pako/lib/zlib/inffast.js +0 -345
  712. package/vendor/jszip/node_modules/pako/lib/zlib/inflate.js +0 -1572
  713. package/vendor/jszip/node_modules/pako/lib/zlib/inftrees.js +0 -345
  714. package/vendor/jszip/node_modules/pako/lib/zlib/messages.js +0 -32
  715. package/vendor/jszip/node_modules/pako/lib/zlib/trees.js +0 -1232
  716. package/vendor/jszip/node_modules/pako/lib/zlib/zstream.js +0 -47
  717. package/vendor/lie/lib/browser.js +0 -274
  718. package/vendor/process/browser.js +0 -190
  719. package/vendor/safe-buffer/index.js +0 -69
  720. package/vendor/set-immediate-shim/index.js +0 -8
  721. package/vendor/string_decoder/lib/string_decoder.js +0 -276
  722. package/vendor/util/support/isBufferBrowser.js +0 -8
  723. package/vendor/util/util.js +0 -706
  724. package/vendor/webworker-promise/lib/index.js +0 -172
@@ -1,263 +0,0 @@
1
- /**
2
- * A worker that does nothing but passing chunks to the next one. This is like
3
- * a nodejs stream but with some differences. On the good side :
4
- * - it works on IE 6-9 without any issue / polyfill
5
- * - it weights less than the full dependencies bundled with browserify
6
- * - it forwards errors (no need to declare an error handler EVERYWHERE)
7
- *
8
- * A chunk is an object with 2 attributes : `meta` and `data`. The former is an
9
- * object containing anything (`percent` for example), see each worker for more
10
- * details. The latter is the real data (String, Uint8Array, etc).
11
- *
12
- * @constructor
13
- * @param {String} name the name of the stream (mainly used for debugging purposes)
14
- */
15
- function GenericWorker(name) {
16
- // the name of the worker
17
- this.name = name || "default";
18
- // an object containing metadata about the workers chain
19
- this.streamInfo = {};
20
- // an error which happened when the worker was paused
21
- this.generatedError = null;
22
- // an object containing metadata to be merged by this worker into the general metadata
23
- this.extraStreamInfo = {};
24
- // true if the stream is paused (and should not do anything), false otherwise
25
- this.isPaused = true;
26
- // true if the stream is finished (and should not do anything), false otherwise
27
- this.isFinished = false;
28
- // true if the stream is locked to prevent further structure updates (pipe), false otherwise
29
- this.isLocked = false;
30
- // the event listeners
31
- this._listeners = {
32
- 'data':[],
33
- 'end':[],
34
- 'error':[]
35
- };
36
- // the previous worker, if any
37
- this.previous = null;
38
- }
39
-
40
- GenericWorker.prototype = {
41
- /**
42
- * Push a chunk to the next workers.
43
- * @param {Object} chunk the chunk to push
44
- */
45
- push : function (chunk) {
46
- this.emit("data", chunk);
47
- },
48
- /**
49
- * End the stream.
50
- * @return {Boolean} true if this call ended the worker, false otherwise.
51
- */
52
- end : function () {
53
- if (this.isFinished) {
54
- return false;
55
- }
56
-
57
- this.flush();
58
- try {
59
- this.emit("end");
60
- this.cleanUp();
61
- this.isFinished = true;
62
- } catch (e) {
63
- this.emit("error", e);
64
- }
65
- return true;
66
- },
67
- /**
68
- * End the stream with an error.
69
- * @param {Error} e the error which caused the premature end.
70
- * @return {Boolean} true if this call ended the worker with an error, false otherwise.
71
- */
72
- error : function (e) {
73
- if (this.isFinished) {
74
- return false;
75
- }
76
-
77
- if(this.isPaused) {
78
- this.generatedError = e;
79
- } else {
80
- this.isFinished = true;
81
-
82
- this.emit("error", e);
83
-
84
- // in the workers chain exploded in the middle of the chain,
85
- // the error event will go downward but we also need to notify
86
- // workers upward that there has been an error.
87
- if(this.previous) {
88
- this.previous.error(e);
89
- }
90
-
91
- this.cleanUp();
92
- }
93
- return true;
94
- },
95
- /**
96
- * Add a callback on an event.
97
- * @param {String} name the name of the event (data, end, error)
98
- * @param {Function} listener the function to call when the event is triggered
99
- * @return {GenericWorker} the current object for chainability
100
- */
101
- on : function (name, listener) {
102
- this._listeners[name].push(listener);
103
- return this;
104
- },
105
- /**
106
- * Clean any references when a worker is ending.
107
- */
108
- cleanUp : function () {
109
- this.streamInfo = this.generatedError = this.extraStreamInfo = null;
110
- this._listeners = [];
111
- },
112
- /**
113
- * Trigger an event. This will call registered callback with the provided arg.
114
- * @param {String} name the name of the event (data, end, error)
115
- * @param {Object} arg the argument to call the callback with.
116
- */
117
- emit : function (name, arg) {
118
- if (this._listeners[name]) {
119
- for(var i = 0; i < this._listeners[name].length; i++) {
120
- this._listeners[name][i].call(this, arg);
121
- }
122
- }
123
- },
124
- /**
125
- * Chain a worker with an other.
126
- * @param {Worker} next the worker receiving events from the current one.
127
- * @return {worker} the next worker for chainability
128
- */
129
- pipe : function (next) {
130
- return next.registerPrevious(this);
131
- },
132
- /**
133
- * Same as `pipe` in the other direction.
134
- * Using an API with `pipe(next)` is very easy.
135
- * Implementing the API with the point of view of the next one registering
136
- * a source is easier, see the ZipFileWorker.
137
- * @param {Worker} previous the previous worker, sending events to this one
138
- * @return {Worker} the current worker for chainability
139
- */
140
- registerPrevious : function (previous) {
141
- if (this.isLocked) {
142
- throw new Error("The stream '" + this + "' has already been used.");
143
- }
144
-
145
- // sharing the streamInfo...
146
- this.streamInfo = previous.streamInfo;
147
- // ... and adding our own bits
148
- this.mergeStreamInfo();
149
- this.previous = previous;
150
- var self = this;
151
- previous.on('data', function (chunk) {
152
- self.processChunk(chunk);
153
- });
154
- previous.on('end', function () {
155
- self.end();
156
- });
157
- previous.on('error', function (e) {
158
- self.error(e);
159
- });
160
- return this;
161
- },
162
- /**
163
- * Pause the stream so it doesn't send events anymore.
164
- * @return {Boolean} true if this call paused the worker, false otherwise.
165
- */
166
- pause : function () {
167
- if(this.isPaused || this.isFinished) {
168
- return false;
169
- }
170
- this.isPaused = true;
171
-
172
- if(this.previous) {
173
- this.previous.pause();
174
- }
175
- return true;
176
- },
177
- /**
178
- * Resume a paused stream.
179
- * @return {Boolean} true if this call resumed the worker, false otherwise.
180
- */
181
- resume : function () {
182
- if(!this.isPaused || this.isFinished) {
183
- return false;
184
- }
185
- this.isPaused = false;
186
-
187
- // if true, the worker tried to resume but failed
188
- var withError = false;
189
- if(this.generatedError) {
190
- this.error(this.generatedError);
191
- withError = true;
192
- }
193
- if(this.previous) {
194
- this.previous.resume();
195
- }
196
-
197
- return !withError;
198
- },
199
- /**
200
- * Flush any remaining bytes as the stream is ending.
201
- */
202
- flush : function () {},
203
- /**
204
- * Process a chunk. This is usually the method overridden.
205
- * @param {Object} chunk the chunk to process.
206
- */
207
- processChunk : function(chunk) {
208
- this.push(chunk);
209
- },
210
- /**
211
- * Add a key/value to be added in the workers chain streamInfo once activated.
212
- * @param {String} key the key to use
213
- * @param {Object} value the associated value
214
- * @return {Worker} the current worker for chainability
215
- */
216
- withStreamInfo : function (key, value) {
217
- this.extraStreamInfo[key] = value;
218
- this.mergeStreamInfo();
219
- return this;
220
- },
221
- /**
222
- * Merge this worker's streamInfo into the chain's streamInfo.
223
- */
224
- mergeStreamInfo : function () {
225
- for(var key in this.extraStreamInfo) {
226
- if (!this.extraStreamInfo.hasOwnProperty(key)) {
227
- continue;
228
- }
229
- this.streamInfo[key] = this.extraStreamInfo[key];
230
- }
231
- },
232
-
233
- /**
234
- * Lock the stream to prevent further updates on the workers chain.
235
- * After calling this method, all calls to pipe will fail.
236
- */
237
- lock: function () {
238
- if (this.isLocked) {
239
- throw new Error("The stream '" + this + "' has already been used.");
240
- }
241
- this.isLocked = true;
242
- if (this.previous) {
243
- this.previous.lock();
244
- }
245
- },
246
-
247
- /**
248
- *
249
- * Pretty print the workers chain.
250
- */
251
- toString : function () {
252
- var me = "Worker " + this.name;
253
- if (this.previous) {
254
- return this.previous + " -> " + me;
255
- } else {
256
- return me;
257
- }
258
- }
259
- };
260
-
261
- var GenericWorker_1 = GenericWorker;
262
-
263
- export { GenericWorker_1 as G };
@@ -1,214 +0,0 @@
1
- import { B as Buffer } from '../../../../_virtual/polyfill-node_buffer.js';
2
- import { u as utils } from '../utils.js';
3
- import { C as ConvertWorker_1 } from './ConvertWorker.js';
4
- import { G as GenericWorker_1 } from './GenericWorker.js';
5
- import { b as base64 } from '../base64.js';
6
- import { s as support } from '../support.js';
7
- import { e as external } from '../external.js';
8
- import { N as NodejsStreamOutputAdapter_1 } from '../nodejs/NodejsStreamOutputAdapter.js';
9
-
10
- var NodejsStreamOutputAdapter = null;
11
- if (support.nodestream) {
12
- try {
13
- NodejsStreamOutputAdapter = NodejsStreamOutputAdapter_1;
14
- } catch(e) {}
15
- }
16
-
17
- /**
18
- * Apply the final transformation of the data. If the user wants a Blob for
19
- * example, it's easier to work with an U8intArray and finally do the
20
- * ArrayBuffer/Blob conversion.
21
- * @param {String} type the name of the final type
22
- * @param {String|Uint8Array|Buffer} content the content to transform
23
- * @param {String} mimeType the mime type of the content, if applicable.
24
- * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the content in the right format.
25
- */
26
- function transformZipOutput(type, content, mimeType) {
27
- switch(type) {
28
- case "blob" :
29
- return utils.newBlob(utils.transformTo("arraybuffer", content), mimeType);
30
- case "base64" :
31
- return base64.encode(content);
32
- default :
33
- return utils.transformTo(type, content);
34
- }
35
- }
36
-
37
- /**
38
- * Concatenate an array of data of the given type.
39
- * @param {String} type the type of the data in the given array.
40
- * @param {Array} dataArray the array containing the data chunks to concatenate
41
- * @return {String|Uint8Array|Buffer} the concatenated data
42
- * @throws Error if the asked type is unsupported
43
- */
44
- function concat (type, dataArray) {
45
- var i, index = 0, res = null, totalLength = 0;
46
- for(i = 0; i < dataArray.length; i++) {
47
- totalLength += dataArray[i].length;
48
- }
49
- switch(type) {
50
- case "string":
51
- return dataArray.join("");
52
- case "array":
53
- return Array.prototype.concat.apply([], dataArray);
54
- case "uint8array":
55
- res = new Uint8Array(totalLength);
56
- for(i = 0; i < dataArray.length; i++) {
57
- res.set(dataArray[i], index);
58
- index += dataArray[i].length;
59
- }
60
- return res;
61
- case "nodebuffer":
62
- return Buffer.concat(dataArray);
63
- default:
64
- throw new Error("concat : unsupported type '" + type + "'");
65
- }
66
- }
67
-
68
- /**
69
- * Listen a StreamHelper, accumulate its content and concatenate it into a
70
- * complete block.
71
- * @param {StreamHelper} helper the helper to use.
72
- * @param {Function} updateCallback a callback called on each update. Called
73
- * with one arg :
74
- * - the metadata linked to the update received.
75
- * @return Promise the promise for the accumulation.
76
- */
77
- function accumulate(helper, updateCallback) {
78
- return new external.Promise(function (resolve, reject){
79
- var dataArray = [];
80
- var chunkType = helper._internalType,
81
- resultType = helper._outputType,
82
- mimeType = helper._mimeType;
83
- helper
84
- .on('data', function (data, meta) {
85
- dataArray.push(data);
86
- if(updateCallback) {
87
- updateCallback(meta);
88
- }
89
- })
90
- .on('error', function(err) {
91
- dataArray = [];
92
- reject(err);
93
- })
94
- .on('end', function (){
95
- try {
96
- var result = transformZipOutput(resultType, concat(chunkType, dataArray), mimeType);
97
- resolve(result);
98
- } catch (e) {
99
- reject(e);
100
- }
101
- dataArray = [];
102
- })
103
- .resume();
104
- });
105
- }
106
-
107
- /**
108
- * An helper to easily use workers outside of JSZip.
109
- * @constructor
110
- * @param {Worker} worker the worker to wrap
111
- * @param {String} outputType the type of data expected by the use
112
- * @param {String} mimeType the mime type of the content, if applicable.
113
- */
114
- function StreamHelper(worker, outputType, mimeType) {
115
- var internalType = outputType;
116
- switch(outputType) {
117
- case "blob":
118
- case "arraybuffer":
119
- internalType = "uint8array";
120
- break;
121
- case "base64":
122
- internalType = "string";
123
- break;
124
- }
125
-
126
- try {
127
- // the type used internally
128
- this._internalType = internalType;
129
- // the type used to output results
130
- this._outputType = outputType;
131
- // the mime type
132
- this._mimeType = mimeType;
133
- utils.checkSupport(internalType);
134
- this._worker = worker.pipe(new ConvertWorker_1(internalType));
135
- // the last workers can be rewired without issues but we need to
136
- // prevent any updates on previous workers.
137
- worker.lock();
138
- } catch(e) {
139
- this._worker = new GenericWorker_1("error");
140
- this._worker.error(e);
141
- }
142
- }
143
-
144
- StreamHelper.prototype = {
145
- /**
146
- * Listen a StreamHelper, accumulate its content and concatenate it into a
147
- * complete block.
148
- * @param {Function} updateCb the update callback.
149
- * @return Promise the promise for the accumulation.
150
- */
151
- accumulate : function (updateCb) {
152
- return accumulate(this, updateCb);
153
- },
154
- /**
155
- * Add a listener on an event triggered on a stream.
156
- * @param {String} evt the name of the event
157
- * @param {Function} fn the listener
158
- * @return {StreamHelper} the current helper.
159
- */
160
- on : function (evt, fn) {
161
- var self = this;
162
-
163
- if(evt === "data") {
164
- this._worker.on(evt, function (chunk) {
165
- fn.call(self, chunk.data, chunk.meta);
166
- });
167
- } else {
168
- this._worker.on(evt, function () {
169
- utils.delay(fn, arguments, self);
170
- });
171
- }
172
- return this;
173
- },
174
- /**
175
- * Resume the flow of chunks.
176
- * @return {StreamHelper} the current helper.
177
- */
178
- resume : function () {
179
- utils.delay(this._worker.resume, [], this._worker);
180
- return this;
181
- },
182
- /**
183
- * Pause the flow of chunks.
184
- * @return {StreamHelper} the current helper.
185
- */
186
- pause : function () {
187
- this._worker.pause();
188
- return this;
189
- },
190
- /**
191
- * Return a nodejs stream for this helper.
192
- * @param {Function} updateCb the update callback.
193
- * @return {NodejsStreamOutputAdapter} the nodejs stream.
194
- */
195
- toNodejsStream : function (updateCb) {
196
- utils.checkSupport("nodestream");
197
- if (this._outputType !== "nodebuffer") {
198
- // an object stream containing blob/arraybuffer/uint8array/string
199
- // is strange and I don't know if it would be useful.
200
- // I you find this comment and have a good usecase, please open a
201
- // bug report !
202
- throw new Error(this._outputType + " is not supported by this method");
203
- }
204
-
205
- return new NodejsStreamOutputAdapter(this, {
206
- objectMode : this._outputType !== "nodebuffer"
207
- }, updateCb);
208
- }
209
- };
210
-
211
-
212
- var StreamHelper_1 = StreamHelper;
213
-
214
- export { StreamHelper_1 as S };
@@ -1,45 +0,0 @@
1
- import { B as Buffer } from '../../../_virtual/polyfill-node_buffer.js';
2
- import { c as createCommonjsModule } from '../../../_virtual/commonjsHelpers.js';
3
- import { r as readableStreamBrowser } from './readable-stream-browser.js';
4
-
5
- var support = createCommonjsModule(function (module, exports) {
6
-
7
- exports.base64 = true;
8
- exports.array = true;
9
- exports.string = true;
10
- exports.arraybuffer = typeof ArrayBuffer !== "undefined" && typeof Uint8Array !== "undefined";
11
- exports.nodebuffer = typeof Buffer !== "undefined";
12
- // contains true if JSZip can read/generate Uint8Array, false otherwise.
13
- exports.uint8array = typeof Uint8Array !== "undefined";
14
-
15
- if (typeof ArrayBuffer === "undefined") {
16
- exports.blob = false;
17
- }
18
- else {
19
- var buffer = new ArrayBuffer(0);
20
- try {
21
- exports.blob = new Blob([buffer], {
22
- type: "application/zip"
23
- }).size === 0;
24
- }
25
- catch (e) {
26
- try {
27
- var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder;
28
- var builder = new Builder();
29
- builder.append(buffer);
30
- exports.blob = builder.getBlob('application/zip').size === 0;
31
- }
32
- catch (e) {
33
- exports.blob = false;
34
- }
35
- }
36
- }
37
-
38
- try {
39
- exports.nodestream = !!readableStreamBrowser.Readable;
40
- } catch(e) {
41
- exports.nodestream = false;
42
- }
43
- });
44
-
45
- export { support as s };