@fps-games/editor 0.2.0-beta.4 → 0.2.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-bridge/capabilities/editor-state.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/editor-state.js +12 -6
- package/dist/agent-bridge/capabilities/editor-state.js.map +1 -1
- package/dist/agent-bridge/capabilities/hierarchy.d.ts +4 -0
- package/dist/agent-bridge/capabilities/hierarchy.d.ts.map +1 -0
- package/dist/agent-bridge/capabilities/hierarchy.js +209 -0
- package/dist/agent-bridge/capabilities/hierarchy.js.map +1 -0
- package/dist/agent-bridge/capabilities/prefabs.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/prefabs.js +208 -73
- package/dist/agent-bridge/capabilities/prefabs.js.map +1 -1
- package/dist/agent-bridge/capabilities/scene-objects.d.ts +3 -4
- package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/scene-objects.js +24 -23
- package/dist/agent-bridge/capabilities/scene-objects.js.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.js +829 -66
- package/dist/agent-bridge/capabilities/shadows.js.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.js +19 -1
- package/dist/agent-bridge/capabilities/ui-regions.js.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.js +22 -9
- package/dist/agent-bridge/capabilities/viewport.js.map +1 -1
- package/dist/agent-bridge/capability-sources.d.ts.map +1 -1
- package/dist/agent-bridge/capability-sources.js +2 -0
- package/dist/agent-bridge/capability-sources.js.map +1 -1
- package/dist/agent-bridge/register.d.ts.map +1 -1
- package/dist/agent-bridge/register.js +194 -0
- package/dist/agent-bridge/register.js.map +1 -1
- package/dist/agent-bridge/shared.d.ts +231 -11
- package/dist/agent-bridge/shared.d.ts.map +1 -1
- package/dist/agent-bridge/shared.js +162 -20
- package/dist/agent-bridge/shared.js.map +1 -1
- package/dist/agent-bridge/source-types.d.ts +17 -1
- package/dist/agent-bridge/source-types.d.ts.map +1 -1
- package/dist/agent-bridge/source-types.js.map +1 -1
- package/dist/build-info.json +57 -42
- package/dist/index.d.ts +7 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/internal/babylon-preview-engine.d.ts +3 -0
- package/dist/internal/babylon-preview-engine.d.ts.map +1 -0
- package/dist/internal/babylon-preview-engine.js +11 -0
- package/dist/internal/babylon-preview-engine.js.map +1 -0
- package/dist/internal/material-preview.d.ts +22 -0
- package/dist/internal/material-preview.d.ts.map +1 -0
- package/dist/internal/material-preview.js +186 -0
- package/dist/internal/material-preview.js.map +1 -0
- package/dist/internal/product-local-editor-cleanup.d.ts +5 -0
- package/dist/internal/product-local-editor-cleanup.d.ts.map +1 -0
- package/dist/internal/product-local-editor-cleanup.js +20 -0
- package/dist/internal/product-local-editor-cleanup.js.map +1 -0
- package/dist/internal/project-model-preview.d.ts +4 -0
- package/dist/internal/project-model-preview.d.ts.map +1 -0
- package/dist/internal/project-model-preview.js +359 -0
- package/dist/internal/project-model-preview.js.map +1 -0
- package/dist/local-editor-agent-actions.d.ts +2 -4
- package/dist/local-editor-agent-actions.d.ts.map +1 -1
- package/dist/local-editor-agent-actions.js +56 -32
- package/dist/local-editor-agent-actions.js.map +1 -1
- package/dist/local-editor-agent-context.d.ts +17 -6
- package/dist/local-editor-agent-context.d.ts.map +1 -1
- package/dist/local-editor-agent-context.js +47 -0
- package/dist/local-editor-agent-context.js.map +1 -1
- package/dist/local-editor-harness.d.ts +353 -35
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +4115 -1313
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-marker-graph.d.ts +15 -15
- package/dist/local-editor-marker-graph.d.ts.map +1 -1
- package/dist/local-editor-marker-graph.js +3 -0
- package/dist/local-editor-marker-graph.js.map +1 -1
- package/dist/local-editor-performance-stats.d.ts +3 -2
- package/dist/local-editor-performance-stats.d.ts.map +1 -1
- package/dist/local-editor-performance-stats.js.map +1 -1
- package/dist/local-editor-prefab-stage-transaction.d.ts +19 -0
- package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -0
- package/dist/local-editor-prefab-stage-transaction.js +45 -0
- package/dist/local-editor-prefab-stage-transaction.js.map +1 -0
- package/dist/local-editor-scene-view-interaction-runtime.d.ts +3 -1
- package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
- package/dist/local-editor-scene-view-interaction-runtime.js +24 -0
- package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
- package/dist/local-editor-tools.d.ts +19 -0
- package/dist/local-editor-tools.d.ts.map +1 -0
- package/dist/local-editor-tools.js +56 -0
- package/dist/local-editor-tools.js.map +1 -0
- package/dist/playable-babylon-rendering.d.ts +9 -0
- package/dist/playable-babylon-rendering.d.ts.map +1 -1
- package/dist/playable-babylon-rendering.js +162 -6
- package/dist/playable-babylon-rendering.js.map +1 -1
- package/dist/playable-local-editor-entry.d.ts +68 -0
- package/dist/playable-local-editor-entry.d.ts.map +1 -0
- package/dist/playable-local-editor-entry.js +424 -0
- package/dist/playable-local-editor-entry.js.map +1 -0
- package/dist/playable-local-editor-host.d.ts +55 -29
- package/dist/playable-local-editor-host.d.ts.map +1 -1
- package/dist/playable-local-editor-host.js +50 -11
- package/dist/playable-local-editor-host.js.map +1 -1
- package/dist/playable-product-local-editor.d.ts +10 -12
- package/dist/playable-product-local-editor.d.ts.map +1 -1
- package/dist/playable-product-local-editor.js +178 -85
- package/dist/playable-product-local-editor.js.map +1 -1
- package/dist/playable-product-projection-preview.d.ts +4 -1
- package/dist/playable-product-projection-preview.d.ts.map +1 -1
- package/dist/playable-product-projection-preview.js +122 -5
- package/dist/playable-product-projection-preview.js.map +1 -1
- package/dist/playable-product-rendering.d.ts +12 -0
- package/dist/playable-product-rendering.d.ts.map +1 -1
- package/dist/playable-product-rendering.js +128 -6
- package/dist/playable-product-rendering.js.map +1 -1
- package/dist/playable-product-scene-capabilities.d.ts +24 -7
- package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
- package/dist/playable-product-scene-capabilities.js +180 -17
- package/dist/playable-product-scene-capabilities.js.map +1 -1
- package/dist/playable-project-mode.d.ts +17 -0
- package/dist/playable-project-mode.d.ts.map +1 -0
- package/dist/playable-project-mode.js +2 -0
- package/dist/playable-project-mode.js.map +1 -0
- package/dist/playable-runtime-babylon.d.ts +3 -6
- package/dist/playable-runtime-babylon.d.ts.map +1 -1
- package/dist/playable-runtime-babylon.js +1 -5
- package/dist/playable-runtime-babylon.js.map +1 -1
- package/dist/playable-sdk.d.ts +16 -9
- package/dist/playable-sdk.d.ts.map +1 -1
- package/dist/playable-sdk.js +6 -4
- package/dist/playable-sdk.js.map +1 -1
- package/dist/playable-standard-project.d.ts +23 -14
- package/dist/playable-standard-project.d.ts.map +1 -1
- package/dist/playable-standard-project.js +57 -20
- package/dist/playable-standard-project.js.map +1 -1
- package/dist/vite-client.d.ts +4 -0
- package/node_modules/@babel/helper-string-parser/lib/index.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -1
- package/node_modules/@babel/parser/lib/index.js +0 -1
- package/node_modules/@babel/types/lib/asserts/assertNode.js +0 -1
- package/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -1
- package/node_modules/@babel/types/lib/builders/productions.js +0 -1
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -1
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -1
- package/node_modules/@babel/types/lib/builders/validateNode.js +0 -1
- package/node_modules/@babel/types/lib/clone/clone.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneNode.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -1
- package/node_modules/@babel/types/lib/comments/addComment.js +0 -1
- package/node_modules/@babel/types/lib/comments/addComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/removeComments.js +0 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/constants/index.js +0 -1
- package/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -1
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -1
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -1
- package/node_modules/@babel/types/lib/converters/toBlock.js +0 -1
- package/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -1
- package/node_modules/@babel/types/lib/converters/toExpression.js +0 -1
- package/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -1
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -1
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -1
- package/node_modules/@babel/types/lib/converters/toStatement.js +0 -1
- package/node_modules/@babel/types/lib/converters/valueToNode.js +0 -1
- package/node_modules/@babel/types/lib/definitions/core.js +0 -1
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -1
- package/node_modules/@babel/types/lib/definitions/experimental.js +0 -1
- package/node_modules/@babel/types/lib/definitions/flow.js +0 -1
- package/node_modules/@babel/types/lib/definitions/index.js +0 -1
- package/node_modules/@babel/types/lib/definitions/jsx.js +0 -1
- package/node_modules/@babel/types/lib/definitions/misc.js +0 -1
- package/node_modules/@babel/types/lib/definitions/placeholders.js +0 -1
- package/node_modules/@babel/types/lib/definitions/typescript.js +0 -1
- package/node_modules/@babel/types/lib/definitions/utils.js +0 -1
- package/node_modules/@babel/types/lib/index.js +0 -1
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -1
- package/node_modules/@babel/types/lib/modifications/inherits.js +0 -1
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -1
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -1
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/traverse/traverse.js +0 -1
- package/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -1
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -1
- package/node_modules/@babel/types/lib/utils/inherit.js +0 -1
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -1
- package/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -1
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/validators/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/validators/is.js +0 -1
- package/node_modules/@babel/types/lib/validators/isBinding.js +0 -1
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -1
- package/node_modules/@babel/types/lib/validators/isImmutable.js +0 -1
- package/node_modules/@babel/types/lib/validators/isLet.js +0 -1
- package/node_modules/@babel/types/lib/validators/isNode.js +0 -1
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -1
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -1
- package/node_modules/@babel/types/lib/validators/isReferenced.js +0 -1
- package/node_modules/@babel/types/lib/validators/isScope.js +0 -1
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -1
- package/node_modules/@babel/types/lib/validators/isType.js +0 -1
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -1
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -1
- package/node_modules/@babel/types/lib/validators/isVar.js +0 -1
- package/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -1
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -1
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -1
- package/node_modules/@babel/types/lib/validators/validate.js +0 -1
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.d.ts +69 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.js +132 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.js +7 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoader.d.ts +14 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoader.js +328 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.d.ts +9 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/BVH/index.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/BVH/index.js +3 -0
- package/node_modules/@babylonjs/loaders/OBJ/index.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/index.js +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.js +230 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.d.ts +136 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.js +317 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.js +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/OBJ/solidParser.d.ts +175 -0
- package/node_modules/@babylonjs/loaders/OBJ/solidParser.js +903 -0
- package/node_modules/@babylonjs/loaders/SPLAT/index.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/SPLAT/index.js +3 -0
- package/node_modules/@babylonjs/loaders/SPLAT/sog.d.ts +84 -0
- package/node_modules/@babylonjs/loaders/SPLAT/sog.js +294 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.d.ts +26 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.js +10 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.d.ts +100 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.js +536 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.d.ts +20 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.js +15 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/SPLAT/spz.d.ts +11 -0
- package/node_modules/@babylonjs/loaders/SPLAT/spz.js +168 -0
- package/node_modules/@babylonjs/loaders/STL/index.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/STL/index.js +1 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.d.ts +78 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.js +238 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.js +7 -0
- package/node_modules/@babylonjs/loaders/bvh/license.md +21 -0
- package/node_modules/@babylonjs/loaders/dynamic.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/dynamic.js +56 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.d.ts +16 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.js +64 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.d.ts +144 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.js +1841 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.d.ts +412 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.js +95 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.d.ts +71 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.js +254 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.d.ts +13 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.js +130 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/index.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/index.js +5 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.js +93 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.js +83 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.d.ts +48 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.js +115 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js +94 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.js +50 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.d.ts +34 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.js +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.js +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.d.ts +53 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.js +73 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.js +251 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.js +77 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.js +92 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.d.ts +355 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js +1678 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.js +19 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.d.ts +3 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.js +3 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.d.ts +70 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js +438 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.d.ts +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.js +150 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.js +91 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.js +65 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.js +79 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.d.ts +49 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.js +119 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.js +58 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.js +69 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.js +56 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.js +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.js +77 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.d.ts +46 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.js +54 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.js +68 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js +80 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.js +73 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.js +76 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.js +303 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.js +66 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.d.ts +112 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.js +262 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.js +82 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.d.ts +45 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.js +109 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.d.ts +29 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.js +22 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.d.ts +31 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.js +189 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.d.ts +30 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.js +123 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.d.ts +30 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.js +66 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.js +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.d.ts +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.js +58 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.js +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.d.ts +56 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.js +228 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.d.ts +104 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.js +337 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.d.ts +27 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.js +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.d.ts +27 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.js +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.js +212 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.d.ts +45 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.js +100 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.js +44 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.d.ts +306 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.js +884 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.d.ts +450 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.js +2485 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.js +79 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.d.ts +165 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.d.ts +25 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.js +32 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.d.ts +262 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/index.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/index.js +9 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.d.ts +364 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.d.ts +674 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.js +1034 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.d.ts +705 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.js +1126 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.d.ts +553 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.js +998 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.d.ts +15 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.js +17 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFValidation.d.ts +35 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFValidation.js +131 -0
- package/node_modules/@babylonjs/loaders/glTF/index.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/glTF/index.js +6 -0
- package/node_modules/@babylonjs/loaders/index.d.ts +6 -0
- package/node_modules/@babylonjs/loaders/index.js +7 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.js +13 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.js +18 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.js +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.js +34 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.js +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.d.ts +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.js +4 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy.js +10 -0
- package/node_modules/@babylonjs/loaders/license.md +71 -0
- package/node_modules/@babylonjs/loaders/package.json +49 -0
- package/node_modules/@babylonjs/loaders/readme.md +23 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts +22 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js +187 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.js +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts +19 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js +212 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +17 -2
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +192 -17
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +139 -3
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts +14 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js +14 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts +59 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js +725 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts +136 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js +2735 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/package.json +7 -7
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts +2 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js +2 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts +2 -0
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +59 -6
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.js +24 -0
- package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js +81 -11
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js +2 -8
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +26 -5
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +396 -363
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts +4 -0
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +76 -10
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.js +85 -22
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts +46 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js +304 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts +87 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +1746 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts +11 -3
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js +105 -15
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +249 -15
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts +25 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js +44 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/package.json +6 -5
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +13 -11
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js +9 -9
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.d.ts +35 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.js +136 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.d.ts +46 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.js +283 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js +36 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +17 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.d.ts +12 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.js +67 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.d.ts +6 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.js +9 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.d.ts +7 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.js +20 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.d.ts +9 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.js +219 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.d.ts +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.js +42 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js +8 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.d.ts +27 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.js +288 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +157 -77
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +27 -21
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +19 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +44 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +36 -6
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +829 -866
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +8 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +1 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts +7 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js +20 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +6 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +266 -114
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +34 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js +3 -17
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js +44 -62
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +30 -8
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +911 -698
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts +10 -37
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js +29 -105
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +29 -110
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +1 -3
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +6 -90
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +9 -54
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts +16 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js +44 -39
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts +4 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js +44 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +35 -44
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js +40 -24
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +2 -20
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +114 -343
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +13 -14
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +120 -134
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +6 -10
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +2019 -861
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.d.ts +13 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.js +15 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts +2 -3
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js +0 -180
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts +5 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js +5 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/package.json +15 -4
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts +22 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js +226 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +94 -2
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +24 -2
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.js +70 -10
- package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts +113 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.js +615 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +46 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.js +62 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +1 -0
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts +11 -2
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.js +12 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.js.map +1 -1
- package/node_modules/@fps-games/editor-core/package.json +14 -6
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js +14 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js +49 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +63 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +48 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js +15 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts +6 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +28 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +314 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js +285 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +7 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +23 -81
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts +41 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js +93 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts +29 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js +77 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts +51 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js +287 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +6 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +53 -17
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +16 -8
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +10 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +5 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +134 -66
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +21 -14
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +17 -9
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +20 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +49 -10
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js +130 -20
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js +12 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js +136 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts +36 -51
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js +40 -65
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +207 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +18 -7
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +110 -18
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js +16 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +22 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.js +86 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.js +76 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.d.ts +34 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +144 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js +241 -13
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js +170 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts +153 -13
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js +1295 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +54 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +57 -34
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +4 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +20 -198
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js +5 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +144 -8
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js +30 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +31 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +40 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +116 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts +17 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js +50 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +101 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts +5 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js +31 -17
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.js +101 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.d.ts +23 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.js +180 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +417 -2
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js +692 -2
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +23 -3
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts +55 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js +2 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +3 -18
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.js +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/package.json +2 -2
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js +5 -0
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/vite.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/vite.js +151 -5
- package/node_modules/@fps-games/editor-tooling/dist/vite.js.map +1 -1
- package/node_modules/@fps-games/editor-tooling/package.json +3 -3
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts +107 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js +770 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts +21 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js +172 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts +14 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js +32 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts +3 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js +746 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts +3 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.js +3 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-ui/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/index.js +5 -0
- package/node_modules/@fps-games/editor-ui/dist/index.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts +7 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js +29 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts +2 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js +95 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts +28 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js +387 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/package.json +23 -0
- package/node_modules/@fps-games/playable-assets/package.json +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/index.js +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.js.map +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts +116 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.js +403 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.js.map +1 -0
- package/node_modules/@fps-games/playable-contracts/package.json +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/index.js +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js +5 -25
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts +61 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js +176 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts +84 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js +362 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts +167 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js +484 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/package.json +2 -2
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts +5 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js.map +1 -1
- package/node_modules/@fps-games/playable-runtime/package.json +12 -12
- package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
- package/node_modules/@fps-games/playable-scene/package.json +2 -2
- package/node_modules/@fps-games/plugin-api/package.json +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-assets/package.json +5 -5
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts +6 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js +16 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts +7 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js +47 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +306 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +1237 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js +32 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/package.json +57 -0
- package/node_modules/@fps-games/plugin-host/package.json +2 -2
- package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-markers/package.json +5 -5
- package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-materials/package.json +5 -5
- package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
- package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-scene/package.json +5 -5
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js +35 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts +11 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js +14 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +53 -0
- package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
- package/node_modules/@playcanvas/observer/LICENSE +19 -0
- package/node_modules/@playcanvas/observer/README.md +72 -0
- package/node_modules/@playcanvas/observer/dist/index.cjs +2033 -0
- package/node_modules/@playcanvas/observer/dist/index.js +2039 -0
- package/node_modules/@playcanvas/observer/dist/index.mjs +2026 -0
- package/node_modules/@playcanvas/observer/package.json +78 -0
- package/node_modules/@playcanvas/observer/types/event-handle.d.ts +41 -0
- package/node_modules/@playcanvas/observer/types/events.d.ts +162 -0
- package/node_modules/@playcanvas/observer/types/history.d.ts +123 -0
- package/node_modules/@playcanvas/observer/types/index.d.ts +15 -0
- package/node_modules/@playcanvas/observer/types/observer-history.d.ts +32 -0
- package/node_modules/@playcanvas/observer/types/observer-list.d.ts +39 -0
- package/node_modules/@playcanvas/observer/types/observer.d.ts +157 -0
- package/node_modules/@playcanvas/observer/types/utils.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/LICENSE +19 -0
- package/node_modules/@playcanvas/pcui/README.md +164 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/Math/color-value.mjs +77 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingBase/index.mjs +215 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/class.mjs +19 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/ArrayInput/index.mjs +498 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/BooleanInput/index.mjs +122 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Button/index.mjs +119 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Canvas/index.mjs +104 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Code/index.mjs +43 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/ColorPicker/index.mjs +619 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Container/index.mjs +642 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Divider/index.mjs +20 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Element/index.mjs +829 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GradientPicker/index.mjs +1136 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GridView/index.mjs +448 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GridViewItem/index.mjs +152 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/InfoBox/index.mjs +90 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/InputElement/index.mjs +186 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Label/index.mjs +124 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/LabelGroup/index.mjs +74 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Menu/index.mjs +174 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/MenuItem/index.mjs +223 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/NumericInput/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Overlay/index.mjs +108 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Panel/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Progress/index.mjs +45 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/RadioButton/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/SelectInput/index.mjs +1085 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/SliderInput/index.mjs +333 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Spinner/index.mjs +34 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TextAreaInput/index.mjs +50 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TextInput/index.mjs +98 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeView/index.mjs +1131 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeViewItem/index.mjs +500 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/VectorInput/index.mjs +366 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/helpers/search.mjs +194 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/helpers/utils.mjs +43 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/index.mjs +56 -0
- package/node_modules/@playcanvas/pcui/dist/pcui-theme-green.scss +2798 -0
- package/node_modules/@playcanvas/pcui/dist/pcui-theme-grey.scss +2798 -0
- package/node_modules/@playcanvas/pcui/package.json +150 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/Math/color-value.mjs +77 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingBase/index.mjs +215 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/class.mjs +19 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/index.mjs +498 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/index.mjs +122 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/index.mjs +119 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/index.mjs +104 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/index.mjs +43 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/index.mjs +619 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/component.mjs +36 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/index.mjs +642 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/index.mjs +20 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/component.mjs +107 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/index.mjs +829 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/index.mjs +1136 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/component.mjs +38 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/index.mjs +448 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/index.mjs +152 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/index.mjs +90 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InputElement/index.mjs +186 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/index.mjs +124 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/component.mjs +42 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/index.mjs +74 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/component.mjs +23 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/index.mjs +174 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/MenuItem/index.mjs +223 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/index.mjs +108 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/component.mjs +32 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/index.mjs +45 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/component.mjs +21 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/index.mjs +1085 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/component.mjs +12 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/index.mjs +333 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/index.mjs +34 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/index.mjs +50 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/component.mjs +23 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/index.mjs +98 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/component.mjs +52 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/index.mjs +1131 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/component.mjs +33 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/index.mjs +500 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/index.mjs +366 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/search.mjs +194 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/utils.mjs +43 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/index.mjs +39 -0
- package/node_modules/@playcanvas/pcui/react/package.json +18 -0
- package/node_modules/@playcanvas/pcui/react/types/Math/color-value.d.ts +3 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingBase/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingElementToObservers/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingObserversToElement/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingTwoWay/index.d.ts +54 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/index.d.ts +5 -0
- package/node_modules/@playcanvas/pcui/react/types/class.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/index.d.ts +140 -0
- package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/index.d.ts +41 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Button/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Button/index.d.ts +75 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Canvas/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Canvas/index.d.ts +61 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Code/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Code/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/index.d.ts +99 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Container/component.d.ts +15 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Container/index.d.ts +292 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Divider/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Divider/index.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Element/component.d.ts +23 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Element/index.d.ts +671 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/index.d.ts +152 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridView/component.d.ts +14 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridView/index.d.ts +103 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/index.d.ts +82 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/index.d.ts +71 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InputElement/index.d.ts +84 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Label/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Label/index.d.ts +85 -0
- package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/index.d.ts +62 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Menu/component.d.ts +14 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Menu/index.d.ts +70 -0
- package/node_modules/@playcanvas/pcui/react/types/components/MenuItem/index.d.ts +139 -0
- package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/index.d.ts +173 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Overlay/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Overlay/index.d.ts +53 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Panel/component.d.ts +16 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Panel/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Progress/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Progress/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/component.d.ts +12 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/index.d.ts +278 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/index.d.ts +133 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Spinner/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Spinner/index.d.ts +27 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextInput/component.d.ts +12 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextInput/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeView/component.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeView/index.d.ts +359 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/component.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/index.d.ts +224 -0
- package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/index.d.ts +176 -0
- package/node_modules/@playcanvas/pcui/react/types/components/components.d.ts +30 -0
- package/node_modules/@playcanvas/pcui/react/types/components/index.d.ts +32 -0
- package/node_modules/@playcanvas/pcui/react/types/helpers/search.d.ts +31 -0
- package/node_modules/@playcanvas/pcui/react/types/helpers/utils.d.ts +2 -0
- package/node_modules/@playcanvas/pcui/react/types/index.d.ts +4 -0
- package/node_modules/@playcanvas/pcui/styles/dist/index.mjs +11 -0
- package/node_modules/@playcanvas/pcui/styles/package.json +17 -0
- package/node_modules/@playcanvas/pcui/types/Math/color-value.d.ts +3 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingBase/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingElementToObservers/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingObserversToElement/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingTwoWay/index.d.ts +54 -0
- package/node_modules/@playcanvas/pcui/types/binding/index.d.ts +5 -0
- package/node_modules/@playcanvas/pcui/types/class.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/types/components/ArrayInput/index.d.ts +140 -0
- package/node_modules/@playcanvas/pcui/types/components/BooleanInput/index.d.ts +41 -0
- package/node_modules/@playcanvas/pcui/types/components/Button/index.d.ts +75 -0
- package/node_modules/@playcanvas/pcui/types/components/Canvas/index.d.ts +61 -0
- package/node_modules/@playcanvas/pcui/types/components/Code/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/ColorPicker/index.d.ts +99 -0
- package/node_modules/@playcanvas/pcui/types/components/Container/index.d.ts +292 -0
- package/node_modules/@playcanvas/pcui/types/components/Divider/index.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/types/components/Element/index.d.ts +671 -0
- package/node_modules/@playcanvas/pcui/types/components/GradientPicker/index.d.ts +152 -0
- package/node_modules/@playcanvas/pcui/types/components/GridView/index.d.ts +103 -0
- package/node_modules/@playcanvas/pcui/types/components/GridViewItem/index.d.ts +82 -0
- package/node_modules/@playcanvas/pcui/types/components/InfoBox/index.d.ts +71 -0
- package/node_modules/@playcanvas/pcui/types/components/InputElement/index.d.ts +84 -0
- package/node_modules/@playcanvas/pcui/types/components/Label/index.d.ts +85 -0
- package/node_modules/@playcanvas/pcui/types/components/LabelGroup/index.d.ts +62 -0
- package/node_modules/@playcanvas/pcui/types/components/Menu/index.d.ts +70 -0
- package/node_modules/@playcanvas/pcui/types/components/MenuItem/index.d.ts +139 -0
- package/node_modules/@playcanvas/pcui/types/components/NumericInput/index.d.ts +173 -0
- package/node_modules/@playcanvas/pcui/types/components/Overlay/index.d.ts +53 -0
- package/node_modules/@playcanvas/pcui/types/components/Panel/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/types/components/Progress/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/RadioButton/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/SelectInput/index.d.ts +278 -0
- package/node_modules/@playcanvas/pcui/types/components/SliderInput/index.d.ts +133 -0
- package/node_modules/@playcanvas/pcui/types/components/Spinner/index.d.ts +27 -0
- package/node_modules/@playcanvas/pcui/types/components/TextAreaInput/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/types/components/TextInput/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/types/components/TreeView/index.d.ts +359 -0
- package/node_modules/@playcanvas/pcui/types/components/TreeViewItem/index.d.ts +224 -0
- package/node_modules/@playcanvas/pcui/types/components/VectorInput/index.d.ts +176 -0
- package/node_modules/@playcanvas/pcui/types/components/index.d.ts +32 -0
- package/node_modules/@playcanvas/pcui/types/helpers/search.d.ts +31 -0
- package/node_modules/@playcanvas/pcui/types/helpers/utils.d.ts +2 -0
- package/node_modules/@playcanvas/pcui/types/index.d.ts +20 -0
- package/node_modules/babylonjs-gltf2interface/babylon.glTF2Interface.d.ts +1655 -0
- package/node_modules/babylonjs-gltf2interface/license.md +71 -0
- package/node_modules/babylonjs-gltf2interface/package.json +26 -0
- package/package.json +31 -19
- package/dist/editor-plugin-hierarchy-command.d.ts +0 -19
- package/dist/editor-plugin-hierarchy-command.d.ts.map +0 -1
- package/dist/editor-plugin-hierarchy-command.js +0 -119
- package/dist/editor-plugin-hierarchy-command.js.map +0 -1
- package/node_modules/@babel/helper-string-parser/lib/index.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- package/node_modules/@babel/parser/lib/index.js.map +0 -1
- package/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
- package/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/constants/index.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
- package/node_modules/@babel/types/lib/index.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
- package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/is.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts +0 -37
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js +0 -451
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts +0 -49
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +0 -627
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts +0 -52
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js +0 -450
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts +0 -21
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js +0 -75
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts +0 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.js +0 -186
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts +0 -5
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js +0 -98
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +0 -63
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +0 -301
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-tools.js","sourceRoot":"","sources":["../src/editor-tools.ts"],"names":[],"mappings":"AAuIA,MAAM,OAAO,GAA2B,MAAM,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;AAE5E,MAAM,UAAU,wBAAwB;IACtC,MAAM,aAAa,GAAG,IAAI,GAAG,EAAkC,CAAC;IAChE,MAAM,SAAS,GAAG,IAAI,GAAG,EAAkD,CAAC;IAC5E,IAAI,QAAQ,GAAG,CAAC,CAAC;IACjB,MAAM,QAAQ,GAAG,GAA+B,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC;QAC/D,QAAQ;QACR,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;KACzF,CAAC,CAAC;IACH,MAAM,OAAO,GAAG,GAAS,EAAE;QACzB,MAAM,IAAI,GAAG,QAAQ,EAAE,CAAC;QACxB,KAAK,MAAM,QAAQ,IAAI,CAAC,GAAG,SAAS,CAAC;YAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC,CAAC;IACF,MAAM,QAAQ,GAAuB;QACnC,QAAQ,CAAC,YAAY;YACnB,MAAM,MAAM,GAAG,8BAA8B,CAAC,YAAY,CAAC,CAAC;YAC5D,MAAM,EAAE,GAAG,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC;YAChC,IAAI,aAAa,CAAC,GAAG,CAAC,EAAE,CAAC;gBAAE,MAAM,IAAI,KAAK,CAAC,6BAA6B,EAAE,EAAE,CAAC,CAAC;YAC9E,aAAa,CAAC,GAAG,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;YAC9B,QAAQ,IAAI,CAAC,CAAC;YACd,OAAO,EAAE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AAI,CAAC,QAAQ,KAAK,KAAK,CAAC,QAAQ,CAAC,CAAC;AACzC,CAAC;AAED,SAAS,uBAAuB,CAAC,KAAwB,EAAE,EAAU;IACnE,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;QAChF,MAAM,IAAI,KAAK,CAAC,mCAAmC,EAAE,EAAE,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC;AAED,SAAS,kBAAkB,CAAC,KAAa,EAAE,KAAa;IACtD,MAAM,UAAU,GAAG,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAChD,IAAI,CAAC,gCAAgC,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;QACvD,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,uCAAuC,KAAK,EAAE,CAAC,CAAC;IAC1E,CAAC;IACD,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,SAAS,cAAc,CAAC,KAAa,EAAE,KAAa;IAClD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE;QAAE,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,8BAA8B,CAAC,CAAC;IACxG,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC;AACtB,CAAC;AAED,SAAS,oBAAoB,CAAC,OAAe,EAAE,MAA0B;IACvE,MAAM,SAAS,GAAG,IAAI,KAAK,CAAC,OAAO,CAA2C,CAAC;IAC/E,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC;IAC9C,OAAO,SAAS,CAAC;AACnB,CAAC","sourcesContent":["import type { FpsDisposer } from '@fps-games/plugin-api';\n\nexport type EditorCapabilityId = string;\n\nexport type CapabilityAvailability =\n | Readonly<{ state: 'enabled' }>\n | Readonly<{ state: 'disabled'; reason: string }>\n | Readonly<{ state: 'hidden'; reason: string }>;\n\nexport interface EditorContextActionPresentation {\n readonly id: string;\n readonly label: string;\n readonly icon: string;\n readonly order: number;\n readonly shortcut?: string;\n readonly availability: CapabilityAvailability;\n readonly danger?: boolean;\n}\n\nexport interface EditingContextSnapshot {\n readonly id: string;\n readonly authority: object;\n readonly revision: number;\n readonly capabilities: Readonly<Record<EditorCapabilityId, CapabilityAvailability>>;\n readonly metadata?: Readonly<Record<string, unknown>>;\n}\n\nexport interface EditingContextProvider {\n readonly id: string;\n readonly priority?: number;\n canProvide(): boolean;\n getSnapshot(): EditingContextSnapshot;\n}\n\nexport type EditorToolKind = 'primary' | 'action';\n\nexport interface EditorToolDefinition {\n readonly id: string;\n readonly label: string;\n readonly icon?: string;\n readonly group: string;\n readonly order?: number;\n readonly shortcut?: string;\n readonly kind: EditorToolKind;\n readonly requiredCapabilities?: readonly EditorCapabilityId[];\n readonly fallbackToolId?: string;\n}\n\nexport type EditorToolDeactivationReason =\n | 'tool-change'\n | 'context-change'\n | 'unregistered'\n | 'manager-dispose'\n | 'activation-rollback';\n\nexport type EditorToolCancelReason = EditorToolDeactivationReason | 'user';\n\n/** A headless Tool runtime. Renderer resources are supplied through injected closures/ports. */\nexport interface EditorToolRuntime {\n activate(context: EditingContextSnapshot): void | Promise<void>;\n reconcile?(context: EditingContextSnapshot): void | Promise<void>;\n rebind?(context: EditingContextSnapshot): void | Promise<void>;\n cancel?(reason: EditorToolCancelReason): void | Promise<void>;\n deactivate?(reason: EditorToolDeactivationReason): void | Promise<void>;\n dispose?(): void | Promise<void>;\n}\n\nexport interface EditorToolRuntimeFactoryContext {\n readonly definition: EditorToolDefinition;\n}\n\nexport interface EditorToolRegistration {\n readonly definition: EditorToolDefinition;\n readonly createRuntime: (context: EditorToolRuntimeFactoryContext) => EditorToolRuntime;\n}\n\nexport interface EditorToolPresentation {\n readonly id: string;\n readonly label: string;\n readonly icon?: string;\n readonly group: string;\n readonly order: number;\n readonly shortcut?: string;\n readonly kind: EditorToolKind;\n readonly availability: CapabilityAvailability;\n readonly active: boolean;\n}\n\nexport interface EditorToolRegistrySnapshot {\n readonly revision: number;\n readonly registrations: readonly EditorToolRegistration[];\n}\n\nexport interface EditorToolRegistry {\n register(registration: EditorToolRegistration): FpsDisposer;\n get(id: string): EditorToolRegistration | undefined;\n snapshot(): EditorToolRegistrySnapshot;\n subscribe(listener: (snapshot: EditorToolRegistrySnapshot) => void): FpsDisposer;\n}\n\nexport interface EditorToolManagerSnapshot {\n readonly revision: number;\n readonly context: EditingContextSnapshot | null;\n readonly activeToolId: string | null;\n readonly activationGeneration: number;\n readonly tools: readonly EditorToolPresentation[];\n}\n\nexport interface EditorToolManager {\n snapshot(): EditorToolManagerSnapshot;\n subscribe(listener: (snapshot: EditorToolManagerSnapshot) => void): FpsDisposer;\n activate(toolId: string): Promise<void>;\n cancel(reason?: EditorToolCancelReason): Promise<void>;\n rebindContext(context: EditingContextSnapshot | null): Promise<void>;\n whenIdle(): Promise<void>;\n dispose(): Promise<void>;\n}\n\nexport interface CreateEditorToolManagerOptions {\n readonly registry: EditorToolRegistry;\n readonly context?: EditingContextSnapshot | null;\n readonly fallbackToolId?: string;\n}\n\ninterface EditorToolRuntimeLease {\n readonly registration: EditorToolRegistration;\n readonly runtime: EditorToolRuntime;\n cleanup: {\n readonly reason: EditorToolDeactivationReason;\n cancelComplete: boolean;\n deactivateComplete: boolean;\n disposeComplete: boolean;\n } | null;\n}\n\nconst ENABLED: CapabilityAvailability = Object.freeze({ state: 'enabled' });\n\nexport function createEditorToolRegistry(): EditorToolRegistry {\n const registrations = new Map<string, EditorToolRegistration>();\n const listeners = new Set<(snapshot: EditorToolRegistrySnapshot) => void>();\n let revision = 0;\n const snapshot = (): EditorToolRegistrySnapshot => Object.freeze({\n revision,\n registrations: Object.freeze([...registrations.values()].sort(compareToolRegistrations)),\n });\n const publish = (): void => {\n const next = snapshot();\n for (const listener of [...listeners]) listener(next);\n };\n const registry: EditorToolRegistry = {\n register(registration) {\n const frozen = snapshotEditorToolRegistration(registration);\n const id = frozen.definition.id;\n if (registrations.has(id)) throw new Error(`Duplicate editor tool id: ${id}`);\n registrations.set(id, frozen);\n revision += 1;\n publish();\n let active = true;\n return () => {\n if (!active) return;\n active = false;\n if (registrations.get(id) !== frozen) return;\n registrations.delete(id);\n revision += 1;\n publish();\n };\n },\n get: id => registrations.get(id),\n snapshot,\n subscribe(listener) {\n listeners.add(listener);\n return () => { listeners.delete(listener); };\n },\n };\n return Object.freeze(registry);\n}\n\nexport function createEditorToolManager(options: CreateEditorToolManagerOptions): EditorToolManager {\n const listeners = new Set<(snapshot: EditorToolManagerSnapshot) => void>();\n let context = options.context ? snapshotEditingContext(options.context) : null;\n let active: EditorToolRuntimeLease | null = null;\n const pendingCleanups = new Set<EditorToolRuntimeLease>();\n let activationGeneration = 0;\n let revision = 0;\n let disposed = false;\n let disposeRequested = false;\n let registrySubscribed = true;\n let backgroundFailure: unknown = null;\n let queue: Promise<void> = Promise.resolve();\n\n const managerSnapshot = (): EditorToolManagerSnapshot => Object.freeze({\n revision,\n context,\n activeToolId: active?.registration.definition.id ?? null,\n activationGeneration,\n tools: Object.freeze(options.registry.snapshot().registrations.map(registration => (\n createToolPresentation(registration.definition, context, active?.registration.definition.id ?? null)\n ))),\n });\n const publish = (): void => {\n revision += 1;\n const next = managerSnapshot();\n for (const listener of [...listeners]) listener(next);\n };\n const enqueue = (operation: () => Promise<void>): Promise<void> => {\n const result = queue.then(operation, operation);\n queue = result.catch(() => {});\n return result;\n };\n const requireContext = (): EditingContextSnapshot => {\n if (!context) throw new Error('Editor Tool activation requires an active Editing Context.');\n return context;\n };\n const resolveFallbackId = (removed?: EditorToolRegistration): string | null => {\n const candidates = [\n removed?.definition.fallbackToolId,\n options.fallbackToolId,\n ];\n for (const candidate of candidates) {\n if (!candidate || !options.registry.get(candidate)) continue;\n if (resolveToolAvailability(options.registry.get(candidate)!.definition, context).state === 'enabled') {\n return candidate;\n }\n }\n return options.registry.snapshot().registrations.find(registration => (\n registration.definition.kind === 'primary'\n && resolveToolAvailability(registration.definition, context).state === 'enabled'\n ))?.definition.id ?? null;\n };\n const cleanupRuntime = async (\n current: EditorToolRuntimeLease,\n reason: EditorToolDeactivationReason,\n ): Promise<void> => {\n const cleanup = current.cleanup ??= {\n reason,\n cancelComplete: !current.runtime.cancel,\n deactivateComplete: !current.runtime.deactivate,\n disposeComplete: !current.runtime.dispose,\n };\n pendingCleanups.add(current);\n const errors: unknown[] = [];\n if (!cleanup.cancelComplete) {\n try {\n await current.runtime.cancel!(cleanup.reason);\n cleanup.cancelComplete = true;\n } catch (error) { errors.push(error); }\n }\n if (!cleanup.deactivateComplete) {\n try {\n await current.runtime.deactivate!(cleanup.reason);\n cleanup.deactivateComplete = true;\n } catch (error) { errors.push(error); }\n }\n if (!cleanup.disposeComplete) {\n try {\n await current.runtime.dispose!();\n cleanup.disposeComplete = true;\n } catch (error) { errors.push(error); }\n }\n if (cleanup.cancelComplete && cleanup.deactivateComplete && cleanup.disposeComplete) {\n pendingCleanups.delete(current);\n }\n if (errors.length > 0) throw createAggregateError('Editor Tool cleanup failed.', errors);\n };\n const retryPendingCleanups = async (): Promise<void> => {\n const errors: unknown[] = [];\n for (const pending of [...pendingCleanups]) {\n try { await cleanupRuntime(pending, pending.cleanup?.reason ?? 'manager-dispose'); }\n catch (error) { errors.push(error); }\n }\n if (errors.length > 0) throw createAggregateError('Editor Tool cleanup retry failed.', errors);\n };\n const createRuntimeLease = (\n registration: EditorToolRegistration,\n runtime: EditorToolRuntime,\n ): EditorToolRuntimeLease => ({ registration, runtime, cleanup: null });\n const activateNow = async (toolId: string, allowPendingCleanup = false): Promise<void> => {\n if (disposed || disposeRequested) throw new Error('Editor Tool Manager is disposed.');\n if (!allowPendingCleanup && pendingCleanups.size > 0) await retryPendingCleanups();\n const registration = options.registry.get(toolId);\n if (!registration) throw new Error(`Unknown editor tool: ${toolId}`);\n if (registration.definition.kind !== 'primary') {\n throw new Error(`Editor Tool Manager can only activate primary tools: ${toolId}`);\n }\n const nextContext = requireContext();\n const availability = resolveToolAvailability(registration.definition, nextContext);\n if (availability.state !== 'enabled') {\n throw new Error(`Editor tool is ${availability.state}: ${toolId} (${availability.reason})`);\n }\n if (active?.registration.definition.id === toolId) {\n await active.runtime.reconcile?.(nextContext);\n return;\n }\n\n activationGeneration += 1;\n const previous = active;\n active = null;\n if (previous) {\n try {\n await cleanupRuntime(previous, 'tool-change');\n } catch (error) {\n publish();\n throw error;\n }\n }\n\n let candidate: EditorToolRuntimeLease | null = null;\n try {\n const runtime = registration.createRuntime(Object.freeze({ definition: registration.definition }));\n assertEditorToolRuntime(runtime, toolId);\n candidate = createRuntimeLease(registration, runtime);\n await candidate.runtime.activate(nextContext);\n active = candidate;\n publish();\n } catch (error) {\n const rollbackErrors: unknown[] = [error];\n if (candidate) {\n try { await cleanupRuntime(candidate, 'activation-rollback'); }\n catch (cleanupError) { rollbackErrors.push(cleanupError); }\n }\n if (previous && options.registry.get(previous.registration.definition.id) === previous.registration) {\n let rollbackLease: EditorToolRuntimeLease | null = null;\n try {\n const rollbackRuntime = previous.registration.createRuntime(Object.freeze({\n definition: previous.registration.definition,\n }));\n assertEditorToolRuntime(rollbackRuntime, previous.registration.definition.id);\n rollbackLease = createRuntimeLease(previous.registration, rollbackRuntime);\n await rollbackLease.runtime.activate(nextContext);\n active = rollbackLease;\n } catch (restoreError) {\n rollbackErrors.push(restoreError);\n active = null;\n if (rollbackLease) {\n try { await cleanupRuntime(rollbackLease, 'activation-rollback'); }\n catch (cleanupError) { rollbackErrors.push(cleanupError); }\n }\n const fallbackId = resolveFallbackId(registration);\n if (fallbackId) {\n try { await activateNow(fallbackId, true); }\n catch (fallbackError) { rollbackErrors.push(fallbackError); }\n }\n }\n } else {\n const fallbackId = resolveFallbackId(registration);\n if (fallbackId && fallbackId !== toolId) {\n try { await activateNow(fallbackId, true); }\n catch (fallbackError) { rollbackErrors.push(fallbackError); }\n }\n }\n publish();\n if (rollbackErrors.length === 1) throw error;\n throw createAggregateError('Editor Tool activation and rollback failed.', rollbackErrors);\n }\n };\n const handleRegistryChange = (): void => {\n if (disposed) return;\n publish();\n const current = active;\n if (!current || options.registry.get(current.registration.definition.id) === current.registration) return;\n void enqueue(async () => {\n try {\n if (active !== current) return;\n active = null;\n activationGeneration += 1;\n let cleanupError: unknown;\n try { await cleanupRuntime(current, 'unregistered'); }\n catch (error) { cleanupError = error; }\n const fallbackId = resolveFallbackId(current.registration);\n let fallbackError: unknown;\n if (fallbackId) {\n try { await activateNow(fallbackId, true); }\n catch (error) { fallbackError = error; }\n } else publish();\n if (cleanupError && fallbackError) {\n throw createAggregateError('Editor Tool unload cleanup and fallback failed.', [cleanupError, fallbackError]);\n }\n if (cleanupError) throw cleanupError;\n if (fallbackError) throw fallbackError;\n } catch (error) {\n backgroundFailure = backgroundFailure\n ? createAggregateError('Multiple background Editor Tool operations failed.', [backgroundFailure, error])\n : error;\n publish();\n throw error;\n }\n }).catch(() => { /* Background failure is retained for whenIdle()/dispose retry. */ });\n };\n const unsubscribeRegistry = options.registry.subscribe(handleRegistryChange);\n\n const manager: EditorToolManager = {\n snapshot: managerSnapshot,\n subscribe(listener) {\n if (disposed) throw new Error('Editor Tool Manager is disposed.');\n listeners.add(listener);\n return () => { listeners.delete(listener); };\n },\n activate(toolId) {\n return enqueue(() => activateNow(toolId));\n },\n cancel(reason = 'user') {\n return enqueue(async () => {\n if (disposed) return;\n await active?.runtime.cancel?.(reason);\n });\n },\n rebindContext(nextContext) {\n return enqueue(async () => {\n if (disposed || disposeRequested) throw new Error('Editor Tool Manager is disposed.');\n const frozen = nextContext ? snapshotEditingContext(nextContext) : null;\n if (sameContextRevision(context, frozen)) return;\n const previousContext = context;\n context = frozen;\n activationGeneration += 1;\n const current = active;\n if (!current) {\n publish();\n return;\n }\n const availability = resolveToolAvailability(current.registration.definition, context);\n if (!context || availability.state !== 'enabled') {\n active = null;\n let cleanupError: unknown;\n try { await cleanupRuntime(current, 'context-change'); }\n catch (error) { cleanupError = error; }\n const fallbackId = resolveFallbackId(current.registration);\n let fallbackError: unknown;\n if (fallbackId) {\n try { await activateNow(fallbackId); }\n catch (error) { fallbackError = error; }\n } else publish();\n if (cleanupError && fallbackError) {\n throw createAggregateError(\n 'Editing Context cleanup and fallback activation failed.',\n [cleanupError, fallbackError],\n );\n }\n if (cleanupError) throw cleanupError;\n if (fallbackError) throw fallbackError;\n return;\n }\n try {\n if (current.runtime.rebind) await current.runtime.rebind(context);\n else {\n await current.runtime.deactivate?.('context-change');\n await current.runtime.activate(context);\n }\n } catch (error) {\n context = previousContext;\n let rollbackError: unknown;\n try {\n if (!previousContext) throw new Error('Previous Editing Context is unavailable.');\n if (current.runtime.rebind) await current.runtime.rebind(previousContext);\n else await current.runtime.activate(previousContext);\n } catch (caught) {\n rollbackError = caught;\n active = null;\n try { await cleanupRuntime(current, 'activation-rollback'); }\n catch (cleanupError) {\n rollbackError = createAggregateError('Editing Context rollback cleanup failed.', [caught, cleanupError]);\n }\n const fallbackId = resolveFallbackId(current.registration);\n if (fallbackId && fallbackId !== current.registration.definition.id) {\n try { await activateNow(fallbackId, true); }\n catch (fallbackError) {\n rollbackError = createAggregateError(\n 'Editing Context rollback and fallback failed.',\n [rollbackError, fallbackError],\n );\n }\n }\n }\n publish();\n if (rollbackError) {\n throw createAggregateError('Editing Context rebind and rollback failed.', [error, rollbackError]);\n }\n throw error;\n }\n publish();\n });\n },\n whenIdle() {\n return queue.then(async () => {\n if (backgroundFailure) {\n const error = backgroundFailure;\n backgroundFailure = null;\n throw error;\n }\n if (pendingCleanups.size > 0) await retryPendingCleanups();\n });\n },\n dispose() {\n return enqueue(async () => {\n if (disposed) return;\n disposeRequested = true;\n if (registrySubscribed) {\n registrySubscribed = false;\n unsubscribeRegistry();\n }\n const current = active;\n const previouslyPending = [...pendingCleanups];\n active = null;\n activationGeneration += 1;\n const cleanupErrors: unknown[] = [];\n if (current) {\n try { await cleanupRuntime(current, 'manager-dispose'); }\n catch (error) { cleanupErrors.push(error); }\n }\n for (const pending of previouslyPending) {\n try { await cleanupRuntime(pending, pending.cleanup?.reason ?? 'manager-dispose'); }\n catch (error) { cleanupErrors.push(error); }\n }\n if (cleanupErrors.length > 0) {\n throw createAggregateError('Editor Tool Manager dispose cleanup failed.', cleanupErrors);\n }\n disposed = true;\n listeners.clear();\n });\n },\n };\n return Object.freeze(manager);\n}\n\nexport function resolveEditingContextProvider(\n providers: readonly EditingContextProvider[],\n): EditingContextProvider {\n const available = providers.filter(provider => provider.canProvide()).sort((left, right) => {\n const priority = (right.priority ?? 0) - (left.priority ?? 0);\n return priority || left.id.localeCompare(right.id);\n });\n const selected = available[0];\n if (!selected) throw new Error('No Editing Context provider can provide the current scope.');\n if (available[1] && (available[1].priority ?? 0) === (selected.priority ?? 0)) {\n throw new Error(\n `Ambiguous Editing Context providers at priority ${selected.priority ?? 0}: ${selected.id}, ${available[1].id}`,\n );\n }\n return selected;\n}\n\nexport function resolveToolAvailability(\n definition: EditorToolDefinition,\n context: EditingContextSnapshot | null,\n): CapabilityAvailability {\n if (!context) return Object.freeze({ state: 'disabled', reason: 'No active Editing Context.' });\n let disabled: CapabilityAvailability | null = null;\n for (const capabilityId of definition.requiredCapabilities ?? []) {\n const availability = context.capabilities[capabilityId]\n ?? Object.freeze({ state: 'hidden' as const, reason: `Capability is unavailable: ${capabilityId}` });\n if (availability.state === 'hidden') return availability;\n if (availability.state === 'disabled') disabled ??= availability;\n }\n return disabled ?? ENABLED;\n}\n\nexport function snapshotEditorToolRegistration(\n registration: EditorToolRegistration,\n): EditorToolRegistration {\n if (!registration || typeof registration !== 'object') {\n throw new Error('Editor Tool registration must be an object.');\n }\n if (typeof registration.createRuntime !== 'function') {\n throw new Error('Editor Tool registration requires createRuntime().');\n }\n return Object.freeze({\n definition: snapshotEditorToolDefinition(registration.definition),\n createRuntime: registration.createRuntime,\n });\n}\n\nexport function snapshotEditorToolDefinition(definition: EditorToolDefinition): EditorToolDefinition {\n if (!definition || typeof definition !== 'object') throw new Error('Editor Tool definition must be an object.');\n const id = assertNamespacedId(definition.id, 'Editor Tool id');\n const label = assertNonEmpty(definition.label, 'Editor Tool label');\n const group = assertNamespacedId(definition.group, 'Editor Tool group');\n if (definition.kind !== 'primary' && definition.kind !== 'action') {\n throw new Error(`Unknown Editor Tool kind: ${String(definition.kind)}`);\n }\n const order = definition.order ?? 0;\n if (!Number.isFinite(order)) throw new Error('Editor Tool order must be finite.');\n const requiredCapabilities = Object.freeze((definition.requiredCapabilities ?? []).map(capability => (\n assertNamespacedId(capability, 'Editor capability id')\n )));\n if (new Set(requiredCapabilities).size !== requiredCapabilities.length) {\n throw new Error(`Editor Tool required capabilities must be unique: ${id}`);\n }\n return Object.freeze({\n id,\n label,\n group,\n order,\n kind: definition.kind,\n requiredCapabilities,\n ...(definition.icon === undefined ? {} : { icon: assertNonEmpty(definition.icon, 'Editor Tool icon') }),\n ...(definition.shortcut === undefined ? {} : {\n shortcut: assertNonEmpty(definition.shortcut, 'Editor Tool shortcut').toUpperCase(),\n }),\n ...(definition.fallbackToolId === undefined ? {} : {\n fallbackToolId: assertNamespacedId(definition.fallbackToolId, 'Editor Tool fallback id'),\n }),\n });\n}\n\nexport function snapshotEditingContext(context: EditingContextSnapshot): EditingContextSnapshot {\n if (!context || typeof context !== 'object') throw new Error('Editing Context snapshot must be an object.');\n const id = assertNamespacedId(context.id, 'Editing Context id');\n if (!context.authority || typeof context.authority !== 'object') {\n throw new Error('Editing Context authority must be an object token.');\n }\n if (!Number.isSafeInteger(context.revision) || context.revision < 0) {\n throw new Error('Editing Context revision must be a non-negative safe integer.');\n }\n const capabilities: Record<string, CapabilityAvailability> = {};\n for (const [capabilityId, availability] of Object.entries(context.capabilities ?? {})) {\n capabilities[assertNamespacedId(capabilityId, 'Editor capability id')] = snapshotAvailability(availability);\n }\n return Object.freeze({\n id,\n authority: context.authority,\n revision: context.revision,\n capabilities: Object.freeze(capabilities),\n ...(context.metadata ? { metadata: Object.freeze({ ...context.metadata }) } : {}),\n });\n}\n\nfunction createToolPresentation(\n definition: EditorToolDefinition,\n context: EditingContextSnapshot | null,\n activeToolId: string | null,\n): EditorToolPresentation {\n return Object.freeze({\n id: definition.id,\n label: definition.label,\n group: definition.group,\n order: definition.order ?? 0,\n kind: definition.kind,\n availability: resolveToolAvailability(definition, context),\n active: activeToolId === definition.id,\n ...(definition.icon ? { icon: definition.icon } : {}),\n ...(definition.shortcut ? { shortcut: definition.shortcut } : {}),\n });\n}\n\nfunction snapshotAvailability(value: CapabilityAvailability): CapabilityAvailability {\n if (!value || typeof value !== 'object') throw new Error('Capability availability must be an object.');\n if (value.state === 'enabled') return ENABLED;\n if (value.state === 'disabled' || value.state === 'hidden') {\n return Object.freeze({ state: value.state, reason: assertNonEmpty(value.reason, 'Capability reason') });\n }\n throw new Error(`Unknown capability availability state: ${String((value as { state?: unknown }).state)}`);\n}\n\nfunction compareToolRegistrations(left: EditorToolRegistration, right: EditorToolRegistration): number {\n const group = left.definition.group.localeCompare(right.definition.group);\n if (group) return group;\n const order = (left.definition.order ?? 0) - (right.definition.order ?? 0);\n return order || left.definition.id.localeCompare(right.definition.id);\n}\n\nfunction sameContextRevision(\n left: EditingContextSnapshot | null,\n right: EditingContextSnapshot | null,\n): boolean {\n return left === right || (!!left && !!right\n && left.id === right.id\n && left.authority === right.authority\n && left.revision === right.revision);\n}\n\nfunction assertEditorToolRuntime(value: EditorToolRuntime, id: string): void {\n if (!value || typeof value !== 'object' || typeof value.activate !== 'function') {\n throw new Error(`Editor Tool runtime is invalid: ${id}`);\n }\n}\n\nfunction assertNamespacedId(value: string, label: string): string {\n const normalized = assertNonEmpty(value, label);\n if (!/^[a-z0-9]+(?:[._-][a-z0-9]+)+$/.test(normalized)) {\n throw new Error(`${label} must be namespaced lowercase, got: ${value}`);\n }\n return normalized;\n}\n\nfunction assertNonEmpty(value: string, label: string): string {\n if (typeof value !== 'string' || !value.trim()) throw new Error(`${label} must be a non-empty string.`);\n return value.trim();\n}\n\nfunction createAggregateError(message: string, errors: readonly unknown[]): Error {\n const aggregate = new Error(message) as Error & { errors: readonly unknown[] };\n aggregate.errors = Object.freeze([...errors]);\n return aggregate;\n}\n"]}
|
|
@@ -49,6 +49,8 @@ export interface InspectorProperty<TDocument = unknown> {
|
|
|
49
49
|
min?: number;
|
|
50
50
|
max?: number;
|
|
51
51
|
step?: number;
|
|
52
|
+
precision?: number;
|
|
53
|
+
stepPrecision?: number;
|
|
52
54
|
options?: readonly InspectorEnumOption[];
|
|
53
55
|
document?: TDocument;
|
|
54
56
|
validate?: (value: unknown) => InspectorValidationResult;
|
|
@@ -77,6 +79,50 @@ export interface InspectorObject<TDocument = unknown> {
|
|
|
77
79
|
sections: InspectorSection<TDocument>[];
|
|
78
80
|
document?: TDocument;
|
|
79
81
|
}
|
|
82
|
+
export interface InspectorPropertySignature {
|
|
83
|
+
id?: string;
|
|
84
|
+
path: string;
|
|
85
|
+
label: string;
|
|
86
|
+
valueType: InspectorProperty['valueType'];
|
|
87
|
+
control: InspectorControlKind;
|
|
88
|
+
customControl?: string;
|
|
89
|
+
controlOptions?: Record<string, unknown>;
|
|
90
|
+
mixed?: boolean;
|
|
91
|
+
batchEdit?: boolean | 'auto';
|
|
92
|
+
readOnly: boolean;
|
|
93
|
+
persistence: InspectorPersistenceMode;
|
|
94
|
+
commitMode: InspectorCommitMode;
|
|
95
|
+
order?: number;
|
|
96
|
+
tags?: readonly string[];
|
|
97
|
+
tooltip?: string;
|
|
98
|
+
effect?: InspectorEffectMode;
|
|
99
|
+
disabledReason?: string;
|
|
100
|
+
placeholder?: string;
|
|
101
|
+
min?: number;
|
|
102
|
+
max?: number;
|
|
103
|
+
step?: number;
|
|
104
|
+
precision?: number;
|
|
105
|
+
stepPrecision?: number;
|
|
106
|
+
options?: readonly InspectorEnumOption[];
|
|
107
|
+
}
|
|
108
|
+
export interface InspectorSectionSignature {
|
|
109
|
+
id: string;
|
|
110
|
+
title: string;
|
|
111
|
+
summary?: string;
|
|
112
|
+
order?: number;
|
|
113
|
+
placement?: 'summary' | 'body';
|
|
114
|
+
collapsedByDefault?: boolean;
|
|
115
|
+
persistence?: InspectorPersistenceMode;
|
|
116
|
+
runtimeOnly?: boolean;
|
|
117
|
+
effect?: InspectorEffectMode;
|
|
118
|
+
disabledReason?: string;
|
|
119
|
+
tags?: readonly string[];
|
|
120
|
+
properties: InspectorPropertySignature[];
|
|
121
|
+
}
|
|
122
|
+
export interface InspectorSignature {
|
|
123
|
+
sections: InspectorSectionSignature[];
|
|
124
|
+
}
|
|
125
|
+
export declare function createInspectorSignature<TDocument>(inspector: Pick<InspectorObject<TDocument>, 'sections'>): InspectorSignature;
|
|
80
126
|
export interface InspectorEditPayload {
|
|
81
127
|
targetId: string;
|
|
82
128
|
targetIds?: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inspector.d.ts","sourceRoot":"","sources":["../src/inspector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,gBAAgB,EAChB,kBAAkB,EAClB,2BAA2B,EAC5B,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,wBAAwB,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;AAE3E,MAAM,MAAM,oBAAoB,GAC5B,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,CAAC;AAEb,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAC;AAE3E,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC;AAE/F,MAAM,WAAW,yBAAyB,CAAC,SAAS,GAAG,OAAO;IAC5D,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MA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;AAED,wBAAgB,qCAAqC,CAAC,SAAS,EAC7D,QAAQ,EAAE,kBAAkB,CAAC,SAAS,CAAC,EACvC,KAAK,CAAC,EAAE,MAAM,GACb,iBAAiB,CAAC,SAAS,CAAC,CAgB9B;AAED,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,IAAI,CAAC,iBAAiB,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC,EACrE,KAAK,EAAE,OAAO,GACb,OAAO,CAYT;AAED,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,IAAI,CAAC,iBAAiB,EAAE,UAAU,GAAG,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,gBAAgB,CAAC,EAClI,KAAK,EAAE,OAAO,GACb,yBAAyB,CAe3B;AAED,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,iBAAiB,EAC3B,KAAK,EAAE,kBAAkB,GACxB,yBAAyB,CAAC,oBAAoB,CAAC,CAwBjD;AAED,wBAAgB,wBAAwB,CAAC,SAAS,EAChD,IAAI,EAAE,gBAAgB,CAAC,SAAS,CAAC,EACjC,KAAK,EAAE,gBAAgB,CAAC,SAAS,CAAC,GACjC,MAAM,CAIR;AAED,wBAAgB,0BAA0B,CAAC,SAAS,EAClD,IAAI,EAAE,iBAAiB,CAAC,SAAS,CAAC,EAClC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,GAClC,MAAM,CAIR"}
|
|
@@ -1,3 +1,63 @@
|
|
|
1
|
+
export function createInspectorSignature(inspector) {
|
|
2
|
+
return {
|
|
3
|
+
sections: inspector.sections.map(section => ({
|
|
4
|
+
id: section.id,
|
|
5
|
+
title: section.title,
|
|
6
|
+
summary: section.summary,
|
|
7
|
+
order: section.order,
|
|
8
|
+
placement: section.placement,
|
|
9
|
+
collapsedByDefault: section.collapsedByDefault,
|
|
10
|
+
persistence: section.persistence,
|
|
11
|
+
runtimeOnly: section.runtimeOnly,
|
|
12
|
+
effect: section.effect,
|
|
13
|
+
disabledReason: section.disabledReason,
|
|
14
|
+
tags: section.tags ? [...section.tags] : undefined,
|
|
15
|
+
properties: section.properties.map(property => ({
|
|
16
|
+
id: property.id,
|
|
17
|
+
path: property.path,
|
|
18
|
+
label: property.label,
|
|
19
|
+
valueType: property.valueType,
|
|
20
|
+
control: property.control,
|
|
21
|
+
customControl: property.customControl,
|
|
22
|
+
controlOptions: cloneInspectorSignatureMetadata(property.controlOptions),
|
|
23
|
+
mixed: property.mixed,
|
|
24
|
+
batchEdit: property.batchEdit,
|
|
25
|
+
readOnly: property.readOnly,
|
|
26
|
+
persistence: property.persistence,
|
|
27
|
+
commitMode: property.commitMode,
|
|
28
|
+
order: property.order,
|
|
29
|
+
tags: property.tags ? [...property.tags] : undefined,
|
|
30
|
+
tooltip: property.tooltip,
|
|
31
|
+
effect: property.effect,
|
|
32
|
+
disabledReason: property.disabledReason,
|
|
33
|
+
placeholder: property.placeholder,
|
|
34
|
+
min: property.min,
|
|
35
|
+
max: property.max,
|
|
36
|
+
step: property.step,
|
|
37
|
+
precision: property.precision,
|
|
38
|
+
stepPrecision: property.stepPrecision,
|
|
39
|
+
options: property.options?.map(option => ({ ...option })),
|
|
40
|
+
})),
|
|
41
|
+
})),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function cloneInspectorSignatureMetadata(value) {
|
|
45
|
+
if (!value)
|
|
46
|
+
return undefined;
|
|
47
|
+
const cloneValue = (candidate) => {
|
|
48
|
+
if (candidate == null || typeof candidate === 'string' || typeof candidate === 'number' || typeof candidate === 'boolean') {
|
|
49
|
+
return candidate;
|
|
50
|
+
}
|
|
51
|
+
if (Array.isArray(candidate))
|
|
52
|
+
return candidate.map(cloneValue);
|
|
53
|
+
if (typeof candidate !== 'object')
|
|
54
|
+
return undefined;
|
|
55
|
+
return Object.fromEntries(Object.entries(candidate)
|
|
56
|
+
.filter(([, entry]) => typeof entry !== 'function')
|
|
57
|
+
.map(([key, entry]) => [key, cloneValue(entry)]));
|
|
58
|
+
};
|
|
59
|
+
return cloneValue(value);
|
|
60
|
+
}
|
|
1
61
|
export function createInspectorRegistry(options = {}) {
|
|
2
62
|
const registrations = new Map();
|
|
3
63
|
const defaultConflict = options.onConflict ?? 'error';
|
|
@@ -319,6 +379,8 @@ function inspectorPropertiesAreBatchCompatible(first, next) {
|
|
|
319
379
|
&& first.min === next.min
|
|
320
380
|
&& first.max === next.max
|
|
321
381
|
&& first.step === next.step
|
|
382
|
+
&& first.precision === next.precision
|
|
383
|
+
&& first.stepPrecision === next.stepPrecision
|
|
322
384
|
&& inspectorEnumOptionsAreBatchCompatible(first.options ?? null, next.options ?? null);
|
|
323
385
|
}
|
|
324
386
|
function isAutomaticBatchInspectorProperty(property) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inspector.js","sourceRoot":"","sources":["../src/inspector.ts"],"names":[],"mappings":"AAqLA,MAAM,UAAU,uBAAuB,CACrC,UAAoC,EAAE;IAEtC,MAAM,aAAa,GAAG,IAAI,GAAG,EAAqD,CAAC;IACnF,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC;IACtD,MAAM,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC;IAC7D,OAAO;QACL,QAAQ,CAAC,SAAS,EAAE,eAAe,GAAG,EAAE;YACtC,MAAM,UAAU,GAAG,2BAA2B,CAAC,SAAS,CAAC,CAAC;YAC1D,MAAM,QAAQ,GAAG,eAAe,CAAC,UAAU,IAAI,eAAe,CAAC;YAC/D,MAAM,QAAQ,GAAG,aAAa,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;YAClD,IAAI,QAAQ,EAAE,CAAC;gBACb,IAAI,QAAQ,KAAK,OAAO,EAAE,CAAC;oBACzB,MAAM,IAAI,KAAK,CAAC,wBAAwB,UAAU,CAAC,EAAE,0BAA0B,CAAC,CAAC;gBACnF,CAAC;gBACD,IAAI,QAAQ,KAAK,QA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C;AAED,SAAS,gBAAgB,CAAC,EAAU;IAClC,OAAO,EAAE;SACN,OAAO,CAAC,oBAAoB,EAAE,OAAO,CAAC;SACtC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC;SACtB,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;AAClD,CAAC","sourcesContent":["import type {\n SerializedMultiObject,\n SerializedObject,\n SerializedProperty,\n SerializedPropertyValueType,\n} from './serialized-object';\n\nexport type InspectorPersistenceMode = 'document' | 'runtime' | 'readonly';\n\nexport type InspectorControlKind =\n | 'readonly'\n | 'string'\n | 'number'\n | 'boolean'\n | 'enum'\n | 'vec2'\n | 'vec3'\n | 'color'\n | 'asset'\n | 'object'\n | 'custom';\n\nexport type InspectorCommitMode = 'live' | 'blur' | 'change' | 'immediate';\n\nexport type InspectorEffectMode = 'active' | 'default' | 'derived' | 'runtime' | 'unsupported';\n\nexport interface InspectorSelectionContext<TDocument = unknown> {\n targetIds: string[];\n activeId: string | null;\n targetKind?: string;\n document?: TDocument;\n runtimeTarget?: unknown;\n capabilities?: readonly string[];\n}\n\nexport interface InspectorValidationSuccess<TValue = unknown> {\n ok: true;\n value: TValue;\n}\n\nexport interface InspectorValidationFailure {\n ok: false;\n message: string;\n}\n\nexport type InspectorValidationResult<TValue = unknown> =\n | InspectorValidationSuccess<TValue>\n | InspectorValidationFailure;\n\nexport interface InspectorEnumOption<TValue = string | number | boolean | null> {\n label: string;\n value: TValue;\n disabled?: boolean;\n batchCompatibility?: 'include' | 'ignore';\n}\n\nexport interface InspectorProperty<TDocument = unknown> {\n id?: string;\n path: string;\n label: string;\n valueType: SerializedPropertyValueType | 'color' | 'vec2' | 'vec3';\n control: InspectorControlKind;\n customControl?: string;\n controlOptions?: Record<string, unknown>;\n value: unknown;\n mixed?: boolean;\n batchEdit?: boolean | 'auto';\n readOnly: boolean;\n persistence: InspectorPersistenceMode;\n commitMode: InspectorCommitMode;\n order?: number;\n tags?: readonly string[];\n tooltip?: string;\n effect?: InspectorEffectMode;\n disabledReason?: string;\n placeholder?: string;\n min?: number;\n max?: number;\n step?: number;\n options?: readonly InspectorEnumOption[];\n document?: TDocument;\n validate?: (value: unknown) => InspectorValidationResult;\n coerce?: (value: unknown) => unknown;\n source?: SerializedProperty<TDocument>;\n}\n\nexport interface InspectorSection<TDocument = unknown> {\n id: string;\n title: string;\n summary?: string;\n order?: number;\n placement?: 'summary' | 'body';\n collapsedByDefault?: boolean;\n persistence?: InspectorPersistenceMode;\n runtimeOnly?: boolean;\n effect?: InspectorEffectMode;\n disabledReason?: string;\n tags?: readonly string[];\n properties: InspectorProperty<TDocument>[];\n}\n\nexport interface InspectorObject<TDocument = unknown> {\n targetIds: string[];\n activeId: string | null;\n label?: string;\n selection: InspectorSelectionContext<TDocument>;\n sections: InspectorSection<TDocument>[];\n document?: TDocument;\n}\n\nexport interface InspectorEditPayload {\n targetId: string;\n targetIds?: string[];\n path: string;\n value: unknown;\n control: InspectorControlKind;\n valueType: InspectorProperty['valueType'];\n commitMode: InspectorCommitMode;\n persistence: InspectorPersistenceMode;\n source?: 'input' | 'toggle' | 'select' | 'color' | 'asset' | 'custom';\n}\n\nexport interface InspectorEditInput {\n targetId: string;\n targetIds?: string[];\n path: string;\n value: unknown;\n control?: InspectorControlKind;\n valueType?: InspectorProperty['valueType'];\n commitMode?: InspectorCommitMode;\n persistence?: InspectorPersistenceMode;\n source?: InspectorEditPayload['source'];\n}\n\nexport interface InspectorComponentRegistration<TDocument = unknown> {\n id: string;\n order?: number;\n requiredCapabilities?: readonly string[];\n supports?(context: InspectorSelectionContext<TDocument>): boolean;\n createSections(context: InspectorSelectionContext<TDocument>): InspectorSection<TDocument>[];\n}\n\nexport type InspectorRegistryConflictStrategy = 'error' | 'ignore' | 'replace';\n\nexport interface InspectorRegistryOptions {\n onConflict?: InspectorRegistryConflictStrategy;\n propertyConflict?: InspectorRegistryConflictStrategy;\n}\n\nexport interface InspectorRegistrationOptions {\n onConflict?: InspectorRegistryConflictStrategy;\n}\n\nexport interface InspectorRegistrationHandle {\n id: string;\n dispose(): boolean;\n}\n\nexport interface InspectorSectionMergeOptions {\n propertyConflict?: InspectorRegistryConflictStrategy;\n}\n\nexport interface AggregateInspectorObjectsToMultiObjectInput<TDocument = unknown> {\n targetIds: readonly string[];\n activeId: string | null;\n inspectorObjects: readonly InspectorObject<TDocument>[];\n label?: string;\n document?: TDocument;\n}\n\nexport interface InspectorRegistry<TDocument = unknown> {\n register(\n component: InspectorComponentRegistration<TDocument>,\n options?: InspectorRegistrationOptions,\n ): InspectorRegistrationHandle;\n unregister(id: string): boolean;\n get(id: string): InspectorComponentRegistration<TDocument> | null;\n list(): InspectorComponentRegistration<TDocument>[];\n getSections(context: InspectorSelectionContext<TDocument>): InspectorSection<TDocument>[];\n}\n\nexport function createInspectorRegistry<TDocument = unknown>(\n options: InspectorRegistryOptions = {},\n): InspectorRegistry<TDocument> {\n const registrations = new Map<string, InspectorComponentRegistration<TDocument>>();\n const defaultConflict = options.onConflict ?? 'error';\n const propertyConflict = options.propertyConflict ?? 'error';\n return {\n register(component, registerOptions = {}) {\n const normalized = normalizeInspectorComponent(component);\n const conflict = registerOptions.onConflict ?? defaultConflict;\n const previous = registrations.get(normalized.id);\n if (previous) {\n if (conflict === 'error') {\n throw new Error(`Inspector component \"${normalized.id}\" is already registered.`);\n }\n if (conflict === 'ignore') {\n return {\n id: normalized.id,\n dispose: () => false,\n };\n }\n }\n registrations.set(normalized.id, normalized);\n return {\n id: normalized.id,\n dispose() {\n if (registrations.get(normalized.id) !== normalized) return false;\n registrations.delete(normalized.id);\n return true;\n },\n };\n },\n unregister(id) {\n return registrations.delete(id);\n },\n get(id) {\n return registrations.get(id) ?? null;\n },\n list() {\n return listInspectorComponents(registrations);\n },\n getSections(context) {\n const sections = listInspectorComponents(registrations)\n .filter(component => inspectorComponentSupports(component, context))\n .flatMap(component => component.createSections(context)\n .map(section => section.order == null && component.order != null\n ? { ...section, order: component.order }\n : section));\n return mergeInspectorSections([], sections, { propertyConflict });\n },\n };\n}\n\nexport function inspectorContextHasCapabilities<TDocument>(\n context: InspectorSelectionContext<TDocument>,\n requiredCapabilities: readonly string[] | undefined,\n): boolean {\n if (!requiredCapabilities || requiredCapabilities.length === 0) return true;\n const available = new Set(context.capabilities ?? []);\n return requiredCapabilities.every(capability => available.has(capability));\n}\n\nexport function inspectorComponentSupports<TDocument>(\n component: InspectorComponentRegistration<TDocument>,\n context: InspectorSelectionContext<TDocument>,\n): boolean {\n if (!inspectorContextHasCapabilities(context, component.requiredCapabilities)) return false;\n return component.supports?.(context) ?? true;\n}\n\nexport function mergeInspectorSections<TDocument>(\n baseSections: readonly InspectorSection<TDocument>[],\n extensionSections: readonly InspectorSection<TDocument>[],\n options: InspectorSectionMergeOptions = {},\n): InspectorSection<TDocument>[] {\n const propertyConflict = options.propertyConflict ?? 'error';\n const sections = new Map<string, InspectorSection<TDocument>>();\n const explicitEmptySections = new Set<string>();\n const editableProperties = new Map<string, {\n sectionId: string;\n property: InspectorProperty<TDocument>;\n }>();\n\n const appendSection = (section: InspectorSection<TDocument>) => {\n let target = sections.get(section.id);\n if (!target) {\n target = { ...section, properties: [] };\n sections.set(section.id, target);\n }\n if (section.properties.length === 0) explicitEmptySections.add(section.id);\n for (const property of section.properties) {\n appendProperty(target, property);\n }\n };\n\n const appendProperty = (\n section: InspectorSection<TDocument>,\n property: InspectorProperty<TDocument>,\n ) => {\n if (isEditableDocumentInspectorProperty(property)) {\n const previous = editableProperties.get(property.path);\n if (previous) {\n if (propertyConflict === 'error') {\n throw new Error(`Inspector property path \"${property.path}\" is already registered.`);\n }\n if (propertyConflict === 'ignore') return;\n const previousSection = sections.get(previous.sectionId);\n if (previousSection) {\n previousSection.properties = previousSection.properties.filter(candidate => candidate !== previous.property);\n }\n }\n editableProperties.set(property.path, { sectionId: section.id, property });\n }\n section.properties.push(property);\n };\n\n for (const section of baseSections) appendSection(section);\n for (const section of extensionSections) appendSection(section);\n return [...sections.values()]\n .filter(section => section.properties.length > 0 || explicitEmptySections.has(section.id))\n .sort(compareInspectorSections);\n}\n\nexport function isEditableDocumentInspectorProperty<TDocument>(\n property: InspectorProperty<TDocument>,\n): boolean {\n return property.persistence === 'document'\n && property.readOnly !== true\n && (property.effect == null || property.effect === 'active');\n}\n\nexport function aggregateInspectorObjectsToMultiObject<TDocument>(\n input: AggregateInspectorObjectsToMultiObjectInput<TDocument>,\n): InspectorObject<TDocument> | null {\n const targetIds = [...input.targetIds];\n if (targetIds.length === 0 || input.inspectorObjects.length !== targetIds.length) return null;\n const [first] = input.inspectorObjects;\n if (!first) return null;\n const byObject = input.inspectorObjects.map(object => indexInspectorPropertiesByPath(object));\n const sections: InspectorSection<TDocument>[] = [];\n\n for (const section of first.sections) {\n const properties: InspectorProperty<TDocument>[] = [];\n for (const property of section.properties) {\n if (!isEditableDocumentInspectorProperty(property)) continue;\n if (!isAutomaticBatchInspectorProperty(property)) continue;\n const matches = byObject.map(propertiesByPath => propertiesByPath.get(property.path) ?? null);\n if (matches.some(match => !match)) continue;\n const matchedProperties = matches as InspectorProperty<TDocument>[];\n if (!matchedProperties.every(match => inspectorPropertiesAreBatchCompatible(property, match))) continue;\n properties.push(aggregateInspectorPropertyValues(property, matchedProperties));\n }\n if (properties.length === 0) continue;\n sections.push({\n ...section,\n persistence: 'document',\n runtimeOnly: false,\n disabledReason: undefined,\n properties,\n });\n }\n\n if (sections.length === 0) return null;\n return {\n targetIds,\n activeId: input.activeId,\n label: input.label ?? `${targetIds.length} objects`,\n document: input.document,\n selection: {\n targetIds,\n activeId: input.activeId,\n document: input.document,\n },\n sections,\n };\n}\n\nexport function serializedObjectToInspectorObject<TDocument>(\n serializedObject: SerializedObject<TDocument>,\n document?: TDocument,\n): InspectorObject<TDocument> {\n return {\n targetIds: [serializedObject.targetId],\n activeId: serializedObject.targetId,\n label: serializedObject.label,\n document,\n selection: {\n targetIds: [serializedObject.targetId],\n activeId: serializedObject.targetId,\n document,\n },\n sections: serializedPropertiesToInspectorSections(serializedObject.properties),\n };\n}\n\nexport function serializedMultiObjectToInspectorObject<TDocument>(\n serializedObject: SerializedMultiObject<TDocument>,\n document?: TDocument,\n): InspectorObject<TDocument> {\n return {\n targetIds: serializedObject.targetIds,\n activeId: serializedObject.activeId,\n label: serializedObject.label,\n document,\n selection: {\n targetIds: serializedObject.targetIds,\n activeId: serializedObject.activeId,\n document,\n },\n sections: serializedPropertiesToInspectorSections(serializedObject.properties),\n };\n}\n\nexport function serializedPropertiesToInspectorSections<TDocument>(\n properties: readonly SerializedProperty<TDocument>[],\n): InspectorSection<TDocument>[] {\n const sections = new Map<string, { order: number; properties: InspectorProperty<TDocument>[] }>();\n for (const [index, property] of properties.entries()) {\n const sectionId = inferInspectorSectionId(property.path);\n const section = sections.get(sectionId) ?? { order: sections.size, properties: [] };\n section.properties.push(serializedPropertyToInspectorProperty(property, index));\n sections.set(sectionId, section);\n }\n\n return [...sections.entries()]\n .map(([id, section]) => ({\n id,\n title: toInspectorTitle(id),\n order: section.order,\n placement: id === 'gameObject' ? 'summary' as const : 'body' as const,\n persistence: inferSectionPersistence(section.properties),\n properties: section.properties,\n }))\n .sort(compareInspectorSections);\n}\n\nexport function serializedPropertyToInspectorProperty<TDocument>(\n property: SerializedProperty<TDocument>,\n order?: number,\n): InspectorProperty<TDocument> {\n const readOnly = property.readOnly === true;\n return {\n path: property.path,\n label: property.label,\n valueType: property.valueType,\n control: inferControlKind(property),\n value: property.value,\n options: property.options,\n mixed: property.mixed,\n readOnly,\n persistence: readOnly ? 'readonly' : 'document',\n commitMode: inferCommitMode(property),\n order,\n source: property,\n };\n}\n\nexport function coerceInspectorEditValue(\n property: Pick<InspectorProperty, 'control' | 'valueType' | 'coerce'>,\n value: unknown,\n): unknown {\n if (property.coerce) return property.coerce(value);\n if (property.control === 'number' || property.valueType === 'number') {\n const numeric = typeof value === 'number' ? value : Number(value);\n return Number.isFinite(numeric) ? numeric : value;\n }\n if (property.control === 'boolean' || property.valueType === 'boolean') {\n if (typeof value === 'boolean') return value;\n if (value === 'true') return true;\n if (value === 'false') return false;\n }\n return value;\n}\n\nexport function validateInspectorEditValue(\n property: Pick<InspectorProperty, 'readOnly' | 'persistence' | 'validate' | 'control' | 'valueType' | 'effect' | 'disabledReason'>,\n value: unknown,\n): InspectorValidationResult {\n if (property.readOnly || property.persistence !== 'document') {\n return { ok: false, message: 'Inspector property is not editable.' };\n }\n if (property.effect && property.effect !== 'active') {\n return { ok: false, message: property.disabledReason ?? `Inspector property is ${property.effect}.` };\n }\n if ((property.control === 'number' || property.valueType === 'number')\n && (typeof value !== 'number' || !Number.isFinite(value))) {\n return { ok: false, message: 'Expected a finite number.' };\n }\n if ((property.control === 'boolean' || property.valueType === 'boolean') && typeof value !== 'boolean') {\n return { ok: false, message: 'Expected a boolean value.' };\n }\n return property.validate?.(value) ?? { ok: true, value };\n}\n\nexport function createInspectorEditPayload(\n property: InspectorProperty,\n input: InspectorEditInput,\n): InspectorValidationResult<InspectorEditPayload> {\n if (property.path !== input.path) {\n return {\n ok: false,\n message: `Inspector edit path mismatch: expected ${property.path}, received ${input.path}.`,\n };\n }\n const coercedValue = coerceInspectorEditValue(property, input.value);\n const validation = validateInspectorEditValue(property, coercedValue);\n if (!validation.ok) return validation;\n return {\n ok: true,\n value: {\n targetId: input.targetId,\n targetIds: input.targetIds,\n path: property.path,\n value: validation.value,\n control: property.control,\n valueType: property.valueType,\n commitMode: property.commitMode,\n persistence: property.persistence,\n source: input.source,\n },\n };\n}\n\nexport function compareInspectorSections<TDocument>(\n left: InspectorSection<TDocument>,\n right: InspectorSection<TDocument>,\n): number {\n return (left.order ?? 0) - (right.order ?? 0)\n || left.title.localeCompare(right.title)\n || left.id.localeCompare(right.id);\n}\n\nexport function compareInspectorProperties<TDocument>(\n left: InspectorProperty<TDocument>,\n right: InspectorProperty<TDocument>,\n): number {\n return (left.order ?? 0) - (right.order ?? 0)\n || left.label.localeCompare(right.label)\n || left.path.localeCompare(right.path);\n}\n\nfunction normalizeInspectorComponent<TDocument>(\n component: InspectorComponentRegistration<TDocument>,\n): InspectorComponentRegistration<TDocument> {\n const id = component.id.trim();\n if (!id) throw new Error('Inspector component id is required.');\n return id === component.id ? component : { ...component, id };\n}\n\nfunction indexInspectorPropertiesByPath<TDocument>(\n inspectorObject: InspectorObject<TDocument>,\n): Map<string, InspectorProperty<TDocument>> {\n const properties = new Map<string, InspectorProperty<TDocument>>();\n for (const section of inspectorObject.sections) {\n for (const property of section.properties) {\n if (!properties.has(property.path)) properties.set(property.path, property);\n }\n }\n return properties;\n}\n\nfunction inspectorPropertiesAreBatchCompatible<TDocument>(\n first: InspectorProperty<TDocument>,\n next: InspectorProperty<TDocument>,\n): boolean {\n return isEditableDocumentInspectorProperty(next)\n && isAutomaticBatchInspectorProperty(next)\n && first.path === next.path\n && first.valueType === next.valueType\n && first.control === next.control\n && first.customControl === next.customControl\n && inspectorValuesAreEqual(first.controlOptions ?? null, next.controlOptions ?? null)\n && first.persistence === next.persistence\n && first.commitMode === next.commitMode\n && first.min === next.min\n && first.max === next.max\n && first.step === next.step\n && inspectorEnumOptionsAreBatchCompatible(first.options ?? null, next.options ?? null);\n}\n\nfunction isAutomaticBatchInspectorProperty<TDocument>(\n property: InspectorProperty<TDocument>,\n): boolean {\n return property.batchEdit !== false;\n}\n\nfunction aggregateInspectorPropertyValues<TDocument>(\n first: InspectorProperty<TDocument>,\n properties: readonly InspectorProperty<TDocument>[],\n): InspectorProperty<TDocument> {\n return {\n ...first,\n options: createBatchInspectorPropertyOptions(first.options),\n value: first.value,\n mixed: properties.some(property => property.mixed === true || !inspectorValuesAreEqual(first.value, property.value)),\n document: undefined,\n source: undefined,\n };\n}\n\nfunction inspectorEnumOptionsAreBatchCompatible(\n first: readonly InspectorEnumOption[] | null,\n next: readonly InspectorEnumOption[] | null,\n): boolean {\n return inspectorValuesAreEqual(createBatchInspectorPropertyOptions(first), createBatchInspectorPropertyOptions(next));\n}\n\nfunction createBatchInspectorPropertyOptions(\n options: readonly InspectorEnumOption[] | null | undefined,\n): readonly InspectorEnumOption[] | undefined {\n if (!options) return undefined;\n return options.filter(option => option.batchCompatibility !== 'ignore');\n}\n\nfunction inspectorValuesAreEqual(left: unknown, right: unknown): boolean {\n if (Object.is(left, right)) return true;\n if (typeof left !== typeof right) return false;\n if (left == null || right == null) return false;\n if (Array.isArray(left) || Array.isArray(right)) {\n if (!Array.isArray(left) || !Array.isArray(right) || left.length !== right.length) return false;\n return left.every((item, index) => inspectorValuesAreEqual(item, right[index]));\n }\n if (typeof left !== 'object' || typeof right !== 'object') return false;\n const leftRecord = left as Record<string, unknown>;\n const rightRecord = right as Record<string, unknown>;\n const leftKeys = Object.keys(leftRecord).sort();\n const rightKeys = Object.keys(rightRecord).sort();\n if (leftKeys.length !== rightKeys.length) return false;\n return leftKeys.every((key, index) => key === rightKeys[index] && inspectorValuesAreEqual(leftRecord[key], rightRecord[key]));\n}\n\nfunction listInspectorComponents<TDocument>(\n registrations: Map<string, InspectorComponentRegistration<TDocument>>,\n): InspectorComponentRegistration<TDocument>[] {\n return [...registrations.values()].sort(compareInspectorComponents);\n}\n\nfunction compareInspectorComponents<TDocument>(\n left: InspectorComponentRegistration<TDocument>,\n right: InspectorComponentRegistration<TDocument>,\n): number {\n return (left.order ?? 0) - (right.order ?? 0) || left.id.localeCompare(right.id);\n}\n\nfunction inferInspectorSectionId(path: string): string {\n return path.split('.')[0] || 'properties';\n}\n\nfunction inferControlKind<TDocument>(property: SerializedProperty<TDocument>): InspectorControlKind {\n if (property.readOnly) return 'readonly';\n switch (property.valueType) {\n case 'string':\n return 'string';\n case 'number':\n return 'number';\n case 'boolean':\n return 'boolean';\n case 'enum':\n return 'enum';\n case 'asset':\n return 'asset';\n case 'object':\n return 'object';\n default:\n return 'readonly';\n }\n}\n\nfunction inferCommitMode<TDocument>(property: SerializedProperty<TDocument>): InspectorCommitMode {\n switch (property.valueType) {\n case 'number':\n return 'live';\n case 'boolean':\n case 'enum':\n case 'asset':\n return 'immediate';\n default:\n return 'blur';\n }\n}\n\nfunction inferSectionPersistence<TDocument>(\n properties: readonly InspectorProperty<TDocument>[],\n): InspectorPersistenceMode {\n if (properties.some(property => property.persistence === 'document')) return 'document';\n if (properties.some(property => property.persistence === 'runtime')) return 'runtime';\n return 'readonly';\n}\n\nfunction toInspectorTitle(id: string): string {\n return id\n .replace(/([a-z0-9])([A-Z])/g, '$1 $2')\n .replace(/[-_]+/g, ' ')\n .replace(/\\b\\w/g, char => char.toUpperCase());\n}\n"]}
|
|
1
|
+
{"version":3,"file":"inspector.js","sourceRoot":"","sources":["../src/inspector.ts"],"names":[],"mappings":"AA8JA,MAAM,UAAU,wBAAwB,CACtC,SAAuD;IAEvD,OAAO;QACL,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;YAC3C,EAAE,EAAE,OAAO,CAAC,EAAE;YACd,KAAK,EAAE,OAAO,CAAC,KAAK;YACpB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,KAAK,EAAE,OAAO,CAAC,KAAK;YACpB,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,kBAAkB,EAAE,OAAO,CAAC,kBAAkB;YAC9C,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,cAAc,EAAE,OAAO,CAAC,cAAc;YACtC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;YAClD,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;gBAC9C,EAAE,EAAE,QAAQ,CAAC,EAAE;gBACf,IAAI,EAAE,QAAQ,CAAC,IAAI;gBACnB,KAAK,EAAE,QAAQ,CAAC,K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E,CAAC,QAAQ,CAAC,WAAW,KAAK,UAAU,CAAC;QAAE,OAAO,UAAU,CAAC;IACxF,IAAI,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,WAAW,KAAK,SAAS,CAAC;QAAE,OAAO,SAAS,CAAC;IACtF,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,SAAS,gBAAgB,CAAC,EAAU;IAClC,OAAO,EAAE;SACN,OAAO,CAAC,oBAAoB,EAAE,OAAO,CAAC;SACtC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC;SACtB,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;AAClD,CAAC","sourcesContent":["import type {\n SerializedMultiObject,\n SerializedObject,\n SerializedProperty,\n SerializedPropertyValueType,\n} from './serialized-object';\n\nexport type InspectorPersistenceMode = 'document' | 'runtime' | 'readonly';\n\nexport type InspectorControlKind =\n | 'readonly'\n | 'string'\n | 'number'\n | 'boolean'\n | 'enum'\n | 'vec2'\n | 'vec3'\n | 'color'\n | 'asset'\n | 'object'\n | 'custom';\n\nexport type InspectorCommitMode = 'live' | 'blur' | 'change' | 'immediate';\n\nexport type InspectorEffectMode = 'active' | 'default' | 'derived' | 'runtime' | 'unsupported';\n\nexport interface InspectorSelectionContext<TDocument = unknown> {\n targetIds: string[];\n activeId: string | null;\n targetKind?: string;\n document?: TDocument;\n runtimeTarget?: unknown;\n capabilities?: readonly string[];\n}\n\nexport interface InspectorValidationSuccess<TValue = unknown> {\n ok: true;\n value: TValue;\n}\n\nexport interface InspectorValidationFailure {\n ok: false;\n message: string;\n}\n\nexport type InspectorValidationResult<TValue = unknown> =\n | InspectorValidationSuccess<TValue>\n | InspectorValidationFailure;\n\nexport interface InspectorEnumOption<TValue = string | number | boolean | null> {\n label: string;\n value: TValue;\n disabled?: boolean;\n batchCompatibility?: 'include' | 'ignore';\n}\n\nexport interface InspectorProperty<TDocument = unknown> {\n id?: string;\n path: string;\n label: string;\n valueType: SerializedPropertyValueType | 'color' | 'vec2' | 'vec3';\n control: InspectorControlKind;\n customControl?: string;\n controlOptions?: Record<string, unknown>;\n value: unknown;\n mixed?: boolean;\n batchEdit?: boolean | 'auto';\n readOnly: boolean;\n persistence: InspectorPersistenceMode;\n commitMode: InspectorCommitMode;\n order?: number;\n tags?: readonly string[];\n tooltip?: string;\n effect?: InspectorEffectMode;\n disabledReason?: string;\n placeholder?: string;\n min?: number;\n max?: number;\n step?: number;\n precision?: number;\n stepPrecision?: number;\n options?: readonly InspectorEnumOption[];\n document?: TDocument;\n validate?: (value: unknown) => InspectorValidationResult;\n coerce?: (value: unknown) => unknown;\n source?: SerializedProperty<TDocument>;\n}\n\nexport interface InspectorSection<TDocument = unknown> {\n id: string;\n title: string;\n summary?: string;\n order?: number;\n placement?: 'summary' | 'body';\n collapsedByDefault?: boolean;\n persistence?: InspectorPersistenceMode;\n runtimeOnly?: boolean;\n effect?: InspectorEffectMode;\n disabledReason?: string;\n tags?: readonly string[];\n properties: InspectorProperty<TDocument>[];\n}\n\nexport interface InspectorObject<TDocument = unknown> {\n targetIds: string[];\n activeId: string | null;\n label?: string;\n selection: InspectorSelectionContext<TDocument>;\n sections: InspectorSection<TDocument>[];\n document?: TDocument;\n}\n\nexport interface InspectorPropertySignature {\n id?: string;\n path: string;\n label: string;\n valueType: InspectorProperty['valueType'];\n control: InspectorControlKind;\n customControl?: string;\n controlOptions?: Record<string, unknown>;\n mixed?: boolean;\n batchEdit?: boolean | 'auto';\n readOnly: boolean;\n persistence: InspectorPersistenceMode;\n commitMode: InspectorCommitMode;\n order?: number;\n tags?: readonly string[];\n tooltip?: string;\n effect?: InspectorEffectMode;\n disabledReason?: string;\n placeholder?: string;\n min?: number;\n max?: number;\n step?: number;\n precision?: number;\n stepPrecision?: number;\n options?: readonly InspectorEnumOption[];\n}\n\nexport interface InspectorSectionSignature {\n id: string;\n title: string;\n summary?: string;\n order?: number;\n placement?: 'summary' | 'body';\n collapsedByDefault?: boolean;\n persistence?: InspectorPersistenceMode;\n runtimeOnly?: boolean;\n effect?: InspectorEffectMode;\n disabledReason?: string;\n tags?: readonly string[];\n properties: InspectorPropertySignature[];\n}\n\nexport interface InspectorSignature {\n sections: InspectorSectionSignature[];\n}\n\nexport function createInspectorSignature<TDocument>(\n inspector: Pick<InspectorObject<TDocument>, 'sections'>,\n): InspectorSignature {\n return {\n sections: inspector.sections.map(section => ({\n id: section.id,\n title: section.title,\n summary: section.summary,\n order: section.order,\n placement: section.placement,\n collapsedByDefault: section.collapsedByDefault,\n persistence: section.persistence,\n runtimeOnly: section.runtimeOnly,\n effect: section.effect,\n disabledReason: section.disabledReason,\n tags: section.tags ? [...section.tags] : undefined,\n properties: section.properties.map(property => ({\n id: property.id,\n path: property.path,\n label: property.label,\n valueType: property.valueType,\n control: property.control,\n customControl: property.customControl,\n controlOptions: cloneInspectorSignatureMetadata(property.controlOptions),\n mixed: property.mixed,\n batchEdit: property.batchEdit,\n readOnly: property.readOnly,\n persistence: property.persistence,\n commitMode: property.commitMode,\n order: property.order,\n tags: property.tags ? [...property.tags] : undefined,\n tooltip: property.tooltip,\n effect: property.effect,\n disabledReason: property.disabledReason,\n placeholder: property.placeholder,\n min: property.min,\n max: property.max,\n step: property.step,\n precision: property.precision,\n stepPrecision: property.stepPrecision,\n options: property.options?.map(option => ({ ...option })),\n })),\n })),\n };\n}\n\nfunction cloneInspectorSignatureMetadata(\n value: Record<string, unknown> | undefined,\n): Record<string, unknown> | undefined {\n if (!value) return undefined;\n const cloneValue = (candidate: unknown): unknown => {\n if (candidate == null || typeof candidate === 'string' || typeof candidate === 'number' || typeof candidate === 'boolean') {\n return candidate;\n }\n if (Array.isArray(candidate)) return candidate.map(cloneValue);\n if (typeof candidate !== 'object') return undefined;\n return Object.fromEntries(Object.entries(candidate as Record<string, unknown>)\n .filter(([, entry]) => typeof entry !== 'function')\n .map(([key, entry]) => [key, cloneValue(entry)]));\n };\n return cloneValue(value) as Record<string, unknown>;\n}\n\nexport interface InspectorEditPayload {\n targetId: string;\n targetIds?: string[];\n path: string;\n value: unknown;\n control: InspectorControlKind;\n valueType: InspectorProperty['valueType'];\n commitMode: InspectorCommitMode;\n persistence: InspectorPersistenceMode;\n source?: 'input' | 'toggle' | 'select' | 'color' | 'asset' | 'custom';\n}\n\nexport interface InspectorEditInput {\n targetId: string;\n targetIds?: string[];\n path: string;\n value: unknown;\n control?: InspectorControlKind;\n valueType?: InspectorProperty['valueType'];\n commitMode?: InspectorCommitMode;\n persistence?: InspectorPersistenceMode;\n source?: InspectorEditPayload['source'];\n}\n\nexport interface InspectorComponentRegistration<TDocument = unknown> {\n id: string;\n order?: number;\n requiredCapabilities?: readonly string[];\n supports?(context: InspectorSelectionContext<TDocument>): boolean;\n createSections(context: InspectorSelectionContext<TDocument>): InspectorSection<TDocument>[];\n}\n\nexport type InspectorRegistryConflictStrategy = 'error' | 'ignore' | 'replace';\n\nexport interface InspectorRegistryOptions {\n onConflict?: InspectorRegistryConflictStrategy;\n propertyConflict?: InspectorRegistryConflictStrategy;\n}\n\nexport interface InspectorRegistrationOptions {\n onConflict?: InspectorRegistryConflictStrategy;\n}\n\nexport interface InspectorRegistrationHandle {\n id: string;\n dispose(): boolean;\n}\n\nexport interface InspectorSectionMergeOptions {\n propertyConflict?: InspectorRegistryConflictStrategy;\n}\n\nexport interface AggregateInspectorObjectsToMultiObjectInput<TDocument = unknown> {\n targetIds: readonly string[];\n activeId: string | null;\n inspectorObjects: readonly InspectorObject<TDocument>[];\n label?: string;\n document?: TDocument;\n}\n\nexport interface InspectorRegistry<TDocument = unknown> {\n register(\n component: InspectorComponentRegistration<TDocument>,\n options?: InspectorRegistrationOptions,\n ): InspectorRegistrationHandle;\n unregister(id: string): boolean;\n get(id: string): InspectorComponentRegistration<TDocument> | null;\n list(): InspectorComponentRegistration<TDocument>[];\n getSections(context: InspectorSelectionContext<TDocument>): InspectorSection<TDocument>[];\n}\n\nexport function createInspectorRegistry<TDocument = unknown>(\n options: InspectorRegistryOptions = {},\n): InspectorRegistry<TDocument> {\n const registrations = new Map<string, InspectorComponentRegistration<TDocument>>();\n const defaultConflict = options.onConflict ?? 'error';\n const propertyConflict = options.propertyConflict ?? 'error';\n return {\n register(component, registerOptions = {}) {\n const normalized = normalizeInspectorComponent(component);\n const conflict = registerOptions.onConflict ?? defaultConflict;\n const previous = registrations.get(normalized.id);\n if (previous) {\n if (conflict === 'error') {\n throw new Error(`Inspector component \"${normalized.id}\" is already registered.`);\n }\n if (conflict === 'ignore') {\n return {\n id: normalized.id,\n dispose: () => false,\n };\n }\n }\n registrations.set(normalized.id, normalized);\n return {\n id: normalized.id,\n dispose() {\n if (registrations.get(normalized.id) !== normalized) return false;\n registrations.delete(normalized.id);\n return true;\n },\n };\n },\n unregister(id) {\n return registrations.delete(id);\n },\n get(id) {\n return registrations.get(id) ?? null;\n },\n list() {\n return listInspectorComponents(registrations);\n },\n getSections(context) {\n const sections = listInspectorComponents(registrations)\n .filter(component => inspectorComponentSupports(component, context))\n .flatMap(component => component.createSections(context)\n .map(section => section.order == null && component.order != null\n ? { ...section, order: component.order }\n : section));\n return mergeInspectorSections([], sections, { propertyConflict });\n },\n };\n}\n\nexport function inspectorContextHasCapabilities<TDocument>(\n context: InspectorSelectionContext<TDocument>,\n requiredCapabilities: readonly string[] | undefined,\n): boolean {\n if (!requiredCapabilities || requiredCapabilities.length === 0) return true;\n const available = new Set(context.capabilities ?? []);\n return requiredCapabilities.every(capability => available.has(capability));\n}\n\nexport function inspectorComponentSupports<TDocument>(\n component: InspectorComponentRegistration<TDocument>,\n context: InspectorSelectionContext<TDocument>,\n): boolean {\n if (!inspectorContextHasCapabilities(context, component.requiredCapabilities)) return false;\n return component.supports?.(context) ?? true;\n}\n\nexport function mergeInspectorSections<TDocument>(\n baseSections: readonly InspectorSection<TDocument>[],\n extensionSections: readonly InspectorSection<TDocument>[],\n options: InspectorSectionMergeOptions = {},\n): InspectorSection<TDocument>[] {\n const propertyConflict = options.propertyConflict ?? 'error';\n const sections = new Map<string, InspectorSection<TDocument>>();\n const explicitEmptySections = new Set<string>();\n const editableProperties = new Map<string, {\n sectionId: string;\n property: InspectorProperty<TDocument>;\n }>();\n\n const appendSection = (section: InspectorSection<TDocument>) => {\n let target = sections.get(section.id);\n if (!target) {\n target = { ...section, properties: [] };\n sections.set(section.id, target);\n }\n if (section.properties.length === 0) explicitEmptySections.add(section.id);\n for (const property of section.properties) {\n appendProperty(target, property);\n }\n };\n\n const appendProperty = (\n section: InspectorSection<TDocument>,\n property: InspectorProperty<TDocument>,\n ) => {\n if (isEditableDocumentInspectorProperty(property)) {\n const previous = editableProperties.get(property.path);\n if (previous) {\n if (propertyConflict === 'error') {\n throw new Error(`Inspector property path \"${property.path}\" is already registered.`);\n }\n if (propertyConflict === 'ignore') return;\n const previousSection = sections.get(previous.sectionId);\n if (previousSection) {\n previousSection.properties = previousSection.properties.filter(candidate => candidate !== previous.property);\n }\n }\n editableProperties.set(property.path, { sectionId: section.id, property });\n }\n section.properties.push(property);\n };\n\n for (const section of baseSections) appendSection(section);\n for (const section of extensionSections) appendSection(section);\n return [...sections.values()]\n .filter(section => section.properties.length > 0 || explicitEmptySections.has(section.id))\n .sort(compareInspectorSections);\n}\n\nexport function isEditableDocumentInspectorProperty<TDocument>(\n property: InspectorProperty<TDocument>,\n): boolean {\n return property.persistence === 'document'\n && property.readOnly !== true\n && (property.effect == null || property.effect === 'active');\n}\n\nexport function aggregateInspectorObjectsToMultiObject<TDocument>(\n input: AggregateInspectorObjectsToMultiObjectInput<TDocument>,\n): InspectorObject<TDocument> | null {\n const targetIds = [...input.targetIds];\n if (targetIds.length === 0 || input.inspectorObjects.length !== targetIds.length) return null;\n const [first] = input.inspectorObjects;\n if (!first) return null;\n const byObject = input.inspectorObjects.map(object => indexInspectorPropertiesByPath(object));\n const sections: InspectorSection<TDocument>[] = [];\n\n for (const section of first.sections) {\n const properties: InspectorProperty<TDocument>[] = [];\n for (const property of section.properties) {\n if (!isEditableDocumentInspectorProperty(property)) continue;\n if (!isAutomaticBatchInspectorProperty(property)) continue;\n const matches = byObject.map(propertiesByPath => propertiesByPath.get(property.path) ?? null);\n if (matches.some(match => !match)) continue;\n const matchedProperties = matches as InspectorProperty<TDocument>[];\n if (!matchedProperties.every(match => inspectorPropertiesAreBatchCompatible(property, match))) continue;\n properties.push(aggregateInspectorPropertyValues(property, matchedProperties));\n }\n if (properties.length === 0) continue;\n sections.push({\n ...section,\n persistence: 'document',\n runtimeOnly: false,\n disabledReason: undefined,\n properties,\n });\n }\n\n if (sections.length === 0) return null;\n return {\n targetIds,\n activeId: input.activeId,\n label: input.label ?? `${targetIds.length} objects`,\n document: input.document,\n selection: {\n targetIds,\n activeId: input.activeId,\n document: input.document,\n },\n sections,\n };\n}\n\nexport function serializedObjectToInspectorObject<TDocument>(\n serializedObject: SerializedObject<TDocument>,\n document?: TDocument,\n): InspectorObject<TDocument> {\n return {\n targetIds: [serializedObject.targetId],\n activeId: serializedObject.targetId,\n label: serializedObject.label,\n document,\n selection: {\n targetIds: [serializedObject.targetId],\n activeId: serializedObject.targetId,\n document,\n },\n sections: serializedPropertiesToInspectorSections(serializedObject.properties),\n };\n}\n\nexport function serializedMultiObjectToInspectorObject<TDocument>(\n serializedObject: SerializedMultiObject<TDocument>,\n document?: TDocument,\n): InspectorObject<TDocument> {\n return {\n targetIds: serializedObject.targetIds,\n activeId: serializedObject.activeId,\n label: serializedObject.label,\n document,\n selection: {\n targetIds: serializedObject.targetIds,\n activeId: serializedObject.activeId,\n document,\n },\n sections: serializedPropertiesToInspectorSections(serializedObject.properties),\n };\n}\n\nexport function serializedPropertiesToInspectorSections<TDocument>(\n properties: readonly SerializedProperty<TDocument>[],\n): InspectorSection<TDocument>[] {\n const sections = new Map<string, { order: number; properties: InspectorProperty<TDocument>[] }>();\n for (const [index, property] of properties.entries()) {\n const sectionId = inferInspectorSectionId(property.path);\n const section = sections.get(sectionId) ?? { order: sections.size, properties: [] };\n section.properties.push(serializedPropertyToInspectorProperty(property, index));\n sections.set(sectionId, section);\n }\n\n return [...sections.entries()]\n .map(([id, section]) => ({\n id,\n title: toInspectorTitle(id),\n order: section.order,\n placement: id === 'gameObject' ? 'summary' as const : 'body' as const,\n persistence: inferSectionPersistence(section.properties),\n properties: section.properties,\n }))\n .sort(compareInspectorSections);\n}\n\nexport function serializedPropertyToInspectorProperty<TDocument>(\n property: SerializedProperty<TDocument>,\n order?: number,\n): InspectorProperty<TDocument> {\n const readOnly = property.readOnly === true;\n return {\n path: property.path,\n label: property.label,\n valueType: property.valueType,\n control: inferControlKind(property),\n value: property.value,\n options: property.options,\n mixed: property.mixed,\n readOnly,\n persistence: readOnly ? 'readonly' : 'document',\n commitMode: inferCommitMode(property),\n order,\n source: property,\n };\n}\n\nexport function coerceInspectorEditValue(\n property: Pick<InspectorProperty, 'control' | 'valueType' | 'coerce'>,\n value: unknown,\n): unknown {\n if (property.coerce) return property.coerce(value);\n if (property.control === 'number' || property.valueType === 'number') {\n const numeric = typeof value === 'number' ? value : Number(value);\n return Number.isFinite(numeric) ? numeric : value;\n }\n if (property.control === 'boolean' || property.valueType === 'boolean') {\n if (typeof value === 'boolean') return value;\n if (value === 'true') return true;\n if (value === 'false') return false;\n }\n return value;\n}\n\nexport function validateInspectorEditValue(\n property: Pick<InspectorProperty, 'readOnly' | 'persistence' | 'validate' | 'control' | 'valueType' | 'effect' | 'disabledReason'>,\n value: unknown,\n): InspectorValidationResult {\n if (property.readOnly || property.persistence !== 'document') {\n return { ok: false, message: 'Inspector property is not editable.' };\n }\n if (property.effect && property.effect !== 'active') {\n return { ok: false, message: property.disabledReason ?? `Inspector property is ${property.effect}.` };\n }\n if ((property.control === 'number' || property.valueType === 'number')\n && (typeof value !== 'number' || !Number.isFinite(value))) {\n return { ok: false, message: 'Expected a finite number.' };\n }\n if ((property.control === 'boolean' || property.valueType === 'boolean') && typeof value !== 'boolean') {\n return { ok: false, message: 'Expected a boolean value.' };\n }\n return property.validate?.(value) ?? { ok: true, value };\n}\n\nexport function createInspectorEditPayload(\n property: InspectorProperty,\n input: InspectorEditInput,\n): InspectorValidationResult<InspectorEditPayload> {\n if (property.path !== input.path) {\n return {\n ok: false,\n message: `Inspector edit path mismatch: expected ${property.path}, received ${input.path}.`,\n };\n }\n const coercedValue = coerceInspectorEditValue(property, input.value);\n const validation = validateInspectorEditValue(property, coercedValue);\n if (!validation.ok) return validation;\n return {\n ok: true,\n value: {\n targetId: input.targetId,\n targetIds: input.targetIds,\n path: property.path,\n value: validation.value,\n control: property.control,\n valueType: property.valueType,\n commitMode: property.commitMode,\n persistence: property.persistence,\n source: input.source,\n },\n };\n}\n\nexport function compareInspectorSections<TDocument>(\n left: InspectorSection<TDocument>,\n right: InspectorSection<TDocument>,\n): number {\n return (left.order ?? 0) - (right.order ?? 0)\n || left.title.localeCompare(right.title)\n || left.id.localeCompare(right.id);\n}\n\nexport function compareInspectorProperties<TDocument>(\n left: InspectorProperty<TDocument>,\n right: InspectorProperty<TDocument>,\n): number {\n return (left.order ?? 0) - (right.order ?? 0)\n || left.label.localeCompare(right.label)\n || left.path.localeCompare(right.path);\n}\n\nfunction normalizeInspectorComponent<TDocument>(\n component: InspectorComponentRegistration<TDocument>,\n): InspectorComponentRegistration<TDocument> {\n const id = component.id.trim();\n if (!id) throw new Error('Inspector component id is required.');\n return id === component.id ? component : { ...component, id };\n}\n\nfunction indexInspectorPropertiesByPath<TDocument>(\n inspectorObject: InspectorObject<TDocument>,\n): Map<string, InspectorProperty<TDocument>> {\n const properties = new Map<string, InspectorProperty<TDocument>>();\n for (const section of inspectorObject.sections) {\n for (const property of section.properties) {\n if (!properties.has(property.path)) properties.set(property.path, property);\n }\n }\n return properties;\n}\n\nfunction inspectorPropertiesAreBatchCompatible<TDocument>(\n first: InspectorProperty<TDocument>,\n next: InspectorProperty<TDocument>,\n): boolean {\n return isEditableDocumentInspectorProperty(next)\n && isAutomaticBatchInspectorProperty(next)\n && first.path === next.path\n && first.valueType === next.valueType\n && first.control === next.control\n && first.customControl === next.customControl\n && inspectorValuesAreEqual(first.controlOptions ?? null, next.controlOptions ?? null)\n && first.persistence === next.persistence\n && first.commitMode === next.commitMode\n && first.min === next.min\n && first.max === next.max\n && first.step === next.step\n && first.precision === next.precision\n && first.stepPrecision === next.stepPrecision\n && inspectorEnumOptionsAreBatchCompatible(first.options ?? null, next.options ?? null);\n}\n\nfunction isAutomaticBatchInspectorProperty<TDocument>(\n property: InspectorProperty<TDocument>,\n): boolean {\n return property.batchEdit !== false;\n}\n\nfunction aggregateInspectorPropertyValues<TDocument>(\n first: InspectorProperty<TDocument>,\n properties: readonly InspectorProperty<TDocument>[],\n): InspectorProperty<TDocument> {\n return {\n ...first,\n options: createBatchInspectorPropertyOptions(first.options),\n value: first.value,\n mixed: properties.some(property => property.mixed === true || !inspectorValuesAreEqual(first.value, property.value)),\n document: undefined,\n source: undefined,\n };\n}\n\nfunction inspectorEnumOptionsAreBatchCompatible(\n first: readonly InspectorEnumOption[] | null,\n next: readonly InspectorEnumOption[] | null,\n): boolean {\n return inspectorValuesAreEqual(createBatchInspectorPropertyOptions(first), createBatchInspectorPropertyOptions(next));\n}\n\nfunction createBatchInspectorPropertyOptions(\n options: readonly InspectorEnumOption[] | null | undefined,\n): readonly InspectorEnumOption[] | undefined {\n if (!options) return undefined;\n return options.filter(option => option.batchCompatibility !== 'ignore');\n}\n\nfunction inspectorValuesAreEqual(left: unknown, right: unknown): boolean {\n if (Object.is(left, right)) return true;\n if (typeof left !== typeof right) return false;\n if (left == null || right == null) return false;\n if (Array.isArray(left) || Array.isArray(right)) {\n if (!Array.isArray(left) || !Array.isArray(right) || left.length !== right.length) return false;\n return left.every((item, index) => inspectorValuesAreEqual(item, right[index]));\n }\n if (typeof left !== 'object' || typeof right !== 'object') return false;\n const leftRecord = left as Record<string, unknown>;\n const rightRecord = right as Record<string, unknown>;\n const leftKeys = Object.keys(leftRecord).sort();\n const rightKeys = Object.keys(rightRecord).sort();\n if (leftKeys.length !== rightKeys.length) return false;\n return leftKeys.every((key, index) => key === rightKeys[index] && inspectorValuesAreEqual(leftRecord[key], rightRecord[key]));\n}\n\nfunction listInspectorComponents<TDocument>(\n registrations: Map<string, InspectorComponentRegistration<TDocument>>,\n): InspectorComponentRegistration<TDocument>[] {\n return [...registrations.values()].sort(compareInspectorComponents);\n}\n\nfunction compareInspectorComponents<TDocument>(\n left: InspectorComponentRegistration<TDocument>,\n right: InspectorComponentRegistration<TDocument>,\n): number {\n return (left.order ?? 0) - (right.order ?? 0) || left.id.localeCompare(right.id);\n}\n\nfunction inferInspectorSectionId(path: string): string {\n return path.split('.')[0] || 'properties';\n}\n\nfunction inferControlKind<TDocument>(property: SerializedProperty<TDocument>): InspectorControlKind {\n if (property.readOnly) return 'readonly';\n switch (property.valueType) {\n case 'string':\n return 'string';\n case 'number':\n return 'number';\n case 'boolean':\n return 'boolean';\n case 'enum':\n return 'enum';\n case 'asset':\n return 'asset';\n case 'object':\n return 'object';\n default:\n return 'readonly';\n }\n}\n\nfunction inferCommitMode<TDocument>(property: SerializedProperty<TDocument>): InspectorCommitMode {\n switch (property.valueType) {\n case 'number':\n return 'live';\n case 'boolean':\n case 'enum':\n case 'asset':\n return 'immediate';\n default:\n return 'blur';\n }\n}\n\nfunction inferSectionPersistence<TDocument>(\n properties: readonly InspectorProperty<TDocument>[],\n): InspectorPersistenceMode {\n if (properties.some(property => property.persistence === 'document')) return 'document';\n if (properties.some(property => property.persistence === 'runtime')) return 'runtime';\n return 'readonly';\n}\n\nfunction toInspectorTitle(id: string): string {\n return id\n .replace(/([a-z0-9])([A-Z])/g, '$1 $2')\n .replace(/[-_]+/g, ' ')\n .replace(/\\b\\w/g, char => char.toUpperCase());\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scene-graph.d.ts","sourceRoot":"","sources":["../src/scene-graph.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AAEtC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