@woosh/meep-engine 2.106.1 → 2.107.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/build/meep.cjs +1990 -2364
- package/build/meep.min.js +1 -1
- package/build/meep.module.js +1990 -2364
- package/editor/Editor.js +55 -60
- package/editor/SelectionVisualizer.js +111 -109
- package/editor/actions/concrete/ComponentAddAction.js +0 -3
- package/editor/actions/concrete/ComponentRemoveAction.js +0 -4
- package/editor/actions/concrete/EntityCreateAction.js +0 -3
- package/editor/actions/concrete/EntityRemoveAction.js +0 -4
- package/editor/actions/concrete/SelectionAddAction.js +0 -3
- package/editor/actions/concrete/SelectionClearAction.js +0 -3
- package/editor/actions/concrete/SelectionRemoveAction.js +0 -3
- package/editor/ecs/EditorEntity.js +8 -6
- package/editor/tools/SelectionTool.js +0 -5
- package/editor/tools/TopDownCameraControlTool.js +2 -5
- package/editor/tools/TransformTool.js +137 -136
- package/editor/tools/engine/Tool.js +1 -6
- package/editor/tools/engine/ToolEngine.js +145 -148
- package/editor/tools/v2/TransformControls.js +25 -24
- package/editor/view/EditorView.js +0 -5
- package/editor/view/ecs/ComponentControlFactory.js +37 -40
- package/editor/view/ecs/EntityEditor.js +0 -3
- package/editor/view/ecs/EntityList.js +6 -11
- package/editor/view/ecs/components/MeshController.js +4 -7
- package/editor/view/ecs/components/TransformController.js +3 -9
- package/editor/view/tools/ToolView.js +2 -8
- package/package.json +1 -1
- package/src/core/IdPool.d.ts.map +1 -1
- package/src/core/IdPool.js +0 -5
- package/src/core/UUID.d.ts.map +1 -1
- package/src/core/UUID.js +0 -4
- package/src/core/binary/BitSet.d.ts +17 -14
- package/src/core/binary/BitSet.d.ts.map +1 -1
- package/src/core/binary/BitSet.js +411 -412
- package/src/core/binary/type/Field.d.ts +0 -8
- package/src/core/binary/type/Field.d.ts.map +1 -1
- package/src/core/binary/type/Field.js +16 -19
- package/src/core/binary/type/MultiplicityType.js +0 -4
- package/src/core/binary/type/PrimitiveTypes.d.ts.map +1 -1
- package/src/core/binary/type/PrimitiveTypes.js +0 -4
- package/src/core/binary/type/Type.d.ts +0 -6
- package/src/core/binary/type/Type.d.ts.map +1 -1
- package/src/core/binary/type/Type.js +63 -64
- package/src/core/binary/type/TypeBuilder.d.ts +0 -1
- package/src/core/binary/type/TypeBuilder.d.ts.map +1 -1
- package/src/core/binary/type/TypeBuilder.js +15 -18
- package/src/core/binary/type/TypeRegistry.d.ts +6 -4
- package/src/core/binary/type/TypeRegistry.d.ts.map +1 -1
- package/src/core/binary/type/TypeRegistry.js +38 -42
- package/src/core/bvh2/visual/BVHGeometry.d.ts.map +1 -1
- package/src/core/bvh2/visual/BVHGeometry.js +0 -3
- package/src/core/codegen/LineBuilder.d.ts.map +1 -1
- package/src/core/codegen/LineBuilder.js +0 -5
- package/src/core/collection/set/ArraySet.d.ts.map +1 -1
- package/src/core/collection/set/ArraySet.js +1 -5
- package/src/core/collection/table/RowFirstTable.d.ts.map +1 -1
- package/src/core/collection/table/RowFirstTable.js +0 -5
- package/src/core/color/parse_color.d.ts.map +1 -1
- package/src/core/color/parse_color.js +1 -5
- package/src/core/geom/2d/Rectangle.d.ts.map +1 -1
- package/src/core/geom/2d/Rectangle.js +0 -4
- package/src/core/geom/2d/aabb/AABB2.d.ts.map +1 -1
- package/src/core/geom/2d/aabb/AABB2.js +0 -6
- package/src/core/geom/3d/aabb/AABB3.d.ts.map +1 -1
- package/src/core/geom/3d/aabb/AABB3.js +0 -5
- package/src/core/geom/3d/morton/Morton.d.ts.map +1 -1
- package/src/core/geom/3d/morton/Morton.js +0 -3
- package/src/core/geom/3d/sphere/harmonics/sh3_dering_optimize_positive.js +11 -11
- package/src/core/geom/Quaternion.d.ts.map +1 -1
- package/src/core/geom/Quaternion.js +0 -5
- package/src/core/geom/Vector4.d.ts.map +1 -1
- package/src/core/geom/Vector4.js +0 -4
- package/src/core/graph/Edge.d.ts.map +1 -1
- package/src/core/graph/Edge.js +0 -5
- package/src/core/graph/WeightedEdge.d.ts.map +1 -1
- package/src/core/json/JsonUtils.d.ts.map +1 -1
- package/src/core/json/JsonUtils.js +0 -4
- package/src/core/math/random/MersenneTwister.d.ts +1 -2
- package/src/core/math/random/MersenneTwister.d.ts.map +1 -1
- package/src/core/math/random/MersenneTwister.js +134 -133
- package/src/core/model/BooleanVector3.d.ts.map +1 -1
- package/src/core/model/BooleanVector3.js +108 -108
- package/src/core/model/BoundedValue.d.ts +116 -0
- package/src/core/model/BoundedValue.d.ts.map +1 -0
- package/src/core/model/BoundedValue.js +214 -217
- package/src/core/model/LinearValue.d.ts +84 -0
- package/src/core/model/LinearValue.d.ts.map +1 -0
- package/src/core/model/LinearValue.js +116 -117
- package/src/core/model/ObservedEnum.d.ts.map +1 -1
- package/src/core/model/ObservedEnum.js +82 -80
- package/src/core/model/ObservedValue.d.ts +10 -17
- package/src/core/model/ObservedValue.d.ts.map +1 -1
- package/src/core/model/ObservedValue.js +85 -88
- package/src/core/model/object/ObjectPoolFactory.d.ts +1 -9
- package/src/core/model/object/ObjectPoolFactory.d.ts.map +1 -1
- package/src/core/model/object/ObjectPoolFactory.js +73 -73
- package/src/core/model/scheme/Schema.d.ts +0 -6
- package/src/core/model/scheme/Schema.d.ts.map +1 -1
- package/src/core/model/scheme/Schema.js +50 -48
- package/src/core/model/scheme/SchemeRegistry.d.ts +6 -1
- package/src/core/model/scheme/SchemeRegistry.d.ts.map +1 -1
- package/src/core/model/scheme/SchemeRegistry.js +46 -44
- package/src/core/process/Future.d.ts +14 -9
- package/src/core/process/Future.d.ts.map +1 -1
- package/src/core/process/Future.js +96 -98
- package/src/core/process/executor/ConcurrentExecutor.d.ts.map +1 -1
- package/src/core/process/executor/ConcurrentExecutor.js +0 -3
- package/src/core/process/task/Task.d.ts.map +1 -1
- package/src/core/process/task/Task.js +0 -5
- package/src/core/process/task/TaskGroup.d.ts.map +1 -1
- package/src/core/process/task/TaskGroup.js +178 -180
- package/src/core/process/task/TaskSignal.d.ts.map +1 -1
- package/src/core/process/task/TaskSignal.js +0 -5
- package/src/core/process/task/TaskState.d.ts.map +1 -1
- package/src/core/process/task/TaskState.js +0 -4
- package/src/core/process/worker/WorkerBuilder.d.ts.map +1 -1
- package/src/core/process/worker/WorkerBuilder.js +0 -5
- package/src/core/process/worker/WorkerProxy.d.ts.map +1 -1
- package/src/core/process/worker/WorkerProxy.js +0 -5
- package/src/engine/Clock.d.ts.map +1 -1
- package/src/engine/Clock.js +0 -5
- package/src/engine/Engine.js +4 -4
- package/src/engine/EntityCreator.d.ts.map +1 -1
- package/src/engine/EntityCreator.js +7 -10
- package/src/engine/animation/AnimatedActions.d.ts.map +1 -1
- package/src/engine/animation/AnimatedActions.js +0 -5
- package/src/engine/animation/Animations.d.ts.map +1 -1
- package/src/engine/animation/Animations.js +1 -6
- package/src/engine/animation/EntityAnimation.js +1 -4
- package/src/engine/animation/Tween.js +1 -4
- package/src/engine/animation/keyed2/AnimationTrack.d.ts +0 -6
- package/src/engine/animation/keyed2/AnimationTrack.d.ts.map +1 -1
- package/src/engine/animation/keyed2/AnimationTrack.js +154 -152
- package/src/engine/animation/keyed2/AnimationTrackPlayback.d.ts +0 -10
- package/src/engine/animation/keyed2/AnimationTrackPlayback.d.ts.map +1 -1
- package/src/engine/animation/keyed2/AnimationTrackPlayback.js +173 -171
- package/src/engine/asset/AssetManager.d.ts.map +1 -1
- package/src/engine/asset/AssetManager.js +0 -5
- package/src/engine/asset/preloader/AssetLevel.js +0 -3
- package/src/engine/ecs/EntityManager.d.ts.map +1 -1
- package/src/engine/ecs/EntityManager.js +0 -4
- package/src/engine/ecs/System.d.ts.map +1 -1
- package/src/engine/ecs/System.js +0 -5
- package/src/engine/ecs/animation/Animation.d.ts.map +1 -1
- package/src/engine/ecs/animation/Animation.js +1 -19
- package/src/engine/ecs/components/Motion.d.ts.map +1 -1
- package/src/engine/ecs/components/Motion.js +0 -5
- package/src/engine/ecs/components/PropertySet.d.ts +8 -1
- package/src/engine/ecs/components/PropertySet.d.ts.map +1 -1
- package/src/engine/ecs/components/PropertySet.js +87 -83
- package/src/engine/ecs/components/Script.d.ts +0 -16
- package/src/engine/ecs/components/Script.d.ts.map +1 -1
- package/src/engine/ecs/components/Script.js +14 -18
- package/src/engine/ecs/components/Tag.d.ts.map +1 -1
- package/src/engine/ecs/components/Tag.js +4 -5
- package/src/engine/ecs/components/Timer.d.ts +0 -5
- package/src/engine/ecs/components/Timer.d.ts.map +1 -1
- package/src/engine/ecs/components/Timer.js +0 -5
- package/src/engine/ecs/grid/HeightMap2NormalMap.d.ts.map +1 -1
- package/src/engine/ecs/grid/HeightMap2NormalMap.js +2 -6
- package/src/engine/ecs/grid/HeightSampler2NormalSamplerSoft.d.ts.map +1 -1
- package/src/engine/ecs/grid/HeightSampler2NormalSamplerSoft.js +0 -3
- package/src/engine/ecs/grid/NormalMap2AOMap.d.ts.map +1 -1
- package/src/engine/ecs/grid/NormalMap2AOMap.js +3 -8
- package/src/engine/ecs/gui/GUIElement.d.ts.map +1 -1
- package/src/engine/ecs/gui/GUIElement.js +0 -3
- package/src/engine/ecs/gui/GUIElementSystem.d.ts.map +1 -1
- package/src/engine/ecs/gui/GUIElementSystem.js +0 -4
- package/src/engine/ecs/gui/hud/HeadsUpDisplay.d.ts.map +1 -1
- package/src/engine/ecs/gui/hud/HeadsUpDisplay.js +0 -7
- package/src/engine/ecs/gui/hud/HeadsUpDisplaySystem.d.ts.map +1 -1
- package/src/engine/ecs/gui/hud/HeadsUpDisplaySystem.js +0 -5
- package/src/engine/ecs/gui/menu/radial/RadialContextMenu.d.ts.map +1 -1
- package/src/engine/ecs/gui/menu/radial/RadialContextMenu.js +5 -8
- package/src/engine/ecs/gui/position/ViewportPosition.d.ts.map +1 -1
- package/src/engine/ecs/gui/position/ViewportPosition.js +0 -4
- package/src/engine/ecs/gui/position/ViewportPositionSystem.d.ts +1 -2
- package/src/engine/ecs/gui/position/ViewportPositionSystem.d.ts.map +1 -1
- package/src/engine/ecs/gui/position/ViewportPositionSystem.js +6 -10
- package/src/engine/ecs/ik/IKProblem.d.ts +1 -2
- package/src/engine/ecs/ik/IKProblem.d.ts.map +1 -1
- package/src/engine/ecs/renderable/RenderSystem.d.ts.map +1 -1
- package/src/engine/ecs/renderable/RenderSystem.js +0 -3
- package/src/engine/ecs/renderable/Renderable.d.ts.map +1 -1
- package/src/engine/ecs/renderable/Renderable.js +0 -5
- package/src/engine/ecs/systems/AnimationSystem.d.ts.map +1 -1
- package/src/engine/ecs/systems/AnimationSystem.js +9 -17
- package/src/engine/ecs/systems/MotionSystem.d.ts.map +1 -1
- package/src/engine/ecs/systems/MotionSystem.js +1 -6
- package/src/engine/ecs/systems/ScriptSystem.d.ts.map +1 -1
- package/src/engine/ecs/systems/ScriptSystem.js +1 -6
- package/src/engine/ecs/systems/TimerSystem.d.ts.map +1 -1
- package/src/engine/ecs/systems/TimerSystem.js +1 -6
- package/src/engine/ecs/team/Team.d.ts.map +1 -1
- package/src/engine/ecs/team/Team.js +0 -3
- package/src/engine/ecs/terrain/BufferedGeometryArraysBuilder.d.ts.map +1 -1
- package/src/engine/ecs/terrain/BufferedGeometryArraysBuilder.js +0 -5
- package/src/engine/ecs/terrain/TerrainClouds.d.ts.map +1 -1
- package/src/engine/ecs/terrain/TerrainClouds.js +0 -5
- package/src/engine/ecs/terrain/ecs/Terrain.d.ts.map +1 -1
- package/src/engine/ecs/terrain/ecs/Terrain.js +0 -5
- package/src/engine/ecs/terrain/ecs/cling/ClingToTerrain.d.ts.map +1 -1
- package/src/engine/ecs/terrain/ecs/cling/ClingToTerrain.js +0 -3
- package/src/engine/ecs/terrain/ecs/cling/ClingToTerrainSystem.d.ts.map +1 -1
- package/src/engine/ecs/terrain/ecs/cling/ClingToTerrainSystem.js +11 -14
- package/src/engine/ecs/terrain/overlay/TerrainOverlay.d.ts.map +1 -1
- package/src/engine/ecs/terrain/overlay/TerrainOverlay.js +0 -5
- package/src/engine/ecs/terrain/tiles/TerrainTile.d.ts.map +1 -1
- package/src/engine/ecs/terrain/tiles/TerrainTile.js +0 -5
- package/src/engine/ecs/terrain/tiles/TerrainTileManager.d.ts +1 -1
- package/src/engine/ecs/terrain/tiles/TerrainTileManager.d.ts.map +1 -1
- package/src/engine/ecs/terrain/tiles/TerrainTileManager.js +0 -3
- package/src/engine/ecs/terrain/tiles/TileBuildWorker.js +0 -4
- package/src/engine/ecs/transform/Transform.d.ts.map +1 -1
- package/src/engine/ecs/transform/Transform.js +0 -4
- package/src/engine/google/gapi.js +0 -4
- package/src/engine/graphics/FrameThrottle.d.ts +0 -4
- package/src/engine/graphics/FrameThrottle.d.ts.map +1 -1
- package/src/engine/graphics/FrameThrottle.js +0 -5
- package/src/engine/graphics/GraphicsEngine.d.ts.map +1 -1
- package/src/engine/graphics/GraphicsEngine.js +1 -6
- package/src/engine/graphics/composit/LayerCompositer.d.ts.map +1 -1
- package/src/engine/graphics/composit/LayerCompositer.js +2 -5
- package/src/engine/graphics/ecs/animation/AnimationController.d.ts.map +1 -1
- package/src/engine/graphics/ecs/animation/AnimationController.js +0 -5
- package/src/engine/graphics/ecs/animation/AnimationControllerSystem.d.ts.map +1 -1
- package/src/engine/graphics/ecs/animation/AnimationControllerSystem.js +2 -7
- package/src/engine/graphics/ecs/animation/AnimationRule.d.ts +0 -1
- package/src/engine/graphics/ecs/animation/AnimationRule.d.ts.map +1 -1
- package/src/engine/graphics/ecs/animation/AnimationRule.js +70 -66
- package/src/engine/graphics/ecs/camera/Camera.d.ts.map +1 -1
- package/src/engine/graphics/ecs/camera/Camera.js +0 -5
- package/src/engine/graphics/ecs/camera/CameraSystem.d.ts.map +1 -1
- package/src/engine/graphics/ecs/camera/CameraSystem.js +0 -5
- package/src/engine/graphics/ecs/camera/FrustumProjector.d.ts.map +1 -1
- package/src/engine/graphics/ecs/camera/FrustumProjector.js +0 -5
- package/src/engine/graphics/ecs/camera/topdown/TopDownCameraController.d.ts.map +1 -1
- package/src/engine/graphics/ecs/camera/topdown/TopDownCameraController.js +4 -9
- package/src/engine/graphics/ecs/camera/topdown/TopDownCameraControllerSystem.d.ts.map +1 -1
- package/src/engine/graphics/ecs/camera/topdown/TopDownCameraControllerSystem.js +3 -8
- package/src/engine/graphics/ecs/highlight/Highlight.d.ts.map +1 -1
- package/src/engine/graphics/ecs/highlight/Highlight.js +0 -3
- package/src/engine/graphics/ecs/highlight/system/MeshHighlightSystem.d.ts.map +1 -1
- package/src/engine/graphics/ecs/highlight/system/MeshHighlightSystem.js +3 -8
- package/src/engine/graphics/ecs/light/Light.d.ts.map +1 -1
- package/src/engine/graphics/ecs/light/Light.js +2 -6
- package/src/engine/graphics/ecs/light/LightSystem.d.ts.map +1 -1
- package/src/engine/graphics/ecs/light/LightSystem.js +0 -5
- package/src/engine/graphics/ecs/mesh/Mesh.d.ts.map +1 -1
- package/src/engine/graphics/ecs/mesh/Mesh.js +0 -3
- package/src/engine/graphics/ecs/mesh/MeshSystem.d.ts.map +1 -1
- package/src/engine/graphics/ecs/mesh/MeshSystem.js +0 -5
- package/src/engine/graphics/ecs/trail2d/Trail2D.d.ts.map +1 -1
- package/src/engine/graphics/ecs/trail2d/Trail2D.js +0 -5
- package/src/engine/graphics/ecs/trail2d/Trail2DSystem.d.ts.map +1 -1
- package/src/engine/graphics/ecs/trail2d/Trail2DSystem.js +0 -5
- package/src/engine/graphics/ecs/water/Water.d.ts.map +1 -1
- package/src/engine/graphics/ecs/water/Water.js +0 -5
- package/src/engine/graphics/ecs/water/WaterSystem.d.ts.map +1 -1
- package/src/engine/graphics/ecs/water/WaterSystem.js +0 -3
- package/src/engine/graphics/filter/ImageFilter.d.ts.map +1 -1
- package/src/engine/graphics/filter/ImageFilter.js +0 -5
- package/src/engine/graphics/geometry/BufferGeometryWrap.js +1 -3
- package/src/engine/graphics/geometry/buffered/ComputeNormals.d.ts.map +1 -1
- package/src/engine/graphics/geometry/buffered/ComputeNormals.js +0 -5
- package/src/engine/graphics/geometry/ribbon/Ribbon.d.ts.map +1 -1
- package/src/engine/graphics/geometry/ribbon/Ribbon.js +1 -4
- package/src/engine/graphics/material/SplatMaterial.d.ts.map +1 -1
- package/src/engine/graphics/material/SplatMaterial.js +0 -3
- package/src/engine/graphics/material/WaterMaterial.d.ts.map +1 -1
- package/src/engine/graphics/material/WaterMaterial.js +0 -3
- package/src/engine/graphics/particles/particular/engine/MovingBoundingBox.d.ts +0 -5
- package/src/engine/graphics/particles/particular/engine/MovingBoundingBox.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/engine/MovingBoundingBox.js +114 -114
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleLayer.d.ts +0 -1
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleLayer.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleLayer.js +347 -348
- package/src/engine/graphics/particles/particular/engine/emitter/ParticlePool.d.ts +1 -3
- package/src/engine/graphics/particles/particular/engine/emitter/ParticlePool.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterSet.d.ts +0 -1
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterSet.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterSet.js +110 -111
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterSheet.d.ts +0 -9
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterSheet.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterSheet.js +70 -66
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterTrackSet.d.ts +0 -5
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterTrackSet.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/engine/parameter/ParameterTrackSet.js +82 -82
- package/src/engine/graphics/particles/particular/group/Operation.d.ts +0 -7
- package/src/engine/graphics/particles/particular/group/Operation.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/group/Operation.js +16 -14
- package/src/engine/graphics/particles/particular/group/ParticleAttribute.d.ts +0 -9
- package/src/engine/graphics/particles/particular/group/ParticleAttribute.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/group/ParticleAttribute.js +23 -21
- package/src/engine/graphics/particles/particular/group/ParticleGroup.d.ts +2 -10
- package/src/engine/graphics/particles/particular/group/ParticleGroup.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/group/ParticleGroup.js +463 -464
- package/src/engine/graphics/particles/particular/group/ParticleSpecification.d.ts +0 -2
- package/src/engine/graphics/particles/particular/group/ParticleSpecification.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/group/ParticleSpecification.js +39 -33
- package/src/engine/graphics/render/buffer/FrameBufferManager.d.ts +6 -1
- package/src/engine/graphics/render/buffer/FrameBufferManager.d.ts.map +1 -1
- package/src/engine/graphics/render/buffer/FrameBufferManager.js +166 -163
- package/src/engine/graphics/render/layers/RenderLayer.d.ts.map +1 -1
- package/src/engine/graphics/render/layers/RenderLayer.js +0 -5
- package/src/engine/graphics/shaders/AlphaBlendShader.js +1 -3
- package/src/engine/graphics/shaders/AmbientOcclusionShader.d.ts.map +1 -1
- package/src/engine/graphics/shaders/AmbientOcclusionShader.js +0 -3
- package/src/engine/graphics/shaders/ClearShader.js +1 -3
- package/src/engine/graphics/shaders/CopyShader.d.ts +0 -3
- package/src/engine/graphics/shaders/CopyShader.d.ts.map +1 -1
- package/src/engine/graphics/shaders/CopyShader.js +1 -3
- package/src/engine/graphics/shaders/NormalMapShader2.d.ts.map +1 -1
- package/src/engine/graphics/shaders/NormalMapShader2.js +0 -5
- package/src/engine/graphics/shaders/TerrainShader.js +0 -4
- package/src/engine/graphics/shaders/WaterShader.js +0 -3
- package/src/engine/graphics/shaders/lib/ShaderChunks.js +1 -3
- package/src/engine/graphics/texture/Canvas2Sampler2D.d.ts.map +1 -1
- package/src/engine/graphics/texture/Canvas2Sampler2D.js +1 -4
- package/src/engine/graphics/texture/CheckersTexture.d.ts.map +1 -1
- package/src/engine/graphics/texture/CheckersTexture.js +0 -3
- package/src/engine/graphics/texture/CheckersTextureURI.js +1 -3
- package/src/engine/graphics/texture/sampler/Sampler2D.d.ts.map +1 -1
- package/src/engine/graphics/texture/sampler/Sampler2D.js +0 -5
- package/src/engine/graphics/texture/sampler/Sampler2D2Canvas.d.ts.map +1 -1
- package/src/engine/graphics/texture/sampler/Sampler2D2Canvas.js +0 -5
- package/src/engine/graphics/texture/sampler/Sampler2D2Texture.d.ts.map +1 -1
- package/src/engine/graphics/texture/sampler/Sampler2D2Texture.js +0 -3
- package/src/engine/graphics/three/ThreeFactory.d.ts.map +1 -1
- package/src/engine/graphics/three/ThreeFactory.js +0 -5
- package/src/engine/grid/grid2transform/GridPosition2Transform.d.ts.map +1 -1
- package/src/engine/grid/grid2transform/GridPosition2Transform.js +0 -4
- package/src/engine/grid/grid2transform/GridPosition2TransformSystem.d.ts.map +1 -1
- package/src/engine/grid/grid2transform/GridPosition2TransformSystem.js +4 -7
- package/src/engine/grid/obstacle/GridObstacle.d.ts.map +1 -1
- package/src/engine/grid/obstacle/GridObstacle.js +0 -5
- package/src/engine/grid/position/GridPosition.d.ts.map +1 -1
- package/src/engine/grid/position/GridPosition.js +0 -4
- package/src/engine/grid/position/GridPositionSystem.d.ts.map +1 -1
- package/src/engine/grid/position/GridPositionSystem.js +1 -4
- package/src/engine/input/devices/KeyCodes.d.ts.map +1 -1
- package/src/engine/input/devices/KeyCodes.js +3 -4
- package/src/engine/input/devices/KeyboardDevice.d.ts.map +1 -1
- package/src/engine/input/devices/KeyboardDevice.js +0 -4
- package/src/engine/input/devices/PointerDevice.d.ts.map +1 -1
- package/src/engine/input/devices/PointerDevice.js +0 -3
- package/src/engine/input/ecs/components/InputController.d.ts.map +1 -1
- package/src/engine/input/ecs/components/InputController.js +1 -5
- package/src/engine/input/ecs/controllers/KeyboardCameraController.d.ts.map +1 -1
- package/src/engine/input/ecs/controllers/KeyboardCameraController.js +5 -10
- package/src/engine/input/ecs/systems/InputControllerSystem.d.ts.map +1 -1
- package/src/engine/input/ecs/systems/InputControllerSystem.js +78 -78
- package/src/engine/input/ecs/util/TopDownCameraControllerHelper.d.ts.map +1 -1
- package/src/engine/input/ecs/util/TopDownCameraControllerHelper.js +3 -6
- package/src/engine/intelligence/mcts/MonteCarlo.spec.js +78 -76
- package/src/engine/navigation/ecs/components/Path.d.ts.map +1 -1
- package/src/engine/navigation/ecs/components/Path.js +0 -5
- package/src/engine/navigation/ecs/path_following/PathFollower.d.ts.map +1 -1
- package/src/engine/navigation/ecs/path_following/PathFollower.js +1 -6
- package/src/engine/navigation/ecs/path_following/PathFollowingSystem.d.ts.map +1 -1
- package/src/engine/navigation/ecs/path_following/PathFollowingSystem.js +5 -12
- package/src/engine/network/DataChannel.js +284 -284
- package/src/engine/network/xhr.d.ts +0 -3
- package/src/engine/network/xhr.d.ts.map +1 -1
- package/src/engine/network/xhr.js +0 -3
- package/src/engine/notify/Notification.d.ts +1 -1
- package/src/engine/notify/Notification.d.ts.map +1 -1
- package/src/engine/notify/Notification.js +1 -6
- package/src/engine/notify/NotificationLog.d.ts.map +1 -1
- package/src/engine/notify/NotificationLog.js +0 -5
- package/src/engine/options/OptionsView.d.ts.map +1 -1
- package/src/engine/options/OptionsView.js +1 -6
- package/src/engine/physics/ammo/Body.js +0 -3
- package/src/engine/physics/ammo/PhysicsWorker.d.ts.map +1 -1
- package/src/engine/physics/ammo/PhysicsWorker.js +1 -3
- package/src/engine/physics/ammo/World.d.ts +68 -0
- package/src/engine/physics/ammo/World.d.ts.map +1 -0
- package/src/engine/physics/ammo/World.js +277 -278
- package/src/engine/physics/ammo/shapes/BoxShape.js +0 -3
- package/src/engine/physics/ammo/shapes/CapsuleShape.js +0 -3
- package/src/engine/physics/ammo/shapes/MeshShape.js +0 -3
- package/src/engine/physics/ammo/shapes/PlaneShape.js +0 -3
- package/src/engine/physics/ammo/shapes/Shape.js +1 -3
- package/src/engine/physics/ammo/shapes/SphereShape.js +0 -3
- package/src/engine/physics/cannon/CannonJSPhysicsSystem.d.ts.map +1 -1
- package/src/engine/physics/cannon/CannonJSPhysicsSystem.js +3 -6
- package/src/engine/save/GameStateLoader.d.ts.map +1 -1
- package/src/engine/save/GameStateLoader.js +1 -5
- package/src/engine/save/Storage.d.ts.map +1 -1
- package/src/engine/save/Storage.js +0 -7
- package/src/engine/scene/Scene.d.ts.map +1 -1
- package/src/engine/scene/Scene.js +2 -7
- package/src/engine/scene/SceneManager.d.ts.map +1 -1
- package/src/engine/scene/SceneManager.js +1 -4
- package/src/engine/simulation/DormandPrince.d.ts +0 -1
- package/src/engine/simulation/DormandPrince.d.ts.map +1 -1
- package/src/engine/simulation/DormandPrince.js +5 -5
- package/src/engine/simulation/Ticker.d.ts.map +1 -1
- package/src/engine/simulation/Ticker.js +0 -3
- package/src/engine/sound/ecs/SoundController.d.ts +0 -7
- package/src/engine/sound/ecs/SoundController.d.ts.map +1 -1
- package/src/engine/sound/ecs/SoundController.js +118 -119
- package/src/engine/sound/ecs/SoundControllerSystem.d.ts.map +1 -1
- package/src/engine/sound/ecs/SoundControllerSystem.js +3 -8
- package/src/engine/sound/ecs/SoundListener.d.ts +0 -1
- package/src/engine/sound/ecs/SoundListener.d.ts.map +1 -1
- package/src/engine/sound/ecs/SoundListener.js +26 -29
- package/src/engine/sound/ecs/SoundListenerSystem.d.ts.map +1 -1
- package/src/engine/sound/ecs/SoundListenerSystem.js +0 -5
- package/src/engine/sound/ecs/emitter/SoundEmitter.d.ts.map +1 -1
- package/src/engine/sound/ecs/emitter/SoundEmitter.js +0 -5
- package/src/engine/sound/ecs/emitter/SoundEmitterSystem.d.ts.map +1 -1
- package/src/engine/sound/ecs/emitter/SoundEmitterSystem.js +0 -7
- package/src/engine/ui/GUIEngine.d.ts.map +1 -1
- package/src/engine/ui/GUIEngine.js +0 -5
- package/src/engine/ui/tiles2d/TileGrid.d.ts.map +1 -1
- package/src/engine/ui/tiles2d/TileGrid.js +1 -4
- package/src/generation/markers/debug/visualizeMarkers.js +10 -10
- package/src/view/DOM.js +1 -3
- package/src/view/SVG.d.ts +0 -3
- package/src/view/SVG.d.ts.map +1 -1
- package/src/view/SVG.js +0 -4
- package/src/view/asset/PreloaderView.d.ts.map +1 -1
- package/src/view/asset/PreloaderView.js +0 -3
- package/src/view/common/LabelView.d.ts +1 -6
- package/src/view/common/LabelView.d.ts.map +1 -1
- package/src/view/common/LabelView.js +24 -33
- package/src/view/common/ListView.d.ts.map +1 -1
- package/src/view/common/ListView.js +0 -6
- package/src/view/common/MeshView.js +3 -6
- package/src/view/common/VirtualListView.d.ts.map +1 -1
- package/src/view/common/VirtualListView.js +0 -5
- package/src/view/common/dnd/DragAndDropContext.d.ts +1 -2
- package/src/view/common/dnd/DragAndDropContext.d.ts.map +1 -1
- package/src/view/common/dnd/DragAndDropContext.js +107 -110
- package/src/view/controller/GuiController.d.ts.map +1 -1
- package/src/view/controller/GuiController.js +1 -6
- package/src/view/controller/controls/BooleanVector3Control.d.ts +1 -1
- package/src/view/controller/controls/BooleanVector3Control.d.ts.map +1 -1
- package/src/view/controller/controls/GuiControl.js +2 -7
- package/src/view/controller/controls/Vector1Control.d.ts +1 -1
- package/src/view/controller/controls/Vector1Control.d.ts.map +1 -1
- package/src/view/controller/controls/Vector1Control.js +2 -7
- package/src/view/controller/controls/Vector2Control.d.ts.map +1 -1
- package/src/view/controller/controls/Vector2Control.js +0 -4
- package/src/view/controller/controls/Vector3Control.d.ts.map +1 -1
- package/src/view/controller/controls/Vector3Control.js +0 -3
- package/src/view/elements/ConfirmationDialogView.d.ts.map +1 -1
- package/src/view/elements/ConfirmationDialogView.js +1 -6
- package/src/view/elements/DropDownSelectionView.d.ts.map +1 -1
- package/src/view/elements/DropDownSelectionView.js +0 -5
- package/src/view/elements/EmptyView.d.ts.map +1 -1
- package/src/view/elements/EmptyView.js +0 -4
- package/src/view/elements/Group.d.ts.map +1 -1
- package/src/view/elements/Group.js +0 -3
- package/src/view/elements/MeshPreview.d.ts.map +1 -1
- package/src/view/elements/MeshPreview.js +5 -8
- package/src/view/elements/SimpleWindow.d.ts +1 -1
- package/src/view/elements/SimpleWindow.d.ts.map +1 -1
- package/src/view/elements/SimpleWindow.js +5 -11
- package/src/view/elements/button/ButtonView.d.ts.map +1 -1
- package/src/view/elements/button/ButtonView.js +1 -5
- package/src/view/elements/image/ImageView.d.ts.map +1 -1
- package/src/view/elements/image/ImageView.js +0 -4
- package/src/view/elements/image/SvgImageView.d.ts.map +1 -1
- package/src/view/elements/image/SvgImageView.js +2 -7
- package/src/view/elements/label/LabeledValueView.d.ts.map +1 -1
- package/src/view/elements/label/LabeledValueView.js +3 -8
- package/src/view/elements/navigation/ViewStack.d.ts +0 -7
- package/src/view/elements/navigation/ViewStack.d.ts.map +1 -1
- package/src/view/elements/navigation/ViewStack.js +17 -19
- package/src/view/elements/notify/NotificationView.js +1 -4
- package/src/view/elements/notify/ToastLogView.d.ts.map +1 -1
- package/src/view/elements/notify/ToastLogView.js +0 -3
- package/src/view/elements/progress/SmoothProgressBar.d.ts +72 -0
- package/src/view/elements/progress/SmoothProgressBar.d.ts.map +1 -0
- package/src/view/elements/radial/RadialMenu.d.ts.map +1 -1
- package/src/view/elements/radial/RadialMenu.js +1 -6
- package/src/view/elements/radial/RadialMenuElement.d.ts.map +1 -1
- package/src/view/elements/radial/RadialMenuElement.js +1 -4
- package/src/view/elements/radial/RadialProgressView.d.ts +1 -1
- package/src/view/elements/radial/RadialProgressView.d.ts.map +1 -1
- package/src/view/elements/radial/RadialProgressView.js +4 -9
- package/src/view/elements/tiles2d/Tile.d.ts.map +1 -1
- package/src/view/elements/tiles2d/Tile.js +3 -6
- package/src/view/elements/tiles2d/TileGrid.d.ts.map +1 -1
- package/src/view/elements/tiles2d/TileGrid.js +0 -5
- package/src/view/minimap/Minimap.d.ts.map +1 -1
- package/src/view/minimap/Minimap.js +11 -16
- package/src/view/minimap/dom/MinimapCameraView.d.ts +1 -2
- package/src/view/minimap/dom/MinimapCameraView.d.ts.map +1 -1
- package/src/view/minimap/dom/MinimapTerrainView.d.ts +1 -1
- package/src/view/minimap/dom/MinimapTerrainView.d.ts.map +1 -1
- package/src/view/minimap/gl/MarkerGL.d.ts +2 -12
- package/src/view/minimap/gl/MarkerGL.d.ts.map +1 -1
- package/src/view/minimap/gl/MarkerGL.js +60 -56
- package/src/view/minimap/gl/MinimapMarkersGL.d.ts +1 -1
- package/src/view/minimap/gl/MinimapMarkersGL.d.ts.map +1 -1
- package/src/view/minimap/gl/MinimapTerrainGL.d.ts +1 -2
- package/src/view/minimap/gl/MinimapTerrainGL.d.ts.map +1 -1
- package/src/view/renderModel.d.ts.map +1 -1
- package/src/view/renderModel.js +3 -7
- package/src/view/task/TaskProgressView.d.ts.map +1 -1
- package/src/view/task/TaskProgressView.js +0 -5
- package/src/engine/asset/loaders/LegacyThreeJSONAssetLoader.d.ts +0 -9
- package/src/engine/asset/loaders/LegacyThreeJSONAssetLoader.d.ts.map +0 -1
- package/src/engine/asset/loaders/LegacyThreeJSONAssetLoader.js +0 -105
- package/src/engine/graphics/geometry/decimation/SimplifyModifier.d.ts +0 -117
- package/src/engine/graphics/geometry/decimation/SimplifyModifier.d.ts.map +0 -1
- package/src/engine/graphics/geometry/decimation/SimplifyModifier.js +0 -971
- package/src/engine/graphics/loader/threejs/GLTFLoader.js +0 -3179
- package/src/engine/graphics/loader/threejs/LegacyJSONLoader.d.ts +0 -6
- package/src/engine/graphics/loader/threejs/LegacyJSONLoader.d.ts.map +0 -1
- package/src/engine/graphics/loader/threejs/LegacyJSONLoader.js +0 -845
- package/src/engine/graphics/postprocess/Postprocess.js +0 -284
- package/src/engine/graphics/postprocess/threejs/Mirror.js +0 -330
- package/src/engine/graphics/postprocess/threejs/WaterShader.js +0 -306
- package/src/engine/graphics/postprocess/threejs/postprocessing/AdaptiveToneMappingPass.js +0 -338
- package/src/engine/graphics/postprocess/threejs/postprocessing/BloomPass.js +0 -132
- package/src/engine/graphics/postprocess/threejs/postprocessing/BokehPass.js +0 -115
- package/src/engine/graphics/postprocess/threejs/postprocessing/ClearMaskPass.d.ts +0 -4
- package/src/engine/graphics/postprocess/threejs/postprocessing/ClearMaskPass.d.ts.map +0 -1
- package/src/engine/graphics/postprocess/threejs/postprocessing/ClearMaskPass.js +0 -23
- package/src/engine/graphics/postprocess/threejs/postprocessing/DotScreenPass.d.ts +0 -1
- package/src/engine/graphics/postprocess/threejs/postprocessing/DotScreenPass.d.ts.map +0 -1
- package/src/engine/graphics/postprocess/threejs/postprocessing/DotScreenPass.js +0 -60
- package/src/engine/graphics/postprocess/threejs/postprocessing/EffectComposer.js +0 -150
- package/src/engine/graphics/postprocess/threejs/postprocessing/FilmPass.d.ts +0 -1
- package/src/engine/graphics/postprocess/threejs/postprocessing/FilmPass.d.ts.map +0 -1
- package/src/engine/graphics/postprocess/threejs/postprocessing/FilmPass.js +0 -61
- package/src/engine/graphics/postprocess/threejs/postprocessing/GlitchPass.d.ts +0 -1
- package/src/engine/graphics/postprocess/threejs/postprocessing/GlitchPass.d.ts.map +0 -1
- package/src/engine/graphics/postprocess/threejs/postprocessing/GlitchPass.js +0 -117
- package/src/engine/graphics/postprocess/threejs/postprocessing/RenderPass.js +0 -63
- package/src/engine/graphics/postprocess/threejs/postprocessing/SMAAPass.js +0 -187
- package/src/engine/graphics/postprocess/threejs/postprocessing/SavePass.d.ts +0 -1
- package/src/engine/graphics/postprocess/threejs/postprocessing/SavePass.d.ts.map +0 -1
- package/src/engine/graphics/postprocess/threejs/postprocessing/SavePass.js +0 -67
- package/src/engine/graphics/postprocess/threejs/postprocessing/TexturePass.js +0 -50
- package/src/engine/graphics/postprocess/threejs/shaders/BokehShader.d.ts +0 -42
- package/src/engine/graphics/postprocess/threejs/shaders/BokehShader.d.ts.map +0 -1
- package/src/engine/graphics/postprocess/threejs/shaders/BokehShader.js +0 -117
- package/src/engine/graphics/postprocess/threejs/shaders/ConvolutionShader.d.ts +0 -30
- package/src/engine/graphics/postprocess/threejs/shaders/ConvolutionShader.d.ts.map +0 -1
- package/src/engine/graphics/postprocess/threejs/shaders/ConvolutionShader.js +0 -106
- package/src/engine/graphics/postprocess/threejs/shaders/FXAAShader.d.ts +0 -19
- package/src/engine/graphics/postprocess/threejs/shaders/FXAAShader.d.ts.map +0 -1
- package/src/engine/graphics/postprocess/threejs/shaders/FXAAShader.js +0 -90
- package/src/engine/graphics/postprocess/threejs/shaders/GammaCorrectionShader.d.ts +0 -12
- package/src/engine/graphics/postprocess/threejs/shaders/GammaCorrectionShader.d.ts.map +0 -1
- package/src/engine/graphics/postprocess/threejs/shaders/GammaCorrectionShader.js +0 -52
- package/src/engine/graphics/postprocess/threejs/shaders/LuminosityShader.d.ts +0 -12
- package/src/engine/graphics/postprocess/threejs/shaders/LuminosityShader.d.ts.map +0 -1
- package/src/engine/graphics/postprocess/threejs/shaders/LuminosityShader.js +0 -51
- package/src/engine/graphics/postprocess/threejs/shaders/SMAAShader.d.ts +0 -76
- package/src/engine/graphics/postprocess/threejs/shaders/SMAAShader.d.ts.map +0 -1
- package/src/engine/graphics/postprocess/threejs/shaders/SMAAShader.js +0 -468
- package/src/engine/graphics/postprocess/threejs/shaders/SSAOShader.d.ts +0 -61
- package/src/engine/graphics/postprocess/threejs/shaders/SSAOShader.d.ts.map +0 -1
- package/src/engine/graphics/postprocess/threejs/shaders/SSAOShader.js +0 -230
- package/src/engine/graphics/postprocess/threejs/shaders/ToneMapShader.d.ts +0 -36
- package/src/engine/graphics/postprocess/threejs/shaders/ToneMapShader.d.ts.map +0 -1
- package/src/engine/graphics/postprocess/threejs/shaders/ToneMapShader.js +0 -76
- package/src/engine/graphics/shaders/GaussianBlurShader.d.ts +0 -22
- package/src/engine/graphics/shaders/GaussianBlurShader.d.ts.map +0 -1
- package/src/engine/graphics/shaders/GaussianBlurShader.js +0 -79
- package/src/engine/graphics/shaders/GaussianGlowShader.d.ts +0 -26
- package/src/engine/graphics/shaders/GaussianGlowShader.d.ts.map +0 -1
- package/src/engine/graphics/shaders/GaussianGlowShader.js +0 -83
- package/src/engine/graphics/shaders/NormalMapShader.d.ts +0 -33
- package/src/engine/graphics/shaders/NormalMapShader.d.ts.map +0 -1
- package/src/engine/graphics/shaders/NormalMapShader.js +0 -62
- package/src/engine/graphics/shaders/SoftOutlineShader.d.ts +0 -3
- package/src/engine/graphics/shaders/SoftOutlineShader.d.ts.map +0 -1
- package/src/engine/graphics/shaders/SoftOutlineShader.js +0 -111
- package/src/engine/graphics/three/Reflector.d.ts +0 -12
- package/src/engine/graphics/three/Reflector.d.ts.map +0 -1
- package/src/engine/graphics/three/Reflector.js +0 -281
- package/src/engine/graphics/three/Refractor.d.ts +0 -11
- package/src/engine/graphics/three/Refractor.d.ts.map +0 -1
- package/src/engine/graphics/three/Refractor.js +0 -352
- package/src/engine/navigation/ecs/components/PathFinder.d.ts +0 -14
- package/src/engine/navigation/ecs/components/PathFinder.d.ts.map +0 -1
- package/src/engine/navigation/ecs/components/PathFinder.js +0 -11
- package/src/view/elements/navigation/NavigationMenu.d.ts +0 -13
- package/src/view/elements/navigation/NavigationMenu.d.ts.map +0 -1
- package/src/view/elements/navigation/NavigationMenu.js +0 -27
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../../src/view/elements/Group.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../../src/view/elements/Group.js"],"names":[],"mappings":";AAEA;IACI,cAKC;IAHc,mBAAuC;IAElD,gBAAkB;IAGtB,qBAIC;IAED,wBAOC;IAED,eAIC;CACJ;iBA9BgB,YAAY"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeshPreview.d.ts","sourceRoot":"","sources":["../../../../src/view/elements/MeshPreview.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"MeshPreview.d.ts","sourceRoot":"","sources":["../../../../src/view/elements/MeshPreview.js"],"names":[],"mappings":";AAqBA;IACI;;;;;;;;;OASG;IACH,qFARW,MAAM,EAiLhB;IA/JG,wCAAoB;IACpB,WAAiB;IACjB,YAAkB;IA4BlB,YAAmD;IAgCnD,+CAAsC;IAItC,wBAyFE;IAMN,+BAMC;IAKG,qBAAuB;IA2D3B,eAIC;CACJ;iBA5QgB,YAAY"}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Created by Alex on 18/05/2016.
|
|
3
|
-
*/
|
|
4
|
-
import { makeMeshPreviewScene } from "../../engine/graphics/util/makeMeshPreviewScene.js";
|
|
5
|
-
import View from "../View.js";
|
|
6
1
|
import { AnimationMixer, Group, PCFSoftShadowMap, sRGBEncoding } from 'three';
|
|
7
2
|
|
|
8
3
|
import Vector2 from '../../core/geom/Vector2.js';
|
|
4
|
+
import { computeFileExtension } from "../../core/path/computeFileExtension.js";
|
|
5
|
+
import { advanceAnimation } from "../../engine/ecs/systems/AnimationSystem.js";
|
|
6
|
+
import { WebGLRendererPool } from "../../engine/graphics/render/RendererPool.js";
|
|
7
|
+
import { makeMeshPreviewScene } from "../../engine/graphics/util/makeMeshPreviewScene.js";
|
|
9
8
|
import { PointerDevice } from '../../engine/input/devices/PointerDevice.js';
|
|
10
9
|
|
|
11
10
|
import dom from "../DOM.js";
|
|
12
|
-
import
|
|
13
|
-
import { advanceAnimation } from "../../engine/ecs/systems/AnimationSystem.js";
|
|
14
|
-
import { computeFileExtension } from "../../core/path/computeFileExtension.js";
|
|
11
|
+
import View from "../View.js";
|
|
15
12
|
|
|
16
13
|
const mapExtension2Mime = {
|
|
17
14
|
gltf: "model/gltf+json",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleWindow.d.ts","sourceRoot":"","sources":["../../../../src/view/elements/SimpleWindow.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SimpleWindow.d.ts","sourceRoot":"","sources":["../../../../src/view/elements/SimpleWindow.js"],"names":[],"mappings":";AA0EA;IACI,4CAkCC;IA9BG,YAAkB;IAalB,qBAA6C;IAgB7C,aAA0B;CAEjC;iBAvGgB,YAAY;0BAPH,mCAAmC"}
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Created by Alex on 16/03/2016.
|
|
3
|
-
*/
|
|
4
|
-
import View from "../View.js";
|
|
5
|
-
import dom from "../DOM.js";
|
|
6
|
-
import { PointerDevice } from '../../engine/input/devices/PointerDevice.js';
|
|
7
1
|
import ObservedValue from '../../core/model/ObservedValue.js';
|
|
8
|
-
|
|
9
|
-
import ObservedValueView from '../common/LabelView.js';
|
|
10
|
-
import { DraggableAspect } from "../../engine/ui/DraggableAspect.js";
|
|
11
2
|
import { MouseEvents } from "../../engine/input/devices/events/MouseEvents.js";
|
|
3
|
+
import { PointerDevice } from '../../engine/input/devices/PointerDevice.js';
|
|
4
|
+
import { DraggableAspect } from "../../engine/ui/DraggableAspect.js";
|
|
12
5
|
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
import ObservedValueView from '../common/LabelView.js';
|
|
7
|
+
import dom from "../DOM.js";
|
|
8
|
+
import View from "../View.js";
|
|
15
9
|
|
|
16
10
|
/**
|
|
17
11
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonView.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/button/ButtonView.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ButtonView.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/button/ButtonView.js"],"names":[],"mappings":";AAKA;IACI;;;;;;;;;OASG;IACH,0DARW,MAAM,EAsFhB;IA9DG,YAAkB;IAgEtB;;;OAGG;IACH,0BASC;IAED;;;OAGG;IACH,uBAEC;IA7BG;;;;OAIG;IACH,kBAAqB;CAyB5B;iBApHgB,eAAe"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Created by Alex on 21/03/2017.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
1
|
import LabelView from '../../common/LabelView.js';
|
|
2
|
+
import domify from "../../DOM.js";
|
|
6
3
|
import View from '../../View.js';
|
|
7
4
|
import ImageView from "../image/ImageView.js";
|
|
8
|
-
import domify from "../../DOM.js";
|
|
9
5
|
|
|
10
6
|
class ButtonView extends View {
|
|
11
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageView.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/image/ImageView.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ImageView.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/image/ImageView.js"],"names":[],"mappings":";AA4CA;IACI;;;;;OAKG;IACH,iBAJW,uBAAqB,8BACrB,QAAQ,EAyDlB;IAdG,qBAAsC;IAgB1C,gBAYC;IAED;;;;;OAKG;IACH,kBAGC;IAED;;;;OAIG;IACH,oBAEC;CACJ;iBAvIgB,eAAe"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Created by Alex on 27/02/2017.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
1
|
import { KeyValuePair } from "../../../core/collection/KeyValuePair.js";
|
|
6
2
|
import { noop } from "../../../core/function/noop.js";
|
|
7
3
|
import { ImmutableObjectPool } from "../../../core/model/object/ImmutableObjectPool.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SvgImageView.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/image/SvgImageView.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SvgImageView.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/image/SvgImageView.js"],"names":[],"mappings":";AAKA;IACI;;;;;OAKG;IACH,iBAJW,MAAM,kCAqDhB;IADG,YAAe;IAGnB,eAIK;CAUR;iBA1EgB,eAAe"}
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Created by Alex on 13/03/2017.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import View from "../../View.js";
|
|
7
|
-
import SVG from "../../SVG.js";
|
|
8
1
|
import AABB2 from "../../../core/geom/AABB2.js";
|
|
2
|
+
import SVG from "../../SVG.js";
|
|
9
3
|
import { resizeAABB2ToFitBoundingClientRect } from "../../util/DomSizeObserver.js";
|
|
4
|
+
import View from "../../View.js";
|
|
10
5
|
|
|
11
6
|
class SvgImageView extends View {
|
|
12
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabeledValueView.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/label/LabeledValueView.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"LabeledValueView.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/label/LabeledValueView.js"],"names":[],"mappings":";AAaA;IACI;;;;;;;;OAQG;IACH,6DAPW,MAAM,EAyChB;IA9BG,YAAkB;IAKlB;;;OAGG;IACH,QAFU,SAAS,CAEC;IAWpB,YAAoB;CAW3B;iBAvDgB,eAAe;sBAFV,2BAA2B"}
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Created by Alex on 08/08/2016.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import View from "../../View.js";
|
|
7
|
-
import dom from "../../DOM.js";
|
|
8
|
-
import LabelView from "../../common/LabelView.js";
|
|
9
1
|
import { assert } from "../../../core/assert.js";
|
|
2
|
+
import LabelView from "../../common/LabelView.js";
|
|
3
|
+
import dom from "../../DOM.js";
|
|
4
|
+
import View from "../../View.js";
|
|
10
5
|
|
|
11
6
|
|
|
12
7
|
function labelValueViewFactory(value) {
|
|
@@ -42,13 +42,6 @@ export class ViewStack extends View<HTMLElement> {
|
|
|
42
42
|
pop(): StackFrame | undefined;
|
|
43
43
|
}
|
|
44
44
|
import View from "../../View.js";
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @param {View} view
|
|
48
|
-
* @param {string} name
|
|
49
|
-
* @constructor
|
|
50
|
-
*/
|
|
51
|
-
declare function StackFrame(view: View, name: string): void;
|
|
52
45
|
declare class StackFrame {
|
|
53
46
|
/**
|
|
54
47
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewStack.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/navigation/ViewStack.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ViewStack.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/navigation/ViewStack.js"],"names":[],"mappings":"AAwBA;IACI;;;;;OAKG;IACH,cA8BC;IAdG,YAAiB;IAIjB,eAAiB;IACjB;;;;OAIG;IACH,sBAAyB;IAM7B;;OAEG;IACH,8BAKC;IAQD;;;OAGG;IACH,uBAsBC;IAED;;;;OAIG;IACH,WAHW,IAAI,SACJ,MAAM,QAQhB;IAED;;;;OAIG;IACH,aAHW,MAAM,GACJ,UAAU,EAAE,CAQxB;IAED;;;OAGG;IACH,OAFa,UAAU,GAAC,SAAS,CAKhC;CACJ;iBA5IgB,eAAe;AAEhC;IACI;;;;;OAKG;IACH,kBAJW,IAAI,QACJ,MAAM,EAchB;IAVG;;;OAGG;IACH,MAFU,IAAI,CAEE;IAChB;;;OAGG;IACH,MAFU,MAAM,CAEA;CAEvB"}
|
|
@@ -1,27 +1,25 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Created by Alex on 04/11/2016.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import View from "../../View.js";
|
|
6
1
|
import domify from "../../DOM.js";
|
|
2
|
+
import View from "../../View.js";
|
|
7
3
|
|
|
8
|
-
|
|
9
|
-
*
|
|
10
|
-
* @param {View} view
|
|
11
|
-
* @param {string} name
|
|
12
|
-
* @constructor
|
|
13
|
-
*/
|
|
14
|
-
function StackFrame(view, name) {
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @type {View}
|
|
18
|
-
*/
|
|
19
|
-
this.view = view;
|
|
4
|
+
class StackFrame {
|
|
20
5
|
/**
|
|
21
6
|
*
|
|
22
|
-
* @
|
|
7
|
+
* @param {View} view
|
|
8
|
+
* @param {string} name
|
|
9
|
+
* @constructor
|
|
23
10
|
*/
|
|
24
|
-
|
|
11
|
+
constructor(view, name) {
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @type {View}
|
|
15
|
+
*/
|
|
16
|
+
this.view = view;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
*/
|
|
21
|
+
this.name = name;
|
|
22
|
+
}
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
export class ViewStack extends View {
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* Created by Alex on 17/04/2016.
|
|
3
|
-
*/
|
|
1
|
+
import { assert } from "../../../core/assert.js";
|
|
4
2
|
import dom from '../../DOM.js';
|
|
5
3
|
import View from "../../View.js";
|
|
6
|
-
import { assert } from "../../../core/assert.js";
|
|
7
4
|
import ImageView from "../image/ImageView.js";
|
|
8
5
|
|
|
9
6
|
class NotificationView extends View {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastLogView.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/notify/ToastLogView.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ToastLogView.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/notify/ToastLogView.js"],"names":[],"mappings":";AA+BA;IACI;;;;;OAKG;IACH;;OAoDC;IA9CG,YAAkB;IAElB,gBAAkB;CA6CzB;iBAzFgB,eAAe"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export default ProgressBarView;
|
|
2
|
+
declare class ProgressBarView extends View<HTMLElement> {
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param {number[]|BoundedValue} [model]
|
|
6
|
+
* @param classList
|
|
7
|
+
* @param displayLabel
|
|
8
|
+
* @param displayLabelType
|
|
9
|
+
* @param displayTipMarker
|
|
10
|
+
* @param process
|
|
11
|
+
*/
|
|
12
|
+
constructor(model?: number[] | BoundedValue, { classList, displayLabel, displayLabelType, displayTipMarker, process }?: {
|
|
13
|
+
classList?: any[];
|
|
14
|
+
displayLabel?: boolean;
|
|
15
|
+
displayLabelType?: string;
|
|
16
|
+
displayTipMarker?: boolean;
|
|
17
|
+
process?: typeof passThrough;
|
|
18
|
+
});
|
|
19
|
+
model: number[] | BoundedValue;
|
|
20
|
+
el: Element;
|
|
21
|
+
/**
|
|
22
|
+
* @type {HTMLElement}
|
|
23
|
+
*/
|
|
24
|
+
__el_fill: HTMLElement;
|
|
25
|
+
__el_fill_container: HTMLDivElement;
|
|
26
|
+
__display_tip_marker: boolean;
|
|
27
|
+
__el_tip_marker: HTMLDivElement;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {function}
|
|
31
|
+
* @private
|
|
32
|
+
*/
|
|
33
|
+
private __process;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @private
|
|
38
|
+
*/
|
|
39
|
+
private __display_label_enabled;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @private
|
|
44
|
+
*/
|
|
45
|
+
private __display_label_type;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {null|DOM}
|
|
49
|
+
* @private
|
|
50
|
+
*/
|
|
51
|
+
private __dom_label;
|
|
52
|
+
__value_current: number;
|
|
53
|
+
__value_max: number;
|
|
54
|
+
__throttled_render: Function;
|
|
55
|
+
set value(arg: number);
|
|
56
|
+
get value(): number;
|
|
57
|
+
set max(arg: number);
|
|
58
|
+
get max(): number;
|
|
59
|
+
render(): void;
|
|
60
|
+
/**
|
|
61
|
+
* @private
|
|
62
|
+
*/
|
|
63
|
+
private __updateFromArray;
|
|
64
|
+
/**
|
|
65
|
+
* @private
|
|
66
|
+
*/
|
|
67
|
+
private __updateFromBoundedValue;
|
|
68
|
+
}
|
|
69
|
+
import View from "../../View.js";
|
|
70
|
+
import BoundedValue from "../../../core/model/BoundedValue.js";
|
|
71
|
+
import { passThrough } from "../../../core/function/passThrough.js";
|
|
72
|
+
//# sourceMappingURL=SmoothProgressBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmoothProgressBar.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/progress/SmoothProgressBar.js"],"names":[],"mappings":";AAkBA;IACI;;;;;;;;OAQG;IACH,oBAPW,MAAM,EAAE,GAAC,YAAY;;;;;;OAoG/B;IAnFG,+BAAkB;IAIlB,YAAkB;IAIlB;;OAEG;IACH,WAFU,WAAW,CAEmC;IAExD,oCAAwD;IAaxD,8BAA4C;IAGxC,gCAAoD;IAOxD;;;;OAIG;IACH,kBAAwB;IAExB;;;;OAIG;IACH,gCAA2C;IAC3C;;;;OAIG;IACH,6BAA4C;IAE5C;;;;OAIG;IACH,oBAAyB;IAEzB,wBAAwB;IACxB,oBAAoB;IAGpB,6BAA0D;IAsB9D,uBAQC;IAZD,oBAEC;IAgBD,qBAQC;IAZD,kBAEC;IAYD,eA2BC;IAED;;OAEG;IACH,0BAGC;IAED;;OAEG;IACH,iCAGC;CACJ;iBA7LgB,eAAe;yBAHP,qCAAqC;4BAHlC,uCAAuC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadialMenu.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/radial/RadialMenu.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RadialMenu.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/radial/RadialMenu.js"],"names":[],"mappings":";AAcA;IACI;;;;;;;;;;;;OAYG;IACH,mBAXW,6BAA6B,4HAC7B,MAAM,EAwJhB;IAlIG;;;OAGG;IACH,UAFU,KAAK,iBAAiB,CAAC,CAEP;IAE1B;;;OAGG;IACH,UAFU,MAAO,iBAAiB,CAAC,CAEjB;IAElB;;;OAGG;IACH,oBAFU,MAAM,CAEW;IAE3B;;;OAGG;IACH,SAFU,MAAM,CAEM;IAEtB;;;OAGG;IACH,aAFU,MAAM,CAEc;IAC9B;;;OAGG;IACH,aAFU,MAAM,CAEc;IAU9B;;OAEG;IACH,qBAFU,MAAM,CAE8B;IAC9C;;OAEG;IACH,qBAFU,MAAM,CAE8B;IAG9C;;;OAGG;IACH,kBAFU,MAAM,CAEqC;IACrD;;;OAGG;IACH,kBAFU,MAAM,CAEwB;IAExC;;;OAGG;IACH,OAFU,MAAM,CAEsB;IACtC;;;OAGG;IACH,QAFU,MAAM,CAEuB;IAE5B,mBAAuC;IAgClD,6BAA0C;IAO1C,sBAAqC;IAkBzC,eAIC;IAOD,8BAIC;IAED;;;OAGG;IACH,YAFW,6BAA6B,QA+BvC;IAED,mBAsBC;IAED,+BAKC;IAED,qCAeC;IAED,wBAMC;IAED;;;;OAIG;IACH,wBAHW,iBAAiB,QACjB,OAAO,QAmCjB;IAED,8BAQC;IAED;;;OAGG;IACH,qBAFW,MAAM,QA2ChB;IAED,oBAOC;CACJ;iBA5XgB,eAAe;iBAJf,uCAAuC;8BAO1B,wBAAwB;sBAFhC,iBAAiB;oBAJnB,+BAA+B"}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Created by Alex on 26/07/2014.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { arraySetDiff } from "../../../core/collection/array/arraySetDiff.js";
|
|
6
2
|
import List from "../../../core/collection/list/List.js";
|
|
7
3
|
import Vector2 from "../../../core/geom/Vector2.js";
|
|
8
4
|
import SVG from "../../SVG.js";
|
|
@@ -11,7 +7,6 @@ import View from "../../View.js";
|
|
|
11
7
|
import EmptyView from "../EmptyView.js";
|
|
12
8
|
import { makeDonut } from "./makeDonut.js";
|
|
13
9
|
import RadialMenuElement from "./RadialMenuElement.js";
|
|
14
|
-
import { arraySetDiff } from "../../../core/collection/array/arraySetDiff.js";
|
|
15
10
|
|
|
16
11
|
const PI2 = Math.PI * 2;
|
|
17
12
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadialMenuElement.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/radial/RadialMenuElement.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RadialMenuElement.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/radial/RadialMenuElement.js"],"names":[],"mappings":";AAcA;IACI;;;OAGG;IACH,sDAmDC;IAhDG;;;OAGG;IACH,yCAA8B;IAM9B,YAAkB;IAUlB,aAAoB;IAiBpB,uBAKmC;IAgBvC;;;OAGG;IACH,0BAGC;IAfD;;;OAGG;IACH,uBAEC;IAmBD;;;OAGG;IACH,6BAGC;IAfD;;;OAGG;IACH,0BAEC;IAmBD;;;OAGG;IACH,6BAGC;IAfD;;;OAGG;IACH,0BAEC;IAWD,mBAwCC;IAED,eAoCC;CACJ;iBAvMgB,eAAe;2BACL,iBAAiB"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* Created by Alex on 02/05/2016.
|
|
3
|
-
*/
|
|
1
|
+
import { computeIsoscelesTriangleApexAngle } from "../../../core/math/computeIsoscelesTriangleApexAngle.js";
|
|
4
2
|
import dom from "../../DOM.js";
|
|
5
3
|
import SVG from "../../SVG.js";
|
|
6
4
|
import View from "../../View.js";
|
|
7
5
|
import { RadialText } from "./RadialText.js";
|
|
8
|
-
import { computeIsoscelesTriangleApexAngle } from "../../../core/math/computeIsoscelesTriangleApexAngle.js";
|
|
9
6
|
|
|
10
7
|
const PI2 = Math.PI * 2;
|
|
11
8
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadialProgressView.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/radial/RadialProgressView.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RadialProgressView.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/radial/RadialProgressView.js"],"names":[],"mappings":";AAOA;IACI,sCA2EC;IAnEG,yBAAqD;IAsDrD,YAAe;CActB;iBA/EgB,eAAe;0BAFN,sCAAsC"}
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import View from "../../View.js";
|
|
7
|
-
import SVG from '../../SVG.js';
|
|
1
|
+
import { clamp01 } from "../../../core/math/clamp01.js";
|
|
2
|
+
import BoundedValue from "../../../core/model/BoundedValue.js";
|
|
8
3
|
|
|
9
4
|
import ObservedValue from "../../../core/model/ObservedValue.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
5
|
+
import SVG from '../../SVG.js';
|
|
6
|
+
import View from "../../View.js";
|
|
12
7
|
|
|
13
8
|
class RadialProgressView extends View {
|
|
14
9
|
constructor(model, options) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/tiles2d/Tile.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/tiles2d/Tile.js"],"names":[],"mappings":";AAMA;IA4DI,kFAEC;IAED,0EAMC;IArED;;;;;OAKG;IACH,iDAmBC;IAhBG,iBAAkB;IAClB,aAA2B;IAE3B,sBAAsB;IACtB,qBAAwB;IAExB,YAA6D;IAYjE,uBAGC;IAED,mBAGC;IAED,yBAMC;IAED,qBAOC;IAED,eAGC;CAaJ;iBAzEgB,eAAe"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* Created by Alex on 15/03/2016.
|
|
3
|
-
*/
|
|
4
|
-
import View from "../../View.js";
|
|
5
|
-
import dom from "../../DOM.js";
|
|
1
|
+
import Vector2 from "../../../core/geom/Vector2.js";
|
|
6
2
|
|
|
7
3
|
import UUID from "../../../core/UUID.js";
|
|
8
|
-
import
|
|
4
|
+
import dom from "../../DOM.js";
|
|
5
|
+
import View from "../../View.js";
|
|
9
6
|
|
|
10
7
|
class TileView extends View {
|
|
11
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TileGrid.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/tiles2d/TileGrid.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"TileGrid.d.ts","sourceRoot":"","sources":["../../../../../src/view/elements/tiles2d/TileGrid.js"],"names":[],"mappings":";AAuBA;IACI;;;;;;;;;;;OAWG;IACH,kKAwGC;IAzFG;;;OAGG;IACH,gBAAkB;IAElB;;;;OAIG;IACH,6BAA8C;IAC9C;;;;OAIG;IACH,4BAA4C;IAC5C;;;;OAIG;IACH,mBAA0B;IAC1B;;;;OAIG;IACH,sBAAgC;IAChC;;;;OAIG;IACH,wBAAoC;IAEpC;;;;OAIG;IACH,0BAAwC;IACxC;;;;OAIG;IACH,0BAAwC;IAExC;;;;OAIG;IACH,0BAAwC;IAGxC,YAAkB;IAKlB,sCAAkC;IAclC,aAAe;IAcnB;;;;;;;OAOG;IACH,uBAqHC;IAED;;;;;OAKG;IACH,4BAEC;IAED,yCA6DC;IAED;;;;OAIG;IACH,qBAHW,MAAM,UACN,MAAM,QAehB;IAED;;;OAGG;IACH,+BAsBC;IAED;;;;;OAKG;IACH,WAJW,MAAM,KACN,MAAM,GACL,IAAI,CAUf;IAED;;;OAGG;IACH,kCAQC;IAED;;;;OAIG;IACH,+BAFY,IAAI,CAUf;IAED,+BAWC;CACJ;iBArbgB,eAAe;AAKhC;IACI,cAGC;IADG,SAA+C;CAEtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Minimap.d.ts","sourceRoot":"","sources":["../../../../src/view/minimap/Minimap.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Minimap.d.ts","sourceRoot":"","sources":["../../../../src/view/minimap/Minimap.js"],"names":[],"mappings":";AAmBA;IACI;;;;;OAKG;IACH,+EA0JC;IAvJG,YAAsD;IAEtD;;;OAGG;IACH,sCAAkC;IASpB,OAFJ,SAAS,CAEiC;IAKpD,wBAAgF;IAmBhF,oBAAwE;IAGxE,uBAAyB;IACzB,gCAA6B;IAMT,eAFV,iBAAiB,EAAE,CAEc;IA+B3C,+BAAyF;IA+BzE,uBAA2C;IA0C/D,cAKC;CAkDJ;iBAlOgB,YAAY;sBAXP,iCAAiC;+BAgBxB,wBAAwB;sBANjC,0BAA0B;iCAKf,0BAA0B;kCAHzB,4BAA4B;+BAV/B,oCAAoC;8BAMrC,6CAA6C"}
|
|
@@ -1,25 +1,20 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Created by Alex on 04/03/14.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import View from "../View.js";
|
|
7
|
-
import EmptyView from "../elements/EmptyView.js";
|
|
8
|
-
import domify from "../DOM.js";
|
|
9
|
-
import Terrain from "../../engine/ecs/terrain/ecs/Terrain.js";
|
|
10
|
-
import Vector2 from "../../core/geom/Vector2.js";
|
|
11
|
-
import { Camera } from "../../engine/graphics/ecs/camera/Camera.js";
|
|
12
|
-
import { PointerDevice } from "../../engine/input/devices/PointerDevice.js";
|
|
13
|
-
import TopDownCameraController from "../../engine/graphics/ecs/camera/topdown/TopDownCameraController.js";
|
|
14
|
-
import { MinimapMarkersGL } from "./gl/MinimapMarkersGL.js";
|
|
15
1
|
import Rectangle from "../../core/geom/2d/Rectangle.js";
|
|
2
|
+
import Vector2 from "../../core/geom/Vector2.js";
|
|
16
3
|
import { EntityObserver } from "../../engine/ecs/EntityObserver.js";
|
|
4
|
+
import Terrain from "../../engine/ecs/terrain/ecs/Terrain.js";
|
|
5
|
+
import { obtainTerrain } from "../../engine/ecs/terrain/util/obtainTerrain.js";
|
|
17
6
|
import { Transform } from "../../engine/ecs/transform/Transform.js";
|
|
18
|
-
import {
|
|
7
|
+
import { Camera } from "../../engine/graphics/ecs/camera/Camera.js";
|
|
8
|
+
import TopDownCameraController from "../../engine/graphics/ecs/camera/topdown/TopDownCameraController.js";
|
|
9
|
+
import { PointerDevice } from "../../engine/input/devices/PointerDevice.js";
|
|
10
|
+
import domify from "../DOM.js";
|
|
11
|
+
import EmptyView from "../elements/EmptyView.js";
|
|
12
|
+
import View from "../View.js";
|
|
19
13
|
import { MinimapCameraView } from "./dom/MinimapCameraView.js";
|
|
20
14
|
import { MinimapFogOfWar } from "./gl/MinimapFogOfWar.js";
|
|
15
|
+
import { MinimapMarkersGL } from "./gl/MinimapMarkersGL.js";
|
|
21
16
|
import { MinimapTerrainGL } from "./gl/MinimapTerrainGL.js";
|
|
22
|
-
import {
|
|
17
|
+
import { MinimapWorldGL } from "./gl/MinimapWorldGL.js";
|
|
23
18
|
|
|
24
19
|
|
|
25
20
|
class MinimapView extends View {
|
|
@@ -43,7 +43,7 @@ export class MinimapCameraView extends View<HTMLElement> {
|
|
|
43
43
|
*
|
|
44
44
|
* @type {ObservedValue<Terrain>}
|
|
45
45
|
*/
|
|
46
|
-
terrain:
|
|
46
|
+
terrain: any;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @param {Vector3} result
|
|
@@ -65,6 +65,5 @@ export class MinimapCameraView extends View<HTMLElement> {
|
|
|
65
65
|
__update(): void;
|
|
66
66
|
}
|
|
67
67
|
import View from "../../View.js";
|
|
68
|
-
import ObservedValue from "../../../core/model/ObservedValue.js";
|
|
69
68
|
import Vector3 from "../../../core/geom/Vector3.js";
|
|
70
69
|
//# sourceMappingURL=MinimapCameraView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MinimapCameraView.d.ts","sourceRoot":"","sources":["../../../../../src/view/minimap/dom/MinimapCameraView.js"],"names":[],"mappings":"AAUA;IACI;;;;;;;;OAQG;IACH,sEAyDC;IAtDG,YAAkC;IAIlC;;;;OAIG;IACH,qBAAgD;IAIhD;;;OAGG;IACH,eAAoB;IACpB;;;OAGG;IACH,qBAA0B;IAE1B,eAAoB;IAEpB;;;;OAIG;IACH,gBAAoB;IAEpB;;;;OAIG;IACH,sBAA+B;IAE/B;;;OAGG;IACH,
|
|
1
|
+
{"version":3,"file":"MinimapCameraView.d.ts","sourceRoot":"","sources":["../../../../../src/view/minimap/dom/MinimapCameraView.js"],"names":[],"mappings":"AAUA;IACI;;;;;;;;OAQG;IACH,sEAyDC;IAtDG,YAAkC;IAIlC;;;;OAIG;IACH,qBAAgD;IAIhD;;;OAGG;IACH,eAAoB;IACpB;;;OAGG;IACH,qBAA0B;IAE1B,eAAoB;IAEpB;;;;OAIG;IACH,gBAAoB;IAEpB;;;;OAIG;IACH,sBAA+B;IAE/B;;;OAGG;IACH,aAAsC;IAY1C;;;;;;;;;OASG;IACH,uBARW,OAAO,WACP,MAAM,WACN,MAAM,WACN,MAAM,cACN,MAAM,cACN,MAAM,cACN,MAAM,QAsChB;IAED;;;;;OAKG;IACH,YAJW,MAAM,KACN,MAAM,GACJ,OAAO,CAgCnB;IAED,iBA0BC;CAgBJ;iBA/MgB,eAAe;oBACZ,+BAA+B"}
|
|
@@ -12,7 +12,7 @@ export class MinimapTerrainView extends View<HTMLElement> {
|
|
|
12
12
|
* @type {TerrainPreview}
|
|
13
13
|
*/
|
|
14
14
|
preview: TerrainPreview;
|
|
15
|
-
terrain: ObservedValue
|
|
15
|
+
terrain: ObservedValue;
|
|
16
16
|
__setTerrain(terrain: any, oldTerrain: any): void;
|
|
17
17
|
}
|
|
18
18
|
import View from "../../View.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MinimapTerrainView.d.ts","sourceRoot":"","sources":["../../../../../src/view/minimap/dom/MinimapTerrainView.js"],"names":[],"mappings":"AAOA;IACI;;;;;OAKG;IACH,+CAoHC;IA5GG,YAAgB;IAahB;;;OAGG;IACH,wBAAmB;IAoFnB,
|
|
1
|
+
{"version":3,"file":"MinimapTerrainView.d.ts","sourceRoot":"","sources":["../../../../../src/view/minimap/dom/MinimapTerrainView.js"],"names":[],"mappings":"AAOA;IACI;;;;;OAKG;IACH,+CAoHC;IA5GG,YAAgB;IAahB;;;OAGG;IACH,wBAAmB;IAoFnB,uBAAsC;IAS1C,kDAUK;CACR;iBA/IgB,eAAe;0BAIN,sCAAsC"}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {MinimapMarker} marker
|
|
4
|
-
* @param {Transform} transform
|
|
5
|
-
* @param entity
|
|
6
|
-
* @param id
|
|
7
|
-
* @param {MinimapMarkersGL} manager
|
|
8
|
-
* @constructor
|
|
9
|
-
*/
|
|
10
|
-
export function MarkerGL(marker: MinimapMarker, transform: Transform, entity: any, id: any, manager: MinimapMarkersGL): void;
|
|
11
1
|
export class MarkerGL {
|
|
12
2
|
/**
|
|
13
3
|
*
|
|
@@ -35,8 +25,8 @@ export class MarkerGL {
|
|
|
35
25
|
manager: MinimapMarkersGL;
|
|
36
26
|
particles: any;
|
|
37
27
|
active: boolean;
|
|
38
|
-
updatePosition
|
|
39
|
-
updateIcon
|
|
28
|
+
updatePosition(): void;
|
|
29
|
+
updateIcon(newURL: any, oldURL: any): void;
|
|
40
30
|
startup(): void;
|
|
41
31
|
shutdown(): void;
|
|
42
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkerGL.d.ts","sourceRoot":"","sources":["../../../../../src/view/minimap/gl/MarkerGL.js"],"names":[],"mappings":"AAOA
|
|
1
|
+
{"version":3,"file":"MarkerGL.d.ts","sourceRoot":"","sources":["../../../../../src/view/minimap/gl/MarkerGL.js"],"names":[],"mappings":"AAOA;IACI;;;;;;;;OAQG;IACH,0GAsBC;IArBG;;;OAGG;IACH,sBAAoB;IACpB,qBAA0B;IAC1B,YAAoB;IAEpB,QAAY;IAEZ;;;OAGG;IACH,OAFU,qBAAqB,CAEJ;IAE3B,0BAAsB;IACtB,eAAuC;IAEvC,gBAAmB;IAIvB,uBAaC;IAED,2CA8BC;IAED,gBAkBC;IAED,iBASC;CACJ;0BAtHyB,2CAA2C"}
|