Skip to content

Commit

Permalink
feat: support worker with self styling
Browse files Browse the repository at this point in the history
  • Loading branch information
pyshx committed Mar 6, 2024
1 parent 464faf7 commit 23f7e50
Show file tree
Hide file tree
Showing 77 changed files with 51,906 additions and 332 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

2 changes: 0 additions & 2 deletions .eslintrc.yml

This file was deleted.

1 change: 1 addition & 0 deletions .nx/cache/15190137919785745811.commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
true
Binary file added .nx/cache/15190137919785745811.tar.gz
Binary file not shown.
1 change: 1 addition & 0 deletions .nx/cache/15190137919785745811/code
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
11 changes: 11 additions & 0 deletions .nx/cache/15190137919785745811/terminalOutput
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
vite v4.1.4 building for production...
transforming (1) src/index.tstransforming (10) node_modules/threads/dist/serializers.jstransforming (47) node_modules/@cesium/engine/Source/DataSources/EllipsoidGraphics.jstransforming (67) node_modules/@cesium/engine/Source/DataSources/MaterialProperty.jstransforming (69) node_modules/@cesium/engine/Source/DataSources/ModelGraphics.jstransforming (89) node_modules/@cesium/engine/Source/DataSources/PositionProperty.jstransforming (109) node_modules/@cesium/engine/Source/DataSources/TerrainOffsetProperty.jstransforming (129) node_modules/@cesium/engine/Source/Renderer/CubeMap.jstransforming (149) node_modules/@cesium/engine/Source/Renderer/ShaderProgram.jstransforming (169) node_modules/@cesium/engine/Source/Shaders/BillboardCollectionVS.jstransforming (209) node_modules/@cesium/engine/Source/Shaders/SunVS.jstransforming (229) node_modules/@cesium/engine/Source/Core/Cartesian3.jstransforming (267) node_modules/@cesium/engine/Source/Core/EarthOrientationParametersSample.jstransforming (289) node_modules/@cesium/engine/Source/Core/GeocoderService.jstransforming (309) node_modules/@cesium/engine/Source/Core/Heap.jstransforming (345) node_modules/@cesium/engine/Source/Core/MorphWeightSpline.jstransforming (365) node_modules/@cesium/engine/Source/Core/PolygonHierarchy.jstransforming (383) node_modules/@cesium/engine/Source/Core/RectangleCollisionChecker.jstransforming (403) node_modules/@cesium/engine/Source/Core/SphereOutlineGeometry.jstransforming (423) node_modules/@cesium/engine/Source/Core/TranslationRotationScale.jstransforming (441) node_modules/@cesium/engine/Source/Core/barycentricCoordinates.jstransforming (469) node_modules/@cesium/engine/Source/Core/isCrossOriginUrl.jstransforming (507) node_modules/@cesium/engine/Source/Scene/BoxEmitter.jstransforming (529) node_modules/@cesium/engine/Source/Scene/Cesium3DTileRefine.jstransforming (556) node_modules/@cesium/engine/Source/Scene/DebugCameraPrimitive.jstransforming (575) node_modules/@cesium/engine/Source/Scene/FrustumCommands.jstransforming (589) node_modules/@cesium/engine/Source/Scene/GltfIndexBufferLoader.jstransforming (609) node_modules/@cesium/engine/Source/Scene/I3SNode.jstransforming (633) node_modules/@cesium/engine/Source/Scene/JsonMetadataTable.jstransforming (649) node_modules/@cesium/engine/Source/Scene/MetadataEnumValue.jstransforming (669) node_modules/@cesium/engine/Source/Scene/PerformanceDisplay.jstransforming (687) node_modules/@cesium/engine/Source/Scene/PostProcessStage.jstransforming (706) node_modules/@cesium/engine/Source/Scene/QuadtreeTileLoadState.jstransforming (725) node_modules/@cesium/engine/Source/Scene/SkyAtmosphere.jstransforming (745) node_modules/@cesium/engine/Source/Scene/TileBoundingSphere.jstransforming (749) node_modules/@cesium/engine/Source/Scene/TileImagery.jstransforming (769) node_modules/@cesium/engine/Source/Scene/Vector3DTilePolygons.jstransforming (789) node_modules/@cesium/engine/Source/Scene/createBillboardPointCallback.jstransforming (826) node_modules/@cesium/engine/Source/Shaders/Materials/ElevationBandMaterial.jstransforming (849) node_modules/@cesium/engine/Source/Shaders/Model/InstancingStageVS.jstransforming (929) node_modules/@cesium/engine/Source/Scene/GltfPipeline/updateAccessorComponentTypes.jstransforming (959) node_modules/@cesium/engine/Source/Scene/Model/ModelAnimationCollection.jstransforming (989) node_modules/@cesium/engine/Source/Scene/Model/PrimitiveStatisticsPipelineStage.jstransforming (1026) node_modules/@cesium/engine/Source/Shaders/Builtin/Constants/piOverFour.jstransforming (1069) node_modules/@cesium/engine/Source/Shaders/Builtin/Functions/ellipsoidWgs84TextureCoordinates.jstransforming (1154) node_modules/@tweenjs/tween.js/dist/tween.esm.jstransforming (1173) node_modules/kdbush/src/range.jstransforming (1198) node_modules/@zip.js/zip.js/lib/core/configuration.jstransforming (1220) node_modules/observable-fns/dist.esm/scan.jstransforming (1228) node_modules/autolinker/dist/es2015/parser/hashtag-utils.jstransforming (1240) node_modules/autolinker/dist/es2015/match/url-match.jstransforming (1304) node_modules/observable-fns/dist.esm/_scheduler.jstransforming (1316) node_modules/@zip.js/zip.js/lib/core/codecs/sjcl.jsUse of eval in "node_modules/protobufjs/dist/minimal/protobuf.js" is strongly discouraged as it poses security risks and may cause issues with minification.
Use of eval in "node_modules/protobufjs/dist/minimal/protobuf.js" is strongly discouraged as it poses security risks and may cause issues with minification.
✓ 1317 modules transformed.
rendering chunks (1)...computing gzip size (0)...computing gzip size (1)...dist/assets/RenderWorker-b8357660.js  85.37 kB
dist/index.mjs 152.69 kB │ gzip: 36.13 kB

