@verticopolis/components 0.0.0-stage → 0.2.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/ASSETS-LICENSE.md +49 -0
- package/LICENSE +21 -0
- package/README.md +121 -2
- package/lib/audio/Audio.d.ts +110 -0
- package/lib/audio/Audio.js +199 -0
- package/lib/audio/Audio.js.map +1 -0
- package/lib/audio/ToneAudioEngine.d.ts +125 -0
- package/lib/audio/ToneAudioEngine.js +452 -0
- package/lib/audio/ToneAudioEngine.js.map +1 -0
- package/lib/audio/audioAssets.d.ts +25 -0
- package/lib/audio/audioAssets.js +28 -0
- package/lib/audio/audioAssets.js.map +1 -0
- package/lib/audio/awayWatch.d.ts +17 -0
- package/lib/audio/awayWatch.js +33 -0
- package/lib/audio/awayWatch.js.map +1 -0
- package/lib/audio/firstCueLatch.d.ts +18 -0
- package/lib/audio/firstCueLatch.js +34 -0
- package/lib/audio/firstCueLatch.js.map +1 -0
- package/lib/audio/lightEnvelope.d.ts +64 -0
- package/lib/audio/lightEnvelope.js +124 -0
- package/lib/audio/lightEnvelope.js.map +1 -0
- package/lib/audio/lightSynth.d.ts +125 -0
- package/lib/audio/lightSynth.js +203 -0
- package/lib/audio/lightSynth.js.map +1 -0
- package/lib/audio/toneContext.d.ts +30 -0
- package/lib/audio/toneContext.js +79 -0
- package/lib/audio/toneContext.js.map +1 -0
- package/lib/audio/toneCrowd.d.ts +62 -0
- package/lib/audio/toneCrowd.js +429 -0
- package/lib/audio/toneCrowd.js.map +1 -0
- package/lib/audio/toneCrowdData.d.ts +144 -0
- package/lib/audio/toneCrowdData.js +317 -0
- package/lib/audio/toneCrowdData.js.map +1 -0
- package/lib/audio/toneCrowdPrograms.d.ts +71 -0
- package/lib/audio/toneCrowdPrograms.js +273 -0
- package/lib/audio/toneCrowdPrograms.js.map +1 -0
- package/lib/audio/toneCrowdVoices.d.ts +49 -0
- package/lib/audio/toneCrowdVoices.js +212 -0
- package/lib/audio/toneCrowdVoices.js.map +1 -0
- package/lib/audio/toneMusicVoices.d.ts +11 -0
- package/lib/audio/toneMusicVoices.js +31 -0
- package/lib/audio/toneMusicVoices.js.map +1 -0
- package/lib/audio/tonePercussion.d.ts +45 -0
- package/lib/audio/tonePercussion.js +97 -0
- package/lib/audio/tonePercussion.js.map +1 -0
- package/lib/audio/toneRain.d.ts +23 -0
- package/lib/audio/toneRain.js +39 -0
- package/lib/audio/toneRain.js.map +1 -0
- package/lib/audio/toneRecordingMock.d.ts +89 -0
- package/lib/audio/toneRecordingMock.js +145 -0
- package/lib/audio/toneRecordingMock.js.map +1 -0
- package/lib/audio/toneRoomTone.d.ts +11 -0
- package/lib/audio/toneRoomTone.js +27 -0
- package/lib/audio/toneRoomTone.js.map +1 -0
- package/lib/audio/toneScenes.d.ts +57 -0
- package/lib/audio/toneScenes.js +208 -0
- package/lib/audio/toneScenes.js.map +1 -0
- package/lib/audio/toneTracks.d.ts +50 -0
- package/lib/audio/toneTracks.js +356 -0
- package/lib/audio/toneTracks.js.map +1 -0
- package/lib/audio/toneVoices.d.ts +57 -0
- package/lib/audio/toneVoices.js +208 -0
- package/lib/audio/toneVoices.js.map +1 -0
- package/lib/catalog/catalogTypes.d.ts +428 -0
- package/lib/catalog/catalogTypes.js +102 -0
- package/lib/catalog/catalogTypes.js.map +1 -0
- package/lib/catalog/skyBridgeTypes.d.ts +25 -0
- package/lib/catalog/skyBridgeTypes.js +7 -0
- package/lib/catalog/skyBridgeTypes.js.map +1 -0
- package/lib/catalog/starDutyTypes.d.ts +22 -0
- package/lib/catalog/starDutyTypes.js +7 -0
- package/lib/catalog/starDutyTypes.js.map +1 -0
- package/lib/catalog/towerCatalog.d.ts +32 -0
- package/lib/catalog/towerCatalog.js +44 -0
- package/lib/catalog/towerCatalog.js.map +1 -0
- package/lib/engineBinding/binding.d.ts +36 -0
- package/lib/engineBinding/binding.js +90 -0
- package/lib/engineBinding/binding.js.map +1 -0
- package/lib/engineBinding/catalog.d.ts +24 -0
- package/lib/engineBinding/catalog.js +267 -0
- package/lib/engineBinding/catalog.js.map +1 -0
- package/lib/engineBinding/engine.d.ts +866 -0
- package/lib/engineBinding/exportTiers.d.ts +289 -0
- package/lib/engineBinding/exportTiers.js +283 -0
- package/lib/engineBinding/exportTiers.js.map +1 -0
- package/lib/engineBinding/toolingMethods.d.ts +12 -0
- package/lib/engineBinding/toolingMethods.js +20 -0
- package/lib/engineBinding/toolingMethods.js.map +1 -0
- package/lib/events/gameplayCatalog.d.ts +57 -0
- package/lib/events/gameplayCatalog.js +214 -0
- package/lib/events/gameplayCatalog.js.map +1 -0
- package/lib/events/gameplayEventRules.d.ts +4 -0
- package/lib/events/gameplayEventRules.js +32 -0
- package/lib/events/gameplayEventRules.js.map +1 -0
- package/lib/events/gameplayEvents.d.ts +284 -0
- package/lib/presentation/clockText.d.ts +28 -0
- package/lib/presentation/clockText.js +38 -0
- package/lib/presentation/clockText.js.map +1 -0
- package/lib/presentation/facilityPresentation.d.ts +20 -0
- package/lib/presentation/facilityPresentation.js +164 -0
- package/lib/presentation/facilityPresentation.js.map +1 -0
- package/lib/presentation/statsCopy.d.ts +20 -0
- package/lib/presentation/statsCopy.js +37 -0
- package/lib/presentation/statsCopy.js.map +1 -0
- package/lib/presentation/traffic.d.ts +75 -0
- package/lib/presentation/traffic.js +79 -0
- package/lib/presentation/traffic.js.map +1 -0
- package/lib/presentation/viewKinds.d.ts +33 -0
- package/lib/presentation/viewKinds.js +88 -0
- package/lib/presentation/viewKinds.js.map +1 -0
- package/lib/presentation/viewWorld.d.ts +29 -0
- package/lib/presentation/viewWorld.js +31 -0
- package/lib/presentation/viewWorld.js.map +1 -0
- package/lib/render/atlas/archive.d.ts +78 -0
- package/lib/render/atlas/archive.js +427 -0
- package/lib/render/atlas/archive.js.map +1 -0
- package/lib/render/atlas/bake.d.ts +132 -0
- package/lib/render/atlas/bake.js +331 -0
- package/lib/render/atlas/bake.js.map +1 -0
- package/lib/render/atlas/bakeAdditions.d.ts +24 -0
- package/lib/render/atlas/bakeAdditions.js +46 -0
- package/lib/render/atlas/bakeAdditions.js.map +1 -0
- package/lib/render/atlas/browserEntry.d.ts +12 -0
- package/lib/render/atlas/browserEntry.js +222 -0
- package/lib/render/atlas/browserEntry.js.map +1 -0
- package/lib/render/atlas/catalog.d.ts +118 -0
- package/lib/render/atlas/catalog.js +253 -0
- package/lib/render/atlas/catalog.js.map +1 -0
- package/lib/render/atlas/catalogExtras.d.ts +45 -0
- package/lib/render/atlas/catalogExtras.js +217 -0
- package/lib/render/atlas/catalogExtras.js.map +1 -0
- package/lib/render/atlas/compose.d.ts +30 -0
- package/lib/render/atlas/compose.js +125 -0
- package/lib/render/atlas/compose.js.map +1 -0
- package/lib/render/atlas/cycles.d.ts +25 -0
- package/lib/render/atlas/cycles.js +41 -0
- package/lib/render/atlas/cycles.js.map +1 -0
- package/lib/render/atlas/lookup.d.ts +65 -0
- package/lib/render/atlas/lookup.js +83 -0
- package/lib/render/atlas/lookup.js.map +1 -0
- package/lib/render/atlas/pack.d.ts +23 -0
- package/lib/render/atlas/pack.js +50 -0
- package/lib/render/atlas/pack.js.map +1 -0
- package/lib/render/atlas/paint.d.ts +120 -0
- package/lib/render/atlas/paint.js +154 -0
- package/lib/render/atlas/paint.js.map +1 -0
- package/lib/render/atlas/pixels.d.ts +46 -0
- package/lib/render/atlas/pixels.js +158 -0
- package/lib/render/atlas/pixels.js.map +1 -0
- package/lib/render/atlas/png.d.ts +3 -0
- package/lib/render/atlas/png.js +102 -0
- package/lib/render/atlas/png.js.map +1 -0
- package/lib/render/atlas/raster.d.ts +34 -0
- package/lib/render/atlas/raster.js +114 -0
- package/lib/render/atlas/raster.js.map +1 -0
- package/lib/render/atlas/recyclingFill.d.ts +5 -0
- package/lib/render/atlas/recyclingFill.js +65 -0
- package/lib/render/atlas/recyclingFill.js.map +1 -0
- package/lib/render/atlas/samples.d.ts +24 -0
- package/lib/render/atlas/samples.js +75 -0
- package/lib/render/atlas/samples.js.map +1 -0
- package/lib/render/atlas/scenery.d.ts +230 -0
- package/lib/render/atlas/scenery.js +242 -0
- package/lib/render/atlas/scenery.js.map +1 -0
- package/lib/render/atlas/schema.d.ts +189 -0
- package/lib/render/atlas/schema.js +31 -0
- package/lib/render/atlas/schema.js.map +1 -0
- package/lib/render/atlas/shellMarks.d.ts +16 -0
- package/lib/render/atlas/shellMarks.js +72 -0
- package/lib/render/atlas/shellMarks.js.map +1 -0
- package/lib/render/atlas/store.d.ts +75 -0
- package/lib/render/atlas/store.js +127 -0
- package/lib/render/atlas/store.js.map +1 -0
- package/lib/render/atlas/verify.d.ts +43 -0
- package/lib/render/atlas/verify.js +87 -0
- package/lib/render/atlas/verify.js.map +1 -0
- package/lib/render/atlas/verifyExtras.d.ts +19 -0
- package/lib/render/atlas/verifyExtras.js +310 -0
- package/lib/render/atlas/verifyExtras.js.map +1 -0
- package/lib/render/cameraBounds.d.ts +71 -0
- package/lib/render/cameraBounds.js +107 -0
- package/lib/render/cameraBounds.js.map +1 -0
- package/lib/render/carIndicator.d.ts +41 -0
- package/lib/render/carIndicator.js +45 -0
- package/lib/render/carIndicator.js.map +1 -0
- package/lib/render/carMotion.d.ts +33 -0
- package/lib/render/carMotion.js +42 -0
- package/lib/render/carMotion.js.map +1 -0
- package/lib/render/catalogScale.d.ts +40 -0
- package/lib/render/catalogScale.js +33 -0
- package/lib/render/catalogScale.js.map +1 -0
- package/lib/render/climbPath.d.ts +59 -0
- package/lib/render/climbPath.js +115 -0
- package/lib/render/climbPath.js.map +1 -0
- package/lib/render/depthPlanes.d.ts +55 -0
- package/lib/render/depthPlanes.js +58 -0
- package/lib/render/depthPlanes.js.map +1 -0
- package/lib/render/excalibur/TowerEngine.d.ts +348 -0
- package/lib/render/excalibur/TowerEngine.js +415 -0
- package/lib/render/excalibur/TowerEngine.js.map +1 -0
- package/lib/render/excalibur/cabGraphics.d.ts +75 -0
- package/lib/render/excalibur/cabGraphics.js +108 -0
- package/lib/render/excalibur/cabGraphics.js.map +1 -0
- package/lib/render/excalibur/cabParts.d.ts +32 -0
- package/lib/render/excalibur/cabParts.js +79 -0
- package/lib/render/excalibur/cabParts.js.map +1 -0
- package/lib/render/excalibur/cabRiders.d.ts +72 -0
- package/lib/render/excalibur/cabRiders.js +176 -0
- package/lib/render/excalibur/cabRiders.js.map +1 -0
- package/lib/render/excalibur/crowdCull.d.ts +34 -0
- package/lib/render/excalibur/crowdCull.js +72 -0
- package/lib/render/excalibur/crowdCull.js.map +1 -0
- package/lib/render/excalibur/crowdFigure.d.ts +42 -0
- package/lib/render/excalibur/crowdFigure.js +99 -0
- package/lib/render/excalibur/crowdFigure.js.map +1 -0
- package/lib/render/excalibur/crowdLook.d.ts +137 -0
- package/lib/render/excalibur/crowdLook.js +186 -0
- package/lib/render/excalibur/crowdLook.js.map +1 -0
- package/lib/render/excalibur/frameHold.d.ts +23 -0
- package/lib/render/excalibur/frameHold.js +30 -0
- package/lib/render/excalibur/frameHold.js.map +1 -0
- package/lib/render/excalibur/guardPosition.d.ts +17 -0
- package/lib/render/excalibur/guardPosition.js +37 -0
- package/lib/render/excalibur/guardPosition.js.map +1 -0
- package/lib/render/excalibur/keyboardHost.d.ts +15 -0
- package/lib/render/excalibur/keyboardHost.js +22 -0
- package/lib/render/excalibur/keyboardHost.js.map +1 -0
- package/lib/render/excalibur/longPress.d.ts +16 -0
- package/lib/render/excalibur/longPress.js +71 -0
- package/lib/render/excalibur/longPress.js.map +1 -0
- package/lib/render/excalibur/peopleGfx.d.ts +16 -0
- package/lib/render/excalibur/peopleGfx.js +46 -0
- package/lib/render/excalibur/peopleGfx.js.map +1 -0
- package/lib/render/excalibur/peopleWindow.d.ts +35 -0
- package/lib/render/excalibur/peopleWindow.js +38 -0
- package/lib/render/excalibur/peopleWindow.js.map +1 -0
- package/lib/render/excalibur/personFocus.d.ts +36 -0
- package/lib/render/excalibur/personFocus.js +169 -0
- package/lib/render/excalibur/personFocus.js.map +1 -0
- package/lib/render/excalibur/pointerButtonGuard.d.ts +35 -0
- package/lib/render/excalibur/pointerButtonGuard.js +86 -0
- package/lib/render/excalibur/pointerButtonGuard.js.map +1 -0
- package/lib/render/excalibur/pressLifecycle.d.ts +26 -0
- package/lib/render/excalibur/pressLifecycle.js +66 -0
- package/lib/render/excalibur/pressLifecycle.js.map +1 -0
- package/lib/render/excalibur/rainShelter.d.ts +16 -0
- package/lib/render/excalibur/rainShelter.js +94 -0
- package/lib/render/excalibur/rainShelter.js.map +1 -0
- package/lib/render/excalibur/roomSignature.d.ts +30 -0
- package/lib/render/excalibur/roomSignature.js +49 -0
- package/lib/render/excalibur/roomSignature.js.map +1 -0
- package/lib/render/excalibur/sceneBake.d.ts +9 -0
- package/lib/render/excalibur/sceneBake.js +12 -0
- package/lib/render/excalibur/sceneBake.js.map +1 -0
- package/lib/render/excalibur/thiefSpan.d.ts +18 -0
- package/lib/render/excalibur/thiefSpan.js +51 -0
- package/lib/render/excalibur/thiefSpan.js.map +1 -0
- package/lib/render/excalibur/towerBridgeTiles.d.ts +30 -0
- package/lib/render/excalibur/towerBridgeTiles.js +43 -0
- package/lib/render/excalibur/towerBridgeTiles.js.map +1 -0
- package/lib/render/excalibur/towerCrowd.d.ts +73 -0
- package/lib/render/excalibur/towerCrowd.js +464 -0
- package/lib/render/excalibur/towerCrowd.js.map +1 -0
- package/lib/render/excalibur/towerCrowdLayout.d.ts +40 -0
- package/lib/render/excalibur/towerCrowdLayout.js +77 -0
- package/lib/render/excalibur/towerCrowdLayout.js.map +1 -0
- package/lib/render/excalibur/towerFireResponse.d.ts +25 -0
- package/lib/render/excalibur/towerFireResponse.js +89 -0
- package/lib/render/excalibur/towerFireResponse.js.map +1 -0
- package/lib/render/excalibur/towerFrame.d.ts +8 -0
- package/lib/render/excalibur/towerFrame.js +57 -0
- package/lib/render/excalibur/towerFrame.js.map +1 -0
- package/lib/render/excalibur/towerGhostLabel.d.ts +9 -0
- package/lib/render/excalibur/towerGhostLabel.js +37 -0
- package/lib/render/excalibur/towerGhostLabel.js.map +1 -0
- package/lib/render/excalibur/towerHallDoors.d.ts +42 -0
- package/lib/render/excalibur/towerHallDoors.js +129 -0
- package/lib/render/excalibur/towerHallDoors.js.map +1 -0
- package/lib/render/excalibur/towerHaloRings.d.ts +34 -0
- package/lib/render/excalibur/towerHaloRings.js +45 -0
- package/lib/render/excalibur/towerHaloRings.js.map +1 -0
- package/lib/render/excalibur/towerInputCamera.d.ts +90 -0
- package/lib/render/excalibur/towerInputCamera.js +480 -0
- package/lib/render/excalibur/towerInputCamera.js.map +1 -0
- package/lib/render/excalibur/towerMetro.d.ts +31 -0
- package/lib/render/excalibur/towerMetro.js +115 -0
- package/lib/render/excalibur/towerMetro.js.map +1 -0
- package/lib/render/excalibur/towerNoiseReach.d.ts +32 -0
- package/lib/render/excalibur/towerNoiseReach.js +75 -0
- package/lib/render/excalibur/towerNoiseReach.js.map +1 -0
- package/lib/render/excalibur/towerOverlay.d.ts +59 -0
- package/lib/render/excalibur/towerOverlay.js +453 -0
- package/lib/render/excalibur/towerOverlay.js.map +1 -0
- package/lib/render/excalibur/towerReconcile.d.ts +17 -0
- package/lib/render/excalibur/towerReconcile.js +404 -0
- package/lib/render/excalibur/towerReconcile.js.map +1 -0
- package/lib/render/excalibur/towerRegions.d.ts +61 -0
- package/lib/render/excalibur/towerRegions.js +193 -0
- package/lib/render/excalibur/towerRegions.js.map +1 -0
- package/lib/render/excalibur/towerScene.d.ts +66 -0
- package/lib/render/excalibur/towerScene.js +443 -0
- package/lib/render/excalibur/towerScene.js.map +1 -0
- package/lib/render/excalibur/towerScenery.d.ts +12 -0
- package/lib/render/excalibur/towerScenery.js +299 -0
- package/lib/render/excalibur/towerScenery.js.map +1 -0
- package/lib/render/excalibur/towerSceneryDraw.d.ts +86 -0
- package/lib/render/excalibur/towerSceneryDraw.js +288 -0
- package/lib/render/excalibur/towerSceneryDraw.js.map +1 -0
- package/lib/render/excalibur/towerShaftNumbers.d.ts +23 -0
- package/lib/render/excalibur/towerShaftNumbers.js +90 -0
- package/lib/render/excalibur/towerShaftNumbers.js.map +1 -0
- package/lib/render/excalibur/towerStructTiles.d.ts +56 -0
- package/lib/render/excalibur/towerStructTiles.js +238 -0
- package/lib/render/excalibur/towerStructTiles.js.map +1 -0
- package/lib/render/excalibur/towerSyncSchedule.d.ts +84 -0
- package/lib/render/excalibur/towerSyncSchedule.js +137 -0
- package/lib/render/excalibur/towerSyncSchedule.js.map +1 -0
- package/lib/render/excalibur/towerWalkerBuild.d.ts +30 -0
- package/lib/render/excalibur/towerWalkerBuild.js +126 -0
- package/lib/render/excalibur/towerWalkerBuild.js.map +1 -0
- package/lib/render/excalibur/trafficSpotlight.d.ts +29 -0
- package/lib/render/excalibur/trafficSpotlight.js +64 -0
- package/lib/render/excalibur/trafficSpotlight.js.map +1 -0
- package/lib/render/facadeGeometry.d.ts +50 -0
- package/lib/render/facadeGeometry.js +79 -0
- package/lib/render/facadeGeometry.js.map +1 -0
- package/lib/render/groundEntrances.d.ts +44 -0
- package/lib/render/groundEntrances.js +118 -0
- package/lib/render/groundEntrances.js.map +1 -0
- package/lib/render/lateNight.d.ts +14 -0
- package/lib/render/lateNight.js +18 -0
- package/lib/render/lateNight.js.map +1 -0
- package/lib/render/lobbyHalls.d.ts +44 -0
- package/lib/render/lobbyHalls.js +63 -0
- package/lib/render/lobbyHalls.js.map +1 -0
- package/lib/render/metroTrainSchedule.d.ts +20 -0
- package/lib/render/metroTrainSchedule.js +65 -0
- package/lib/render/metroTrainSchedule.js.map +1 -0
- package/lib/render/overviewMap/drawList.d.ts +67 -0
- package/lib/render/overviewMap/drawList.js +103 -0
- package/lib/render/overviewMap/drawList.js.map +1 -0
- package/lib/render/overviewMap/extent.d.ts +70 -0
- package/lib/render/overviewMap/extent.js +155 -0
- package/lib/render/overviewMap/extent.js.map +1 -0
- package/lib/render/overviewMap/floorSpans.d.ts +27 -0
- package/lib/render/overviewMap/floorSpans.js +32 -0
- package/lib/render/overviewMap/floorSpans.js.map +1 -0
- package/lib/render/overviewMap/gaps.d.ts +48 -0
- package/lib/render/overviewMap/gaps.js +148 -0
- package/lib/render/overviewMap/gaps.js.map +1 -0
- package/lib/render/overviewMap/geometry.d.ts +139 -0
- package/lib/render/overviewMap/geometry.js +245 -0
- package/lib/render/overviewMap/geometry.js.map +1 -0
- package/lib/render/overviewMap/heatView.d.ts +91 -0
- package/lib/render/overviewMap/heatView.js +143 -0
- package/lib/render/overviewMap/heatView.js.map +1 -0
- package/lib/render/overviewMap/hotelView.d.ts +82 -0
- package/lib/render/overviewMap/hotelView.js +136 -0
- package/lib/render/overviewMap/hotelView.js.map +1 -0
- package/lib/render/overviewMap/model.d.ts +97 -0
- package/lib/render/overviewMap/model.js +116 -0
- package/lib/render/overviewMap/model.js.map +1 -0
- package/lib/render/overviewMap/paint.d.ts +63 -0
- package/lib/render/overviewMap/paint.js +168 -0
- package/lib/render/overviewMap/paint.js.map +1 -0
- package/lib/render/overviewMap/style.d.ts +46 -0
- package/lib/render/overviewMap/style.js +117 -0
- package/lib/render/overviewMap/style.js.map +1 -0
- package/lib/render/overviewMap/tierView.d.ts +103 -0
- package/lib/render/overviewMap/tierView.js +209 -0
- package/lib/render/overviewMap/tierView.js.map +1 -0
- package/lib/render/overviewMap/viewMark.d.ts +69 -0
- package/lib/render/overviewMap/viewMark.js +103 -0
- package/lib/render/overviewMap/viewMark.js.map +1 -0
- package/lib/render/overviewMap/views.d.ts +24 -0
- package/lib/render/overviewMap/views.js +29 -0
- package/lib/render/overviewMap/views.js.map +1 -0
- package/lib/render/pinchTracker.d.ts +91 -0
- package/lib/render/pinchTracker.js +145 -0
- package/lib/render/pinchTracker.js.map +1 -0
- package/lib/render/pixelSprites/amusements.d.ts +32 -0
- package/lib/render/pixelSprites/amusements.js +243 -0
- package/lib/render/pixelSprites/amusements.js.map +1 -0
- package/lib/render/pixelSprites/artScale.d.ts +97 -0
- package/lib/render/pixelSprites/artScale.js +151 -0
- package/lib/render/pixelSprites/artScale.js.map +1 -0
- package/lib/render/pixelSprites/boutique.d.ts +30 -0
- package/lib/render/pixelSprites/boutique.js +244 -0
- package/lib/render/pixelSprites/boutique.js.map +1 -0
- package/lib/render/pixelSprites/clinic.d.ts +30 -0
- package/lib/render/pixelSprites/clinic.js +184 -0
- package/lib/render/pixelSprites/clinic.js.map +1 -0
- package/lib/render/pixelSprites/common.d.ts +185 -0
- package/lib/render/pixelSprites/common.js +449 -0
- package/lib/render/pixelSprites/common.js.map +1 -0
- package/lib/render/pixelSprites/daycare.d.ts +3 -0
- package/lib/render/pixelSprites/daycare.js +99 -0
- package/lib/render/pixelSprites/daycare.js.map +1 -0
- package/lib/render/pixelSprites/dollhouse.d.ts +45 -0
- package/lib/render/pixelSprites/dollhouse.js +110 -0
- package/lib/render/pixelSprites/dollhouse.js.map +1 -0
- package/lib/render/pixelSprites/fitness.d.ts +30 -0
- package/lib/render/pixelSprites/fitness.js +176 -0
- package/lib/render/pixelSprites/fitness.js.map +1 -0
- package/lib/render/pixelSprites/food.d.ts +27 -0
- package/lib/render/pixelSprites/food.interiors.d.ts +38 -0
- package/lib/render/pixelSprites/food.interiors.js +516 -0
- package/lib/render/pixelSprites/food.interiors.js.map +1 -0
- package/lib/render/pixelSprites/food.js +36 -0
- package/lib/render/pixelSprites/food.js.map +1 -0
- package/lib/render/pixelSprites/food.kit.d.ts +50 -0
- package/lib/render/pixelSprites/food.kit.js +140 -0
- package/lib/render/pixelSprites/food.kit.js.map +1 -0
- package/lib/render/pixelSprites/food.looks.d.ts +45 -0
- package/lib/render/pixelSprites/food.looks.js +56 -0
- package/lib/render/pixelSprites/food.looks.js.map +1 -0
- package/lib/render/pixelSprites/layers.d.ts +49 -0
- package/lib/render/pixelSprites/layers.js +61 -0
- package/lib/render/pixelSprites/layers.js.map +1 -0
- package/lib/render/pixelSprites/nightclub.d.ts +3 -0
- package/lib/render/pixelSprites/nightclub.js +108 -0
- package/lib/render/pixelSprites/nightclub.js.map +1 -0
- package/lib/render/pixelSprites/people.d.ts +168 -0
- package/lib/render/pixelSprites/people.js +431 -0
- package/lib/render/pixelSprites/people.js.map +1 -0
- package/lib/render/pixelSprites/residential.d.ts +5 -0
- package/lib/render/pixelSprites/residential.js +506 -0
- package/lib/render/pixelSprites/residential.js.map +1 -0
- package/lib/render/pixelSprites/residential.looks.d.ts +40 -0
- package/lib/render/pixelSprites/residential.looks.js +43 -0
- package/lib/render/pixelSprites/residential.looks.js.map +1 -0
- package/lib/render/pixelSprites/residential.roaches.d.ts +38 -0
- package/lib/render/pixelSprites/residential.roaches.js +88 -0
- package/lib/render/pixelSprites/residential.roaches.js.map +1 -0
- package/lib/render/pixelSprites/residentialRentalSprites.d.ts +11 -0
- package/lib/render/pixelSprites/residentialRentalSprites.js +19 -0
- package/lib/render/pixelSprites/residentialRentalSprites.js.map +1 -0
- package/lib/render/pixelSprites/shop.d.ts +14 -0
- package/lib/render/pixelSprites/shop.interiors.d.ts +50 -0
- package/lib/render/pixelSprites/shop.interiors.js +382 -0
- package/lib/render/pixelSprites/shop.interiors.js.map +1 -0
- package/lib/render/pixelSprites/shop.js +72 -0
- package/lib/render/pixelSprites/shop.js.map +1 -0
- package/lib/render/pixelSprites/shop.looks.d.ts +17 -0
- package/lib/render/pixelSprites/shop.looks.js +24 -0
- package/lib/render/pixelSprites/shop.looks.js.map +1 -0
- package/lib/render/pixelSprites/skyBar.d.ts +11 -0
- package/lib/render/pixelSprites/skyBar.js +125 -0
- package/lib/render/pixelSprites/skyBar.js.map +1 -0
- package/lib/render/pixelSprites/spa.d.ts +3 -0
- package/lib/render/pixelSprites/spa.js +88 -0
- package/lib/render/pixelSprites/spa.js.map +1 -0
- package/lib/render/pixelSprites.d.ts +33 -0
- package/lib/render/pixelSprites.js +167 -0
- package/lib/render/pixelSprites.js.map +1 -0
- package/lib/render/regionGrid.d.ts +49 -0
- package/lib/render/regionGrid.js +82 -0
- package/lib/render/regionGrid.js.map +1 -0
- package/lib/render/regionPaint.d.ts +15 -0
- package/lib/render/regionPaint.js +33 -0
- package/lib/render/regionPaint.js.map +1 -0
- package/lib/render/renderSim.d.ts +104 -0
- package/lib/render/renderSim.js +2 -0
- package/lib/render/renderSim.js.map +1 -0
- package/lib/render/roomPortrait.d.ts +35 -0
- package/lib/render/roomPortrait.js +142 -0
- package/lib/render/roomPortrait.js.map +1 -0
- package/lib/render/roomShading.d.ts +29 -0
- package/lib/render/roomShading.js +43 -0
- package/lib/render/roomShading.js.map +1 -0
- package/lib/render/scale.d.ts +31 -0
- package/lib/render/scale.js +34 -0
- package/lib/render/scale.js.map +1 -0
- package/lib/render/sceneryLayout.d.ts +234 -0
- package/lib/render/sceneryLayout.js +199 -0
- package/lib/render/sceneryLayout.js.map +1 -0
- package/lib/render/sprites/common.d.ts +41 -0
- package/lib/render/sprites/common.js +46 -0
- package/lib/render/sprites/common.js.map +1 -0
- package/lib/render/sprites/escalator.d.ts +27 -0
- package/lib/render/sprites/escalator.js +156 -0
- package/lib/render/sprites/escalator.js.map +1 -0
- package/lib/render/sprites/events.d.ts +56 -0
- package/lib/render/sprites/events.js +280 -0
- package/lib/render/sprites/events.js.map +1 -0
- package/lib/render/sprites/facilities/garage.d.ts +23 -0
- package/lib/render/sprites/facilities/garage.js +230 -0
- package/lib/render/sprites/facilities/garage.js.map +1 -0
- package/lib/render/sprites/facilities/recycling.d.ts +3 -0
- package/lib/render/sprites/facilities/recycling.js +210 -0
- package/lib/render/sprites/facilities/recycling.js.map +1 -0
- package/lib/render/sprites/facilities/recyclingLook.d.ts +49 -0
- package/lib/render/sprites/facilities/recyclingLook.js +52 -0
- package/lib/render/sprites/facilities/recyclingLook.js.map +1 -0
- package/lib/render/sprites/facilities/service.d.ts +14 -0
- package/lib/render/sprites/facilities/service.js +437 -0
- package/lib/render/sprites/facilities/service.js.map +1 -0
- package/lib/render/sprites/facilities/serviceKit.d.ts +61 -0
- package/lib/render/sprites/facilities/serviceKit.js +113 -0
- package/lib/render/sprites/facilities/serviceKit.js.map +1 -0
- package/lib/render/sprites/facilities/vehicles.d.ts +38 -0
- package/lib/render/sprites/facilities/vehicles.js +276 -0
- package/lib/render/sprites/facilities/vehicles.js.map +1 -0
- package/lib/render/sprites/facilities/venue.d.ts +28 -0
- package/lib/render/sprites/facilities/venue.js +211 -0
- package/lib/render/sprites/facilities/venue.js.map +1 -0
- package/lib/render/sprites/facilities/weddingHall.d.ts +9 -0
- package/lib/render/sprites/facilities/weddingHall.js +410 -0
- package/lib/render/sprites/facilities/weddingHall.js.map +1 -0
- package/lib/render/sprites/facilities.d.ts +22 -0
- package/lib/render/sprites/facilities.js +24 -0
- package/lib/render/sprites/facilities.js.map +1 -0
- package/lib/render/sprites/helicopter.d.ts +11 -0
- package/lib/render/sprites/helicopter.js +60 -0
- package/lib/render/sprites/helicopter.js.map +1 -0
- package/lib/render/sprites/sky.d.ts +67 -0
- package/lib/render/sprites/sky.js +85 -0
- package/lib/render/sprites/sky.js.map +1 -0
- package/lib/render/sprites/spiralStair.d.ts +19 -0
- package/lib/render/sprites/spiralStair.js +111 -0
- package/lib/render/sprites/spiralStair.js.map +1 -0
- package/lib/render/sprites/structure/entrance.d.ts +35 -0
- package/lib/render/sprites/structure/entrance.js +347 -0
- package/lib/render/sprites/structure/entrance.js.map +1 -0
- package/lib/render/sprites/structure/lobby.d.ts +88 -0
- package/lib/render/sprites/structure/lobby.js +350 -0
- package/lib/render/sprites/structure/lobby.js.map +1 -0
- package/lib/render/sprites/structure/revolvingDoor.d.ts +53 -0
- package/lib/render/sprites/structure/revolvingDoor.js +184 -0
- package/lib/render/sprites/structure/revolvingDoor.js.map +1 -0
- package/lib/render/sprites/structure/rooftop.d.ts +93 -0
- package/lib/render/sprites/structure/rooftop.js +302 -0
- package/lib/render/sprites/structure/rooftop.js.map +1 -0
- package/lib/render/sprites/structure/shell.d.ts +19 -0
- package/lib/render/sprites/structure/shell.js +142 -0
- package/lib/render/sprites/structure/shell.js.map +1 -0
- package/lib/render/sprites/structure/skyBridge.d.ts +28 -0
- package/lib/render/sprites/structure/skyBridge.js +259 -0
- package/lib/render/sprites/structure/skyBridge.js.map +1 -0
- package/lib/render/sprites/structure/tallLobby.d.ts +8 -0
- package/lib/render/sprites/structure/tallLobby.js +166 -0
- package/lib/render/sprites/structure/tallLobby.js.map +1 -0
- package/lib/render/sprites/structure/tallLobbyPieces.d.ts +18 -0
- package/lib/render/sprites/structure/tallLobbyPieces.js +82 -0
- package/lib/render/sprites/structure/tallLobbyPieces.js.map +1 -0
- package/lib/render/sprites/structure.d.ts +15 -0
- package/lib/render/sprites/structure.js +16 -0
- package/lib/render/sprites/structure.js.map +1 -0
- package/lib/render/sprites/transport.d.ts +30 -0
- package/lib/render/sprites/transport.js +376 -0
- package/lib/render/sprites/transport.js.map +1 -0
- package/lib/render/sprites.d.ts +16 -0
- package/lib/render/sprites.js +108 -0
- package/lib/render/sprites.js.map +1 -0
- package/lib/render/venueFlights.d.ts +61 -0
- package/lib/render/venueFlights.js +50 -0
- package/lib/render/venueFlights.js.map +1 -0
- package/lib/shared/engineTypes.d.ts +256 -0
- package/lib/shared/engineTypes.js +8 -0
- package/lib/shared/engineTypes.js.map +1 -0
- package/lib/shared/floorRuns.d.ts +22 -0
- package/lib/shared/floorRuns.js +39 -0
- package/lib/shared/floorRuns.js.map +1 -0
- package/lib/shared/inputEvents.d.ts +18 -0
- package/lib/shared/inputEvents.js +23 -0
- package/lib/shared/inputEvents.js.map +1 -0
- package/lib/shared/serializedGame.d.ts +142 -0
- package/lib/shared/serializedGame.js +2 -0
- package/lib/shared/serializedGame.js.map +1 -0
- package/lib/shared/types.d.ts +298 -0
- package/lib/shared/types.js +47 -0
- package/lib/shared/types.js.map +1 -0
- package/lib/shared/unitState.d.ts +36 -0
- package/lib/shared/unitState.js +42 -0
- package/lib/shared/unitState.js.map +1 -0
- package/lib/shared/vacateReasonText.d.ts +20 -0
- package/lib/shared/vacateReasonText.js +23 -0
- package/lib/shared/vacateReasonText.js.map +1 -0
- package/lib/shared/viewZoom.d.ts +14 -0
- package/lib/shared/viewZoom.js +17 -0
- package/lib/shared/viewZoom.js.map +1 -0
- package/lib/shared/wellFormed.d.ts +14 -0
- package/lib/shared/wellFormed.js +19 -0
- package/lib/shared/wellFormed.js.map +1 -0
- package/lib/simport/cards.d.ts +26 -0
- package/lib/simport/cards.js +138 -0
- package/lib/simport/cards.js.map +1 -0
- package/lib/simport/clockView.d.ts +24 -0
- package/lib/simport/clockView.js +43 -0
- package/lib/simport/clockView.js.map +1 -0
- package/lib/simport/commands.d.ts +215 -0
- package/lib/simport/commands.js +2 -0
- package/lib/simport/commands.js.map +1 -0
- package/lib/simport/emergencyReads.d.ts +19 -0
- package/lib/simport/emergencyReads.js +47 -0
- package/lib/simport/emergencyReads.js.map +1 -0
- package/lib/simport/enginePort.d.ts +433 -0
- package/lib/simport/enginePort.js +11 -0
- package/lib/simport/enginePort.js.map +1 -0
- package/lib/simport/fixtures/catalog.classic.json +2137 -0
- package/lib/simport/fixtures/catalog.modern.json +2515 -0
- package/lib/simport/fixtures/viewLayout.json +927 -0
- package/lib/simport/headerClock.d.ts +31 -0
- package/lib/simport/headerClock.js +29 -0
- package/lib/simport/headerClock.js.map +1 -0
- package/lib/simport/panels.d.ts +243 -0
- package/lib/simport/panels.js +2 -0
- package/lib/simport/panels.js.map +1 -0
- package/lib/simport/personCards.d.ts +63 -0
- package/lib/simport/personCards.js +55 -0
- package/lib/simport/personCards.js.map +1 -0
- package/lib/simport/portCodes.d.ts +41 -0
- package/lib/simport/portCodes.js +49 -0
- package/lib/simport/portCodes.js.map +1 -0
- package/lib/simport/portEvents.d.ts +39 -0
- package/lib/simport/portEvents.js +43 -0
- package/lib/simport/portEvents.js.map +1 -0
- package/lib/simport/portRenderSim.d.ts +70 -0
- package/lib/simport/portRenderSim.js +129 -0
- package/lib/simport/portRenderSim.js.map +1 -0
- package/lib/simport/queries.d.ts +64 -0
- package/lib/simport/queries.js +30 -0
- package/lib/simport/queries.js.map +1 -0
- package/lib/simport/recyclingPort.d.ts +13 -0
- package/lib/simport/recyclingPort.js +2 -0
- package/lib/simport/recyclingPort.js.map +1 -0
- package/lib/simport/request.d.ts +44 -0
- package/lib/simport/request.js +214 -0
- package/lib/simport/request.js.map +1 -0
- package/lib/simport/roomTiers.d.ts +102 -0
- package/lib/simport/roomTiers.js +122 -0
- package/lib/simport/roomTiers.js.map +1 -0
- package/lib/simport/scheduleSlots.d.ts +19 -0
- package/lib/simport/scheduleSlots.js +87 -0
- package/lib/simport/scheduleSlots.js.map +1 -0
- package/lib/simport/skyBridgePort.d.ts +20 -0
- package/lib/simport/skyBridgePort.js +2 -0
- package/lib/simport/skyBridgePort.js.map +1 -0
- package/lib/simport/skyBridgeView.d.ts +15 -0
- package/lib/simport/skyBridgeView.js +42 -0
- package/lib/simport/skyBridgeView.js.map +1 -0
- package/lib/simport/statsSheet.d.ts +15 -0
- package/lib/simport/statsSheet.js +101 -0
- package/lib/simport/statsSheet.js.map +1 -0
- package/lib/simport/tdtRecords.d.ts +9 -0
- package/lib/simport/tdtRecords.js +112 -0
- package/lib/simport/tdtRecords.js.map +1 -0
- package/lib/simport/tdtReportFacts.d.ts +110 -0
- package/lib/simport/tdtReportFacts.js +8 -0
- package/lib/simport/tdtReportFacts.js.map +1 -0
- package/lib/simport/trafficPort.d.ts +22 -0
- package/lib/simport/trafficPort.js +2 -0
- package/lib/simport/trafficPort.js.map +1 -0
- package/lib/simport/view.d.ts +275 -0
- package/lib/simport/view.js +2 -0
- package/lib/simport/view.js.map +1 -0
- package/lib/simport/viewReader.d.ts +89 -0
- package/lib/simport/viewReader.js +426 -0
- package/lib/simport/viewReader.js.map +1 -0
- package/lib/styles/game/appearance.css +108 -0
- package/lib/styles/game/base.css +68 -0
- package/lib/styles/game/components.css +69 -0
- package/lib/styles/game/desk-title.css +183 -0
- package/lib/styles/game/desk.css +487 -0
- package/lib/styles/game/dialogs.css +360 -0
- package/lib/styles/game/editor-sidebar.css +116 -0
- package/lib/styles/game/elevator-schedule.css +217 -0
- package/lib/styles/game/file-dialog.css +470 -0
- package/lib/styles/game/help.css +141 -0
- package/lib/styles/game/launch-fireworks.css +17 -0
- package/lib/styles/game/media-landscape.css +333 -0
- package/lib/styles/game/media-phone.css +303 -0
- package/lib/styles/game/media-tablet-touch.css +177 -0
- package/lib/styles/game/menubar.css +158 -0
- package/lib/styles/game/new-tower.css +219 -0
- package/lib/styles/game/onboarding.css +32 -0
- package/lib/styles/game/screen-saver.css +85 -0
- package/lib/styles/game/splash.css +413 -0
- package/lib/styles/game/stats-saves.css +106 -0
- package/lib/styles/game/tools-stage.css +340 -0
- package/lib/styles/game/topbar.css +191 -0
- package/lib/styles/menu-bar.css +108 -0
- package/lib/styles/not-found.css +335 -0
- package/lib/styles/overview-map-views.css +88 -0
- package/lib/styles/overview-map.css +195 -0
- package/lib/styles/retro-components.css +179 -0
- package/lib/styles/retro-page.css +254 -0
- package/lib/styles/retro-tokens.css +122 -0
- package/lib/styles/schemes/high-contrast.css +173 -0
- package/lib/styles/schemes/skyline.css +134 -0
- package/lib/styles.css +66 -0
- package/lib/ui/desk/deskGeometry.d.ts +59 -0
- package/lib/ui/desk/deskGeometry.js +106 -0
- package/lib/ui/desk/deskGeometry.js.map +1 -0
- package/lib/ui/desk/deskWindow.d.ts +90 -0
- package/lib/ui/desk/deskWindow.js +253 -0
- package/lib/ui/desk/deskWindow.js.map +1 -0
- package/lib/ui/desk/deskWindowMenu.d.ts +55 -0
- package/lib/ui/desk/deskWindowMenu.js +143 -0
- package/lib/ui/desk/deskWindowMenu.js.map +1 -0
- package/lib/ui/escape.d.ts +1 -0
- package/lib/ui/escape.js +14 -0
- package/lib/ui/escape.js.map +1 -0
- package/lib/ui/format.d.ts +14 -0
- package/lib/ui/format.js +36 -0
- package/lib/ui/format.js.map +1 -0
- package/lib/ui/iconPaths.generated.d.ts +4 -0
- package/lib/ui/iconPaths.generated.js +68 -0
- package/lib/ui/iconPaths.generated.js.map +1 -0
- package/lib/ui/icons.d.ts +83 -0
- package/lib/ui/icons.js +156 -0
- package/lib/ui/icons.js.map +1 -0
- package/lib/ui/menuBar.d.ts +94 -0
- package/lib/ui/menuBar.js +361 -0
- package/lib/ui/menuBar.js.map +1 -0
- package/lib/ui/modalPrecedence.d.ts +108 -0
- package/lib/ui/modalPrecedence.js +165 -0
- package/lib/ui/modalPrecedence.js.map +1 -0
- package/lib/ui/movableWindow.d.ts +124 -0
- package/lib/ui/movableWindow.js +247 -0
- package/lib/ui/movableWindow.js.map +1 -0
- package/lib/ui/overviewMapInput.d.ts +109 -0
- package/lib/ui/overviewMapInput.js +135 -0
- package/lib/ui/overviewMapInput.js.map +1 -0
- package/lib/ui/uiModal.d.ts +38 -0
- package/lib/ui/uiModal.js +70 -0
- package/lib/ui/uiModal.js.map +1 -0
- package/lib/wasmhost/buildSection.d.ts +54 -0
- package/lib/wasmhost/buildSection.js +143 -0
- package/lib/wasmhost/buildSection.js.map +1 -0
- package/lib/wasmhost/catalogCheck.d.ts +11 -0
- package/lib/wasmhost/catalogCheck.js +43 -0
- package/lib/wasmhost/catalogCheck.js.map +1 -0
- package/lib/wasmhost/engineAssets.d.ts +57 -0
- package/lib/wasmhost/engineAssets.js +63 -0
- package/lib/wasmhost/engineAssets.js.map +1 -0
- package/lib/wasmhost/engineBoot.d.ts +165 -0
- package/lib/wasmhost/engineBoot.js +254 -0
- package/lib/wasmhost/engineBoot.js.map +1 -0
- package/lib/wasmhost/engineChoice.d.ts +6 -0
- package/lib/wasmhost/engineChoice.js +2 -0
- package/lib/wasmhost/engineChoice.js.map +1 -0
- package/lib/wasmhost/engineDiagnostics.d.ts +66 -0
- package/lib/wasmhost/engineDiagnostics.js +189 -0
- package/lib/wasmhost/engineDiagnostics.js.map +1 -0
- package/lib/wasmhost/engineDiagnosticsLive.d.ts +15 -0
- package/lib/wasmhost/engineDiagnosticsLive.js +31 -0
- package/lib/wasmhost/engineDiagnosticsLive.js.map +1 -0
- package/lib/wasmhost/engineIdentity.d.ts +30 -0
- package/lib/wasmhost/engineIdentity.js +59 -0
- package/lib/wasmhost/engineIdentity.js.map +1 -0
- package/lib/wasmhost/engineLabel.d.ts +40 -0
- package/lib/wasmhost/engineLabel.js +50 -0
- package/lib/wasmhost/engineLabel.js.map +1 -0
- package/lib/wasmhost/engineLoad.d.ts +48 -0
- package/lib/wasmhost/engineLoad.js +53 -0
- package/lib/wasmhost/engineLoad.js.map +1 -0
- package/lib/wasmhost/enginePackageCheck.d.ts +77 -0
- package/lib/wasmhost/enginePackageCheck.js +274 -0
- package/lib/wasmhost/enginePackageCheck.js.map +1 -0
- package/lib/wasmhost/enginePackageNames.d.ts +25 -0
- package/lib/wasmhost/enginePackageNames.js +28 -0
- package/lib/wasmhost/enginePackageNames.js.map +1 -0
- package/lib/wasmhost/enginePackageRecord.d.ts +78 -0
- package/lib/wasmhost/enginePackageRecord.js +108 -0
- package/lib/wasmhost/enginePackageRecord.js.map +1 -0
- package/lib/wasmhost/engineRepair.d.ts +55 -0
- package/lib/wasmhost/engineRepair.js +183 -0
- package/lib/wasmhost/engineRepair.js.map +1 -0
- package/lib/wasmhost/frameView.d.ts +87 -0
- package/lib/wasmhost/frameView.js +133 -0
- package/lib/wasmhost/frameView.js.map +1 -0
- package/lib/wasmhost/hostFault.d.ts +40 -0
- package/lib/wasmhost/hostFault.js +94 -0
- package/lib/wasmhost/hostFault.js.map +1 -0
- package/lib/wasmhost/loadEngineModule.d.ts +79 -0
- package/lib/wasmhost/loadEngineModule.js +66 -0
- package/lib/wasmhost/loadEngineModule.js.map +1 -0
- package/lib/wasmhost/packageHash.d.ts +48 -0
- package/lib/wasmhost/packageHash.js +436 -0
- package/lib/wasmhost/packageHash.js.map +1 -0
- package/lib/wasmhost/rustEngine.d.ts +49 -0
- package/lib/wasmhost/rustEngine.js +63 -0
- package/lib/wasmhost/rustEngine.js.map +1 -0
- package/lib/wasmhost/slotPopulation.d.ts +19 -0
- package/lib/wasmhost/slotPopulation.js +69 -0
- package/lib/wasmhost/slotPopulation.js.map +1 -0
- package/lib/wasmhost/telemetry.d.ts +31 -0
- package/lib/wasmhost/telemetry.js +13 -0
- package/lib/wasmhost/telemetry.js.map +1 -0
- package/package.json +80 -4
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
/* The modal dialog frame, the Settings dialog and the crash screen.
|
|
2
|
+
Part of the game's stylesheet: src/styles.css imports the parts in order. */
|
|
3
|
+
|
|
4
|
+
/* ---- Modal (native <dialog>) ---- */
|
|
5
|
+
#modal {
|
|
6
|
+
border: none;
|
|
7
|
+
background: transparent;
|
|
8
|
+
padding: 0;
|
|
9
|
+
max-width: min(560px, 94vw);
|
|
10
|
+
color: var(--ink);
|
|
11
|
+
margin: auto; /* center the dialog over its backdrop instead of top-left */
|
|
12
|
+
/* One scroll container per dialog (#717): current Chromium's UA stylesheet
|
|
13
|
+
makes an open <dialog> `overflow: auto`, so relying on the old `visible`
|
|
14
|
+
default silently stacked a second live vertical scrollbar on the dialog
|
|
15
|
+
element, outside .modal-box's own, on every dialog tall enough to hit the
|
|
16
|
+
box's 82vh cap (Help was the reported one). It also clipped the box's
|
|
17
|
+
.win drop shadow, since the box fills the dialog exactly. The box owns
|
|
18
|
+
ALL of a dialog's scrolling; the dialog element itself must never scroll
|
|
19
|
+
or clip. Guarded by modalSingleScroller.guard.test.ts. */
|
|
20
|
+
overflow: visible;
|
|
21
|
+
}
|
|
22
|
+
#modal::backdrop {
|
|
23
|
+
background: rgba(0, 0, 0, 0.62);
|
|
24
|
+
backdrop-filter: blur(1px);
|
|
25
|
+
}
|
|
26
|
+
.modal-box {
|
|
27
|
+
--pad-y: 18px;
|
|
28
|
+
--pad-x: 20px;
|
|
29
|
+
--title-gap: 12px;
|
|
30
|
+
/* The dialog title bar's rendered height (the 18 px ✕ plus 1 px padding
|
|
31
|
+
above and below, .win-closable in retro-components.css). Not set ON the
|
|
32
|
+
title (its height stays content-driven); this mirrors it for in-body
|
|
33
|
+
sticky bars that pin flush under the stuck title (the schedule grid
|
|
34
|
+
head). Update in step with any .win-closable title metric change. */
|
|
35
|
+
--title-h: 20px;
|
|
36
|
+
padding: var(--pad-y) var(--pad-x);
|
|
37
|
+
max-height: 82vh;
|
|
38
|
+
overflow-y: auto;
|
|
39
|
+
/* Dialog grammar invariant: a window never pans sideways. overflow-y alone
|
|
40
|
+
computes overflow-x to auto, so a child's min-content leak (the schedule
|
|
41
|
+
strip's 36px touch bars were the first) would silently turn the WHOLE
|
|
42
|
+
dialog into a horizontal scroller on phones. Wide content scrolls inside
|
|
43
|
+
its own well or not at all. */
|
|
44
|
+
overflow-x: hidden;
|
|
45
|
+
}
|
|
46
|
+
/* The dialog title bar is additionally sticky, so the ✕ stays reachable when
|
|
47
|
+
a long dialog (help, export) scrolls. Full-bleed comes from .win > .win-title.
|
|
48
|
+
Direct child ONLY — nested .win-title section headers (Tower Statistics)
|
|
49
|
+
must not become sticky full-bleed bars. */
|
|
50
|
+
.modal-box > .win-title {
|
|
51
|
+
position: sticky;
|
|
52
|
+
/* At rest the bar sits 2 px inside the frame (.win-closable); stuck, it
|
|
53
|
+
rides flush with the box's top edge, so nothing scrolls past above it. */
|
|
54
|
+
top: calc(-1 * var(--pad-y));
|
|
55
|
+
/* Above any in-body sticky bar (the schedule dialog's day toggle), so the
|
|
56
|
+
two stuck strips layer cleanly instead of slitting. */
|
|
57
|
+
z-index: 2;
|
|
58
|
+
}
|
|
59
|
+
.modal-box p,
|
|
60
|
+
.modal-box li {
|
|
61
|
+
font-size: 13px;
|
|
62
|
+
line-height: 1.5;
|
|
63
|
+
margin-bottom: 6px;
|
|
64
|
+
}
|
|
65
|
+
.modal-box ul {
|
|
66
|
+
margin-left: 18px;
|
|
67
|
+
}
|
|
68
|
+
.modal-box textarea {
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 160px;
|
|
71
|
+
font-family: monospace;
|
|
72
|
+
font-size: 11px;
|
|
73
|
+
padding: 6px;
|
|
74
|
+
}
|
|
75
|
+
/* The dialog's action row is pinned to the bottom of the scrolling box,
|
|
76
|
+
mirroring the sticky title bar above it. `.modal-box` scrolls at 82vh, so on
|
|
77
|
+
a tall dialog (the elevator schedule's 24-hour grid) the actions used to sit
|
|
78
|
+
below the fold: the player could not see Save, pressed Esc instead, and on
|
|
79
|
+
the schedule dialog the dirty guard's whole response was renaming a Cancel
|
|
80
|
+
button they were not looking at. Two Esc presses then discarded the edits
|
|
81
|
+
with the warning off-screen at every step.
|
|
82
|
+
|
|
83
|
+
A footer says so: its template marks the row `modal-actions modal-footer`
|
|
84
|
+
(#671). The rule used to find it by position (the box's last or
|
|
85
|
+
second-to-last child), which failed open both ways: a dialog that wrapped
|
|
86
|
+
its body or added a trailing line silently lost its pin, and a mid-body
|
|
87
|
+
action row that happened to sit second-to-last would have been pinned as
|
|
88
|
+
a footer. Tower Statistics renders one mid-body for the exterminator, and
|
|
89
|
+
pinning that would park a button on an opaque band over the sections the
|
|
90
|
+
player is scrolling through, so it is a plain `.modal-actions`. `.modal-box >`
|
|
91
|
+
stays: a footer nested inside a form or a wrapper is not the box's to pin.
|
|
92
|
+
Keep the footer last; only a last child gets the downward cover below.
|
|
93
|
+
|
|
94
|
+
DELIBERATELY MINIMAL. Only `position`, `bottom`, `z-index` and paint, all of
|
|
95
|
+
which are inert on a box that is not overflowing. Three earlier cuts added
|
|
96
|
+
box, and each one moved dialogs that have nothing to do with this fix: plain
|
|
97
|
+
padding shifted every dialog in the app (23 gallery shots and the visual
|
|
98
|
+
baselines caught it), full-bleed negative margins then pushed this strip's
|
|
99
|
+
background out over `.modal-box`'s own inset bevel, flattening the Win3.1
|
|
100
|
+
edge on every dialog, and trading the row's margin for equal padding added
|
|
101
|
+
6px to eight of them (see the collapsing note below). The strip must stay
|
|
102
|
+
INSIDE the padding box and must not grow. It
|
|
103
|
+
does not need to full-bleed: `.modal-box`'s horizontal padding is empty
|
|
104
|
+
gutter that content never renders into, so there is nothing to leak through
|
|
105
|
+
beside the strip.
|
|
106
|
+
|
|
107
|
+
The 12px gap above the buttons is the row's own `margin-top`, and margin is
|
|
108
|
+
transparent: scrolled content used to show through it, cut mid-glyph. It is
|
|
109
|
+
covered by an offset box-shadow rather than by padding. Swapping the margin
|
|
110
|
+
for equal padding LOOKS neutral and is not, because margins collapse and
|
|
111
|
+
padding does not: `margin-top: 12px` collapses with the preceding sibling's
|
|
112
|
+
`margin-bottom` (12px wins over a paragraph's 6px), while `padding-top: 12px`
|
|
113
|
+
stacks on top of that 6px and pushes every such dialog 6px taller. A shadow
|
|
114
|
+
cannot move anything at all, which is the property this rule wants. It is
|
|
115
|
+
offset up by exactly the collapsed gap; every element that can precede a
|
|
116
|
+
dialog footer here has a bottom margin of 12px or less, so the cover is exact
|
|
117
|
+
and can never reach past the gap onto the content above. The color must be
|
|
118
|
+
opaque and match the box face; `--panel` aliases `--r-face`, which is exactly
|
|
119
|
+
that, so the band is invisible unstuck.
|
|
120
|
+
|
|
121
|
+
The SECOND shadow covers the same kind of gap below. A sticky `bottom: 0`
|
|
122
|
+
stops at the scroll container's bottom PADDING, not at its visible edge, so
|
|
123
|
+
the strip parks 18px up and that 18px is a live window onto whatever has not
|
|
124
|
+
scrolled past yet: on a phone the schedule dialog showed two lines of the
|
|
125
|
+
Simulate readout under the buttons, sliced through the middle.
|
|
126
|
+
|
|
127
|
+
That band ends at the dialog's bevel, and the bevel is why the downward
|
|
128
|
+
cover is four values rather than one. `.win`'s bevel is an INSET shadow
|
|
129
|
+
living in the innermost 2px of the padding box, and a descendant paints over
|
|
130
|
+
a parent's inset shadow, so the two obvious cuts are both wrong: a cover
|
|
131
|
+
reaching the padding edge flattens the Win3.1 bottom edge on every dialog (a
|
|
132
|
+
shadow paints whether or not the strip is stuck, so this is not limited to
|
|
133
|
+
scrolling ones), and a cover stopping 2px short leaves scrolled text sliced
|
|
134
|
+
in the gap the bevel occupies, which is the reported defect at 2px instead of
|
|
135
|
+
18px. So the cover runs the full 18px and then REDRAWS the bevel's bottom
|
|
136
|
+
edge on top of itself. Earlier shadows paint over later ones, so they read
|
|
137
|
+
outward: panel to 16px, then the bevel's two colors in the 1px each they
|
|
138
|
+
occupy, outermost last. The result is pixel-identical to the bevel the box
|
|
139
|
+
draws for itself, which is the point: the strip is invisible until it has
|
|
140
|
+
something to hide.
|
|
141
|
+
|
|
142
|
+
The downward cover belongs ONLY to a footer that is the box's last child,
|
|
143
|
+
and that split is load-bearing. It assumes the space below the strip is the
|
|
144
|
+
container's padding, which is true only when the strip really is the last
|
|
145
|
+
child. When something follows the footer, that space is the dialog's own
|
|
146
|
+
trailing content: applying the cover to Settings (whose build-id line once
|
|
147
|
+
followed its Close row) painted the redrawn bevel across the dialog, as a
|
|
148
|
+
heavy double rule above that line, on a dialog that does not even scroll.
|
|
149
|
+
Giving that trailing element a higher z-index does not save it, since the
|
|
150
|
+
element's own box is transparent and the lines show around its text. So a
|
|
151
|
+
footer that is not last pins and covers upward only, and the band below it
|
|
152
|
+
shows what the dialog itself put there.
|
|
153
|
+
|
|
154
|
+
Every offset is a literal. An unresolved custom property invalidates the
|
|
155
|
+
whole declaration and would silently take the covers with it, which is why
|
|
156
|
+
`--pad-y` is not read here even though it would resolve.
|
|
157
|
+
`stickyDialogActions.guard.test.ts` ties these numbers to `--pad-y` and to
|
|
158
|
+
the bevel's width and colors in the token file, so they cannot drift apart
|
|
159
|
+
unnoticed. */
|
|
160
|
+
.modal-box > .modal-footer {
|
|
161
|
+
position: sticky;
|
|
162
|
+
bottom: 0;
|
|
163
|
+
/* Under the title bar's z-index 2 so the two stuck strips layer cleanly. */
|
|
164
|
+
z-index: 1;
|
|
165
|
+
background: var(--panel);
|
|
166
|
+
box-shadow: 0 -12px 0 var(--panel);
|
|
167
|
+
}
|
|
168
|
+
/* Only a footer that is the true last child sits over the container's
|
|
169
|
+
padding, so only it may paint downward. See the note above for what this
|
|
170
|
+
cost Settings. */
|
|
171
|
+
.modal-box > .modal-footer:last-child {
|
|
172
|
+
box-shadow:
|
|
173
|
+
0 -12px 0 var(--panel),
|
|
174
|
+
0 16px 0 var(--panel),
|
|
175
|
+
0 17px 0 var(--r-shadow),
|
|
176
|
+
0 18px 0 var(--r-dark);
|
|
177
|
+
}
|
|
178
|
+
.modal-actions {
|
|
179
|
+
display: flex;
|
|
180
|
+
/* Wrap the action row when it holds more buttons than fit (e.g. the Help
|
|
181
|
+
footer's four) so they drop to a second line as whole buttons on narrow
|
|
182
|
+
screens, rather than compressing into multi-line labels. */
|
|
183
|
+
flex-wrap: wrap;
|
|
184
|
+
gap: 8px;
|
|
185
|
+
margin-top: 12px;
|
|
186
|
+
justify-content: flex-end;
|
|
187
|
+
}
|
|
188
|
+
/* A line the app has to say from inside a dialog, because saying it anywhere
|
|
189
|
+
else would be saying it where nobody can read it. The `<dialog>` top layer
|
|
190
|
+
paints over the toast rail at any z-index, so a message raised while a dialog
|
|
191
|
+
is up has exactly one honest home: the dialog in front of the player. Sits
|
|
192
|
+
directly under the title bar, where the eye lands first. */
|
|
193
|
+
.modal-notice {
|
|
194
|
+
margin: 0 0 10px;
|
|
195
|
+
padding: 8px 10px;
|
|
196
|
+
background: var(--r-hi);
|
|
197
|
+
box-shadow: var(--bevel-in);
|
|
198
|
+
color: var(--bad-ink);
|
|
199
|
+
font-size: 13px;
|
|
200
|
+
font-weight: 700;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* Plain or good news said from inside a dialog (a late export that finished
|
|
204
|
+
after all, a file waiting its turn): the same place, in ordinary ink, so it
|
|
205
|
+
does not read as a failure. */
|
|
206
|
+
.modal-notice-calm {
|
|
207
|
+
color: var(--ink);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/* The unsaved-work warning, shown in the pinned strip itself rather than by
|
|
211
|
+
renaming a button. Esc leaves the player looking at the dialog, not at the
|
|
212
|
+
action row, so the state has to announce itself as text where their eyes
|
|
213
|
+
already are. `margin-right: auto` pushes it to the strip's left edge so it
|
|
214
|
+
reads as a sentence about the dialog rather than as another control.
|
|
215
|
+
`align-self` is set HERE rather than `align-items` on the strip, so every
|
|
216
|
+
other dialog's button alignment is left exactly as it was. */
|
|
217
|
+
.modal-footer > .modal-warn {
|
|
218
|
+
margin-right: auto;
|
|
219
|
+
align-self: center;
|
|
220
|
+
/* Takes the room the buttons leave and wraps inside it, so the warning
|
|
221
|
+
sits beside OK and Discard on one strip (#672): on a desktop the armed
|
|
222
|
+
warning used to push Discard to a line of its own, and on a phone the
|
|
223
|
+
warning took two lines of its own above the buttons, more than doubling
|
|
224
|
+
the pinned strip (29px to 67px) over the content it pins above. 9em is
|
|
225
|
+
the narrowest it may get before the buttons drop below it instead: any
|
|
226
|
+
narrower and the sentence runs to four lines, taller than the two-row
|
|
227
|
+
strip it replaces. */
|
|
228
|
+
flex: 1 1 0;
|
|
229
|
+
min-width: 9em;
|
|
230
|
+
font-size: 12px;
|
|
231
|
+
font-weight: 700;
|
|
232
|
+
color: var(--bad-ink);
|
|
233
|
+
}
|
|
234
|
+
.modal-actions .btn {
|
|
235
|
+
padding: 7px 14px;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/* ---- Volume sliders (Settings dialog's Sound section) ----
|
|
239
|
+
* Native range inputs painted with the theme accent; label / slider / percent
|
|
240
|
+
* readout share one row. */
|
|
241
|
+
.vol-row {
|
|
242
|
+
display: flex;
|
|
243
|
+
align-items: center;
|
|
244
|
+
gap: 8px;
|
|
245
|
+
margin: 6px 0;
|
|
246
|
+
}
|
|
247
|
+
.vol-row label {
|
|
248
|
+
min-width: 64px;
|
|
249
|
+
}
|
|
250
|
+
.vol-row input[type="range"] {
|
|
251
|
+
flex: 1;
|
|
252
|
+
min-width: 0;
|
|
253
|
+
accent-color: var(--accent);
|
|
254
|
+
}
|
|
255
|
+
.vol-row .vol-val {
|
|
256
|
+
min-width: 40px;
|
|
257
|
+
text-align: right;
|
|
258
|
+
color: var(--muted);
|
|
259
|
+
font-size: 12px;
|
|
260
|
+
font-variant-numeric: tabular-nums;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/* ---- Settings dialog boolean rows ----
|
|
264
|
+
* A switch-style checkbox with its name, and a muted explanatory note
|
|
265
|
+
* underneath, indented to align with the name. */
|
|
266
|
+
.set-row {
|
|
267
|
+
margin: 8px 0;
|
|
268
|
+
}
|
|
269
|
+
.set-switch {
|
|
270
|
+
display: flex;
|
|
271
|
+
align-items: center;
|
|
272
|
+
gap: 8px;
|
|
273
|
+
}
|
|
274
|
+
.set-switch input[type="checkbox"] {
|
|
275
|
+
accent-color: var(--accent);
|
|
276
|
+
width: 15px;
|
|
277
|
+
height: 15px;
|
|
278
|
+
margin: 0;
|
|
279
|
+
flex: none;
|
|
280
|
+
}
|
|
281
|
+
/* Scoped under .set-row so the 12px wins over the broader .modal-box p rule. */
|
|
282
|
+
.set-row .set-note {
|
|
283
|
+
margin: 2px 0 0 23px;
|
|
284
|
+
color: var(--muted);
|
|
285
|
+
font-size: 12px;
|
|
286
|
+
}
|
|
287
|
+
/* Read-only build echo at the foot of Settings: muted, small, centered, and set
|
|
288
|
+
apart by a hairline so it never reads as a control. Sourced from the same
|
|
289
|
+
__APP_VERSION__ as the splash and About this game's line. */
|
|
290
|
+
.set-version {
|
|
291
|
+
margin: 10px 0 0;
|
|
292
|
+
padding-top: 8px;
|
|
293
|
+
border-top: 1px solid var(--line, #7a7a7a);
|
|
294
|
+
color: var(--muted);
|
|
295
|
+
font-size: 11px;
|
|
296
|
+
text-align: center;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/* ---- Crash screen ----
|
|
300
|
+
The card shown when the GPU drops the WebGL context (see
|
|
301
|
+
src/ui/crashScreen.ts). A real dialog opened with showModal(), so it wins
|
|
302
|
+
the top layer even when another dialog was open at crash time; the canvas
|
|
303
|
+
is dead, so everything here must render without it. */
|
|
304
|
+
.crash-card {
|
|
305
|
+
max-width: 440px;
|
|
306
|
+
padding: 16px;
|
|
307
|
+
display: flex;
|
|
308
|
+
flex-direction: column;
|
|
309
|
+
gap: 10px;
|
|
310
|
+
}
|
|
311
|
+
dialog.crash-card::backdrop {
|
|
312
|
+
background: rgba(0, 0, 0, 0.55);
|
|
313
|
+
}
|
|
314
|
+
/* The crash card scrolls itself (an open <dialog> is its own scroller) and
|
|
315
|
+
swallows Esc, so its buttons are the only way out. On a short or landscape
|
|
316
|
+
phone they pin to the bottom of the card the way a dialog footer does
|
|
317
|
+
(#668; the #664 rule above covers only .modal-box). A sticky box keeps to
|
|
318
|
+
the scroller's content box, so it sticks above the card's 16px bottom
|
|
319
|
+
padding, where it rests at the end of the scroll too: stuck and resting
|
|
320
|
+
look the same. Its shadows cover the 22px above it (the card's 10px gap
|
|
321
|
+
plus the row's 12px margin, since flex margins do not collapse) and the
|
|
322
|
+
padding band below it, where scrolled text would show through, and redraw
|
|
323
|
+
the card's two bottom bevel rows across that band. Literal offsets, as
|
|
324
|
+
above: they mirror .crash-card's padding (16px) and gap (10px), the
|
|
325
|
+
.modal-actions margin (12px) and the bevel in --bevel-out. */
|
|
326
|
+
.crash-card > .modal-actions {
|
|
327
|
+
position: sticky;
|
|
328
|
+
bottom: 0;
|
|
329
|
+
background: var(--panel);
|
|
330
|
+
box-shadow:
|
|
331
|
+
0 -22px 0 var(--panel),
|
|
332
|
+
0 14px 0 var(--panel),
|
|
333
|
+
0 15px 0 var(--r-shadow),
|
|
334
|
+
0 16px 0 var(--r-dark);
|
|
335
|
+
}
|
|
336
|
+
.crash-card .crash-status {
|
|
337
|
+
min-height: 1.2em;
|
|
338
|
+
color: var(--muted);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/* The star-up message box: the new rating as a row of stars, the duties as a
|
|
342
|
+
plain list, and the parking line red while the tower is short. */
|
|
343
|
+
.modal-box .star-up-rating {
|
|
344
|
+
margin: 4px 0 2px;
|
|
345
|
+
font-size: 22px;
|
|
346
|
+
letter-spacing: 2px;
|
|
347
|
+
color: #a07000;
|
|
348
|
+
text-align: center;
|
|
349
|
+
}
|
|
350
|
+
.modal-box .star-up-duties {
|
|
351
|
+
/* Keeps the shared list indent, so each dot sits inside the text margin. */
|
|
352
|
+
margin: 0 0 6px 18px;
|
|
353
|
+
}
|
|
354
|
+
.modal-box .star-up-parking.short {
|
|
355
|
+
color: var(--bad-ink);
|
|
356
|
+
}
|
|
357
|
+
/* The next rating's checklist keeps each count on one line ("5,760 / 10,000"). */
|
|
358
|
+
.modal-box .star-up-next .col.nsr .v {
|
|
359
|
+
white-space: nowrap;
|
|
360
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/* The facility editor, the sidebar panels and the event log.
|
|
2
|
+
Part of the game's stylesheet: src/styles.css imports the parts in order. */
|
|
3
|
+
|
|
4
|
+
/* ---- Editor (selected facility) ---- */
|
|
5
|
+
#editor {
|
|
6
|
+
position: absolute;
|
|
7
|
+
bottom: 10px;
|
|
8
|
+
left: 10px;
|
|
9
|
+
width: 250px;
|
|
10
|
+
--pad-y: 10px;
|
|
11
|
+
--pad-x: 12px;
|
|
12
|
+
--title-gap: 8px;
|
|
13
|
+
padding: var(--pad-y) var(--pad-x);
|
|
14
|
+
font-size: 12px;
|
|
15
|
+
}
|
|
16
|
+
#editor .ed-stats {
|
|
17
|
+
gap: 1px 8px;
|
|
18
|
+
margin-bottom: 8px;
|
|
19
|
+
}
|
|
20
|
+
#editor .ed-row {
|
|
21
|
+
display: flex;
|
|
22
|
+
gap: 6px;
|
|
23
|
+
margin-top: 6px;
|
|
24
|
+
}
|
|
25
|
+
/* Row-scoped on purpose: the title bar's ✕ is also a .btn inside #editor,
|
|
26
|
+
and an unscoped flex: 1 would stretch it across the bar. */
|
|
27
|
+
#editor .ed-row .btn {
|
|
28
|
+
flex: 1;
|
|
29
|
+
padding: 5px;
|
|
30
|
+
font-size: 11px;
|
|
31
|
+
}
|
|
32
|
+
/* A theater screen's heading above its film buttons (#1950). */
|
|
33
|
+
#editor .ed-screen {
|
|
34
|
+
margin-top: 8px;
|
|
35
|
+
font-size: 11px;
|
|
36
|
+
}
|
|
37
|
+
#editor .ed-row .field {
|
|
38
|
+
flex: 2;
|
|
39
|
+
padding: 4px 6px;
|
|
40
|
+
font-size: 11px;
|
|
41
|
+
}
|
|
42
|
+
/* Mobile only: the inspector card's diagnostics folded into the editor (access
|
|
43
|
+
warnings, patronage, on-notice). A hair smaller than the stat rows, with a
|
|
44
|
+
divider above so it reads as its own block; hidden entirely when empty (a
|
|
45
|
+
well-placed, non-retail unit with nothing to warn about). */
|
|
46
|
+
#editor .ed-diagnostics {
|
|
47
|
+
margin-top: 8px;
|
|
48
|
+
padding-top: 8px;
|
|
49
|
+
border-top: 1px solid var(--line);
|
|
50
|
+
font-size: 11px;
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
gap: 3px;
|
|
54
|
+
}
|
|
55
|
+
#editor .ed-diagnostics:empty {
|
|
56
|
+
display: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* ---- Tower Info window (index.html #tower-win; the rest of its look is in menubar.css) ---- */
|
|
60
|
+
.name-input {
|
|
61
|
+
width: 100%;
|
|
62
|
+
padding: 4px 6px;
|
|
63
|
+
font-size: 12px;
|
|
64
|
+
margin-bottom: 6px;
|
|
65
|
+
}
|
|
66
|
+
/* Rule-set badge: names the active tower's rule-set and, on click, opens the
|
|
67
|
+
Classic vs Modern comparison. A real <button> (keyboard + pointer), styled as
|
|
68
|
+
a compact full-width status chip. It is its own element, kept OUT of
|
|
69
|
+
#tower-stats (the lit one-renderer container); uiStatus.setMode is the only writer,
|
|
70
|
+
dirty-gated so the per-frame pump never touches the DOM unless the mode
|
|
71
|
+
changes. The accent only tints the label, so the win bevel reads the same for
|
|
72
|
+
both rule-sets (Classic is the faithful reference build, never the lesser one). */
|
|
73
|
+
.mode-badge {
|
|
74
|
+
display: block;
|
|
75
|
+
width: 100%;
|
|
76
|
+
text-align: left;
|
|
77
|
+
font-size: 12px;
|
|
78
|
+
margin-bottom: 6px;
|
|
79
|
+
}
|
|
80
|
+
.mode-badge.is-modern {
|
|
81
|
+
color: var(--r-title, #000080);
|
|
82
|
+
}
|
|
83
|
+
.mode-badge.is-classic {
|
|
84
|
+
color: #5a3d00;
|
|
85
|
+
}
|
|
86
|
+
/* ---- Bulletin / event log ----
|
|
87
|
+
The lines sit newest first in the DOM (src/ui/uiStatus.ts), so a plain
|
|
88
|
+
column scrolls from the newest line. A reversed column would scroll from
|
|
89
|
+
its bottom and open the window on the oldest line. The game keeps a
|
|
90
|
+
scrolled reader's place itself (renderLog), so the browser's anchoring
|
|
91
|
+
is off. */
|
|
92
|
+
#log {
|
|
93
|
+
flex: 1;
|
|
94
|
+
overflow-y: auto;
|
|
95
|
+
font-size: 11px;
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-direction: column;
|
|
98
|
+
overflow-anchor: none;
|
|
99
|
+
gap: 3px;
|
|
100
|
+
padding: 4px 6px;
|
|
101
|
+
}
|
|
102
|
+
.log-line {
|
|
103
|
+
border-left: 2px solid var(--line);
|
|
104
|
+
padding: 1px 6px;
|
|
105
|
+
color: var(--ink);
|
|
106
|
+
}
|
|
107
|
+
.log-line.good {
|
|
108
|
+
border-color: var(--good);
|
|
109
|
+
}
|
|
110
|
+
.log-line.bad {
|
|
111
|
+
border-color: var(--bad);
|
|
112
|
+
}
|
|
113
|
+
.log-line.money {
|
|
114
|
+
border-color: var(--money);
|
|
115
|
+
color: var(--money);
|
|
116
|
+
}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
/* The Elevator Schedule dialog.
|
|
2
|
+
Part of the game's stylesheet: src/styles.css imports the parts in order. */
|
|
3
|
+
|
|
4
|
+
/* ---- Elevator Schedule dialog (elevator-scheduling #305 Phase 3) ----
|
|
5
|
+
Same chrome grammar as the rest of the shell: gray face, bevels, navy
|
|
6
|
+
accents. Staging leads, the count strip is a pressed well of 24 bar
|
|
7
|
+
buttons, and every stepper reuses .btn. */
|
|
8
|
+
.es-body { display: grid; gap: 8px; }
|
|
9
|
+
/* Grid items keep the default min-width auto, so a wide child (the 24-bar strip
|
|
10
|
+
at its 36px touch minimum is ~890px of min-content) would propagate its width
|
|
11
|
+
up through the grid and blow the modal past the viewport instead of scrolling
|
|
12
|
+
inside .es-strip's own well. Seen on a real phone (v1.57.0); the mobile
|
|
13
|
+
design party's containment ruling. */
|
|
14
|
+
.es-body > * { min-width: 0; }
|
|
15
|
+
.es-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
16
|
+
.es-spread { justify-content: space-between; }
|
|
17
|
+
.es-heading { font-weight: 700; }
|
|
18
|
+
/* Day toggle: the pressed day sits in its bevel like #speed .btn.active. */
|
|
19
|
+
.es-day .btn.es-on { font-weight: 700; box-shadow: var(--bevel-in); }
|
|
20
|
+
/* The day buttons stay one group for assistive tech without boxing the row. */
|
|
21
|
+
.es-daypair { display: contents; }
|
|
22
|
+
/* Elevator schedule review (#1548): one pressed row per elevator, buttons wrap on a narrow screen. */
|
|
23
|
+
.sched-review-entry { margin-top: 12px; }
|
|
24
|
+
.sched-review-entry .btn { min-height: 44px; }
|
|
25
|
+
.sched-review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
|
|
26
|
+
.sched-review-row { display: grid; gap: 4px; padding: 8px; box-shadow: var(--bevel-in); }
|
|
27
|
+
.sched-review-title { font-weight: 700; }
|
|
28
|
+
.sched-review-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
|
|
29
|
+
.sched-review-actions .btn { min-height: 44px; }
|
|
30
|
+
/* Presets row (Modern): the recommended preset carries the primary ring. */
|
|
31
|
+
.es-presets .btn.es-rec { box-shadow: 0 0 0 1px var(--r-dark), var(--bevel-out); font-weight: 700; }
|
|
32
|
+
.es-presets .btn.es-rec:active { box-shadow: 0 0 0 1px var(--r-dark), var(--bevel-in); }
|
|
33
|
+
/* The Auto checkbox sits at the row's end with a full touch target. */
|
|
34
|
+
.es-auto { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-left: auto; cursor: pointer; }
|
|
35
|
+
/* The floors grid (#464): one row per span floor descending, in a pressed well.
|
|
36
|
+
Columns: floor label, the Serve stop toggle, then the car chips. The canon
|
|
37
|
+
floors-by-cars shape: floors down the left, one chip per car. */
|
|
38
|
+
.es-floors { display: grid; gap: 6px; }
|
|
39
|
+
.es-grid {
|
|
40
|
+
/* No height cap on desktop (#513): the old 200px well made the grid a second
|
|
41
|
+
live scroller next to the .modal-box one, so the dialog wore two vertical
|
|
42
|
+
scrollbars at once. The grid now grows to its content and the box is the
|
|
43
|
+
dialog's single scroller. The phone and coarse-pointer blocks below
|
|
44
|
+
restore the 200px cap: there the priority is keeping the steppers and OK
|
|
45
|
+
button within a swipe on a long span (and scrollbars are typically
|
|
46
|
+
overlay on those devices, so the double bar rarely shows). */
|
|
47
|
+
padding: 2px;
|
|
48
|
+
background: var(--r-face);
|
|
49
|
+
box-shadow: var(--bevel-in);
|
|
50
|
+
}
|
|
51
|
+
.es-grid-row {
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
gap: 8px;
|
|
55
|
+
padding: 2px 4px;
|
|
56
|
+
min-height: 24px;
|
|
57
|
+
}
|
|
58
|
+
.es-grid-head {
|
|
59
|
+
font-weight: 700;
|
|
60
|
+
position: sticky;
|
|
61
|
+
/* With the grid uncapped, the head sticks in the .modal-box scrollport,
|
|
62
|
+
tucked flush under the stuck title bar. Same baseline as the title's own
|
|
63
|
+
sticky offset (the title pins at the box top with `-1 * --pad-y`; see
|
|
64
|
+
`.modal-box > .win-title`), plus the title's rendered height
|
|
65
|
+
(`--title-h`, defined on .modal-box), so the head's top meets the
|
|
66
|
+
title's bottom exactly (measured gap 0 at every scroll depth). If the
|
|
67
|
+
title ever wraps taller than --title-h it overlaps the head cosmetically;
|
|
68
|
+
z-index 1 keeps the head under the title (z-index 2). Clamped to the
|
|
69
|
+
grid's own bounds, it slides away once the grid scrolls past. */
|
|
70
|
+
top: calc(-1 * var(--pad-y, 18px) + var(--title-h, 20px));
|
|
71
|
+
background: var(--r-face);
|
|
72
|
+
z-index: 1;
|
|
73
|
+
}
|
|
74
|
+
.es-cell-floor {
|
|
75
|
+
min-width: 52px;
|
|
76
|
+
display: inline-flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
gap: 3px;
|
|
79
|
+
font-variant-numeric: tabular-nums;
|
|
80
|
+
}
|
|
81
|
+
.es-cell-serve { min-width: 40px; text-align: center; }
|
|
82
|
+
.es-cell-serve input { cursor: pointer; }
|
|
83
|
+
.es-cell-cars { display: flex; flex-wrap: wrap; gap: 3px; flex: 1; min-width: 0; }
|
|
84
|
+
/* A skipped floor's row dims (its chips are gone; Serve re-lights it). */
|
|
85
|
+
.es-skipped .es-cell-floor { color: var(--r-shadow); }
|
|
86
|
+
/* The derived base marker and the lobby tag on the floor label. */
|
|
87
|
+
.es-base { color: var(--accent); }
|
|
88
|
+
.es-lobby-mark { color: var(--accent); font-size: 9px; font-weight: 700; }
|
|
89
|
+
/* Measured demand hotspot (#465): where riders board at the busiest hour. */
|
|
90
|
+
.es-origin { color: var(--bad); font-size: 8px; margin-left: 2px; }
|
|
91
|
+
/* A car chip: a numbered mini button, hollow on other rows, pressed navy on its
|
|
92
|
+
home row. Color never carries it alone: aria-pressed and the bevel do. */
|
|
93
|
+
.es-chip {
|
|
94
|
+
min-width: 22px;
|
|
95
|
+
height: 20px;
|
|
96
|
+
padding: 0 2px;
|
|
97
|
+
border: 0;
|
|
98
|
+
font-family: var(--r-font);
|
|
99
|
+
font-size: 10px;
|
|
100
|
+
background: var(--r-face);
|
|
101
|
+
box-shadow: var(--bevel-out);
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
}
|
|
104
|
+
.es-chip.on {
|
|
105
|
+
background: var(--accent);
|
|
106
|
+
color: var(--r-title-fg);
|
|
107
|
+
font-weight: 700;
|
|
108
|
+
box-shadow: var(--bevel-in);
|
|
109
|
+
}
|
|
110
|
+
/* Steppers: square − / + around a fixed-width readout so the row never
|
|
111
|
+
shifts as the number changes. */
|
|
112
|
+
.es-stepper { display: inline-flex; align-items: center; gap: 4px; }
|
|
113
|
+
.es-sq { min-width: 26px; text-align: center; }
|
|
114
|
+
.es-val { min-width: 56px; text-align: center; font-variant-numeric: tabular-nums; }
|
|
115
|
+
.es-hint { color: var(--muted); font-size: 0.85em; margin: 0; }
|
|
116
|
+
/* The 24-hour count strip: a pressed well of one bar button per hour. */
|
|
117
|
+
.es-strip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
|
|
118
|
+
.es-fleet { color: var(--muted); font-size: 0.85em; }
|
|
119
|
+
.es-strip {
|
|
120
|
+
overflow-x: auto;
|
|
121
|
+
padding: 2px;
|
|
122
|
+
background: var(--r-face);
|
|
123
|
+
box-shadow: var(--bevel-in);
|
|
124
|
+
}
|
|
125
|
+
/* The inner track carries the bars AND the hour axis, so the axis labels scroll
|
|
126
|
+
with the bars they describe (the v1.57.1 hotfix hid a static axis for exactly
|
|
127
|
+
this lie; this is the real fix). max-content so 24 touch-sized bars can run
|
|
128
|
+
wider than the well and scroll inside it. */
|
|
129
|
+
.es-strip-inner { min-width: 100%; width: max-content; }
|
|
130
|
+
.es-strip-bars {
|
|
131
|
+
position: relative;
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: stretch;
|
|
134
|
+
gap: 1px;
|
|
135
|
+
height: 64px;
|
|
136
|
+
min-width: 100%;
|
|
137
|
+
}
|
|
138
|
+
/* Count gridlines: one faint rule per car level so a bar's height reads as a
|
|
139
|
+
number without counting pixels. */
|
|
140
|
+
.es-gridline {
|
|
141
|
+
position: absolute;
|
|
142
|
+
left: 0;
|
|
143
|
+
right: 0;
|
|
144
|
+
height: 1px;
|
|
145
|
+
background: var(--r-shadow);
|
|
146
|
+
opacity: 0.45;
|
|
147
|
+
pointer-events: none;
|
|
148
|
+
}
|
|
149
|
+
.es-bar {
|
|
150
|
+
position: relative;
|
|
151
|
+
flex: 1;
|
|
152
|
+
min-width: 10px;
|
|
153
|
+
padding: 0;
|
|
154
|
+
border: 0;
|
|
155
|
+
background: transparent;
|
|
156
|
+
cursor: pointer;
|
|
157
|
+
font-family: var(--r-font);
|
|
158
|
+
}
|
|
159
|
+
.es-bar-fill {
|
|
160
|
+
position: absolute;
|
|
161
|
+
left: 1px;
|
|
162
|
+
right: 1px;
|
|
163
|
+
bottom: 0;
|
|
164
|
+
background: var(--accent);
|
|
165
|
+
pointer-events: none;
|
|
166
|
+
}
|
|
167
|
+
/* The ghost series (#464): a dash marks the measured demand level, and the
|
|
168
|
+
authored fill ABOVE it renders pale, visible spare capacity. Information in
|
|
169
|
+
both modes; only advice is Modern-gated. */
|
|
170
|
+
.es-bar-over {
|
|
171
|
+
position: absolute;
|
|
172
|
+
left: 1px;
|
|
173
|
+
right: 1px;
|
|
174
|
+
background: color-mix(in srgb, var(--accent) 35%, var(--r-face));
|
|
175
|
+
pointer-events: none;
|
|
176
|
+
}
|
|
177
|
+
.es-bar-demand {
|
|
178
|
+
position: absolute;
|
|
179
|
+
left: 0;
|
|
180
|
+
right: 0;
|
|
181
|
+
height: 0;
|
|
182
|
+
border-top: 2px dashed var(--r-dark);
|
|
183
|
+
pointer-events: none;
|
|
184
|
+
}
|
|
185
|
+
.es-bar.sel { outline: 2px solid var(--accent); outline-offset: -1px; }
|
|
186
|
+
.es-bar-n {
|
|
187
|
+
position: absolute;
|
|
188
|
+
left: 0;
|
|
189
|
+
right: 0;
|
|
190
|
+
top: 1px;
|
|
191
|
+
font-size: 9px;
|
|
192
|
+
color: var(--r-ink);
|
|
193
|
+
/* A face-gray halo keeps the count readable when a full bar's navy fill
|
|
194
|
+
reaches up behind it. */
|
|
195
|
+
text-shadow: 0 0 1px var(--r-face), 0 0 2px var(--r-face), 0 0 3px var(--r-face);
|
|
196
|
+
pointer-events: none;
|
|
197
|
+
}
|
|
198
|
+
/* The hour axis rides INSIDE the scrolling track, each tick anchored to its
|
|
199
|
+
hour's fraction of the full 24-bar width. */
|
|
200
|
+
.es-strip-axis {
|
|
201
|
+
position: relative;
|
|
202
|
+
height: 13px;
|
|
203
|
+
color: var(--muted);
|
|
204
|
+
font-size: 0.8em;
|
|
205
|
+
}
|
|
206
|
+
.es-axis-tick { position: absolute; top: 0; }
|
|
207
|
+
/* The touch flow hint renders only for coarse pointers (below); the ghost
|
|
208
|
+
legend shows whenever the ghost does. */
|
|
209
|
+
.es-touch-hint { display: none; }
|
|
210
|
+
.es-strip-step { justify-content: space-between; }
|
|
211
|
+
/* Advanced disclosure (Modern's fold for the raw grid). */
|
|
212
|
+
.es-adv summary { cursor: pointer; font-size: 13px; }
|
|
213
|
+
.es-adv[open] summary { margin-bottom: 6px; }
|
|
214
|
+
/* Advice and the Simulate readout: advice is a plain sentence, the readout
|
|
215
|
+
carries the navy emphasis (same weight as .bp-preview). */
|
|
216
|
+
.es-advice { margin: 0; font-size: 13px; }
|
|
217
|
+
.es-sim { min-height: 1.4em; color: var(--r-title); font-weight: 600; font-size: 13px; }
|