@fps-games/editor 0.2.0-beta.4 → 0.2.1-beta.2
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/dist/agent-bridge/capabilities/editor-state.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/editor-state.js +12 -6
- package/dist/agent-bridge/capabilities/editor-state.js.map +1 -1
- package/dist/agent-bridge/capabilities/hierarchy.d.ts +4 -0
- package/dist/agent-bridge/capabilities/hierarchy.d.ts.map +1 -0
- package/dist/agent-bridge/capabilities/hierarchy.js +209 -0
- package/dist/agent-bridge/capabilities/hierarchy.js.map +1 -0
- package/dist/agent-bridge/capabilities/prefabs.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/prefabs.js +208 -73
- package/dist/agent-bridge/capabilities/prefabs.js.map +1 -1
- package/dist/agent-bridge/capabilities/scene-objects.d.ts +3 -4
- package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/scene-objects.js +24 -23
- package/dist/agent-bridge/capabilities/scene-objects.js.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.js +829 -66
- package/dist/agent-bridge/capabilities/shadows.js.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.js +19 -1
- package/dist/agent-bridge/capabilities/ui-regions.js.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.js +22 -9
- package/dist/agent-bridge/capabilities/viewport.js.map +1 -1
- package/dist/agent-bridge/capability-sources.d.ts.map +1 -1
- package/dist/agent-bridge/capability-sources.js +2 -0
- package/dist/agent-bridge/capability-sources.js.map +1 -1
- package/dist/agent-bridge/register.d.ts.map +1 -1
- package/dist/agent-bridge/register.js +194 -0
- package/dist/agent-bridge/register.js.map +1 -1
- package/dist/agent-bridge/shared.d.ts +231 -11
- package/dist/agent-bridge/shared.d.ts.map +1 -1
- package/dist/agent-bridge/shared.js +162 -20
- package/dist/agent-bridge/shared.js.map +1 -1
- package/dist/agent-bridge/source-types.d.ts +17 -1
- package/dist/agent-bridge/source-types.d.ts.map +1 -1
- package/dist/agent-bridge/source-types.js.map +1 -1
- package/dist/build-info.json +57 -42
- package/dist/index.d.ts +7 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/internal/babylon-preview-engine.d.ts +3 -0
- package/dist/internal/babylon-preview-engine.d.ts.map +1 -0
- package/dist/internal/babylon-preview-engine.js +11 -0
- package/dist/internal/babylon-preview-engine.js.map +1 -0
- package/dist/internal/material-preview.d.ts +22 -0
- package/dist/internal/material-preview.d.ts.map +1 -0
- package/dist/internal/material-preview.js +186 -0
- package/dist/internal/material-preview.js.map +1 -0
- package/dist/internal/product-local-editor-cleanup.d.ts +5 -0
- package/dist/internal/product-local-editor-cleanup.d.ts.map +1 -0
- package/dist/internal/product-local-editor-cleanup.js +20 -0
- package/dist/internal/product-local-editor-cleanup.js.map +1 -0
- package/dist/internal/project-model-preview.d.ts +4 -0
- package/dist/internal/project-model-preview.d.ts.map +1 -0
- package/dist/internal/project-model-preview.js +359 -0
- package/dist/internal/project-model-preview.js.map +1 -0
- package/dist/local-editor-agent-actions.d.ts +2 -4
- package/dist/local-editor-agent-actions.d.ts.map +1 -1
- package/dist/local-editor-agent-actions.js +56 -32
- package/dist/local-editor-agent-actions.js.map +1 -1
- package/dist/local-editor-agent-context.d.ts +17 -6
- package/dist/local-editor-agent-context.d.ts.map +1 -1
- package/dist/local-editor-agent-context.js +47 -0
- package/dist/local-editor-agent-context.js.map +1 -1
- package/dist/local-editor-harness.d.ts +353 -35
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +4115 -1313
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-marker-graph.d.ts +15 -15
- package/dist/local-editor-marker-graph.d.ts.map +1 -1
- package/dist/local-editor-marker-graph.js +3 -0
- package/dist/local-editor-marker-graph.js.map +1 -1
- package/dist/local-editor-performance-stats.d.ts +3 -2
- package/dist/local-editor-performance-stats.d.ts.map +1 -1
- package/dist/local-editor-performance-stats.js.map +1 -1
- package/dist/local-editor-prefab-stage-transaction.d.ts +19 -0
- package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -0
- package/dist/local-editor-prefab-stage-transaction.js +45 -0
- package/dist/local-editor-prefab-stage-transaction.js.map +1 -0
- package/dist/local-editor-scene-view-interaction-runtime.d.ts +3 -1
- package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
- package/dist/local-editor-scene-view-interaction-runtime.js +24 -0
- package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
- package/dist/local-editor-tools.d.ts +19 -0
- package/dist/local-editor-tools.d.ts.map +1 -0
- package/dist/local-editor-tools.js +56 -0
- package/dist/local-editor-tools.js.map +1 -0
- package/dist/playable-babylon-rendering.d.ts +9 -0
- package/dist/playable-babylon-rendering.d.ts.map +1 -1
- package/dist/playable-babylon-rendering.js +162 -6
- package/dist/playable-babylon-rendering.js.map +1 -1
- package/dist/playable-local-editor-entry.d.ts +68 -0
- package/dist/playable-local-editor-entry.d.ts.map +1 -0
- package/dist/playable-local-editor-entry.js +424 -0
- package/dist/playable-local-editor-entry.js.map +1 -0
- package/dist/playable-local-editor-host.d.ts +55 -29
- package/dist/playable-local-editor-host.d.ts.map +1 -1
- package/dist/playable-local-editor-host.js +50 -11
- package/dist/playable-local-editor-host.js.map +1 -1
- package/dist/playable-product-local-editor.d.ts +10 -12
- package/dist/playable-product-local-editor.d.ts.map +1 -1
- package/dist/playable-product-local-editor.js +178 -85
- package/dist/playable-product-local-editor.js.map +1 -1
- package/dist/playable-product-projection-preview.d.ts +4 -1
- package/dist/playable-product-projection-preview.d.ts.map +1 -1
- package/dist/playable-product-projection-preview.js +122 -5
- package/dist/playable-product-projection-preview.js.map +1 -1
- package/dist/playable-product-rendering.d.ts +12 -0
- package/dist/playable-product-rendering.d.ts.map +1 -1
- package/dist/playable-product-rendering.js +128 -6
- package/dist/playable-product-rendering.js.map +1 -1
- package/dist/playable-product-scene-capabilities.d.ts +24 -7
- package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
- package/dist/playable-product-scene-capabilities.js +180 -17
- package/dist/playable-product-scene-capabilities.js.map +1 -1
- package/dist/playable-project-mode.d.ts +17 -0
- package/dist/playable-project-mode.d.ts.map +1 -0
- package/dist/playable-project-mode.js +2 -0
- package/dist/playable-project-mode.js.map +1 -0
- package/dist/playable-runtime-babylon.d.ts +3 -6
- package/dist/playable-runtime-babylon.d.ts.map +1 -1
- package/dist/playable-runtime-babylon.js +1 -5
- package/dist/playable-runtime-babylon.js.map +1 -1
- package/dist/playable-sdk.d.ts +16 -9
- package/dist/playable-sdk.d.ts.map +1 -1
- package/dist/playable-sdk.js +6 -4
- package/dist/playable-sdk.js.map +1 -1
- package/dist/playable-standard-project.d.ts +23 -14
- package/dist/playable-standard-project.d.ts.map +1 -1
- package/dist/playable-standard-project.js +57 -20
- package/dist/playable-standard-project.js.map +1 -1
- package/dist/vite-client.d.ts +4 -0
- package/node_modules/@babel/helper-string-parser/lib/index.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -1
- package/node_modules/@babel/parser/lib/index.js +0 -1
- package/node_modules/@babel/types/lib/asserts/assertNode.js +0 -1
- package/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -1
- package/node_modules/@babel/types/lib/builders/productions.js +0 -1
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -1
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -1
- package/node_modules/@babel/types/lib/builders/validateNode.js +0 -1
- package/node_modules/@babel/types/lib/clone/clone.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneNode.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -1
- package/node_modules/@babel/types/lib/comments/addComment.js +0 -1
- package/node_modules/@babel/types/lib/comments/addComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/removeComments.js +0 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/constants/index.js +0 -1
- package/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -1
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -1
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -1
- package/node_modules/@babel/types/lib/converters/toBlock.js +0 -1
- package/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -1
- package/node_modules/@babel/types/lib/converters/toExpression.js +0 -1
- package/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -1
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -1
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -1
- package/node_modules/@babel/types/lib/converters/toStatement.js +0 -1
- package/node_modules/@babel/types/lib/converters/valueToNode.js +0 -1
- package/node_modules/@babel/types/lib/definitions/core.js +0 -1
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -1
- package/node_modules/@babel/types/lib/definitions/experimental.js +0 -1
- package/node_modules/@babel/types/lib/definitions/flow.js +0 -1
- package/node_modules/@babel/types/lib/definitions/index.js +0 -1
- package/node_modules/@babel/types/lib/definitions/jsx.js +0 -1
- package/node_modules/@babel/types/lib/definitions/misc.js +0 -1
- package/node_modules/@babel/types/lib/definitions/placeholders.js +0 -1
- package/node_modules/@babel/types/lib/definitions/typescript.js +0 -1
- package/node_modules/@babel/types/lib/definitions/utils.js +0 -1
- package/node_modules/@babel/types/lib/index.js +0 -1
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -1
- package/node_modules/@babel/types/lib/modifications/inherits.js +0 -1
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -1
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -1
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/traverse/traverse.js +0 -1
- package/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -1
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -1
- package/node_modules/@babel/types/lib/utils/inherit.js +0 -1
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -1
- package/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -1
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/validators/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/validators/is.js +0 -1
- package/node_modules/@babel/types/lib/validators/isBinding.js +0 -1
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -1
- package/node_modules/@babel/types/lib/validators/isImmutable.js +0 -1
- package/node_modules/@babel/types/lib/validators/isLet.js +0 -1
- package/node_modules/@babel/types/lib/validators/isNode.js +0 -1
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -1
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -1
- package/node_modules/@babel/types/lib/validators/isReferenced.js +0 -1
- package/node_modules/@babel/types/lib/validators/isScope.js +0 -1
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -1
- package/node_modules/@babel/types/lib/validators/isType.js +0 -1
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -1
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -1
- package/node_modules/@babel/types/lib/validators/isVar.js +0 -1
- package/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -1
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -1
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -1
- package/node_modules/@babel/types/lib/validators/validate.js +0 -1
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.d.ts +69 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.js +132 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.js +7 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoader.d.ts +14 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoader.js +328 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.d.ts +9 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/BVH/index.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/BVH/index.js +3 -0
- package/node_modules/@babylonjs/loaders/OBJ/index.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/index.js +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.js +230 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.d.ts +136 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.js +317 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.js +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/OBJ/solidParser.d.ts +175 -0
- package/node_modules/@babylonjs/loaders/OBJ/solidParser.js +903 -0
- package/node_modules/@babylonjs/loaders/SPLAT/index.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/SPLAT/index.js +3 -0
- package/node_modules/@babylonjs/loaders/SPLAT/sog.d.ts +84 -0
- package/node_modules/@babylonjs/loaders/SPLAT/sog.js +294 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.d.ts +26 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.js +10 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.d.ts +100 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.js +536 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.d.ts +20 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.js +15 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/SPLAT/spz.d.ts +11 -0
- package/node_modules/@babylonjs/loaders/SPLAT/spz.js +168 -0
- package/node_modules/@babylonjs/loaders/STL/index.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/STL/index.js +1 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.d.ts +78 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.js +238 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.js +7 -0
- package/node_modules/@babylonjs/loaders/bvh/license.md +21 -0
- package/node_modules/@babylonjs/loaders/dynamic.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/dynamic.js +56 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.d.ts +16 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.js +64 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.d.ts +144 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.js +1841 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.d.ts +412 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.js +95 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.d.ts +71 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.js +254 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.d.ts +13 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.js +130 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/index.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/index.js +5 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.js +93 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.js +83 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.d.ts +48 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.js +115 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js +94 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.js +50 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.d.ts +34 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.js +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.js +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.d.ts +53 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.js +73 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.js +251 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.js +77 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.js +92 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.d.ts +355 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js +1678 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.js +19 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.d.ts +3 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.js +3 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.d.ts +70 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js +438 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.d.ts +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.js +150 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.js +91 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.js +65 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.js +79 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.d.ts +49 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.js +119 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.js +58 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.js +69 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.js +56 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.js +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.js +77 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.d.ts +46 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.js +54 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.js +68 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js +80 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.js +73 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.js +76 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.js +303 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.js +66 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.d.ts +112 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.js +262 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.js +82 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.d.ts +45 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.js +109 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.d.ts +29 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.js +22 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.d.ts +31 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.js +189 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.d.ts +30 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.js +123 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.d.ts +30 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.js +66 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.js +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.d.ts +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.js +58 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.js +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.d.ts +56 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.js +228 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.d.ts +104 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.js +337 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.d.ts +27 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.js +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.d.ts +27 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.js +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.js +212 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.d.ts +45 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.js +100 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.js +44 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.d.ts +306 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.js +884 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.d.ts +450 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.js +2485 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.js +79 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.d.ts +165 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.d.ts +25 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.js +32 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.d.ts +262 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/index.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/index.js +9 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.d.ts +364 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.d.ts +674 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.js +1034 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.d.ts +705 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.js +1126 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.d.ts +553 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.js +998 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.d.ts +15 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.js +17 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFValidation.d.ts +35 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFValidation.js +131 -0
- package/node_modules/@babylonjs/loaders/glTF/index.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/glTF/index.js +6 -0
- package/node_modules/@babylonjs/loaders/index.d.ts +6 -0
- package/node_modules/@babylonjs/loaders/index.js +7 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.js +13 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.js +18 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.js +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.js +34 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.js +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.d.ts +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.js +4 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy.js +10 -0
- package/node_modules/@babylonjs/loaders/license.md +71 -0
- package/node_modules/@babylonjs/loaders/package.json +49 -0
- package/node_modules/@babylonjs/loaders/readme.md +23 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts +22 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js +187 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.js +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts +19 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js +212 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +17 -2
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +192 -17
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +139 -3
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts +14 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js +14 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts +59 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js +725 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts +136 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js +2735 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/package.json +7 -7
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts +2 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js +2 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts +2 -0
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +59 -6
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.js +24 -0
- package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js +81 -11
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js +2 -8
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +26 -5
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +396 -363
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts +4 -0
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +76 -10
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.js +85 -22
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts +46 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js +304 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts +87 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +1746 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts +11 -3
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js +105 -15
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +249 -15
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts +25 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js +44 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/package.json +6 -5
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +13 -11
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js +9 -9
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.d.ts +35 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.js +136 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.d.ts +46 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.js +283 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js +36 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +17 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.d.ts +12 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.js +67 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.d.ts +6 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.js +9 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.d.ts +7 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.js +20 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.d.ts +9 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.js +219 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.d.ts +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.js +42 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js +8 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.d.ts +27 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.js +288 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +157 -77
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +27 -21
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +19 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +44 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +36 -6
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +829 -866
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +8 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +1 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts +7 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js +20 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +6 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +266 -114
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +34 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js +3 -17
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js +44 -62
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +30 -8
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +911 -698
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts +10 -37
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js +29 -105
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +29 -110
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +1 -3
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +6 -90
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +9 -54
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts +16 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js +44 -39
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts +4 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js +44 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +35 -44
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js +40 -24
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +2 -20
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +114 -343
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +13 -14
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +120 -134
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +6 -10
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +2019 -861
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.d.ts +13 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.js +15 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts +2 -3
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js +0 -180
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts +5 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js +5 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/package.json +15 -4
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts +22 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js +226 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +94 -2
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +24 -2
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.js +70 -10
- package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts +113 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.js +615 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +46 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.js +62 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +1 -0
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts +11 -2
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.js +12 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.js.map +1 -1
- package/node_modules/@fps-games/editor-core/package.json +14 -6
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js +14 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js +49 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +63 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +48 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js +15 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts +6 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +28 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +314 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js +285 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +7 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +23 -81
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts +41 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js +93 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts +29 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js +77 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts +51 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js +287 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +6 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +53 -17
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +16 -8
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +10 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +5 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +134 -66
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +21 -14
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +17 -9
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +20 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +49 -10
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js +130 -20
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js +12 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js +136 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts +36 -51
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js +40 -65
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +207 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +18 -7
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +110 -18
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js +16 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +22 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.js +86 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.js +76 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.d.ts +34 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +144 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js +241 -13
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js +170 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts +153 -13
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js +1295 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +54 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +57 -34
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +4 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +20 -198
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js +5 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +144 -8
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js +30 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +31 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +40 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +116 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts +17 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js +50 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +101 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts +5 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js +31 -17
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.js +101 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.d.ts +23 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.js +180 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +417 -2
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js +692 -2
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +23 -3
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts +55 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js +2 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +3 -18
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.js +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/package.json +2 -2
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js +5 -0
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/vite.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/vite.js +151 -5
- package/node_modules/@fps-games/editor-tooling/dist/vite.js.map +1 -1
- package/node_modules/@fps-games/editor-tooling/package.json +3 -3
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts +107 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js +770 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts +21 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js +172 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts +14 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js +32 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts +3 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js +746 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts +3 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.js +3 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-ui/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/index.js +5 -0
- package/node_modules/@fps-games/editor-ui/dist/index.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts +7 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js +29 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts +2 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js +95 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts +28 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js +387 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/package.json +23 -0
- package/node_modules/@fps-games/playable-assets/package.json +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/index.js +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.js.map +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts +116 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.js +403 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.js.map +1 -0
- package/node_modules/@fps-games/playable-contracts/package.json +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/index.js +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js +5 -25
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts +61 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js +176 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts +84 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js +362 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts +167 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js +484 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/package.json +2 -2
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts +5 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js.map +1 -1
- package/node_modules/@fps-games/playable-runtime/package.json +12 -12
- package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
- package/node_modules/@fps-games/playable-scene/package.json +2 -2
- package/node_modules/@fps-games/plugin-api/package.json +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-assets/package.json +5 -5
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts +6 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js +16 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts +7 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js +47 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +306 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +1237 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js +32 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/package.json +57 -0
- package/node_modules/@fps-games/plugin-host/package.json +2 -2
- package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-markers/package.json +5 -5
- package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-materials/package.json +5 -5
- package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
- package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-scene/package.json +5 -5
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js +35 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts +11 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js +14 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +53 -0
- package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
- package/node_modules/@playcanvas/observer/LICENSE +19 -0
- package/node_modules/@playcanvas/observer/README.md +72 -0
- package/node_modules/@playcanvas/observer/dist/index.cjs +2033 -0
- package/node_modules/@playcanvas/observer/dist/index.js +2039 -0
- package/node_modules/@playcanvas/observer/dist/index.mjs +2026 -0
- package/node_modules/@playcanvas/observer/package.json +78 -0
- package/node_modules/@playcanvas/observer/types/event-handle.d.ts +41 -0
- package/node_modules/@playcanvas/observer/types/events.d.ts +162 -0
- package/node_modules/@playcanvas/observer/types/history.d.ts +123 -0
- package/node_modules/@playcanvas/observer/types/index.d.ts +15 -0
- package/node_modules/@playcanvas/observer/types/observer-history.d.ts +32 -0
- package/node_modules/@playcanvas/observer/types/observer-list.d.ts +39 -0
- package/node_modules/@playcanvas/observer/types/observer.d.ts +157 -0
- package/node_modules/@playcanvas/observer/types/utils.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/LICENSE +19 -0
- package/node_modules/@playcanvas/pcui/README.md +164 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/Math/color-value.mjs +77 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingBase/index.mjs +215 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/class.mjs +19 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/ArrayInput/index.mjs +498 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/BooleanInput/index.mjs +122 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Button/index.mjs +119 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Canvas/index.mjs +104 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Code/index.mjs +43 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/ColorPicker/index.mjs +619 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Container/index.mjs +642 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Divider/index.mjs +20 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Element/index.mjs +829 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GradientPicker/index.mjs +1136 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GridView/index.mjs +448 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GridViewItem/index.mjs +152 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/InfoBox/index.mjs +90 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/InputElement/index.mjs +186 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Label/index.mjs +124 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/LabelGroup/index.mjs +74 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Menu/index.mjs +174 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/MenuItem/index.mjs +223 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/NumericInput/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Overlay/index.mjs +108 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Panel/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Progress/index.mjs +45 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/RadioButton/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/SelectInput/index.mjs +1085 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/SliderInput/index.mjs +333 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Spinner/index.mjs +34 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TextAreaInput/index.mjs +50 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TextInput/index.mjs +98 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeView/index.mjs +1131 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeViewItem/index.mjs +500 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/VectorInput/index.mjs +366 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/helpers/search.mjs +194 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/helpers/utils.mjs +43 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/index.mjs +56 -0
- package/node_modules/@playcanvas/pcui/dist/pcui-theme-green.scss +2798 -0
- package/node_modules/@playcanvas/pcui/dist/pcui-theme-grey.scss +2798 -0
- package/node_modules/@playcanvas/pcui/package.json +150 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/Math/color-value.mjs +77 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingBase/index.mjs +215 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/class.mjs +19 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/index.mjs +498 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/index.mjs +122 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/index.mjs +119 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/index.mjs +104 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/index.mjs +43 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/index.mjs +619 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/component.mjs +36 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/index.mjs +642 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/index.mjs +20 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/component.mjs +107 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/index.mjs +829 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/index.mjs +1136 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/component.mjs +38 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/index.mjs +448 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/index.mjs +152 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/index.mjs +90 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InputElement/index.mjs +186 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/index.mjs +124 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/component.mjs +42 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/index.mjs +74 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/component.mjs +23 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/index.mjs +174 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/MenuItem/index.mjs +223 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/index.mjs +108 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/component.mjs +32 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/index.mjs +45 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/component.mjs +21 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/index.mjs +1085 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/component.mjs +12 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/index.mjs +333 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/index.mjs +34 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/index.mjs +50 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/component.mjs +23 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/index.mjs +98 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/component.mjs +52 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/index.mjs +1131 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/component.mjs +33 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/index.mjs +500 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/index.mjs +366 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/search.mjs +194 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/utils.mjs +43 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/index.mjs +39 -0
- package/node_modules/@playcanvas/pcui/react/package.json +18 -0
- package/node_modules/@playcanvas/pcui/react/types/Math/color-value.d.ts +3 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingBase/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingElementToObservers/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingObserversToElement/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingTwoWay/index.d.ts +54 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/index.d.ts +5 -0
- package/node_modules/@playcanvas/pcui/react/types/class.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/index.d.ts +140 -0
- package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/index.d.ts +41 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Button/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Button/index.d.ts +75 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Canvas/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Canvas/index.d.ts +61 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Code/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Code/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/index.d.ts +99 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Container/component.d.ts +15 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Container/index.d.ts +292 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Divider/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Divider/index.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Element/component.d.ts +23 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Element/index.d.ts +671 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/index.d.ts +152 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridView/component.d.ts +14 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridView/index.d.ts +103 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/index.d.ts +82 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/index.d.ts +71 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InputElement/index.d.ts +84 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Label/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Label/index.d.ts +85 -0
- package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/index.d.ts +62 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Menu/component.d.ts +14 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Menu/index.d.ts +70 -0
- package/node_modules/@playcanvas/pcui/react/types/components/MenuItem/index.d.ts +139 -0
- package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/index.d.ts +173 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Overlay/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Overlay/index.d.ts +53 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Panel/component.d.ts +16 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Panel/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Progress/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Progress/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/component.d.ts +12 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/index.d.ts +278 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/index.d.ts +133 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Spinner/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Spinner/index.d.ts +27 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextInput/component.d.ts +12 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextInput/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeView/component.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeView/index.d.ts +359 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/component.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/index.d.ts +224 -0
- package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/index.d.ts +176 -0
- package/node_modules/@playcanvas/pcui/react/types/components/components.d.ts +30 -0
- package/node_modules/@playcanvas/pcui/react/types/components/index.d.ts +32 -0
- package/node_modules/@playcanvas/pcui/react/types/helpers/search.d.ts +31 -0
- package/node_modules/@playcanvas/pcui/react/types/helpers/utils.d.ts +2 -0
- package/node_modules/@playcanvas/pcui/react/types/index.d.ts +4 -0
- package/node_modules/@playcanvas/pcui/styles/dist/index.mjs +11 -0
- package/node_modules/@playcanvas/pcui/styles/package.json +17 -0
- package/node_modules/@playcanvas/pcui/types/Math/color-value.d.ts +3 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingBase/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingElementToObservers/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingObserversToElement/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingTwoWay/index.d.ts +54 -0
- package/node_modules/@playcanvas/pcui/types/binding/index.d.ts +5 -0
- package/node_modules/@playcanvas/pcui/types/class.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/types/components/ArrayInput/index.d.ts +140 -0
- package/node_modules/@playcanvas/pcui/types/components/BooleanInput/index.d.ts +41 -0
- package/node_modules/@playcanvas/pcui/types/components/Button/index.d.ts +75 -0
- package/node_modules/@playcanvas/pcui/types/components/Canvas/index.d.ts +61 -0
- package/node_modules/@playcanvas/pcui/types/components/Code/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/ColorPicker/index.d.ts +99 -0
- package/node_modules/@playcanvas/pcui/types/components/Container/index.d.ts +292 -0
- package/node_modules/@playcanvas/pcui/types/components/Divider/index.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/types/components/Element/index.d.ts +671 -0
- package/node_modules/@playcanvas/pcui/types/components/GradientPicker/index.d.ts +152 -0
- package/node_modules/@playcanvas/pcui/types/components/GridView/index.d.ts +103 -0
- package/node_modules/@playcanvas/pcui/types/components/GridViewItem/index.d.ts +82 -0
- package/node_modules/@playcanvas/pcui/types/components/InfoBox/index.d.ts +71 -0
- package/node_modules/@playcanvas/pcui/types/components/InputElement/index.d.ts +84 -0
- package/node_modules/@playcanvas/pcui/types/components/Label/index.d.ts +85 -0
- package/node_modules/@playcanvas/pcui/types/components/LabelGroup/index.d.ts +62 -0
- package/node_modules/@playcanvas/pcui/types/components/Menu/index.d.ts +70 -0
- package/node_modules/@playcanvas/pcui/types/components/MenuItem/index.d.ts +139 -0
- package/node_modules/@playcanvas/pcui/types/components/NumericInput/index.d.ts +173 -0
- package/node_modules/@playcanvas/pcui/types/components/Overlay/index.d.ts +53 -0
- package/node_modules/@playcanvas/pcui/types/components/Panel/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/types/components/Progress/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/RadioButton/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/SelectInput/index.d.ts +278 -0
- package/node_modules/@playcanvas/pcui/types/components/SliderInput/index.d.ts +133 -0
- package/node_modules/@playcanvas/pcui/types/components/Spinner/index.d.ts +27 -0
- package/node_modules/@playcanvas/pcui/types/components/TextAreaInput/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/types/components/TextInput/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/types/components/TreeView/index.d.ts +359 -0
- package/node_modules/@playcanvas/pcui/types/components/TreeViewItem/index.d.ts +224 -0
- package/node_modules/@playcanvas/pcui/types/components/VectorInput/index.d.ts +176 -0
- package/node_modules/@playcanvas/pcui/types/components/index.d.ts +32 -0
- package/node_modules/@playcanvas/pcui/types/helpers/search.d.ts +31 -0
- package/node_modules/@playcanvas/pcui/types/helpers/utils.d.ts +2 -0
- package/node_modules/@playcanvas/pcui/types/index.d.ts +20 -0
- package/node_modules/babylonjs-gltf2interface/babylon.glTF2Interface.d.ts +1655 -0
- package/node_modules/babylonjs-gltf2interface/license.md +71 -0
- package/node_modules/babylonjs-gltf2interface/package.json +26 -0
- package/package.json +31 -19
- package/dist/editor-plugin-hierarchy-command.d.ts +0 -19
- package/dist/editor-plugin-hierarchy-command.d.ts.map +0 -1
- package/dist/editor-plugin-hierarchy-command.js +0 -119
- package/dist/editor-plugin-hierarchy-command.js.map +0 -1
- package/node_modules/@babel/helper-string-parser/lib/index.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- package/node_modules/@babel/parser/lib/index.js.map +0 -1
- package/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
- package/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/constants/index.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
- package/node_modules/@babel/types/lib/index.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
- package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/is.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts +0 -37
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js +0 -451
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts +0 -49
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +0 -627
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts +0 -52
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js +0 -450
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts +0 -21
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js +0 -75
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts +0 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.js +0 -186
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts +0 -5
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js +0 -98
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +0 -63
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +0 -301
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +0 -1
|
@@ -11,6 +11,12 @@ class PlayableLocalEditorSaveRejectedError extends Error {
|
|
|
11
11
|
this.name = 'PlayableLocalEditorSaveRejectedError';
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
+
class PlayableLocalEditorRunRejectedError extends Error {
|
|
15
|
+
constructor() {
|
|
16
|
+
super('Local editor Run was rejected by current validation.');
|
|
17
|
+
this.name = 'PlayableLocalEditorRunRejectedError';
|
|
18
|
+
}
|
|
19
|
+
}
|
|
14
20
|
export function createPlayableLocalEditorLifecycleController(options) {
|
|
15
21
|
const waitForPaint = options.waitForPaint ?? waitForPlayableLocalEditorPaint;
|
|
16
22
|
const waitForMilliseconds = options.waitForMilliseconds ?? waitForPlayableMilliseconds;
|
|
@@ -248,6 +254,7 @@ export function createPlayableLocalEditorLifecycleController(options) {
|
|
|
248
254
|
let pendingDocumentDirty;
|
|
249
255
|
let documentSynchronization = null;
|
|
250
256
|
const readLifecycleRevision = () => coordinator.getSnapshot().revision;
|
|
257
|
+
const readDocumentRevision = () => (options.harness.getDocumentRevision?.() ?? readLifecycleRevision());
|
|
251
258
|
const ensureApplicationAndProject = async (context) => {
|
|
252
259
|
let current = coordinator.getSnapshot();
|
|
253
260
|
if (current.transitioning)
|
|
@@ -375,6 +382,12 @@ export function createPlayableLocalEditorLifecycleController(options) {
|
|
|
375
382
|
await closeScope(PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID);
|
|
376
383
|
await options.operations.runGame(reason);
|
|
377
384
|
};
|
|
385
|
+
const validateRun = async () => (options.operations.validateRun ? options.operations.validateRun() : true);
|
|
386
|
+
const runExclusiveDocumentOperation = (operation, executor) => (options.harness.runExclusiveDocumentOperation(operation, executor));
|
|
387
|
+
const preflightRun = () => runExclusiveDocumentOperation(async () => {
|
|
388
|
+
const preparation = beginPreparation();
|
|
389
|
+
return await validateRun() && isPreparationCurrent(preparation);
|
|
390
|
+
});
|
|
378
391
|
const waitForLifecycleIdle = async () => {
|
|
379
392
|
if (!coordinator.getSnapshot().transitioning)
|
|
380
393
|
return;
|
|
@@ -468,11 +481,11 @@ export function createPlayableLocalEditorLifecycleController(options) {
|
|
|
468
481
|
const commitDocumentSave = async (commit, context) => {
|
|
469
482
|
await coordinator.transition({ type: 'document.commit', ...context, ...(commit ? { operation: commit } : {}) });
|
|
470
483
|
};
|
|
471
|
-
const saveScene = async (operation = 'save-scene', context) => {
|
|
484
|
+
const saveScene = async (operation = 'save-scene', context, executor, saveOptions) => {
|
|
472
485
|
let saved = false;
|
|
473
486
|
try {
|
|
474
487
|
await prepareDocumentSave(async () => {
|
|
475
|
-
saved = await options.harness.saveScene();
|
|
488
|
+
saved = await options.harness.saveScene(executor, saveOptions);
|
|
476
489
|
if (!saved)
|
|
477
490
|
throw new PlayableLocalEditorSaveRejectedError();
|
|
478
491
|
}, context);
|
|
@@ -522,7 +535,11 @@ export function createPlayableLocalEditorLifecycleController(options) {
|
|
|
522
535
|
options.loadingOverlay.hide();
|
|
523
536
|
}
|
|
524
537
|
}
|
|
525
|
-
return {
|
|
538
|
+
return {
|
|
539
|
+
epoch: ++preparationEpoch,
|
|
540
|
+
revision: readLifecycleRevision(),
|
|
541
|
+
authoredVersion: readDocumentRevision(),
|
|
542
|
+
};
|
|
526
543
|
};
|
|
527
544
|
const showLifecycleOverlay = (preparation, content) => {
|
|
528
545
|
if (options.loadingOverlay.isVisible()) {
|
|
@@ -552,56 +569,77 @@ export function createPlayableLocalEditorLifecycleController(options) {
|
|
|
552
569
|
options.loadingOverlay.hide();
|
|
553
570
|
};
|
|
554
571
|
const isPreparationCurrent = (preparation) => (preparation.epoch === preparationEpoch
|
|
555
|
-
&& preparation.revision === readLifecycleRevision()
|
|
572
|
+
&& preparation.revision === readLifecycleRevision()
|
|
573
|
+
&& preparation.authoredVersion === readDocumentRevision());
|
|
556
574
|
const createPreparedRun = (preparation, run) => {
|
|
557
575
|
let consumed = false;
|
|
558
576
|
return {
|
|
559
577
|
accepted: true,
|
|
560
|
-
async run() {
|
|
578
|
+
async run(executor) {
|
|
561
579
|
if (consumed)
|
|
562
580
|
throw new Error('Prepared editor lifecycle operation was already consumed.');
|
|
563
|
-
|
|
564
|
-
|
|
581
|
+
consumed = true;
|
|
582
|
+
try {
|
|
583
|
+
await runExclusiveDocumentOperation(async () => {
|
|
584
|
+
if (!isPreparationCurrent(preparation)) {
|
|
585
|
+
throw new Error('Prepared editor lifecycle operation is stale.');
|
|
586
|
+
}
|
|
587
|
+
if (!await validateRun() || !isPreparationCurrent(preparation)) {
|
|
588
|
+
throw new PlayableLocalEditorRunRejectedError();
|
|
589
|
+
}
|
|
590
|
+
await run();
|
|
591
|
+
}, executor);
|
|
592
|
+
}
|
|
593
|
+
catch (error) {
|
|
565
594
|
hideLifecycleOverlay(preparation.epoch);
|
|
566
|
-
throw
|
|
595
|
+
throw error;
|
|
567
596
|
}
|
|
568
|
-
consumed = true;
|
|
569
|
-
await run();
|
|
570
597
|
},
|
|
571
598
|
};
|
|
572
599
|
};
|
|
573
|
-
const prepareSaveAndRunGame = async (context) => {
|
|
600
|
+
const prepareSaveAndRunGame = async (context, executor) => {
|
|
574
601
|
const preparation = beginPreparation();
|
|
575
602
|
showLifecycleOverlay(preparation, options.content.saveAndRunGame);
|
|
576
603
|
try {
|
|
577
|
-
await
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
}
|
|
583
|
-
preparation.revision = readLifecycleRevision();
|
|
584
|
-
return createPreparedRun(preparation, async () => {
|
|
585
|
-
try {
|
|
586
|
-
await disposePreview(context);
|
|
587
|
-
await coordinator.transition({
|
|
588
|
-
type: 'mode.exitEdit',
|
|
589
|
-
...context,
|
|
590
|
-
operation: () => runGameAfterReleasingPluginScopes('save'),
|
|
591
|
-
});
|
|
592
|
-
await closeEditingScopes();
|
|
604
|
+
return await runExclusiveDocumentOperation(async (transactionExecutor) => {
|
|
605
|
+
await waitForPaint();
|
|
606
|
+
if (!await validateRun() || !isPreparationCurrent(preparation)) {
|
|
607
|
+
hideLifecycleOverlay(preparation.epoch);
|
|
608
|
+
return { accepted: false };
|
|
593
609
|
}
|
|
594
|
-
|
|
610
|
+
const saved = await saveScene('save-and-run-game', context, transactionExecutor, { validationPhases: ['run', 'save'] });
|
|
611
|
+
if (!saved || preparation.epoch !== preparationEpoch) {
|
|
595
612
|
hideLifecycleOverlay(preparation.epoch);
|
|
613
|
+
return { accepted: false };
|
|
596
614
|
}
|
|
597
|
-
|
|
615
|
+
preparation.revision = readLifecycleRevision();
|
|
616
|
+
preparation.authoredVersion = readDocumentRevision();
|
|
617
|
+
if (!await validateRun() || !isPreparationCurrent(preparation)) {
|
|
618
|
+
hideLifecycleOverlay(preparation.epoch);
|
|
619
|
+
return { accepted: false };
|
|
620
|
+
}
|
|
621
|
+
return createPreparedRun(preparation, async () => {
|
|
622
|
+
try {
|
|
623
|
+
await disposePreview(context);
|
|
624
|
+
await coordinator.transition({
|
|
625
|
+
type: 'mode.exitEdit',
|
|
626
|
+
...context,
|
|
627
|
+
operation: () => runGameAfterReleasingPluginScopes('save'),
|
|
628
|
+
});
|
|
629
|
+
await closeEditingScopes();
|
|
630
|
+
}
|
|
631
|
+
finally {
|
|
632
|
+
hideLifecycleOverlay(preparation.epoch);
|
|
633
|
+
}
|
|
634
|
+
});
|
|
635
|
+
}, executor);
|
|
598
636
|
}
|
|
599
637
|
catch (error) {
|
|
600
638
|
hideLifecycleOverlay(preparation.epoch);
|
|
601
639
|
throw error;
|
|
602
640
|
}
|
|
603
641
|
};
|
|
604
|
-
const prepareDiscardAndRunGame = async (context) => {
|
|
642
|
+
const prepareDiscardAndRunGame = async (context, executor) => {
|
|
605
643
|
await waitForDocumentSynchronization();
|
|
606
644
|
await ensureEditingState(undefined, undefined, context);
|
|
607
645
|
await synchronizeDocumentState(readUnsavedChangesState().dirty);
|
|
@@ -611,32 +649,38 @@ export function createPlayableLocalEditorLifecycleController(options) {
|
|
|
611
649
|
return { accepted: false };
|
|
612
650
|
showLifecycleOverlay(preparation, options.content.discardAndRunGame);
|
|
613
651
|
try {
|
|
614
|
-
await
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
return createPreparedRun(preparation, async () => {
|
|
620
|
-
try {
|
|
621
|
-
await coordinator.transition({
|
|
622
|
-
type: 'document.discard',
|
|
623
|
-
...context,
|
|
624
|
-
...(options.operations?.restoreDocument
|
|
625
|
-
? { operation: options.operations.restoreDocument }
|
|
626
|
-
: {}),
|
|
627
|
-
});
|
|
628
|
-
await disposePreview(context);
|
|
629
|
-
await coordinator.transition({
|
|
630
|
-
type: 'mode.exitEdit',
|
|
631
|
-
...context,
|
|
632
|
-
operation: () => runGameAfterReleasingPluginScopes('discard'),
|
|
633
|
-
});
|
|
634
|
-
await closeEditingScopes();
|
|
652
|
+
return await runExclusiveDocumentOperation(async () => {
|
|
653
|
+
await waitForPaint();
|
|
654
|
+
if (!isPreparationCurrent(preparation)) {
|
|
655
|
+
hideLifecycleOverlay(preparation.epoch);
|
|
656
|
+
return { accepted: false };
|
|
635
657
|
}
|
|
636
|
-
|
|
658
|
+
if (!await validateRun() || !isPreparationCurrent(preparation)) {
|
|
637
659
|
hideLifecycleOverlay(preparation.epoch);
|
|
660
|
+
return { accepted: false };
|
|
638
661
|
}
|
|
639
|
-
|
|
662
|
+
return createPreparedRun(preparation, async () => {
|
|
663
|
+
try {
|
|
664
|
+
await coordinator.transition({
|
|
665
|
+
type: 'document.discard',
|
|
666
|
+
...context,
|
|
667
|
+
...(options.operations?.restoreDocument
|
|
668
|
+
? { operation: options.operations.restoreDocument }
|
|
669
|
+
: {}),
|
|
670
|
+
});
|
|
671
|
+
await disposePreview(context);
|
|
672
|
+
await coordinator.transition({
|
|
673
|
+
type: 'mode.exitEdit',
|
|
674
|
+
...context,
|
|
675
|
+
operation: () => runGameAfterReleasingPluginScopes('discard'),
|
|
676
|
+
});
|
|
677
|
+
await closeEditingScopes();
|
|
678
|
+
}
|
|
679
|
+
finally {
|
|
680
|
+
hideLifecycleOverlay(preparation.epoch);
|
|
681
|
+
}
|
|
682
|
+
});
|
|
683
|
+
}, executor);
|
|
640
684
|
}
|
|
641
685
|
catch (error) {
|
|
642
686
|
hideLifecycleOverlay(preparation.epoch);
|
|
@@ -675,6 +719,7 @@ export function createPlayableLocalEditorLifecycleController(options) {
|
|
|
675
719
|
synchronizeDocumentState,
|
|
676
720
|
prepareDocumentSave,
|
|
677
721
|
commitDocumentSave,
|
|
722
|
+
preflightRun,
|
|
678
723
|
async runCommittedDocument(context) {
|
|
679
724
|
await ensureEditingState(undefined, undefined, context);
|
|
680
725
|
await synchronizeDocumentState(readUnsavedChangesState().dirty);
|
|
@@ -682,27 +727,50 @@ export function createPlayableLocalEditorLifecycleController(options) {
|
|
|
682
727
|
if (current.document !== 'clean') {
|
|
683
728
|
throw new Error(`Cannot run an uncommitted editor document: ${current.document}.`);
|
|
684
729
|
}
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
730
|
+
return runExclusiveDocumentOperation(async () => {
|
|
731
|
+
const preparation = beginPreparation();
|
|
732
|
+
if (!await validateRun() || !isPreparationCurrent(preparation))
|
|
733
|
+
return false;
|
|
734
|
+
if (!isPreparationCurrent(preparation)) {
|
|
735
|
+
throw new Error('Prepared editor lifecycle operation is stale.');
|
|
736
|
+
}
|
|
737
|
+
await disposePreview(context);
|
|
738
|
+
await coordinator.transition({
|
|
739
|
+
type: 'mode.exitEdit',
|
|
740
|
+
...context,
|
|
741
|
+
operation: () => runGameAfterReleasingPluginScopes('save'),
|
|
742
|
+
});
|
|
743
|
+
await closeEditingScopes();
|
|
744
|
+
return true;
|
|
690
745
|
});
|
|
691
|
-
await closeEditingScopes();
|
|
692
746
|
},
|
|
693
747
|
prepareSaveAndRunGame,
|
|
694
748
|
prepareDiscardAndRunGame,
|
|
695
|
-
async saveAndRunGame(context) {
|
|
696
|
-
const prepared = await prepareSaveAndRunGame(context);
|
|
749
|
+
async saveAndRunGame(context, executor) {
|
|
750
|
+
const prepared = await prepareSaveAndRunGame(context, executor);
|
|
697
751
|
if (!prepared.accepted)
|
|
698
752
|
return false;
|
|
699
|
-
|
|
700
|
-
|
|
753
|
+
try {
|
|
754
|
+
await prepared.run(executor);
|
|
755
|
+
return true;
|
|
756
|
+
}
|
|
757
|
+
catch (error) {
|
|
758
|
+
if (error instanceof PlayableLocalEditorRunRejectedError)
|
|
759
|
+
return false;
|
|
760
|
+
throw error;
|
|
761
|
+
}
|
|
701
762
|
},
|
|
702
|
-
async discardAndRunGame(context) {
|
|
703
|
-
const prepared = await prepareDiscardAndRunGame(context);
|
|
763
|
+
async discardAndRunGame(context, executor) {
|
|
764
|
+
const prepared = await prepareDiscardAndRunGame(context, executor);
|
|
704
765
|
if (prepared.accepted) {
|
|
705
|
-
|
|
766
|
+
try {
|
|
767
|
+
await prepared.run(executor);
|
|
768
|
+
}
|
|
769
|
+
catch (error) {
|
|
770
|
+
if (error instanceof PlayableLocalEditorRunRejectedError)
|
|
771
|
+
return false;
|
|
772
|
+
throw error;
|
|
773
|
+
}
|
|
706
774
|
}
|
|
707
775
|
return prepared.accepted;
|
|
708
776
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle.js","sourceRoot":"","sources":["../../src/local-harness/lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAAmC,GACpC,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACL,+BAA+B,EAC/B,2BAA2B,GAC5B,MAAM,UAAU,CAAC;AAclB,MAAM,CAAC,MAAM,0CAA0C,GAAG,oBAAoB,CAAC;AAC/E,MAAM,CAAC,MAAM,sCAAsC,GAAG,gBAAgB,CAAC;AACvE,MAAM,CAAC,MAAM,4CAA4C,GAAG,sBAAsB,CAAC;AACnF,MAAM,CAAC,MAAM,2CAA2C,GAAG,qBAAqB,CAAC;A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AC,wBAAwB,EAAE,CAAC;gBAC3E,0BAA0B,GAAG,IAAI,CAAC;YACpC,CAAC;YAED,IAAI,CAAC;gBACH,OAAO,MAAM,SAAS,EAAE,CAAC;YAC3B,CAAC;oBAAS,CAAC;gBACT,iBAAiB,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,iBAAiB,GAAG,CAAC,CAAC,CAAC;gBACvD,IAAI,iBAAiB,KAAK,CAAC,IAAI,wBAAwB,EAAE,CAAC;oBACxD,MAAM,SAAS,GAAG,wBAAwB,GAAG,CAAC,GAAG,EAAE,GAAG,0BAA0B,CAAC,CAAC;oBAClF,IAAI,SAAS,GAAG,CAAC;wBAAE,MAAM,mBAAmB,CAAC,SAAS,CAAC,CAAC;oBACxD,IAAI,iBAAiB,KAAK,CAAC,IAAI,wBAAwB,EAAE,CAAC;wBACxD,wBAAwB,GAAG,KAAK,CAAC;wBACjC,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,EAAE,KAAK,KAAK,EAAE,CAAC;4BACjD,uBAAuB,GAAG,IAAI,CAAC;wBACjC,CAAC;6BAAM,IAAI,uBAAuB,EAAE,CAAC;4BACnC,MAAM,OAAO,GAAG,uBAAuB,CAAC;4BACxC,uBAAuB,GAAG,IAAI,CAAC;4BAC/B,qBAAqB,GAAG,OAAO,CAAC,KAAK,CAAC;4BACtC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;wBAC/C,CAAC;6BAAM,CAAC;4BACN,OAAO,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;wBAChC,CAAC;oBACH,CAAC;gBACH,CAAC;gBACD,IAAI,iBAAiB,KAAK,CAAC;oBAAE,0BAA0B,GAAG,KAAK,CAAC;YAClE,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["import {\n createFpsEditorLifecycleCoordinator,\n} from '@fps-games/editor-core/lifecycle';\nimport type { FpsEditorEventRoute } from '@fps-games/editor-core/events';\nimport {\n waitForPlayableLocalEditorPaint,\n waitForPlayableMilliseconds,\n} from './timing';\nimport type {\n PlayableLocalEditorDataSafetyOperation,\n PlayableLocalEditorLifecycleController,\n PlayableLocalEditorLifecycleControllerOptions,\n PlayableLocalEditorLifecycleOperationContext,\n PlayableLocalEditorLoadingOverlayContent,\n PlayableLocalEditorPreparedRun,\n PlayableLocalEditorLifecycleScopeInput,\n PlayableLocalEditorSaveFailureState,\n PlayableLocalEditorSaveFailureInput,\n PlayableLocalEditorUnsavedChangesState,\n} from './types';\n\nexport const PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID = 'editor:application';\nexport const PLAYABLE_LOCAL_EDITOR_PROJECT_SCOPE_ID = 'editor:project';\nexport const PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID = 'editor:document:main';\nexport const PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID = 'editor:session:main';\nexport const PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID = 'editor:preview:main';\n\ntype LifecycleScopeRecord = {\n readonly input: PlayableLocalEditorLifecycleScopeInput;\n readonly disposers: Set<() => void | Promise<void>>;\n ready: Promise<void>;\n closing: Promise<void> | null;\n failed: boolean;\n backingOpened: boolean;\n lifecycleOpened: boolean;\n closeRequested: boolean;\n closeEventRoute: FpsEditorEventRoute | null;\n};\n\nclass PlayableLocalEditorSaveRejectedError extends Error {\n constructor() {\n super('Local editor save was rejected.');\n this.name = 'PlayableLocalEditorSaveRejectedError';\n }\n}\n\nexport function createPlayableLocalEditorLifecycleController(\n options: PlayableLocalEditorLifecycleControllerOptions,\n): PlayableLocalEditorLifecycleController {\n const waitForPaint = options.waitForPaint ?? waitForPlayableLocalEditorPaint;\n const waitForMilliseconds = options.waitForMilliseconds ?? waitForPlayableMilliseconds;\n const now = options.now ?? (() => Date.now());\n const minAssetLoadingOverlayMs = options.minAssetLoadingOverlayMs ?? 500;\n const viewportRevealReason = options.viewportRevealReason ?? 'editor-loading-overlay-hidden';\n const renderAfterEnter = options.renderAfterEnter ?? true;\n const initialUnsavedChanges = options.harness.getUnsavedChangesState?.();\n const initialCoordinatorProfile = options.initialMode === 'edit'\n && initialUnsavedChanges?.hasWorkingDocument === true\n ? initialUnsavedChanges.dirty ? 'editing-dirty' : 'editing-clean'\n : 'created';\n const coordinator = createFpsEditorLifecycleCoordinator({\n now,\n initialState: initialCoordinatorProfile,\n eventPublisher: options.eventPublisher,\n report: options.reportDiagnostic,\n });\n const lifecycle = Object.freeze({\n getSnapshot: coordinator.getSnapshot,\n subscribe: coordinator.subscribe,\n });\n const scopes = new Map<string, LifecycleScopeRecord>();\n const pendingScopeResources = new Map<string, Set<() => void | Promise<void>>>();\n const assertScopeCanOpen = (input: PlayableLocalEditorLifecycleScopeInput): void => {\n const lifecycleSnapshot = coordinator.getSnapshot();\n if (lifecycleSnapshot.transitioning || lifecycleSnapshot.application !== 'ready') {\n throw new Error(`Editor lifecycle cannot open a scope while application is ${lifecycleSnapshot.application}.`);\n }\n let parentId = input.parentId;\n while (parentId) {\n const parent = scopes.get(parentId);\n if (!parent || parent.closing || parent.failed) {\n throw new Error(`Editor lifecycle scope parent is not open: ${parentId}`);\n }\n parentId = parent.input.parentId;\n }\n };\n const openScope = async (input: PlayableLocalEditorLifecycleScopeInput): Promise<void> => {\n assertScopeCanOpen(input);\n const existing = scopes.get(input.id);\n if (existing) {\n if (existing.input.scope !== input.scope || existing.input.parentId !== input.parentId) {\n throw new Error(`Editor lifecycle scope identity conflicts with the existing scope: ${input.id}`);\n }\n if (existing.closing) throw new Error(`Editor lifecycle scope is closing: ${input.id}`);\n if (existing.failed) {\n await closeScope(input.id);\n return openScope(input);\n }\n return existing.ready;\n }\n const record: LifecycleScopeRecord = {\n input: Object.freeze({ ...input }),\n disposers: pendingScopeResources.get(input.id) ?? new Set(),\n ready: Promise.resolve(),\n closing: null,\n failed: false,\n backingOpened: false,\n lifecycleOpened: false,\n closeRequested: false,\n closeEventRoute: null,\n };\n pendingScopeResources.delete(input.id);\n scopes.set(input.id, record);\n record.ready = (async () => {\n if (input.parentId) {\n const parent = scopes.get(input.parentId);\n if (!parent) throw new Error(`Editor lifecycle scope parent is not open: ${input.parentId}`);\n await parent.ready;\n assertScopeCanOpen(input);\n }\n if (record.closeRequested) return;\n // A backing host may retain a partially-started scope when its rollback\n // cleanup fails. Reserve that ownership before awaiting so closeScope can\n // retry cleanup even when openScope rejects.\n record.backingOpened = options.scopeHost !== undefined;\n await options.scopeHost?.openScope(input);\n if (record.closeRequested) return;\n coordinator.openScope(input);\n record.lifecycleOpened = true;\n })();\n try {\n await record.ready;\n } catch (error) {\n let cleanupError: unknown;\n try { await closeScope(input.id); } catch (caught) { cleanupError = caught; }\n if (cleanupError) {\n const combined = new Error(`Editor lifecycle scope open and cleanup failed: ${input.id}`) as Error & { errors: unknown[] };\n combined.errors = [error, cleanupError];\n throw combined;\n }\n throw error;\n }\n };\n const addScopeResource = (scopeId: string, disposer: () => void | Promise<void>): (() => void) => {\n const record = scopes.get(scopeId);\n if (record?.closing || record?.failed) throw new Error(`Editor lifecycle scope is not open: ${scopeId}`);\n if (!record && scopeId !== PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID) {\n throw new Error(`Editor lifecycle scope is not open: ${scopeId}`);\n }\n const resources = record?.disposers ?? pendingScopeResources.get(scopeId) ?? new Set();\n if (!record) pendingScopeResources.set(scopeId, resources);\n resources.add(disposer);\n let active = true;\n return () => {\n if (!active) return;\n active = false;\n resources.delete(disposer);\n if (!record && resources.size === 0) pendingScopeResources.delete(scopeId);\n };\n };\n const closeScope = async (scopeId: string): Promise<void> => {\n const record = scopes.get(scopeId);\n if (!record) {\n const pendingResources = pendingScopeResources.get(scopeId);\n if (!pendingResources) return;\n for (const disposer of [...pendingResources].reverse()) {\n await disposer();\n pendingResources.delete(disposer);\n }\n pendingScopeResources.delete(scopeId);\n return;\n }\n if (record.closing) return record.closing;\n record.closeEventRoute ??= options.eventPublisher?.captureRoute({\n scope: record.input.scope,\n scopeId,\n }) ?? null;\n record.closeRequested = true;\n let backingReservationError: unknown;\n if (record.backingOpened) {\n try { options.scopeHost?.reserveScopeClose(scopeId); }\n catch (error) { backingReservationError = error; }\n }\n record.closing = (async () => {\n const errors: unknown[] = [];\n try { await record.ready; }\n catch { /* The open caller owns and reports setup failures. */ }\n if (backingReservationError) errors.push(backingReservationError);\n if (errors.length === 0) {\n const children = [...scopes.values()]\n .filter(candidate => candidate.input.parentId === scopeId)\n .reverse();\n for (const child of children) {\n try { await closeScope(child.input.id); }\n catch (error) {\n errors.push(error);\n break;\n }\n }\n }\n const remainingChildren = [...scopes.values()].filter(candidate => candidate.input.parentId === scopeId);\n if (errors.length === 0 && remainingChildren.length > 0) {\n errors.push(new Error(`Editor lifecycle scope still has open children: ${scopeId}`));\n }\n if (errors.length === 0 && record.backingOpened) {\n try {\n await options.scopeHost?.closeScope(scopeId);\n record.backingOpened = false;\n } catch (error) { errors.push(error); }\n }\n if (errors.length === 0 && remainingChildren.length === 0) {\n for (const disposer of [...record.disposers].reverse()) {\n try {\n await disposer();\n record.disposers.delete(disposer);\n }\n catch (error) {\n // Preserve dependency order: untouched earlier resources stay owned\n // until the failed later resource can be released on a retry.\n errors.push(error);\n break;\n }\n }\n }\n if (errors.length === 0 && record.lifecycleOpened) {\n try {\n coordinator.closeScope(scopeId, record.closeEventRoute ?? undefined);\n record.lifecycleOpened = false;\n } catch (error) { errors.push(error); }\n }\n if (errors.length > 0) {\n record.failed = true;\n coordinator.failScope(scopeId);\n const error = new Error(`Editor lifecycle scope cleanup failed: ${scopeId}`) as Error & { errors: unknown[] };\n error.errors = errors;\n throw error;\n }\n scopes.delete(scopeId);\n })().finally(() => {\n if (scopes.get(scopeId) === record) record.closing = null;\n });\n return record.closing;\n };\n let assetLoadingCount = 0;\n let assetLoadingOverlayOwned = false;\n let assetLoadingOverlayWaiting = false;\n let assetLoadingOverlayShownAt = 0;\n let preparationEpoch = 0;\n let lifecycleOverlayOwner: number | null = null;\n let pendingLifecycleOverlay: {\n epoch: number;\n content: PlayableLocalEditorLoadingOverlayContent;\n } | null = null;\n let pendingDocumentDirty: boolean | undefined;\n let documentSynchronization: Promise<void> | null = null;\n\n const readLifecycleRevision = (): number => coordinator.getSnapshot().revision;\n\n const ensureApplicationAndProject = async (\n context?: PlayableLocalEditorLifecycleOperationContext,\n ): Promise<void> => {\n let current = coordinator.getSnapshot();\n if (current.transitioning) throw new Error('Editor lifecycle transition already in progress.');\n if (current.application === 'created') {\n await coordinator.transition({ type: 'application.start', ...context });\n current = coordinator.getSnapshot();\n }\n if (current.application !== 'ready') {\n throw new Error(`Editor application is not ready: ${current.application}.`);\n }\n await openScope({ id: PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID, scope: 'application' });\n options.operations.attachApplicationAuthority?.();\n if (current.project === 'closed') {\n await coordinator.transition({ type: 'project.open', ...context });\n }\n await openScope({\n id: PLAYABLE_LOCAL_EDITOR_PROJECT_SCOPE_ID,\n scope: 'project',\n parentId: PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID,\n });\n };\n\n const ensureEditingState = async (\n load: (() => Promise<void>) | undefined = options.operations.loadDocument,\n enter: (() => Promise<void>) | undefined = options.operations.enterWorld,\n context?: PlayableLocalEditorLifecycleOperationContext,\n ): Promise<void> => {\n await ensureApplicationAndProject(context);\n let current = coordinator.getSnapshot();\n const workingDocumentAvailable = readUnsavedChangesState().hasWorkingDocument;\n await openScope({\n id: PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID,\n scope: 'document',\n parentId: PLAYABLE_LOCAL_EDITOR_PROJECT_SCOPE_ID,\n });\n await openScope({\n id: PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID,\n scope: 'session',\n parentId: PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID,\n });\n if (current.document === 'unloaded' || (current.document === 'failed' && !workingDocumentAvailable)) {\n try {\n await coordinator.transition({ type: 'document.load', ...context, ...(load ? { operation: load } : {}) });\n options.operations.attachSessionAuthority?.();\n current = coordinator.getSnapshot();\n } catch (error) {\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID);\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID);\n throw error;\n }\n } else {\n options.operations.attachSessionAuthority?.();\n }\n try {\n await openScope({\n id: PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID,\n scope: 'preview',\n parentId: PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID,\n });\n } catch (error) {\n // A failed Preview rollback remains a child of Session and owns the\n // loaded document graph. Do not retry that same cleanup indirectly by\n // tearing down its ancestors in the same enter attempt.\n if (scopes.has(PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID)) throw error;\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID);\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID);\n throw error;\n }\n if (current.mode === 'failed') {\n try {\n if (current.preview === 'failed') await disposePreview(context);\n await coordinator.transition({ type: 'mode.recoverEdit', ...context, ...(enter ? { operation: enter } : {}) });\n } catch (error) {\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID);\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID);\n throw error;\n }\n current = coordinator.getSnapshot();\n }\n if (current.mode === 'play') {\n try {\n await coordinator.transition({ type: 'mode.enterEdit', ...context, ...(enter ? { operation: enter } : {}) });\n } catch (error) {\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID);\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID);\n throw error;\n }\n current = coordinator.getSnapshot();\n }\n if (current.mode !== 'edit') throw new Error(`Editor mode is not ready: ${current.mode}.`);\n if (current.preview === 'absent') {\n await coordinator.transition({ type: 'preview.create', ...context });\n current = coordinator.getSnapshot();\n }\n if (current.document === 'failed') {\n await coordinator.transition({\n type: readUnsavedChangesState().dirty ? 'document.markDirty' : 'document.markClean',\n ...context,\n });\n }\n };\n\n const disposePreview = async (\n context?: PlayableLocalEditorLifecycleOperationContext,\n ): Promise<void> => {\n const current = coordinator.getSnapshot();\n if (current.preview === 'active' || current.preview === 'failed') {\n await coordinator.transition({\n type: 'preview.dispose',\n ...context,\n operation: () => closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID),\n });\n return;\n }\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID);\n };\n\n const closeEditingScopes = async (): Promise<void> => {\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID);\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID);\n };\n\n const runGameAfterReleasingPluginScopes = async (reason: 'save' | 'discard'): Promise<void> => {\n // Replacement runtimes use the same stable Plugin scope ids. Release the\n // complete old scope tree before restart can mount the replacement editor.\n await closeScope(PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID);\n await options.operations.runGame(reason);\n };\n\n const waitForLifecycleIdle = async (): Promise<void> => {\n if (!coordinator.getSnapshot().transitioning) return;\n await new Promise<void>(resolve => {\n const dispose = coordinator.subscribe(snapshot => {\n if (snapshot.transitioning) return;\n dispose();\n resolve();\n });\n if (!coordinator.getSnapshot().transitioning) {\n dispose();\n resolve();\n }\n });\n };\n\n const reconcileDocumentState = async (dirty: boolean): Promise<void> => {\n await waitForLifecycleIdle();\n const current = coordinator.getSnapshot();\n if (current.project !== 'open' || current.mode !== 'edit') return;\n if (dirty && current.document !== 'dirty') {\n if (current.document === 'clean' || current.document === 'committing') {\n await coordinator.transition({ type: 'document.markDirty' });\n }\n return;\n }\n if (!dirty && current.document === 'dirty') {\n await coordinator.transition({ type: 'document.markClean' });\n }\n };\n\n const drainDocumentSynchronization = async (): Promise<void> => {\n while (pendingDocumentDirty !== undefined) {\n const dirty = pendingDocumentDirty;\n pendingDocumentDirty = undefined;\n try {\n await reconcileDocumentState(dirty);\n } catch (error) {\n if (!coordinator.getSnapshot().transitioning) throw error;\n pendingDocumentDirty = dirty;\n }\n }\n };\n\n const synchronizeDocumentState = (dirty: boolean): Promise<void> => {\n pendingDocumentDirty = dirty;\n if (!documentSynchronization) {\n documentSynchronization = drainDocumentSynchronization().finally(() => {\n documentSynchronization = null;\n if (pendingDocumentDirty !== undefined) void synchronizeDocumentState(pendingDocumentDirty);\n });\n }\n return documentSynchronization;\n };\n\n const waitForDocumentSynchronization = async (): Promise<void> => {\n if (documentSynchronization) await documentSynchronization;\n };\n\n const notifySaveFailed = async (\n operation: PlayableLocalEditorDataSafetyOperation,\n error?: unknown,\n ): Promise<void> => {\n const notify = options.interactions?.notifySaveFailed;\n if (!notify) return;\n let state: PlayableLocalEditorSaveFailureState | null | undefined;\n try {\n state = options.harness.getSaveFailureState?.();\n } catch (stateError) {\n console.error('[PlayableLocalEditorLifecycle] save failure state unavailable', stateError);\n }\n const input: PlayableLocalEditorSaveFailureInput = {\n operation,\n status: state?.status ?? (error instanceof Error ? error.message : undefined),\n details: state?.details,\n error: error ?? state?.error,\n };\n try {\n await notify(input);\n } catch (notifyError) {\n console.error('[PlayableLocalEditorLifecycle] save failure notification failed', notifyError);\n }\n };\n\n const prepareDocumentSave = async (\n save: () => Promise<void>,\n context?: PlayableLocalEditorLifecycleOperationContext,\n ): Promise<void> => {\n await waitForDocumentSynchronization();\n await ensureEditingState(undefined, undefined, context);\n await synchronizeDocumentState(readUnsavedChangesState().dirty);\n await coordinator.transition({ type: 'document.prepareSave', ...context, operation: save });\n };\n\n const commitDocumentSave = async (\n commit?: () => Promise<void>,\n context?: PlayableLocalEditorLifecycleOperationContext,\n ): Promise<void> => {\n await coordinator.transition({ type: 'document.commit', ...context, ...(commit ? { operation: commit } : {}) });\n };\n\n const saveScene = async (\n operation: PlayableLocalEditorDataSafetyOperation = 'save-scene',\n context?: PlayableLocalEditorLifecycleOperationContext,\n ): Promise<boolean> => {\n let saved = false;\n try {\n await prepareDocumentSave(async () => {\n saved = await options.harness.saveScene();\n if (!saved) throw new PlayableLocalEditorSaveRejectedError();\n }, context);\n await commitDocumentSave(undefined, context);\n return true;\n } catch (error) {\n if (error instanceof PlayableLocalEditorSaveRejectedError) {\n await notifySaveFailed(operation);\n return false;\n }\n await notifySaveFailed(operation, error);\n throw error;\n }\n };\n\n const readUnsavedChangesState = (): PlayableLocalEditorUnsavedChangesState => (\n options.harness.getUnsavedChangesState?.() ?? {\n dirty: false,\n hasWorkingDocument: false,\n }\n );\n\n const confirmDiscardIfNeeded = async (\n operation: PlayableLocalEditorDataSafetyOperation,\n ): Promise<boolean> => {\n const unsavedChanges = readUnsavedChangesState();\n if (!unsavedChanges.dirty || !unsavedChanges.hasWorkingDocument) return true;\n try {\n return await options.interactions?.confirmDiscardUnsavedChanges?.({\n operation,\n unsavedChanges,\n }) !== false;\n } catch (error) {\n console.error('[PlayableLocalEditorLifecycle] discard confirmation failed', error);\n return false;\n }\n };\n\n const beginPreparation = (): { epoch: number; revision: number } => {\n pendingLifecycleOverlay = null;\n if (lifecycleOverlayOwner !== null) {\n lifecycleOverlayOwner = null;\n const ownsOverlay = options.loadingOverlay.isOwned?.() !== false;\n if (ownsOverlay && assetLoadingCount > 0 && assetLoadingOverlayWaiting) {\n assetLoadingOverlayWaiting = false;\n assetLoadingOverlayOwned = true;\n assetLoadingOverlayShownAt = now();\n options.loadingOverlay.show(options.content.assetImport);\n } else if (ownsOverlay) {\n options.loadingOverlay.hide();\n }\n }\n return { epoch: ++preparationEpoch, revision: readLifecycleRevision() };\n };\n\n const showLifecycleOverlay = (\n preparation: { epoch: number },\n content: PlayableLocalEditorLoadingOverlayContent,\n ): void => {\n if (options.loadingOverlay.isVisible()) {\n if (options.loadingOverlay.isOwned?.() !== false) {\n pendingLifecycleOverlay = { epoch: preparation.epoch, content };\n }\n return;\n }\n options.loadingOverlay.show(content);\n lifecycleOverlayOwner = preparation.epoch;\n };\n\n const hideLifecycleOverlay = (epoch: number): void => {\n if (pendingLifecycleOverlay?.epoch === epoch) pendingLifecycleOverlay = null;\n if (lifecycleOverlayOwner !== epoch) return;\n lifecycleOverlayOwner = null;\n if (options.loadingOverlay.isOwned?.() === false) return;\n if (assetLoadingCount > 0 && assetLoadingOverlayWaiting) {\n assetLoadingOverlayWaiting = false;\n assetLoadingOverlayOwned = true;\n assetLoadingOverlayShownAt = now();\n options.loadingOverlay.show(options.content.assetImport);\n return;\n }\n options.loadingOverlay.hide();\n };\n\n const isPreparationCurrent = (preparation: { epoch: number; revision: number }): boolean => (\n preparation.epoch === preparationEpoch\n && preparation.revision === readLifecycleRevision()\n );\n\n const createPreparedRun = (\n preparation: { epoch: number; revision: number },\n run: () => Promise<void>,\n ): PlayableLocalEditorPreparedRun => {\n let consumed = false;\n return {\n accepted: true,\n async run() {\n if (consumed) throw new Error('Prepared editor lifecycle operation was already consumed.');\n if (!isPreparationCurrent(preparation)) {\n consumed = true;\n hideLifecycleOverlay(preparation.epoch);\n throw new Error('Prepared editor lifecycle operation is stale.');\n }\n consumed = true;\n await run();\n },\n };\n };\n\n const prepareSaveAndRunGame = async (\n context?: PlayableLocalEditorLifecycleOperationContext,\n ): Promise<PlayableLocalEditorPreparedRun> => {\n const preparation = beginPreparation();\n showLifecycleOverlay(preparation, options.content.saveAndRunGame);\n try {\n await waitForPaint();\n const saved = await saveScene('save-and-run-game', context);\n if (!saved || preparation.epoch !== preparationEpoch) {\n hideLifecycleOverlay(preparation.epoch);\n return { accepted: false };\n }\n preparation.revision = readLifecycleRevision();\n return createPreparedRun(preparation, async () => {\n try {\n await disposePreview(context);\n await coordinator.transition({\n type: 'mode.exitEdit',\n ...context,\n operation: () => runGameAfterReleasingPluginScopes('save'),\n });\n await closeEditingScopes();\n } finally {\n hideLifecycleOverlay(preparation.epoch);\n }\n });\n } catch (error) {\n hideLifecycleOverlay(preparation.epoch);\n throw error;\n }\n };\n\n const prepareDiscardAndRunGame = async (\n context?: PlayableLocalEditorLifecycleOperationContext,\n ): Promise<PlayableLocalEditorPreparedRun> => {\n await waitForDocumentSynchronization();\n await ensureEditingState(undefined, undefined, context);\n await synchronizeDocumentState(readUnsavedChangesState().dirty);\n const preparation = beginPreparation();\n if (!await confirmDiscardIfNeeded('discard-and-run-game')\n || !isPreparationCurrent(preparation)) return { accepted: false };\n showLifecycleOverlay(preparation, options.content.discardAndRunGame);\n try {\n await waitForPaint();\n if (!isPreparationCurrent(preparation)) {\n hideLifecycleOverlay(preparation.epoch);\n return { accepted: false };\n }\n return createPreparedRun(preparation, async () => {\n try {\n await coordinator.transition({\n type: 'document.discard',\n ...context,\n ...(options.operations?.restoreDocument\n ? { operation: options.operations.restoreDocument }\n : {}),\n });\n await disposePreview(context);\n await coordinator.transition({\n type: 'mode.exitEdit',\n ...context,\n operation: () => runGameAfterReleasingPluginScopes('discard'),\n });\n await closeEditingScopes();\n } finally {\n hideLifecycleOverlay(preparation.epoch);\n }\n });\n } catch (error) {\n hideLifecycleOverlay(preparation.epoch);\n throw error;\n }\n };\n\n return {\n lifecycle,\n registerParticipant: coordinator.registerParticipant,\n async enterEditor(context) {\n const preparation = beginPreparation();\n showLifecycleOverlay(preparation, {\n ...options.content.enter,\n presentation: 'editor-shell',\n });\n let entered = false;\n try {\n await waitForPaint();\n const before = coordinator.getSnapshot();\n const load = options.operations.loadDocument;\n const enter = options.operations.enterWorld\n ?? options.harness.enterEditor.bind(options.harness);\n await ensureEditingState(load, enter, context);\n entered = before.mode !== 'edit';\n if (renderAfterEnter) options.harness.render();\n await waitForPaint();\n } finally {\n hideLifecycleOverlay(preparation.epoch);\n if (entered) options.harness.notifyViewportRevealed?.(viewportRevealReason);\n }\n },\n saveScene,\n synchronizeDocumentState,\n prepareDocumentSave,\n commitDocumentSave,\n async runCommittedDocument(context) {\n await ensureEditingState(undefined, undefined, context);\n await synchronizeDocumentState(readUnsavedChangesState().dirty);\n const current = coordinator.getSnapshot();\n if (current.document !== 'clean') {\n throw new Error(`Cannot run an uncommitted editor document: ${current.document}.`);\n }\n await disposePreview(context);\n await coordinator.transition({\n type: 'mode.exitEdit',\n ...context,\n operation: () => runGameAfterReleasingPluginScopes('save'),\n });\n await closeEditingScopes();\n },\n prepareSaveAndRunGame,\n prepareDiscardAndRunGame,\n async saveAndRunGame(context) {\n const prepared = await prepareSaveAndRunGame(context);\n if (!prepared.accepted) return false;\n await prepared.run();\n return true;\n },\n async discardAndRunGame(context) {\n const prepared = await prepareDiscardAndRunGame(context);\n if (prepared.accepted) {\n await prepared.run();\n }\n return prepared.accepted;\n },\n openScope,\n addScopeResource,\n closeScope,\n async dispose(context) {\n if (coordinator.getSnapshot().application === 'disposed') return;\n await coordinator.transition({\n type: 'application.dispose',\n ...context,\n operation: () => closeScope(PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID),\n });\n },\n async runWithAssetLoadingOverlay(operation) {\n const shouldShowAssetLoading = !options.loadingOverlay.isVisible() && !assetLoadingOverlayOwned;\n assetLoadingCount += 1;\n if (shouldShowAssetLoading) {\n assetLoadingOverlayOwned = true;\n assetLoadingOverlayShownAt = now();\n options.loadingOverlay.show(options.content.assetImport);\n await waitForPaint();\n } else if (options.loadingOverlay.isVisible() && !assetLoadingOverlayOwned) {\n assetLoadingOverlayWaiting = true;\n }\n\n try {\n return await operation();\n } finally {\n assetLoadingCount = Math.max(0, assetLoadingCount - 1);\n if (assetLoadingCount === 0 && assetLoadingOverlayOwned) {\n const remaining = minAssetLoadingOverlayMs - (now() - assetLoadingOverlayShownAt);\n if (remaining > 0) await waitForMilliseconds(remaining);\n if (assetLoadingCount === 0 && assetLoadingOverlayOwned) {\n assetLoadingOverlayOwned = false;\n if (options.loadingOverlay.isOwned?.() === false) {\n pendingLifecycleOverlay = null;\n } else if (pendingLifecycleOverlay) {\n const pending = pendingLifecycleOverlay;\n pendingLifecycleOverlay = null;\n lifecycleOverlayOwner = pending.epoch;\n options.loadingOverlay.show(pending.content);\n } else {\n options.loadingOverlay.hide();\n }\n }\n }\n if (assetLoadingCount === 0) assetLoadingOverlayWaiting = false;\n }\n },\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"lifecycle.js","sourceRoot":"","sources":["../../src/local-harness/lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAAmC,GACpC,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACL,+BAA+B,EAC/B,2BAA2B,GAC5B,MAAM,UAAU,CAAC;AAgBlB,MAAM,CAAC,MAAM,0CAA0C,GAAG,oBAAoB,CAAC;AAC/E,MAAM,CAAC,MAAM,sCAAsC,GAAG,gBAAgB,CAAC;AACvE,MAAM,CAAC,MAAM,4CAA4C,GAAG,sBAAsB,CAAC;AACnF,MAAM,CAAC,MAAM,2CAA2C,GAAG,qBAAqB,CAAC;AACjF,MAAM,CAAC,MAAM,2CAA2C,GAAG,qBAAqB,CAAC;AAcjF,MAAM,oCAAqC,SAAQ,KAAK;IACtD;QACE,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACzC,IAAI,CAAC,IAAI,GAAG,sCAAsC,CAAC;IACrD,CAAC;CACF;AAED,MAAM,mCAAoC,SAAQ,KAAK;IACrD;QACE,KAAK,CAAC,sDAAsD,CAAC,CAAC;QAC9D,IAAI,CAAC,IAAI,GAAG,qCAAqC,CAAC;IACpD,CAAC;CACF;AAED,MAAM,UAAU,4CAA4C,CAC1D,OAAsD;IAEtD,MAAM,YAAY,GAAG,OAAO,CAAC,YAAY,IAAI,+BAA+B,CAAC;IAC7E,MAAM,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,IAAI,2BAA2B,CAAC;IACvF,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IA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AAM,SAAS,EAAE,CAAC;YAC3B,CAAC;oBAAS,CAAC;gBACT,iBAAiB,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,iBAAiB,GAAG,CAAC,CAAC,CAAC;gBACvD,IAAI,iBAAiB,KAAK,CAAC,IAAI,wBAAwB,EAAE,CAAC;oBACxD,MAAM,SAAS,GAAG,wBAAwB,GAAG,CAAC,GAAG,EAAE,GAAG,0BAA0B,CAAC,CAAC;oBAClF,IAAI,SAAS,GAAG,CAAC;wBAAE,MAAM,mBAAmB,CAAC,SAAS,CAAC,CAAC;oBACxD,IAAI,iBAAiB,KAAK,CAAC,IAAI,wBAAwB,EAAE,CAAC;wBACxD,wBAAwB,GAAG,KAAK,CAAC;wBACjC,IAAI,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,EAAE,KAAK,KAAK,EAAE,CAAC;4BACjD,uBAAuB,GAAG,IAAI,CAAC;wBACjC,CAAC;6BAAM,IAAI,uBAAuB,EAAE,CAAC;4BACnC,MAAM,OAAO,GAAG,uBAAuB,CAAC;4BACxC,uBAAuB,GAAG,IAAI,CAAC;4BAC/B,qBAAqB,GAAG,OAAO,CAAC,KAAK,CAAC;4BACtC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;wBAC/C,CAAC;6BAAM,CAAC;4BACN,OAAO,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;wBAChC,CAAC;oBACH,CAAC;gBACH,CAAC;gBACD,IAAI,iBAAiB,KAAK,CAAC;oBAAE,0BAA0B,GAAG,KAAK,CAAC;YAClE,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["import {\n createFpsEditorLifecycleCoordinator,\n} from '@fps-games/editor-core/lifecycle';\nimport type { FpsEditorEventRoute } from '@fps-games/editor-core/events';\nimport {\n waitForPlayableLocalEditorPaint,\n waitForPlayableMilliseconds,\n} from './timing';\nimport type {\n PlayableLocalEditorDataSafetyOperation,\n PlayableLocalEditorLifecycleController,\n PlayableLocalEditorLifecycleControllerOptions,\n PlayableLocalEditorDocumentOperationExecutor,\n PlayableLocalEditorLifecycleOperationContext,\n PlayableLocalEditorLoadingOverlayContent,\n PlayableLocalEditorPreparedRun,\n PlayableLocalEditorLifecycleScopeInput,\n PlayableLocalEditorSaveFailureState,\n PlayableLocalEditorSaveFailureInput,\n PlayableLocalEditorSaveOptions,\n PlayableLocalEditorUnsavedChangesState,\n} from './types';\n\nexport const PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID = 'editor:application';\nexport const PLAYABLE_LOCAL_EDITOR_PROJECT_SCOPE_ID = 'editor:project';\nexport const PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID = 'editor:document:main';\nexport const PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID = 'editor:session:main';\nexport const PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID = 'editor:preview:main';\n\ntype LifecycleScopeRecord = {\n readonly input: PlayableLocalEditorLifecycleScopeInput;\n readonly disposers: Set<() => void | Promise<void>>;\n ready: Promise<void>;\n closing: Promise<void> | null;\n failed: boolean;\n backingOpened: boolean;\n lifecycleOpened: boolean;\n closeRequested: boolean;\n closeEventRoute: FpsEditorEventRoute | null;\n};\n\nclass PlayableLocalEditorSaveRejectedError extends Error {\n constructor() {\n super('Local editor save was rejected.');\n this.name = 'PlayableLocalEditorSaveRejectedError';\n }\n}\n\nclass PlayableLocalEditorRunRejectedError extends Error {\n constructor() {\n super('Local editor Run was rejected by current validation.');\n this.name = 'PlayableLocalEditorRunRejectedError';\n }\n}\n\nexport function createPlayableLocalEditorLifecycleController(\n options: PlayableLocalEditorLifecycleControllerOptions,\n): PlayableLocalEditorLifecycleController {\n const waitForPaint = options.waitForPaint ?? waitForPlayableLocalEditorPaint;\n const waitForMilliseconds = options.waitForMilliseconds ?? waitForPlayableMilliseconds;\n const now = options.now ?? (() => Date.now());\n const minAssetLoadingOverlayMs = options.minAssetLoadingOverlayMs ?? 500;\n const viewportRevealReason = options.viewportRevealReason ?? 'editor-loading-overlay-hidden';\n const renderAfterEnter = options.renderAfterEnter ?? true;\n const initialUnsavedChanges = options.harness.getUnsavedChangesState?.();\n const initialCoordinatorProfile = options.initialMode === 'edit'\n && initialUnsavedChanges?.hasWorkingDocument === true\n ? initialUnsavedChanges.dirty ? 'editing-dirty' : 'editing-clean'\n : 'created';\n const coordinator = createFpsEditorLifecycleCoordinator({\n now,\n initialState: initialCoordinatorProfile,\n eventPublisher: options.eventPublisher,\n report: options.reportDiagnostic,\n });\n const lifecycle = Object.freeze({\n getSnapshot: coordinator.getSnapshot,\n subscribe: coordinator.subscribe,\n });\n const scopes = new Map<string, LifecycleScopeRecord>();\n const pendingScopeResources = new Map<string, Set<() => void | Promise<void>>>();\n const assertScopeCanOpen = (input: PlayableLocalEditorLifecycleScopeInput): void => {\n const lifecycleSnapshot = coordinator.getSnapshot();\n if (lifecycleSnapshot.transitioning || lifecycleSnapshot.application !== 'ready') {\n throw new Error(`Editor lifecycle cannot open a scope while application is ${lifecycleSnapshot.application}.`);\n }\n let parentId = input.parentId;\n while (parentId) {\n const parent = scopes.get(parentId);\n if (!parent || parent.closing || parent.failed) {\n throw new Error(`Editor lifecycle scope parent is not open: ${parentId}`);\n }\n parentId = parent.input.parentId;\n }\n };\n const openScope = async (input: PlayableLocalEditorLifecycleScopeInput): Promise<void> => {\n assertScopeCanOpen(input);\n const existing = scopes.get(input.id);\n if (existing) {\n if (existing.input.scope !== input.scope || existing.input.parentId !== input.parentId) {\n throw new Error(`Editor lifecycle scope identity conflicts with the existing scope: ${input.id}`);\n }\n if (existing.closing) throw new Error(`Editor lifecycle scope is closing: ${input.id}`);\n if (existing.failed) {\n await closeScope(input.id);\n return openScope(input);\n }\n return existing.ready;\n }\n const record: LifecycleScopeRecord = {\n input: Object.freeze({ ...input }),\n disposers: pendingScopeResources.get(input.id) ?? new Set(),\n ready: Promise.resolve(),\n closing: null,\n failed: false,\n backingOpened: false,\n lifecycleOpened: false,\n closeRequested: false,\n closeEventRoute: null,\n };\n pendingScopeResources.delete(input.id);\n scopes.set(input.id, record);\n record.ready = (async () => {\n if (input.parentId) {\n const parent = scopes.get(input.parentId);\n if (!parent) throw new Error(`Editor lifecycle scope parent is not open: ${input.parentId}`);\n await parent.ready;\n assertScopeCanOpen(input);\n }\n if (record.closeRequested) return;\n // A backing host may retain a partially-started scope when its rollback\n // cleanup fails. Reserve that ownership before awaiting so closeScope can\n // retry cleanup even when openScope rejects.\n record.backingOpened = options.scopeHost !== undefined;\n await options.scopeHost?.openScope(input);\n if (record.closeRequested) return;\n coordinator.openScope(input);\n record.lifecycleOpened = true;\n })();\n try {\n await record.ready;\n } catch (error) {\n let cleanupError: unknown;\n try { await closeScope(input.id); } catch (caught) { cleanupError = caught; }\n if (cleanupError) {\n const combined = new Error(`Editor lifecycle scope open and cleanup failed: ${input.id}`) as Error & { errors: unknown[] };\n combined.errors = [error, cleanupError];\n throw combined;\n }\n throw error;\n }\n };\n const addScopeResource = (scopeId: string, disposer: () => void | Promise<void>): (() => void) => {\n const record = scopes.get(scopeId);\n if (record?.closing || record?.failed) throw new Error(`Editor lifecycle scope is not open: ${scopeId}`);\n if (!record && scopeId !== PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID) {\n throw new Error(`Editor lifecycle scope is not open: ${scopeId}`);\n }\n const resources = record?.disposers ?? pendingScopeResources.get(scopeId) ?? new Set();\n if (!record) pendingScopeResources.set(scopeId, resources);\n resources.add(disposer);\n let active = true;\n return () => {\n if (!active) return;\n active = false;\n resources.delete(disposer);\n if (!record && resources.size === 0) pendingScopeResources.delete(scopeId);\n };\n };\n const closeScope = async (scopeId: string): Promise<void> => {\n const record = scopes.get(scopeId);\n if (!record) {\n const pendingResources = pendingScopeResources.get(scopeId);\n if (!pendingResources) return;\n for (const disposer of [...pendingResources].reverse()) {\n await disposer();\n pendingResources.delete(disposer);\n }\n pendingScopeResources.delete(scopeId);\n return;\n }\n if (record.closing) return record.closing;\n record.closeEventRoute ??= options.eventPublisher?.captureRoute({\n scope: record.input.scope,\n scopeId,\n }) ?? null;\n record.closeRequested = true;\n let backingReservationError: unknown;\n if (record.backingOpened) {\n try { options.scopeHost?.reserveScopeClose(scopeId); }\n catch (error) { backingReservationError = error; }\n }\n record.closing = (async () => {\n const errors: unknown[] = [];\n try { await record.ready; }\n catch { /* The open caller owns and reports setup failures. */ }\n if (backingReservationError) errors.push(backingReservationError);\n if (errors.length === 0) {\n const children = [...scopes.values()]\n .filter(candidate => candidate.input.parentId === scopeId)\n .reverse();\n for (const child of children) {\n try { await closeScope(child.input.id); }\n catch (error) {\n errors.push(error);\n break;\n }\n }\n }\n const remainingChildren = [...scopes.values()].filter(candidate => candidate.input.parentId === scopeId);\n if (errors.length === 0 && remainingChildren.length > 0) {\n errors.push(new Error(`Editor lifecycle scope still has open children: ${scopeId}`));\n }\n if (errors.length === 0 && record.backingOpened) {\n try {\n await options.scopeHost?.closeScope(scopeId);\n record.backingOpened = false;\n } catch (error) { errors.push(error); }\n }\n if (errors.length === 0 && remainingChildren.length === 0) {\n for (const disposer of [...record.disposers].reverse()) {\n try {\n await disposer();\n record.disposers.delete(disposer);\n }\n catch (error) {\n // Preserve dependency order: untouched earlier resources stay owned\n // until the failed later resource can be released on a retry.\n errors.push(error);\n break;\n }\n }\n }\n if (errors.length === 0 && record.lifecycleOpened) {\n try {\n coordinator.closeScope(scopeId, record.closeEventRoute ?? undefined);\n record.lifecycleOpened = false;\n } catch (error) { errors.push(error); }\n }\n if (errors.length > 0) {\n record.failed = true;\n coordinator.failScope(scopeId);\n const error = new Error(`Editor lifecycle scope cleanup failed: ${scopeId}`) as Error & { errors: unknown[] };\n error.errors = errors;\n throw error;\n }\n scopes.delete(scopeId);\n })().finally(() => {\n if (scopes.get(scopeId) === record) record.closing = null;\n });\n return record.closing;\n };\n let assetLoadingCount = 0;\n let assetLoadingOverlayOwned = false;\n let assetLoadingOverlayWaiting = false;\n let assetLoadingOverlayShownAt = 0;\n let preparationEpoch = 0;\n let lifecycleOverlayOwner: number | null = null;\n let pendingLifecycleOverlay: {\n epoch: number;\n content: PlayableLocalEditorLoadingOverlayContent;\n } | null = null;\n let pendingDocumentDirty: boolean | undefined;\n let documentSynchronization: Promise<void> | null = null;\n\n const readLifecycleRevision = (): number => coordinator.getSnapshot().revision;\n const readDocumentRevision = (): number => (\n options.harness.getDocumentRevision?.() ?? readLifecycleRevision()\n );\n\n const ensureApplicationAndProject = async (\n context?: PlayableLocalEditorLifecycleOperationContext,\n ): Promise<void> => {\n let current = coordinator.getSnapshot();\n if (current.transitioning) throw new Error('Editor lifecycle transition already in progress.');\n if (current.application === 'created') {\n await coordinator.transition({ type: 'application.start', ...context });\n current = coordinator.getSnapshot();\n }\n if (current.application !== 'ready') {\n throw new Error(`Editor application is not ready: ${current.application}.`);\n }\n await openScope({ id: PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID, scope: 'application' });\n options.operations.attachApplicationAuthority?.();\n if (current.project === 'closed') {\n await coordinator.transition({ type: 'project.open', ...context });\n }\n await openScope({\n id: PLAYABLE_LOCAL_EDITOR_PROJECT_SCOPE_ID,\n scope: 'project',\n parentId: PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID,\n });\n };\n\n const ensureEditingState = async (\n load: (() => Promise<void>) | undefined = options.operations.loadDocument,\n enter: (() => Promise<void>) | undefined = options.operations.enterWorld,\n context?: PlayableLocalEditorLifecycleOperationContext,\n ): Promise<void> => {\n await ensureApplicationAndProject(context);\n let current = coordinator.getSnapshot();\n const workingDocumentAvailable = readUnsavedChangesState().hasWorkingDocument;\n await openScope({\n id: PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID,\n scope: 'document',\n parentId: PLAYABLE_LOCAL_EDITOR_PROJECT_SCOPE_ID,\n });\n await openScope({\n id: PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID,\n scope: 'session',\n parentId: PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID,\n });\n if (current.document === 'unloaded' || (current.document === 'failed' && !workingDocumentAvailable)) {\n try {\n await coordinator.transition({ type: 'document.load', ...context, ...(load ? { operation: load } : {}) });\n options.operations.attachSessionAuthority?.();\n current = coordinator.getSnapshot();\n } catch (error) {\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID);\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID);\n throw error;\n }\n } else {\n options.operations.attachSessionAuthority?.();\n }\n try {\n await openScope({\n id: PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID,\n scope: 'preview',\n parentId: PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID,\n });\n } catch (error) {\n // A failed Preview rollback remains a child of Session and owns the\n // loaded document graph. Do not retry that same cleanup indirectly by\n // tearing down its ancestors in the same enter attempt.\n if (scopes.has(PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID)) throw error;\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID);\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID);\n throw error;\n }\n if (current.mode === 'failed') {\n try {\n if (current.preview === 'failed') await disposePreview(context);\n await coordinator.transition({ type: 'mode.recoverEdit', ...context, ...(enter ? { operation: enter } : {}) });\n } catch (error) {\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID);\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID);\n throw error;\n }\n current = coordinator.getSnapshot();\n }\n if (current.mode === 'play') {\n try {\n await coordinator.transition({ type: 'mode.enterEdit', ...context, ...(enter ? { operation: enter } : {}) });\n } catch (error) {\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID);\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID);\n throw error;\n }\n current = coordinator.getSnapshot();\n }\n if (current.mode !== 'edit') throw new Error(`Editor mode is not ready: ${current.mode}.`);\n if (current.preview === 'absent') {\n await coordinator.transition({ type: 'preview.create', ...context });\n current = coordinator.getSnapshot();\n }\n if (current.document === 'failed') {\n await coordinator.transition({\n type: readUnsavedChangesState().dirty ? 'document.markDirty' : 'document.markClean',\n ...context,\n });\n }\n };\n\n const disposePreview = async (\n context?: PlayableLocalEditorLifecycleOperationContext,\n ): Promise<void> => {\n const current = coordinator.getSnapshot();\n if (current.preview === 'active' || current.preview === 'failed') {\n await coordinator.transition({\n type: 'preview.dispose',\n ...context,\n operation: () => closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID),\n });\n return;\n }\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID);\n };\n\n const closeEditingScopes = async (): Promise<void> => {\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID);\n await closeScope(PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID);\n };\n\n const runGameAfterReleasingPluginScopes = async (reason: 'save' | 'discard'): Promise<void> => {\n // Replacement runtimes use the same stable Plugin scope ids. Release the\n // complete old scope tree before restart can mount the replacement editor.\n await closeScope(PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID);\n await options.operations.runGame(reason);\n };\n\n const validateRun = async (): Promise<boolean> => (\n options.operations.validateRun ? options.operations.validateRun() : true\n );\n const runExclusiveDocumentOperation = <T>(\n operation: (executor: PlayableLocalEditorDocumentOperationExecutor) => Promise<T>,\n executor?: PlayableLocalEditorDocumentOperationExecutor,\n ): Promise<T> => (\n options.harness.runExclusiveDocumentOperation(operation, executor)\n );\n\n const preflightRun = (): Promise<boolean> => runExclusiveDocumentOperation(async () => {\n const preparation = beginPreparation();\n return await validateRun() && isPreparationCurrent(preparation);\n });\n\n const waitForLifecycleIdle = async (): Promise<void> => {\n if (!coordinator.getSnapshot().transitioning) return;\n await new Promise<void>(resolve => {\n const dispose = coordinator.subscribe(snapshot => {\n if (snapshot.transitioning) return;\n dispose();\n resolve();\n });\n if (!coordinator.getSnapshot().transitioning) {\n dispose();\n resolve();\n }\n });\n };\n\n const reconcileDocumentState = async (dirty: boolean): Promise<void> => {\n await waitForLifecycleIdle();\n const current = coordinator.getSnapshot();\n if (current.project !== 'open' || current.mode !== 'edit') return;\n if (dirty && current.document !== 'dirty') {\n if (current.document === 'clean' || current.document === 'committing') {\n await coordinator.transition({ type: 'document.markDirty' });\n }\n return;\n }\n if (!dirty && current.document === 'dirty') {\n await coordinator.transition({ type: 'document.markClean' });\n }\n };\n\n const drainDocumentSynchronization = async (): Promise<void> => {\n while (pendingDocumentDirty !== undefined) {\n const dirty = pendingDocumentDirty;\n pendingDocumentDirty = undefined;\n try {\n await reconcileDocumentState(dirty);\n } catch (error) {\n if (!coordinator.getSnapshot().transitioning) throw error;\n pendingDocumentDirty = dirty;\n }\n }\n };\n\n const synchronizeDocumentState = (dirty: boolean): Promise<void> => {\n pendingDocumentDirty = dirty;\n if (!documentSynchronization) {\n documentSynchronization = drainDocumentSynchronization().finally(() => {\n documentSynchronization = null;\n if (pendingDocumentDirty !== undefined) void synchronizeDocumentState(pendingDocumentDirty);\n });\n }\n return documentSynchronization;\n };\n\n const waitForDocumentSynchronization = async (): Promise<void> => {\n if (documentSynchronization) await documentSynchronization;\n };\n\n const notifySaveFailed = async (\n operation: PlayableLocalEditorDataSafetyOperation,\n error?: unknown,\n ): Promise<void> => {\n const notify = options.interactions?.notifySaveFailed;\n if (!notify) return;\n let state: PlayableLocalEditorSaveFailureState | null | undefined;\n try {\n state = options.harness.getSaveFailureState?.();\n } catch (stateError) {\n console.error('[PlayableLocalEditorLifecycle] save failure state unavailable', stateError);\n }\n const input: PlayableLocalEditorSaveFailureInput = {\n operation,\n status: state?.status ?? (error instanceof Error ? error.message : undefined),\n details: state?.details,\n error: error ?? state?.error,\n };\n try {\n await notify(input);\n } catch (notifyError) {\n console.error('[PlayableLocalEditorLifecycle] save failure notification failed', notifyError);\n }\n };\n\n const prepareDocumentSave = async (\n save: () => Promise<void>,\n context?: PlayableLocalEditorLifecycleOperationContext,\n ): Promise<void> => {\n await waitForDocumentSynchronization();\n await ensureEditingState(undefined, undefined, context);\n await synchronizeDocumentState(readUnsavedChangesState().dirty);\n await coordinator.transition({ type: 'document.prepareSave', ...context, operation: save });\n };\n\n const commitDocumentSave = async (\n commit?: () => Promise<void>,\n context?: PlayableLocalEditorLifecycleOperationContext,\n ): Promise<void> => {\n await coordinator.transition({ type: 'document.commit', ...context, ...(commit ? { operation: commit } : {}) });\n };\n\n const saveScene = async (\n operation: PlayableLocalEditorDataSafetyOperation = 'save-scene',\n context?: PlayableLocalEditorLifecycleOperationContext,\n executor?: PlayableLocalEditorDocumentOperationExecutor,\n saveOptions?: PlayableLocalEditorSaveOptions,\n ): Promise<boolean> => {\n let saved = false;\n try {\n await prepareDocumentSave(async () => {\n saved = await options.harness.saveScene(executor, saveOptions);\n if (!saved) throw new PlayableLocalEditorSaveRejectedError();\n }, context);\n await commitDocumentSave(undefined, context);\n return true;\n } catch (error) {\n if (error instanceof PlayableLocalEditorSaveRejectedError) {\n await notifySaveFailed(operation);\n return false;\n }\n await notifySaveFailed(operation, error);\n throw error;\n }\n };\n\n const readUnsavedChangesState = (): PlayableLocalEditorUnsavedChangesState => (\n options.harness.getUnsavedChangesState?.() ?? {\n dirty: false,\n hasWorkingDocument: false,\n }\n );\n\n const confirmDiscardIfNeeded = async (\n operation: PlayableLocalEditorDataSafetyOperation,\n ): Promise<boolean> => {\n const unsavedChanges = readUnsavedChangesState();\n if (!unsavedChanges.dirty || !unsavedChanges.hasWorkingDocument) return true;\n try {\n return await options.interactions?.confirmDiscardUnsavedChanges?.({\n operation,\n unsavedChanges,\n }) !== false;\n } catch (error) {\n console.error('[PlayableLocalEditorLifecycle] discard confirmation failed', error);\n return false;\n }\n };\n\n const beginPreparation = (): { epoch: number; revision: number; authoredVersion: number } => {\n pendingLifecycleOverlay = null;\n if (lifecycleOverlayOwner !== null) {\n lifecycleOverlayOwner = null;\n const ownsOverlay = options.loadingOverlay.isOwned?.() !== false;\n if (ownsOverlay && assetLoadingCount > 0 && assetLoadingOverlayWaiting) {\n assetLoadingOverlayWaiting = false;\n assetLoadingOverlayOwned = true;\n assetLoadingOverlayShownAt = now();\n options.loadingOverlay.show(options.content.assetImport);\n } else if (ownsOverlay) {\n options.loadingOverlay.hide();\n }\n }\n return {\n epoch: ++preparationEpoch,\n revision: readLifecycleRevision(),\n authoredVersion: readDocumentRevision(),\n };\n };\n\n const showLifecycleOverlay = (\n preparation: { epoch: number },\n content: PlayableLocalEditorLoadingOverlayContent,\n ): void => {\n if (options.loadingOverlay.isVisible()) {\n if (options.loadingOverlay.isOwned?.() !== false) {\n pendingLifecycleOverlay = { epoch: preparation.epoch, content };\n }\n return;\n }\n options.loadingOverlay.show(content);\n lifecycleOverlayOwner = preparation.epoch;\n };\n\n const hideLifecycleOverlay = (epoch: number): void => {\n if (pendingLifecycleOverlay?.epoch === epoch) pendingLifecycleOverlay = null;\n if (lifecycleOverlayOwner !== epoch) return;\n lifecycleOverlayOwner = null;\n if (options.loadingOverlay.isOwned?.() === false) return;\n if (assetLoadingCount > 0 && assetLoadingOverlayWaiting) {\n assetLoadingOverlayWaiting = false;\n assetLoadingOverlayOwned = true;\n assetLoadingOverlayShownAt = now();\n options.loadingOverlay.show(options.content.assetImport);\n return;\n }\n options.loadingOverlay.hide();\n };\n\n const isPreparationCurrent = (preparation: {\n epoch: number;\n revision: number;\n authoredVersion: number;\n }): boolean => (\n preparation.epoch === preparationEpoch\n && preparation.revision === readLifecycleRevision()\n && preparation.authoredVersion === readDocumentRevision()\n );\n\n const createPreparedRun = (\n preparation: { epoch: number; revision: number; authoredVersion: number },\n run: () => Promise<void>,\n ): PlayableLocalEditorPreparedRun => {\n let consumed = false;\n return {\n accepted: true,\n async run(executor) {\n if (consumed) throw new Error('Prepared editor lifecycle operation was already consumed.');\n consumed = true;\n try {\n await runExclusiveDocumentOperation(async () => {\n if (!isPreparationCurrent(preparation)) {\n throw new Error('Prepared editor lifecycle operation is stale.');\n }\n if (!await validateRun() || !isPreparationCurrent(preparation)) {\n throw new PlayableLocalEditorRunRejectedError();\n }\n await run();\n }, executor);\n } catch (error) {\n hideLifecycleOverlay(preparation.epoch);\n throw error;\n }\n },\n };\n };\n\n const prepareSaveAndRunGame = async (\n context?: PlayableLocalEditorLifecycleOperationContext,\n executor?: PlayableLocalEditorDocumentOperationExecutor,\n ): Promise<PlayableLocalEditorPreparedRun> => {\n const preparation = beginPreparation();\n showLifecycleOverlay(preparation, options.content.saveAndRunGame);\n try {\n return await runExclusiveDocumentOperation(async transactionExecutor => {\n await waitForPaint();\n if (!await validateRun() || !isPreparationCurrent(preparation)) {\n hideLifecycleOverlay(preparation.epoch);\n return { accepted: false };\n }\n const saved = await saveScene(\n 'save-and-run-game',\n context,\n transactionExecutor,\n { validationPhases: ['run', 'save'] },\n );\n if (!saved || preparation.epoch !== preparationEpoch) {\n hideLifecycleOverlay(preparation.epoch);\n return { accepted: false };\n }\n preparation.revision = readLifecycleRevision();\n preparation.authoredVersion = readDocumentRevision();\n if (!await validateRun() || !isPreparationCurrent(preparation)) {\n hideLifecycleOverlay(preparation.epoch);\n return { accepted: false };\n }\n return createPreparedRun(preparation, async () => {\n try {\n await disposePreview(context);\n await coordinator.transition({\n type: 'mode.exitEdit',\n ...context,\n operation: () => runGameAfterReleasingPluginScopes('save'),\n });\n await closeEditingScopes();\n } finally {\n hideLifecycleOverlay(preparation.epoch);\n }\n });\n }, executor);\n } catch (error) {\n hideLifecycleOverlay(preparation.epoch);\n throw error;\n }\n };\n\n const prepareDiscardAndRunGame = async (\n context?: PlayableLocalEditorLifecycleOperationContext,\n executor?: PlayableLocalEditorDocumentOperationExecutor,\n ): Promise<PlayableLocalEditorPreparedRun> => {\n await waitForDocumentSynchronization();\n await ensureEditingState(undefined, undefined, context);\n await synchronizeDocumentState(readUnsavedChangesState().dirty);\n const preparation = beginPreparation();\n if (!await confirmDiscardIfNeeded('discard-and-run-game')\n || !isPreparationCurrent(preparation)) return { accepted: false };\n showLifecycleOverlay(preparation, options.content.discardAndRunGame);\n try {\n return await runExclusiveDocumentOperation(async () => {\n await waitForPaint();\n if (!isPreparationCurrent(preparation)) {\n hideLifecycleOverlay(preparation.epoch);\n return { accepted: false };\n }\n if (!await validateRun() || !isPreparationCurrent(preparation)) {\n hideLifecycleOverlay(preparation.epoch);\n return { accepted: false };\n }\n return createPreparedRun(preparation, async () => {\n try {\n await coordinator.transition({\n type: 'document.discard',\n ...context,\n ...(options.operations?.restoreDocument\n ? { operation: options.operations.restoreDocument }\n : {}),\n });\n await disposePreview(context);\n await coordinator.transition({\n type: 'mode.exitEdit',\n ...context,\n operation: () => runGameAfterReleasingPluginScopes('discard'),\n });\n await closeEditingScopes();\n } finally {\n hideLifecycleOverlay(preparation.epoch);\n }\n });\n }, executor);\n } catch (error) {\n hideLifecycleOverlay(preparation.epoch);\n throw error;\n }\n };\n\n return {\n lifecycle,\n registerParticipant: coordinator.registerParticipant,\n async enterEditor(context) {\n const preparation = beginPreparation();\n showLifecycleOverlay(preparation, {\n ...options.content.enter,\n presentation: 'editor-shell',\n });\n let entered = false;\n try {\n await waitForPaint();\n const before = coordinator.getSnapshot();\n const load = options.operations.loadDocument;\n const enter = options.operations.enterWorld\n ?? options.harness.enterEditor.bind(options.harness);\n await ensureEditingState(load, enter, context);\n entered = before.mode !== 'edit';\n if (renderAfterEnter) options.harness.render();\n await waitForPaint();\n } finally {\n hideLifecycleOverlay(preparation.epoch);\n if (entered) options.harness.notifyViewportRevealed?.(viewportRevealReason);\n }\n },\n saveScene,\n synchronizeDocumentState,\n prepareDocumentSave,\n commitDocumentSave,\n preflightRun,\n async runCommittedDocument(context) {\n await ensureEditingState(undefined, undefined, context);\n await synchronizeDocumentState(readUnsavedChangesState().dirty);\n const current = coordinator.getSnapshot();\n if (current.document !== 'clean') {\n throw new Error(`Cannot run an uncommitted editor document: ${current.document}.`);\n }\n return runExclusiveDocumentOperation(async () => {\n const preparation = beginPreparation();\n if (!await validateRun() || !isPreparationCurrent(preparation)) return false;\n if (!isPreparationCurrent(preparation)) {\n throw new Error('Prepared editor lifecycle operation is stale.');\n }\n await disposePreview(context);\n await coordinator.transition({\n type: 'mode.exitEdit',\n ...context,\n operation: () => runGameAfterReleasingPluginScopes('save'),\n });\n await closeEditingScopes();\n return true;\n });\n },\n prepareSaveAndRunGame,\n prepareDiscardAndRunGame,\n async saveAndRunGame(context, executor) {\n const prepared = await prepareSaveAndRunGame(context, executor);\n if (!prepared.accepted) return false;\n try {\n await prepared.run(executor);\n return true;\n } catch (error) {\n if (error instanceof PlayableLocalEditorRunRejectedError) return false;\n throw error;\n }\n },\n async discardAndRunGame(context, executor) {\n const prepared = await prepareDiscardAndRunGame(context, executor);\n if (prepared.accepted) {\n try {\n await prepared.run(executor);\n } catch (error) {\n if (error instanceof PlayableLocalEditorRunRejectedError) return false;\n throw error;\n }\n }\n return prepared.accepted;\n },\n openScope,\n addScopeResource,\n closeScope,\n async dispose(context) {\n if (coordinator.getSnapshot().application === 'disposed') return;\n await coordinator.transition({\n type: 'application.dispose',\n ...context,\n operation: () => closeScope(PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID),\n });\n },\n async runWithAssetLoadingOverlay(operation) {\n const shouldShowAssetLoading = !options.loadingOverlay.isVisible() && !assetLoadingOverlayOwned;\n assetLoadingCount += 1;\n if (shouldShowAssetLoading) {\n assetLoadingOverlayOwned = true;\n assetLoadingOverlayShownAt = now();\n options.loadingOverlay.show(options.content.assetImport);\n await waitForPaint();\n } else if (options.loadingOverlay.isVisible() && !assetLoadingOverlayOwned) {\n assetLoadingOverlayWaiting = true;\n }\n\n try {\n return await operation();\n } finally {\n assetLoadingCount = Math.max(0, assetLoadingCount - 1);\n if (assetLoadingCount === 0 && assetLoadingOverlayOwned) {\n const remaining = minAssetLoadingOverlayMs - (now() - assetLoadingOverlayShownAt);\n if (remaining > 0) await waitForMilliseconds(remaining);\n if (assetLoadingCount === 0 && assetLoadingOverlayOwned) {\n assetLoadingOverlayOwned = false;\n if (options.loadingOverlay.isOwned?.() === false) {\n pendingLifecycleOverlay = null;\n } else if (pendingLifecycleOverlay) {\n const pending = pendingLifecycleOverlay;\n pendingLifecycleOverlay = null;\n lifecycleOverlayOwner = pending.epoch;\n options.loadingOverlay.show(pending.content);\n } else {\n options.loadingOverlay.hide();\n }\n }\n }\n if (assetLoadingCount === 0) assetLoadingOverlayWaiting = false;\n }\n },\n };\n}\n"]}
|
package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PlayablePlatformAssetExternal, PlayablePlatformAssetPlacementOptions } from '../asset-bridge/index';
|
|
2
2
|
import type { PlayableLocalEditorHostBridgeContext, PlayableLocalEditorHostHarness } from './host-controller';
|
|
3
|
+
import type { PlayableLocalEditorDocumentOperationExecutor } from './types';
|
|
3
4
|
export interface PlayableProjectAssetCommandAsset {
|
|
4
5
|
guid?: string;
|
|
5
6
|
assetId: string;
|
|
@@ -10,6 +11,7 @@ export interface PlayableProjectAssetCommandReloadResult {
|
|
|
10
11
|
ok: boolean;
|
|
11
12
|
assetCount: number;
|
|
12
13
|
status: string;
|
|
14
|
+
error?: string;
|
|
13
15
|
}
|
|
14
16
|
export interface PlayableProjectAssetCommandUpdateRefreshResult extends PlayableProjectAssetCommandReloadResult {
|
|
15
17
|
assetId: string;
|
|
@@ -32,6 +34,7 @@ export interface PlayableProjectAssetCommandCreateResult {
|
|
|
32
34
|
error?: string;
|
|
33
35
|
}
|
|
34
36
|
export interface PlayableProjectAssetCommandHarness extends PlayableLocalEditorHostHarness {
|
|
37
|
+
runExclusiveDocumentOperation<TResult>(operation: (executor: PlayableLocalEditorDocumentOperationExecutor) => Promise<TResult>): Promise<TResult>;
|
|
35
38
|
reloadAssets(): Promise<PlayableProjectAssetCommandReloadResult>;
|
|
36
39
|
refreshUpdatedAsset(input: {
|
|
37
40
|
assetId: string;
|
|
@@ -40,6 +43,14 @@ export interface PlayableProjectAssetCommandHarness extends PlayableLocalEditorH
|
|
|
40
43
|
createAssetFromAssetId(assetId: string, options?: {
|
|
41
44
|
placement?: unknown;
|
|
42
45
|
}): PlayableProjectAssetCommandCreateResult;
|
|
46
|
+
projectAssetDropPoint?(point: {
|
|
47
|
+
x: number;
|
|
48
|
+
y: number;
|
|
49
|
+
} | null): {
|
|
50
|
+
x: number;
|
|
51
|
+
y: number;
|
|
52
|
+
z: number;
|
|
53
|
+
} | null;
|
|
43
54
|
}
|
|
44
55
|
export interface PlayableProjectAssetCommandHandlerOptions {
|
|
45
56
|
normalizePayload?: (payload: Record<string, unknown>) => Record<string, unknown>;
|