[vite:dts] Start generate declaration files...
[vite:dts] Start rollup declaration files...
[vite:dts] Declaration files built in 1865ms.

1 change: 1 addition & 0 deletions .nx/cache/1588209506279133700.commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
true
Binary file added .nx/cache/1588209506279133700.tar.gz
Binary file not shown.
1 change: 1 addition & 0 deletions .nx/cache/1588209506279133700/code
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
11 changes: 11 additions & 0 deletions .nx/cache/1588209506279133700/terminalOutput
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
vite v4.1.4 building for production...
transforming (1) src/index.tstransforming (9) node_modules/threads/dist/serializers.jstransforming (49) node_modules/@cesium/engine/Source/DataSources/EllipsoidGraphics.jstransforming (69) node_modules/@cesium/engine/Source/DataSources/MaterialProperty.jstransforming (70) node_modules/@cesium/engine/Source/DataSources/NodeTransformationProperty.jstransforming (90) node_modules/@cesium/engine/Source/DataSources/Property.jstransforming (110) node_modules/@cesium/engine/Source/DataSources/TimeIntervalCollectionProperty.jstransforming (130) node_modules/@cesium/engine/Source/Renderer/Context.jstransforming (150) node_modules/@cesium/engine/Source/Renderer/ShaderStruct.jstransforming (170) node_modules/@cesium/engine/Source/Shaders/CloudCollectionVS.jstransforming (210) node_modules/@cesium/engine/Source/Shaders/Vector3DTileClampedPolylinesFS.jstransforming (249) node_modules/@cesium/engine/Source/Core/CoplanarPolygonOutlineGeometry.jstransforming (289) node_modules/@cesium/engine/Source/Core/GeocodeType.jstransforming (309) node_modules/@cesium/engine/Source/Core/HeadingPitchRoll.jstransforming (330) node_modules/@cesium/engine/Source/Core/IonGeocoderService.jstransforming (350) node_modules/@cesium/engine/Source/Core/OpenCageGeocoderService.jstransforming (370) node_modules/@cesium/engine/Source/Core/PolylinePipeline.jstransforming (390) node_modules/@cesium/engine/Source/Core/RequestErrorEvent.jstransforming (410) node_modules/@cesium/engine/Source/Core/TerrainEncoding.jstransforming (430) node_modules/@cesium/engine/Source/Core/VideoSynchronizer.jstransforming (469) node_modules/@cesium/engine/Source/Core/isBlobUri.jstransforming (490) node_modules/@cesium/engine/Source/Scene/AlphaMode.jstransforming (528) node_modules/@cesium/engine/Source/Scene/Cesium3DTilePassState.jstransforming (548) node_modules/@cesium/engine/Source/Scene/ColorBlendMode.jstransforming (570) node_modules/@cesium/engine/Source/Scene/Fog.jstransforming (587) node_modules/@cesium/engine/Source/Scene/GltfBufferViewLoader.jstransforming (607) node_modules/@cesium/engine/Source/Scene/I3SField.jstransforming (624) node_modules/@cesium/engine/Source/Scene/ImplicitSubtreeCache.jstransforming (644) node_modules/@cesium/engine/Source/Scene/Megatexture.jstransforming (650) node_modules/@cesium/engine/Source/Scene/MetadataEnum.jstransforming (670) node_modules/@cesium/engine/Source/Scene/ParticleEmitter.jstransforming (689) node_modules/@cesium/engine/Source/Scene/PostProcessStageCollection.jstransforming (709) node_modules/@cesium/engine/Source/Scene/ResourceCache.jstransforming (719) node_modules/@cesium/engine/Source/Scene/ShadowMapShader.jstransforming (730) node_modules/@cesium/engine/Source/Scene/SplitDirection.jstransforming (750) node_modules/@cesium/engine/Source/Scene/TileMetadata.jstransforming (770) node_modules/@cesium/engine/Source/Scene/VertexAttributeSemantic.jstransforming (789) node_modules/@cesium/engine/Source/Scene/buildVoxelDrawCommands.jstransforming (809) node_modules/@cesium/engine/Source/Shaders/Appearances/AllMaterialAppearanceFS.jstransforming (830) node_modules/@cesium/engine/Source/Shaders/Materials/FadeMaterial.jstransforming (870) node_modules/@cesium/engine/Source/Shaders/PostProcessStages/AcesTonemappingStage.jstransforming (930) node_modules/@cesium/engine/Source/Scene/GltfPipeline/usesExtension.jstransforming (949) node_modules/@cesium/engine/Source/Scene/Model/ImageBasedLightingPipelineStage.jstransforming (968) node_modules/@cesium/engine/Source/Scene/Model/ModelLightingOptions.jstransforming (990) node_modules/@cesium/engine/Source/Scene/Model/SelectedFeatureIdPipelineStage.jstransforming (1029) node_modules/@cesium/engine/Source/Shaders/Builtin/Constants/piOverThree.jstransforming (1070) node_modules/@cesium/engine/Source/Shaders/Builtin/Functions/depthClamp.jstransforming (1157) node_modules/mersenne-twister/src/mersenne-twister.jstransforming (1170) node_modules/threads/dist/ponyfills.jstransforming (1201) node_modules/@zip.js/zip.js/lib/core/engine.jstransforming (1224) node_modules/topojson-client/src/stitch.jstransforming (1252) node_modules/debug/node_modules/ms/index.jstransforming (1312) node_modules/@zip.js/zip.js/lib/core/util/cp437-decode.jsUse of eval in "node_modules/protobufjs/dist/minimal/protobuf.js" is strongly discouraged as it poses security risks and may cause issues with minification.
Use of eval in "node_modules/protobufjs/dist/minimal/protobuf.js" is strongly discouraged as it poses security risks and may cause issues with minification.
✓ 1317 modules transformed.
rendering chunks (1)...computing gzip size (0)...computing gzip size (1)...dist/assets/RenderWorker-b8357660.js  85.37 kB
dist/index.mjs 152.69 kB │ gzip: 36.13 kB

