@fps-games/editor 0.2.0-beta.4 → 0.2.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +3 -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/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/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 +5 -5
- package/dist/local-editor-agent-context.d.ts.map +1 -1
- package/dist/local-editor-agent-context.js.map +1 -1
- package/dist/local-editor-harness.d.ts +340 -35
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +3834 -1321
- 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 +18 -0
- package/dist/local-editor-tools.d.ts.map +1 -0
- package/dist/local-editor-tools.js +53 -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 +51 -29
- package/dist/playable-local-editor-host.d.ts.map +1 -1
- package/dist/playable-local-editor-host.js +23 -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 +172 -15
- 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 +53 -19
- 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/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 +17 -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 +300 -362
- 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/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 +85 -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 +1600 -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/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 +8 -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 +6 -9
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- 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-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 +6 -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-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 +5 -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 +10 -7
- 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 +591 -639
- 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 +8 -36
- 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 +25 -103
- 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 +52 -341
- 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 +4 -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 +33 -119
- 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 +5 -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 +595 -544
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- 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 +112 -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 +613 -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/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.js +58 -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/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 +3 -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 +6 -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 +5 -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 +6 -0
- 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/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.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +14 -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/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.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +7 -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/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/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 +653 -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
package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-ui-hierarchy-attach-dialog.js","sourceRoot":"","sources":["../src/local-editor-ui-hierarchy-attach-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EACL,sBAAsB,GACvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,qBAAqB,EACrB,qBAAqB,GAEtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,qBAAqB,EACrB,wBAAwB,GAEzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,qCAAqC,GACtC,MAAM,kCAAkC,CAAC;AAO1C,MAAM,sBAAsB,GAAG,2BAA2B,CAAC;AAE3D,MAAM,iBAAiB,GAAsE;IAC3F,IAAI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ives';\nimport {\n createLocalEditorIcon,\n isLocalEditorIconName,\n type LocalEditorIconName,\n} from './local-editor-ui-icons';\nimport {\n applyLocalEditorTheme,\n LOCAL_EDITOR_THEME_CLASS,\n type LocalEditorThemeName,\n} from './local-editor-ui-theme';\nimport {\n resolveLocalEditorHierarchySearchRows,\n} from './local-editor-ui-hierarchy-view';\nimport type {\n LocalEditorHierarchyDropResolution,\n LocalEditorHierarchyTreeModel,\n LocalEditorHierarchyTreeNode,\n} from './local-editor-ui-hierarchy-tree';\n\nconst ATTACH_TARGET_ROOT_KEY = '__fps_editor_scene_root__';\n\nconst ATTACH_ROLE_ICONS: Record<LocalEditorHierarchyTreeNode['role'], LocalEditorIconName> = {\n root: 'root',\n group: 'group',\n object: 'object',\n marker: 'status',\n};\n\ninterface AttachDialogRenderOptions {\n restoreTargetListScrollTop?: number;\n}\n\nexport interface LocalEditorHierarchyAttachTarget {\n key: string;\n targetId: string | null;\n label: string;\n role: LocalEditorHierarchyTreeNode['role'] | 'scene-root';\n depth: number;\n valid: boolean;\n disabledReason?: string;\n selected: boolean;\n node?: LocalEditorHierarchyTreeNode;\n resolution: LocalEditorHierarchyDropResolution;\n}\n\nexport interface LocalEditorHierarchyAttachTargetSelection {\n targetId: string | null;\n placement: 'root' | 'inside';\n label: string;\n resolution: LocalEditorHierarchyDropResolution;\n}\n\nexport interface LocalEditorHierarchyAttachConfirmResult {\n ok: boolean;\n reason?: string;\n}\n\nexport type LocalEditorHierarchyAttachConfirmResponse =\n | LocalEditorHierarchyAttachConfirmResult\n | boolean\n | string\n | void;\n\nexport interface LocalEditorHierarchyAttachTargetInput {\n model: LocalEditorHierarchyTreeModel;\n targetIds: readonly string[];\n query?: string;\n selectedTargetKey?: string | null;\n}\n\nexport interface LocalEditorHierarchyAttachDialogOpenInput {\n model: LocalEditorHierarchyTreeModel;\n targetIds: readonly string[];\n activeId: string | null;\n}\n\nexport interface LocalEditorHierarchyAttachDialogOptions {\n doc: Document;\n getTheme?: () => LocalEditorThemeName | undefined;\n onOpenChange?: (open: boolean) => void;\n onConfirm?: (selection: LocalEditorHierarchyAttachTargetSelection) => LocalEditorHierarchyAttachConfirmResponse;\n}\n\nexport interface LocalEditorHierarchyAttachDialogController {\n isOpen(): boolean;\n open(input: LocalEditorHierarchyAttachDialogOpenInput): void;\n close(): void;\n setTheme(theme: LocalEditorThemeName): void;\n dispose(): void;\n}\n\nexport function resolveLocalEditorHierarchyAttachTargets(\n input: LocalEditorHierarchyAttachTargetInput,\n): LocalEditorHierarchyAttachTarget[] {\n const sourceIds = input.model.getTopLevelSelection(input.targetIds);\n const rootResolution = input.model.resolveDrop({ draggedIds: sourceIds, placement: 'root' });\n const targets: LocalEditorHierarchyAttachTarget[] = [{\n key: ATTACH_TARGET_ROOT_KEY,\n targetId: null,\n label: 'Scene Root',\n role: 'scene-root',\n depth: 0,\n valid: rootResolution.ok,\n disabledReason: rootResolution.ok ? undefined : formatAttachDisabledReason(rootResolution.reason),\n selected: input.selectedTargetKey === ATTACH_TARGET_ROOT_KEY,\n resolution: rootResolution,\n }];\n for (const node of resolveLocalEditorHierarchySearchRows(input.model, input.query ?? '')) {\n const resolution = resolveAttachTargetDrop(input.model, sourceIds, node.id);\n targets.push({\n key: node.id,\n targetId: node.id,\n label: node.label,\n role: node.role,\n depth: node.depth + 1,\n valid: resolution.ok,\n disabledReason: resolution.ok ? undefined : formatAttachDisabledReason(resolution.reason),\n selected: input.selectedTargetKey === node.id,\n node,\n resolution,\n });\n }\n return targets;\n}\n\nexport function createLocalEditorHierarchyAttachDialog(\n options: LocalEditorHierarchyAttachDialogOptions,\n): LocalEditorHierarchyAttachDialogController {\n const { doc } = options;\n const root = doc.createElement('div');\n root.classList.add(LOCAL_EDITOR_THEME_CLASS);\n root.dataset.editorHierarchyAttachDialog = 'true';\n root.dataset.editorWorkbenchRegion = 'modal';\n root.style.cssText = [\n 'position:fixed',\n 'inset:0',\n 'z-index:2147483642',\n 'display:none',\n 'align-items:center',\n 'justify-content:center',\n 'padding:32px',\n 'background:rgba(0,0,0,0.45)',\n 'font-family:var(--fps-editor-font)',\n 'color:var(--fps-editor-text)',\n 'pointer-events:auto',\n ].join(';');\n\n const dialog = doc.createElement('div');\n dialog.setAttribute('role', 'dialog');\n dialog.setAttribute('aria-modal', 'true');\n dialog.setAttribute('aria-label', 'Attach selection to hierarchy target');\n dialog.style.cssText = [\n 'width:min(520px,calc(100vw - 64px))',\n 'max-height:calc(100vh - 64px)',\n 'display:flex',\n 'flex-direction:column',\n 'gap:10px',\n 'padding:14px',\n 'border:1px solid var(--fps-editor-border)',\n 'border-radius:4px',\n 'background:var(--fps-editor-panel)',\n 'box-shadow:var(--fps-editor-shadow-modal)',\n 'overflow:hidden',\n ].join(';');\n\n const header = doc.createElement('div');\n header.style.cssText = 'display:flex;align-items:center;justify-content:space-between;gap:12px';\n const title = doc.createElement('h2');\n title.textContent = 'Attach To...';\n title.style.cssText = [\n 'min-width:0',\n 'margin:0',\n 'overflow:hidden',\n 'text-overflow:ellipsis',\n 'white-space:nowrap',\n 'font-size:13px',\n 'font-weight:900',\n 'color:var(--fps-editor-text-strong)',\n ].join(';');\n const closeButton = createButton(doc, 'Cancel');\n closeButton.dataset.editorHierarchyAttachCancel = 'true';\n header.appendChild(title);\n header.appendChild(closeButton);\n\n const summary = doc.createElement('div');\n summary.style.cssText = 'color:var(--fps-editor-muted);font-size:11px;font-weight:800;line-height:16px';\n\n const search = doc.createElement('input');\n search.type = 'search';\n search.dataset.editorHierarchyAttachSearch = 'true';\n search.placeholder = 'Search hierarchy target';\n search.style.cssText = [\n createEditorInputStyle(),\n 'width:100%',\n 'height:30px',\n 'outline:none',\n ].join(';');\n\n const list = doc.createElement('div');\n list.dataset.editorHierarchyAttachList = 'true';\n list.style.cssText = [\n 'min-height:180px',\n 'max-height:min(430px,calc(100vh - 230px))',\n 'overflow:auto',\n 'display:flex',\n 'flex-direction:column',\n 'gap:2px',\n 'padding:2px',\n 'border:1px solid var(--fps-editor-border-soft)',\n 'border-radius:3px',\n 'background:var(--fps-editor-field)',\n ].join(';');\n\n const selectedSummary = doc.createElement('div');\n selectedSummary.style.cssText = [\n 'min-height:18px',\n 'color:var(--fps-editor-muted-strong)',\n 'font-size:11px',\n 'font-weight:800',\n 'line-height:16px',\n ].join(';');\n\n const feedback = doc.createElement('div');\n feedback.dataset.editorHierarchyAttachFeedback = 'true';\n feedback.setAttribute('role', 'status');\n feedback.setAttribute('aria-live', 'polite');\n feedback.style.cssText = [\n 'display:none',\n 'min-height:18px',\n 'padding:5px 7px',\n 'border:1px solid var(--fps-editor-danger-border)',\n 'border-radius:3px',\n 'background:var(--fps-editor-danger-soft)',\n 'color:var(--fps-editor-danger-text)',\n 'font-size:11px',\n 'font-weight:800',\n 'line-height:15px',\n ].join(';');\n\n const footer = doc.createElement('div');\n footer.style.cssText = 'display:flex;align-items:center;justify-content:flex-end;gap:8px';\n const cancelButton = createButton(doc, 'Cancel');\n cancelButton.dataset.editorHierarchyAttachCancel = 'true';\n const confirmButton = createButton(doc, 'Attach', { icon: 'hierarchy' });\n confirmButton.dataset.editorHierarchyAttachConfirm = 'true';\n footer.appendChild(cancelButton);\n footer.appendChild(confirmButton);\n\n dialog.appendChild(header);\n dialog.appendChild(summary);\n dialog.appendChild(search);\n dialog.appendChild(list);\n dialog.appendChild(selectedSummary);\n dialog.appendChild(feedback);\n dialog.appendChild(footer);\n root.appendChild(dialog);\n doc.body.appendChild(root);\n\n let openInput: LocalEditorHierarchyAttachDialogOpenInput | null = null;\n let query = '';\n let selectedTargetKey: string | null = null;\n let selectedTarget: LocalEditorHierarchyAttachTarget | null = null;\n\n const close = (): void => {\n if (!openInput) return;\n openInput = null;\n query = '';\n selectedTargetKey = null;\n selectedTarget = null;\n root.style.display = 'none';\n search.value = '';\n clearElement(list);\n options.onOpenChange?.(false);\n };\n\n const render = (renderOptions: AttachDialogRenderOptions = {}): void => {\n if (!openInput) {\n root.style.display = 'none';\n return;\n }\n const targets = resolveLocalEditorHierarchyAttachTargets({\n model: openInput.model,\n targetIds: openInput.targetIds,\n query,\n selectedTargetKey,\n });\n const validSelection = targets.find(target => target.key === selectedTargetKey && target.valid) ?? null;\n selectedTarget = validSelection;\n if (!validSelection) selectedTargetKey = null;\n summary.textContent = `${openInput.targetIds.length} selected node${openInput.targetIds.length === 1 ? '' : 's'} will keep world transform.`;\n search.value = query;\n renderTargetList(targets);\n if (typeof renderOptions.restoreTargetListScrollTop === 'number') {\n list.scrollTop = renderOptions.restoreTargetListScrollTop;\n }\n renderSelectedSummary();\n root.style.display = 'flex';\n syncConfirmButton();\n };\n\n const clearFeedback = (): void => {\n feedback.textContent = '';\n feedback.style.display = 'none';\n };\n\n const showFeedback = (message: string): void => {\n feedback.textContent = message;\n feedback.style.display = 'block';\n };\n\n const renderTargetList = (targets: readonly LocalEditorHierarchyAttachTarget[]): void => {\n clearElement(list);\n const rootTarget = targets[0] ?? null;\n if (rootTarget) list.appendChild(createTargetButton(rootTarget));\n const nodeTargets = targets.slice(1);\n if (nodeTargets.length === 0) {\n const empty = doc.createElement('div');\n empty.textContent = query.trim() ? 'No matching GameObjects.' : 'No hierarchy nodes.';\n empty.style.cssText = 'padding:8px;color:var(--fps-editor-muted);font-size:11px;font-weight:800';\n list.appendChild(empty);\n return;\n }\n for (const target of nodeTargets) list.appendChild(createTargetButton(target));\n };\n\n const renderSelectedSummary = (): void => {\n if (!selectedTarget) {\n selectedSummary.textContent = 'Select a target, then confirm Attach.';\n return;\n }\n const movingCount = selectedTarget.resolution.draggedIds.length;\n selectedSummary.textContent = `Target: ${selectedTarget.label} · ${movingCount} node${movingCount === 1 ? '' : 's'} will move`;\n };\n\n const syncConfirmButton = (): void => {\n confirmButton.disabled = !selectedTarget;\n confirmButton.title = selectedTarget ? `Attach to ${selectedTarget.label}` : 'Select a valid target first.';\n confirmButton.style.opacity = selectedTarget ? '1' : '0.55';\n confirmButton.style.cursor = selectedTarget ? 'pointer' : 'not-allowed';\n };\n\n const createTargetButton = (target: LocalEditorHierarchyAttachTarget): HTMLButtonElement => {\n const button = doc.createElement('button');\n button.type = 'button';\n button.dataset.editorHierarchyAttachTarget = target.key;\n button.disabled = !target.valid;\n if (target.disabledReason) button.title = target.disabledReason;\n button.style.cssText = [\n 'width:100%',\n 'min-height:28px',\n 'display:flex',\n 'align-items:center',\n 'gap:6px',\n `padding:4px 8px 4px ${8 + Math.max(0, target.depth) * 14}px`,\n `border:1px solid ${target.selected ? 'var(--fps-editor-accent-strong)' : 'transparent'}`,\n 'border-radius:2px',\n `background:${target.selected ? 'var(--fps-editor-row-active)' : 'transparent'}`,\n `color:${target.valid ? target.selected ? 'var(--fps-editor-row-selected-text)' : 'var(--fps-editor-text)' : 'var(--fps-editor-muted)'}`,\n 'font-size:12px',\n 'font-weight:800',\n 'text-align:left',\n `cursor:${target.valid ? 'pointer' : 'not-allowed'}`,\n `opacity:${target.valid ? '1' : '0.55'}`,\n ].join(';');\n button.appendChild(createTargetIcon(target));\n const label = doc.createElement('span');\n label.textContent = target.label;\n label.style.cssText = 'min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap';\n button.appendChild(label);\n if (target.disabledReason) {\n const reason = doc.createElement('span');\n reason.textContent = target.disabledReason;\n reason.style.cssText = 'max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--fps-editor-muted);font-size:10px;font-weight:800';\n button.appendChild(reason);\n }\n return button;\n };\n\n const createTargetIcon = (target: LocalEditorHierarchyAttachTarget): HTMLElement => {\n const rawIcon = target.node?.item.icon;\n const iconName = target.role === 'scene-root'\n ? 'root'\n : isLocalEditorIconName(rawIcon)\n ? rawIcon\n : ATTACH_ROLE_ICONS[target.role];\n const icon = doc.createElement('span');\n icon.style.cssText = [\n 'width:16px',\n 'height:16px',\n 'flex:0 0 16px',\n 'display:inline-flex',\n 'align-items:center',\n 'justify-content:center',\n 'color:var(--fps-editor-muted-strong)',\n ].join(';');\n icon.appendChild(createLocalEditorIcon(doc, iconName, { size: 13, strokeWidth: 2.3 }));\n return icon;\n };\n\n const getSelectionForConfirm = (): LocalEditorHierarchyAttachTargetSelection | null => {\n if (!selectedTarget) return null;\n return {\n targetId: selectedTarget.targetId,\n placement: selectedTarget.targetId === null ? 'root' : 'inside',\n label: selectedTarget.label,\n resolution: selectedTarget.resolution,\n };\n };\n\n const normalizeConfirmResult = (result: LocalEditorHierarchyAttachConfirmResponse): LocalEditorHierarchyAttachConfirmResult => {\n if (typeof result === 'boolean') return { ok: result };\n if (typeof result === 'string') return { ok: false, reason: result };\n if (result && typeof result === 'object') return result;\n return { ok: true };\n };\n\n const onClick = (event: MouseEvent): void => {\n const target = event.target instanceof Element ? event.target : null;\n if (!target) return;\n if (target.closest('[data-editor-hierarchy-attach-cancel]') || target === root) {\n event.preventDefault();\n close();\n return;\n }\n const targetButton = target.closest<HTMLButtonElement>('[data-editor-hierarchy-attach-target]');\n if (targetButton) {\n event.preventDefault();\n if (targetButton.disabled) return;\n const targetListScrollTop = list.scrollTop;\n selectedTargetKey = targetButton.dataset.editorHierarchyAttachTarget ?? null;\n clearFeedback();\n render({ restoreTargetListScrollTop: targetListScrollTop });\n return;\n }\n if (target.closest('[data-editor-hierarchy-attach-confirm]')) {\n event.preventDefault();\n const selection = getSelectionForConfirm();\n if (!selection) return;\n const result = normalizeConfirmResult(options.onConfirm?.(selection));\n if (!result.ok) {\n showFeedback(`Move rejected: ${result.reason ?? 'Attach target cannot preserve world transform.'}`);\n return;\n }\n close();\n }\n };\n\n const onInput = (event: Event): void => {\n const input = event.target instanceof HTMLInputElement ? event.target : null;\n if (input?.dataset.editorHierarchyAttachSearch == null) return;\n query = input.value;\n clearFeedback();\n render();\n };\n\n const onKeyDown = (event: KeyboardEvent): void => {\n if (!openInput || event.key !== 'Escape') return;\n event.preventDefault();\n event.stopPropagation();\n close();\n };\n\n root.addEventListener('click', onClick);\n root.addEventListener('input', onInput);\n doc.addEventListener('keydown', onKeyDown, { capture: true });\n\n return {\n isOpen() {\n return !!openInput;\n },\n open(input) {\n openInput = {\n model: input.model,\n targetIds: input.model.getTopLevelSelection(input.targetIds),\n activeId: input.activeId,\n };\n query = '';\n selectedTargetKey = null;\n selectedTarget = null;\n clearFeedback();\n applyLocalEditorTheme(root, options.getTheme?.());\n options.onOpenChange?.(true);\n render();\n setTimeout(() => {\n search.focus({ preventScroll: true });\n search.select();\n }, 0);\n },\n close,\n setTheme(theme) {\n applyLocalEditorTheme(root, theme);\n },\n dispose() {\n close();\n root.removeEventListener('click', onClick);\n root.removeEventListener('input', onInput);\n doc.removeEventListener('keydown', onKeyDown, { capture: true });\n root.remove();\n },\n };\n}\n\nfunction resolveAttachTargetDrop(\n model: LocalEditorHierarchyTreeModel,\n sourceIds: readonly string[],\n targetId: string,\n): LocalEditorHierarchyDropResolution {\n const resolution = model.resolveDrop({\n draggedIds: sourceIds,\n targetId,\n placement: 'inside',\n });\n if (resolution.ok || !sourceIds.includes(targetId)) return resolution;\n const remainingSourceIds = sourceIds.filter(id => id !== targetId);\n if (remainingSourceIds.length === 0) return resolution;\n return model.resolveDrop({\n draggedIds: remainingSourceIds,\n targetId,\n placement: 'inside',\n });\n}\n\nfunction formatAttachDisabledReason(reason: string | undefined): string | undefined {\n if (!reason) return undefined;\n if (reason === 'empty-drag') return 'Select one or more movable nodes first.';\n if (reason === 'dragged-node-not-movable') return 'Read-only or locked nodes cannot be attached.';\n if (reason === 'missing-target') return 'Target no longer exists.';\n if (reason === 'cannot-drop-on-self') return 'Cannot attach to itself.';\n if (reason === 'cannot-drop-on-descendant') return 'Cannot attach to selected descendants.';\n if (reason === 'target-cannot-have-children') return 'This node cannot contain children.';\n if (reason === 'cannot-reorder-root') return 'Root nodes cannot be reordered.';\n if (reason === 'target-node-locked') return 'Locked nodes cannot be used as targets.';\n if (reason === 'target-parent-locked') return 'The target parent is locked.';\n return reason;\n}\n\nfunction clearElement(element: HTMLElement): void {\n while (element.firstChild) element.firstChild.remove();\n}\n"]}
|
package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { LocalEditorBrowserHierarchyScope, LocalEditorContextMenuItem } from './local-editor-ui-types';
|
|
2
|
-
export type LocalEditorHierarchyCommandAdapterKind = 'scene' | 'prefab-stage' | 'readonly';
|
|
3
|
-
export interface LocalEditorHierarchyCommandAdapter {
|
|
4
|
-
kind: LocalEditorHierarchyCommandAdapterKind;
|
|
5
|
-
canOpenContextMenu: boolean;
|
|
6
|
-
showCreateGroupToolbar: boolean;
|
|
7
|
-
menuCapabilities: LocalEditorHierarchyMenuCapabilities;
|
|
8
|
-
filterMenuItems(items: readonly LocalEditorContextMenuItem[]): LocalEditorContextMenuItem[];
|
|
9
|
-
}
|
|
10
|
-
export interface LocalEditorHierarchyCommandAdapterRuntime {
|
|
11
|
-
hasDuplicateHandler?: boolean;
|
|
12
|
-
hasMoveHandler?: boolean;
|
|
13
|
-
hasGroupSelectionHandler?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface LocalEditorHierarchyMenuCapabilities {
|
|
16
|
-
hasDuplicateHandler: boolean;
|
|
17
|
-
hasMoveHandler: boolean;
|
|
18
|
-
hasGroupSelectionHandler: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare function resolveLocalEditorHierarchyCommandAdapter(scope: LocalEditorBrowserHierarchyScope, runtime?: LocalEditorHierarchyCommandAdapterRuntime): LocalEditorHierarchyCommandAdapter;
|
|
21
|
-
//# sourceMappingURL=local-editor-ui-hierarchy-command-adapter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-ui-hierarchy-command-adapter.d.ts","sourceRoot":"","sources":["../src/local-editor-ui-hierarchy-command-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gCAAgC,EAChC,0BAA0B,EAC3B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,sCAAsC,GAC9C,OAAO,GACP,cAAc,GACd,UAAU,CAAC;AAEf,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE,sCAAsC,CAAC;IAC7C,kBAAkB,EAAE,OAAO,CAAC;IAC5B,sBAAsB,EAAE,OAAO,CAAC;IAChC,gBAAgB,EAAE,oCAAoC,CAAC;IACvD,eAAe,CAAC,KAAK,EAAE,SAAS,0BAA0B,EAAE,GAAG,0BAA0B,EAAE,CAAC;CAC7F;AAED,MAAM,WAAW,yCAAyC;IACxD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,MAAM,WAAW,oCAAoC;IACnD,mBAAmB,EAAE,OAAO,CAAC;IAC7B,cAAc,EAAE,OAAO,CAAC;IACxB,wBAAwB,EAAE,OAAO,CAAC;CACnC;AAmCD,wBAAgB,yCAAyC,CACvD,KAAK,EAAE,gCAAgC,EACvC,OAAO,GAAE,yCAA8C,GACtD,kCAAkC,CAgCpC"}
|
package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
const PREFAB_STAGE_MENU_ITEM_IDS = new Set([
|
|
2
|
-
'hierarchy.focus',
|
|
3
|
-
'hierarchy.rename',
|
|
4
|
-
'hierarchy.create-child-group',
|
|
5
|
-
'hierarchy.create-group',
|
|
6
|
-
'hierarchy.create-child-primitive',
|
|
7
|
-
'hierarchy.create-child-primitive.cube',
|
|
8
|
-
'hierarchy.create-child-primitive.sphere',
|
|
9
|
-
'hierarchy.create-child-primitive.plane',
|
|
10
|
-
'hierarchy.create-child-primitive.capsule',
|
|
11
|
-
'hierarchy.create-primitive',
|
|
12
|
-
'hierarchy.create-primitive.cube',
|
|
13
|
-
'hierarchy.create-primitive.sphere',
|
|
14
|
-
'hierarchy.create-primitive.plane',
|
|
15
|
-
'hierarchy.create-primitive.capsule',
|
|
16
|
-
'hierarchy.attach-to',
|
|
17
|
-
'hierarchy.delete',
|
|
18
|
-
]);
|
|
19
|
-
const readonlyHierarchyCommandAdapter = {
|
|
20
|
-
kind: 'readonly',
|
|
21
|
-
canOpenContextMenu: false,
|
|
22
|
-
showCreateGroupToolbar: false,
|
|
23
|
-
menuCapabilities: {
|
|
24
|
-
hasDuplicateHandler: false,
|
|
25
|
-
hasMoveHandler: false,
|
|
26
|
-
hasGroupSelectionHandler: false,
|
|
27
|
-
},
|
|
28
|
-
filterMenuItems() {
|
|
29
|
-
return [];
|
|
30
|
-
},
|
|
31
|
-
};
|
|
32
|
-
export function resolveLocalEditorHierarchyCommandAdapter(scope, runtime = {}) {
|
|
33
|
-
if (scope.commandSurface === 'scene-graph') {
|
|
34
|
-
return {
|
|
35
|
-
kind: 'scene',
|
|
36
|
-
canOpenContextMenu: true,
|
|
37
|
-
showCreateGroupToolbar: true,
|
|
38
|
-
menuCapabilities: {
|
|
39
|
-
hasDuplicateHandler: runtime.hasDuplicateHandler === true,
|
|
40
|
-
hasMoveHandler: runtime.hasMoveHandler === true,
|
|
41
|
-
hasGroupSelectionHandler: runtime.hasGroupSelectionHandler === true,
|
|
42
|
-
},
|
|
43
|
-
filterMenuItems(items) {
|
|
44
|
-
return [...items];
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
if (scope.commandSurface === 'prefab-composition') {
|
|
49
|
-
return {
|
|
50
|
-
kind: 'prefab-stage',
|
|
51
|
-
canOpenContextMenu: true,
|
|
52
|
-
showCreateGroupToolbar: false,
|
|
53
|
-
menuCapabilities: {
|
|
54
|
-
hasDuplicateHandler: false,
|
|
55
|
-
hasMoveHandler: true,
|
|
56
|
-
hasGroupSelectionHandler: false,
|
|
57
|
-
},
|
|
58
|
-
filterMenuItems(items) {
|
|
59
|
-
return filterMenuItemsById(items, PREFAB_STAGE_MENU_ITEM_IDS);
|
|
60
|
-
},
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
return readonlyHierarchyCommandAdapter;
|
|
64
|
-
}
|
|
65
|
-
function filterMenuItemsById(items, allowedIds) {
|
|
66
|
-
const filtered = [];
|
|
67
|
-
for (const item of items) {
|
|
68
|
-
const children = item.children ? filterMenuItemsById(item.children, allowedIds) : undefined;
|
|
69
|
-
if (!allowedIds.has(item.id) && (!children || children.length === 0))
|
|
70
|
-
continue;
|
|
71
|
-
filtered.push(children ? { ...item, children } : item);
|
|
72
|
-
}
|
|
73
|
-
return filtered;
|
|
74
|
-
}
|
|
75
|
-
//# sourceMappingURL=local-editor-ui-hierarchy-command-adapter.js.map
|
package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-ui-hierarchy-command-adapter.js","sourceRoot":"","sources":["../src/local-editor-ui-hierarchy-command-adapter.ts"],"names":[],"mappings":"AA8BA,MAAM,0BAA0B,GAAG,IAAI,GAAG,CAAC;IACzC,iBAAiB;IACjB,kBAAkB;IAClB,8BAA8B;IAC9B,wBAAwB;IACxB,kCAAkC;IAClC,uCAAuC;IACvC,yCAAyC;IACzC,wCAAwC;IACxC,0CAA0C;IAC1C,4BAA4B;IAC5B,iCAAiC;IACjC,mCAAmC;IACnC,kCAAkC;IAClC,oCAAoC;IACpC,qBAAqB;IACrB,kBAAkB;CACnB,CAAC,CAAC;AAEH,MAAM,+BAA+B,GAAuC;IAC1E,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,KAAK;IACzB,sBAAsB,EAAE,KAAK;IAC7B,gBAAgB,EAAE;QAChB,mBAAmB,EAAE,KAAK;QAC1B,cAAc,EAAE,KAAK;QACrB,wBAAwB,EAAE,KAAK;KAChC;IACD,eAAe;QACb,OAAO,EAAE,CAAC;IACZ,CAAC;CACF,CAAC;AAEF,MAAM,UAAU,yCAAyC,CACvD,KAAuC,EACvC,UAAqD,EAAE;IAEvD,IAAI,KAAK,CAAC,cAAc,KAAK,aAAa,EAAE,CAAC;QAC3C,OA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C,QAAQ,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["import type {\n LocalEditorBrowserHierarchyScope,\n LocalEditorContextMenuItem,\n} from './local-editor-ui-types';\n\nexport type LocalEditorHierarchyCommandAdapterKind =\n | 'scene'\n | 'prefab-stage'\n | 'readonly';\n\nexport interface LocalEditorHierarchyCommandAdapter {\n kind: LocalEditorHierarchyCommandAdapterKind;\n canOpenContextMenu: boolean;\n showCreateGroupToolbar: boolean;\n menuCapabilities: LocalEditorHierarchyMenuCapabilities;\n filterMenuItems(items: readonly LocalEditorContextMenuItem[]): LocalEditorContextMenuItem[];\n}\n\nexport interface LocalEditorHierarchyCommandAdapterRuntime {\n hasDuplicateHandler?: boolean;\n hasMoveHandler?: boolean;\n hasGroupSelectionHandler?: boolean;\n}\n\nexport interface LocalEditorHierarchyMenuCapabilities {\n hasDuplicateHandler: boolean;\n hasMoveHandler: boolean;\n hasGroupSelectionHandler: boolean;\n}\n\nconst PREFAB_STAGE_MENU_ITEM_IDS = new Set([\n 'hierarchy.focus',\n 'hierarchy.rename',\n 'hierarchy.create-child-group',\n 'hierarchy.create-group',\n 'hierarchy.create-child-primitive',\n 'hierarchy.create-child-primitive.cube',\n 'hierarchy.create-child-primitive.sphere',\n 'hierarchy.create-child-primitive.plane',\n 'hierarchy.create-child-primitive.capsule',\n 'hierarchy.create-primitive',\n 'hierarchy.create-primitive.cube',\n 'hierarchy.create-primitive.sphere',\n 'hierarchy.create-primitive.plane',\n 'hierarchy.create-primitive.capsule',\n 'hierarchy.attach-to',\n 'hierarchy.delete',\n]);\n\nconst readonlyHierarchyCommandAdapter: LocalEditorHierarchyCommandAdapter = {\n kind: 'readonly',\n canOpenContextMenu: false,\n showCreateGroupToolbar: false,\n menuCapabilities: {\n hasDuplicateHandler: false,\n hasMoveHandler: false,\n hasGroupSelectionHandler: false,\n },\n filterMenuItems() {\n return [];\n },\n};\n\nexport function resolveLocalEditorHierarchyCommandAdapter(\n scope: LocalEditorBrowserHierarchyScope,\n runtime: LocalEditorHierarchyCommandAdapterRuntime = {},\n): LocalEditorHierarchyCommandAdapter {\n if (scope.commandSurface === 'scene-graph') {\n return {\n kind: 'scene',\n canOpenContextMenu: true,\n showCreateGroupToolbar: true,\n menuCapabilities: {\n hasDuplicateHandler: runtime.hasDuplicateHandler === true,\n hasMoveHandler: runtime.hasMoveHandler === true,\n hasGroupSelectionHandler: runtime.hasGroupSelectionHandler === true,\n },\n filterMenuItems(items) {\n return [...items];\n },\n };\n }\n if (scope.commandSurface === 'prefab-composition') {\n return {\n kind: 'prefab-stage',\n canOpenContextMenu: true,\n showCreateGroupToolbar: false,\n menuCapabilities: {\n hasDuplicateHandler: false,\n hasMoveHandler: true,\n hasGroupSelectionHandler: false,\n },\n filterMenuItems(items) {\n return filterMenuItemsById(items, PREFAB_STAGE_MENU_ITEM_IDS);\n },\n };\n }\n return readonlyHierarchyCommandAdapter;\n}\n\nfunction filterMenuItemsById(\n items: readonly LocalEditorContextMenuItem[],\n allowedIds: ReadonlySet<string>,\n): LocalEditorContextMenuItem[] {\n const filtered: LocalEditorContextMenuItem[] = [];\n for (const item of items) {\n const children = item.children ? filterMenuItemsById(item.children, allowedIds) : undefined;\n if (!allowedIds.has(item.id) && (!children || children.length === 0)) continue;\n filtered.push(children ? { ...item, children } : item);\n }\n return filtered;\n}\n"]}
|
package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { LocalEditorBrowserHierarchyCommandPrecondition, LocalEditorBrowserHierarchyProjectionState, LocalEditorBrowserHierarchyScope, LocalEditorBrowserStatusDiagnostic } from './local-editor-ui-types';
|
|
2
|
-
export declare function isLocalEditorHierarchyCommandPreconditionCurrent(precondition: LocalEditorBrowserHierarchyCommandPrecondition, expected: LocalEditorBrowserHierarchyCommandPrecondition): boolean;
|
|
3
|
-
export declare function isLocalEditorHierarchyProjectionCurrent(projection: LocalEditorBrowserHierarchyProjectionState | null | undefined, scope: LocalEditorBrowserHierarchyScope): projection is LocalEditorBrowserHierarchyProjectionState;
|
|
4
|
-
export declare function createLocalEditorHierarchyProjection(scope: LocalEditorBrowserHierarchyScope): LocalEditorBrowserHierarchyProjectionState;
|
|
5
|
-
export declare function formatLocalEditorStatusDiagnostic(diagnostic: LocalEditorBrowserStatusDiagnostic): string;
|
|
6
|
-
export declare function formatLocalEditorStatusDiagnosticDetails(details: Record<string, unknown>): string;
|
|
7
|
-
//# sourceMappingURL=local-editor-ui-hierarchy-projection.d.ts.map
|
package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-ui-hierarchy-projection.d.ts","sourceRoot":"","sources":["../src/local-editor-ui-hierarchy-projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,8CAA8C,EAC9C,0CAA0C,EAE1C,gCAAgC,EAEhC,kCAAkC,EACnC,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,gDAAgD,CAC9D,YAAY,EAAE,8CAA8C,EAC5D,QAAQ,EAAE,8CAA8C,GACvD,OAAO,CAIT;AAED,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,0CAA0C,GAAG,IAAI,GAAG,SAAS,EACzE,KAAK,EAAE,gCAAgC,GACtC,UAAU,IAAI,0CAA0C,CAI1D;AAED,wBAAgB,oCAAoC,CAClD,KAAK,EAAE,gCAAgC,GACtC,0CAA0C,CAwH5C;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,kCAAkC,GAC7C,MAAM,CAaR;AAED,wBAAgB,wCAAwC,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAMjG"}
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
export function isLocalEditorHierarchyCommandPreconditionCurrent(precondition, expected) {
|
|
2
|
-
return precondition.scopeId === expected.scopeId
|
|
3
|
-
&& precondition.documentRevision === expected.documentRevision
|
|
4
|
-
&& precondition.projectionRevision === expected.projectionRevision;
|
|
5
|
-
}
|
|
6
|
-
export function isLocalEditorHierarchyProjectionCurrent(projection, scope) {
|
|
7
|
-
return projection?.scopeId === scope.scopeId
|
|
8
|
-
&& projection.documentRevision === scope.documentRevision
|
|
9
|
-
&& projection.projectionRevision === scope.projectionRevision;
|
|
10
|
-
}
|
|
11
|
-
export function createLocalEditorHierarchyProjection(scope) {
|
|
12
|
-
const diagnostics = [];
|
|
13
|
-
const rowsById = new Map();
|
|
14
|
-
const duplicateRowIds = new Set();
|
|
15
|
-
for (const node of scope.nodes) {
|
|
16
|
-
if (rowsById.has(node.id)) {
|
|
17
|
-
duplicateRowIds.add(node.id);
|
|
18
|
-
diagnostics.push(createDiagnostic(scope, {
|
|
19
|
-
code: 'hierarchy-row-id-duplicate',
|
|
20
|
-
severity: 'error',
|
|
21
|
-
message: `Hierarchy row ID is duplicated: ${node.id}`,
|
|
22
|
-
rowId: node.id,
|
|
23
|
-
}));
|
|
24
|
-
continue;
|
|
25
|
-
}
|
|
26
|
-
rowsById.set(node.id, node);
|
|
27
|
-
}
|
|
28
|
-
const invalidIds = new Set(duplicateRowIds);
|
|
29
|
-
for (const duplicateRowId of duplicateRowIds)
|
|
30
|
-
rowsById.delete(duplicateRowId);
|
|
31
|
-
for (const node of scope.nodes) {
|
|
32
|
-
if (invalidIds.has(node.id))
|
|
33
|
-
continue;
|
|
34
|
-
if (node.parentId != null && !rowsById.has(node.parentId)) {
|
|
35
|
-
invalidIds.add(node.id);
|
|
36
|
-
diagnostics.push(createDiagnostic(scope, {
|
|
37
|
-
code: 'hierarchy-parent-missing',
|
|
38
|
-
severity: 'error',
|
|
39
|
-
message: `Hierarchy row ${node.id} references missing parent ${node.parentId}.`,
|
|
40
|
-
rowId: node.id,
|
|
41
|
-
targetId: node.parentId,
|
|
42
|
-
}));
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
for (const node of scope.nodes) {
|
|
46
|
-
const path = new Set();
|
|
47
|
-
let cursor = node;
|
|
48
|
-
while (cursor?.parentId != null) {
|
|
49
|
-
if (path.has(cursor.id)) {
|
|
50
|
-
for (const id of path)
|
|
51
|
-
invalidIds.add(id);
|
|
52
|
-
diagnostics.push(createDiagnostic(scope, {
|
|
53
|
-
code: 'hierarchy-parent-cycle',
|
|
54
|
-
severity: 'error',
|
|
55
|
-
message: `Hierarchy parent cycle includes row ${cursor.id}.`,
|
|
56
|
-
rowId: cursor.id,
|
|
57
|
-
}));
|
|
58
|
-
break;
|
|
59
|
-
}
|
|
60
|
-
path.add(cursor.id);
|
|
61
|
-
cursor = rowsById.get(cursor.parentId);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
propagateInvalidDescendants(scope.nodes, invalidIds);
|
|
65
|
-
const targets = [];
|
|
66
|
-
const targetRows = new Map();
|
|
67
|
-
for (const node of scope.nodes) {
|
|
68
|
-
if (invalidIds.has(node.id))
|
|
69
|
-
continue;
|
|
70
|
-
const targetId = node.commandTargetId?.trim();
|
|
71
|
-
if (!targetId) {
|
|
72
|
-
if (node.commandable === false)
|
|
73
|
-
continue;
|
|
74
|
-
invalidIds.add(node.id);
|
|
75
|
-
diagnostics.push(createDiagnostic(scope, {
|
|
76
|
-
code: 'hierarchy-command-target-missing',
|
|
77
|
-
severity: 'error',
|
|
78
|
-
message: `Hierarchy row ${node.id} has no command target.`,
|
|
79
|
-
rowId: node.id,
|
|
80
|
-
}));
|
|
81
|
-
continue;
|
|
82
|
-
}
|
|
83
|
-
const rows = targetRows.get(targetId) ?? [];
|
|
84
|
-
rows.push(node.id);
|
|
85
|
-
targetRows.set(targetId, rows);
|
|
86
|
-
targets.push({
|
|
87
|
-
rowId: node.id,
|
|
88
|
-
targetId,
|
|
89
|
-
targetKind: node.sourceKind ?? node.role ?? 'object',
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
for (const [targetId, rowIds] of targetRows) {
|
|
93
|
-
if (rowIds.length < 2)
|
|
94
|
-
continue;
|
|
95
|
-
for (const rowId of rowIds)
|
|
96
|
-
invalidIds.add(rowId);
|
|
97
|
-
diagnostics.push(createDiagnostic(scope, {
|
|
98
|
-
code: 'hierarchy-command-target-duplicate',
|
|
99
|
-
severity: 'error',
|
|
100
|
-
message: `Hierarchy command target ${targetId} is shared by rows: ${rowIds.join(', ')}.`,
|
|
101
|
-
targetId,
|
|
102
|
-
details: { rowIds },
|
|
103
|
-
}));
|
|
104
|
-
}
|
|
105
|
-
propagateInvalidDescendants(scope.nodes, invalidIds);
|
|
106
|
-
const nodes = scope.nodes.filter(node => !invalidIds.has(node.id));
|
|
107
|
-
const nodeIds = new Set(nodes.map(node => node.id));
|
|
108
|
-
const selectedIds = scope.selectedIds.filter(id => nodeIds.has(id));
|
|
109
|
-
const activeId = scope.activeId && selectedIds.includes(scope.activeId)
|
|
110
|
-
? scope.activeId
|
|
111
|
-
: selectedIds[selectedIds.length - 1] ?? null;
|
|
112
|
-
const staleSelectionIds = scope.selectedIds.filter(id => !nodeIds.has(id));
|
|
113
|
-
if (staleSelectionIds.length > 0 || scope.activeId !== activeId) {
|
|
114
|
-
diagnostics.push(createDiagnostic(scope, {
|
|
115
|
-
code: 'hierarchy-selection-stale',
|
|
116
|
-
severity: 'warning',
|
|
117
|
-
message: `Hierarchy selection referenced unavailable rows: ${staleSelectionIds.join(', ') || scope.activeId}.`,
|
|
118
|
-
details: { selectedIds: scope.selectedIds, activeId: scope.activeId },
|
|
119
|
-
}));
|
|
120
|
-
}
|
|
121
|
-
return createProjectionResult(scope, nodes, targets.filter(target => nodeIds.has(target.rowId)), diagnostics, true, selectedIds, activeId);
|
|
122
|
-
}
|
|
123
|
-
export function formatLocalEditorStatusDiagnostic(diagnostic) {
|
|
124
|
-
const location = [diagnostic.scopeId, diagnostic.rowId, diagnostic.targetId]
|
|
125
|
-
.filter(Boolean)
|
|
126
|
-
.join(' / ');
|
|
127
|
-
return [
|
|
128
|
-
`[${diagnostic.severity.toUpperCase()}] ${diagnostic.code}`,
|
|
129
|
-
diagnostic.message,
|
|
130
|
-
`Source: ${diagnostic.source}`,
|
|
131
|
-
location ? `Location: ${location}` : '',
|
|
132
|
-
diagnostic.documentRevision != null ? `Document revision: ${diagnostic.documentRevision}` : '',
|
|
133
|
-
diagnostic.projectionRevision != null ? `Projection revision: ${diagnostic.projectionRevision}` : '',
|
|
134
|
-
diagnostic.details ? `Details: ${formatLocalEditorStatusDiagnosticDetails(diagnostic.details)}` : '',
|
|
135
|
-
].filter(Boolean).join('\n');
|
|
136
|
-
}
|
|
137
|
-
export function formatLocalEditorStatusDiagnosticDetails(details) {
|
|
138
|
-
try {
|
|
139
|
-
return JSON.stringify(details);
|
|
140
|
-
}
|
|
141
|
-
catch {
|
|
142
|
-
return '[unserializable details]';
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
function createProjectionResult(scope, nodes, targets, diagnostics, interactive, selectedIds = [], activeId = null) {
|
|
146
|
-
const health = diagnostics.some(item => item.severity === 'error')
|
|
147
|
-
? 'error'
|
|
148
|
-
: diagnostics.length > 0
|
|
149
|
-
? 'warning'
|
|
150
|
-
: 'healthy';
|
|
151
|
-
return {
|
|
152
|
-
scopeId: scope.scopeId,
|
|
153
|
-
scopeKind: scope.kind,
|
|
154
|
-
documentRevision: scope.documentRevision,
|
|
155
|
-
projectionRevision: scope.projectionRevision,
|
|
156
|
-
health,
|
|
157
|
-
interactive: interactive && (health !== 'error' || nodes.length > 0),
|
|
158
|
-
nodes,
|
|
159
|
-
selectedIds,
|
|
160
|
-
activeId,
|
|
161
|
-
targets,
|
|
162
|
-
diagnostics,
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
function createDiagnostic(scope, input) {
|
|
166
|
-
return {
|
|
167
|
-
...input,
|
|
168
|
-
source: 'hierarchy-projection',
|
|
169
|
-
scopeId: scope.scopeId,
|
|
170
|
-
documentRevision: scope.documentRevision,
|
|
171
|
-
projectionRevision: scope.projectionRevision,
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
function propagateInvalidDescendants(nodes, invalidIds) {
|
|
175
|
-
let changed = true;
|
|
176
|
-
while (changed) {
|
|
177
|
-
changed = false;
|
|
178
|
-
for (const node of nodes) {
|
|
179
|
-
if (invalidIds.has(node.id) || !node.parentId || !invalidIds.has(node.parentId))
|
|
180
|
-
continue;
|
|
181
|
-
invalidIds.add(node.id);
|
|
182
|
-
changed = true;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
//# sourceMappingURL=local-editor-ui-hierarchy-projection.js.map
|
package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-ui-hierarchy-projection.js","sourceRoot":"","sources":["../src/local-editor-ui-hierarchy-projection.ts"],"names":[],"mappings":"AASA,MAAM,UAAU,gDAAgD,CAC9D,YAA4D,EAC5D,QAAwD;IAExD,OAAO,YAAY,CAAC,OAAO,KAAK,QAAQ,CAAC,OAAO;WAC3C,YAAY,CAAC,gBAAgB,KAAK,QAAQ,CAAC,gBAAgB;WAC3D,YAAY,CAAC,kBAAkB,KAAK,QAAQ,CAAC,kBAAkB,CAAC;AACvE,CAAC;AAED,MAAM,UAAU,uCAAuC,CACrD,UAAyE,EACzE,KAAuC;IAEvC,OAAO,UAAU,EAAE,OAAO,KAAK,KAAK,CAAC,OAAO;WACvC,UAAU,CAAC,gBAAgB,KAAK,KAAK,CAAC,gBAAgB;WACtD,UAAU,CAAC,kBAAkB,KAAK,KAAK,CAAC,kBAAkB,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,oCAAoC,CAClD,KAAuC;IAEvC,MAAM,WAAW,GAAyC,EAAE,CAAC;IAC7D,MAAM,QAAQ,G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;QACf,OAAO,GAAG,KAAK,CAAC;QAChB,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACzB,IAAI,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;gBAAE,SAAS;YAC1F,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YACxB,OAAO,GAAG,IAAI,CAAC;QACjB,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import type {\n LocalEditorBrowserHierarchyCommandPrecondition,\n LocalEditorBrowserHierarchyProjectionState,\n LocalEditorBrowserHierarchyProjectionTarget,\n LocalEditorBrowserHierarchyScope,\n LocalEditorBrowserHierarchyScopeNode,\n LocalEditorBrowserStatusDiagnostic,\n} from './local-editor-ui-types';\n\nexport function isLocalEditorHierarchyCommandPreconditionCurrent(\n precondition: LocalEditorBrowserHierarchyCommandPrecondition,\n expected: LocalEditorBrowserHierarchyCommandPrecondition,\n): boolean {\n return precondition.scopeId === expected.scopeId\n && precondition.documentRevision === expected.documentRevision\n && precondition.projectionRevision === expected.projectionRevision;\n}\n\nexport function isLocalEditorHierarchyProjectionCurrent(\n projection: LocalEditorBrowserHierarchyProjectionState | null | undefined,\n scope: LocalEditorBrowserHierarchyScope,\n): projection is LocalEditorBrowserHierarchyProjectionState {\n return projection?.scopeId === scope.scopeId\n && projection.documentRevision === scope.documentRevision\n && projection.projectionRevision === scope.projectionRevision;\n}\n\nexport function createLocalEditorHierarchyProjection(\n scope: LocalEditorBrowserHierarchyScope,\n): LocalEditorBrowserHierarchyProjectionState {\n const diagnostics: LocalEditorBrowserStatusDiagnostic[] = [];\n const rowsById = new Map<string, LocalEditorBrowserHierarchyScopeNode>();\n const duplicateRowIds = new Set<string>();\n\n for (const node of scope.nodes) {\n if (rowsById.has(node.id)) {\n duplicateRowIds.add(node.id);\n diagnostics.push(createDiagnostic(scope, {\n code: 'hierarchy-row-id-duplicate',\n severity: 'error',\n message: `Hierarchy row ID is duplicated: ${node.id}`,\n rowId: node.id,\n }));\n continue;\n }\n rowsById.set(node.id, node);\n }\n\n const invalidIds = new Set<string>(duplicateRowIds);\n for (const duplicateRowId of duplicateRowIds) rowsById.delete(duplicateRowId);\n for (const node of scope.nodes) {\n if (invalidIds.has(node.id)) continue;\n if (node.parentId != null && !rowsById.has(node.parentId)) {\n invalidIds.add(node.id);\n diagnostics.push(createDiagnostic(scope, {\n code: 'hierarchy-parent-missing',\n severity: 'error',\n message: `Hierarchy row ${node.id} references missing parent ${node.parentId}.`,\n rowId: node.id,\n targetId: node.parentId,\n }));\n }\n }\n\n for (const node of scope.nodes) {\n const path = new Set<string>();\n let cursor: LocalEditorBrowserHierarchyScopeNode | undefined = node;\n while (cursor?.parentId != null) {\n if (path.has(cursor.id)) {\n for (const id of path) invalidIds.add(id);\n diagnostics.push(createDiagnostic(scope, {\n code: 'hierarchy-parent-cycle',\n severity: 'error',\n message: `Hierarchy parent cycle includes row ${cursor.id}.`,\n rowId: cursor.id,\n }));\n break;\n }\n path.add(cursor.id);\n cursor = rowsById.get(cursor.parentId);\n }\n }\n\n propagateInvalidDescendants(scope.nodes, invalidIds);\n\n const targets: LocalEditorBrowserHierarchyProjectionTarget[] = [];\n const targetRows = new Map<string, string[]>();\n for (const node of scope.nodes) {\n if (invalidIds.has(node.id)) continue;\n const targetId = node.commandTargetId?.trim();\n if (!targetId) {\n if (node.commandable === false) continue;\n invalidIds.add(node.id);\n diagnostics.push(createDiagnostic(scope, {\n code: 'hierarchy-command-target-missing',\n severity: 'error',\n message: `Hierarchy row ${node.id} has no command target.`,\n rowId: node.id,\n }));\n continue;\n }\n const rows = targetRows.get(targetId) ?? [];\n rows.push(node.id);\n targetRows.set(targetId, rows);\n targets.push({\n rowId: node.id,\n targetId,\n targetKind: node.sourceKind ?? node.role ?? 'object',\n });\n }\n\n for (const [targetId, rowIds] of targetRows) {\n if (rowIds.length < 2) continue;\n for (const rowId of rowIds) invalidIds.add(rowId);\n diagnostics.push(createDiagnostic(scope, {\n code: 'hierarchy-command-target-duplicate',\n severity: 'error',\n message: `Hierarchy command target ${targetId} is shared by rows: ${rowIds.join(', ')}.`,\n targetId,\n details: { rowIds },\n }));\n }\n\n propagateInvalidDescendants(scope.nodes, invalidIds);\n const nodes = scope.nodes.filter(node => !invalidIds.has(node.id));\n const nodeIds = new Set(nodes.map(node => node.id));\n const selectedIds = scope.selectedIds.filter(id => nodeIds.has(id));\n const activeId = scope.activeId && selectedIds.includes(scope.activeId)\n ? scope.activeId\n : selectedIds[selectedIds.length - 1] ?? null;\n const staleSelectionIds = scope.selectedIds.filter(id => !nodeIds.has(id));\n if (staleSelectionIds.length > 0 || scope.activeId !== activeId) {\n diagnostics.push(createDiagnostic(scope, {\n code: 'hierarchy-selection-stale',\n severity: 'warning',\n message: `Hierarchy selection referenced unavailable rows: ${staleSelectionIds.join(', ') || scope.activeId}.`,\n details: { selectedIds: scope.selectedIds, activeId: scope.activeId },\n }));\n }\n\n return createProjectionResult(\n scope,\n nodes,\n targets.filter(target => nodeIds.has(target.rowId)),\n diagnostics,\n true,\n selectedIds,\n activeId,\n );\n}\n\nexport function formatLocalEditorStatusDiagnostic(\n diagnostic: LocalEditorBrowserStatusDiagnostic,\n): string {\n const location = [diagnostic.scopeId, diagnostic.rowId, diagnostic.targetId]\n .filter(Boolean)\n .join(' / ');\n return [\n `[${diagnostic.severity.toUpperCase()}] ${diagnostic.code}`,\n diagnostic.message,\n `Source: ${diagnostic.source}`,\n location ? `Location: ${location}` : '',\n diagnostic.documentRevision != null ? `Document revision: ${diagnostic.documentRevision}` : '',\n diagnostic.projectionRevision != null ? `Projection revision: ${diagnostic.projectionRevision}` : '',\n diagnostic.details ? `Details: ${formatLocalEditorStatusDiagnosticDetails(diagnostic.details)}` : '',\n ].filter(Boolean).join('\\n');\n}\n\nexport function formatLocalEditorStatusDiagnosticDetails(details: Record<string, unknown>): string {\n try {\n return JSON.stringify(details);\n } catch {\n return '[unserializable details]';\n }\n}\n\nfunction createProjectionResult(\n scope: LocalEditorBrowserHierarchyScope,\n nodes: LocalEditorBrowserHierarchyScopeNode[],\n targets: LocalEditorBrowserHierarchyProjectionTarget[],\n diagnostics: LocalEditorBrowserStatusDiagnostic[],\n interactive: boolean,\n selectedIds: string[] = [],\n activeId: string | null = null,\n): LocalEditorBrowserHierarchyProjectionState {\n const health = diagnostics.some(item => item.severity === 'error')\n ? 'error'\n : diagnostics.length > 0\n ? 'warning'\n : 'healthy';\n return {\n scopeId: scope.scopeId,\n scopeKind: scope.kind,\n documentRevision: scope.documentRevision,\n projectionRevision: scope.projectionRevision,\n health,\n interactive: interactive && (health !== 'error' || nodes.length > 0),\n nodes,\n selectedIds,\n activeId,\n targets,\n diagnostics,\n };\n}\n\nfunction createDiagnostic(\n scope: LocalEditorBrowserHierarchyScope,\n input: Omit<LocalEditorBrowserStatusDiagnostic, 'source' | 'scopeId' | 'documentRevision' | 'projectionRevision'>,\n): LocalEditorBrowserStatusDiagnostic {\n return {\n ...input,\n source: 'hierarchy-projection',\n scopeId: scope.scopeId,\n documentRevision: scope.documentRevision,\n projectionRevision: scope.projectionRevision,\n };\n}\n\nfunction propagateInvalidDescendants(\n nodes: readonly LocalEditorBrowserHierarchyScopeNode[],\n invalidIds: Set<string>,\n): void {\n let changed = true;\n while (changed) {\n changed = false;\n for (const node of nodes) {\n if (invalidIds.has(node.id) || !node.parentId || !invalidIds.has(node.parentId)) continue;\n invalidIds.add(node.id);\n changed = true;\n }\n }\n}\n"]}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { LocalEditorBrowserHierarchyScope, LocalEditorBrowserPrefabStageState, LocalEditorBrowserUiState } from './local-editor-ui-types';
|
|
2
|
-
export declare function createLocalEditorSceneHierarchyScope<TDocument>(state: Pick<LocalEditorBrowserUiState<TDocument>, 'hierarchy' | 'selectedIds' | 'activeId' | 'documentRevision' | 'hierarchyProjectionRevision'>): LocalEditorBrowserHierarchyScope;
|
|
3
|
-
export declare function createLocalEditorPrefabStageHierarchyScope<TDocument>(stage: LocalEditorBrowserPrefabStageState<TDocument>, documentRevision?: number, projectionRevision?: number): LocalEditorBrowserHierarchyScope;
|
|
4
|
-
export declare function createLocalEditorActiveHierarchyScope<TDocument>(state: LocalEditorBrowserUiState<TDocument>): LocalEditorBrowserHierarchyScope;
|
|
5
|
-
//# sourceMappingURL=local-editor-ui-hierarchy-scope.d.ts.map
|
package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-ui-hierarchy-scope.d.ts","sourceRoot":"","sources":["../src/local-editor-ui-hierarchy-scope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gCAAgC,EAEhC,kCAAkC,EAGlC,yBAAyB,EAC1B,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,oCAAoC,CAAC,SAAS,EAC5D,KAAK,EAAE,IAAI,CAAC,yBAAyB,CAAC,SAAS,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,UAAU,GAAG,kBAAkB,GAAG,6BAA6B,CAAC,GAC/I,gCAAgC,CAgBlC;AAcD,wBAAgB,0CAA0C,CAAC,SAAS,EAClE,KAAK,EAAE,kCAAkC,CAAC,SAAS,CAAC,EACpD,gBAAgB,SAAI,EACpB,kBAAkB,SAAmB,GACpC,gCAAgC,CAiBlC;AAED,wBAAgB,qCAAqC,CAAC,SAAS,EAC7D,KAAK,EAAE,yBAAyB,CAAC,SAAS,CAAC,GAC1C,gCAAgC,CAQlC"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
export function createLocalEditorSceneHierarchyScope(state) {
|
|
2
|
-
const revision = state.documentRevision ?? 0;
|
|
3
|
-
const projectionRevision = state.hierarchyProjectionRevision ?? revision;
|
|
4
|
-
return {
|
|
5
|
-
scopeId: 'scene',
|
|
6
|
-
kind: 'scene',
|
|
7
|
-
title: 'Hierarchy',
|
|
8
|
-
searchPlaceholder: '搜索 GameObject 名称',
|
|
9
|
-
nodes: state.hierarchy.map(mapSceneHierarchyItemToScopeNode),
|
|
10
|
-
selectedIds: [...state.selectedIds],
|
|
11
|
-
activeId: state.activeId,
|
|
12
|
-
readonly: false,
|
|
13
|
-
commandSurface: 'scene-graph',
|
|
14
|
-
documentRevision: revision,
|
|
15
|
-
projectionRevision,
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
function mapSceneHierarchyItemToScopeNode(item) {
|
|
19
|
-
if (item.protected !== true)
|
|
20
|
-
return { ...item, scopeId: 'scene', commandTargetId: item.id };
|
|
21
|
-
return {
|
|
22
|
-
...item,
|
|
23
|
-
scopeId: 'scene',
|
|
24
|
-
renamable: item.renamable ?? false,
|
|
25
|
-
deletable: item.deletable ?? false,
|
|
26
|
-
draggable: item.draggable ?? false,
|
|
27
|
-
commandTargetId: item.id,
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
export function createLocalEditorPrefabStageHierarchyScope(stage, documentRevision = 0, projectionRevision = documentRevision) {
|
|
31
|
-
const scopeId = `prefab-stage:${stage.assetId}`;
|
|
32
|
-
const nodes = flattenPrefabStageStructureItems(stage.structureItems, scopeId, null, stage.readonly === true);
|
|
33
|
-
const selectedIds = stage.selectedItemId ? [stage.selectedItemId] : [];
|
|
34
|
-
return {
|
|
35
|
-
scopeId,
|
|
36
|
-
kind: 'prefab-stage',
|
|
37
|
-
title: `Hierarchy / Prefab: ${stage.label}`,
|
|
38
|
-
searchPlaceholder: 'Filter prefab nodes',
|
|
39
|
-
nodes,
|
|
40
|
-
selectedIds,
|
|
41
|
-
activeId: selectedIds[0] ?? null,
|
|
42
|
-
readonly: stage.readonly === true,
|
|
43
|
-
commandSurface: stage.readonly === true ? 'readonly' : 'prefab-composition',
|
|
44
|
-
documentRevision,
|
|
45
|
-
projectionRevision,
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
export function createLocalEditorActiveHierarchyScope(state) {
|
|
49
|
-
return state.prefabStage
|
|
50
|
-
? createLocalEditorPrefabStageHierarchyScope(state.prefabStage, state.documentRevision ?? 0, state.hierarchyProjectionRevision ?? state.documentRevision ?? 0)
|
|
51
|
-
: createLocalEditorSceneHierarchyScope(state);
|
|
52
|
-
}
|
|
53
|
-
function flattenPrefabStageStructureItems(items, scopeId, parentId, stageReadonly) {
|
|
54
|
-
const nodes = [];
|
|
55
|
-
for (const item of items) {
|
|
56
|
-
const includeItem = isPrefabStageHierarchyItem(item);
|
|
57
|
-
const nextParentId = includeItem ? item.id : parentId;
|
|
58
|
-
if (includeItem) {
|
|
59
|
-
nodes.push(mapPrefabStageStructureItemToHierarchyNode(item, scopeId, parentId, stageReadonly));
|
|
60
|
-
}
|
|
61
|
-
nodes.push(...flattenPrefabStageStructureItems(item.children ?? [], scopeId, nextParentId, stageReadonly));
|
|
62
|
-
}
|
|
63
|
-
return nodes;
|
|
64
|
-
}
|
|
65
|
-
function isPrefabStageHierarchyItem(item) {
|
|
66
|
-
return item.kind === 'root' || item.itemType === 'prefab-node';
|
|
67
|
-
}
|
|
68
|
-
function mapPrefabStageStructureItemToHierarchyNode(item, scopeId, parentId, stageReadonly) {
|
|
69
|
-
const readonly = stageReadonly || item.readonly === true;
|
|
70
|
-
const isRoot = item.kind === 'root';
|
|
71
|
-
const canEdit = !readonly && !isRoot;
|
|
72
|
-
return {
|
|
73
|
-
id: item.id,
|
|
74
|
-
label: item.label,
|
|
75
|
-
parentId,
|
|
76
|
-
role: mapPrefabStageStructureKindToHierarchyRole(item.kind),
|
|
77
|
-
icon: item.icon,
|
|
78
|
-
scopeId,
|
|
79
|
-
sourceKind: item.kind,
|
|
80
|
-
commandTargetId: isRoot ? undefined : item.nodeId ?? item.id,
|
|
81
|
-
commandable: !isRoot,
|
|
82
|
-
selectable: true,
|
|
83
|
-
protected: false,
|
|
84
|
-
locked: false,
|
|
85
|
-
canHaveChildren: !readonly && !isRoot,
|
|
86
|
-
renamable: canEdit,
|
|
87
|
-
deletable: canEdit,
|
|
88
|
-
draggable: canEdit,
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
function mapPrefabStageStructureKindToHierarchyRole(kind) {
|
|
92
|
-
if (kind === 'root')
|
|
93
|
-
return 'root';
|
|
94
|
-
if (kind === 'group')
|
|
95
|
-
return 'group';
|
|
96
|
-
return 'object';
|
|
97
|
-
}
|
|
98
|
-
//# sourceMappingURL=local-editor-ui-hierarchy-scope.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-ui-hierarchy-scope.js","sourceRoot":"","sources":["../src/local-editor-ui-hierarchy-scope.ts"],"names":[],"mappings":"AASA,MAAM,UAAU,oCAAoC,CAClD,KAAgJ;IAEhJ,MAAM,QAAQ,GAAG,KAAK,CAAC,gBAAgB,IAAI,CAAC,CAAC;IAC7C,MAAM,kBAAkB,GAAG,KAAK,CAAC,2BAA2B,IAAI,QAAQ,CAAC;IACzE,OAAO;QACL,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,WAAW;QAClB,iBAAiB,EAAE,kBAAkB;QACrC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,gCAAgC,CAAC;QAC5D,WAAW,EAAE,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC;QACnC,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,QAAQ,EAAE,KAAK;QACf,cAAc,EAAE,aAAa;QAC7B,gBAAgB,EAAE,QAAQ;QAC1B,kBAAkB;KACnB,CAAC;AACJ,CAAC;AAED,SAAS,gCAAgC,CAAC,IAAuC;IAC/E,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI;QAAE,OAAO,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC;IAC5F,OAAO;QACL,GAAG,I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B,QAAQ;QACR,IAAI,EAAE,0CAA0C,CAAC,IAAI,CAAC,IAAI,CAAC;QAC3D,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,OAAO;QACP,UAAU,EAAE,IAAI,CAAC,IAAI;QACrB,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,EAAE;QAC5D,WAAW,EAAE,CAAC,MAAM;QACpB,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE,KAAK;QACb,eAAe,EAAE,CAAC,QAAQ,IAAI,CAAC,MAAM;QACrC,SAAS,EAAE,OAAO;QAClB,SAAS,EAAE,OAAO;QAClB,SAAS,EAAE,OAAO;KACnB,CAAC;AACJ,CAAC;AAED,SAAS,0CAA0C,CACjD,IAAwD;IAExD,IAAI,IAAI,KAAK,MAAM;QAAE,OAAO,MAAM,CAAC;IACnC,IAAI,IAAI,KAAK,OAAO;QAAE,OAAO,OAAO,CAAC;IACrC,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["import type {\n LocalEditorBrowserHierarchyScope,\n LocalEditorBrowserHierarchyScopeNode,\n LocalEditorBrowserPrefabStageState,\n LocalEditorBrowserPrefabStageStructureItem,\n LocalEditorBrowserUiHierarchyItem,\n LocalEditorBrowserUiState,\n} from './local-editor-ui-types';\n\nexport function createLocalEditorSceneHierarchyScope<TDocument>(\n state: Pick<LocalEditorBrowserUiState<TDocument>, 'hierarchy' | 'selectedIds' | 'activeId' | 'documentRevision' | 'hierarchyProjectionRevision'>,\n): LocalEditorBrowserHierarchyScope {\n const revision = state.documentRevision ?? 0;\n const projectionRevision = state.hierarchyProjectionRevision ?? revision;\n return {\n scopeId: 'scene',\n kind: 'scene',\n title: 'Hierarchy',\n searchPlaceholder: '搜索 GameObject 名称',\n nodes: state.hierarchy.map(mapSceneHierarchyItemToScopeNode),\n selectedIds: [...state.selectedIds],\n activeId: state.activeId,\n readonly: false,\n commandSurface: 'scene-graph',\n documentRevision: revision,\n projectionRevision,\n };\n}\n\nfunction mapSceneHierarchyItemToScopeNode(item: LocalEditorBrowserUiHierarchyItem): LocalEditorBrowserHierarchyScopeNode {\n if (item.protected !== true) return { ...item, scopeId: 'scene', commandTargetId: item.id };\n return {\n ...item,\n scopeId: 'scene',\n renamable: item.renamable ?? false,\n deletable: item.deletable ?? false,\n draggable: item.draggable ?? false,\n commandTargetId: item.id,\n };\n}\n\nexport function createLocalEditorPrefabStageHierarchyScope<TDocument>(\n stage: LocalEditorBrowserPrefabStageState<TDocument>,\n documentRevision = 0,\n projectionRevision = documentRevision,\n): LocalEditorBrowserHierarchyScope {\n const scopeId = `prefab-stage:${stage.assetId}`;\n const nodes = flattenPrefabStageStructureItems(stage.structureItems, scopeId, null, stage.readonly === true);\n const selectedIds = stage.selectedItemId ? [stage.selectedItemId] : [];\n return {\n scopeId,\n kind: 'prefab-stage',\n title: `Hierarchy / Prefab: ${stage.label}`,\n searchPlaceholder: 'Filter prefab nodes',\n nodes,\n selectedIds,\n activeId: selectedIds[0] ?? null,\n readonly: stage.readonly === true,\n commandSurface: stage.readonly === true ? 'readonly' : 'prefab-composition',\n documentRevision,\n projectionRevision,\n };\n}\n\nexport function createLocalEditorActiveHierarchyScope<TDocument>(\n state: LocalEditorBrowserUiState<TDocument>,\n): LocalEditorBrowserHierarchyScope {\n return state.prefabStage\n ? createLocalEditorPrefabStageHierarchyScope(\n state.prefabStage,\n state.documentRevision ?? 0,\n state.hierarchyProjectionRevision ?? state.documentRevision ?? 0,\n )\n : createLocalEditorSceneHierarchyScope(state);\n}\n\nfunction flattenPrefabStageStructureItems(\n items: readonly LocalEditorBrowserPrefabStageStructureItem[],\n scopeId: string,\n parentId: string | null,\n stageReadonly: boolean,\n): LocalEditorBrowserHierarchyScopeNode[] {\n const nodes: LocalEditorBrowserHierarchyScopeNode[] = [];\n for (const item of items) {\n const includeItem = isPrefabStageHierarchyItem(item);\n const nextParentId = includeItem ? item.id : parentId;\n if (includeItem) {\n nodes.push(mapPrefabStageStructureItemToHierarchyNode(item, scopeId, parentId, stageReadonly));\n }\n nodes.push(...flattenPrefabStageStructureItems(item.children ?? [], scopeId, nextParentId, stageReadonly));\n }\n return nodes;\n}\n\nfunction isPrefabStageHierarchyItem(item: LocalEditorBrowserPrefabStageStructureItem): boolean {\n return item.kind === 'root' || item.itemType === 'prefab-node';\n}\n\nfunction mapPrefabStageStructureItemToHierarchyNode(\n item: LocalEditorBrowserPrefabStageStructureItem,\n scopeId: string,\n parentId: string | null,\n stageReadonly: boolean,\n): LocalEditorBrowserHierarchyScopeNode {\n const readonly = stageReadonly || item.readonly === true;\n const isRoot = item.kind === 'root';\n const canEdit = !readonly && !isRoot;\n return {\n id: item.id,\n label: item.label,\n parentId,\n role: mapPrefabStageStructureKindToHierarchyRole(item.kind),\n icon: item.icon,\n scopeId,\n sourceKind: item.kind,\n commandTargetId: isRoot ? undefined : item.nodeId ?? item.id,\n commandable: !isRoot,\n selectable: true,\n protected: false,\n locked: false,\n canHaveChildren: !readonly && !isRoot,\n renamable: canEdit,\n deletable: canEdit,\n draggable: canEdit,\n };\n}\n\nfunction mapPrefabStageStructureKindToHierarchyRole(\n kind: LocalEditorBrowserPrefabStageStructureItem['kind'],\n): LocalEditorBrowserUiHierarchyItem['role'] {\n if (kind === 'root') return 'root';\n if (kind === 'group') return 'group';\n return 'object';\n}\n"]}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import type { LocalEditorBrowserUiHierarchyItem } from './local-editor-ui-types';
|
|
2
|
-
export type LocalEditorHierarchyNodeRole = 'root' | 'group' | 'object' | 'marker';
|
|
3
|
-
export type LocalEditorHierarchyDropPlacement = 'inside' | 'before' | 'after' | 'root';
|
|
4
|
-
export interface LocalEditorHierarchyTreeOptions {
|
|
5
|
-
expandedIds?: ReadonlySet<string> | readonly string[];
|
|
6
|
-
collapsedIds?: ReadonlySet<string> | readonly string[];
|
|
7
|
-
defaultExpanded?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface LocalEditorHierarchyTreeNode {
|
|
10
|
-
id: string;
|
|
11
|
-
label: string;
|
|
12
|
-
item: LocalEditorBrowserUiHierarchyItem;
|
|
13
|
-
parentId: string | null;
|
|
14
|
-
childIds: string[];
|
|
15
|
-
depth: number;
|
|
16
|
-
siblingIndex: number;
|
|
17
|
-
inputIndex: number;
|
|
18
|
-
role: LocalEditorHierarchyNodeRole;
|
|
19
|
-
protected: boolean;
|
|
20
|
-
selected: boolean;
|
|
21
|
-
active: boolean;
|
|
22
|
-
expanded: boolean;
|
|
23
|
-
visible: boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface LocalEditorHierarchyDropResolution {
|
|
26
|
-
ok: boolean;
|
|
27
|
-
reason?: string;
|
|
28
|
-
placement: LocalEditorHierarchyDropPlacement;
|
|
29
|
-
draggedIds: string[];
|
|
30
|
-
targetId: string | null;
|
|
31
|
-
parentId: string | null;
|
|
32
|
-
beforeId: string | null;
|
|
33
|
-
afterId: string | null;
|
|
34
|
-
}
|
|
35
|
-
export interface LocalEditorHierarchyDropInput {
|
|
36
|
-
draggedIds: readonly string[];
|
|
37
|
-
targetId?: string | null;
|
|
38
|
-
placement: LocalEditorHierarchyDropPlacement;
|
|
39
|
-
}
|
|
40
|
-
export interface LocalEditorHierarchyTreeModel {
|
|
41
|
-
readonly nodes: LocalEditorHierarchyTreeNode[];
|
|
42
|
-
readonly visibleRows: LocalEditorHierarchyTreeNode[];
|
|
43
|
-
readonly rootIds: string[];
|
|
44
|
-
readonly byId: ReadonlyMap<string, LocalEditorHierarchyTreeNode>;
|
|
45
|
-
readonly childrenByParentId: ReadonlyMap<string | null, string[]>;
|
|
46
|
-
getNode(id: string | null | undefined): LocalEditorHierarchyTreeNode | null;
|
|
47
|
-
getChildren(parentId: string | null | undefined): LocalEditorHierarchyTreeNode[];
|
|
48
|
-
getAncestors(id: string | null | undefined): LocalEditorHierarchyTreeNode[];
|
|
49
|
-
isDescendant(candidateId: string, ancestorId: string): boolean;
|
|
50
|
-
getSelectableChildren(id: string | null | undefined): string[];
|
|
51
|
-
getSelectableDescendants(id: string | null | undefined): string[];
|
|
52
|
-
getTopLevelSelection(ids: readonly string[]): string[];
|
|
53
|
-
getVisibleRangeSelection(anchorId: string | null | undefined, targetId: string | null | undefined): string[];
|
|
54
|
-
resolveDrop(input: LocalEditorHierarchyDropInput): LocalEditorHierarchyDropResolution;
|
|
55
|
-
}
|
|
56
|
-
export declare function createLocalEditorHierarchyTreeModel(items: readonly LocalEditorBrowserUiHierarchyItem[], selectedIds?: readonly string[], activeId?: string | null, options?: LocalEditorHierarchyTreeOptions): LocalEditorHierarchyTreeModel;
|
|
57
|
-
export declare function isLocalEditorHierarchyNodeSelectable(node: LocalEditorHierarchyTreeNode | null): boolean;
|
|
58
|
-
export declare function isLocalEditorHierarchyNodeMovable(node: LocalEditorHierarchyTreeNode | null): boolean;
|
|
59
|
-
export declare function canLocalEditorHierarchyNodeHaveChildren(node: LocalEditorHierarchyTreeNode | null): boolean;
|
|
60
|
-
export declare function canLocalEditorHierarchyNodeRename(node: LocalEditorHierarchyTreeNode | null): boolean;
|
|
61
|
-
export declare function canLocalEditorHierarchyNodeDelete(node: LocalEditorHierarchyTreeNode | null): boolean;
|
|
62
|
-
export declare function canLocalEditorHierarchyNodeToggleEnabled(node: LocalEditorHierarchyTreeNode | null): boolean;
|
|
63
|
-
//# sourceMappingURL=local-editor-ui-hierarchy-tree.d.ts.map
|