@fps-games/editor 0.2.0-beta.3 → 0.2.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-bridge/capabilities/editor-state.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/editor-state.js +32 -17
- 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 +243 -60
- 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 +111 -25
- package/dist/agent-bridge/capabilities/scene-objects.js.map +1 -1
- package/dist/agent-bridge/capabilities/selection.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/selection.js +8 -5
- package/dist/agent-bridge/capabilities/selection.js.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.js +839 -67
- package/dist/agent-bridge/capabilities/shadows.js.map +1 -1
- package/dist/agent-bridge/capabilities/transform.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/transform.js +6 -4
- package/dist/agent-bridge/capabilities/transform.js.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.js +3 -1
- package/dist/agent-bridge/capabilities/ui-regions.js.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.js +92 -47
- 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 +232 -7
- package/dist/agent-bridge/shared.d.ts.map +1 -1
- package/dist/agent-bridge/shared.js +174 -0
- package/dist/agent-bridge/shared.js.map +1 -1
- package/dist/agent-bridge/source-types.d.ts +17 -1
- package/dist/agent-bridge/source-types.d.ts.map +1 -1
- package/dist/agent-bridge/source-types.js.map +1 -1
- package/dist/build-info.json +57 -42
- package/dist/index.d.ts +7 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/internal/babylon-preview-engine.d.ts +3 -0
- package/dist/internal/babylon-preview-engine.d.ts.map +1 -0
- package/dist/internal/babylon-preview-engine.js +11 -0
- package/dist/internal/babylon-preview-engine.js.map +1 -0
- package/dist/internal/product-local-editor-cleanup.d.ts +5 -0
- package/dist/internal/product-local-editor-cleanup.d.ts.map +1 -0
- package/dist/internal/product-local-editor-cleanup.js +20 -0
- package/dist/internal/product-local-editor-cleanup.js.map +1 -0
- package/dist/local-editor-agent-actions.d.ts +2 -4
- package/dist/local-editor-agent-actions.d.ts.map +1 -1
- package/dist/local-editor-agent-actions.js +61 -33
- package/dist/local-editor-agent-actions.js.map +1 -1
- package/dist/local-editor-agent-context.d.ts +5 -5
- package/dist/local-editor-agent-context.d.ts.map +1 -1
- package/dist/local-editor-agent-context.js.map +1 -1
- package/dist/local-editor-harness.d.ts +340 -35
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +3854 -1118
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-marker-graph.d.ts +15 -15
- package/dist/local-editor-marker-graph.d.ts.map +1 -1
- package/dist/local-editor-marker-graph.js +3 -0
- package/dist/local-editor-marker-graph.js.map +1 -1
- package/dist/local-editor-performance-stats.d.ts +3 -2
- package/dist/local-editor-performance-stats.d.ts.map +1 -1
- package/dist/local-editor-performance-stats.js.map +1 -1
- package/dist/local-editor-prefab-stage-transaction.d.ts +19 -0
- package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -0
- package/dist/local-editor-prefab-stage-transaction.js +45 -0
- package/dist/local-editor-prefab-stage-transaction.js.map +1 -0
- package/dist/local-editor-scene-view-interaction-runtime.d.ts +3 -1
- package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
- package/dist/local-editor-scene-view-interaction-runtime.js +24 -0
- package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
- package/dist/local-editor-tools.d.ts +18 -0
- package/dist/local-editor-tools.d.ts.map +1 -0
- package/dist/local-editor-tools.js +53 -0
- package/dist/local-editor-tools.js.map +1 -0
- package/dist/playable-babylon-rendering.d.ts +9 -0
- package/dist/playable-babylon-rendering.d.ts.map +1 -1
- package/dist/playable-babylon-rendering.js +162 -6
- package/dist/playable-babylon-rendering.js.map +1 -1
- package/dist/playable-local-editor-entry.d.ts +68 -0
- package/dist/playable-local-editor-entry.d.ts.map +1 -0
- package/dist/playable-local-editor-entry.js +424 -0
- package/dist/playable-local-editor-entry.js.map +1 -0
- package/dist/playable-local-editor-host.d.ts +51 -29
- package/dist/playable-local-editor-host.d.ts.map +1 -1
- package/dist/playable-local-editor-host.js +23 -11
- package/dist/playable-local-editor-host.js.map +1 -1
- package/dist/playable-product-local-editor.d.ts +10 -12
- package/dist/playable-product-local-editor.d.ts.map +1 -1
- package/dist/playable-product-local-editor.js +178 -85
- package/dist/playable-product-local-editor.js.map +1 -1
- package/dist/playable-product-projection-preview.d.ts +4 -1
- package/dist/playable-product-projection-preview.d.ts.map +1 -1
- package/dist/playable-product-projection-preview.js +122 -5
- package/dist/playable-product-projection-preview.js.map +1 -1
- package/dist/playable-product-rendering.d.ts +12 -0
- package/dist/playable-product-rendering.d.ts.map +1 -1
- package/dist/playable-product-rendering.js +128 -6
- package/dist/playable-product-rendering.js.map +1 -1
- package/dist/playable-product-scene-capabilities.d.ts +24 -7
- package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
- package/dist/playable-product-scene-capabilities.js +172 -15
- package/dist/playable-product-scene-capabilities.js.map +1 -1
- package/dist/playable-project-mode.d.ts +17 -0
- package/dist/playable-project-mode.d.ts.map +1 -0
- package/dist/playable-project-mode.js +2 -0
- package/dist/playable-project-mode.js.map +1 -0
- package/dist/playable-runtime-babylon.d.ts +3 -6
- package/dist/playable-runtime-babylon.d.ts.map +1 -1
- package/dist/playable-runtime-babylon.js +1 -5
- package/dist/playable-runtime-babylon.js.map +1 -1
- package/dist/playable-sdk.d.ts +16 -9
- package/dist/playable-sdk.d.ts.map +1 -1
- package/dist/playable-sdk.js +6 -4
- package/dist/playable-sdk.js.map +1 -1
- package/dist/playable-standard-project.d.ts +23 -14
- package/dist/playable-standard-project.d.ts.map +1 -1
- package/dist/playable-standard-project.js +53 -19
- package/dist/playable-standard-project.js.map +1 -1
- package/dist/vite-client.d.ts +4 -0
- package/node_modules/@babel/helper-string-parser/lib/index.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -1
- package/node_modules/@babel/parser/lib/index.js +0 -1
- package/node_modules/@babel/types/lib/asserts/assertNode.js +0 -1
- package/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -1
- package/node_modules/@babel/types/lib/builders/productions.js +0 -1
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -1
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -1
- package/node_modules/@babel/types/lib/builders/validateNode.js +0 -1
- package/node_modules/@babel/types/lib/clone/clone.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneNode.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -1
- package/node_modules/@babel/types/lib/comments/addComment.js +0 -1
- package/node_modules/@babel/types/lib/comments/addComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/removeComments.js +0 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/constants/index.js +0 -1
- package/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -1
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -1
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -1
- package/node_modules/@babel/types/lib/converters/toBlock.js +0 -1
- package/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -1
- package/node_modules/@babel/types/lib/converters/toExpression.js +0 -1
- package/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -1
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -1
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -1
- package/node_modules/@babel/types/lib/converters/toStatement.js +0 -1
- package/node_modules/@babel/types/lib/converters/valueToNode.js +0 -1
- package/node_modules/@babel/types/lib/definitions/core.js +0 -1
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -1
- package/node_modules/@babel/types/lib/definitions/experimental.js +0 -1
- package/node_modules/@babel/types/lib/definitions/flow.js +0 -1
- package/node_modules/@babel/types/lib/definitions/index.js +0 -1
- package/node_modules/@babel/types/lib/definitions/jsx.js +0 -1
- package/node_modules/@babel/types/lib/definitions/misc.js +0 -1
- package/node_modules/@babel/types/lib/definitions/placeholders.js +0 -1
- package/node_modules/@babel/types/lib/definitions/typescript.js +0 -1
- package/node_modules/@babel/types/lib/definitions/utils.js +0 -1
- package/node_modules/@babel/types/lib/index.js +0 -1
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -1
- package/node_modules/@babel/types/lib/modifications/inherits.js +0 -1
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -1
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -1
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/traverse/traverse.js +0 -1
- package/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -1
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -1
- package/node_modules/@babel/types/lib/utils/inherit.js +0 -1
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -1
- package/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -1
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/validators/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/validators/is.js +0 -1
- package/node_modules/@babel/types/lib/validators/isBinding.js +0 -1
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -1
- package/node_modules/@babel/types/lib/validators/isImmutable.js +0 -1
- package/node_modules/@babel/types/lib/validators/isLet.js +0 -1
- package/node_modules/@babel/types/lib/validators/isNode.js +0 -1
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -1
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -1
- package/node_modules/@babel/types/lib/validators/isReferenced.js +0 -1
- package/node_modules/@babel/types/lib/validators/isScope.js +0 -1
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -1
- package/node_modules/@babel/types/lib/validators/isType.js +0 -1
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -1
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -1
- package/node_modules/@babel/types/lib/validators/isVar.js +0 -1
- package/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -1
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -1
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -1
- package/node_modules/@babel/types/lib/validators/validate.js +0 -1
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.d.ts +69 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.js +132 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.js +7 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoader.d.ts +14 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoader.js +328 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.d.ts +9 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/BVH/index.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/BVH/index.js +3 -0
- package/node_modules/@babylonjs/loaders/OBJ/index.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/index.js +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.js +230 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.d.ts +136 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.js +317 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.js +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/OBJ/solidParser.d.ts +175 -0
- package/node_modules/@babylonjs/loaders/OBJ/solidParser.js +903 -0
- package/node_modules/@babylonjs/loaders/SPLAT/index.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/SPLAT/index.js +3 -0
- package/node_modules/@babylonjs/loaders/SPLAT/sog.d.ts +84 -0
- package/node_modules/@babylonjs/loaders/SPLAT/sog.js +294 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.d.ts +26 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.js +10 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.d.ts +100 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.js +536 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.d.ts +20 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.js +15 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/SPLAT/spz.d.ts +11 -0
- package/node_modules/@babylonjs/loaders/SPLAT/spz.js +168 -0
- package/node_modules/@babylonjs/loaders/STL/index.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/STL/index.js +1 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.d.ts +78 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.js +238 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.js +7 -0
- package/node_modules/@babylonjs/loaders/bvh/license.md +21 -0
- package/node_modules/@babylonjs/loaders/dynamic.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/dynamic.js +56 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.d.ts +16 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.js +64 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.d.ts +144 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.js +1841 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.d.ts +412 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.js +95 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.d.ts +71 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.js +254 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.d.ts +13 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.js +130 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/index.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/index.js +5 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.js +93 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.js +83 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.d.ts +48 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.js +115 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js +94 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.js +50 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.d.ts +34 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.js +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.js +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.d.ts +53 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.js +73 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.js +251 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.js +77 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.js +92 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.d.ts +355 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js +1678 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.js +19 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.d.ts +3 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.js +3 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.d.ts +70 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js +438 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.d.ts +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.js +150 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.js +91 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.js +65 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.js +79 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.d.ts +49 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.js +119 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.js +58 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.js +69 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.js +56 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.js +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.js +77 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.d.ts +46 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.js +54 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.js +68 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js +80 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.js +73 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.js +76 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.js +303 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.js +66 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.d.ts +112 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.js +262 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.js +82 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.d.ts +45 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.js +109 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.d.ts +29 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.js +22 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.d.ts +31 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.js +189 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.d.ts +30 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.js +123 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.d.ts +30 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.js +66 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.js +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.d.ts +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.js +58 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.js +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.d.ts +56 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.js +228 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.d.ts +104 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.js +337 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.d.ts +27 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.js +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.d.ts +27 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.js +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.js +212 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.d.ts +45 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.js +100 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.js +44 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.d.ts +306 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.js +884 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.d.ts +450 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.js +2485 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.js +79 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.d.ts +165 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.d.ts +25 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.js +32 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.d.ts +262 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/index.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/index.js +9 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.d.ts +364 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.d.ts +674 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.js +1034 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.d.ts +705 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.js +1126 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.d.ts +553 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.js +998 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.d.ts +15 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.js +17 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFValidation.d.ts +35 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFValidation.js +131 -0
- package/node_modules/@babylonjs/loaders/glTF/index.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/glTF/index.js +6 -0
- package/node_modules/@babylonjs/loaders/index.d.ts +6 -0
- package/node_modules/@babylonjs/loaders/index.js +7 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.js +13 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.js +18 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.js +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.js +34 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.js +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.d.ts +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.js +4 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy.js +10 -0
- package/node_modules/@babylonjs/loaders/license.md +71 -0
- package/node_modules/@babylonjs/loaders/package.json +49 -0
- package/node_modules/@babylonjs/loaders/readme.md +23 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts +22 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js +187 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.js +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts +19 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js +212 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +17 -2
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +192 -17
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +139 -3
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts +14 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js +14 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts +59 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js +725 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts +136 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js +2735 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/package.json +7 -7
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts +2 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js +2 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts +2 -0
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +59 -6
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js +81 -11
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js +2 -8
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +17 -5
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +300 -362
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts +4 -0
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +76 -10
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts +46 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js +304 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts +85 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +1600 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts +11 -3
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js +105 -15
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts +25 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js +44 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/package.json +6 -5
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +8 -9
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js +6 -7
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js +36 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +17 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js +6 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +157 -77
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +27 -21
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +19 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +44 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +36 -5
- 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 +831 -702
- 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 +11 -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 +3 -0
- 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 +58 -25
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js +44 -62
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +10 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +591 -639
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts +8 -36
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js +25 -103
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +29 -110
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +1 -3
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +6 -90
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +9 -54
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts +39 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js +74 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js.map +1 -0
- 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 +56 -301
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +4 -14
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +33 -119
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +5 -10
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +760 -524
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts +2 -3
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js +0 -180
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts +5 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js +5 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/package.json +15 -4
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts +22 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js +226 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +94 -2
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +26 -1
- 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 +77 -8
- package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts +112 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.js +613 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +46 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.js +62 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +1 -0
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
- package/node_modules/@fps-games/editor-core/package.json +14 -6
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js +14 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js +49 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +58 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +48 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +28 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +314 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js +285 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +7 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +23 -81
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts +41 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js +93 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts +29 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js +77 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts +51 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js +287 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +6 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +53 -17
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +16 -8
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +10 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +5 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +134 -66
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +21 -14
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +17 -9
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +20 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +49 -10
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js +130 -20
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js +12 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js +136 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts +36 -51
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js +40 -65
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +207 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +18 -7
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +110 -18
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +22 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +144 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js +241 -13
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js +170 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts +153 -13
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js +1295 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +57 -34
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +4 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +20 -198
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js +5 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +144 -8
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js +30 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +31 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +40 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +116 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts +17 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js +50 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +7 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts +5 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js +31 -17
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +417 -2
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js +692 -2
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts +55 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js +2 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +3 -18
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.js +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/package.json +2 -2
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js +5 -0
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/vite.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/vite.js +151 -5
- package/node_modules/@fps-games/editor-tooling/dist/vite.js.map +1 -1
- package/node_modules/@fps-games/editor-tooling/package.json +3 -3
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts +107 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js +770 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts +21 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js +172 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts +14 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js +32 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts +3 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js +653 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts +3 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.js +3 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-ui/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/index.js +5 -0
- package/node_modules/@fps-games/editor-ui/dist/index.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts +7 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js +29 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts +2 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js +95 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts +28 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js +387 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/package.json +23 -0
- package/node_modules/@fps-games/playable-assets/package.json +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/index.js +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.js.map +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts +116 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.js +403 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.js.map +1 -0
- package/node_modules/@fps-games/playable-contracts/package.json +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/index.js +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js +5 -25
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts +61 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js +176 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts +84 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js +362 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts +167 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js +484 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/package.json +2 -2
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts +5 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js.map +1 -1
- package/node_modules/@fps-games/playable-runtime/package.json +12 -12
- package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
- package/node_modules/@fps-games/playable-scene/package.json +2 -2
- package/node_modules/@fps-games/plugin-api/package.json +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-assets/package.json +5 -5
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts +6 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js +16 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts +7 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js +47 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +306 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +1237 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js +32 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/package.json +57 -0
- package/node_modules/@fps-games/plugin-host/package.json +2 -2
- package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-markers/package.json +5 -5
- package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-materials/package.json +5 -5
- package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
- package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-scene/package.json +5 -5
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js +35 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts +11 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js +14 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +53 -0
- package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
- package/node_modules/@playcanvas/observer/LICENSE +19 -0
- package/node_modules/@playcanvas/observer/README.md +72 -0
- package/node_modules/@playcanvas/observer/dist/index.cjs +2033 -0
- package/node_modules/@playcanvas/observer/dist/index.js +2039 -0
- package/node_modules/@playcanvas/observer/dist/index.mjs +2026 -0
- package/node_modules/@playcanvas/observer/package.json +78 -0
- package/node_modules/@playcanvas/observer/types/event-handle.d.ts +41 -0
- package/node_modules/@playcanvas/observer/types/events.d.ts +162 -0
- package/node_modules/@playcanvas/observer/types/history.d.ts +123 -0
- package/node_modules/@playcanvas/observer/types/index.d.ts +15 -0
- package/node_modules/@playcanvas/observer/types/observer-history.d.ts +32 -0
- package/node_modules/@playcanvas/observer/types/observer-list.d.ts +39 -0
- package/node_modules/@playcanvas/observer/types/observer.d.ts +157 -0
- package/node_modules/@playcanvas/observer/types/utils.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/LICENSE +19 -0
- package/node_modules/@playcanvas/pcui/README.md +164 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/Math/color-value.mjs +77 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingBase/index.mjs +215 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/class.mjs +19 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/ArrayInput/index.mjs +498 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/BooleanInput/index.mjs +122 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Button/index.mjs +119 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Canvas/index.mjs +104 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Code/index.mjs +43 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/ColorPicker/index.mjs +619 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Container/index.mjs +642 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Divider/index.mjs +20 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Element/index.mjs +829 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GradientPicker/index.mjs +1136 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GridView/index.mjs +448 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GridViewItem/index.mjs +152 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/InfoBox/index.mjs +90 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/InputElement/index.mjs +186 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Label/index.mjs +124 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/LabelGroup/index.mjs +74 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Menu/index.mjs +174 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/MenuItem/index.mjs +223 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/NumericInput/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Overlay/index.mjs +108 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Panel/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Progress/index.mjs +45 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/RadioButton/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/SelectInput/index.mjs +1085 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/SliderInput/index.mjs +333 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Spinner/index.mjs +34 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TextAreaInput/index.mjs +50 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TextInput/index.mjs +98 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeView/index.mjs +1131 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeViewItem/index.mjs +500 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/VectorInput/index.mjs +366 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/helpers/search.mjs +194 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/helpers/utils.mjs +43 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/index.mjs +56 -0
- package/node_modules/@playcanvas/pcui/dist/pcui-theme-green.scss +2798 -0
- package/node_modules/@playcanvas/pcui/dist/pcui-theme-grey.scss +2798 -0
- package/node_modules/@playcanvas/pcui/package.json +150 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/Math/color-value.mjs +77 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingBase/index.mjs +215 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/class.mjs +19 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/index.mjs +498 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/index.mjs +122 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/index.mjs +119 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/index.mjs +104 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/index.mjs +43 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/index.mjs +619 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/component.mjs +36 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/index.mjs +642 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/index.mjs +20 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/component.mjs +107 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/index.mjs +829 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/index.mjs +1136 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/component.mjs +38 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/index.mjs +448 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/index.mjs +152 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/index.mjs +90 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InputElement/index.mjs +186 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/index.mjs +124 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/component.mjs +42 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/index.mjs +74 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/component.mjs +23 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/index.mjs +174 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/MenuItem/index.mjs +223 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/index.mjs +108 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/component.mjs +32 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/index.mjs +45 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/component.mjs +21 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/index.mjs +1085 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/component.mjs +12 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/index.mjs +333 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/index.mjs +34 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/index.mjs +50 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/component.mjs +23 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/index.mjs +98 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/component.mjs +52 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/index.mjs +1131 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/component.mjs +33 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/index.mjs +500 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/index.mjs +366 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/search.mjs +194 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/utils.mjs +43 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/index.mjs +39 -0
- package/node_modules/@playcanvas/pcui/react/package.json +18 -0
- package/node_modules/@playcanvas/pcui/react/types/Math/color-value.d.ts +3 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingBase/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingElementToObservers/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingObserversToElement/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingTwoWay/index.d.ts +54 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/index.d.ts +5 -0
- package/node_modules/@playcanvas/pcui/react/types/class.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/index.d.ts +140 -0
- package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/index.d.ts +41 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Button/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Button/index.d.ts +75 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Canvas/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Canvas/index.d.ts +61 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Code/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Code/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/index.d.ts +99 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Container/component.d.ts +15 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Container/index.d.ts +292 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Divider/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Divider/index.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Element/component.d.ts +23 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Element/index.d.ts +671 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/index.d.ts +152 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridView/component.d.ts +14 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridView/index.d.ts +103 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/index.d.ts +82 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/index.d.ts +71 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InputElement/index.d.ts +84 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Label/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Label/index.d.ts +85 -0
- package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/index.d.ts +62 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Menu/component.d.ts +14 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Menu/index.d.ts +70 -0
- package/node_modules/@playcanvas/pcui/react/types/components/MenuItem/index.d.ts +139 -0
- package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/index.d.ts +173 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Overlay/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Overlay/index.d.ts +53 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Panel/component.d.ts +16 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Panel/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Progress/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Progress/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/component.d.ts +12 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/index.d.ts +278 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/index.d.ts +133 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Spinner/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Spinner/index.d.ts +27 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextInput/component.d.ts +12 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextInput/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeView/component.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeView/index.d.ts +359 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/component.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/index.d.ts +224 -0
- package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/index.d.ts +176 -0
- package/node_modules/@playcanvas/pcui/react/types/components/components.d.ts +30 -0
- package/node_modules/@playcanvas/pcui/react/types/components/index.d.ts +32 -0
- package/node_modules/@playcanvas/pcui/react/types/helpers/search.d.ts +31 -0
- package/node_modules/@playcanvas/pcui/react/types/helpers/utils.d.ts +2 -0
- package/node_modules/@playcanvas/pcui/react/types/index.d.ts +4 -0
- package/node_modules/@playcanvas/pcui/styles/dist/index.mjs +11 -0
- package/node_modules/@playcanvas/pcui/styles/package.json +17 -0
- package/node_modules/@playcanvas/pcui/types/Math/color-value.d.ts +3 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingBase/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingElementToObservers/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingObserversToElement/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingTwoWay/index.d.ts +54 -0
- package/node_modules/@playcanvas/pcui/types/binding/index.d.ts +5 -0
- package/node_modules/@playcanvas/pcui/types/class.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/types/components/ArrayInput/index.d.ts +140 -0
- package/node_modules/@playcanvas/pcui/types/components/BooleanInput/index.d.ts +41 -0
- package/node_modules/@playcanvas/pcui/types/components/Button/index.d.ts +75 -0
- package/node_modules/@playcanvas/pcui/types/components/Canvas/index.d.ts +61 -0
- package/node_modules/@playcanvas/pcui/types/components/Code/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/ColorPicker/index.d.ts +99 -0
- package/node_modules/@playcanvas/pcui/types/components/Container/index.d.ts +292 -0
- package/node_modules/@playcanvas/pcui/types/components/Divider/index.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/types/components/Element/index.d.ts +671 -0
- package/node_modules/@playcanvas/pcui/types/components/GradientPicker/index.d.ts +152 -0
- package/node_modules/@playcanvas/pcui/types/components/GridView/index.d.ts +103 -0
- package/node_modules/@playcanvas/pcui/types/components/GridViewItem/index.d.ts +82 -0
- package/node_modules/@playcanvas/pcui/types/components/InfoBox/index.d.ts +71 -0
- package/node_modules/@playcanvas/pcui/types/components/InputElement/index.d.ts +84 -0
- package/node_modules/@playcanvas/pcui/types/components/Label/index.d.ts +85 -0
- package/node_modules/@playcanvas/pcui/types/components/LabelGroup/index.d.ts +62 -0
- package/node_modules/@playcanvas/pcui/types/components/Menu/index.d.ts +70 -0
- package/node_modules/@playcanvas/pcui/types/components/MenuItem/index.d.ts +139 -0
- package/node_modules/@playcanvas/pcui/types/components/NumericInput/index.d.ts +173 -0
- package/node_modules/@playcanvas/pcui/types/components/Overlay/index.d.ts +53 -0
- package/node_modules/@playcanvas/pcui/types/components/Panel/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/types/components/Progress/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/RadioButton/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/SelectInput/index.d.ts +278 -0
- package/node_modules/@playcanvas/pcui/types/components/SliderInput/index.d.ts +133 -0
- package/node_modules/@playcanvas/pcui/types/components/Spinner/index.d.ts +27 -0
- package/node_modules/@playcanvas/pcui/types/components/TextAreaInput/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/types/components/TextInput/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/types/components/TreeView/index.d.ts +359 -0
- package/node_modules/@playcanvas/pcui/types/components/TreeViewItem/index.d.ts +224 -0
- package/node_modules/@playcanvas/pcui/types/components/VectorInput/index.d.ts +176 -0
- package/node_modules/@playcanvas/pcui/types/components/index.d.ts +32 -0
- package/node_modules/@playcanvas/pcui/types/helpers/search.d.ts +31 -0
- package/node_modules/@playcanvas/pcui/types/helpers/utils.d.ts +2 -0
- package/node_modules/@playcanvas/pcui/types/index.d.ts +20 -0
- package/node_modules/babylonjs-gltf2interface/babylon.glTF2Interface.d.ts +1655 -0
- package/node_modules/babylonjs-gltf2interface/license.md +71 -0
- package/node_modules/babylonjs-gltf2interface/package.json +26 -0
- package/package.json +31 -19
- package/dist/editor-plugin-hierarchy-command.d.ts +0 -19
- package/dist/editor-plugin-hierarchy-command.d.ts.map +0 -1
- package/dist/editor-plugin-hierarchy-command.js +0 -119
- package/dist/editor-plugin-hierarchy-command.js.map +0 -1
- package/node_modules/@babel/helper-string-parser/lib/index.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- package/node_modules/@babel/parser/lib/index.js.map +0 -1
- package/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
- package/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/constants/index.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
- package/node_modules/@babel/types/lib/index.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
- package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/is.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts +0 -37
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js +0 -451
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts +0 -49
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +0 -627
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts +0 -52
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js +0 -450
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts +0 -21
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js +0 -75
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-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 -92
- 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 -285
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +0 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export type EditorDiagnosticSeverity = 'info' | 'warning' | 'error';
|
|
2
|
+
export declare const EDITOR_DIAGNOSTIC_ACTION_LIMIT = 16;
|
|
3
|
+
export type EditorDiagnosticPhase = 'load' | 'asset-update' | 'projection' | 'edit' | 'save' | 'run' | 'export' | 'runtime-resolution';
|
|
4
|
+
export interface EditorDiagnosticSubject {
|
|
5
|
+
kind: 'document' | 'object' | 'asset' | 'material-slot' | 'hierarchy' | 'prefab' | (string & {});
|
|
6
|
+
id?: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface EditorDiagnosticLocator {
|
|
10
|
+
scopeId?: string;
|
|
11
|
+
objectId?: string;
|
|
12
|
+
assetId?: string;
|
|
13
|
+
rowId?: string;
|
|
14
|
+
prefabAssetId?: string;
|
|
15
|
+
prefabNodeId?: string;
|
|
16
|
+
materialSlotId?: string;
|
|
17
|
+
path?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface EditorDiagnosticAction {
|
|
20
|
+
id: string;
|
|
21
|
+
kind: 'locate';
|
|
22
|
+
label: string;
|
|
23
|
+
/** Uses the diagnostic locator when omitted. */
|
|
24
|
+
locator?: EditorDiagnosticLocator;
|
|
25
|
+
}
|
|
26
|
+
export interface EditorDiagnostic {
|
|
27
|
+
code: string;
|
|
28
|
+
severity: EditorDiagnosticSeverity;
|
|
29
|
+
phase: EditorDiagnosticPhase;
|
|
30
|
+
source: string;
|
|
31
|
+
producer: string;
|
|
32
|
+
message: string;
|
|
33
|
+
suggestion?: string;
|
|
34
|
+
subject?: EditorDiagnosticSubject;
|
|
35
|
+
locator?: EditorDiagnosticLocator;
|
|
36
|
+
actions?: readonly EditorDiagnosticAction[];
|
|
37
|
+
details?: Record<string, unknown>;
|
|
38
|
+
}
|
|
39
|
+
export interface EditorDiagnosticSnapshot {
|
|
40
|
+
producer: string;
|
|
41
|
+
scopeId: string;
|
|
42
|
+
documentRevision: number;
|
|
43
|
+
projectionRevision?: number;
|
|
44
|
+
diagnostics: readonly EditorDiagnostic[];
|
|
45
|
+
}
|
|
46
|
+
export interface EditorDiagnosticReadSnapshot {
|
|
47
|
+
scopeId: string;
|
|
48
|
+
documentRevision: number;
|
|
49
|
+
projectionRevision?: number;
|
|
50
|
+
diagnostics: EditorDiagnostic[];
|
|
51
|
+
errorCount: number;
|
|
52
|
+
warningCount: number;
|
|
53
|
+
infoCount: number;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=editor-diagnostics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-diagnostics.d.ts","sourceRoot":"","sources":["../src/editor-diagnostics.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AACpE,eAAO,MAAM,8BA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,EAAE,CAAC;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,EAAE,SAAS,gBAAgB,EAAE,CAAC;CAC1C;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,EAAE,gBAAgB,EAAE,CAAC;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-diagnostics.js","sourceRoot":"","sources":["../src/editor-diagnostics.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,8BAA8B,GAAG,EAAE,CAAC","sourcesContent":["export type EditorDiagnosticSeverity = 'info' | 'warning' | 'error';\nexport const EDITOR_DIAGNOSTIC_ACTION_LIMIT = 16;\nexport type EditorDiagnosticPhase =\n | 'load'\n | 'asset-update'\n | 'projection'\n | 'edit'\n | 'save'\n | 'run'\n | 'export'\n | 'runtime-resolution';\n\nexport interface EditorDiagnosticSubject {\n kind: 'document' | 'object' | 'asset' | 'material-slot' | 'hierarchy' | 'prefab' | (string & {});\n id?: string;\n label?: string;\n}\n\nexport interface EditorDiagnosticLocator {\n scopeId?: string;\n objectId?: string;\n assetId?: string;\n rowId?: string;\n prefabAssetId?: string;\n prefabNodeId?: string;\n materialSlotId?: string;\n path?: string;\n}\n\nexport interface EditorDiagnosticAction {\n id: string;\n kind: 'locate';\n label: string;\n /** Uses the diagnostic locator when omitted. */\n locator?: EditorDiagnosticLocator;\n}\n\nexport interface EditorDiagnostic {\n code: string;\n severity: EditorDiagnosticSeverity;\n phase: EditorDiagnosticPhase;\n source: string;\n producer: string;\n message: string;\n suggestion?: string;\n subject?: EditorDiagnosticSubject;\n locator?: EditorDiagnosticLocator;\n actions?: readonly EditorDiagnosticAction[];\n details?: Record<string, unknown>;\n}\n\nexport interface EditorDiagnosticSnapshot {\n producer: string;\n scopeId: string;\n documentRevision: number;\n projectionRevision?: number;\n diagnostics: readonly EditorDiagnostic[];\n}\n\nexport interface EditorDiagnosticReadSnapshot {\n scopeId: string;\n documentRevision: number;\n projectionRevision?: number;\n diagnostics: EditorDiagnostic[];\n errorCount: number;\n warningCount: number;\n infoCount: number;\n}\n"]}
|
|
@@ -5,10 +5,13 @@
|
|
|
5
5
|
* Forge Play implementation dependency. Runtime packages may depend on these
|
|
6
6
|
* contracts; game projects provide adapters for project-specific semantics.
|
|
7
7
|
*/
|
|
8
|
+
import type { MaterialSlotSourceDescriptor } from '@fps-games/playable-contracts';
|
|
9
|
+
export type { MaterialSlotSourceDescriptor } from '@fps-games/playable-contracts';
|
|
8
10
|
export * from './agent';
|
|
9
11
|
export * from './agent-bridge';
|
|
10
12
|
export * from './agent-trace';
|
|
11
13
|
export * from './marker-graph';
|
|
14
|
+
export * from './editor-diagnostics';
|
|
12
15
|
export type JsonPrimitive = string | number | boolean | null;
|
|
13
16
|
export type JsonValue = JsonPrimitive | JsonObject | JsonValue[];
|
|
14
17
|
export interface JsonObject {
|
|
@@ -115,24 +118,6 @@ export interface SceneNodeMaterialBindingConfig {
|
|
|
115
118
|
materialAssetId?: string;
|
|
116
119
|
override?: ArtistMaterialProfile;
|
|
117
120
|
}
|
|
118
|
-
export interface MaterialSlotSourceDescriptor {
|
|
119
|
-
slotId: string;
|
|
120
|
-
ownerNodePath: string;
|
|
121
|
-
label?: string;
|
|
122
|
-
nodeIndex?: number;
|
|
123
|
-
nodeIndexPath?: number[];
|
|
124
|
-
meshIndex?: number;
|
|
125
|
-
primitiveIndex?: number;
|
|
126
|
-
sourceMaterialIndex?: number;
|
|
127
|
-
sourceMaterialIndices?: number[];
|
|
128
|
-
materialName?: string;
|
|
129
|
-
materialNames?: string[];
|
|
130
|
-
triangleCount?: number;
|
|
131
|
-
boundingBox?: {
|
|
132
|
-
min?: [number, number, number];
|
|
133
|
-
max?: [number, number, number];
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
121
|
export interface ArtistMaterialSlotBinding {
|
|
137
122
|
slot: MaterialSlotSourceDescriptor;
|
|
138
123
|
profile: ArtistMaterialProfile;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAE/B,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAC7D,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,UAAU,GAAG,SAAS,EAAE,CAAC;AACjE,MAAM,WAAW,UAAU;IAAG,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;CAAE;AAEpE,MAAM,WAAW,IAAI;IACnB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC;AAC9B,MAAM,MAAM,OAAO,GAAG,IAAI,CAAC;AAC3B,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC;AAE9B,MAAM,WAAW,QAAQ;IACvB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAA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C7D,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC;AAC/C,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC;AACjD,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC;AAC7C,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC;AAC/C,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC;AAC3C,MAAM,MAAM,2BAA2B,GAAG,oBAAoB,CAAC;AAC/D,MAAM,MAAM,+BAA+B,GAAG,wBAAwB,CAAC;AACvE,MAAM,MAAM,4BAA4B,GAAG,qBAAqB,CAAC;AACjE,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AACvD,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC;AACnD,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC;AACjD,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC;AAC7D,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC;AAC7D,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC;AAC7D,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC"}
|
|
@@ -9,6 +9,7 @@ export * from './agent.js';
|
|
|
9
9
|
export * from './agent-bridge.js';
|
|
10
10
|
export * from './agent-trace.js';
|
|
11
11
|
export * from './marker-graph.js';
|
|
12
|
+
export * from './editor-diagnostics.js';
|
|
12
13
|
function isFiniteNumber(value) {
|
|
13
14
|
return typeof value === 'number' && Number.isFinite(value);
|
|
14
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAsO/B,SAAS,cAAc,CAAC,KAAc;IACpC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,Q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;IACrB,SAAS,EAAE,WAAW;CACd,CAAC","sourcesContent":["/**\n * Shared protocol surface for fps-game-editor packages and project adapters.\n *\n * This package intentionally contains no project schema, Babylon import, or\n * Forge Play implementation dependency. Runtime packages may depend on these\n * contracts; game projects provide adapters for project-specific semantics.\n */\n\nexport * from './agent';\nexport * from './agent-bridge';\nexport * from './agent-trace';\nexport * from './marker-graph';\n\nexport type JsonPrimitive = string | number | boolean | null;\nexport type JsonValue = JsonPrimitive | JsonObject | JsonValue[];\nexport interface JsonObject { [key: string]: JsonValue | undefined }\n\nexport interface Vec3 {\n x: number;\n y: number;\n z: number;\n}\n\nexport type Position3D = Vec3;\nexport type Scale3D = Vec3;\nexport type Rotation3D = Vec3;\n\nexport interface ColorRGB {\n r: number;\n g: number;\n b: number;\n}\n\nexport type PersistentBinding = {\n kind: 'sceneNode';\n nodeId: string;\n rootNode: unknown;\n};\n\nexport type PersistentBindingSnapshot = {\n kind: 'sceneNode';\n nodeId: string;\n};\n\nexport type RuntimeProp = 'position' | 'rotation' | 'scaling';\n\nexport type MaterialRuntimeKind = 'pbr' | 'standard' | 'unknown';\n\nexport interface ArtistMaterialTextureRef {\n url?: string;\n textureAssetId?: string;\n}\n\nexport type ArtistMaterialAlphaMode = 'opaque' | 'mask' | 'blend';\nexport type ArtistMaterialLightingModel = 'lit' | 'unlit';\n\nexport interface ArtistBaseColorProfile {\n color?: ColorRGB;\n texture?: ArtistMaterialTextureRef | null;\n brightness?: number;\n saturation?: number;\n contrast?: number;\n hue?: number;\n}\n\nexport interface ArtistNormalProfile {\n texture?: ArtistMaterialTextureRef | null;\n strength?: number;\n}\n\nexport interface ArtistMetallicRoughnessProfile {\n texture?: ArtistMaterialTextureRef | null;\n}\n\nexport interface ArtistOcclusionProfile {\n texture?: ArtistMaterialTextureRef | null;\n strength?: number;\n}\n\nexport interface ArtistEmissionProfile {\n color?: ColorRGB;\n intensity?: number;\n texture?: ArtistMaterialTextureRef | null;\n maskTexture?: ArtistMaterialTextureRef | null;\n}\n\nexport interface ArtistAlphaProfile {\n mode?: ArtistMaterialAlphaMode;\n opacity?: number;\n cutoff?: number;\n texture?: ArtistMaterialTextureRef | null;\n}\n\nexport interface ArtistMaterialProfile {\n lightingModel?: ArtistMaterialLightingModel;\n baseColor?: ArtistBaseColorProfile;\n normal?: ArtistNormalProfile;\n metallic?: number;\n roughness?: number;\n metallicRoughness?: ArtistMetallicRoughnessProfile;\n occlusion?: ArtistOcclusionProfile;\n emission?: ArtistEmissionProfile;\n alpha?: ArtistAlphaProfile;\n}\n\nexport type SceneMaterialAssetKind = 'pbr' | 'standard';\nexport type SceneMaterialAssetSystemPreset = 'default-pbr' | 'default-standard';\n\nexport interface SceneMaterialAssetSystemConfig {\n readonly?: boolean;\n preset?: SceneMaterialAssetSystemPreset;\n}\n\nexport type SceneMaterialAssetOriginType = 'imported' | 'created' | 'duplicated' | 'preset';\n\nexport interface SceneMaterialAssetOriginConfig {\n type: SceneMaterialAssetOriginType;\n sourceAssetGuid?: string;\n sourceAssetId?: string;\n sourceSlotId?: string;\n sourceMaterialIndex?: number;\n sourceMaterialName?: string;\n sourceMaterialAssetId?: string;\n}\n\nexport interface SceneMaterialAssetConfig {\n id: string;\n guid?: string;\n name: string;\n profile: ArtistMaterialProfile;\n materialKind?: SceneMaterialAssetKind;\n system?: SceneMaterialAssetSystemConfig;\n origin?: SceneMaterialAssetOriginConfig;\n}\n\nexport interface SceneNodeMaterialBindingConfig {\n materialAssetId?: string;\n override?: ArtistMaterialProfile;\n}\n\nexport interface MaterialSlotSourceDescriptor {\n slotId: string;\n ownerNodePath: string;\n label?: string;\n nodeIndex?: number;\n nodeIndexPath?: number[];\n meshIndex?: number;\n primitiveIndex?: number;\n sourceMaterialIndex?: number;\n sourceMaterialIndices?: number[];\n materialName?: string;\n materialNames?: string[];\n triangleCount?: number;\n boundingBox?: {\n min?: [number, number, number];\n max?: [number, number, number];\n };\n}\n\nexport interface ArtistMaterialSlotBinding {\n slot: MaterialSlotSourceDescriptor;\n profile: ArtistMaterialProfile;\n materialKind?: SceneMaterialAssetKind;\n}\n\nexport type ArtistMaterialProp =\n | 'material.lightingModel'\n | 'material.baseColor.color'\n | 'material.baseColor.texture.url'\n | 'material.baseColor.texture.textureAssetId'\n | 'material.baseColor.brightness'\n | 'material.baseColor.saturation'\n | 'material.baseColor.contrast'\n | 'material.baseColor.hue'\n | 'material.normal.texture.url'\n | 'material.normal.texture.textureAssetId'\n | 'material.normal.strength'\n | 'material.emission.color'\n | 'material.emission.intensity'\n | 'material.emission.texture.url'\n | 'material.emission.texture.textureAssetId'\n | 'material.emission.maskTexture.url'\n | 'material.emission.maskTexture.textureAssetId'\n | 'material.metallic'\n | 'material.roughness'\n | 'material.metallicRoughness.texture.url'\n | 'material.metallicRoughness.texture.textureAssetId'\n | 'material.occlusion.texture.url'\n | 'material.occlusion.texture.textureAssetId'\n | 'material.occlusion.strength'\n | 'material.alpha.mode'\n | 'material.alpha.opacity'\n | 'material.alpha.cutoff'\n | 'material.alpha.texture.url'\n | 'material.alpha.texture.textureAssetId';\n\nexport type MaterialProp =\n | 'material.albedoColor'\n | 'material.emissiveColor'\n | 'material.metallic'\n | 'material.roughness'\n | 'material.alpha'\n | 'material.alphaCutOff'\n | 'material.transparencyMode'\n | 'material.backFaceCulling'\n | 'material.albedoTexture.url'\n | 'material.normalTexture.url'\n | 'material.normalTexture.level'\n | 'material.metallicTexture.url'\n | 'material.occlusionTexture.url'\n | 'material.emissiveTexture.url'\n | 'material.opacityTexture.url'\n | 'material.pbr.albedoColor'\n | 'material.pbr.baseWeight'\n | 'material.pbr.reflectivityColor'\n | 'material.pbr.microSurface'\n | 'material.pbr.emissiveColor'\n | 'material.pbr.emissiveIntensity'\n | 'material.pbr.ambientColor'\n | 'material.pbr.lightFalloff'\n | 'material.standard.diffuseColor'\n | 'material.standard.specularColor'\n | 'material.standard.specularPower'\n | 'material.standard.emissiveColor'\n | 'material.standard.ambientColor'\n | 'material.standard.useSpecularOverAlpha';\n\nexport type MaterialValue = ColorRGB | number | boolean | string | null;\n\nexport interface ResolveArtistMaterialProfileInput {\n originalProfile?: ArtistMaterialProfile | null;\n materialAssets?: readonly SceneMaterialAssetConfig[] | null;\n binding?: SceneNodeMaterialBindingConfig | null;\n}\n\nexport interface ResolveArtistMaterialProfileResult {\n profile: ArtistMaterialProfile;\n materialAsset: SceneMaterialAssetConfig | null;\n missingMaterialAssetId?: string;\n}\n\nfunction isFiniteNumber(value: unknown): value is number {\n return typeof value === 'number' && Number.isFinite(value);\n}\n\nfunction normalizeColorRGB(value: ColorRGB | undefined): ColorRGB | undefined {\n if (!value || !isFiniteNumber(value.r) || !isFiniteNumber(value.g) || !isFiniteNumber(value.b)) return undefined;\n return { r: value.r, g: value.g, b: value.b };\n}\n\nfunction normalizeMaterialTextureRef(value: ArtistMaterialTextureRef | null | undefined): ArtistMaterialTextureRef | null | undefined {\n if (value === null) return null;\n if (!value) return undefined;\n const url = typeof value.url === 'string' ? value.url.trim() : '';\n const textureAssetId = typeof value.textureAssetId === 'string' ? value.textureAssetId.trim() : '';\n if (!url && !textureAssetId) return undefined;\n return {\n ...(url ? { url } : {}),\n ...(textureAssetId ? { textureAssetId } : {}),\n };\n}\n\nfunction normalizeArtistMaterialAlphaMode(value: unknown): ArtistMaterialAlphaMode | undefined {\n return value === 'opaque' || value === 'mask' || value === 'blend' ? value : undefined;\n}\n\nfunction normalizeArtistMaterialLightingModel(value: unknown): ArtistMaterialLightingModel | undefined {\n return value === 'lit' || value === 'unlit' ? value : undefined;\n}\n\nexport function normalizeSceneMaterialAssetKind(value: unknown): SceneMaterialAssetKind | undefined {\n return value === 'pbr' || value === 'standard' ? value : undefined;\n}\n\nexport function resolveSceneMaterialAssetKind(\n materialAsset: Pick<SceneMaterialAssetConfig, 'materialKind' | 'system'> | null | undefined,\n): SceneMaterialAssetKind {\n return normalizeSceneMaterialAssetKind(materialAsset?.materialKind)\n ?? inferSceneMaterialAssetKindFromSystemPreset(materialAsset?.system?.preset)\n ?? 'pbr';\n}\n\nexport function normalizeSceneMaterialAssetSystemConfig(\n value: SceneMaterialAssetSystemConfig | null | undefined,\n): SceneMaterialAssetSystemConfig | undefined {\n if (!value || typeof value !== 'object') return undefined;\n const preset = value.preset === 'default-pbr' || value.preset === 'default-standard'\n ? value.preset\n : undefined;\n const readonly = value.readonly === true;\n if (!preset && !readonly) return undefined;\n return {\n ...(readonly ? { readonly } : {}),\n ...(preset ? { preset } : {}),\n };\n}\n\nexport function normalizeSceneMaterialAssetOriginConfig(\n value: SceneMaterialAssetOriginConfig | null | undefined,\n): SceneMaterialAssetOriginConfig | undefined {\n if (!value || typeof value !== 'object') return undefined;\n const type = value.type === 'imported'\n || value.type === 'created'\n || value.type === 'duplicated'\n || value.type === 'preset'\n ? value.type\n : undefined;\n if (!type) return undefined;\n const sourceAssetGuid = typeof value.sourceAssetGuid === 'string' ? value.sourceAssetGuid.trim() : '';\n const sourceAssetId = typeof value.sourceAssetId === 'string' ? value.sourceAssetId.trim() : '';\n const sourceSlotId = typeof value.sourceSlotId === 'string' ? value.sourceSlotId.trim() : '';\n const sourceMaterialName = typeof value.sourceMaterialName === 'string' ? value.sourceMaterialName.trim() : '';\n const sourceMaterialAssetId = typeof value.sourceMaterialAssetId === 'string' ? value.sourceMaterialAssetId.trim() : '';\n return {\n type,\n ...(sourceAssetGuid ? { sourceAssetGuid } : {}),\n ...(sourceAssetId ? { sourceAssetId } : {}),\n ...(sourceSlotId ? { sourceSlotId } : {}),\n ...(Number.isInteger(value.sourceMaterialIndex) ? { sourceMaterialIndex: value.sourceMaterialIndex } : {}),\n ...(sourceMaterialName ? { sourceMaterialName } : {}),\n ...(sourceMaterialAssetId ? { sourceMaterialAssetId } : {}),\n };\n}\n\nexport function isReadonlySceneMaterialAsset(\n materialAsset: Pick<SceneMaterialAssetConfig, 'system'> | null | undefined,\n): boolean {\n return materialAsset?.system?.readonly === true;\n}\n\nfunction inferSceneMaterialAssetKindFromSystemPreset(\n preset: unknown,\n): SceneMaterialAssetKind | undefined {\n if (preset === 'default-pbr') return 'pbr';\n if (preset === 'default-standard') return 'standard';\n return undefined;\n}\n\nexport function normalizeArtistMaterialProfile(profile: ArtistMaterialProfile | null | undefined): ArtistMaterialProfile | undefined {\n if (!profile || typeof profile !== 'object') return undefined;\n\n const normalized: ArtistMaterialProfile = {};\n const lightingModel = normalizeArtistMaterialLightingModel(profile.lightingModel);\n if (lightingModel) normalized.lightingModel = lightingModel;\n const baseColor: ArtistBaseColorProfile = {};\n const color = normalizeColorRGB(profile.baseColor?.color);\n if (color) baseColor.color = color;\n const texture = normalizeMaterialTextureRef(profile.baseColor?.texture);\n if (texture !== undefined) baseColor.texture = texture;\n if (isFiniteNumber(profile.baseColor?.brightness)) baseColor.brightness = profile.baseColor.brightness;\n if (isFiniteNumber(profile.baseColor?.saturation)) baseColor.saturation = profile.baseColor.saturation;\n if (isFiniteNumber(profile.baseColor?.contrast)) baseColor.contrast = profile.baseColor.contrast;\n if (isFiniteNumber(profile.baseColor?.hue)) baseColor.hue = profile.baseColor.hue;\n if (Object.keys(baseColor).length > 0) normalized.baseColor = baseColor;\n\n const normal: ArtistNormalProfile = {};\n const normalTexture = normalizeMaterialTextureRef(profile.normal?.texture);\n if (normalTexture !== undefined) normal.texture = normalTexture;\n if (isFiniteNumber(profile.normal?.strength)) normal.strength = profile.normal.strength;\n if (Object.keys(normal).length > 0) normalized.normal = normal;\n\n if (isFiniteNumber(profile.metallic)) normalized.metallic = profile.metallic;\n if (isFiniteNumber(profile.roughness)) normalized.roughness = profile.roughness;\n\n const metallicRoughness: ArtistMetallicRoughnessProfile = {};\n const metallicRoughnessTexture = normalizeMaterialTextureRef(profile.metallicRoughness?.texture);\n if (metallicRoughnessTexture !== undefined) metallicRoughness.texture = metallicRoughnessTexture;\n if (Object.keys(metallicRoughness).length > 0) normalized.metallicRoughness = metallicRoughness;\n\n const occlusion: ArtistOcclusionProfile = {};\n const occlusionTexture = normalizeMaterialTextureRef(profile.occlusion?.texture);\n if (occlusionTexture !== undefined) occlusion.texture = occlusionTexture;\n if (isFiniteNumber(profile.occlusion?.strength)) occlusion.strength = profile.occlusion.strength;\n if (Object.keys(occlusion).length > 0) normalized.occlusion = occlusion;\n\n const emission: ArtistEmissionProfile = {};\n const emissionColor = normalizeColorRGB(profile.emission?.color);\n if (emissionColor) emission.color = emissionColor;\n if (isFiniteNumber(profile.emission?.intensity)) emission.intensity = profile.emission.intensity;\n const emissionTexture = normalizeMaterialTextureRef(profile.emission?.texture);\n if (emissionTexture !== undefined) emission.texture = emissionTexture;\n const maskTexture = normalizeMaterialTextureRef(profile.emission?.maskTexture);\n if (maskTexture !== undefined) emission.maskTexture = maskTexture;\n if (Object.keys(emission).length > 0) normalized.emission = emission;\n\n const alpha: ArtistAlphaProfile = {};\n const alphaMode = normalizeArtistMaterialAlphaMode(profile.alpha?.mode);\n if (alphaMode) alpha.mode = alphaMode;\n if (isFiniteNumber(profile.alpha?.opacity)) alpha.opacity = profile.alpha.opacity;\n if (isFiniteNumber(profile.alpha?.cutoff)) alpha.cutoff = profile.alpha.cutoff;\n const alphaTexture = normalizeMaterialTextureRef(profile.alpha?.texture);\n if (alphaTexture !== undefined) alpha.texture = alphaTexture;\n if (Object.keys(alpha).length > 0) normalized.alpha = alpha;\n\n return Object.keys(normalized).length > 0 ? normalized : undefined;\n}\n\nexport function normalizeSceneMaterialAssetConfig(\n materialAsset: SceneMaterialAssetConfig | null | undefined,\n): SceneMaterialAssetConfig | undefined {\n if (!materialAsset || typeof materialAsset !== 'object') return undefined;\n const id = typeof materialAsset.id === 'string' ? materialAsset.id.trim() : '';\n const guid = typeof materialAsset.guid === 'string' ? materialAsset.guid.trim() : '';\n const name = typeof materialAsset.name === 'string' ? materialAsset.name.trim() : '';\n const profile = normalizeArtistMaterialProfile(materialAsset.profile);\n if (!id || !name || !profile) return undefined;\n const system = normalizeSceneMaterialAssetSystemConfig(materialAsset.system);\n const origin = normalizeSceneMaterialAssetOriginConfig(materialAsset.origin);\n const materialKind = normalizeSceneMaterialAssetKind(materialAsset.materialKind);\n const presetKind = inferSceneMaterialAssetKindFromSystemPreset(system?.preset);\n if (materialKind && presetKind && materialKind !== presetKind) return undefined;\n return {\n id,\n ...(guid ? { guid } : {}),\n name,\n profile,\n ...(materialKind ?? presetKind ? { materialKind: materialKind ?? presetKind } : {}),\n ...(system ? { system } : {}),\n ...(origin ? { origin } : {}),\n };\n}\n\nexport function sceneMaterialGuidToStableToken(guid: string): string {\n return String(guid ?? '').trim().toLowerCase().replace(/[^a-z0-9]+/g, '');\n}\n\nexport function createSceneMaterialAssetId(guid: string): string {\n const token = sceneMaterialGuidToStableToken(guid);\n return `mat_${token || 'material'}`;\n}\n\nexport function mergeArtistMaterialProfiles(\n ...profiles: Array<ArtistMaterialProfile | null | undefined>\n): ArtistMaterialProfile {\n const merged: ArtistMaterialProfile = {};\n for (const profile of profiles) {\n const normalized = normalizeArtistMaterialProfile(profile);\n if (!normalized) continue;\n if (normalized.lightingModel) merged.lightingModel = normalized.lightingModel;\n if (normalized.baseColor) {\n merged.baseColor = {\n ...(merged.baseColor ?? {}),\n ...normalized.baseColor,\n };\n }\n if (normalized.normal) {\n merged.normal = {\n ...(merged.normal ?? {}),\n ...normalized.normal,\n };\n }\n if (normalized.metallic !== undefined) merged.metallic = normalized.metallic;\n if (normalized.roughness !== undefined) merged.roughness = normalized.roughness;\n if (normalized.metallicRoughness) {\n merged.metallicRoughness = {\n ...(merged.metallicRoughness ?? {}),\n ...normalized.metallicRoughness,\n };\n }\n if (normalized.occlusion) {\n merged.occlusion = {\n ...(merged.occlusion ?? {}),\n ...normalized.occlusion,\n };\n }\n if (normalized.emission) {\n merged.emission = {\n ...(merged.emission ?? {}),\n ...normalized.emission,\n };\n }\n if (normalized.alpha) {\n merged.alpha = {\n ...(merged.alpha ?? {}),\n ...normalized.alpha,\n };\n }\n }\n return normalizedOrEmpty(merged);\n}\n\nexport function findSceneMaterialAsset(\n materialAssets: readonly SceneMaterialAssetConfig[] | null | undefined,\n materialAssetId: string | null | undefined,\n): SceneMaterialAssetConfig | null {\n const id = typeof materialAssetId === 'string' ? materialAssetId.trim() : '';\n if (!id || !materialAssets) return null;\n return materialAssets.find(asset => asset.id === id) ?? null;\n}\n\nexport function resolveArtistMaterialProfile(\n input: ResolveArtistMaterialProfileInput,\n): ResolveArtistMaterialProfileResult {\n const materialAssetId = typeof input.binding?.materialAssetId === 'string'\n ? input.binding.materialAssetId.trim()\n : '';\n const materialAsset = findSceneMaterialAsset(input.materialAssets, materialAssetId);\n const profile = mergeArtistMaterialProfiles(\n input.originalProfile,\n materialAsset?.profile,\n input.binding?.override,\n );\n return {\n profile,\n materialAsset,\n ...(materialAssetId && !materialAsset ? { missingMaterialAssetId: materialAssetId } : {}),\n };\n}\n\nfunction normalizedOrEmpty(profile: ArtistMaterialProfile): ArtistMaterialProfile {\n return normalizeArtistMaterialProfile(profile) ?? {};\n}\n\nexport type OutlineProp =\n | 'outline.renderOutline'\n | 'outline.outlineWidth'\n | 'outline.outlineColor';\n\nexport type OutlineValue = ColorRGB | number | boolean | null;\n\nexport interface EditorDocumentExport {\n sceneJsonText: string;\n expectedVersion?: number;\n version?: number;\n}\n\nexport interface EditorDocumentCommitArgs {\n version?: number;\n updatedAt?: string;\n sceneJsonText?: string;\n scenePath?: string;\n}\n\nexport interface EditorDuplicateResult {\n rootNode?: unknown;\n}\n\nexport type EditorTool = 'pick' | 'move' | 'rotate' | 'scale';\nexport type EditorMode = 'edit' | 'play';\nexport type RuntimeOwner = 'project' | 'unknown';\nexport type SelectionSource = 'viewport' | 'tree' | 'programmatic' | 'unknown';\n\nexport interface EditorRuntimeApi {\n active?: boolean;\n init(scene: unknown): void;\n showInspector(): Promise<void> | void;\n hideInspector(): void;\n setTool?(tool: EditorTool): void;\n getSelectedEntity?(): unknown | null;\n selectEntity?(entity: unknown | null, syncInspector?: boolean): void;\n duplicateSelected?(): Promise<boolean> | boolean;\n undo(): boolean;\n redo(): boolean;\n exportDocument(): EditorDocumentExport | null;\n commitSavedDocument(args: EditorDocumentCommitArgs): boolean;\n}\n\nexport interface EditRuntimeApi {\n active?: boolean;\n enter(): Promise<void>;\n exit(save?: boolean): Promise<void>;\n _focusSelected(): void;\n isViewportNavigationActive(): boolean;\n}\n\nexport interface EditorRuntime {\n owner?: RuntimeOwner;\n Editor: EditorRuntimeApi;\n Edit: EditRuntimeApi;\n handleCommand(name: string, params: Record<string, unknown>): Promise<void> | void;\n}\n\nexport interface SelectionController {\n createV2SelectionBridge?(v2: unknown): unknown;\n bindSelectionSourceTracking?(): void;\n unbindSelectionSourceTracking?(): void;\n enablePicking?(): void;\n reset?(): void;\n getSelectedEntity?(): unknown | null;\n getSelectedEntities?(): unknown[];\n selectEntity?(\n entity: unknown | null,\n syncInspector?: boolean,\n options?: { additive?: boolean; toggle?: boolean },\n ): void;\n}\n\nexport type EditorRuntimeChange =\n | {\n kind: 'transform';\n binding: PersistentBindingSnapshot;\n prop: RuntimeProp;\n value: Position3D | Scale3D | Rotation3D;\n rootNode?: unknown;\n selectedRootNode?: unknown | null;\n }\n | {\n kind: 'material';\n binding: PersistentBindingSnapshot;\n prop: MaterialProp;\n value: MaterialValue;\n ownerNodePath: string;\n rootNode?: unknown;\n selectedRootNode?: unknown | null;\n }\n | {\n kind: 'outline';\n binding: PersistentBindingSnapshot;\n prop: OutlineProp;\n value: OutlineValue;\n ownerNodePath: string;\n rootNode?: unknown;\n selectedRootNode?: unknown | null;\n }\n | {\n kind: 'selection';\n selectedRootNode?: unknown | null;\n };\n\nexport interface EditorPluginContext {\n scene: unknown | null;\n game: unknown | null;\n}\n\nexport interface EditorPlugin {\n id: string;\n normalizeSelection?(args: {\n source: SelectionSource;\n rawEntity: unknown;\n context: EditorPluginContext;\n }): unknown | null;\n resolvePersistentBinding?(node: unknown, context: EditorPluginContext): PersistentBinding | null;\n applyDocumentChange?(args: {\n binding: PersistentBinding;\n node: unknown;\n prop: string;\n context: EditorPluginContext;\n oldValue?: unknown;\n newValue?: unknown;\n }): boolean;\n duplicateSelection?(args: {\n binding: PersistentBinding;\n node: unknown;\n context: EditorPluginContext;\n }): EditorDuplicateResult | Promise<EditorDuplicateResult | null> | null;\n isDirty?(): boolean;\n canUndo?(): boolean;\n canRedo?(): boolean;\n undoDocumentChange?(context: EditorPluginContext): EditorRuntimeChange | null;\n redoDocumentChange?(context: EditorPluginContext): EditorRuntimeChange | null;\n exportDocument?(): EditorDocumentExport | null;\n commitSavedDocument?(args: EditorDocumentCommitArgs, context: EditorPluginContext): boolean;\n}\n\nexport interface EditorMessenger {\n event?(eventName: string, payload: Record<string, unknown>): void;\n send?(type: string, payload: Record<string, unknown>): void;\n}\n\nexport interface EditorBridgeLike {\n registerEditorPlugin?: (plugin: EditorPlugin) => void;\n registerEditorRuntime?: (runtime: EditorRuntime) => void;\n messenger?: EditorMessenger;\n editor?: unknown;\n}\n\nexport const EDITOR_COMMAND_NAME = {\n MODE_CHANGE: 'mode.change',\n UNDO: 'history.undo',\n REDO: 'history.redo',\n DOCUMENT_EXPORT: 'document.export',\n DOCUMENT_COMMIT: 'document.commit',\n INSPECTOR_FLUSH: 'inspector.flush',\n ASSET_REGISTRATION_PLAN: 'asset.registration.plan',\n ASSET_UNREGISTRATION_PLAN: 'asset.unregistration.plan',\n ASSET_LIBRARY_REFRESH: 'asset.library.refresh',\n ASSET_IMPORT: 'asset.import',\n EDITOR_ASSET_PLACE: 'editor.asset.place',\n ASSET_REMOVE: 'asset.remove',\n SCENE_NODE_CREATE: 'scene.node.create',\n SCENE_NODE_PATCH: 'scene.node.patch',\n SCENE_NODE_REMOVE: 'scene.node.remove',\n SELECTION_DUPLICATE: 'selection.duplicate',\n} as const;\n\nexport type EditorCommandName = typeof EDITOR_COMMAND_NAME[keyof typeof EDITOR_COMMAND_NAME];\n\nexport const EDITOR_EVENT_NAME = {\n DOCUMENT_EXPORTED: 'document.exported',\n UNDO_RESULT: 'history.undo.result',\n REDO_RESULT: 'history.redo.result',\n INSPECTOR_FLUSHED: 'inspector.flushed',\n ASSET_REGISTRATION_PLANNED: 'asset.registration.planned',\n ASSET_REGISTRATION_FAILED: 'asset.registration.failed',\n ASSET_UNREGISTRATION_PLANNED: 'asset.unregistration.planned',\n ASSET_UNREGISTRATION_FAILED: 'asset.unregistration.failed',\n ASSET_LIBRARY_REFRESHED: 'asset.library.refreshed',\n ASSET_IMPORT_RESULT: 'asset.import.result',\n EDITOR_ASSET_PLACE_RESULT: 'editor.asset.place.result',\n ASSET_REMOVE_RESULT: 'asset.remove.result',\n SCENE_NODE_CREATE_RESULT: 'scene.node.create.result',\n SCENE_NODE_PATCH_RESULT: 'scene.node.patch.result',\n SCENE_NODE_REMOVE_RESULT: 'scene.node.remove.result',\n MODE_READY: 'mode.ready',\n SELECTION_DUPLICATE_RESULT: 'selection.duplicate.result',\n} as const;\n\nexport type EditorEventName = typeof EDITOR_EVENT_NAME[keyof typeof EDITOR_EVENT_NAME];\n\nexport const EDITOR_POST_MESSAGE = {\n CONTEXT_CHANGE: 'context:change',\n} as const;\n\nexport type EditorPostMessageType = typeof EDITOR_POST_MESSAGE[keyof typeof EDITOR_POST_MESSAGE];\n\nexport const EDITOR_CAPABILITY = {\n SCENE_TREE: 'sceneTree',\n ASSET_IMPORT: 'assetImport',\n ASSET_REGISTRY_WRITE: 'assetRegistryWrite',\n TRANSFORM_GIZMO: 'transformGizmo',\n MATERIAL_EDITING: 'materialEditing',\n OUTLINE_EDITING: 'outlineEditing',\n DOCUMENT_EXPORT: 'documentExport',\n DOCUMENT_COMMIT: 'documentCommit',\n UNDO_REDO: 'undoRedo',\n INSPECTOR: 'inspector',\n} as const;\n\nexport type EditorCapabilityName = typeof EDITOR_CAPABILITY[keyof typeof EDITOR_CAPABILITY];\nexport type EditorCapabilities = Partial<Record<EditorCapabilityName, boolean>>;\n\n// Migration aliases matching the current project-side editor-package type names.\nexport type ProjectPersistentBinding = PersistentBinding;\nexport type ProjectPersistentBindingSnapshot = PersistentBindingSnapshot;\nexport type ProjectRuntimeProp = RuntimeProp;\nexport type ProjectMaterialRuntimeKind = MaterialRuntimeKind;\nexport type ProjectMaterialProp = MaterialProp;\nexport type ProjectMaterialValue = MaterialValue;\nexport type ProjectOutlineProp = OutlineProp;\nexport type ProjectOutlineValue = OutlineValue;\nexport type ProjectRotation3D = Rotation3D;\nexport type ProjectEditorDocumentExport = EditorDocumentExport;\nexport type ProjectEditorDocumentCommitArgs = EditorDocumentCommitArgs;\nexport type ProjectEditorDuplicateResult = EditorDuplicateResult;\nexport type ProjectEditorRuntimeApi = EditorRuntimeApi;\nexport type ProjectEditRuntimeApi = EditRuntimeApi;\nexport type ProjectEditorRuntime = EditorRuntime;\nexport type ProjectSelectionController = SelectionController;\nexport type ProjectEditorRuntimeChange = EditorRuntimeChange;\nexport type ProjectEditorPluginContext = EditorPluginContext;\nexport type ProjectEditorPlugin = EditorPlugin;\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AAmNrC,SAAS,cAAc,CAAC,KAAc;IACpC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,SAAS,iBAAiB,CAAC,KAA2B;IACpD,IAAI,CAAC,KAAK,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC;QAAE,OAAO,SAAS,CAAC;IACjH,OAAO,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE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,EAAE,mBAAmB;IACtC,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE,qBAAqB;IAClC,iBAAiB,EAAE,mBAAmB;IACtC,0BAA0B,EAAE,4BAA4B;IACxD,yBAAyB,EAAE,2BAA2B;IACtD,4BAA4B,EAAE,8BAA8B;IAC5D,2BAA2B,EAAE,6BAA6B;IAC1D,uBAAuB,EAAE,yBAAyB;IAClD,mBAAmB,EAAE,qBAAqB;IAC1C,yBAAyB,EAAE,2BAA2B;IACtD,mBAAmB,EAAE,qBAAqB;IAC1C,wBAAwB,EAAE,0BAA0B;IACpD,uBAAuB,EAAE,yBAAyB;IAClD,wBAAwB,EAAE,0BAA0B;IACpD,UAAU,EAAE,YAAY;IACxB,0BAA0B,EAAE,4BAA4B;CAChD,CAAC;AAIX,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,cAAc,EAAE,gBAAgB;CACxB,CAAC;AAIX,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,UAAU,EAAE,WAAW;IACvB,YAAY,EAAE,aAAa;IAC3B,oBAAoB,EAAE,oBAAoB;IAC1C,eAAe,EAAE,gBAAgB;IACjC,gBAAgB,EAAE,iBAAiB;IACnC,eAAe,EAAE,gBAAgB;IACjC,eAAe,EAAE,gBAAgB;IACjC,eAAe,EAAE,gBAAgB;IACjC,SAAS,EAAE,UAAU;IACrB,SAAS,EAAE,WAAW;CACd,CAAC","sourcesContent":["/**\n * Shared protocol surface for fps-game-editor packages and project adapters.\n *\n * This package intentionally contains no project schema, Babylon import, or\n * Forge Play implementation dependency. Runtime packages may depend on these\n * contracts; game projects provide adapters for project-specific semantics.\n */\n\nimport type { MaterialSlotSourceDescriptor } from '@fps-games/playable-contracts';\nexport type { MaterialSlotSourceDescriptor } from '@fps-games/playable-contracts';\n\nexport * from './agent';\nexport * from './agent-bridge';\nexport * from './agent-trace';\nexport * from './marker-graph';\nexport * from './editor-diagnostics';\n\nexport type JsonPrimitive = string | number | boolean | null;\nexport type JsonValue = JsonPrimitive | JsonObject | JsonValue[];\nexport interface JsonObject { [key: string]: JsonValue | undefined }\n\nexport interface Vec3 {\n x: number;\n y: number;\n z: number;\n}\n\nexport type Position3D = Vec3;\nexport type Scale3D = Vec3;\nexport type Rotation3D = Vec3;\n\nexport interface ColorRGB {\n r: number;\n g: number;\n b: number;\n}\n\nexport type PersistentBinding = {\n kind: 'sceneNode';\n nodeId: string;\n rootNode: unknown;\n};\n\nexport type PersistentBindingSnapshot = {\n kind: 'sceneNode';\n nodeId: string;\n};\n\nexport type RuntimeProp = 'position' | 'rotation' | 'scaling';\n\nexport type MaterialRuntimeKind = 'pbr' | 'standard' | 'unknown';\n\nexport interface ArtistMaterialTextureRef {\n url?: string;\n textureAssetId?: string;\n}\n\nexport type ArtistMaterialAlphaMode = 'opaque' | 'mask' | 'blend';\nexport type ArtistMaterialLightingModel = 'lit' | 'unlit';\n\nexport interface ArtistBaseColorProfile {\n color?: ColorRGB;\n texture?: ArtistMaterialTextureRef | null;\n brightness?: number;\n saturation?: number;\n contrast?: number;\n hue?: number;\n}\n\nexport interface ArtistNormalProfile {\n texture?: ArtistMaterialTextureRef | null;\n strength?: number;\n}\n\nexport interface ArtistMetallicRoughnessProfile {\n texture?: ArtistMaterialTextureRef | null;\n}\n\nexport interface ArtistOcclusionProfile {\n texture?: ArtistMaterialTextureRef | null;\n strength?: number;\n}\n\nexport interface ArtistEmissionProfile {\n color?: ColorRGB;\n intensity?: number;\n texture?: ArtistMaterialTextureRef | null;\n maskTexture?: ArtistMaterialTextureRef | null;\n}\n\nexport interface ArtistAlphaProfile {\n mode?: ArtistMaterialAlphaMode;\n opacity?: number;\n cutoff?: number;\n texture?: ArtistMaterialTextureRef | null;\n}\n\nexport interface ArtistMaterialProfile {\n lightingModel?: ArtistMaterialLightingModel;\n baseColor?: ArtistBaseColorProfile;\n normal?: ArtistNormalProfile;\n metallic?: number;\n roughness?: number;\n metallicRoughness?: ArtistMetallicRoughnessProfile;\n occlusion?: ArtistOcclusionProfile;\n emission?: ArtistEmissionProfile;\n alpha?: ArtistAlphaProfile;\n}\n\nexport type SceneMaterialAssetKind = 'pbr' | 'standard';\nexport type SceneMaterialAssetSystemPreset = 'default-pbr' | 'default-standard';\n\nexport interface SceneMaterialAssetSystemConfig {\n readonly?: boolean;\n preset?: SceneMaterialAssetSystemPreset;\n}\n\nexport type SceneMaterialAssetOriginType = 'imported' | 'created' | 'duplicated' | 'preset';\n\nexport interface SceneMaterialAssetOriginConfig {\n type: SceneMaterialAssetOriginType;\n sourceAssetGuid?: string;\n sourceAssetId?: string;\n sourceSlotId?: string;\n sourceMaterialIndex?: number;\n sourceMaterialName?: string;\n sourceMaterialAssetId?: string;\n}\n\nexport interface SceneMaterialAssetConfig {\n id: string;\n guid?: string;\n name: string;\n profile: ArtistMaterialProfile;\n materialKind?: SceneMaterialAssetKind;\n system?: SceneMaterialAssetSystemConfig;\n origin?: SceneMaterialAssetOriginConfig;\n}\n\nexport interface SceneNodeMaterialBindingConfig {\n materialAssetId?: string;\n override?: ArtistMaterialProfile;\n}\n\nexport interface ArtistMaterialSlotBinding {\n slot: MaterialSlotSourceDescriptor;\n profile: ArtistMaterialProfile;\n materialKind?: SceneMaterialAssetKind;\n}\n\nexport type ArtistMaterialProp =\n | 'material.lightingModel'\n | 'material.baseColor.color'\n | 'material.baseColor.texture.url'\n | 'material.baseColor.texture.textureAssetId'\n | 'material.baseColor.brightness'\n | 'material.baseColor.saturation'\n | 'material.baseColor.contrast'\n | 'material.baseColor.hue'\n | 'material.normal.texture.url'\n | 'material.normal.texture.textureAssetId'\n | 'material.normal.strength'\n | 'material.emission.color'\n | 'material.emission.intensity'\n | 'material.emission.texture.url'\n | 'material.emission.texture.textureAssetId'\n | 'material.emission.maskTexture.url'\n | 'material.emission.maskTexture.textureAssetId'\n | 'material.metallic'\n | 'material.roughness'\n | 'material.metallicRoughness.texture.url'\n | 'material.metallicRoughness.texture.textureAssetId'\n | 'material.occlusion.texture.url'\n | 'material.occlusion.texture.textureAssetId'\n | 'material.occlusion.strength'\n | 'material.alpha.mode'\n | 'material.alpha.opacity'\n | 'material.alpha.cutoff'\n | 'material.alpha.texture.url'\n | 'material.alpha.texture.textureAssetId';\n\nexport type MaterialProp =\n | 'material.albedoColor'\n | 'material.emissiveColor'\n | 'material.metallic'\n | 'material.roughness'\n | 'material.alpha'\n | 'material.alphaCutOff'\n | 'material.transparencyMode'\n | 'material.backFaceCulling'\n | 'material.albedoTexture.url'\n | 'material.normalTexture.url'\n | 'material.normalTexture.level'\n | 'material.metallicTexture.url'\n | 'material.occlusionTexture.url'\n | 'material.emissiveTexture.url'\n | 'material.opacityTexture.url'\n | 'material.pbr.albedoColor'\n | 'material.pbr.baseWeight'\n | 'material.pbr.reflectivityColor'\n | 'material.pbr.microSurface'\n | 'material.pbr.emissiveColor'\n | 'material.pbr.emissiveIntensity'\n | 'material.pbr.ambientColor'\n | 'material.pbr.lightFalloff'\n | 'material.standard.diffuseColor'\n | 'material.standard.specularColor'\n | 'material.standard.specularPower'\n | 'material.standard.emissiveColor'\n | 'material.standard.ambientColor'\n | 'material.standard.useSpecularOverAlpha';\n\nexport type MaterialValue = ColorRGB | number | boolean | string | null;\n\nexport interface ResolveArtistMaterialProfileInput {\n originalProfile?: ArtistMaterialProfile | null;\n materialAssets?: readonly SceneMaterialAssetConfig[] | null;\n binding?: SceneNodeMaterialBindingConfig | null;\n}\n\nexport interface ResolveArtistMaterialProfileResult {\n profile: ArtistMaterialProfile;\n materialAsset: SceneMaterialAssetConfig | null;\n missingMaterialAssetId?: string;\n}\n\nfunction isFiniteNumber(value: unknown): value is number {\n return typeof value === 'number' && Number.isFinite(value);\n}\n\nfunction normalizeColorRGB(value: ColorRGB | undefined): ColorRGB | undefined {\n if (!value || !isFiniteNumber(value.r) || !isFiniteNumber(value.g) || !isFiniteNumber(value.b)) return undefined;\n return { r: value.r, g: value.g, b: value.b };\n}\n\nfunction normalizeMaterialTextureRef(value: ArtistMaterialTextureRef | null | undefined): ArtistMaterialTextureRef | null | undefined {\n if (value === null) return null;\n if (!value) return undefined;\n const url = typeof value.url === 'string' ? value.url.trim() : '';\n const textureAssetId = typeof value.textureAssetId === 'string' ? value.textureAssetId.trim() : '';\n if (!url && !textureAssetId) return undefined;\n return {\n ...(url ? { url } : {}),\n ...(textureAssetId ? { textureAssetId } : {}),\n };\n}\n\nfunction normalizeArtistMaterialAlphaMode(value: unknown): ArtistMaterialAlphaMode | undefined {\n return value === 'opaque' || value === 'mask' || value === 'blend' ? value : undefined;\n}\n\nfunction normalizeArtistMaterialLightingModel(value: unknown): ArtistMaterialLightingModel | undefined {\n return value === 'lit' || value === 'unlit' ? value : undefined;\n}\n\nexport function normalizeSceneMaterialAssetKind(value: unknown): SceneMaterialAssetKind | undefined {\n return value === 'pbr' || value === 'standard' ? value : undefined;\n}\n\nexport function resolveSceneMaterialAssetKind(\n materialAsset: Pick<SceneMaterialAssetConfig, 'materialKind' | 'system'> | null | undefined,\n): SceneMaterialAssetKind {\n return normalizeSceneMaterialAssetKind(materialAsset?.materialKind)\n ?? inferSceneMaterialAssetKindFromSystemPreset(materialAsset?.system?.preset)\n ?? 'pbr';\n}\n\nexport function normalizeSceneMaterialAssetSystemConfig(\n value: SceneMaterialAssetSystemConfig | null | undefined,\n): SceneMaterialAssetSystemConfig | undefined {\n if (!value || typeof value !== 'object') return undefined;\n const preset = value.preset === 'default-pbr' || value.preset === 'default-standard'\n ? value.preset\n : undefined;\n const readonly = value.readonly === true;\n if (!preset && !readonly) return undefined;\n return {\n ...(readonly ? { readonly } : {}),\n ...(preset ? { preset } : {}),\n };\n}\n\nexport function normalizeSceneMaterialAssetOriginConfig(\n value: SceneMaterialAssetOriginConfig | null | undefined,\n): SceneMaterialAssetOriginConfig | undefined {\n if (!value || typeof value !== 'object') return undefined;\n const type = value.type === 'imported'\n || value.type === 'created'\n || value.type === 'duplicated'\n || value.type === 'preset'\n ? value.type\n : undefined;\n if (!type) return undefined;\n const sourceAssetGuid = typeof value.sourceAssetGuid === 'string' ? value.sourceAssetGuid.trim() : '';\n const sourceAssetId = typeof value.sourceAssetId === 'string' ? value.sourceAssetId.trim() : '';\n const sourceSlotId = typeof value.sourceSlotId === 'string' ? value.sourceSlotId.trim() : '';\n const sourceMaterialName = typeof value.sourceMaterialName === 'string' ? value.sourceMaterialName.trim() : '';\n const sourceMaterialAssetId = typeof value.sourceMaterialAssetId === 'string' ? value.sourceMaterialAssetId.trim() : '';\n return {\n type,\n ...(sourceAssetGuid ? { sourceAssetGuid } : {}),\n ...(sourceAssetId ? { sourceAssetId } : {}),\n ...(sourceSlotId ? { sourceSlotId } : {}),\n ...(Number.isInteger(value.sourceMaterialIndex) ? { sourceMaterialIndex: value.sourceMaterialIndex } : {}),\n ...(sourceMaterialName ? { sourceMaterialName } : {}),\n ...(sourceMaterialAssetId ? { sourceMaterialAssetId } : {}),\n };\n}\n\nexport function isReadonlySceneMaterialAsset(\n materialAsset: Pick<SceneMaterialAssetConfig, 'system'> | null | undefined,\n): boolean {\n return materialAsset?.system?.readonly === true;\n}\n\nfunction inferSceneMaterialAssetKindFromSystemPreset(\n preset: unknown,\n): SceneMaterialAssetKind | undefined {\n if (preset === 'default-pbr') return 'pbr';\n if (preset === 'default-standard') return 'standard';\n return undefined;\n}\n\nexport function normalizeArtistMaterialProfile(profile: ArtistMaterialProfile | null | undefined): ArtistMaterialProfile | undefined {\n if (!profile || typeof profile !== 'object') return undefined;\n\n const normalized: ArtistMaterialProfile = {};\n const lightingModel = normalizeArtistMaterialLightingModel(profile.lightingModel);\n if (lightingModel) normalized.lightingModel = lightingModel;\n const baseColor: ArtistBaseColorProfile = {};\n const color = normalizeColorRGB(profile.baseColor?.color);\n if (color) baseColor.color = color;\n const texture = normalizeMaterialTextureRef(profile.baseColor?.texture);\n if (texture !== undefined) baseColor.texture = texture;\n if (isFiniteNumber(profile.baseColor?.brightness)) baseColor.brightness = profile.baseColor.brightness;\n if (isFiniteNumber(profile.baseColor?.saturation)) baseColor.saturation = profile.baseColor.saturation;\n if (isFiniteNumber(profile.baseColor?.contrast)) baseColor.contrast = profile.baseColor.contrast;\n if (isFiniteNumber(profile.baseColor?.hue)) baseColor.hue = profile.baseColor.hue;\n if (Object.keys(baseColor).length > 0) normalized.baseColor = baseColor;\n\n const normal: ArtistNormalProfile = {};\n const normalTexture = normalizeMaterialTextureRef(profile.normal?.texture);\n if (normalTexture !== undefined) normal.texture = normalTexture;\n if (isFiniteNumber(profile.normal?.strength)) normal.strength = profile.normal.strength;\n if (Object.keys(normal).length > 0) normalized.normal = normal;\n\n if (isFiniteNumber(profile.metallic)) normalized.metallic = profile.metallic;\n if (isFiniteNumber(profile.roughness)) normalized.roughness = profile.roughness;\n\n const metallicRoughness: ArtistMetallicRoughnessProfile = {};\n const metallicRoughnessTexture = normalizeMaterialTextureRef(profile.metallicRoughness?.texture);\n if (metallicRoughnessTexture !== undefined) metallicRoughness.texture = metallicRoughnessTexture;\n if (Object.keys(metallicRoughness).length > 0) normalized.metallicRoughness = metallicRoughness;\n\n const occlusion: ArtistOcclusionProfile = {};\n const occlusionTexture = normalizeMaterialTextureRef(profile.occlusion?.texture);\n if (occlusionTexture !== undefined) occlusion.texture = occlusionTexture;\n if (isFiniteNumber(profile.occlusion?.strength)) occlusion.strength = profile.occlusion.strength;\n if (Object.keys(occlusion).length > 0) normalized.occlusion = occlusion;\n\n const emission: ArtistEmissionProfile = {};\n const emissionColor = normalizeColorRGB(profile.emission?.color);\n if (emissionColor) emission.color = emissionColor;\n if (isFiniteNumber(profile.emission?.intensity)) emission.intensity = profile.emission.intensity;\n const emissionTexture = normalizeMaterialTextureRef(profile.emission?.texture);\n if (emissionTexture !== undefined) emission.texture = emissionTexture;\n const maskTexture = normalizeMaterialTextureRef(profile.emission?.maskTexture);\n if (maskTexture !== undefined) emission.maskTexture = maskTexture;\n if (Object.keys(emission).length > 0) normalized.emission = emission;\n\n const alpha: ArtistAlphaProfile = {};\n const alphaMode = normalizeArtistMaterialAlphaMode(profile.alpha?.mode);\n if (alphaMode) alpha.mode = alphaMode;\n if (isFiniteNumber(profile.alpha?.opacity)) alpha.opacity = profile.alpha.opacity;\n if (isFiniteNumber(profile.alpha?.cutoff)) alpha.cutoff = profile.alpha.cutoff;\n const alphaTexture = normalizeMaterialTextureRef(profile.alpha?.texture);\n if (alphaTexture !== undefined) alpha.texture = alphaTexture;\n if (Object.keys(alpha).length > 0) normalized.alpha = alpha;\n\n return Object.keys(normalized).length > 0 ? normalized : undefined;\n}\n\nexport function normalizeSceneMaterialAssetConfig(\n materialAsset: SceneMaterialAssetConfig | null | undefined,\n): SceneMaterialAssetConfig | undefined {\n if (!materialAsset || typeof materialAsset !== 'object') return undefined;\n const id = typeof materialAsset.id === 'string' ? materialAsset.id.trim() : '';\n const guid = typeof materialAsset.guid === 'string' ? materialAsset.guid.trim() : '';\n const name = typeof materialAsset.name === 'string' ? materialAsset.name.trim() : '';\n const profile = normalizeArtistMaterialProfile(materialAsset.profile);\n if (!id || !name || !profile) return undefined;\n const system = normalizeSceneMaterialAssetSystemConfig(materialAsset.system);\n const origin = normalizeSceneMaterialAssetOriginConfig(materialAsset.origin);\n const materialKind = normalizeSceneMaterialAssetKind(materialAsset.materialKind);\n const presetKind = inferSceneMaterialAssetKindFromSystemPreset(system?.preset);\n if (materialKind && presetKind && materialKind !== presetKind) return undefined;\n return {\n id,\n ...(guid ? { guid } : {}),\n name,\n profile,\n ...(materialKind ?? presetKind ? { materialKind: materialKind ?? presetKind } : {}),\n ...(system ? { system } : {}),\n ...(origin ? { origin } : {}),\n };\n}\n\nexport function sceneMaterialGuidToStableToken(guid: string): string {\n return String(guid ?? '').trim().toLowerCase().replace(/[^a-z0-9]+/g, '');\n}\n\nexport function createSceneMaterialAssetId(guid: string): string {\n const token = sceneMaterialGuidToStableToken(guid);\n return `mat_${token || 'material'}`;\n}\n\nexport function mergeArtistMaterialProfiles(\n ...profiles: Array<ArtistMaterialProfile | null | undefined>\n): ArtistMaterialProfile {\n const merged: ArtistMaterialProfile = {};\n for (const profile of profiles) {\n const normalized = normalizeArtistMaterialProfile(profile);\n if (!normalized) continue;\n if (normalized.lightingModel) merged.lightingModel = normalized.lightingModel;\n if (normalized.baseColor) {\n merged.baseColor = {\n ...(merged.baseColor ?? {}),\n ...normalized.baseColor,\n };\n }\n if (normalized.normal) {\n merged.normal = {\n ...(merged.normal ?? {}),\n ...normalized.normal,\n };\n }\n if (normalized.metallic !== undefined) merged.metallic = normalized.metallic;\n if (normalized.roughness !== undefined) merged.roughness = normalized.roughness;\n if (normalized.metallicRoughness) {\n merged.metallicRoughness = {\n ...(merged.metallicRoughness ?? {}),\n ...normalized.metallicRoughness,\n };\n }\n if (normalized.occlusion) {\n merged.occlusion = {\n ...(merged.occlusion ?? {}),\n ...normalized.occlusion,\n };\n }\n if (normalized.emission) {\n merged.emission = {\n ...(merged.emission ?? {}),\n ...normalized.emission,\n };\n }\n if (normalized.alpha) {\n merged.alpha = {\n ...(merged.alpha ?? {}),\n ...normalized.alpha,\n };\n }\n }\n return normalizedOrEmpty(merged);\n}\n\nexport function findSceneMaterialAsset(\n materialAssets: readonly SceneMaterialAssetConfig[] | null | undefined,\n materialAssetId: string | null | undefined,\n): SceneMaterialAssetConfig | null {\n const id = typeof materialAssetId === 'string' ? materialAssetId.trim() : '';\n if (!id || !materialAssets) return null;\n return materialAssets.find(asset => asset.id === id) ?? null;\n}\n\nexport function resolveArtistMaterialProfile(\n input: ResolveArtistMaterialProfileInput,\n): ResolveArtistMaterialProfileResult {\n const materialAssetId = typeof input.binding?.materialAssetId === 'string'\n ? input.binding.materialAssetId.trim()\n : '';\n const materialAsset = findSceneMaterialAsset(input.materialAssets, materialAssetId);\n const profile = mergeArtistMaterialProfiles(\n input.originalProfile,\n materialAsset?.profile,\n input.binding?.override,\n );\n return {\n profile,\n materialAsset,\n ...(materialAssetId && !materialAsset ? { missingMaterialAssetId: materialAssetId } : {}),\n };\n}\n\nfunction normalizedOrEmpty(profile: ArtistMaterialProfile): ArtistMaterialProfile {\n return normalizeArtistMaterialProfile(profile) ?? {};\n}\n\nexport type OutlineProp =\n | 'outline.renderOutline'\n | 'outline.outlineWidth'\n | 'outline.outlineColor';\n\nexport type OutlineValue = ColorRGB | number | boolean | null;\n\nexport interface EditorDocumentExport {\n sceneJsonText: string;\n expectedVersion?: number;\n version?: number;\n}\n\nexport interface EditorDocumentCommitArgs {\n version?: number;\n updatedAt?: string;\n sceneJsonText?: string;\n scenePath?: string;\n}\n\nexport interface EditorDuplicateResult {\n rootNode?: unknown;\n}\n\nexport type EditorTool = 'pick' | 'move' | 'rotate' | 'scale';\nexport type EditorMode = 'edit' | 'play';\nexport type RuntimeOwner = 'project' | 'unknown';\nexport type SelectionSource = 'viewport' | 'tree' | 'programmatic' | 'unknown';\n\nexport interface EditorRuntimeApi {\n active?: boolean;\n init(scene: unknown): void;\n showInspector(): Promise<void> | void;\n hideInspector(): void;\n setTool?(tool: EditorTool): void;\n getSelectedEntity?(): unknown | null;\n selectEntity?(entity: unknown | null, syncInspector?: boolean): void;\n duplicateSelected?(): Promise<boolean> | boolean;\n undo(): boolean;\n redo(): boolean;\n exportDocument(): EditorDocumentExport | null;\n commitSavedDocument(args: EditorDocumentCommitArgs): boolean;\n}\n\nexport interface EditRuntimeApi {\n active?: boolean;\n enter(): Promise<void>;\n exit(save?: boolean): Promise<void>;\n _focusSelected(): void;\n isViewportNavigationActive(): boolean;\n}\n\nexport interface EditorRuntime {\n owner?: RuntimeOwner;\n Editor: EditorRuntimeApi;\n Edit: EditRuntimeApi;\n handleCommand(name: string, params: Record<string, unknown>): Promise<void> | void;\n}\n\nexport interface SelectionController {\n createV2SelectionBridge?(v2: unknown): unknown;\n bindSelectionSourceTracking?(): void;\n unbindSelectionSourceTracking?(): void;\n enablePicking?(): void;\n reset?(): void;\n getSelectedEntity?(): unknown | null;\n getSelectedEntities?(): unknown[];\n selectEntity?(\n entity: unknown | null,\n syncInspector?: boolean,\n options?: { additive?: boolean; toggle?: boolean },\n ): void;\n}\n\nexport type EditorRuntimeChange =\n | {\n kind: 'transform';\n binding: PersistentBindingSnapshot;\n prop: RuntimeProp;\n value: Position3D | Scale3D | Rotation3D;\n rootNode?: unknown;\n selectedRootNode?: unknown | null;\n }\n | {\n kind: 'material';\n binding: PersistentBindingSnapshot;\n prop: MaterialProp;\n value: MaterialValue;\n ownerNodePath: string;\n rootNode?: unknown;\n selectedRootNode?: unknown | null;\n }\n | {\n kind: 'outline';\n binding: PersistentBindingSnapshot;\n prop: OutlineProp;\n value: OutlineValue;\n ownerNodePath: string;\n rootNode?: unknown;\n selectedRootNode?: unknown | null;\n }\n | {\n kind: 'selection';\n selectedRootNode?: unknown | null;\n };\n\nexport interface EditorPluginContext {\n scene: unknown | null;\n game: unknown | null;\n}\n\nexport interface EditorPlugin {\n id: string;\n normalizeSelection?(args: {\n source: SelectionSource;\n rawEntity: unknown;\n context: EditorPluginContext;\n }): unknown | null;\n resolvePersistentBinding?(node: unknown, context: EditorPluginContext): PersistentBinding | null;\n applyDocumentChange?(args: {\n binding: PersistentBinding;\n node: unknown;\n prop: string;\n context: EditorPluginContext;\n oldValue?: unknown;\n newValue?: unknown;\n }): boolean;\n duplicateSelection?(args: {\n binding: PersistentBinding;\n node: unknown;\n context: EditorPluginContext;\n }): EditorDuplicateResult | Promise<EditorDuplicateResult | null> | null;\n isDirty?(): boolean;\n canUndo?(): boolean;\n canRedo?(): boolean;\n undoDocumentChange?(context: EditorPluginContext): EditorRuntimeChange | null;\n redoDocumentChange?(context: EditorPluginContext): EditorRuntimeChange | null;\n exportDocument?(): EditorDocumentExport | null;\n commitSavedDocument?(args: EditorDocumentCommitArgs, context: EditorPluginContext): boolean;\n}\n\nexport interface EditorMessenger {\n event?(eventName: string, payload: Record<string, unknown>): void;\n send?(type: string, payload: Record<string, unknown>): void;\n}\n\nexport interface EditorBridgeLike {\n registerEditorPlugin?: (plugin: EditorPlugin) => void;\n registerEditorRuntime?: (runtime: EditorRuntime) => void;\n messenger?: EditorMessenger;\n editor?: unknown;\n}\n\nexport const EDITOR_COMMAND_NAME = {\n MODE_CHANGE: 'mode.change',\n UNDO: 'history.undo',\n REDO: 'history.redo',\n DOCUMENT_EXPORT: 'document.export',\n DOCUMENT_COMMIT: 'document.commit',\n INSPECTOR_FLUSH: 'inspector.flush',\n ASSET_REGISTRATION_PLAN: 'asset.registration.plan',\n ASSET_UNREGISTRATION_PLAN: 'asset.unregistration.plan',\n ASSET_LIBRARY_REFRESH: 'asset.library.refresh',\n ASSET_IMPORT: 'asset.import',\n EDITOR_ASSET_PLACE: 'editor.asset.place',\n ASSET_REMOVE: 'asset.remove',\n SCENE_NODE_CREATE: 'scene.node.create',\n SCENE_NODE_PATCH: 'scene.node.patch',\n SCENE_NODE_REMOVE: 'scene.node.remove',\n SELECTION_DUPLICATE: 'selection.duplicate',\n} as const;\n\nexport type EditorCommandName = typeof EDITOR_COMMAND_NAME[keyof typeof EDITOR_COMMAND_NAME];\n\nexport const EDITOR_EVENT_NAME = {\n DOCUMENT_EXPORTED: 'document.exported',\n UNDO_RESULT: 'history.undo.result',\n REDO_RESULT: 'history.redo.result',\n INSPECTOR_FLUSHED: 'inspector.flushed',\n ASSET_REGISTRATION_PLANNED: 'asset.registration.planned',\n ASSET_REGISTRATION_FAILED: 'asset.registration.failed',\n ASSET_UNREGISTRATION_PLANNED: 'asset.unregistration.planned',\n ASSET_UNREGISTRATION_FAILED: 'asset.unregistration.failed',\n ASSET_LIBRARY_REFRESHED: 'asset.library.refreshed',\n ASSET_IMPORT_RESULT: 'asset.import.result',\n EDITOR_ASSET_PLACE_RESULT: 'editor.asset.place.result',\n ASSET_REMOVE_RESULT: 'asset.remove.result',\n SCENE_NODE_CREATE_RESULT: 'scene.node.create.result',\n SCENE_NODE_PATCH_RESULT: 'scene.node.patch.result',\n SCENE_NODE_REMOVE_RESULT: 'scene.node.remove.result',\n MODE_READY: 'mode.ready',\n SELECTION_DUPLICATE_RESULT: 'selection.duplicate.result',\n} as const;\n\nexport type EditorEventName = typeof EDITOR_EVENT_NAME[keyof typeof EDITOR_EVENT_NAME];\n\nexport const EDITOR_POST_MESSAGE = {\n CONTEXT_CHANGE: 'context:change',\n} as const;\n\nexport type EditorPostMessageType = typeof EDITOR_POST_MESSAGE[keyof typeof EDITOR_POST_MESSAGE];\n\nexport const EDITOR_CAPABILITY = {\n SCENE_TREE: 'sceneTree',\n ASSET_IMPORT: 'assetImport',\n ASSET_REGISTRY_WRITE: 'assetRegistryWrite',\n TRANSFORM_GIZMO: 'transformGizmo',\n MATERIAL_EDITING: 'materialEditing',\n OUTLINE_EDITING: 'outlineEditing',\n DOCUMENT_EXPORT: 'documentExport',\n DOCUMENT_COMMIT: 'documentCommit',\n UNDO_REDO: 'undoRedo',\n INSPECTOR: 'inspector',\n} as const;\n\nexport type EditorCapabilityName = typeof EDITOR_CAPABILITY[keyof typeof EDITOR_CAPABILITY];\nexport type EditorCapabilities = Partial<Record<EditorCapabilityName, boolean>>;\n\n// Migration aliases matching the current project-side editor-package type names.\nexport type ProjectPersistentBinding = PersistentBinding;\nexport type ProjectPersistentBindingSnapshot = PersistentBindingSnapshot;\nexport type ProjectRuntimeProp = RuntimeProp;\nexport type ProjectMaterialRuntimeKind = MaterialRuntimeKind;\nexport type ProjectMaterialProp = MaterialProp;\nexport type ProjectMaterialValue = MaterialValue;\nexport type ProjectOutlineProp = OutlineProp;\nexport type ProjectOutlineValue = OutlineValue;\nexport type ProjectRotation3D = Rotation3D;\nexport type ProjectEditorDocumentExport = EditorDocumentExport;\nexport type ProjectEditorDocumentCommitArgs = EditorDocumentCommitArgs;\nexport type ProjectEditorDuplicateResult = EditorDuplicateResult;\nexport type ProjectEditorRuntimeApi = EditorRuntimeApi;\nexport type ProjectEditRuntimeApi = EditRuntimeApi;\nexport type ProjectEditorRuntime = EditorRuntime;\nexport type ProjectSelectionController = SelectionController;\nexport type ProjectEditorRuntimeChange = EditorRuntimeChange;\nexport type ProjectEditorPluginContext = EditorPluginContext;\nexport type ProjectEditorPlugin = EditorPlugin;\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fps-games/editor-protocol",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1-beta.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Shared protocol types for fps-game-editor runtimes, adapters, and Forge Play bridges.",
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@fps-games/playable-contracts": "0.2.
|
|
17
|
+
"@fps-games/playable-contracts": "0.2.1-beta.1"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-metadata-node.d.ts","sourceRoot":"","sources":["../src/package-metadata-node.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package-metadata-node.d.ts","sourceRoot":"","sources":["../src/package-metadata-node.ts"],"names":[],"mappings":"AAIA,OAAO,EAGL,KAAK,kBAAkB,EAExB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,YAAY,CAAC;AAElE,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;CAClC;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1C;AAED,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,SAAS,kBAAkB,EAAE,CAAC;CACjD;AAED,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,OAAO,EAAE,SAAS,+BAA+B,EAAE,CAAC;IAC7D,QAAQ,CAAC,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1D,QAAQ,CAAC,cAAc,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,uBAAuB,EAAE,oBAAoB,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;CAC7H;AAED,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,mCAAmC,GAC3C,SAAS,+BAA+B,EAAE,CAiB5C;AAED,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,qCAAqC,GAC7C,kCAAkC,CAsCpC;AAED,wBAAgB,gCAAgC,CAC9C,mBAAmB,EAAE,MAAM,EAC3B,WAAW,EAAE,OAAO,GACnB,+BAA+B,CAuBjC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { existsSync, readFileSync, readdirSync } from 'node:fs';
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { resolve } from 'node:path';
|
|
4
|
+
import { fileURLToPath } from 'node:url';
|
|
4
5
|
import { defineFpsPluginReference, defineFpsPluginManifest, } from '@fps-games/plugin-api';
|
|
5
6
|
export function readFpsToolingPluginPackages(options) {
|
|
6
7
|
const projectRoot = resolve(options.projectRoot);
|
|
@@ -97,6 +98,10 @@ function resolvePluginPackageJson(packageName, projectRoot) {
|
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
100
|
}
|
|
101
|
+
const toolingPackageRoot = fileURLToPath(new URL('../', import.meta.url));
|
|
102
|
+
const bundledCandidate = resolve(toolingPackageRoot, '..', '..', packageName, 'package.json');
|
|
103
|
+
if (existsSync(bundledCandidate))
|
|
104
|
+
return bundledCandidate;
|
|
100
105
|
const resolvers = [
|
|
101
106
|
createRequire(resolve(projectRoot, 'package.json')),
|
|
102
107
|
createRequire(import.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,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AAC3E,CAAC;AAED,SAAS,qBAAqB,CAAC,KAAc,EAAE,KAAa;IAC1D,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3D,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,6BAA6B,CAAC,CAAC;IACzD,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC;AACtB,CAAC;AAED,SAAS,QAAQ,CAAC,KAAc;IAC9B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9E,CAAC;AAED,SAAS,WAAW,CAAC,KAAc;IACjC,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAChE,CAAC","sourcesContent":["import { existsSync, readFileSync, readdirSync } from 'node:fs';\nimport { createRequire } from 'node:module';\nimport { resolve } from 'node:path';\nimport {\n defineFpsPluginReference,\n defineFpsPluginManifest,\n type FpsPluginReference,\n type FpsPluginManifest,\n} from '@fps-games/plugin-api';\nimport type { FpsToolingPluginPackageMetadata } from './index.js';\n\nexport interface FpsPluginPackageJson {\n readonly name?: unknown;\n readonly version?: unknown;\n readonly exports?: unknown;\n readonly fpsGamePlugin?: unknown;\n}\n\nexport interface ReadFpsToolingPluginPackagesOptions {\n readonly projectRoot: string;\n readonly packageNames: readonly string[];\n}\n\nexport interface ReadFpsToolingPluginReferencesOptions {\n readonly projectRoot: string;\n readonly plugins: readonly FpsPluginReference[];\n}\n\nexport interface FpsConfiguredToolingPluginPackages {\n readonly plugins: readonly FpsToolingPluginPackageMetadata[];\n readonly pluginConfigs: Readonly<Record<string, unknown>>;\n readonly hostServiceIds: Readonly<Partial<Record<import('@fps-games/plugin-api').FpsPluginEnvironment, readonly string[]>>>;\n}\n\nexport function readFpsToolingPluginPackages(\n options: ReadFpsToolingPluginPackagesOptions,\n): readonly FpsToolingPluginPackageMetadata[] {\n const projectRoot = resolve(options.projectRoot);\n return Object.freeze(options.packageNames.map(packageName => {\n const packageJsonPath = resolvePluginPackageJson(packageName, projectRoot);\n let parsed: unknown;\n try {\n parsed = JSON.parse(readFileSync(packageJsonPath, 'utf8'));\n } catch (error) {\n throw new Error(\n `Unable to read Plugin package metadata: ${packageName} (${packageJsonPath}): ${formatError(error)}`,\n );\n }\n return Object.freeze({\n ...parseFpsToolingPluginPackageJson(packageName, parsed),\n packageJsonPath,\n });\n }));\n}\n\nexport function readFpsToolingPluginReferences(\n options: ReadFpsToolingPluginReferencesOptions,\n): FpsConfiguredToolingPluginPackages {\n const pluginReferences = options.plugins.map(plugin => defineFpsPluginReference(plugin));\n const packageNames = pluginReferences.map(plugin => plugin.packageName);\n if (new Set(packageNames).size !== packageNames.length) {\n throw new Error('Project Plugin references must use unique package names.');\n }\n const packages = readFpsToolingPluginPackages({\n projectRoot: options.projectRoot,\n packageNames,\n });\n const references = new Map(pluginReferences.map(plugin => [plugin.packageName, plugin]));\n for (const pluginPackage of packages) {\n const reference = references.get(pluginPackage.packageName)!;\n if (reference.pluginId !== pluginPackage.manifest.id) {\n throw new Error(\n `Project Plugin reference does not match package manifest for ${pluginPackage.packageName}: ${reference.pluginId} != ${pluginPackage.manifest.id}`,\n );\n }\n }\n const pluginConfigs = Object.freeze(Object.fromEntries(pluginReferences.map(reference => [\n reference.pluginId,\n reference.config,\n ])));\n const hostServiceIds: Partial<Record<import('@fps-games/plugin-api').FpsPluginEnvironment, string[]>> = {};\n for (const reference of pluginReferences) {\n for (const [environment, serviceIds] of Object.entries(reference.hostServices ?? {})) {\n const target = hostServiceIds[environment as import('@fps-games/plugin-api').FpsPluginEnvironment] ??= [];\n target.push(...(serviceIds ?? []));\n }\n }\n return Object.freeze({\n plugins: packages,\n pluginConfigs,\n hostServiceIds: Object.freeze(Object.fromEntries(Object.entries(hostServiceIds).map(([environment, ids]) => [\n environment,\n Object.freeze([...new Set(ids)]),\n ]))),\n });\n}\n\nexport function parseFpsToolingPluginPackageJson(\n expectedPackageName: string,\n packageJson: unknown,\n): FpsToolingPluginPackageMetadata {\n if (!isRecord(packageJson)) {\n throw new Error(`Plugin package metadata must be a JSON object: ${expectedPackageName}`);\n }\n const packageName = requireNonEmptyString(packageJson.name, `${expectedPackageName} package name`);\n if (packageName !== expectedPackageName) {\n throw new Error(`Resolved Plugin package name mismatch: expected ${expectedPackageName}, received ${packageName}`);\n }\n const packageVersion = requireNonEmptyString(packageJson.version, `${packageName} package version`);\n if (packageJson.fpsGamePlugin === undefined) {\n throw new Error(`Plugin package is missing package.json#fpsGamePlugin: ${packageName}`);\n }\n const manifest = defineFpsPluginManifest(packageJson.fpsGamePlugin as FpsPluginManifest);\n if (packageVersion !== manifest.version) {\n throw new Error(`Plugin package and manifest versions must match: ${packageName} ${packageVersion} != ${manifest.version}`);\n }\n const exportSubpaths = readPackageExportSubpaths(packageName, packageJson.exports);\n return Object.freeze({\n packageName,\n packageVersion,\n exportSubpaths: Object.freeze(exportSubpaths),\n manifest,\n });\n}\n\nfunction resolvePluginPackageJson(packageName: string, projectRoot: string): string {\n const workspacePackagesRoot = resolve(projectRoot, 'packages');\n if (existsSync(workspacePackagesRoot)) {\n for (const directory of readdirSync(workspacePackagesRoot).sort()) {\n const candidate = resolve(workspacePackagesRoot, directory, 'package.json');\n if (!existsSync(candidate)) continue;\n try {\n if (JSON.parse(readFileSync(candidate, 'utf8')).name === packageName) return candidate;\n } catch {\n // The normal metadata reader reports malformed selected package files.\n }\n }\n }\n const resolvers = [\n createRequire(resolve(projectRoot, 'package.json')),\n createRequire(import.meta.url),\n ];\n for (const resolver of resolvers) {\n for (const searchPath of resolver.resolve.paths(packageName) ?? []) {\n const candidate = resolve(searchPath, packageName, 'package.json');\n if (existsSync(candidate)) return candidate;\n }\n }\n throw new Error(`Plugin package must be installed from ${projectRoot}: ${packageName}`);\n}\n\nfunction readPackageExportSubpaths(packageName: string, value: unknown): readonly string[] {\n if (!isRecord(value)) return ['.'];\n const keys = Object.keys(value);\n const subpathKeys = keys.filter(key => key === '.' || key.startsWith('./'));\n const conditionKeys = keys.filter(key => key !== '.' && !key.startsWith('./'));\n if (subpathKeys.length > 0 && conditionKeys.length > 0) {\n throw new Error(`Plugin package exports must not mix subpaths and conditions: ${packageName}`);\n }\n return subpathKeys.length > 0 ? [...new Set(subpathKeys)].sort() : ['.'];\n}\n\nfunction requireNonEmptyString(value: unknown, label: string): string {\n if (typeof value !== 'string' || value.trim().length === 0) {\n throw new Error(`${label} must be a non-empty string`);\n }\n return value.trim();\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\n\nfunction formatError(error: unknown): string {\n return error instanceof Error ? error.message : String(error);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"package-metadata-node.js","sourceRoot":"","sources":["../src/package-metadata-node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,wBAAwB,EACxB,uBAAuB,GAGxB,MAAM,uBAAuB,CAAC;AA0B/B,MAAM,UAAU,4BAA4B,CAC1C,OAA4C;IAE5C,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IACjD,OAAO,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE;QAC1D,MAAM,eAAe,GAAG,wBAAwB,CAAC,WAAW,EAAE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,IAAI,EAAE,CAAC;AACtB,CAAC;AAED,SAAS,QAAQ,CAAC,KAAc;IAC9B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9E,CAAC;AAED,SAAS,WAAW,CAAC,KAAc;IACjC,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAChE,CAAC","sourcesContent":["import { existsSync, readFileSync, readdirSync } from 'node:fs';\nimport { createRequire } from 'node:module';\nimport { resolve } from 'node:path';\nimport { fileURLToPath } from 'node:url';\nimport {\n defineFpsPluginReference,\n defineFpsPluginManifest,\n type FpsPluginReference,\n type FpsPluginManifest,\n} from '@fps-games/plugin-api';\nimport type { FpsToolingPluginPackageMetadata } from './index.js';\n\nexport interface FpsPluginPackageJson {\n readonly name?: unknown;\n readonly version?: unknown;\n readonly exports?: unknown;\n readonly fpsGamePlugin?: unknown;\n}\n\nexport interface ReadFpsToolingPluginPackagesOptions {\n readonly projectRoot: string;\n readonly packageNames: readonly string[];\n}\n\nexport interface ReadFpsToolingPluginReferencesOptions {\n readonly projectRoot: string;\n readonly plugins: readonly FpsPluginReference[];\n}\n\nexport interface FpsConfiguredToolingPluginPackages {\n readonly plugins: readonly FpsToolingPluginPackageMetadata[];\n readonly pluginConfigs: Readonly<Record<string, unknown>>;\n readonly hostServiceIds: Readonly<Partial<Record<import('@fps-games/plugin-api').FpsPluginEnvironment, readonly string[]>>>;\n}\n\nexport function readFpsToolingPluginPackages(\n options: ReadFpsToolingPluginPackagesOptions,\n): readonly FpsToolingPluginPackageMetadata[] {\n const projectRoot = resolve(options.projectRoot);\n return Object.freeze(options.packageNames.map(packageName => {\n const packageJsonPath = resolvePluginPackageJson(packageName, projectRoot);\n let parsed: unknown;\n try {\n parsed = JSON.parse(readFileSync(packageJsonPath, 'utf8'));\n } catch (error) {\n throw new Error(\n `Unable to read Plugin package metadata: ${packageName} (${packageJsonPath}): ${formatError(error)}`,\n );\n }\n return Object.freeze({\n ...parseFpsToolingPluginPackageJson(packageName, parsed),\n packageJsonPath,\n });\n }));\n}\n\nexport function readFpsToolingPluginReferences(\n options: ReadFpsToolingPluginReferencesOptions,\n): FpsConfiguredToolingPluginPackages {\n const pluginReferences = options.plugins.map(plugin => defineFpsPluginReference(plugin));\n const packageNames = pluginReferences.map(plugin => plugin.packageName);\n if (new Set(packageNames).size !== packageNames.length) {\n throw new Error('Project Plugin references must use unique package names.');\n }\n const packages = readFpsToolingPluginPackages({\n projectRoot: options.projectRoot,\n packageNames,\n });\n const references = new Map(pluginReferences.map(plugin => [plugin.packageName, plugin]));\n for (const pluginPackage of packages) {\n const reference = references.get(pluginPackage.packageName)!;\n if (reference.pluginId !== pluginPackage.manifest.id) {\n throw new Error(\n `Project Plugin reference does not match package manifest for ${pluginPackage.packageName}: ${reference.pluginId} != ${pluginPackage.manifest.id}`,\n );\n }\n }\n const pluginConfigs = Object.freeze(Object.fromEntries(pluginReferences.map(reference => [\n reference.pluginId,\n reference.config,\n ])));\n const hostServiceIds: Partial<Record<import('@fps-games/plugin-api').FpsPluginEnvironment, string[]>> = {};\n for (const reference of pluginReferences) {\n for (const [environment, serviceIds] of Object.entries(reference.hostServices ?? {})) {\n const target = hostServiceIds[environment as import('@fps-games/plugin-api').FpsPluginEnvironment] ??= [];\n target.push(...(serviceIds ?? []));\n }\n }\n return Object.freeze({\n plugins: packages,\n pluginConfigs,\n hostServiceIds: Object.freeze(Object.fromEntries(Object.entries(hostServiceIds).map(([environment, ids]) => [\n environment,\n Object.freeze([...new Set(ids)]),\n ]))),\n });\n}\n\nexport function parseFpsToolingPluginPackageJson(\n expectedPackageName: string,\n packageJson: unknown,\n): FpsToolingPluginPackageMetadata {\n if (!isRecord(packageJson)) {\n throw new Error(`Plugin package metadata must be a JSON object: ${expectedPackageName}`);\n }\n const packageName = requireNonEmptyString(packageJson.name, `${expectedPackageName} package name`);\n if (packageName !== expectedPackageName) {\n throw new Error(`Resolved Plugin package name mismatch: expected ${expectedPackageName}, received ${packageName}`);\n }\n const packageVersion = requireNonEmptyString(packageJson.version, `${packageName} package version`);\n if (packageJson.fpsGamePlugin === undefined) {\n throw new Error(`Plugin package is missing package.json#fpsGamePlugin: ${packageName}`);\n }\n const manifest = defineFpsPluginManifest(packageJson.fpsGamePlugin as FpsPluginManifest);\n if (packageVersion !== manifest.version) {\n throw new Error(`Plugin package and manifest versions must match: ${packageName} ${packageVersion} != ${manifest.version}`);\n }\n const exportSubpaths = readPackageExportSubpaths(packageName, packageJson.exports);\n return Object.freeze({\n packageName,\n packageVersion,\n exportSubpaths: Object.freeze(exportSubpaths),\n manifest,\n });\n}\n\nfunction resolvePluginPackageJson(packageName: string, projectRoot: string): string {\n const workspacePackagesRoot = resolve(projectRoot, 'packages');\n if (existsSync(workspacePackagesRoot)) {\n for (const directory of readdirSync(workspacePackagesRoot).sort()) {\n const candidate = resolve(workspacePackagesRoot, directory, 'package.json');\n if (!existsSync(candidate)) continue;\n try {\n if (JSON.parse(readFileSync(candidate, 'utf8')).name === packageName) return candidate;\n } catch {\n // The normal metadata reader reports malformed selected package files.\n }\n }\n }\n const toolingPackageRoot = fileURLToPath(new URL('../', import.meta.url));\n const bundledCandidate = resolve(toolingPackageRoot, '..', '..', packageName, 'package.json');\n if (existsSync(bundledCandidate)) return bundledCandidate;\n const resolvers = [\n createRequire(resolve(projectRoot, 'package.json')),\n createRequire(import.meta.url),\n ];\n for (const resolver of resolvers) {\n for (const searchPath of resolver.resolve.paths(packageName) ?? []) {\n const candidate = resolve(searchPath, packageName, 'package.json');\n if (existsSync(candidate)) return candidate;\n }\n }\n throw new Error(`Plugin package must be installed from ${projectRoot}: ${packageName}`);\n}\n\nfunction readPackageExportSubpaths(packageName: string, value: unknown): readonly string[] {\n if (!isRecord(value)) return ['.'];\n const keys = Object.keys(value);\n const subpathKeys = keys.filter(key => key === '.' || key.startsWith('./'));\n const conditionKeys = keys.filter(key => key !== '.' && !key.startsWith('./'));\n if (subpathKeys.length > 0 && conditionKeys.length > 0) {\n throw new Error(`Plugin package exports must not mix subpaths and conditions: ${packageName}`);\n }\n return subpathKeys.length > 0 ? [...new Set(subpathKeys)].sort() : ['.'];\n}\n\nfunction requireNonEmptyString(value: unknown, label: string): string {\n if (typeof value !== 'string' || value.trim().length === 0) {\n throw new Error(`${label} must be a non-empty string`);\n }\n return value.trim();\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\n\nfunction formatError(error: unknown): string {\n return error instanceof Error ? error.message : String(error);\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../src/vite.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../src/vite.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAa,MAAM,EAA8B,MAAM,MAAM,CAAC;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAKL,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACzC,MAAM,YAAY,CAAC;AACpB,OAAO,EAGL,KAAK,mCAAmC,EACzC,MAAM,4BAA4B,CAAC;AAIpC,MAAM,WAAW,kCAAmC,SAAQ,mCAAmC;CAAG;AAElG,MAAM,WAAW,yCACf,SAAQ,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC,EAC1D,mCAAmC;CAAG;AAE1C,MAAM,WAAW,2BAA4B,SAAQ,MAAM;IACzD,QAAQ,CAAC,aAAa,EAAE,4BAA4B,CAAC;CACtD;AAED,MAAM,WAAW,4CACf,SAAQ,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC;IAC5D,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,SAAS,kBAAkB,EAAE,CAAC;CACjD;AAED,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,kCAAkC,GAC1C,2BAA2B,CA2C7B;AA2LD,wBAAgB,wCAAwC,CACtD,OAAO,EAAE,yCAAyC,GACjD,2BAA2B,CAO7B;AAED,wBAAgB,2CAA2C,CACzD,OAAO,EAAE,4CAA4C,GACpD,2BAA2B,CAQ7B"}
|