[vite:dts] Start generate declaration files...
[vite:dts] Start rollup declaration files...
[vite:dts] Declaration files built in 1973ms.

1 change: 1 addition & 0 deletions .nx/cache/5387893318826074193.commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
true
1 change: 1 addition & 0 deletions .nx/cache/5387893318826074193/code
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
1 change: 1 addition & 0 deletions .nx/cache/5387893318826074193/source
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3eb75c3fdd6eaa204f226cb630be1071ce2218c9dc8b7c3e82e80a9ed52f6741
11 changes: 11 additions & 0 deletions .nx/cache/5387893318826074193/terminalOutput
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
vite v4.1.4 building for production...
transforming (1) src/index.tstransforming (10) node_modules/@cesium/engine/Source/DataSources/BillboardGraphics.jstransforming (54) node_modules/@cesium/engine/Source/DataSources/GeometryUpdater.jstransforming (74) node_modules/@cesium/engine/Source/DataSources/PlaneGraphics.jstransforming (94) node_modules/@cesium/engine/Source/DataSources/PropertyBag.jstransforming (114) node_modules/@cesium/engine/Source/DataSources/VelocityVectorProperty.jstransforming (134) node_modules/@cesium/engine/Source/Renderer/FramebufferManager.jstransforming (154) node_modules/@cesium/engine/Source/Renderer/TextureMagnificationFilter.jstransforming (194) node_modules/@cesium/engine/Source/Shaders/PolylineVS.jstransforming (234) node_modules/@cesium/engine/Source/Core/CircleGeometry.jstransforming (274) node_modules/@cesium/engine/Source/Core/EllipsoidGeodesic.jstransforming (294) node_modules/@cesium/engine/Source/Core/GeometryAttributes.jstransforming (314) node_modules/@cesium/engine/Source/Core/HermiteSpline.jstransforming (353) node_modules/@cesium/engine/Source/Core/OrthographicFrustum.jstransforming (372) node_modules/@cesium/engine/Source/Core/PolylineVolumeGeometry.jstransforming (394) node_modules/@cesium/engine/Source/Core/RequestType.jstransforming (414) node_modules/@cesium/engine/Source/Core/TileAvailability.jstransforming (442) node_modules/@cesium/engine/Source/Core/barycentricCoordinates.jstransforming (474) node_modules/@cesium/engine/Source/Core/loadImageFromTypedArray.jstransforming (514) node_modules/@cesium/engine/Source/Scene/Cesium3DTile.jstransforming (554) node_modules/@cesium/engine/Source/Scene/CullFace.jstransforming (574) node_modules/@cesium/engine/Source/Scene/FrameState.jstransforming (594) node_modules/@cesium/engine/Source/Scene/GltfStructuralMetadataLoader.jstransforming (614) node_modules/@cesium/engine/Source/Scene/ImageryLayerCollection.jstransforming (634) node_modules/@cesium/engine/Source/Scene/JsonMetadataTable.jstransforming (654) node_modules/@cesium/engine/Source/Scene/MetadataSemantic.jstransforming (692) node_modules/@cesium/engine/Source/Scene/PostProcessStageSampleMode.jstransforming (711) node_modules/@cesium/engine/Source/Scene/ResourceCacheStatistics.jstransforming (729) node_modules/@cesium/engine/Source/Scene/SphereEmitter.jstransforming (734) node_modules/@cesium/engine/Source/Scene/StructuralMetadata.jstransforming (754) node_modules/@cesium/engine/Source/Scene/TileSelectionResult.jstransforming (774) node_modules/@cesium/engine/Source/Scene/VerticalOrigin.jstransforming (794) node_modules/@cesium/engine/Source/Scene/findGroupMetadata.jstransforming (814) node_modules/@cesium/engine/Source/Shaders/Appearances/EllipsoidSurfaceAppearanceVS.jstransforming (854) node_modules/@cesium/engine/Source/Shaders/Model/LightingStageFS.jstransforming (934) node_modules/@cesium/engine/Source/Scene/Model/AlphaPipelineStage.jstransforming (969) node_modules/@cesium/engine/Source/Scene/Model/ModelMatrixUpdateStage.jstransforming (989) node_modules/@cesium/engine/Source/Scene/Model/PrimitiveRenderResources.jstransforming (994) node_modules/@cesium/engine/Source/Scene/Model/TextureUniform.jstransforming (1028) node_modules/@cesium/engine/Source/Shaders/Builtin/Constants/piOverSix.jstransforming (1105) node_modules/@cesium/engine/Source/Shaders/Builtin/Functions/rayEllipsoidIntersectionInterval.jstransforming (1150) node_modules/protobufjs/dist/minimal/protobuf.jstransforming (1160) node_modules/is-observable/index.jstransforming (1189) node_modules/autolinker/dist/es2015/match/index.jstransforming (1195) node_modules/@zip.js/zip.js/lib/core/configuration.jstransforming (1206) node_modules/quickselect/index.jstransforming (1224) node_modules/autolinker/dist/es2015/htmlParser/parse-html.jstransforming (1264) node_modules/lodash-es/lodash.jstransforming (1279) node_modules/lodash-es/ary.jstransforming (1302) node_modules/lodash-es/clamp.jstransforming (1344) node_modules/lodash-es/extendWith.jstransforming (1469) node_modules/lodash-es/orderBy.jstransforming (1590) node_modules/lodash-es/values.jstransforming (1667) node_modules/lodash-es/_baseGt.jstransforming (1750) node_modules/lodash-es/_baseSortedIndexBy.jstransforming (1854) node_modules/lodash-es/_Set.jstransforming (1948) node_modules/lodash-es/_cloneArrayBuffer.jstransforming (1978) src/styleEvaluator/evaluator/simple/expression/functions/binaryFunctions.tsUse of eval in "node_modules/protobufjs/dist/minimal/protobuf.js" is strongly discouraged as it poses security risks and may cause issues with minification.
transforming (1981) src/workerPool.tsUse of eval in "node_modules/protobufjs/dist/minimal/protobuf.js" is strongly discouraged as it poses security risks and may cause issues with minification.
✓ 1981 modules transformed.
rendering chunks (1)...computing gzip size (0)...computing gzip size (1)...dist/assets/RenderWorker-ca1ed6fb.js 177.67 kB
dist/index.mjs 291.55 kB │ gzip: 72.27 kB

[vite:dts] Start generate declaration files...
[vite:dts] Start rollup declaration files...
[vite:dts] Declaration files built in 2504ms.

1 change: 1 addition & 0 deletions .nx/cache/9535420601016997645.commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
true
Binary file added .nx/cache/9535420601016997645.tar.gz
Binary file not shown.
1 change: 1 addition & 0 deletions .nx/cache/9535420601016997645/code
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
Loading

0 comments on commit 23f7e50

Please sign in to comment.