@league-of-foundry-developers/foundry-vtt-types 9.255.2 → 9.268.1
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/README.md +5 -4
- package/index.d.ts +1 -1
- package/package.json +4 -3
- package/src/foundry/{foundry.js/application.d.ts → client/apps/app.d.ts} +0 -14
- package/src/foundry/client/apps/av/av-config.d.ts +85 -0
- package/src/foundry/client/apps/av/camera-popout.d.ts +49 -0
- package/src/foundry/client/apps/av/cameras.d.ts +174 -0
- package/src/foundry/client/apps/av/index.d.ts +3 -0
- package/src/foundry/client/apps/form.d.ts +384 -0
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/actorSheet.d.ts → client/apps/forms/actor.d.ts} +13 -29
- package/src/foundry/client/apps/forms/card-config.d.ts +51 -0
- package/src/foundry/client/apps/forms/cards-config.d.ts +128 -0
- package/src/foundry/client/apps/forms/combat-config.d.ts +41 -0
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/combatantConfig.d.ts → client/apps/forms/combatant-config.d.ts} +4 -12
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/activeEffectConfig.d.ts → client/apps/forms/effect-config.d.ts} +6 -16
- package/src/foundry/client/apps/forms/folder-config.d.ts +63 -0
- package/src/foundry/{foundry.js/applications/formApplications/gridConfig.d.ts → client/apps/forms/grid-config.d.ts} +9 -24
- package/src/foundry/client/apps/forms/image-popout.d.ts +166 -0
- package/src/foundry/client/apps/forms/index.d.ts +20 -0
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/itemSheet.d.ts → client/apps/forms/item.d.ts} +8 -25
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/journalSheet.d.ts → client/apps/forms/journal-sheet.d.ts} +16 -28
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/macroConfig.d.ts → client/apps/forms/macro-config.d.ts} +8 -15
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/measuredTemplateConfig.d.ts → client/apps/forms/measure-template.d.ts} +5 -12
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/permissionControl.d.ts → client/apps/forms/permission.d.ts} +11 -19
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/playlistConfig.d.ts → client/apps/forms/playlist-config.d.ts} +6 -12
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/playlistSoundConfig.d.ts → client/apps/forms/playlist-sound-config.d.ts} +6 -20
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/rollTableConfig.d.ts → client/apps/forms/roll-table-config.d.ts} +16 -32
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/sceneConfig.d.ts → client/apps/forms/scene-config.d.ts} +30 -34
- package/src/foundry/{foundry.js/applications/formApplications/entitySheetConfig.d.ts → client/apps/forms/sheet-config.d.ts} +38 -24
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/userConfig.d.ts → client/apps/forms/user-config.d.ts} +6 -13
- package/src/foundry/{foundry.js/chatBubbles.d.ts → client/apps/hud/chatbubble.d.ts} +0 -0
- package/src/foundry/{foundry.js/applications/headsUpDisplay.d.ts → client/apps/hud/container.d.ts} +3 -6
- package/src/foundry/{foundry.js/applications/sceneControls.d.ts → client/apps/hud/controls.d.ts} +3 -6
- package/src/foundry/{foundry.js/applications → client/apps/hud}/hotbar.d.ts +14 -27
- package/src/foundry/{foundry.js/applications/basePlaceableHUD.d.ts → client/apps/hud/hud.d.ts} +5 -10
- package/src/foundry/client/apps/hud/index.d.ts +9 -0
- package/src/foundry/{foundry.js/applications/mainMenu.d.ts → client/apps/hud/menu.d.ts} +3 -9
- package/src/foundry/{foundry.js/applications/sceneNavigation.d.ts → client/apps/hud/navigation.d.ts} +8 -21
- package/src/foundry/{foundry.js/applications → client/apps/hud}/pause.d.ts +1 -2
- package/src/foundry/{foundry.js/applications/playerList.d.ts → client/apps/hud/players.d.ts} +4 -7
- package/src/foundry/{foundry.js/localization.d.ts → client/apps/i18n.d.ts} +1 -2
- package/src/foundry/client/apps/index.d.ts +9 -0
- package/src/foundry/{foundry.js/applications/formApplications/drawingConfig.d.ts → client/apps/placeables/drawing-config.d.ts} +19 -30
- package/src/foundry/{foundry.js/applications/basePlaceableHUDs/drawingHUD.d.ts → client/apps/placeables/drawing-hud.d.ts} +3 -9
- package/src/foundry/client/apps/placeables/index.d.ts +10 -0
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/ambientLightConfig.d.ts → client/apps/placeables/light-config.d.ts} +18 -27
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/noteConfig.d.ts → client/apps/placeables/note-config.d.ts} +5 -20
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/ambientSoundConfig.d.ts → client/apps/placeables/sound-config.d.ts} +7 -17
- package/src/foundry/{foundry.js/applications/formApplications/documentSheets/tileConfig.d.ts → client/apps/placeables/tile-config.d.ts} +7 -18
- package/src/foundry/{foundry.js/applications/basePlaceableHUDs/tileHUD.d.ts → client/apps/placeables/tile-hud.d.ts} +3 -9
- package/src/foundry/{foundry.js/applications/formApplications/tokenConfig.d.ts → client/apps/placeables/token-config.d.ts} +93 -29
- package/src/foundry/{foundry.js/applications/basePlaceableHUDs/tokenHUD.d.ts → client/apps/placeables/token-hud.d.ts} +13 -18
- package/src/foundry/{foundry.js/applications/formApplications/wallConfig.d.ts → client/apps/placeables/wall-config.d.ts} +24 -21
- package/src/foundry/{foundry.js/applications/chatPopout.d.ts → client/apps/sidebar/apps/chat-popout.d.ts} +6 -14
- package/src/foundry/{foundry.js/applications/formApplications/settingsConfig.d.ts → client/apps/sidebar/apps/client-settings.d.ts} +18 -14
- package/src/foundry/{foundry.js/applications → client/apps/sidebar/apps}/compendium.d.ts +28 -30
- package/src/foundry/client/apps/sidebar/apps/controls-reference.d.ts +30 -0
- package/src/foundry/client/apps/sidebar/apps/index.d.ts +10 -0
- package/src/foundry/client/apps/sidebar/apps/invitation-links.d.ts +37 -0
- package/src/foundry/{foundry.js/applications/formApplications/keybindingsConfig.d.ts → client/apps/sidebar/apps/keybindings-config.d.ts} +4 -14
- package/src/foundry/{foundry.js/applications/formApplications/moduleManagement.d.ts → client/apps/sidebar/apps/module-management.d.ts} +13 -34
- package/src/foundry/{foundry.js/applications/formApplications/permissionConfig.d.ts → client/apps/sidebar/apps/permission-config.d.ts} +5 -16
- package/src/foundry/client/apps/sidebar/apps/support-details.d.ts +76 -0
- package/src/foundry/{foundry.js/applications/formApplications/worldConfig.d.ts → client/apps/sidebar/apps/world-config.d.ts} +10 -12
- package/src/foundry/client/apps/sidebar/index.d.ts +5 -0
- package/src/foundry/{foundry.js/applications → client/apps/sidebar}/sidebar.d.ts +5 -17
- package/src/foundry/{foundry.js/applications/sidebarTab.d.ts → client/apps/sidebar/tab-base.d.ts} +4 -8
- package/src/foundry/{foundry.js/applications/sidebarTabs/sidebarDirectory.d.ts → client/apps/sidebar/tab-directory.d.ts} +22 -31
- package/src/foundry/client/apps/sidebar/tabs/actors-directory.d.ts +16 -0
- package/src/foundry/{foundry.js/applications/sidebarTabs/sidebarDirectories/cardsDirectory.d.ts → client/apps/sidebar/tabs/cards-directory.d.ts} +1 -2
- package/src/foundry/{foundry.js/applications/sidebarTabs/chatLog.d.ts → client/apps/sidebar/tabs/chat-log.d.ts} +68 -51
- package/src/foundry/{foundry.js/applications/sidebarTabs/combatTracker.d.ts → client/apps/sidebar/tabs/combat-tracker.d.ts} +4 -7
- package/src/foundry/{foundry.js/applications/sidebarTabs/compendiumDirectory.d.ts → client/apps/sidebar/tabs/compendium-directory.d.ts} +20 -14
- package/src/foundry/client/apps/sidebar/tabs/index.d.ts +12 -0
- package/src/foundry/client/apps/sidebar/tabs/items-directory.d.ts +10 -0
- package/src/foundry/client/apps/sidebar/tabs/journal-directory.d.ts +11 -0
- package/src/foundry/{foundry.js/applications/sidebarTabs/sidebarDirectories/macroDirectory.d.ts → client/apps/sidebar/tabs/macros-directory.d.ts} +3 -10
- package/src/foundry/{foundry.js/applications/sidebarTabs/sidebarDirectories/playlistDirectory.d.ts → client/apps/sidebar/tabs/playlists-directory.d.ts} +43 -22
- package/src/foundry/{foundry.js/applications/sidebarTabs/sidebarDirectories/rollTableDirectory.d.ts → client/apps/sidebar/tabs/roll-table-directory.d.ts} +1 -2
- package/src/foundry/client/apps/sidebar/tabs/scenes-directory.d.ts +18 -0
- package/src/foundry/client/apps/sidebar/tabs/settings.d.ts +85 -0
- package/src/foundry/client/apps/templates.d.ts +425 -0
- package/src/foundry/{foundry.js/audioHelper.d.ts → client/audio/audio.d.ts} +0 -0
- package/src/foundry/{foundry.js/audioContainer.d.ts → client/audio/container.d.ts} +0 -0
- package/src/foundry/client/audio/index.d.ts +3 -0
- package/src/foundry/{foundry.js → client/audio}/sound.d.ts +0 -0
- package/src/foundry/{foundry.js/avClient.d.ts → client/av/client.d.ts} +0 -0
- package/src/foundry/client/av/clients/index.d.ts +1 -0
- package/src/foundry/{foundry.js/avClients/simplePeerAVClient.d.ts → client/av/clients/simplepeer.d.ts} +14 -28
- package/src/foundry/client/av/index.d.ts +4 -0
- package/src/foundry/{foundry.js/avMaster.d.ts → client/av/master.d.ts} +0 -0
- package/src/foundry/{foundry.js/avSettings.d.ts → client/av/settings.d.ts} +0 -0
- package/src/foundry/{foundry.js → client}/config.d.ts +31 -180
- package/src/foundry/{foundry.js/gamepadManager.d.ts → client/core/gamepad.d.ts} +0 -0
- package/src/foundry/{foundry.js → client/core}/hooks.d.ts +4 -4
- package/src/foundry/{foundry.js/imageHelper.d.ts → client/core/image.d.ts} +0 -0
- package/src/foundry/client/core/index.d.ts +13 -0
- package/src/foundry/{foundry.js/clientKeybindings.d.ts → client/core/keybindings.d.ts} +1 -12
- package/src/foundry/{foundry.js/keyboardManager.d.ts → client/core/keyboard.d.ts} +0 -0
- package/src/foundry/{foundry.js/mouseManager.d.ts → client/core/mouse.d.ts} +0 -0
- package/src/foundry/{foundry.js/newUserExperience.d.ts → client/core/nue.d.ts} +0 -0
- package/src/foundry/{foundry.js/clientSettings.d.ts → client/core/settings.d.ts} +2 -2
- package/src/foundry/{foundry.js/socketInterface.d.ts → client/core/socket.d.ts} +0 -0
- package/src/foundry/{foundry.js/sortingHelpers.d.ts → client/core/sorting.d.ts} +0 -0
- package/src/foundry/{foundry.js/gameTime.d.ts → client/core/time.d.ts} +0 -0
- package/src/foundry/{foundry.js → client/core}/utils.d.ts +0 -0
- package/src/foundry/{foundry.js/videoHelper.d.ts → client/core/video.d.ts} +0 -0
- package/src/foundry/{foundry.js/canvasDocumentMixin.d.ts → client/data/abstract/canvas-document.d.ts} +3 -3
- package/src/foundry/{foundry.js/clientDatabaseBackend.d.ts → client/data/abstract/client-backend.d.ts} +13 -23
- package/src/foundry/{foundry.js/clientDocumentMixin.d.ts → client/data/abstract/client-document.d.ts} +2 -6
- package/src/foundry/{foundry.js/collections/documentCollection.d.ts → client/data/abstract/document-collection.d.ts} +2 -2
- package/src/foundry/client/data/abstract/index.d.ts +5 -0
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollection.d.ts → client/data/abstract/world-collection.d.ts} +4 -5
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/actors.d.ts +3 -5
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections/cardStacks.d.ts → client/data/collections/cards.d.ts} +1 -2
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections/combatEncounters.d.ts → client/data/collections/combats.d.ts} +3 -5
- package/src/foundry/{foundry.js/collections/documentCollections/compendiumCollection.d.ts → client/data/collections/compendium.d.ts} +2 -3
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections/fogExplorations.d.ts → client/data/collections/fog.d.ts} +0 -0
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections/folders.d.ts → client/data/collections/folder.d.ts} +3 -5
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/index.d.ts +7 -6
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/items.d.ts +1 -2
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/journal.d.ts +1 -2
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/macros.d.ts +4 -7
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/messages.d.ts +4 -9
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/playlists.d.ts +3 -4
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/scenes.d.ts +3 -5
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections/worldSettings.d.ts → client/data/collections/settings.d.ts} +2 -4
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections/rollTables.d.ts → client/data/collections/tables.d.ts} +2 -4
- package/src/foundry/{foundry.js/collections/documentCollections/worldCollections → client/data/collections}/users.d.ts +3 -5
- package/src/foundry/{foundry.js/clientDocuments/activeEffect.d.ts → client/data/documents/active-effect.d.ts} +7 -10
- package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/actor.d.ts +18 -21
- package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/ambientLightDocument.d.ts → client/data/documents/ambient-light.d.ts} +0 -0
- package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/ambientSoundDocument.d.ts → client/data/documents/ambient-sound.d.ts} +0 -0
- package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/card.d.ts +2 -3
- package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/cards.d.ts +17 -12
- package/src/foundry/{foundry.js/clientDocuments/chatMessage.d.ts → client/data/documents/chat-message.d.ts} +94 -57
- package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/combat.d.ts +16 -19
- package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/combatant.d.ts +5 -10
- package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/drawingDocument.d.ts → client/data/documents/drawing.d.ts} +0 -0
- package/src/foundry/{foundry.js/clientDocuments/fogExploration.d.ts → client/data/documents/fog-exploration.d.ts} +2 -2
- package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/folder.d.ts +4 -8
- package/src/foundry/client/data/documents/index.d.ts +27 -0
- package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/item.d.ts +5 -5
- package/src/foundry/{foundry.js/clientDocuments/journalEntry.d.ts → client/data/documents/journal-entry.d.ts} +3 -5
- package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/macro.d.ts +0 -0
- package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/measuredTemplateDocument.d.ts → client/data/documents/measured-template.d.ts} +0 -0
- package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/noteDocument.d.ts → client/data/documents/note.d.ts} +0 -0
- package/src/foundry/{foundry.js/clientDocuments/playlistSound.d.ts → client/data/documents/playlist-sound.d.ts} +10 -6
- package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/playlist.d.ts +11 -19
- package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/scene.d.ts +29 -41
- package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/setting.d.ts +2 -3
- package/src/foundry/{foundry.js/clientDocuments/tableResult.d.ts → client/data/documents/table-result.d.ts} +0 -0
- package/src/foundry/{foundry.js/clientDocuments/rollTable.d.ts → client/data/documents/table.d.ts} +5 -8
- package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/tileDocument.d.ts → client/data/documents/tile.d.ts} +2 -4
- package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/tokenDocument.d.ts → client/data/documents/token.d.ts} +29 -10
- package/src/foundry/{foundry.js/clientDocuments → client/data/documents}/user.d.ts +4 -6
- package/src/foundry/{foundry.js/clientDocuments/canvasDocuments/wallDocument.d.ts → client/data/documents/wall.d.ts} +0 -0
- package/src/foundry/client/data/index.d.ts +3 -0
- package/src/foundry/{foundry.js/rollTerms/diceTerms → client/dice/dice}/coin.d.ts +3 -12
- package/src/foundry/{foundry.js/rollTerms/diceTerms → client/dice/dice}/die.d.ts +3 -8
- package/src/foundry/{foundry.js/rollTerms/diceTerms/fateDie.d.ts → client/dice/dice/fate.d.ts} +3 -10
- package/src/foundry/client/dice/dice/index.d.ts +3 -0
- package/src/foundry/client/dice/index.d.ts +5 -0
- package/src/foundry/{foundry.js → client/dice}/roll.d.ts +9 -9
- package/src/foundry/{foundry.js/rollTerm.d.ts → client/dice/term.d.ts} +0 -0
- package/src/foundry/{foundry.js/rollTerms/diceTerm.d.ts → client/dice/terms/dice.d.ts} +1 -2
- package/src/foundry/client/dice/terms/index.d.ts +7 -0
- package/src/foundry/{foundry.js/rollTerms/mathTerm.d.ts → client/dice/terms/math.d.ts} +1 -2
- package/src/foundry/{foundry.js/rollTerms/numericTerm.d.ts → client/dice/terms/numeric.d.ts} +0 -0
- package/src/foundry/{foundry.js/rollTerms/operatorTerm.d.ts → client/dice/terms/operator.d.ts} +0 -0
- package/src/foundry/{foundry.js/rollTerms/parentheticalTerm.d.ts → client/dice/terms/parenthetical.d.ts} +1 -2
- package/src/foundry/{foundry.js/rollTerms/poolTerm.d.ts → client/dice/terms/pool.d.ts} +5 -1
- package/src/foundry/{foundry.js/rollTerms/stringTerm.d.ts → client/dice/terms/string.d.ts} +1 -2
- package/src/foundry/{foundry.js/mersenneTwister.d.ts → client/dice/twister.d.ts} +0 -0
- package/src/foundry/{foundry.js → client}/game.d.ts +8 -5
- package/src/foundry/client/head.d.ts +44 -0
- package/src/foundry/client/index.d.ts +12 -0
- package/src/foundry/{foundry.js/canvas.d.ts → client/pixi/board.d.ts} +21 -24
- package/src/foundry/{foundry.js/pixi/containers/cachedContainer.d.ts → client/pixi/core/containers/cached-container.d.ts} +0 -0
- package/src/foundry/client/pixi/core/containers/index.d.ts +3 -0
- package/src/foundry/{foundry.js → client/pixi/core/containers}/quadtree.d.ts +0 -0
- package/src/foundry/{foundry.js/pixi/meshes/samplerMesh.d.ts → client/pixi/core/containers/sampler-mesh.d.ts} +0 -0
- package/src/foundry/{foundry.js/screenCulling.d.ts → client/pixi/core/culling.d.ts} +18 -0
- package/src/foundry/client/pixi/core/index.d.ts +5 -0
- package/src/foundry/{foundry.js/canvasAnimation.d.ts → client/pixi/core/interaction/canvas-animation.d.ts} +0 -0
- package/src/foundry/{foundry.js/pixi/containers/controlIcon.d.ts → client/pixi/core/interaction/control-icon.d.ts} +3 -0
- package/src/foundry/client/pixi/core/interaction/index.d.ts +5 -0
- package/src/foundry/{foundry.js/mouseInteractionManager.d.ts → client/pixi/core/interaction/mouse-handler.d.ts} +0 -0
- package/src/foundry/{foundry.js/pixi/graphics/resizeHandle.d.ts → client/pixi/core/interaction/resize-handle.d.ts} +0 -0
- package/src/foundry/{foundry.js/userTargets.d.ts → client/pixi/core/interaction/targets.d.ts} +5 -8
- package/src/foundry/{foundry.js/textureLoader.d.ts → client/pixi/core/loader.d.ts} +26 -1
- package/src/foundry/client/pixi/core/shapes/index.d.ts +5 -0
- package/src/foundry/{foundry.js/pixi/rectangles/normalizedRectangle.d.ts → client/pixi/core/shapes/normalized-rectangle.d.ts} +0 -0
- package/src/foundry/client/pixi/core/shapes/polygon-helpers.d.ts +263 -0
- package/src/foundry/{foundry.js/pixi/texts/preciseText.d.ts → client/pixi/core/shapes/precise-text.d.ts} +0 -0
- package/src/foundry/{foundry.js → client/pixi/core/shapes}/ray.d.ts +36 -1
- package/src/foundry/{foundry.js/pixi/polygons/pointSourcePolygon.d.ts → client/pixi/core/shapes/source-polygon.d.ts} +10 -0
- package/src/foundry/{foundry.js/pixi/containers/effectsCanvasGroup.d.ts → client/pixi/groups/effects.d.ts} +0 -0
- package/src/foundry/client/pixi/groups/index.d.ts +3 -0
- package/src/foundry/{foundry.js/pixi/containers/interfaceCanvasGroup.d.ts → client/pixi/groups/interface.d.ts} +0 -0
- package/src/foundry/{foundry.js/pixi/containers/cachedContainers/primaryCanvasGroup.d.ts → client/pixi/groups/primary.d.ts} +2 -4
- package/src/foundry/client/pixi/index.d.ts +10 -0
- package/src/foundry/{foundry.js/pixi/containers/canvasLayer.d.ts → client/pixi/layer.d.ts} +2 -1
- package/src/foundry/{foundry.js/pixi/containers → client/pixi/layers/controls}/cursor.d.ts +2 -3
- package/src/foundry/{foundry.js/pixi/containers/doorControl.d.ts → client/pixi/layers/controls/door.d.ts} +1 -1
- package/src/foundry/client/pixi/layers/controls/hud.d.ts +117 -0
- package/src/foundry/client/pixi/layers/controls/index.d.ts +4 -0
- package/src/foundry/{foundry.js/pixi/containers → client/pixi/layers/controls}/ruler.d.ts +1 -1
- package/src/foundry/{foundry.js/pixi/containers/canvasLayers/controlsLayer.d.ts → client/pixi/layers/controls.d.ts} +50 -53
- package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/drawingsLayer.d.ts → client/pixi/layers/drawings.d.ts} +9 -18
- package/src/foundry/{foundry.js/specialEffect.d.ts → client/pixi/layers/effects/effect.d.ts} +0 -0
- package/src/foundry/client/pixi/layers/effects/index.d.ts +4 -0
- package/src/foundry/{foundry.js/specialEffects/autumnLeavesWeatherEffect.d.ts → client/pixi/layers/effects/leaves.d.ts} +0 -0
- package/src/foundry/{foundry.js/specialEffects/rainWeatherEffect.d.ts → client/pixi/layers/effects/rain.d.ts} +0 -0
- package/src/foundry/{foundry.js/specialEffects/snowWeatherEffect.d.ts → client/pixi/layers/effects/snow.d.ts} +0 -0
- package/src/foundry/{foundry.js/pixi/containers/canvasLayers/weatherLayer.d.ts → client/pixi/layers/effects.d.ts} +2 -4
- package/src/foundry/{foundry.js/pixi/containers/baseGrid.d.ts → client/pixi/layers/grid/grid.d.ts} +0 -0
- package/src/foundry/{foundry.js/pixi/containers/baseGrids/hexagonalGrid.d.ts → client/pixi/layers/grid/hex.d.ts} +8 -16
- package/src/foundry/{foundry.js/pixi/graphics/gridHighlight.d.ts → client/pixi/layers/grid/highlight.d.ts} +2 -4
- package/src/foundry/client/pixi/layers/grid/index.d.ts +4 -0
- package/src/foundry/{foundry.js/pixi/containers/baseGrids/squareGrid.d.ts → client/pixi/layers/grid/square.d.ts} +8 -16
- package/src/foundry/{foundry.js/pixi/containers/canvasLayers/gridLayer.d.ts → client/pixi/layers/grid.d.ts} +1 -2
- package/src/foundry/client/pixi/layers/index.d.ts +15 -0
- package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/lightingLayer.d.ts → client/pixi/layers/lighting.d.ts} +71 -38
- package/src/foundry/client/pixi/layers/map.d.ts +263 -0
- package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/notesLayer.d.ts → client/pixi/layers/notes.d.ts} +7 -11
- package/src/foundry/{foundry.js/pixi/containers/canvasLayers/sightLayer.d.ts → client/pixi/layers/sight.d.ts} +127 -112
- package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/soundsLayer.d.ts → client/pixi/layers/sounds.d.ts} +18 -16
- package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/templateLayer.d.ts → client/pixi/layers/templates.d.ts} +7 -16
- package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/tokenLayer.d.ts → client/pixi/layers/tokens.d.ts} +49 -38
- package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayers/wallsLayer.d.ts → client/pixi/layers/walls.d.ts} +63 -150
- package/src/foundry/{foundry.js/pixi/polygons/pointSourcePolygons/clockwiseSweepPolygon.d.ts → client/pixi/perception/clockwise-sweep.d.ts} +4 -8
- package/src/foundry/client/pixi/perception/index.d.ts +2 -0
- package/src/foundry/{foundry.js/perceptionManager.d.ts → client/pixi/perception/perception-manager.d.ts} +0 -0
- package/src/foundry/{foundry.js/pixi/containers/placeableObject.d.ts → client/pixi/placeable.d.ts} +4 -28
- package/src/foundry/{foundry.js/pixi/containers/placeableObjects → client/pixi/placeables}/drawing.d.ts +17 -32
- package/src/foundry/{foundry.js/pixi/containers/placeableObjects → client/pixi/placeables}/index.d.ts +3 -3
- package/src/foundry/{foundry.js/pixi/containers/placeableObjects/ambientLight.d.ts → client/pixi/placeables/light.d.ts} +16 -30
- package/src/foundry/{foundry.js/pixi/containers/placeableObjects → client/pixi/placeables}/note.d.ts +12 -22
- package/src/foundry/{foundry.js/pixi/containers/placeableObjects/ambientSound.d.ts → client/pixi/placeables/sound.d.ts} +15 -28
- package/src/foundry/client/pixi/placeables/template.d.ts +153 -0
- package/src/foundry/{foundry.js/pixi/containers/placeableObjects → client/pixi/placeables}/tile.d.ts +30 -32
- package/src/foundry/{foundry.js/pixi/containers/placeableObjects → client/pixi/placeables}/token.d.ts +283 -129
- package/src/foundry/client/pixi/placeables/wall.d.ts +268 -0
- package/src/foundry/{foundry.js/pixi/containers/canvasLayers/placeablesLayer.d.ts → client/pixi/placeables.d.ts} +58 -57
- package/src/foundry/{foundry.js/pointSource.d.ts → client/pixi/sources/base-source.d.ts} +0 -0
- package/src/foundry/client/pixi/sources/index.d.ts +4 -0
- package/src/foundry/{foundry.js/pointSources/lightSource.d.ts → client/pixi/sources/light-source.d.ts} +2 -6
- package/src/foundry/{foundry.js/pointSources/soundSource.d.ts → client/pixi/sources/sound-source.d.ts} +2 -3
- package/src/foundry/{foundry.js/pointSources/visionSource.d.ts → client/pixi/sources/vision-source.d.ts} +3 -5
- package/src/foundry/{foundry.js/pixi/shaders/abstractBaseShader.d.ts → client/pixi/webgl/base.d.ts} +0 -0
- package/src/foundry/{foundry.js/pixi/blendModes.d.ts → client/pixi/webgl/blend_modes.d.ts} +0 -0
- package/src/foundry/client/pixi/webgl/filters.d.ts +182 -0
- package/src/foundry/client/pixi/webgl/index.d.ts +5 -0
- package/src/foundry/client/pixi/webgl/lighting.d.ts +480 -0
- package/src/foundry/{foundry.js/pixi/shaders/abstractBaseShaders/baseSamplerShader.d.ts → client/pixi/webgl/sampler.d.ts} +3 -6
- package/src/foundry/client/tail.d.ts +3 -0
- package/src/foundry/{foundry.js/contextMenu.d.ts → client/ui/context.d.ts} +53 -44
- package/src/foundry/{foundry.js/applications → client/ui}/dialog.d.ts +4 -17
- package/src/foundry/{foundry.js/draggable.d.ts → client/ui/drag.d.ts} +0 -0
- package/src/foundry/{foundry.js/dragDrop.d.ts → client/ui/dragdrop.d.ts} +0 -0
- package/src/foundry/client/ui/editor.d.ts +321 -0
- package/src/foundry/{foundry.js/applications/filePicker.d.ts → client/ui/filepicker.d.ts} +75 -112
- package/src/foundry/{foundry.js/searchFilter.d.ts → client/ui/filter.d.ts} +0 -0
- package/src/foundry/{foundry.js/formDataExtended.d.ts → client/ui/forms.d.ts} +0 -0
- package/src/foundry/client/ui/index.d.ts +10 -0
- package/src/foundry/{foundry.js/applications → client/ui}/notifications.d.ts +3 -6
- package/src/foundry/{foundry.js → client/ui}/tabs.d.ts +0 -0
- package/src/foundry/common/data/data.mjs/activeEffectData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/actorData.d.ts +0 -3
- package/src/foundry/common/data/data.mjs/adventureData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/ambientLightData.d.ts +3 -6
- package/src/foundry/common/data/data.mjs/ambientSoundData.d.ts +3 -6
- package/src/foundry/common/data/data.mjs/animationData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/cardData.d.ts +0 -1
- package/src/foundry/common/data/data.mjs/cardFaceData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/cardsData.d.ts +0 -1
- package/src/foundry/common/data/data.mjs/chatMessageData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/chatSpeakerData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/combatData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/combatantData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/darknessActivation.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/drawingData.d.ts +3 -6
- package/src/foundry/common/data/data.mjs/effectChangeData.d.ts +3 -4
- package/src/foundry/common/data/data.mjs/effectDurationData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/fogExplorationData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/folderData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/index.d.ts +0 -1
- package/src/foundry/common/data/data.mjs/itemData.d.ts +0 -2
- package/src/foundry/common/data/data.mjs/journalEntryData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/lightData.d.ts +3 -6
- package/src/foundry/common/data/data.mjs/macroData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/measuredTemplateData.d.ts +3 -6
- package/src/foundry/common/data/data.mjs/noteData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/playlistData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/playlistSoundData.d.ts +2 -4
- package/src/foundry/common/data/data.mjs/prototypeTokenData.d.ts +2 -4
- package/src/foundry/common/data/data.mjs/rollTableData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/sceneData.d.ts +2 -4
- package/src/foundry/common/data/data.mjs/settingData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/tableResultData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/tileData.d.ts +2 -4
- package/src/foundry/common/data/data.mjs/tileOcclusion.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/tokenBarData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/tokenData.d.ts +3 -6
- package/src/foundry/common/data/data.mjs/userData.d.ts +1 -2
- package/src/foundry/common/data/data.mjs/videoData.d.ts +2 -4
- package/src/foundry/common/data/data.mjs/wallData.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseActiveEffect.d.ts +4 -8
- package/src/foundry/common/documents.mjs/baseActor.d.ts +4 -8
- package/src/foundry/common/documents.mjs/baseAdventure.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseAmbientLight.d.ts +3 -6
- package/src/foundry/common/documents.mjs/baseAmbientSound.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseCard.d.ts +3 -6
- package/src/foundry/common/documents.mjs/baseCards.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseChatMessage.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseCombat.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseCombatant.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseDrawing.d.ts +3 -6
- package/src/foundry/common/documents.mjs/baseFogExploration.d.ts +3 -6
- package/src/foundry/common/documents.mjs/baseFolder.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseItem.d.ts +4 -8
- package/src/foundry/common/documents.mjs/baseJournalEntry.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseMacro.d.ts +4 -8
- package/src/foundry/common/documents.mjs/baseMeasuredTemplate.d.ts +3 -6
- package/src/foundry/common/documents.mjs/baseNote.d.ts +3 -6
- package/src/foundry/common/documents.mjs/basePlaylist.d.ts +2 -4
- package/src/foundry/common/documents.mjs/basePlaylistSound.d.ts +3 -6
- package/src/foundry/common/documents.mjs/baseRollTable.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseScene.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseSetting.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseTableResult.d.ts +3 -6
- package/src/foundry/common/documents.mjs/baseTile.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseToken.d.ts +2 -4
- package/src/foundry/common/documents.mjs/baseUser.d.ts +3 -6
- package/src/foundry/common/documents.mjs/baseWall.d.ts +2 -4
- package/src/foundry/common/packages.mjs/moduleData.d.ts +1 -2
- package/src/foundry/common/packages.mjs/packageAuthorData.d.ts +1 -2
- package/src/foundry/common/packages.mjs/packageCompendiumData.d.ts +2 -4
- package/src/foundry/common/packages.mjs/packageData.d.ts +2 -4
- package/src/foundry/common/packages.mjs/packageDependencyData.d.ts +7 -6
- package/src/foundry/common/packages.mjs/packageLanguageData.d.ts +2 -4
- package/src/foundry/common/packages.mjs/systemData.d.ts +1 -2
- package/src/foundry/common/packages.mjs/worldData.d.ts +1 -2
- package/src/foundry/common/types.mjs.d.ts +2 -5
- package/src/foundry/common/utils/helpers.mjs.d.ts +1 -0
- package/src/foundry/index.d.ts +2 -75
- package/src/foundry/templates/index.d.ts +1 -0
- package/src/foundry/templates/views/layouts/main.hbs.d.ts +11 -0
- package/src/types/augments/index.d.ts +2 -0
- package/src/types/augments/pixiGraphicsSmooth.d.ts +7 -0
- package/src/types/augments/pixiLegacyGraphics.d.ts +7 -0
- package/src/types/config.d.ts +183 -0
- package/src/types/index.d.ts +1 -0
- package/src/types/utils.d.ts +5 -0
- package/src/foundry/foundry.js/applications/basePlaceableHUDs/index.d.ts +0 -3
- package/src/foundry/foundry.js/applications/cameraViews.d.ts +0 -177
- package/src/foundry/foundry.js/applications/controlsReference.d.ts +0 -16
- package/src/foundry/foundry.js/applications/formApplication.d.ts +0 -336
- package/src/foundry/foundry.js/applications/formApplications/avConfig.d.ts +0 -85
- package/src/foundry/foundry.js/applications/formApplications/combatTrackerConfig.d.ts +0 -39
- package/src/foundry/foundry.js/applications/formApplications/defaultTokenConfig.d.ts +0 -66
- package/src/foundry/foundry.js/applications/formApplications/documentSheet.d.ts +0 -115
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/folderConfig.d.ts +0 -70
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/index.d.ts +0 -19
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/lightConfig.d.ts +0 -10
- package/src/foundry/foundry.js/applications/formApplications/imagePopout.d.ts +0 -132
- package/src/foundry/foundry.js/applications/formApplications/index.d.ts +0 -16
- package/src/foundry/foundry.js/applications/frameViewer.d.ts +0 -28
- package/src/foundry/foundry.js/applications/index.d.ts +0 -23
- package/src/foundry/foundry.js/applications/invitationLinks.d.ts +0 -25
- package/src/foundry/foundry.js/applications/sidebarTabs/index.d.ts +0 -6
- package/src/foundry/foundry.js/applications/sidebarTabs/settings.d.ts +0 -59
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/actorDirectory.d.ts +0 -24
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/index.d.ts +0 -8
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/itemDirectory.d.ts +0 -13
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/journalDirectory.d.ts +0 -27
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/sceneDirectory.d.ts +0 -13
- package/src/foundry/foundry.js/avClients/index.d.ts +0 -1
- package/src/foundry/foundry.js/cameraPopoutAppWrapper.d.ts +0 -45
- package/src/foundry/foundry.js/clientDocuments/canvasDocuments/index.d.ts +0 -8
- package/src/foundry/foundry.js/clientDocuments/index.d.ts +0 -21
- package/src/foundry/foundry.js/clientDocuments/prototypeToken.d.ts +0 -25
- package/src/foundry/foundry.js/collections/documentCollections/index.d.ts +0 -3
- package/src/foundry/foundry.js/collections/index.d.ts +0 -2
- package/src/foundry/foundry.js/collisionResult.d.ts +0 -60
- package/src/foundry/foundry.js/globalVariables.d.ts +0 -103
- package/src/foundry/foundry.js/handlebarsHelpers.d.ts +0 -392
- package/src/foundry/foundry.js/pixi/containers/baseGrids/index.d.ts +0 -2
- package/src/foundry/foundry.js/pixi/containers/cachedContainers/index.d.ts +0 -1
- package/src/foundry/foundry.js/pixi/containers/canvasLayers/index.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayers/index.d.ts +0 -10
- package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayers/mapLayer.d.ts +0 -139
- package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayers/mapLayers/backgroundLayer.d.ts +0 -43
- package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayers/mapLayers/foregroundLayer.d.ts +0 -71
- package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayers/mapLayers/index.d.ts +0 -2
- package/src/foundry/foundry.js/pixi/containers/index.d.ts +0 -14
- package/src/foundry/foundry.js/pixi/containers/placeableObjects/measuredTemplate.d.ts +0 -127
- package/src/foundry/foundry.js/pixi/containers/placeableObjects/wall.d.ts +0 -199
- package/src/foundry/foundry.js/pixi/filters/abstractBaseMaskFilter.d.ts +0 -40
- package/src/foundry/foundry.js/pixi/filters/abstractBaseMaskFilters/index.d.ts +0 -1
- package/src/foundry/foundry.js/pixi/filters/abstractBaseMaskFilters/inverseOcclusionMaskFilter.d.ts +0 -18
- package/src/foundry/foundry.js/pixi/filters/index.d.ts +0 -2
- package/src/foundry/foundry.js/pixi/graphics/index.d.ts +0 -2
- package/src/foundry/foundry.js/pixi/index.d.ts +0 -11
- package/src/foundry/foundry.js/pixi/meshes/index.d.ts +0 -1
- package/src/foundry/foundry.js/pixi/points/index.d.ts +0 -1
- package/src/foundry/foundry.js/pixi/points/wallEndpoint.d.ts +0 -92
- package/src/foundry/foundry.js/pixi/polygons/index.d.ts +0 -2
- package/src/foundry/foundry.js/pixi/polygons/pointSourcePolygons/index.d.ts +0 -1
- package/src/foundry/foundry.js/pixi/rectangles/index.d.ts +0 -1
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShader.d.ts +0 -114
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveBackgroundShader.d.ts +0 -57
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShader.d.ts +0 -47
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/bewitchingWaveColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/chromaColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/emanationColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/energyFieldColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/fairyLightColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/fogColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/ghostLightColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/hexaDomeColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/index.d.ts +0 -16
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/lightDomeColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/pulseColorationShader.d.ts +0 -17
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/radialRainbowColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/sunburstColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/swirlingRainbowColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/torchColorationShader.d.ts +0 -18
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/vortexColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveColorationShaders/waveColorationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShader.d.ts +0 -63
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/bewitchingWaveIlluminationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/blackHoleIlluminationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/fairyLightIlluminationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/ghostLightIlluminationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/index.d.ts +0 -10
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/pulseIlluminationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/roilingIlluminationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/sunburstIlluminationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/torchIlluminationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/vortexIlluminationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/adaptiveIlluminationShaders/waveIlluminationShader.d.ts +0 -6
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/adaptiveLightingShaders/index.d.ts +0 -5
- package/src/foundry/foundry.js/pixi/shaders/abstractBaseShaders/index.d.ts +0 -3
- package/src/foundry/foundry.js/pixi/shaders/index.d.ts +0 -2
- package/src/foundry/foundry.js/pixi/texts/index.d.ts +0 -1
- package/src/foundry/foundry.js/pixi/transforms/index.d.ts +0 -1
- package/src/foundry/foundry.js/pixi/transforms/synchronizedTransform.d.ts +0 -38
- package/src/foundry/foundry.js/pointSources/index.d.ts +0 -3
- package/src/foundry/foundry.js/polygonEdge.d.ts +0 -26
- package/src/foundry/foundry.js/polygonVertex.d.ts +0 -89
- package/src/foundry/foundry.js/quadtreeCulling.d.ts +0 -11
- package/src/foundry/foundry.js/rays/index.d.ts +0 -1
- package/src/foundry/foundry.js/rays/sightRay.d.ts +0 -34
- package/src/foundry/foundry.js/specialEffects/index.d.ts +0 -3
- package/src/foundry/foundry.js/templateUtils.d.ts +0 -39
- package/src/foundry/foundry.js/textEditor.d.ts +0 -286
- package/src/foundry/foundry.js/textureUtils.d.ts +0 -25
@@ -0,0 +1,268 @@
|
|
1
|
+
import type {
|
2
|
+
ConfiguredDocumentClass,
|
3
|
+
ConfiguredDocumentClassForName,
|
4
|
+
ConfiguredObjectClassForName
|
5
|
+
} from '../../../../types/helperTypes';
|
6
|
+
import type { DocumentModificationOptions } from '../../../common/abstract/document.mjs';
|
7
|
+
import type { LineIntersection } from '../../../common/utils/geometry.mjs';
|
8
|
+
import type { HoverInOptions } from '../placeable';
|
9
|
+
|
10
|
+
declare global {
|
11
|
+
/**
|
12
|
+
* A Wall is an implementation of PlaceableObject which represents a physical or visual barrier within the Scene.
|
13
|
+
* Walls are used to restrict Token movement or visibility as well as to define the areas of effect for ambient lights
|
14
|
+
* and sounds.
|
15
|
+
*
|
16
|
+
* @see {@link WallDocument}
|
17
|
+
* @see {@link WallsLayer}
|
18
|
+
* @see {@link WallConfig}
|
19
|
+
*/
|
20
|
+
class Wall extends PlaceableObject<ConcreteWallDocument> {
|
21
|
+
/**
|
22
|
+
* @remarks Not used for `Wall`
|
23
|
+
*/
|
24
|
+
controlIcon: null;
|
25
|
+
|
26
|
+
/**
|
27
|
+
* An reference the Door Control icon associated with this Wall, if any
|
28
|
+
* @internal
|
29
|
+
* @defaultValue `undefined`
|
30
|
+
*/
|
31
|
+
doorControl: DoorControl | undefined | null;
|
32
|
+
|
33
|
+
/**
|
34
|
+
* A reference to an overhead Tile that is a roof, interior to which this wall is contained
|
35
|
+
* @defaultValue `undefined`
|
36
|
+
*/
|
37
|
+
roof: InstanceType<ConfiguredObjectClassForName<'Tile'>> | undefined;
|
38
|
+
|
39
|
+
/**
|
40
|
+
* A set which tracks other Wall instances that this Wall intersects with (excluding shared endpoints)
|
41
|
+
*/
|
42
|
+
intersectsWith: Map<InstanceType<ConfiguredObjectClassForName<'Wall'>>, LineIntersection>;
|
43
|
+
|
44
|
+
/**
|
45
|
+
* Cached representation of this wall's endpoints as {@link PolygonVertex}es.
|
46
|
+
* @defaultValue `null`
|
47
|
+
* @internal
|
48
|
+
*/
|
49
|
+
protected _vertices: { a: PolygonVertex; b: PolygonVertex } | null;
|
50
|
+
|
51
|
+
/**
|
52
|
+
* Cached representation of the set of this wall's vertices.
|
53
|
+
* @defaultValue `null`
|
54
|
+
* @internal
|
55
|
+
*/
|
56
|
+
protected _wallKeys: Set<string> | null;
|
57
|
+
|
58
|
+
static override embeddedName: 'Wall';
|
59
|
+
|
60
|
+
/**
|
61
|
+
* A convenience reference to the coordinates Array for the Wall endpoints, [x0,y0,x1,y1].
|
62
|
+
*/
|
63
|
+
get coords(): Wall['data']['c'];
|
64
|
+
|
65
|
+
/**
|
66
|
+
* The initial endpoint of the Wall
|
67
|
+
*/
|
68
|
+
get A(): Point;
|
69
|
+
|
70
|
+
/**
|
71
|
+
* The second endpoint of the Wall
|
72
|
+
*/
|
73
|
+
get B(): Point;
|
74
|
+
|
75
|
+
/**
|
76
|
+
* The endpoints of the wall as {@link PolygonVertex}es.
|
77
|
+
*/
|
78
|
+
get vertices(): { a: PolygonVertex; b: PolygonVertex };
|
79
|
+
|
80
|
+
/**
|
81
|
+
* The set of keys for this wall's endpoints.
|
82
|
+
*/
|
83
|
+
get wallKeys(): Set<string>;
|
84
|
+
|
85
|
+
override get bounds(): NormalizedRectangle;
|
86
|
+
|
87
|
+
/**
|
88
|
+
* A boolean for whether this wall contains a door
|
89
|
+
*/
|
90
|
+
get isDoor(): boolean;
|
91
|
+
|
92
|
+
/**
|
93
|
+
* A boolean for whether the wall contains an open door
|
94
|
+
*/
|
95
|
+
get isOpen(): boolean;
|
96
|
+
|
97
|
+
/**
|
98
|
+
* Is this Wall interior to a non-occluded roof Tile?
|
99
|
+
*/
|
100
|
+
get hasActiveRoof(): boolean;
|
101
|
+
|
102
|
+
/**
|
103
|
+
* Return the coordinates [x,y] at the midpoint of the wall segment
|
104
|
+
*/
|
105
|
+
get midpoint(): PointArray;
|
106
|
+
|
107
|
+
override get center(): PIXI.Point;
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Get the direction of effect for a directional Wall
|
111
|
+
* @returns The angle of wall effect
|
112
|
+
*/
|
113
|
+
get direction(): number | null;
|
114
|
+
|
115
|
+
/**
|
116
|
+
* This helper converts the wall segment to a Ray
|
117
|
+
* @returns The wall in Ray representation
|
118
|
+
*/
|
119
|
+
toRay(): Ray;
|
120
|
+
|
121
|
+
override draw(): Promise<this>;
|
122
|
+
|
123
|
+
/**
|
124
|
+
* Draw a control icon that is used to manipulate the door's open/closed state
|
125
|
+
*/
|
126
|
+
createDoorControl(): DoorControl;
|
127
|
+
|
128
|
+
/**
|
129
|
+
* Determine the orientation of this wall with respect to a reference point
|
130
|
+
* @param point - Some reference point, relative to which orientation is determined
|
131
|
+
* @returns An orientation in CONST.WALL_DIRECTIONS which indicates whether the Point is left,
|
132
|
+
* right, or collinear (both) with the Wall
|
133
|
+
*/
|
134
|
+
orientPoint(point: Point): number;
|
135
|
+
|
136
|
+
protected override _createInteractionManager(): NonNullable<this['mouseInteractionManager']>;
|
137
|
+
|
138
|
+
override activateListeners(): void;
|
139
|
+
|
140
|
+
/**
|
141
|
+
* Draw a directional prompt icon for one-way walls to illustrate their direction of effect.
|
142
|
+
* @returns The drawn icon
|
143
|
+
* @internal
|
144
|
+
*/
|
145
|
+
protected _drawDirection(): PIXI.Sprite | null;
|
146
|
+
|
147
|
+
override refresh(): this;
|
148
|
+
|
149
|
+
/**
|
150
|
+
* Compute an approximate Polygon which encloses the line segment providing a specific hitArea for the line
|
151
|
+
* @param coords - The original wall coordinates
|
152
|
+
* @param pad - The amount of padding to apply
|
153
|
+
* @returns A constructed Polygon for the line
|
154
|
+
* @internal
|
155
|
+
*/
|
156
|
+
protected _getWallHitPolygon(coords: [number, number, number, number], pad: number): PIXI.Polygon;
|
157
|
+
|
158
|
+
/**
|
159
|
+
* Given the properties of the wall - decide upon a color to render the wall for display on the WallsLayer
|
160
|
+
* @internal
|
161
|
+
*/
|
162
|
+
protected _getWallColor(): number;
|
163
|
+
|
164
|
+
/**
|
165
|
+
* @param chain - (default: `false`)
|
166
|
+
*/
|
167
|
+
protected override _onControl({ chain }?: PlaceableObject.ControlOptions & { chain?: boolean }): void;
|
168
|
+
|
169
|
+
protected override _onRelease(options?: PlaceableObject.ReleaseOptions): void;
|
170
|
+
|
171
|
+
override destroy(options?: Parameters<PlaceableObject['destroy']>[0]): void;
|
172
|
+
|
173
|
+
/**
|
174
|
+
* Test whether the Wall direction lies between two provided angles
|
175
|
+
* This test is used for collision and vision checks against one-directional walls
|
176
|
+
* @param lower - The lower-bound limiting angle in radians
|
177
|
+
* @param upper - The upper-bound limiting angle in radians
|
178
|
+
*/
|
179
|
+
isDirectionBetweenAngles(lower: number, upper: number): boolean;
|
180
|
+
|
181
|
+
/**
|
182
|
+
* A simple test for whether a Ray can intersect a directional wall
|
183
|
+
* @param ray - The ray to test
|
184
|
+
* @returns Can an intersection occur?
|
185
|
+
*/
|
186
|
+
canRayIntersect(ray: Ray): boolean;
|
187
|
+
|
188
|
+
/**
|
189
|
+
* Get an Array of Wall objects which are linked by a common coordinate
|
190
|
+
* @returns An object reporting ids and endpoints of the linked segments
|
191
|
+
*/
|
192
|
+
getLinkedSegments(): {
|
193
|
+
ids: string[];
|
194
|
+
walls: WallsLayer['placeables'];
|
195
|
+
endpoints: Array<[x: number, y: number]>;
|
196
|
+
};
|
197
|
+
|
198
|
+
/**
|
199
|
+
* Determine whether this wall is beneath a roof tile, and is considered "interior", or not.
|
200
|
+
*/
|
201
|
+
identifyInteriorState(): void;
|
202
|
+
|
203
|
+
/**
|
204
|
+
* Update any intersections with this wall.
|
205
|
+
*/
|
206
|
+
updateIntersections(): void;
|
207
|
+
|
208
|
+
/**
|
209
|
+
* Record the intersection points between this wall and another, if any.
|
210
|
+
* @param other - The other wall.
|
211
|
+
*/
|
212
|
+
protected _identifyIntersectionsWith(other: InstanceType<ConfiguredDocumentClassForName<'Wall'>>): void;
|
213
|
+
|
214
|
+
/**
|
215
|
+
* Remove this wall's intersections.
|
216
|
+
* @internal
|
217
|
+
*/
|
218
|
+
protected _removeIntersections(): void;
|
219
|
+
|
220
|
+
protected override _onCreate(
|
221
|
+
data: foundry.data.WallData['_source'],
|
222
|
+
options: DocumentModificationOptions,
|
223
|
+
userId: string
|
224
|
+
): void;
|
225
|
+
|
226
|
+
protected override _onUpdate(
|
227
|
+
changed: DeepPartial<foundry.data.WallData['_source']>,
|
228
|
+
options?: DocumentModificationOptions,
|
229
|
+
userId?: string
|
230
|
+
): void;
|
231
|
+
|
232
|
+
protected override _onDelete(options: DocumentModificationOptions, userId: string): void;
|
233
|
+
|
234
|
+
/**
|
235
|
+
* Callback actions when a wall that contains a door is moved or its state is changed
|
236
|
+
* @param doorChange - Update vision and sound restrictions
|
237
|
+
* (default: `false`)
|
238
|
+
* @internal
|
239
|
+
*/
|
240
|
+
protected _onModifyWall(doorChange?: boolean): Promise<void>;
|
241
|
+
|
242
|
+
protected override _canControl(user: InstanceType<ConfiguredDocumentClass<typeof User>>, event?: any): boolean;
|
243
|
+
|
244
|
+
protected override _onHoverIn(event: PIXI.InteractionEvent, options?: HoverInOptions): false | void;
|
245
|
+
|
246
|
+
protected override _onHoverOut(event: PIXI.InteractionEvent): false | void;
|
247
|
+
|
248
|
+
/**
|
249
|
+
* Handle mouse-hover events on the line segment itself, pulling the Wall to the front of the container stack
|
250
|
+
* @internal
|
251
|
+
*/
|
252
|
+
protected _onMouseOverLine(event: PIXI.InteractionEvent): void;
|
253
|
+
|
254
|
+
protected override _onClickLeft(event: PIXI.InteractionEvent): boolean;
|
255
|
+
|
256
|
+
protected override _onClickLeft2(event: PIXI.InteractionEvent): void;
|
257
|
+
|
258
|
+
protected override _onClickRight2(event: PIXI.InteractionEvent): void;
|
259
|
+
|
260
|
+
protected override _onDragLeftStart(event: PIXI.InteractionEvent): void;
|
261
|
+
|
262
|
+
protected override _onDragLeftMove(event: PIXI.InteractionEvent): void;
|
263
|
+
|
264
|
+
protected override _onDragLeftDrop(event: PIXI.InteractionEvent): Promise<any>;
|
265
|
+
}
|
266
|
+
}
|
267
|
+
|
268
|
+
type ConcreteWallDocument = InstanceType<ConfiguredDocumentClass<typeof WallDocument>>;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import {
|
2
2
|
DataSourceForPlaceable,
|
3
|
-
ConfiguredDocumentClass,
|
4
3
|
ConfiguredObjectClassForName,
|
5
4
|
ConfiguredDocumentClassForName,
|
6
|
-
PlaceableDocumentType
|
7
|
-
|
8
|
-
|
5
|
+
PlaceableDocumentType,
|
6
|
+
ConstructorDataType
|
7
|
+
} from '../../../types/helperTypes';
|
8
|
+
import EmbeddedCollection from '../../common/abstract/embedded-collection.mjs';
|
9
9
|
|
10
10
|
type ConcretePlaceableOrPlaceableObject<T> = T extends PlaceableObject ? T : PlaceableObject;
|
11
11
|
|
@@ -69,8 +69,7 @@ declare global {
|
|
69
69
|
ConcretePlaceableOrPlaceableObject<InstanceType<ConfiguredObjectClassForName<DocumentName>>>
|
70
70
|
> | null;
|
71
71
|
|
72
|
-
|
73
|
-
static get layerOptions(): PlaceablesLayer.LayerOptions<any>;
|
72
|
+
static override get layerOptions(): PlaceablesLayer.LayerOptions<any>;
|
74
73
|
|
75
74
|
/**
|
76
75
|
* A reference to the named Document type which is contained within this Canvas Layer.
|
@@ -78,6 +77,16 @@ declare global {
|
|
78
77
|
*/
|
79
78
|
static documentName: PlaceableDocumentType;
|
80
79
|
|
80
|
+
/**
|
81
|
+
* Creation states affected to placeables during their construction.
|
82
|
+
*/
|
83
|
+
static CREATION_STATES: Readonly<{
|
84
|
+
NONE: 0;
|
85
|
+
POTENTIAL: 1;
|
86
|
+
CONFIRMED: 2;
|
87
|
+
COMPLETED: 3;
|
88
|
+
}>;
|
89
|
+
|
81
90
|
/**
|
82
91
|
* Obtain a reference to the Collection of embedded Document instances within the currently viewed Scene
|
83
92
|
*/
|
@@ -120,26 +129,27 @@ declare global {
|
|
120
129
|
| InstanceType<ConfiguredDocumentClassForName<DocumentName>>[];
|
121
130
|
|
122
131
|
/**
|
123
|
-
* @override
|
124
132
|
* @remarks It returns Promise<this> but is overridden by a subclass in this way.
|
125
133
|
*/
|
126
|
-
draw(): Promise<this | undefined>;
|
134
|
+
override draw(): Promise<this | undefined>;
|
127
135
|
|
128
136
|
/**
|
129
137
|
* Draw a single placeable object
|
130
138
|
*/
|
131
139
|
createObject(
|
132
140
|
data: InstanceType<ConfiguredDocumentClassForName<DocumentName>>
|
133
|
-
): InstanceType<ConfiguredObjectClassForName<DocumentName
|
141
|
+
): InstanceType<ConfiguredObjectClassForName<DocumentName>> | null;
|
142
|
+
|
143
|
+
override tearDown(): Promise<this>;
|
134
144
|
|
135
|
-
|
136
|
-
tearDown(): Promise<this>;
|
145
|
+
override activate(): this;
|
137
146
|
|
138
|
-
|
139
|
-
activate(): this;
|
147
|
+
override deactivate(): this;
|
140
148
|
|
141
|
-
/**
|
142
|
-
|
149
|
+
/**
|
150
|
+
* Clear the contents of the preview container, restoring visibility of original (non-preview) objects.
|
151
|
+
*/
|
152
|
+
clearPreviewContainer(): void;
|
143
153
|
|
144
154
|
/**
|
145
155
|
* Get a PlaceableObject contained in this layer by it's ID
|
@@ -246,7 +256,7 @@ declare global {
|
|
246
256
|
* @param transformation - An object of data or function to apply to all matched objects
|
247
257
|
* @param condition - A function which tests whether to target each object
|
248
258
|
* (default: `null`)
|
249
|
-
* @param options - Additional options passed to
|
259
|
+
* @param options - Additional options passed to Document.update
|
250
260
|
* (default: `{}`)
|
251
261
|
* @returns An array of updated data once the operation is complete
|
252
262
|
*/
|
@@ -268,16 +278,43 @@ declare global {
|
|
268
278
|
options?: DocumentModificationContext
|
269
279
|
): Promise<Array<InstanceType<ConfiguredDocumentClassForName<DocumentName>>>>;
|
270
280
|
|
281
|
+
/**
|
282
|
+
* Get the world-transformed drop position.
|
283
|
+
* @returns Returns the transformed x, y co-ordinates, or false if the drag event was outside the canvas.
|
284
|
+
*/
|
285
|
+
protected _canvasCoordinatesFromDrop(
|
286
|
+
event: DragEvent,
|
287
|
+
{
|
288
|
+
center
|
289
|
+
}?:
|
290
|
+
| {
|
291
|
+
/**
|
292
|
+
* Return the co-ordinates of the center of the nearest grid element.
|
293
|
+
* @defaultValue `true`
|
294
|
+
*/
|
295
|
+
center?: boolean | undefined;
|
296
|
+
}
|
297
|
+
| undefined
|
298
|
+
): [tx: number, ty: number] | false;
|
299
|
+
|
300
|
+
/**
|
301
|
+
* Create a preview of this layer's object type from a world document and show its sheet so it can be finalized.
|
302
|
+
* @param createData - The data to create the object with.
|
303
|
+
* @param position - The position to render the sheet at.
|
304
|
+
*/
|
305
|
+
protected _createPreview(
|
306
|
+
createData: ConstructorDataType<InstanceType<ConfiguredDocumentClassForName<DocumentName>>['data']>,
|
307
|
+
{ top, left }: { top: number; left: number }
|
308
|
+
): Promise<void>;
|
309
|
+
|
271
310
|
/**
|
272
311
|
* Handle left mouse-click events which originate from the Canvas stage and are dispatched to this Layer.
|
273
|
-
* @param event - (unused)
|
274
312
|
* @see {@link Canvas#_onClickLeft}
|
275
313
|
*/
|
276
314
|
protected _onClickLeft(event: PIXI.InteractionEvent): void;
|
277
315
|
|
278
316
|
/**
|
279
317
|
* Handle double left-click events which originate from the Canvas stage and are dispatched to this Layer.
|
280
|
-
* @param event - (unused)
|
281
318
|
* @see {@link Canvas#_onClickLeft2}
|
282
319
|
*/
|
283
320
|
protected _onClickLeft2(event: PIXI.InteractionEvent): void;
|
@@ -302,14 +339,12 @@ declare global {
|
|
302
339
|
|
303
340
|
/**
|
304
341
|
* Cancel a left-click drag workflow originating from the Canvas stage.
|
305
|
-
* @param event - (unused)
|
306
342
|
* @see {@link Canvas#_onDragLeftDrop}
|
307
343
|
*/
|
308
344
|
protected _onDragLeftCancel(event: PointerEvent): void;
|
309
345
|
|
310
346
|
/**
|
311
347
|
* Handle right mouse-click events which originate from the Canvas stage and are dispatched to this Layer.
|
312
|
-
* @param event - (unused)
|
313
348
|
* @see {@link Canvas#_onClickRight}
|
314
349
|
*/
|
315
350
|
protected _onClickRight(event: PIXI.InteractionEvent): void;
|
@@ -324,38 +359,8 @@ declare global {
|
|
324
359
|
/**
|
325
360
|
* Handle a DELETE keypress while a placeable object is hovered
|
326
361
|
* @param event - The delete key press event which triggered the request
|
327
|
-
* (unused)
|
328
362
|
*/
|
329
363
|
protected _onDeleteKey(event?: any): void;
|
330
|
-
|
331
|
-
/**
|
332
|
-
* @deprecated since 0.8.0
|
333
|
-
*/
|
334
|
-
static get dataArray(): string;
|
335
|
-
|
336
|
-
/**
|
337
|
-
* @deprecated since 0.8.0
|
338
|
-
*/
|
339
|
-
createMany(
|
340
|
-
data: Parameters<InstanceType<ConfiguredDocumentClass<typeof Scene>>['createEmbeddedDocuments']>[1],
|
341
|
-
options: Parameters<InstanceType<ConfiguredDocumentClass<typeof Scene>>['createEmbeddedDocuments']>[2]
|
342
|
-
): ReturnType<InstanceType<ConfiguredDocumentClass<typeof Scene>>['createEmbeddedDocuments']>;
|
343
|
-
|
344
|
-
/**
|
345
|
-
* @deprecated since 0.8.0
|
346
|
-
*/
|
347
|
-
updateMany(
|
348
|
-
data: Parameters<InstanceType<ConfiguredDocumentClass<typeof Scene>>['updateEmbeddedDocuments']>[1],
|
349
|
-
options: Parameters<InstanceType<ConfiguredDocumentClass<typeof Scene>>['updateEmbeddedDocuments']>[2]
|
350
|
-
): ReturnType<InstanceType<ConfiguredDocumentClass<typeof Scene>>['updateEmbeddedDocuments']>;
|
351
|
-
|
352
|
-
/**
|
353
|
-
* @deprecated since 0.8.0
|
354
|
-
*/
|
355
|
-
deleteMany(
|
356
|
-
data: Parameters<InstanceType<ConfiguredDocumentClass<typeof Scene>>['deleteEmbeddedDocuments']>[1],
|
357
|
-
options: Parameters<InstanceType<ConfiguredDocumentClass<typeof Scene>>['deleteEmbeddedDocuments']>[2]
|
358
|
-
): ReturnType<InstanceType<ConfiguredDocumentClass<typeof Scene>>['deleteEmbeddedDocuments']>;
|
359
364
|
}
|
360
365
|
|
361
366
|
interface CanvasHistory<Placeable extends PlaceableObject> {
|
@@ -373,6 +378,8 @@ declare global {
|
|
373
378
|
namespace PlaceablesLayer {
|
374
379
|
type HistoryEventType = 'create' | 'update' | 'delete';
|
375
380
|
|
381
|
+
type CreationState = ValueOf<typeof PlaceablesLayer['CREATION_STATES']>;
|
382
|
+
|
376
383
|
/**
|
377
384
|
* @typeParam DocumentName - The key of the configuration which defines the object and document class.
|
378
385
|
*/
|
@@ -409,15 +416,9 @@ declare global {
|
|
409
416
|
|
410
417
|
/**
|
411
418
|
* Does this layer use a quadtree to track object positions?
|
412
|
-
* @defaultValue `
|
419
|
+
* @defaultValue `true`
|
413
420
|
*/
|
414
421
|
quadtree: boolean;
|
415
|
-
|
416
|
-
/**
|
417
|
-
* The FormApplication class used to configure objects on this layer.
|
418
|
-
* @defaultValue `CONFIG[this.documentName].sheetClass`
|
419
|
-
*/
|
420
|
-
sheetClass: ConstructorOf<FormApplication>;
|
421
422
|
}
|
422
423
|
}
|
423
424
|
}
|
File without changes
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ConfiguredObjectClassForName } from '
|
1
|
+
import type { ConfiguredObjectClassForName } from '../../../../types/helperTypes';
|
2
2
|
|
3
3
|
declare global {
|
4
4
|
/** @see {@link foundry.data.LightData} */
|
@@ -160,8 +160,7 @@ declare global {
|
|
160
160
|
*/
|
161
161
|
coloration: PIXI.Mesh;
|
162
162
|
|
163
|
-
|
164
|
-
static sourceType: 'light';
|
163
|
+
static override sourceType: 'light';
|
165
164
|
|
166
165
|
/**
|
167
166
|
* Strength of the blur for light source edges
|
@@ -347,7 +346,6 @@ declare global {
|
|
347
346
|
/**
|
348
347
|
* A torch animation where the luminosity and coloration decays each frame and is revitalized by flashes
|
349
348
|
* @param dt - Delta time
|
350
|
-
* (unused)
|
351
349
|
* @param speed - The animation speed, from 1 to 10
|
352
350
|
* (default: `5`)
|
353
351
|
* @param intensity - The animation intensity, from 1 to 10
|
@@ -358,7 +356,6 @@ declare global {
|
|
358
356
|
/**
|
359
357
|
* A basic "pulse" animation which expands and contracts.
|
360
358
|
* @param dt - Delta time
|
361
|
-
* (unused)
|
362
359
|
* @param speed - The animation speed, from 1 to 10
|
363
360
|
* (default: `5`)
|
364
361
|
* @param intensity - The animation intensity, from 1 to 10
|
@@ -374,7 +371,6 @@ declare global {
|
|
374
371
|
/**
|
375
372
|
* Emanate waves of light from the source origin point
|
376
373
|
* @param dt - Delta time
|
377
|
-
* (unused)
|
378
374
|
* @param speed - The animation speed, from 1 to 10
|
379
375
|
* (default: `5`)
|
380
376
|
* @param intensity - The animation intensity, from 1 to 10
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ConfiguredObjectClassForName } from '
|
1
|
+
import type { ConfiguredObjectClassForName } from '../../../../types/helperTypes';
|
2
2
|
|
3
3
|
declare global {
|
4
4
|
interface SoundSourceData extends PointSource.Data {
|
@@ -19,8 +19,7 @@ declare global {
|
|
19
19
|
/** @param object - The AmbientSound object that generates this sound source */
|
20
20
|
constructor(object: InstanceType<ConfiguredObjectClassForName<'AmbientSound'>>);
|
21
21
|
|
22
|
-
|
23
|
-
static sourceType: 'sound';
|
22
|
+
static override sourceType: 'sound';
|
24
23
|
|
25
24
|
/**
|
26
25
|
* The object of data which configures how the source is rendered
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ConfiguredObjectClassForName } from '
|
1
|
+
import type { ConfiguredObjectClassForName } from '../../../../types/helperTypes';
|
2
2
|
|
3
3
|
declare global {
|
4
4
|
interface VisionSourceData extends Exclude<PointSource.Data, 'walls'> {
|
@@ -35,8 +35,7 @@ declare global {
|
|
35
35
|
*/
|
36
36
|
illumination: PIXI.Mesh;
|
37
37
|
|
38
|
-
|
39
|
-
static sourceType: 'vision';
|
38
|
+
static override sourceType: 'vision';
|
40
39
|
|
41
40
|
/**
|
42
41
|
* Keys in the VisionSourceData structure which, when modified, change the appearance of the source
|
@@ -119,7 +118,6 @@ declare global {
|
|
119
118
|
*/
|
120
119
|
protected _updateIlluminationUniforms(shader: AdaptiveIlluminationShader): void;
|
121
120
|
|
122
|
-
|
123
|
-
protected _drawRenderTextureContainer(): PIXI.Container;
|
121
|
+
protected override _drawRenderTextureContainer(): PIXI.Container;
|
124
122
|
}
|
125
123
|
}
|
package/src/foundry/{foundry.js/pixi/shaders/abstractBaseShader.d.ts → client/pixi/webgl/base.d.ts}
RENAMED
File without changes
|
File without changes
|