@fps-games/editor 0.2.0-beta.4 → 0.2.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-bridge/capabilities/editor-state.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/editor-state.js +12 -6
- package/dist/agent-bridge/capabilities/editor-state.js.map +1 -1
- package/dist/agent-bridge/capabilities/hierarchy.d.ts +4 -0
- package/dist/agent-bridge/capabilities/hierarchy.d.ts.map +1 -0
- package/dist/agent-bridge/capabilities/hierarchy.js +209 -0
- package/dist/agent-bridge/capabilities/hierarchy.js.map +1 -0
- package/dist/agent-bridge/capabilities/prefabs.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/prefabs.js +208 -73
- package/dist/agent-bridge/capabilities/prefabs.js.map +1 -1
- package/dist/agent-bridge/capabilities/scene-objects.d.ts +3 -4
- package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/scene-objects.js +24 -23
- package/dist/agent-bridge/capabilities/scene-objects.js.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.js +829 -66
- package/dist/agent-bridge/capabilities/shadows.js.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.js +3 -1
- package/dist/agent-bridge/capabilities/ui-regions.js.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.js +22 -9
- package/dist/agent-bridge/capabilities/viewport.js.map +1 -1
- package/dist/agent-bridge/capability-sources.d.ts.map +1 -1
- package/dist/agent-bridge/capability-sources.js +2 -0
- package/dist/agent-bridge/capability-sources.js.map +1 -1
- package/dist/agent-bridge/register.d.ts.map +1 -1
- package/dist/agent-bridge/register.js +194 -0
- package/dist/agent-bridge/register.js.map +1 -1
- package/dist/agent-bridge/shared.d.ts +231 -11
- package/dist/agent-bridge/shared.d.ts.map +1 -1
- package/dist/agent-bridge/shared.js +162 -20
- package/dist/agent-bridge/shared.js.map +1 -1
- package/dist/agent-bridge/source-types.d.ts +17 -1
- package/dist/agent-bridge/source-types.d.ts.map +1 -1
- package/dist/agent-bridge/source-types.js.map +1 -1
- package/dist/build-info.json +57 -42
- package/dist/index.d.ts +7 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/internal/babylon-preview-engine.d.ts +3 -0
- package/dist/internal/babylon-preview-engine.d.ts.map +1 -0
- package/dist/internal/babylon-preview-engine.js +11 -0
- package/dist/internal/babylon-preview-engine.js.map +1 -0
- package/dist/internal/product-local-editor-cleanup.d.ts +5 -0
- package/dist/internal/product-local-editor-cleanup.d.ts.map +1 -0
- package/dist/internal/product-local-editor-cleanup.js +20 -0
- package/dist/internal/product-local-editor-cleanup.js.map +1 -0
- package/dist/local-editor-agent-actions.d.ts +2 -4
- package/dist/local-editor-agent-actions.d.ts.map +1 -1
- package/dist/local-editor-agent-actions.js +56 -32
- package/dist/local-editor-agent-actions.js.map +1 -1
- package/dist/local-editor-agent-context.d.ts +5 -5
- package/dist/local-editor-agent-context.d.ts.map +1 -1
- package/dist/local-editor-agent-context.js.map +1 -1
- package/dist/local-editor-harness.d.ts +340 -35
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +3834 -1321
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-marker-graph.d.ts +15 -15
- package/dist/local-editor-marker-graph.d.ts.map +1 -1
- package/dist/local-editor-marker-graph.js +3 -0
- package/dist/local-editor-marker-graph.js.map +1 -1
- package/dist/local-editor-performance-stats.d.ts +3 -2
- package/dist/local-editor-performance-stats.d.ts.map +1 -1
- package/dist/local-editor-performance-stats.js.map +1 -1
- package/dist/local-editor-prefab-stage-transaction.d.ts +19 -0
- package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -0
- package/dist/local-editor-prefab-stage-transaction.js +45 -0
- package/dist/local-editor-prefab-stage-transaction.js.map +1 -0
- package/dist/local-editor-scene-view-interaction-runtime.d.ts +3 -1
- package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
- package/dist/local-editor-scene-view-interaction-runtime.js +24 -0
- package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
- package/dist/local-editor-tools.d.ts +18 -0
- package/dist/local-editor-tools.d.ts.map +1 -0
- package/dist/local-editor-tools.js +53 -0
- package/dist/local-editor-tools.js.map +1 -0
- package/dist/playable-babylon-rendering.d.ts +9 -0
- package/dist/playable-babylon-rendering.d.ts.map +1 -1
- package/dist/playable-babylon-rendering.js +162 -6
- package/dist/playable-babylon-rendering.js.map +1 -1
- package/dist/playable-local-editor-entry.d.ts +68 -0
- package/dist/playable-local-editor-entry.d.ts.map +1 -0
- package/dist/playable-local-editor-entry.js +424 -0
- package/dist/playable-local-editor-entry.js.map +1 -0
- package/dist/playable-local-editor-host.d.ts +51 -29
- package/dist/playable-local-editor-host.d.ts.map +1 -1
- package/dist/playable-local-editor-host.js +23 -11
- package/dist/playable-local-editor-host.js.map +1 -1
- package/dist/playable-product-local-editor.d.ts +10 -12
- package/dist/playable-product-local-editor.d.ts.map +1 -1
- package/dist/playable-product-local-editor.js +178 -85
- package/dist/playable-product-local-editor.js.map +1 -1
- package/dist/playable-product-projection-preview.d.ts +4 -1
- package/dist/playable-product-projection-preview.d.ts.map +1 -1
- package/dist/playable-product-projection-preview.js +122 -5
- package/dist/playable-product-projection-preview.js.map +1 -1
- package/dist/playable-product-rendering.d.ts +12 -0
- package/dist/playable-product-rendering.d.ts.map +1 -1
- package/dist/playable-product-rendering.js +128 -6
- package/dist/playable-product-rendering.js.map +1 -1
- package/dist/playable-product-scene-capabilities.d.ts +24 -7
- package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
- package/dist/playable-product-scene-capabilities.js +172 -15
- package/dist/playable-product-scene-capabilities.js.map +1 -1
- package/dist/playable-project-mode.d.ts +17 -0
- package/dist/playable-project-mode.d.ts.map +1 -0
- package/dist/playable-project-mode.js +2 -0
- package/dist/playable-project-mode.js.map +1 -0
- package/dist/playable-runtime-babylon.d.ts +3 -6
- package/dist/playable-runtime-babylon.d.ts.map +1 -1
- package/dist/playable-runtime-babylon.js +1 -5
- package/dist/playable-runtime-babylon.js.map +1 -1
- package/dist/playable-sdk.d.ts +16 -9
- package/dist/playable-sdk.d.ts.map +1 -1
- package/dist/playable-sdk.js +6 -4
- package/dist/playable-sdk.js.map +1 -1
- package/dist/playable-standard-project.d.ts +23 -14
- package/dist/playable-standard-project.d.ts.map +1 -1
- package/dist/playable-standard-project.js +53 -19
- package/dist/playable-standard-project.js.map +1 -1
- package/dist/vite-client.d.ts +4 -0
- package/node_modules/@babel/helper-string-parser/lib/index.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -1
- package/node_modules/@babel/parser/lib/index.js +0 -1
- package/node_modules/@babel/types/lib/asserts/assertNode.js +0 -1
- package/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -1
- package/node_modules/@babel/types/lib/builders/productions.js +0 -1
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -1
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -1
- package/node_modules/@babel/types/lib/builders/validateNode.js +0 -1
- package/node_modules/@babel/types/lib/clone/clone.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneNode.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -1
- package/node_modules/@babel/types/lib/comments/addComment.js +0 -1
- package/node_modules/@babel/types/lib/comments/addComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/removeComments.js +0 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/constants/index.js +0 -1
- package/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -1
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -1
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -1
- package/node_modules/@babel/types/lib/converters/toBlock.js +0 -1
- package/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -1
- package/node_modules/@babel/types/lib/converters/toExpression.js +0 -1
- package/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -1
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -1
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -1
- package/node_modules/@babel/types/lib/converters/toStatement.js +0 -1
- package/node_modules/@babel/types/lib/converters/valueToNode.js +0 -1
- package/node_modules/@babel/types/lib/definitions/core.js +0 -1
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -1
- package/node_modules/@babel/types/lib/definitions/experimental.js +0 -1
- package/node_modules/@babel/types/lib/definitions/flow.js +0 -1
- package/node_modules/@babel/types/lib/definitions/index.js +0 -1
- package/node_modules/@babel/types/lib/definitions/jsx.js +0 -1
- package/node_modules/@babel/types/lib/definitions/misc.js +0 -1
- package/node_modules/@babel/types/lib/definitions/placeholders.js +0 -1
- package/node_modules/@babel/types/lib/definitions/typescript.js +0 -1
- package/node_modules/@babel/types/lib/definitions/utils.js +0 -1
- package/node_modules/@babel/types/lib/index.js +0 -1
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -1
- package/node_modules/@babel/types/lib/modifications/inherits.js +0 -1
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -1
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -1
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/traverse/traverse.js +0 -1
- package/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -1
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -1
- package/node_modules/@babel/types/lib/utils/inherit.js +0 -1
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -1
- package/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -1
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/validators/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/validators/is.js +0 -1
- package/node_modules/@babel/types/lib/validators/isBinding.js +0 -1
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -1
- package/node_modules/@babel/types/lib/validators/isImmutable.js +0 -1
- package/node_modules/@babel/types/lib/validators/isLet.js +0 -1
- package/node_modules/@babel/types/lib/validators/isNode.js +0 -1
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -1
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -1
- package/node_modules/@babel/types/lib/validators/isReferenced.js +0 -1
- package/node_modules/@babel/types/lib/validators/isScope.js +0 -1
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -1
- package/node_modules/@babel/types/lib/validators/isType.js +0 -1
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -1
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -1
- package/node_modules/@babel/types/lib/validators/isVar.js +0 -1
- package/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -1
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -1
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -1
- package/node_modules/@babel/types/lib/validators/validate.js +0 -1
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.d.ts +69 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.js +132 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.js +7 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoader.d.ts +14 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoader.js +328 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.d.ts +9 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/BVH/index.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/BVH/index.js +3 -0
- package/node_modules/@babylonjs/loaders/OBJ/index.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/index.js +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.js +230 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.d.ts +136 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.js +317 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.js +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/OBJ/solidParser.d.ts +175 -0
- package/node_modules/@babylonjs/loaders/OBJ/solidParser.js +903 -0
- package/node_modules/@babylonjs/loaders/SPLAT/index.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/SPLAT/index.js +3 -0
- package/node_modules/@babylonjs/loaders/SPLAT/sog.d.ts +84 -0
- package/node_modules/@babylonjs/loaders/SPLAT/sog.js +294 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.d.ts +26 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.js +10 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.d.ts +100 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.js +536 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.d.ts +20 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.js +15 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/SPLAT/spz.d.ts +11 -0
- package/node_modules/@babylonjs/loaders/SPLAT/spz.js +168 -0
- package/node_modules/@babylonjs/loaders/STL/index.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/STL/index.js +1 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.d.ts +78 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.js +238 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.js +7 -0
- package/node_modules/@babylonjs/loaders/bvh/license.md +21 -0
- package/node_modules/@babylonjs/loaders/dynamic.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/dynamic.js +56 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.d.ts +16 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.js +64 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.d.ts +144 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.js +1841 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.d.ts +412 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.js +95 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.d.ts +71 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.js +254 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.d.ts +13 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.js +130 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/index.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/index.js +5 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.js +93 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.js +83 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.d.ts +48 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.js +115 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js +94 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.js +50 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.d.ts +34 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.js +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.js +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.d.ts +53 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.js +73 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.js +251 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.js +77 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.js +92 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.d.ts +355 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js +1678 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.js +19 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.d.ts +3 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.js +3 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.d.ts +70 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js +438 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.d.ts +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.js +150 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.js +91 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.js +65 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.js +79 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.d.ts +49 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.js +119 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.js +58 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.js +69 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.js +56 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.js +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.js +77 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.d.ts +46 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.js +54 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.js +68 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js +80 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.js +73 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.js +76 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.js +303 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.js +66 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.d.ts +112 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.js +262 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.js +82 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.d.ts +45 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.js +109 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.d.ts +29 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.js +22 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.d.ts +31 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.js +189 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.d.ts +30 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.js +123 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.d.ts +30 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.js +66 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.js +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.d.ts +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.js +58 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.js +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.d.ts +56 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.js +228 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.d.ts +104 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.js +337 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.d.ts +27 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.js +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.d.ts +27 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.js +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.js +212 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.d.ts +45 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.js +100 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.js +44 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.d.ts +306 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.js +884 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.d.ts +450 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.js +2485 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.js +79 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.d.ts +165 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.d.ts +25 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.js +32 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.d.ts +262 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/index.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/index.js +9 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.d.ts +364 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.d.ts +674 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.js +1034 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.d.ts +705 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.js +1126 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.d.ts +553 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.js +998 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.d.ts +15 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.js +17 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFValidation.d.ts +35 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFValidation.js +131 -0
- package/node_modules/@babylonjs/loaders/glTF/index.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/glTF/index.js +6 -0
- package/node_modules/@babylonjs/loaders/index.d.ts +6 -0
- package/node_modules/@babylonjs/loaders/index.js +7 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.js +13 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.js +18 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.js +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.js +34 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.js +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.d.ts +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.js +4 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy.js +10 -0
- package/node_modules/@babylonjs/loaders/license.md +71 -0
- package/node_modules/@babylonjs/loaders/package.json +49 -0
- package/node_modules/@babylonjs/loaders/readme.md +23 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts +22 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js +187 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.js +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts +19 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js +212 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +17 -2
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +192 -17
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +139 -3
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts +14 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js +14 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts +59 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js +725 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts +136 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js +2735 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/package.json +7 -7
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts +2 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js +2 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts +2 -0
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +59 -6
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js +81 -11
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js +2 -8
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +17 -5
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +300 -362
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts +4 -0
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +76 -10
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts +46 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js +304 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts +85 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +1600 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts +11 -3
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js +105 -15
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts +25 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js +44 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/package.json +6 -5
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +8 -11
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js +6 -9
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js +36 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +17 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js +6 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +157 -77
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +27 -21
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +19 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +44 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +36 -6
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +829 -866
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +8 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +1 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts +7 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js +20 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +6 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +266 -114
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +5 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js +3 -17
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js +44 -62
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +10 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +591 -639
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts +8 -36
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js +25 -103
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +29 -110
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +1 -3
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +6 -90
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +9 -54
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts +16 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js +44 -39
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts +4 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js +44 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +35 -44
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js +40 -24
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +2 -20
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +52 -341
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +4 -14
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +33 -119
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +5 -10
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +595 -544
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts +2 -3
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js +0 -180
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts +5 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js +5 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/package.json +15 -4
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts +22 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js +226 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +94 -2
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +24 -2
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.js +70 -10
- package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts +112 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.js +613 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +46 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.js +62 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +1 -0
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
- package/node_modules/@fps-games/editor-core/package.json +14 -6
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js +14 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js +49 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +58 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +48 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +28 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +314 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js +285 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +7 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +23 -81
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts +41 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js +93 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts +29 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js +77 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts +51 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js +287 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +6 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +53 -17
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +16 -8
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +10 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +5 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +134 -66
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +21 -14
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +17 -9
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +20 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +49 -10
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js +130 -20
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js +12 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js +136 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts +36 -51
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js +40 -65
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +207 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +18 -7
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +110 -18
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +22 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +144 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js +241 -13
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js +170 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts +153 -13
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js +1295 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +57 -34
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +4 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +20 -198
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js +5 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +144 -8
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js +30 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +31 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +40 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +116 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts +17 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js +50 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +7 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts +5 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js +31 -17
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +417 -2
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js +692 -2
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts +55 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js +2 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +3 -18
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.js +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/package.json +2 -2
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js +5 -0
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/vite.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/vite.js +151 -5
- package/node_modules/@fps-games/editor-tooling/dist/vite.js.map +1 -1
- package/node_modules/@fps-games/editor-tooling/package.json +3 -3
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts +107 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js +770 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts +21 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js +172 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts +14 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js +32 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts +3 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js +653 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts +3 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.js +3 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-ui/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/index.js +5 -0
- package/node_modules/@fps-games/editor-ui/dist/index.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts +7 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js +29 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts +2 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js +95 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts +28 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js +387 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/package.json +23 -0
- package/node_modules/@fps-games/playable-assets/package.json +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/index.js +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.js.map +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts +116 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.js +403 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.js.map +1 -0
- package/node_modules/@fps-games/playable-contracts/package.json +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/index.js +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js +5 -25
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts +61 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js +176 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts +84 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js +362 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts +167 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js +484 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/package.json +2 -2
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts +5 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js.map +1 -1
- package/node_modules/@fps-games/playable-runtime/package.json +12 -12
- package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
- package/node_modules/@fps-games/playable-scene/package.json +2 -2
- package/node_modules/@fps-games/plugin-api/package.json +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-assets/package.json +5 -5
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts +6 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js +16 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts +7 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js +47 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +306 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +1237 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js +32 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/package.json +57 -0
- package/node_modules/@fps-games/plugin-host/package.json +2 -2
- package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-markers/package.json +5 -5
- package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-materials/package.json +5 -5
- package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
- package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-scene/package.json +5 -5
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js +35 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts +11 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js +14 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +53 -0
- package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
- package/node_modules/@playcanvas/observer/LICENSE +19 -0
- package/node_modules/@playcanvas/observer/README.md +72 -0
- package/node_modules/@playcanvas/observer/dist/index.cjs +2033 -0
- package/node_modules/@playcanvas/observer/dist/index.js +2039 -0
- package/node_modules/@playcanvas/observer/dist/index.mjs +2026 -0
- package/node_modules/@playcanvas/observer/package.json +78 -0
- package/node_modules/@playcanvas/observer/types/event-handle.d.ts +41 -0
- package/node_modules/@playcanvas/observer/types/events.d.ts +162 -0
- package/node_modules/@playcanvas/observer/types/history.d.ts +123 -0
- package/node_modules/@playcanvas/observer/types/index.d.ts +15 -0
- package/node_modules/@playcanvas/observer/types/observer-history.d.ts +32 -0
- package/node_modules/@playcanvas/observer/types/observer-list.d.ts +39 -0
- package/node_modules/@playcanvas/observer/types/observer.d.ts +157 -0
- package/node_modules/@playcanvas/observer/types/utils.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/LICENSE +19 -0
- package/node_modules/@playcanvas/pcui/README.md +164 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/Math/color-value.mjs +77 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingBase/index.mjs +215 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/class.mjs +19 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/ArrayInput/index.mjs +498 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/BooleanInput/index.mjs +122 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Button/index.mjs +119 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Canvas/index.mjs +104 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Code/index.mjs +43 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/ColorPicker/index.mjs +619 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Container/index.mjs +642 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Divider/index.mjs +20 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Element/index.mjs +829 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GradientPicker/index.mjs +1136 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GridView/index.mjs +448 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GridViewItem/index.mjs +152 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/InfoBox/index.mjs +90 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/InputElement/index.mjs +186 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Label/index.mjs +124 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/LabelGroup/index.mjs +74 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Menu/index.mjs +174 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/MenuItem/index.mjs +223 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/NumericInput/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Overlay/index.mjs +108 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Panel/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Progress/index.mjs +45 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/RadioButton/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/SelectInput/index.mjs +1085 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/SliderInput/index.mjs +333 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Spinner/index.mjs +34 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TextAreaInput/index.mjs +50 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TextInput/index.mjs +98 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeView/index.mjs +1131 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeViewItem/index.mjs +500 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/VectorInput/index.mjs +366 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/helpers/search.mjs +194 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/helpers/utils.mjs +43 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/index.mjs +56 -0
- package/node_modules/@playcanvas/pcui/dist/pcui-theme-green.scss +2798 -0
- package/node_modules/@playcanvas/pcui/dist/pcui-theme-grey.scss +2798 -0
- package/node_modules/@playcanvas/pcui/package.json +150 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/Math/color-value.mjs +77 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingBase/index.mjs +215 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/class.mjs +19 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/index.mjs +498 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/index.mjs +122 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/index.mjs +119 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/index.mjs +104 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/index.mjs +43 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/index.mjs +619 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/component.mjs +36 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/index.mjs +642 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/index.mjs +20 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/component.mjs +107 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/index.mjs +829 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/index.mjs +1136 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/component.mjs +38 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/index.mjs +448 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/index.mjs +152 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/index.mjs +90 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InputElement/index.mjs +186 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/index.mjs +124 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/component.mjs +42 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/index.mjs +74 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/component.mjs +23 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/index.mjs +174 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/MenuItem/index.mjs +223 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/index.mjs +108 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/component.mjs +32 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/index.mjs +45 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/component.mjs +21 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/index.mjs +1085 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/component.mjs +12 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/index.mjs +333 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/index.mjs +34 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/index.mjs +50 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/component.mjs +23 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/index.mjs +98 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/component.mjs +52 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/index.mjs +1131 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/component.mjs +33 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/index.mjs +500 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/index.mjs +366 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/search.mjs +194 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/utils.mjs +43 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/index.mjs +39 -0
- package/node_modules/@playcanvas/pcui/react/package.json +18 -0
- package/node_modules/@playcanvas/pcui/react/types/Math/color-value.d.ts +3 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingBase/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingElementToObservers/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingObserversToElement/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingTwoWay/index.d.ts +54 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/index.d.ts +5 -0
- package/node_modules/@playcanvas/pcui/react/types/class.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/index.d.ts +140 -0
- package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/index.d.ts +41 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Button/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Button/index.d.ts +75 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Canvas/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Canvas/index.d.ts +61 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Code/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Code/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/index.d.ts +99 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Container/component.d.ts +15 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Container/index.d.ts +292 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Divider/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Divider/index.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Element/component.d.ts +23 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Element/index.d.ts +671 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/index.d.ts +152 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridView/component.d.ts +14 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridView/index.d.ts +103 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/index.d.ts +82 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/index.d.ts +71 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InputElement/index.d.ts +84 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Label/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Label/index.d.ts +85 -0
- package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/index.d.ts +62 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Menu/component.d.ts +14 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Menu/index.d.ts +70 -0
- package/node_modules/@playcanvas/pcui/react/types/components/MenuItem/index.d.ts +139 -0
- package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/index.d.ts +173 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Overlay/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Overlay/index.d.ts +53 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Panel/component.d.ts +16 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Panel/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Progress/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Progress/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/component.d.ts +12 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/index.d.ts +278 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/index.d.ts +133 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Spinner/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Spinner/index.d.ts +27 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextInput/component.d.ts +12 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextInput/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeView/component.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeView/index.d.ts +359 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/component.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/index.d.ts +224 -0
- package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/index.d.ts +176 -0
- package/node_modules/@playcanvas/pcui/react/types/components/components.d.ts +30 -0
- package/node_modules/@playcanvas/pcui/react/types/components/index.d.ts +32 -0
- package/node_modules/@playcanvas/pcui/react/types/helpers/search.d.ts +31 -0
- package/node_modules/@playcanvas/pcui/react/types/helpers/utils.d.ts +2 -0
- package/node_modules/@playcanvas/pcui/react/types/index.d.ts +4 -0
- package/node_modules/@playcanvas/pcui/styles/dist/index.mjs +11 -0
- package/node_modules/@playcanvas/pcui/styles/package.json +17 -0
- package/node_modules/@playcanvas/pcui/types/Math/color-value.d.ts +3 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingBase/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingElementToObservers/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingObserversToElement/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingTwoWay/index.d.ts +54 -0
- package/node_modules/@playcanvas/pcui/types/binding/index.d.ts +5 -0
- package/node_modules/@playcanvas/pcui/types/class.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/types/components/ArrayInput/index.d.ts +140 -0
- package/node_modules/@playcanvas/pcui/types/components/BooleanInput/index.d.ts +41 -0
- package/node_modules/@playcanvas/pcui/types/components/Button/index.d.ts +75 -0
- package/node_modules/@playcanvas/pcui/types/components/Canvas/index.d.ts +61 -0
- package/node_modules/@playcanvas/pcui/types/components/Code/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/ColorPicker/index.d.ts +99 -0
- package/node_modules/@playcanvas/pcui/types/components/Container/index.d.ts +292 -0
- package/node_modules/@playcanvas/pcui/types/components/Divider/index.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/types/components/Element/index.d.ts +671 -0
- package/node_modules/@playcanvas/pcui/types/components/GradientPicker/index.d.ts +152 -0
- package/node_modules/@playcanvas/pcui/types/components/GridView/index.d.ts +103 -0
- package/node_modules/@playcanvas/pcui/types/components/GridViewItem/index.d.ts +82 -0
- package/node_modules/@playcanvas/pcui/types/components/InfoBox/index.d.ts +71 -0
- package/node_modules/@playcanvas/pcui/types/components/InputElement/index.d.ts +84 -0
- package/node_modules/@playcanvas/pcui/types/components/Label/index.d.ts +85 -0
- package/node_modules/@playcanvas/pcui/types/components/LabelGroup/index.d.ts +62 -0
- package/node_modules/@playcanvas/pcui/types/components/Menu/index.d.ts +70 -0
- package/node_modules/@playcanvas/pcui/types/components/MenuItem/index.d.ts +139 -0
- package/node_modules/@playcanvas/pcui/types/components/NumericInput/index.d.ts +173 -0
- package/node_modules/@playcanvas/pcui/types/components/Overlay/index.d.ts +53 -0
- package/node_modules/@playcanvas/pcui/types/components/Panel/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/types/components/Progress/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/RadioButton/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/SelectInput/index.d.ts +278 -0
- package/node_modules/@playcanvas/pcui/types/components/SliderInput/index.d.ts +133 -0
- package/node_modules/@playcanvas/pcui/types/components/Spinner/index.d.ts +27 -0
- package/node_modules/@playcanvas/pcui/types/components/TextAreaInput/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/types/components/TextInput/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/types/components/TreeView/index.d.ts +359 -0
- package/node_modules/@playcanvas/pcui/types/components/TreeViewItem/index.d.ts +224 -0
- package/node_modules/@playcanvas/pcui/types/components/VectorInput/index.d.ts +176 -0
- package/node_modules/@playcanvas/pcui/types/components/index.d.ts +32 -0
- package/node_modules/@playcanvas/pcui/types/helpers/search.d.ts +31 -0
- package/node_modules/@playcanvas/pcui/types/helpers/utils.d.ts +2 -0
- package/node_modules/@playcanvas/pcui/types/index.d.ts +20 -0
- package/node_modules/babylonjs-gltf2interface/babylon.glTF2Interface.d.ts +1655 -0
- package/node_modules/babylonjs-gltf2interface/license.md +71 -0
- package/node_modules/babylonjs-gltf2interface/package.json +26 -0
- package/package.json +31 -19
- package/dist/editor-plugin-hierarchy-command.d.ts +0 -19
- package/dist/editor-plugin-hierarchy-command.d.ts.map +0 -1
- package/dist/editor-plugin-hierarchy-command.js +0 -119
- package/dist/editor-plugin-hierarchy-command.js.map +0 -1
- package/node_modules/@babel/helper-string-parser/lib/index.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- package/node_modules/@babel/parser/lib/index.js.map +0 -1
- package/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
- package/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/constants/index.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
- package/node_modules/@babel/types/lib/index.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
- package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/is.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts +0 -37
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js +0 -451
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts +0 -49
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +0 -627
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts +0 -52
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js +0 -450
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts +0 -21
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js +0 -75
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts +0 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.js +0 -186
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts +0 -5
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js +0 -98
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +0 -63
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +0 -301
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-ui-hierarchy-view.js","sourceRoot":"","sources":["../src/local-editor-ui-hierarchy-view.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,oCAAoC,EACpC,kCAAkC,GACnC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAA4B,MAAM,yBAAyB,CAAC;AACjH,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,EACL,uCAAuC,EACvC,wCAAwC,GACzC,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AAMjG,MAAM,oBAAoB,GAAsE;IAC9F,I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E,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9F,KAAK,CAAC,KAAK,CAAC,IAAI,GAAG,UAAU,CAAC;IAC9B,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5B,CAAC;AAED,SAAS,iBAAiB,CACxB,GAAa,EACb,MAAmB,EACnB,IAAkC,EAClC,KAAa;IAEb,MAAM,KAAK,GAAG,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACzC,KAAK,CAAC,OAAO,CAAC,0BAA0B,GAAG,IAAI,CAAC,EAAE,CAAC;IACnD,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC;IACpB,KAAK,CAAC,KAAK,CAAC,OAAO,GAAG;QACpB,aAAa;QACb,QAAQ;QACR,aAAa;QACb,uBAAuB;QACvB,kDAAkD;QAClD,mBAAmB;QACnB,oCAAoC;QACpC,qCAAqC;QACrC,gBAAgB;QAChB,iBAAiB;QACjB,iBAAiB;QACjB,cAAc;KACf,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACZ,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC1B,UAAU,CAAC,GAAG,EAAE;QACd,KAAK,CAAC,KAAK,EAAE,CAAC;QACd,KAAK,CAAC,MAAM,EAAE,CAAC;IACjB,CAAC,EAAE,CAAC,CAAC,CAAC;AACR,CAAC","sourcesContent":["import {\n createBadge,\n createEditorInputStyle,\n createPanelHeader,\n createToolbarButton,\n createTreeViewItem,\n} from './local-editor-ui-primitives';\nimport {\n configureLocalEditorDockPanelContent,\n createLocalEditorDockPanelViewport,\n} from './local-editor-ui-dock-panel';\nimport { createLocalEditorIcon, isLocalEditorIconName, type LocalEditorIconName } from './local-editor-ui-icons';\nimport { clearElement } from './local-editor-ui-shared';\nimport type { LocalEditorBrowserSceneGraphDropIntent } from './local-editor-ui-types';\nimport {\n canLocalEditorHierarchyNodeHaveChildren,\n canLocalEditorHierarchyNodeToggleEnabled,\n} from './local-editor-ui-hierarchy-tree';\nimport type { LocalEditorHierarchyDropPreview } from './local-editor-ui-hierarchy-drag-policy';\nimport { syncLocalEditorStructuredDragPreview } from './local-editor-ui-structured-drag-preview';\nimport type {\n LocalEditorHierarchyTreeModel,\n LocalEditorHierarchyTreeNode,\n} from './local-editor-ui-hierarchy-tree';\n\nconst HIERARCHY_ROLE_ICONS: Record<LocalEditorHierarchyTreeNode['role'], LocalEditorIconName> = {\n root: 'root',\n group: 'group',\n object: 'object',\n marker: 'view-overlay',\n};\n\nexport interface LocalEditorHierarchyViewInput {\n title?: string;\n searchPlaceholder?: string;\n showCreateGroup?: boolean;\n showCreateMarker?: boolean;\n model: LocalEditorHierarchyTreeModel;\n rename: { id: string; value: string } | null;\n drop: LocalEditorBrowserSceneGraphDropIntent | null;\n dropPreview: LocalEditorHierarchyDropPreview | null;\n rootDrop: boolean;\n searchQuery: string;\n}\n\nexport function renderLocalEditorHierarchyPanel(\n doc: Document,\n panel: HTMLElement,\n input: LocalEditorHierarchyViewInput,\n): void {\n clearElement(panel);\n configureLocalEditorDockPanelContent(panel);\n const actions: HTMLElement[] = [];\n if (input.showCreateGroup !== false) {\n const createGroupButton = createToolbarButton(doc, '+ Empty', 'object');\n createGroupButton.dataset.editorHierarchyCreateGroup = 'true';\n createGroupButton.style.padding = '3px 7px';\n createGroupButton.style.fontSize = '11px';\n actions.push(createGroupButton);\n }\n if (input.showCreateMarker === true) {\n const createMarkerButton = createToolbarButton(doc, '+ Marker', 'view-overlay');\n createMarkerButton.dataset.editorHierarchyCreateMarker = 'true';\n createMarkerButton.style.padding = '3px 7px';\n createMarkerButton.style.fontSize = '11px';\n actions.push(createMarkerButton);\n }\n panel.appendChild(createPanelHeader(doc, input.title ?? 'Hierarchy', actions, 'hierarchy'));\n\n panel.appendChild(createHierarchySearchInput(doc, input.searchQuery, input.searchPlaceholder));\n\n const list = createLocalEditorDockPanelViewport(doc, 'editorHierarchyTreeViewport', { gap: '1px' });\n list.dataset.editorHierarchyRootDrop = input.rootDrop ? 'active' : 'ready';\n const rows = resolveLocalEditorHierarchySearchRows(input.model, input.searchQuery);\n if (rows.length === 0) {\n const empty = doc.createElement('div');\n empty.textContent = input.searchQuery.trim() ? 'No matching GameObjects.' : 'No hierarchy nodes.';\n empty.style.cssText = 'padding:8px;color:var(--fps-editor-muted);font-size:11px';\n list.appendChild(empty);\n } else {\n for (const node of rows) {\n const row = renderHierarchyRow(doc, node, input.rename, null, null);\n list.appendChild(row);\n }\n }\n panel.appendChild(list);\n syncLocalEditorHierarchyDropPreview(doc, panel, {\n dropPreview: input.dropPreview,\n rootDrop: input.rootDrop,\n });\n}\n\nexport function syncLocalEditorHierarchyDropPreview(\n doc: Document,\n panel: HTMLElement,\n input: Pick<LocalEditorHierarchyViewInput, 'dropPreview' | 'rootDrop'>,\n): void {\n const list = panel.querySelector<HTMLElement>('[data-editor-hierarchy-tree-viewport]');\n if (!list) return;\n syncLocalEditorStructuredDragPreview(doc, {\n root: list,\n preview: input.dropPreview,\n rootActive: input.rootDrop,\n reset: clearHierarchyDropPreviewDom,\n applyRootState: applyHierarchyRootDropPreviewState,\n findTarget: preview => findHierarchyPreviewRow(panel, preview.targetId),\n applyTargetPreview: applyHierarchyTargetDropPreview,\n });\n}\n\nfunction applyHierarchyRootDropPreviewState(\n list: HTMLElement,\n state: { rootActive: boolean; rootPreview: LocalEditorHierarchyDropPreview | null },\n): void {\n list.dataset.editorHierarchyRootDrop = state.rootActive ? 'active' : 'ready';\n const preview = state.rootPreview;\n if (!preview) return;\n list.dataset.editorHierarchyDropPreview = 'root';\n list.dataset.editorHierarchyDropPreviewValid = preview.valid ? 'true' : 'false';\n list.style.boxShadow = `inset 0 -3px 0 ${preview.valid ? 'var(--fps-editor-warn-strong)' : 'var(--fps-editor-muted)'}`;\n list.style.background = preview.valid ? 'var(--fps-editor-warn-soft)' : 'var(--fps-editor-field)';\n}\n\nfunction applyHierarchyTargetDropPreview(\n doc: Document,\n row: HTMLElement,\n preview: LocalEditorHierarchyDropPreview,\n): void {\n row.dataset.editorHierarchyDropPreview = preview.kind === 'inside' ? 'inside' : preview.placement;\n row.dataset.editorHierarchyDropPreviewValid = preview.valid ? 'true' : 'false';\n if (preview.kind === 'inside') {\n row.appendChild(renderHierarchyInsidePreview(doc, preview));\n return;\n }\n row.appendChild(renderHierarchyInsertionPreview(doc, preview));\n}\n\nexport function resolveLocalEditorHierarchySearchRows(\n model: LocalEditorHierarchyTreeModel,\n query: string,\n): LocalEditorHierarchyTreeNode[] {\n const needle = query.trim().toLowerCase();\n if (!needle) return model.visibleRows;\n const includedIds = new Set<string>();\n for (const node of collectHierarchyRows(model)) {\n if (!node.label.toLowerCase().includes(needle)) continue;\n includedIds.add(node.id);\n for (const ancestor of model.getAncestors(node.id)) includedIds.add(ancestor.id);\n }\n return collectHierarchyRows(model).filter(node => includedIds.has(node.id));\n}\n\nfunction createHierarchySearchInput(\n doc: Document,\n value: string,\n placeholder = '搜索 GameObject 名称',\n): HTMLInputElement {\n const input = doc.createElement('input');\n input.type = 'search';\n input.dataset.editorHierarchySearch = 'true';\n input.placeholder = placeholder;\n input.value = value;\n input.style.cssText = [\n createEditorInputStyle(),\n 'width:100%',\n 'height:28px',\n 'margin:0 0 8px',\n 'outline:none',\n ].join(';');\n return input;\n}\n\nfunction collectHierarchyRows(model: LocalEditorHierarchyTreeModel): LocalEditorHierarchyTreeNode[] {\n const rows: LocalEditorHierarchyTreeNode[] = [];\n const visit = (id: string): void => {\n const node = model.getNode(id);\n if (!node) return;\n rows.push(node);\n for (const child of model.getChildren(id)) visit(child.id);\n };\n for (const rootId of model.rootIds) visit(rootId);\n return rows;\n}\n\nfunction renderHierarchyRow(\n doc: Document,\n node: LocalEditorHierarchyTreeNode,\n rename: { id: string; value: string } | null,\n drop: LocalEditorBrowserSceneGraphDropIntent | null,\n dropPreview: LocalEditorHierarchyDropPreview | null,\n): HTMLButtonElement {\n const isRenaming = rename?.id === node.id;\n const dropPlacement = dropPreview?.kind === 'inside' && dropPreview.targetId === node.id\n ? 'inside'\n : drop?.targetId === node.id && drop.placement === 'inside'\n ? 'inside'\n : null;\n const dropValid = dropPreview?.kind === 'inside' && dropPreview.targetId === node.id\n ? dropPreview.valid\n : undefined;\n const canHaveChildren = canLocalEditorHierarchyNodeHaveChildren(node);\n const button = createTreeViewItem(doc, {\n id: node.id,\n label: node.label,\n depth: node.depth,\n role: node.role,\n selected: node.selected,\n active: node.active,\n locked: node.item.locked,\n protected: node.protected,\n selectable: node.item.selectable,\n enabled: node.item.enabled,\n draggable: node.item.draggable,\n dropPlacement,\n dropValid,\n });\n if (dropPreview?.kind === 'inside' && dropPreview.targetId === node.id) {\n button.dataset.editorHierarchyDropPreview = 'inside';\n button.dataset.editorHierarchyDropPreviewValid = dropPreview.valid ? 'true' : 'false';\n }\n button.dataset.editorHierarchyCanHaveChildren = canHaveChildren ? 'true' : 'false';\n button.title = node.protected ? `${node.label} (protected)` : node.label;\n appendDisclosure(doc, button, node);\n appendEnabledToggle(doc, button, node);\n appendRoleBadge(doc, button, node);\n if (isRenaming) appendRenameInput(doc, button, node, rename.value);\n else appendLabel(doc, button, node);\n if (node.protected) appendProtectedBadge(doc, button);\n return button;\n}\n\nfunction appendEnabledToggle(\n doc: Document,\n button: HTMLButtonElement,\n node: LocalEditorHierarchyTreeNode,\n): void {\n if (typeof node.item.enabled !== 'boolean') {\n const spacer = doc.createElement('span');\n spacer.style.cssText = 'width:18px;height:18px;flex:0 0 18px';\n button.appendChild(spacer);\n return;\n }\n const enabled = node.item.enabled !== false;\n const toggle = doc.createElement('span');\n toggle.dataset.editorHierarchyEnabledToggle = node.id;\n toggle.dataset.editorHierarchyEnabled = enabled ? 'true' : 'false';\n const disabled = !canLocalEditorHierarchyNodeToggleEnabled(node);\n toggle.dataset.editorHierarchyEnabledToggleDisabled = disabled ? 'true' : 'false';\n toggle.title = disabled\n ? node.item.enableToggleDisabledReason ?? 'This hierarchy item cannot be hidden.'\n : `${enabled ? 'Hide' : 'Show'} ${node.label}`;\n toggle.style.cssText = [\n 'width:18px',\n 'height:18px',\n 'flex:0 0 18px',\n 'display:inline-flex',\n 'align-items:center',\n 'justify-content:center',\n 'padding:0',\n 'border:1px solid transparent',\n 'border-radius:3px',\n 'background:transparent',\n `color:${enabled ? 'var(--fps-editor-muted-strong)' : 'var(--fps-editor-muted)'}`,\n `opacity:${disabled ? '0.45' : '1'}`,\n `cursor:${disabled ? 'not-allowed' : 'pointer'}`,\n ].join(';');\n toggle.appendChild(createLocalEditorIcon(doc, enabled ? 'eye' : 'eye-off', { size: 13, strokeWidth: 2.2 }));\n button.appendChild(toggle);\n}\n\nfunction renderHierarchyInsertionPreview(\n doc: Document,\n preview: LocalEditorHierarchyDropPreview,\n): HTMLDivElement {\n const line = doc.createElement('div');\n line.dataset.editorHierarchyInsertionPreview = 'true';\n line.dataset.editorHierarchyDropPreview = preview.placement;\n line.dataset.editorHierarchyDropPreviewValid = preview.valid ? 'true' : 'false';\n line.style.cssText = [\n 'position:absolute',\n 'left:0',\n 'right:0',\n preview.placement === 'before' ? 'top:-5px' : 'bottom:-5px',\n 'height:10px',\n 'pointer-events:none',\n 'z-index:4',\n ].join(';');\n const anchor = doc.createElement('span');\n anchor.style.cssText = [\n 'position:absolute',\n `left:${Math.max(2, 2 + preview.depth * 16)}px`,\n 'top:2px',\n 'width:6px',\n 'height:6px',\n 'border-radius:50%',\n `background:${preview.valid ? 'var(--fps-editor-warn-strong)' : 'var(--fps-editor-muted)'}`,\n `box-shadow:${preview.valid ? '0 0 0 2px rgba(0,0,0,0.35), 0 0 10px rgba(255,193,7,0.55)' : '0 0 0 2px rgba(0,0,0,0.25)'}`,\n ].join(';');\n const rule = doc.createElement('span');\n rule.style.cssText = [\n 'position:absolute',\n `left:${8 + preview.depth * 16}px`,\n 'right:4px',\n 'top:4px',\n 'height:3px',\n `background:${preview.valid ? 'var(--fps-editor-warn-strong)' : 'var(--fps-editor-muted)'}`,\n `opacity:${preview.valid ? '1' : '0.6'}`,\n `box-shadow:${preview.valid ? '0 0 0 1px rgba(0,0,0,0.25), 0 0 12px rgba(255,193,7,0.42)' : '0 0 0 1px rgba(0,0,0,0.18)'}`,\n ].join(';');\n line.appendChild(anchor);\n line.appendChild(rule);\n return line;\n}\n\nfunction renderHierarchyInsidePreview(\n doc: Document,\n preview: LocalEditorHierarchyDropPreview,\n): HTMLDivElement {\n const overlay = doc.createElement('div');\n overlay.dataset.editorHierarchyInsidePreview = 'true';\n overlay.dataset.editorHierarchyDropPreview = 'inside';\n overlay.dataset.editorHierarchyDropPreviewValid = preview.valid ? 'true' : 'false';\n overlay.style.cssText = [\n 'position:absolute',\n 'inset:0',\n 'pointer-events:none',\n 'z-index:1',\n `border:1px solid ${preview.valid ? 'var(--fps-editor-drop-target)' : 'var(--fps-editor-muted)'}`,\n `box-shadow:${preview.valid ? 'inset 4px 0 0 var(--fps-editor-drop-target), 0 0 0 1px rgba(255,255,255,0.08), 0 0 14px rgba(255,193,7,0.24)' : 'inset 4px 0 0 var(--fps-editor-muted)'}`,\n `background:${preview.valid ? 'rgba(255,193,7,0.09)' : 'rgba(255,255,255,0.04)'}`,\n ].join(';');\n return overlay;\n}\n\nfunction clearHierarchyDropPreviewDom(list: HTMLElement): void {\n list.style.boxShadow = '';\n list.style.background = '';\n delete list.dataset.editorHierarchyDropPreview;\n delete list.dataset.editorHierarchyDropPreviewValid;\n for (const preview of list.querySelectorAll<HTMLElement>('[data-editor-hierarchy-insertion-preview],[data-editor-hierarchy-inside-preview]')) {\n preview.remove();\n }\n for (const row of list.querySelectorAll<HTMLElement>('[data-editor-hierarchy-drop-preview]')) {\n delete row.dataset.editorHierarchyDropPreview;\n delete row.dataset.editorHierarchyDropPreviewValid;\n }\n}\n\nfunction findHierarchyPreviewRow(panel: HTMLElement, targetId: string | null): HTMLElement | null {\n if (!targetId) return null;\n for (const row of panel.querySelectorAll<HTMLElement>('[data-editor-hierarchy-id]')) {\n if (row.dataset.editorHierarchyId === targetId) return row;\n }\n return null;\n}\n\nfunction appendDisclosure(doc: Document, parent: HTMLElement, node: LocalEditorHierarchyTreeNode): void {\n const disclosure = doc.createElement('span');\n if (node.childIds.length > 0) disclosure.dataset.editorHierarchyToggle = node.id;\n disclosure.style.cssText = [\n 'width:12px',\n 'flex:0 0 12px',\n 'display:inline-flex',\n 'align-items:center',\n 'justify-content:center',\n 'color:var(--fps-editor-muted)',\n 'font-size:10px',\n ].join(';');\n if (node.childIds.length > 0) {\n disclosure.appendChild(createLocalEditorIcon(doc, node.expanded ? 'chevron-down' : 'chevron-right', {\n size: 12,\n strokeWidth: 2.4,\n }));\n }\n parent.appendChild(disclosure);\n}\n\nfunction appendRoleBadge(doc: Document, parent: HTMLElement, node: LocalEditorHierarchyTreeNode): void {\n const badge = doc.createElement('span');\n const icon = isLocalEditorIconName(node.item.icon) ? node.item.icon : HIERARCHY_ROLE_ICONS[node.role];\n const isMaterialSlot = icon === 'material-slot';\n const isPrefab = icon === 'prefab';\n badge.title = isMaterialSlot ? 'material slot' : isPrefab ? 'prefab' : node.role;\n badge.style.cssText = [\n 'width:15px',\n 'height:15px',\n 'flex:0 0 15px',\n 'display:inline-flex',\n 'align-items:center',\n 'justify-content:center',\n 'border:1px solid var(--fps-editor-border)',\n 'border-radius:2px',\n `background:${isMaterialSlot ? 'var(--fps-editor-warn-soft)' : node.role === 'root' ? 'var(--fps-editor-role-root-bg)' : node.role === 'group' ? 'var(--fps-editor-role-group-bg)' : 'var(--fps-editor-role-object-bg)'}`,\n `border-color:${isMaterialSlot ? 'var(--fps-editor-warn-border)' : 'var(--fps-editor-border)'}`,\n `color:${isMaterialSlot ? 'var(--fps-editor-warn-strong)' : 'var(--fps-editor-muted-strong)'}`,\n 'font-size:9px',\n 'font-weight:900',\n ].join(';');\n badge.appendChild(createLocalEditorIcon(doc, icon, { size: 11, strokeWidth: 2.3 }));\n parent.appendChild(badge);\n}\n\nfunction appendLabel(doc: Document, parent: HTMLElement, node: LocalEditorHierarchyTreeNode): void {\n const label = doc.createElement('span');\n label.textContent = node.item.locked && !node.protected ? `${node.label} [locked]` : node.label;\n label.style.cssText = 'min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap';\n parent.appendChild(label);\n}\n\nfunction appendProtectedBadge(doc: Document, parent: HTMLElement): void {\n const badge = createBadge(doc, 'protected', { compact: true, tone: 'warning', icon: 'lock' });\n badge.style.flex = '0 0 auto';\n parent.appendChild(badge);\n}\n\nfunction appendRenameInput(\n doc: Document,\n parent: HTMLElement,\n node: LocalEditorHierarchyTreeNode,\n value: string,\n): void {\n const input = doc.createElement('input');\n input.dataset.editorHierarchyRenameInput = node.id;\n input.value = value;\n input.style.cssText = [\n 'min-width:0',\n 'flex:1',\n 'height:22px',\n 'box-sizing:border-box',\n 'border:1px solid var(--fps-editor-accent-strong)',\n 'border-radius:2px',\n 'background:var(--fps-editor-field)',\n 'color:var(--fps-editor-text-strong)',\n 'font-size:12px',\n 'font-weight:700',\n 'padding:2px 5px',\n 'outline:none',\n ].join(';');\n parent.appendChild(input);\n setTimeout(() => {\n input.focus();\n input.select();\n }, 0);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"local-editor-ui-hierarchy-view.js","sourceRoot":"","sources":["../src/local-editor-ui-hierarchy-view.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,oCAAoC,EACpC,kCAAkC,GACnC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAA4B,MAAM,yBAAyB,CAAC;AACjH,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAOxD,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AAgBjG,MAAM,oBAAoB,GAAkD;IAC1E,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE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jB,cAAc;KACf,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACZ,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC1B,UAAU,CAAC,GAAG,EAAE;QACd,yEAAyE;QACzE,uEAAuE;QACvE,IAAI,GAAG,CAAC,aAAa,KAAK,KAAK;YAAE,OAAO;QACxC,KAAK,CAAC,KAAK,EAAE,CAAC;QACd,KAAK,CAAC,MAAM,EAAE,CAAC;IACjB,CAAC,EAAE,CAAC,CAAC,CAAC;AACR,CAAC","sourcesContent":["import {\n createEditorInputStyle,\n createPanelHeader,\n createToolbarButton,\n createTreeViewItem,\n} from './local-editor-ui-primitives';\nimport {\n configureLocalEditorDockPanelContent,\n createLocalEditorDockPanelViewport,\n} from './local-editor-ui-dock-panel';\nimport { createLocalEditorIcon, isLocalEditorIconName, type LocalEditorIconName } from './local-editor-ui-icons';\nimport { clearElement } from './local-editor-ui-shared';\nimport type {\n HierarchyNodeSnapshot,\n HierarchyViewModel,\n HierarchyVisibleRow,\n} from '@fps-games/plugin-hierarchy';\nimport type { LocalEditorHierarchyDropPreview } from './local-editor-ui-hierarchy-drag-policy';\nimport { syncLocalEditorStructuredDragPreview } from './local-editor-ui-structured-drag-preview';\n\ntype HierarchyRowRole = 'root' | 'group' | 'object' | 'marker';\n\ninterface HierarchyRowPresentation {\n node: HierarchyNodeSnapshot;\n depth: number;\n role: HierarchyRowRole;\n selected: boolean;\n active: boolean;\n expanded: boolean;\n enabled: boolean | undefined;\n canToggleEnabled: boolean;\n childCount: number;\n}\n\nconst HIERARCHY_ROLE_ICONS: Record<HierarchyRowRole, LocalEditorIconName> = {\n root: 'root',\n group: 'group',\n object: 'object',\n marker: 'view-overlay',\n};\n\nexport interface LocalEditorHierarchyViewInput {\n title?: string;\n searchPlaceholder?: string;\n showCreateMenu?: boolean;\n viewModel: HierarchyViewModel;\n presentationRevision: string;\n rename: { id: string; value: string } | null;\n dragId: string | null;\n dropPreview: LocalEditorHierarchyDropPreview | null;\n rootDrop: boolean;\n searchQuery: string;\n}\n\nexport const LOCAL_EDITOR_HIERARCHY_ROW_HEIGHT = 26;\nconst HIERARCHY_VIRTUAL_OVERSCAN = 8;\n\ninterface HierarchyPanelShell {\n header: HTMLElement;\n title: HTMLElement;\n createMenu: HTMLElement;\n search: HTMLInputElement;\n viewport: HTMLElement;\n canvas: HTMLElement;\n input: LocalEditorHierarchyViewInput;\n rows: Map<string, HTMLElement>;\n selectedIdsRef: readonly string[] | null;\n selectedIdsSet: ReadonlySet<string>;\n domOrderKey: string;\n frame: number | null;\n}\n\nconst hierarchyPanelShells = new WeakMap<HTMLElement, HierarchyPanelShell>();\n\nexport function renderLocalEditorHierarchyPanel(\n doc: Document,\n panel: HTMLElement,\n input: LocalEditorHierarchyViewInput,\n): void {\n let shell = hierarchyPanelShells.get(panel);\n if (shell && !panel.contains(shell.viewport)) {\n hierarchyPanelShells.delete(panel);\n shell = undefined;\n }\n if (!shell) {\n clearElement(panel);\n configureLocalEditorDockPanelContent(panel);\n const createMenu = createToolbarButton(doc, '+ 添加', 'plus');\n createMenu.dataset.editorHierarchyCreateMenu = 'true';\n createMenu.title = '添加节点或本地资源';\n createMenu.setAttribute('aria-label', '添加节点或本地资源');\n createMenu.style.padding = '3px 7px';\n createMenu.style.fontSize = '11px';\n const header = createPanelHeader(doc, input.title ?? 'Hierarchy', [createMenu], 'hierarchy');\n const title = header.querySelector<HTMLElement>('h2 span:last-child') ?? header;\n const search = createHierarchySearchInput(doc, input.searchQuery, input.searchPlaceholder);\n search.classList.add('fps-editor-ui-search', 'fps-editor-ui-hierarchy-search');\n const viewport = createLocalEditorDockPanelViewport(doc, 'editorHierarchyTreeViewport');\n viewport.style.position = 'relative';\n viewport.dataset.editorHierarchyRootDrop = 'ready';\n const canvas = doc.createElement('div');\n canvas.className = 'fps-editor-ui-hierarchy-canvas';\n canvas.dataset.editorHierarchyVirtualCanvas = 'true';\n viewport.appendChild(canvas);\n panel.append(header, search, viewport);\n const created: HierarchyPanelShell = {\n header, title, createMenu, search, viewport, canvas, input, rows: new Map(),\n selectedIdsRef: null,\n selectedIdsSet: new Set(),\n domOrderKey: '',\n frame: null,\n };\n shell = created;\n hierarchyPanelShells.set(panel, created);\n viewport.addEventListener('scroll', () => {\n if (created.frame !== null) return;\n created.frame = doc.defaultView?.requestAnimationFrame(() => {\n created.frame = null;\n renderHierarchyVirtualWindow(doc, created);\n }) ?? null;\n if (created.frame === null) renderHierarchyVirtualWindow(doc, created);\n }, { passive: true });\n }\n if (!shell) return;\n shell.input = input;\n shell.title.textContent = input.title ?? 'Hierarchy';\n shell.createMenu.style.display = input.showCreateMenu === false ? 'none' : '';\n if (doc.activeElement !== shell.search && shell.search.value !== input.searchQuery) shell.search.value = input.searchQuery;\n shell.search.placeholder = input.searchPlaceholder ?? '搜索 GameObject 名称';\n shell.viewport.dataset.editorHierarchyRootDrop = input.rootDrop ? 'active' : 'ready';\n renderHierarchyVirtualWindow(doc, shell);\n syncLocalEditorHierarchyDropPreview(doc, panel, {\n dropPreview: input.dropPreview,\n rootDrop: input.rootDrop,\n });\n}\n\nfunction renderHierarchyVirtualWindow(doc: Document, shell: HierarchyPanelShell): void {\n const { input, viewport, canvas } = shell;\n const projection = input.viewModel.projection;\n const total = projection.totalCount;\n canvas.style.height = `${Math.max(1, total * LOCAL_EDITOR_HIERARCHY_ROW_HEIGHT)}px`;\n const viewportHeight = viewport.clientHeight || 520;\n const firstVisible = Math.floor(viewport.scrollTop / LOCAL_EDITOR_HIERARCHY_ROW_HEIGHT);\n const start = Math.max(0, firstVisible - HIERARCHY_VIRTUAL_OVERSCAN);\n const count = Math.min(\n total - start,\n Math.ceil(viewportHeight / LOCAL_EDITOR_HIERARCHY_ROW_HEIGHT) + HIERARCHY_VIRTUAL_OVERSCAN * 2,\n );\n const windowRows = projection.getWindow(start, Math.max(0, count));\n const selectedIds = resolveHierarchySelectedIdSet(shell, input.viewModel.snapshot.selectedIds);\n const retained = new Set<string>();\n const orderedRows: HTMLElement[] = [];\n for (let offset = 0; offset < windowRows.length; offset += 1) {\n const projected = windowRows[offset]!;\n const node = createHierarchyRowPresentation(input.viewModel, projected, selectedIds);\n if (!node) continue;\n retained.add(node.node.id);\n const row = ensureHierarchyVirtualRow(doc, shell, node);\n orderedRows.push(row);\n const index = start + offset;\n row.dataset.editorHierarchyVirtualIndex = String(index);\n row.style.position = 'absolute';\n row.style.left = '0';\n row.style.right = '0';\n row.style.top = `${index * LOCAL_EDITOR_HIERARCHY_ROW_HEIGHT}px`;\n row.style.height = `${LOCAL_EDITOR_HIERARCHY_ROW_HEIGHT}px`;\n if (row.parentElement !== canvas) canvas.appendChild(row);\n }\n const pinnedRenameId = input.rename?.id;\n if (pinnedRenameId && !retained.has(pinnedRenameId)) {\n const index = projection.indexOf(pinnedRenameId);\n const projected = projection.getRow(index);\n const node = projected ? createHierarchyRowPresentation(input.viewModel, projected, selectedIds) : null;\n const pinned = node ? ensureHierarchyVirtualRow(doc, shell, node) : null;\n if (pinned && index >= 0) {\n retained.add(pinnedRenameId);\n pinned.dataset.editorHierarchyVirtualIndex = String(index);\n pinned.style.position = 'absolute';\n pinned.style.left = '0';\n pinned.style.right = '0';\n pinned.style.top = `${index * LOCAL_EDITOR_HIERARCHY_ROW_HEIGHT}px`;\n pinned.style.height = `${LOCAL_EDITOR_HIERARCHY_ROW_HEIGHT}px`;\n }\n }\n const pinnedDragId = input.dragId;\n if (pinnedDragId && !retained.has(pinnedDragId)) {\n const index = projection.indexOf(pinnedDragId);\n const projected = projection.getRow(index);\n const node = projected ? createHierarchyRowPresentation(input.viewModel, projected, selectedIds) : null;\n const pinned = node ? ensureHierarchyVirtualRow(doc, shell, node) : null;\n if (pinned && index >= 0) {\n retained.add(pinnedDragId);\n pinned.dataset.editorHierarchyVirtualIndex = String(index);\n pinned.style.position = 'absolute';\n pinned.style.left = '0';\n pinned.style.right = '0';\n pinned.style.top = `${index * LOCAL_EDITOR_HIERARCHY_ROW_HEIGHT}px`;\n pinned.style.height = `${LOCAL_EDITOR_HIERARCHY_ROW_HEIGHT}px`;\n }\n }\n for (const [id, row] of shell.rows) {\n if (retained.has(id)) continue;\n row.remove();\n shell.rows.delete(id);\n }\n let domOrderKey = '';\n for (const row of orderedRows) {\n domOrderKey += `${row.dataset.editorHierarchyId ?? ''}@${row.dataset.editorHierarchyVirtualIndex ?? ''}\\u0000`;\n }\n if (domOrderKey !== shell.domOrderKey) {\n syncHierarchyVirtualRowDomOrder(canvas, orderedRows);\n shell.domOrderKey = domOrderKey;\n }\n let empty = canvas.querySelector<HTMLElement>('[data-editor-hierarchy-empty]');\n if (total === 0) {\n if (!empty) {\n empty = doc.createElement('div');\n empty.dataset.editorHierarchyEmpty = 'true';\n empty.style.cssText = 'position:absolute;inset:0;padding:8px;color:var(--fps-editor-muted);font-size:11px';\n canvas.appendChild(empty);\n }\n empty.textContent = input.searchQuery.trim() ? 'No matching GameObjects.' : 'No hierarchy nodes.';\n } else {\n empty?.remove();\n }\n}\n\nfunction resolveHierarchySelectedIdSet(\n shell: HierarchyPanelShell,\n selectedIds: readonly string[],\n): ReadonlySet<string> {\n if (shell.selectedIdsRef === selectedIds) return shell.selectedIdsSet;\n shell.selectedIdsRef = selectedIds;\n shell.selectedIdsSet = new Set(selectedIds);\n return shell.selectedIdsSet;\n}\n\nfunction syncHierarchyVirtualRowDomOrder(canvas: HTMLElement, orderedRows: readonly HTMLElement[]): void {\n let previous: HTMLElement | null = null;\n for (const row of orderedRows) {\n if (row.parentElement !== canvas) {\n if (previous?.nextSibling) canvas.insertBefore(row, previous.nextSibling);\n else canvas.appendChild(row);\n } else if (previous === null) {\n const firstRow = findFirstHierarchyVirtualRow(canvas);\n if (firstRow && firstRow !== row) canvas.insertBefore(row, firstRow);\n } else if (previous.nextSibling !== row) {\n canvas.insertBefore(row, previous.nextSibling);\n }\n previous = row;\n }\n}\n\nfunction findFirstHierarchyVirtualRow(canvas: HTMLElement): HTMLElement | null {\n for (const child of canvas.children) {\n if (child instanceof HTMLElement && child.dataset.editorHierarchyId) return child;\n }\n return null;\n}\n\nfunction ensureHierarchyVirtualRow(\n doc: Document,\n shell: HierarchyPanelShell,\n rowModel: HierarchyRowPresentation,\n): HTMLElement {\n const { input } = shell;\n const { node } = rowModel;\n const renderKey = [\n input.presentationRevision,\n node.label, rowModel.depth, rowModel.selected, rowModel.active, rowModel.expanded, rowModel.enabled,\n node.editorLocked, node.draggable, input.rename?.id === node.id ? input.rename.value : '',\n ].join('\\u0000');\n let row = shell.rows.get(node.id);\n if (!row || row.dataset.editorHierarchyRenderKey !== renderKey) {\n const replacement = renderHierarchyRow(doc, rowModel, input.rename);\n replacement.dataset.editorHierarchyRenderKey = renderKey;\n if (row) row.replaceWith(replacement);\n row = replacement;\n shell.rows.set(node.id, row);\n }\n return row;\n}\n\nfunction createHierarchyRowPresentation(\n viewModel: HierarchyViewModel,\n projected: HierarchyVisibleRow,\n selectedIds: ReadonlySet<string>,\n): HierarchyRowPresentation | null {\n const node = viewModel.snapshot.nodeById.get(projected.id);\n if (!node) return null;\n const childCount = viewModel.snapshot.childrenByParentId.get(node.id)?.length ?? 0;\n const enabled = node.authoredEnabled ?? node.editorVisible;\n const supportsToggle = node.authoredEnabled !== undefined\n ? viewModel.snapshot.capabilities.authoredEnabled === true\n : node.editorVisible !== undefined && viewModel.snapshot.capabilities.editorVisibility === true;\n return {\n node,\n depth: projected.depth,\n role: normalizeHierarchyRowRole(node.role),\n selected: selectedIds.has(node.id),\n active: viewModel.snapshot.activeId === node.id,\n expanded: childCount > 0 && (viewModel.state.searchQuery.trim().length > 0 || !viewModel.state.collapsedIds.has(node.id)),\n enabled,\n canToggleEnabled: supportsToggle && node.editorLocked !== true,\n childCount,\n };\n}\n\nfunction normalizeHierarchyRowRole(role: string | undefined): HierarchyRowRole {\n return role === 'root' || role === 'group' || role === 'marker' ? role : 'object';\n}\n\nexport function syncLocalEditorHierarchyDropPreview(\n doc: Document,\n panel: HTMLElement,\n input: Pick<LocalEditorHierarchyViewInput, 'dropPreview' | 'rootDrop'>,\n): void {\n const list = panel.querySelector<HTMLElement>('[data-editor-hierarchy-tree-viewport]');\n if (!list) return;\n syncLocalEditorStructuredDragPreview(doc, {\n root: list,\n preview: input.dropPreview,\n rootActive: input.rootDrop,\n reset: clearHierarchyDropPreviewDom,\n applyRootState: applyHierarchyRootDropPreviewState,\n findTarget: preview => findHierarchyPreviewRow(panel, preview.targetId),\n applyTargetPreview: applyHierarchyTargetDropPreview,\n });\n}\n\nfunction applyHierarchyRootDropPreviewState(\n list: HTMLElement,\n state: { rootActive: boolean; rootPreview: LocalEditorHierarchyDropPreview | null },\n): void {\n list.dataset.editorHierarchyRootDrop = state.rootActive ? 'active' : 'ready';\n const preview = state.rootPreview;\n if (!preview) return;\n list.dataset.editorHierarchyDropPreview = 'root';\n list.dataset.editorHierarchyDropPreviewValid = preview.valid ? 'true' : 'false';\n list.style.boxShadow = `inset 0 -3px 0 ${preview.valid ? 'var(--fps-editor-warn-strong)' : 'var(--fps-editor-muted)'}`;\n list.style.background = preview.valid ? 'var(--fps-editor-warn-soft)' : 'var(--fps-editor-field)';\n}\n\nfunction applyHierarchyTargetDropPreview(\n doc: Document,\n row: HTMLElement,\n preview: LocalEditorHierarchyDropPreview,\n): void {\n row.dataset.editorHierarchyDropPreview = preview.kind === 'inside' ? 'inside' : preview.placement;\n row.dataset.editorHierarchyDropPreviewValid = preview.valid ? 'true' : 'false';\n if (preview.kind === 'inside') {\n row.appendChild(renderHierarchyInsidePreview(doc, preview));\n return;\n }\n row.appendChild(renderHierarchyInsertionPreview(doc, preview));\n}\n\nfunction createHierarchySearchInput(\n doc: Document,\n value: string,\n placeholder = '搜索 GameObject 名称',\n): HTMLInputElement {\n const input = doc.createElement('input');\n input.type = 'search';\n input.dataset.editorHierarchySearch = 'true';\n input.placeholder = placeholder;\n input.value = value;\n input.style.cssText = [\n createEditorInputStyle(),\n 'width:100%',\n 'height:28px',\n 'margin:0 0 8px',\n 'outline:none',\n ].join(';');\n return input;\n}\n\nfunction renderHierarchyRow(\n doc: Document,\n rowModel: HierarchyRowPresentation,\n rename: { id: string; value: string } | null,\n): HTMLButtonElement {\n const { node } = rowModel;\n const isRenaming = rename?.id === node.id;\n const canHaveChildren = node.canHaveChildren && node.editorLocked !== true;\n const button = createTreeViewItem(doc, {\n id: node.id,\n label: node.label,\n depth: rowModel.depth,\n role: rowModel.role,\n selected: rowModel.selected,\n active: rowModel.active,\n locked: node.editorLocked,\n protected: false,\n selectable: node.selectable,\n enabled: rowModel.enabled,\n draggable: node.draggable,\n dropPlacement: null,\n });\n button.dataset.editorHierarchyCanHaveChildren = canHaveChildren ? 'true' : 'false';\n button.title = node.label;\n appendDisclosure(doc, button, rowModel);\n appendEnabledToggle(doc, button, rowModel);\n appendRoleBadge(doc, button, rowModel);\n if (isRenaming) appendRenameInput(doc, button, node, rename.value);\n else appendLabel(doc, button, rowModel);\n return button;\n}\n\nfunction appendEnabledToggle(\n doc: Document,\n button: HTMLButtonElement,\n rowModel: HierarchyRowPresentation,\n): void {\n const { node } = rowModel;\n if (typeof rowModel.enabled !== 'boolean') {\n const spacer = doc.createElement('span');\n spacer.style.cssText = 'width:18px;height:18px;flex:0 0 18px';\n button.appendChild(spacer);\n return;\n }\n const enabled = rowModel.enabled !== false;\n const toggle = doc.createElement('span');\n toggle.dataset.editorHierarchyEnabledToggle = node.id;\n toggle.dataset.editorHierarchyEnabled = enabled ? 'true' : 'false';\n const disabled = !rowModel.canToggleEnabled;\n toggle.dataset.editorHierarchyEnabledToggleDisabled = disabled ? 'true' : 'false';\n toggle.title = disabled\n ? 'This hierarchy item cannot be hidden.'\n : `${enabled ? 'Hide' : 'Show'} ${node.label}`;\n toggle.style.cssText = [\n 'width:18px',\n 'height:18px',\n 'flex:0 0 18px',\n 'display:inline-flex',\n 'align-items:center',\n 'justify-content:center',\n 'padding:0',\n 'border:1px solid transparent',\n 'border-radius:3px',\n 'background:transparent',\n `color:${enabled ? 'var(--fps-editor-muted-strong)' : 'var(--fps-editor-muted)'}`,\n `opacity:${disabled ? '0.45' : '1'}`,\n `cursor:${disabled ? 'not-allowed' : 'pointer'}`,\n ].join(';');\n toggle.appendChild(createLocalEditorIcon(doc, enabled ? 'eye' : 'eye-off', { size: 13, strokeWidth: 2.2 }));\n button.appendChild(toggle);\n}\n\nfunction renderHierarchyInsertionPreview(\n doc: Document,\n preview: LocalEditorHierarchyDropPreview,\n): HTMLDivElement {\n const line = doc.createElement('div');\n line.dataset.editorHierarchyInsertionPreview = 'true';\n line.dataset.editorHierarchyDropPreview = preview.placement;\n line.dataset.editorHierarchyDropPreviewValid = preview.valid ? 'true' : 'false';\n line.style.cssText = [\n 'position:absolute',\n 'left:0',\n 'right:0',\n preview.placement === 'before' ? 'top:-5px' : 'bottom:-5px',\n 'height:10px',\n 'pointer-events:none',\n 'z-index:4',\n ].join(';');\n const anchor = doc.createElement('span');\n anchor.style.cssText = [\n 'position:absolute',\n `left:${Math.max(2, 2 + preview.depth * 16)}px`,\n 'top:2px',\n 'width:6px',\n 'height:6px',\n 'border-radius:50%',\n `background:${preview.valid ? 'var(--fps-editor-warn-strong)' : 'var(--fps-editor-muted)'}`,\n `box-shadow:${preview.valid ? '0 0 0 2px rgba(0,0,0,0.35), 0 0 10px rgba(255,193,7,0.55)' : '0 0 0 2px rgba(0,0,0,0.25)'}`,\n ].join(';');\n const rule = doc.createElement('span');\n rule.style.cssText = [\n 'position:absolute',\n `left:${8 + preview.depth * 16}px`,\n 'right:4px',\n 'top:4px',\n 'height:3px',\n `background:${preview.valid ? 'var(--fps-editor-warn-strong)' : 'var(--fps-editor-muted)'}`,\n `opacity:${preview.valid ? '1' : '0.6'}`,\n `box-shadow:${preview.valid ? '0 0 0 1px rgba(0,0,0,0.25), 0 0 12px rgba(255,193,7,0.42)' : '0 0 0 1px rgba(0,0,0,0.18)'}`,\n ].join(';');\n line.appendChild(anchor);\n line.appendChild(rule);\n return line;\n}\n\nfunction renderHierarchyInsidePreview(\n doc: Document,\n preview: LocalEditorHierarchyDropPreview,\n): HTMLDivElement {\n const overlay = doc.createElement('div');\n overlay.dataset.editorHierarchyInsidePreview = 'true';\n overlay.dataset.editorHierarchyDropPreview = 'inside';\n overlay.dataset.editorHierarchyDropPreviewValid = preview.valid ? 'true' : 'false';\n overlay.style.cssText = [\n 'position:absolute',\n 'inset:0',\n 'pointer-events:none',\n 'z-index:1',\n `border:1px solid ${preview.valid ? 'var(--fps-editor-drop-target)' : 'var(--fps-editor-muted)'}`,\n `box-shadow:${preview.valid ? 'inset 4px 0 0 var(--fps-editor-drop-target), 0 0 0 1px rgba(255,255,255,0.08), 0 0 14px rgba(255,193,7,0.24)' : 'inset 4px 0 0 var(--fps-editor-muted)'}`,\n `background:${preview.valid ? 'rgba(255,193,7,0.09)' : 'rgba(255,255,255,0.04)'}`,\n ].join(';');\n return overlay;\n}\n\nfunction clearHierarchyDropPreviewDom(list: HTMLElement): void {\n list.style.boxShadow = '';\n list.style.background = '';\n delete list.dataset.editorHierarchyDropPreview;\n delete list.dataset.editorHierarchyDropPreviewValid;\n for (const preview of list.querySelectorAll<HTMLElement>('[data-editor-hierarchy-insertion-preview],[data-editor-hierarchy-inside-preview]')) {\n preview.remove();\n }\n for (const row of list.querySelectorAll<HTMLElement>('[data-editor-hierarchy-drop-preview]')) {\n delete row.dataset.editorHierarchyDropPreview;\n delete row.dataset.editorHierarchyDropPreviewValid;\n }\n}\n\nfunction findHierarchyPreviewRow(panel: HTMLElement, targetId: string | null): HTMLElement | null {\n if (!targetId) return null;\n for (const row of panel.querySelectorAll<HTMLElement>('[data-editor-hierarchy-id]')) {\n if (row.dataset.editorHierarchyId === targetId) return row;\n }\n return null;\n}\n\nfunction appendDisclosure(doc: Document, parent: HTMLElement, rowModel: HierarchyRowPresentation): void {\n const { node } = rowModel;\n const disclosure = doc.createElement('span');\n if (rowModel.childCount > 0) disclosure.dataset.editorHierarchyToggle = node.id;\n disclosure.style.cssText = [\n 'width:12px',\n 'flex:0 0 12px',\n 'display:inline-flex',\n 'align-items:center',\n 'justify-content:center',\n 'color:var(--fps-editor-muted)',\n 'font-size:10px',\n ].join(';');\n if (rowModel.childCount > 0) {\n disclosure.appendChild(createLocalEditorIcon(doc, rowModel.expanded ? 'chevron-down' : 'chevron-right', {\n size: 12,\n strokeWidth: 2.4,\n }));\n }\n parent.appendChild(disclosure);\n}\n\nfunction appendRoleBadge(doc: Document, parent: HTMLElement, rowModel: HierarchyRowPresentation): void {\n const { node } = rowModel;\n const badge = doc.createElement('span');\n const icon = isLocalEditorIconName(node.icon) ? node.icon : HIERARCHY_ROLE_ICONS[rowModel.role];\n const isMaterialSlot = icon === 'material-slot';\n const isPrefab = icon === 'prefab';\n badge.title = isMaterialSlot ? 'material slot' : isPrefab ? 'prefab' : rowModel.role;\n badge.style.cssText = [\n 'width:15px',\n 'height:15px',\n 'flex:0 0 15px',\n 'display:inline-flex',\n 'align-items:center',\n 'justify-content:center',\n 'border:1px solid var(--fps-editor-border)',\n 'border-radius:2px',\n `background:${isMaterialSlot ? 'var(--fps-editor-warn-soft)' : rowModel.role === 'root' ? 'var(--fps-editor-role-root-bg)' : rowModel.role === 'group' ? 'var(--fps-editor-role-group-bg)' : 'var(--fps-editor-role-object-bg)'}`,\n `border-color:${isMaterialSlot ? 'var(--fps-editor-warn-border)' : 'var(--fps-editor-border)'}`,\n `color:${isMaterialSlot ? 'var(--fps-editor-warn-strong)' : 'var(--fps-editor-muted-strong)'}`,\n 'font-size:9px',\n 'font-weight:900',\n ].join(';');\n badge.appendChild(createLocalEditorIcon(doc, icon, { size: 11, strokeWidth: 2.3 }));\n parent.appendChild(badge);\n}\n\nfunction appendLabel(doc: Document, parent: HTMLElement, rowModel: HierarchyRowPresentation): void {\n const { node } = rowModel;\n const label = doc.createElement('span');\n label.textContent = node.editorLocked ? `${node.label} [locked]` : node.label;\n label.style.cssText = 'min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap';\n parent.appendChild(label);\n}\n\nfunction appendRenameInput(\n doc: Document,\n parent: HTMLElement,\n node: HierarchyNodeSnapshot,\n value: string,\n): void {\n const input = doc.createElement('input');\n input.dataset.editorHierarchyRenameInput = node.id;\n input.value = value;\n input.style.cssText = [\n 'min-width:0',\n 'flex:1',\n 'height:22px',\n 'box-sizing:border-box',\n 'border:1px solid var(--fps-editor-accent-strong)',\n 'border-radius:2px',\n 'background:var(--fps-editor-field)',\n 'color:var(--fps-editor-text-strong)',\n 'font-size:12px',\n 'font-weight:700',\n 'padding:2px 5px',\n 'outline:none',\n ].join(';');\n parent.appendChild(input);\n setTimeout(() => {\n // A kernel-driven draft render may already have restored focus and caret\n // onto this replacement input. Only select all for the initial rename.\n if (doc.activeElement === input) return;\n input.focus();\n input.select();\n }, 0);\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const LOCAL_EDITOR_ICON_NAMES: readonly ["asset", "arrange", "camera", "chevron-down", "chevron-right", "copy", "discard", "execute", "eye", "eye-off", "group", "grid", "help", "hierarchy", "history", "inspector", "local", "lock", "material-slot", "move", "object", "performance", "prefab", "place-ground", "place-off", "place-surface", "projection-ortho", "projection-perspective", "plus", "redo", "root", "rotate", "save", "scale", "select", "snap", "status", "theme", "trash", "undo", "view-front", "view-overlay", "view-perspective", "view-right", "view-top", "warning", "measure", "world"];
|
|
1
|
+
export declare const LOCAL_EDITOR_ICON_NAMES: readonly ["asset", "arrange", "camera", "chevron-down", "chevron-right", "copy", "discard", "execute", "eye", "eye-off", "group", "grid", "help", "hierarchy", "history", "inspector", "local", "link", "lock", "material-slot", "move", "object", "performance", "prefab", "place-ground", "place-off", "place-surface", "projection-ortho", "projection-perspective", "plus", "redo", "root", "rotate", "save", "scale", "select", "snap", "status", "theme", "trash", "undo", "view-front", "view-overlay", "view-perspective", "view-right", "view-top", "warning", "measure", "world"];
|
|
2
2
|
export type LocalEditorIconName = typeof LOCAL_EDITOR_ICON_NAMES[number];
|
|
3
3
|
export interface LocalEditorIconOptions {
|
|
4
4
|
size?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-ui-icons.d.ts","sourceRoot":"","sources":["../src/local-editor-ui-icons.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"local-editor-ui-icons.d.ts","sourceRoot":"","sources":["../src/local-editor-ui-icons.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,6jBAkD1B,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,OAAO,uBAAuB,CAAC,MAAM,CAAC,CAAC;AAEzE,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAoOD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,mBAAmB,CAElF;AAED,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,OAAO,EACd,QAAQ,GAAE,mBAA8B,GACvC,mBAAmB,CAErB;AAED,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,QAAQ,EACb,IAAI,EAAE,mBAAmB,EACzB,OAAO,GAAE,sBAA2B,GACnC,eAAe,CAuCjB"}
|
|
@@ -16,6 +16,7 @@ export const LOCAL_EDITOR_ICON_NAMES = [
|
|
|
16
16
|
'history',
|
|
17
17
|
'inspector',
|
|
18
18
|
'local',
|
|
19
|
+
'link',
|
|
19
20
|
'lock',
|
|
20
21
|
'material-slot',
|
|
21
22
|
'move',
|
|
@@ -123,6 +124,10 @@ const LOCAL_EDITOR_ICON_DEFINITIONS = {
|
|
|
123
124
|
{ tag: 'circle', attrs: { cx: '12', cy: '12', r: '3' } },
|
|
124
125
|
{ tag: 'path', attrs: { d: 'M12 3v3M12 18v3M3 12h3M18 12h3' } },
|
|
125
126
|
],
|
|
127
|
+
link: [
|
|
128
|
+
{ tag: 'path', attrs: { d: 'M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71' } },
|
|
129
|
+
{ tag: 'path', attrs: { d: 'M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71' } },
|
|
130
|
+
],
|
|
126
131
|
lock: [
|
|
127
132
|
{ tag: 'rect', attrs: { x: '6', y: '10', width: '12', height: '9', rx: '2' } },
|
|
128
133
|
{ tag: 'path', attrs: { d: 'M9 10V7a3 3 0 0 1 6 0v3' } },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-ui-icons.js","sourceRoot":"","sources":["../src/local-editor-ui-icons.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,OAAO;IACP,SAAS;IACT,QAAQ;IACR,cAAc;IACd,eAAe;IACf,MAAM;IACN,SAAS;IACT,SAAS;IACT,KAAK;IACL,SAAS;IACT,OAAO;IACP,MAAM;IACN,MAAM;IACN,WAAW;IACX,SAAS;IACT,WAAW;IACX,OAAO;IACP,MAAM;IACN,eAAe;IACf,MAAM;IACN,QAAQ;IACR,aAAa;IACb,QAAQ;IACR,cAAc;IACd,WAAW;IACX,eAAe;IACf,kBAAkB;IAClB,wBAAwB;IACxB,MAAM;IACN,MAAM;IACN,MAAM;IACN,QAAQ;IACR,MAAM;IACN,OAAO;IACP,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;IACP,MAAM;IACN,YAAY;IACZ,cAAc;IACd,kBAAkB;IAClB,YAAY;IACZ,UAAU;IACV,SAAS;IACT,SAAS;IACT,OAAO;CACC,CAAC;AAgBX,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAS,uBAAuB,CAAC,CAAC;AAEvE,MAAM,6BAA6B,GAAG;IACpC,KAAK,EAAE;QACL,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,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EAAE,CAAC;YACtD,OAAO,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QACnC,CAAC;QACD,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;IAED,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACtB,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["export const LOCAL_EDITOR_ICON_NAMES = [\n 'asset',\n 'arrange',\n 'camera',\n 'chevron-down',\n 'chevron-right',\n 'copy',\n 'discard',\n 'execute',\n 'eye',\n 'eye-off',\n 'group',\n 'grid',\n 'help',\n 'hierarchy',\n 'history',\n 'inspector',\n 'local',\n 'lock',\n 'material-slot',\n 'move',\n 'object',\n 'performance',\n 'prefab',\n 'place-ground',\n 'place-off',\n 'place-surface',\n 'projection-ortho',\n 'projection-perspective',\n 'plus',\n 'redo',\n 'root',\n 'rotate',\n 'save',\n 'scale',\n 'select',\n 'snap',\n 'status',\n 'theme',\n 'trash',\n 'undo',\n 'view-front',\n 'view-overlay',\n 'view-perspective',\n 'view-right',\n 'view-top',\n 'warning',\n 'measure',\n 'world',\n] as const;\n\nexport type LocalEditorIconName = typeof LOCAL_EDITOR_ICON_NAMES[number];\n\nexport interface LocalEditorIconOptions {\n size?: number;\n strokeWidth?: number;\n}\n\ntype LocalEditorIconElement =\n | { tag: 'circle'; attrs: Record<string, string> }\n | { tag: 'line'; attrs: Record<string, string> }\n | { tag: 'path'; attrs: Record<string, string> }\n | { tag: 'polyline'; attrs: Record<string, string> }\n | { tag: 'rect'; attrs: Record<string, string> };\n\nconst LOCAL_EDITOR_ICON_SET = new Set<string>(LOCAL_EDITOR_ICON_NAMES);\n\nconst LOCAL_EDITOR_ICON_DEFINITIONS = {\n asset: [\n { tag: 'rect', attrs: { x: '4', y: '5', width: '16', height: '14', rx: '2' } },\n { tag: 'path', attrs: { d: 'M8 9h8M8 13h5' } },\n { tag: 'path', attrs: { d: 'M7 19l5-4 5 4' } },\n ],\n arrange: [\n { tag: 'path', attrs: { d: 'M5 6h14M8 6v12M16 6v12M5 18h14' } },\n { tag: 'path', attrs: { d: 'M10 10h4M9 14h6' } },\n ],\n camera: [\n { tag: 'path', attrs: { d: 'M4 8.5A2.5 2.5 0 0 1 6.5 6h2l1.5-2h4l1.5 2h2A2.5 2.5 0 0 1 20 8.5v7A2.5 2.5 0 0 1 17.5 18h-11A2.5 2.5 0 0 1 4 15.5z' } },\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '3' } },\n ],\n 'chevron-down': [\n { tag: 'polyline', attrs: { points: '7 10 12 15 17 10' } },\n ],\n 'chevron-right': [\n { tag: 'polyline', attrs: { points: '10 7 15 12 10 17' } },\n ],\n copy: [\n { tag: 'rect', attrs: { x: '8', y: '8', width: '11', height: '11', rx: '2' } },\n { tag: 'path', attrs: { d: 'M5 15H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v1' } },\n ],\n discard: [\n { tag: 'path', attrs: { d: 'M6 6l12 12M18 6L6 18' } },\n { tag: 'path', attrs: { d: 'M5 12a7 7 0 0 1 7-7 7 7 0 0 1 5.2 2.3M19 12a7 7 0 0 1-7 7 7 7 0 0 1-5.2-2.3' } },\n ],\n execute: [\n { tag: 'path', attrs: { d: 'M8 5l10 7-10 7z' } },\n ],\n eye: [\n { tag: 'path', attrs: { d: 'M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12z' } },\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '3' } },\n ],\n 'eye-off': [\n { tag: 'path', attrs: { d: 'M3 3l18 18' } },\n { tag: 'path', attrs: { d: 'M10.6 10.6A3 3 0 0 0 13.4 13.4' } },\n { tag: 'path', attrs: { d: 'M9.9 5.2A10.6 10.6 0 0 1 12 5c6.5 0 10 7 10 7a17.8 17.8 0 0 1-3.2 4.2' } },\n { tag: 'path', attrs: { d: 'M6.1 6.1C3.5 7.8 2 12 2 12s3.5 7 10 7a10.4 10.4 0 0 0 4.1-.8' } },\n ],\n group: [\n { tag: 'rect', attrs: { x: '5', y: '5', width: '7', height: '7', rx: '1.5' } },\n { tag: 'rect', attrs: { x: '12', y: '12', width: '7', height: '7', rx: '1.5' } },\n { tag: 'path', attrs: { d: 'M8.5 12v3.5H12M12 8.5h3.5V12' } },\n ],\n grid: [\n { tag: 'path', attrs: { d: 'M4 8h16M4 12h16M4 16h16' } },\n { tag: 'path', attrs: { d: 'M8 4v16M12 4v16M16 4v16' } },\n ],\n help: [\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '9' } },\n { tag: 'path', attrs: { d: 'M9.8 9.4a2.4 2.4 0 0 1 4.4 1.3c0 1.7-1.9 2.1-2.2 3.4' } },\n { tag: 'line', attrs: { x1: '12', y1: '17', x2: '12.01', y2: '17' } },\n ],\n hierarchy: [\n { tag: 'path', attrs: { d: 'M12 5v5M6 14v-3h12v3' } },\n { tag: 'rect', attrs: { x: '9', y: '3', width: '6', height: '4', rx: '1' } },\n { tag: 'rect', attrs: { x: '3', y: '14', width: '6', height: '5', rx: '1' } },\n { tag: 'rect', attrs: { x: '15', y: '14', width: '6', height: '5', rx: '1' } },\n ],\n history: [\n { tag: 'path', attrs: { d: 'M5 7v5h5' } },\n { tag: 'path', attrs: { d: 'M5.8 15.4A7 7 0 1 0 5 7' } },\n { tag: 'path', attrs: { d: 'M12 8v4l3 2' } },\n ],\n inspector: [\n { tag: 'rect', attrs: { x: '5', y: '4', width: '14', height: '16', rx: '2' } },\n { tag: 'path', attrs: { d: 'M9 8h6M9 12h6M9 16h3' } },\n ],\n local: [\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '3' } },\n { tag: 'path', attrs: { d: 'M12 3v3M12 18v3M3 12h3M18 12h3' } },\n ],\n lock: [\n { tag: 'rect', attrs: { x: '6', y: '10', width: '12', height: '9', rx: '2' } },\n { tag: 'path', attrs: { d: 'M9 10V7a3 3 0 0 1 6 0v3' } },\n ],\n 'material-slot': [\n { tag: 'rect', attrs: { x: '5', y: '5', width: '9', height: '9', rx: '1.5' } },\n { tag: 'path', attrs: { d: 'M14 7l5 5-7 7H7v-5z' } },\n { tag: 'path', attrs: { d: 'M8 8h3M8 11h2' } },\n { tag: 'circle', attrs: { cx: '17.5', cy: '17.5', r: '1.4' } },\n ],\n move: [\n { tag: 'path', attrs: { d: 'M12 3v18M3 12h18' } },\n { tag: 'path', attrs: { d: 'M12 3l-3 3M12 3l3 3M12 21l-3-3M12 21l3-3M3 12l3-3M3 12l3 3M21 12l-3-3M21 12l-3 3' } },\n ],\n object: [\n { tag: 'path', attrs: { d: 'M12 3l7 4v9l-7 4-7-4V7z' } },\n { tag: 'path', attrs: { d: 'M5 7l7 4 7-4M12 11v9' } },\n ],\n prefab: [\n { tag: 'path', attrs: { d: 'M12 3l7 4v8l-7 4-7-4V7z' } },\n { tag: 'path', attrs: { d: 'M5 7l7 4 7-4M12 11v8' } },\n { tag: 'rect', attrs: { x: '14.5', y: '13.5', width: '5', height: '5', rx: '1' } },\n { tag: 'path', attrs: { d: 'M16 16h2M17 15v2' } },\n ],\n performance: [\n { tag: 'path', attrs: { d: 'M4 17a8 8 0 1 1 16 0' } },\n { tag: 'path', attrs: { d: 'M12 17l4-7' } },\n { tag: 'path', attrs: { d: 'M8 17h8' } },\n { tag: 'path', attrs: { d: 'M7 13h1M12 9v1M17 13h-1' } },\n ],\n 'place-ground': [\n { tag: 'path', attrs: { d: 'M4 18h16' } },\n { tag: 'path', attrs: { d: 'M12 4v10' } },\n { tag: 'path', attrs: { d: 'M8 10l4 4 4-4' } },\n ],\n 'place-off': [\n { tag: 'path', attrs: { d: 'M4 18h16M12 4v10M8 10l4 4 4-4' } },\n { tag: 'path', attrs: { d: 'M5 5l14 14' } },\n ],\n 'place-surface': [\n { tag: 'path', attrs: { d: 'M4 16l5-5 4 4 7-7' } },\n { tag: 'path', attrs: { d: 'M12 4v10M8 10l4 4 4-4' } },\n ],\n 'projection-ortho': [\n { tag: 'rect', attrs: { x: '5', y: '5', width: '14', height: '14', rx: '1.5' } },\n { tag: 'path', attrs: { d: 'M8 8h8v8H8z' } },\n ],\n 'projection-perspective': [\n { tag: 'path', attrs: { d: 'M4 18l8-12 8 12z' } },\n { tag: 'path', attrs: { d: 'M8 18l4-6 4 6M12 6v6' } },\n ],\n plus: [\n { tag: 'path', attrs: { d: 'M12 5v14M5 12h14' } },\n ],\n redo: [\n { tag: 'path', attrs: { d: 'M19 7v6h-6' } },\n { tag: 'path', attrs: { d: 'M18 13a6 6 0 1 1-1.7-4.2L19 11' } },\n ],\n root: [\n { tag: 'circle', attrs: { cx: '12', cy: '5', r: '2' } },\n { tag: 'path', attrs: { d: 'M12 7v11M7 12h10' } },\n { tag: 'circle', attrs: { cx: '7', cy: '18', r: '2' } },\n { tag: 'circle', attrs: { cx: '17', cy: '18', r: '2' } },\n ],\n rotate: [\n { tag: 'path', attrs: { d: 'M18 8a7 7 0 1 0 1.3 6.1' } },\n { tag: 'path', attrs: { d: 'M18 4v4h-4' } },\n ],\n save: [\n { tag: 'path', attrs: { d: 'M5 4h12l2 2v15H5z' } },\n { tag: 'path', attrs: { d: 'M8 4v6h9M8 21v-6h8v6' } },\n ],\n scale: [\n { tag: 'path', attrs: { d: 'M4 14v6h6M20 10V4h-6' } },\n { tag: 'path', attrs: { d: 'M20 4l-7 7M4 20l7-7' } },\n ],\n select: [\n { tag: 'path', attrs: { d: 'M5 4l10 10-5 1.5L8.5 20z' } },\n ],\n snap: [\n { tag: 'path', attrs: { d: 'M8 4v6a4 4 0 0 0 8 0V4' } },\n { tag: 'path', attrs: { d: 'M8 8h4M16 8h-4M8 4h4M16 4h-4M12 14v6' } },\n ],\n status: [\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '9' } },\n { tag: 'path', attrs: { d: 'M12 8v5' } },\n { tag: 'line', attrs: { x1: '12', y1: '16', x2: '12.01', y2: '16' } },\n ],\n warning: [\n { tag: 'path', attrs: { d: 'M12 3L2.8 20h18.4z' } },\n { tag: 'path', attrs: { d: 'M12 9v5' } },\n { tag: 'line', attrs: { x1: '12', y1: '17', x2: '12.01', y2: '17' } },\n ],\n theme: [\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '9' } },\n { tag: 'path', attrs: { d: 'M12 3v18' } },\n { tag: 'path', attrs: { d: 'M12 5a7 7 0 0 1 0 14' } },\n ],\n trash: [\n { tag: 'path', attrs: { d: 'M4 7h16' } },\n { tag: 'path', attrs: { d: 'M10 11v6M14 11v6' } },\n { tag: 'path', attrs: { d: 'M6 7l1 14h10l1-14M9 7V4h6v3' } },\n ],\n undo: [\n { tag: 'path', attrs: { d: 'M5 7v6h6' } },\n { tag: 'path', attrs: { d: 'M6 13a6 6 0 1 0 1.7-4.2L5 11' } },\n ],\n 'view-front': [\n { tag: 'rect', attrs: { x: '5', y: '6', width: '14', height: '12', rx: '1.5' } },\n { tag: 'path', attrs: { d: 'M8 9h8M8 15h8M12 6v12' } },\n ],\n 'view-overlay': [\n { tag: 'path', attrs: { d: 'M12 3l7 4v10l-7 4-7-4V7z' } },\n { tag: 'path', attrs: { d: 'M5 7l7 4 7-4M5 17l7-4 7 4' } },\n { tag: 'circle', attrs: { cx: '12', cy: '13', r: '1.5' } },\n ],\n 'view-perspective': [\n { tag: 'path', attrs: { d: 'M4 17l8-10 8 10' } },\n { tag: 'path', attrs: { d: 'M8 17h8M12 7v10' } },\n ],\n 'view-right': [\n { tag: 'path', attrs: { d: 'M6 5l12 4v10L6 15z' } },\n { tag: 'path', attrs: { d: 'M6 5v10M18 9v10M6 15l12 4' } },\n ],\n 'view-top': [\n { tag: 'rect', attrs: { x: '5', y: '5', width: '14', height: '14', rx: '1.5' } },\n { tag: 'path', attrs: { d: 'M9 5v14M15 5v14M5 9h14M5 15h14' } },\n ],\n measure: [\n { tag: 'path', attrs: { d: 'M5 17L17 5' } },\n { tag: 'path', attrs: { d: 'M7 19l-2-2 2-2M15 7l2-2 2 2' } },\n { tag: 'path', attrs: { d: 'M9 15l1.5 1.5M12 12l1.5 1.5M15 9l1.5 1.5' } },\n ],\n world: [\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '9' } },\n { tag: 'path', attrs: { d: 'M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18' } },\n ],\n} satisfies Record<LocalEditorIconName, readonly LocalEditorIconElement[]>;\n\nexport function isLocalEditorIconName(value: unknown): value is LocalEditorIconName {\n return typeof value === 'string' && LOCAL_EDITOR_ICON_SET.has(value);\n}\n\nexport function resolveLocalEditorIconName(\n value: unknown,\n fallback: LocalEditorIconName = 'object',\n): LocalEditorIconName {\n return isLocalEditorIconName(value) ? value : fallback;\n}\n\nexport function createLocalEditorIcon(\n doc: Document,\n name: LocalEditorIconName,\n options: LocalEditorIconOptions = {},\n): HTMLSpanElement {\n const resolvedName = resolveLocalEditorIconName(name);\n const size = options.size ?? 14;\n const strokeWidth = options.strokeWidth ?? 2;\n const icon = doc.createElement('span');\n icon.dataset.editorIcon = resolvedName;\n icon.setAttribute('aria-hidden', 'true');\n icon.style.cssText = [\n `width:${size}px`,\n `height:${size}px`,\n `flex:0 0 ${size}px`,\n 'display:inline-flex',\n 'align-items:center',\n 'justify-content:center',\n 'color:currentColor',\n 'pointer-events:none',\n ].join(';');\n\n const svg = doc.createElementNS('http://www.w3.org/2000/svg', 'svg');\n svg.setAttribute('viewBox', '0 0 24 24');\n svg.setAttribute('width', String(size));\n svg.setAttribute('height', String(size));\n svg.setAttribute('fill', 'none');\n svg.setAttribute('stroke', 'currentColor');\n svg.setAttribute('stroke-width', String(strokeWidth));\n svg.setAttribute('stroke-linecap', 'round');\n svg.setAttribute('stroke-linejoin', 'round');\n svg.setAttribute('focusable', 'false');\n\n for (const node of LOCAL_EDITOR_ICON_DEFINITIONS[resolvedName]) {\n const element = doc.createElementNS('http://www.w3.org/2000/svg', node.tag);\n for (const [key, value] of Object.entries(node.attrs)) {\n element.setAttribute(key, value);\n }\n svg.appendChild(element);\n }\n\n icon.appendChild(svg);\n return icon;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"local-editor-ui-icons.js","sourceRoot":"","sources":["../src/local-editor-ui-icons.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,OAAO;IACP,SAAS;IACT,QAAQ;IACR,cAAc;IACd,eAAe;IACf,MAAM;IACN,SAAS;IACT,SAAS;IACT,KAAK;IACL,SAAS;IACT,OAAO;IACP,MAAM;IACN,MAAM;IACN,WAAW;IACX,SAAS;IACT,WAAW;IACX,OAAO;IACP,MAAM;IACN,MAAM;IACN,eAAe;IACf,MAAM;IACN,QAAQ;IACR,aAAa;IACb,QAAQ;IACR,cAAc;IACd,WAAW;IACX,eAAe;IACf,kBAAkB;IAClB,wBAAwB;IACxB,MAAM;IACN,MAAM;IACN,MAAM;IACN,QAAQ;IACR,MAAM;IACN,OAAO;IACP,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;IACP,MAAM;IACN,YAAY;IACZ,cAAc;IACd,kBAAkB;IAClB,YAAY;IACZ,UAAU;IACV,SAAS;IACT,SAAS;IACT,OAAO;CACC,CAAC;AAgBX,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAS,uBAAuB,CAAC,CAAC;AAEvE,MAAM,6BAA6B,GAAG;IACpC,KAAK,EAAE;QACL,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE;QAC9E,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,EAAE,eAAe,EAAE,EAAE;QAC9C,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,EAAE,eAAe,EAAE,EAAE;KAC/C;IACD,OAAO,EAAE;QACP,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE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CAAC;QACD,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;IAED,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACtB,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["export const LOCAL_EDITOR_ICON_NAMES = [\n 'asset',\n 'arrange',\n 'camera',\n 'chevron-down',\n 'chevron-right',\n 'copy',\n 'discard',\n 'execute',\n 'eye',\n 'eye-off',\n 'group',\n 'grid',\n 'help',\n 'hierarchy',\n 'history',\n 'inspector',\n 'local',\n 'link',\n 'lock',\n 'material-slot',\n 'move',\n 'object',\n 'performance',\n 'prefab',\n 'place-ground',\n 'place-off',\n 'place-surface',\n 'projection-ortho',\n 'projection-perspective',\n 'plus',\n 'redo',\n 'root',\n 'rotate',\n 'save',\n 'scale',\n 'select',\n 'snap',\n 'status',\n 'theme',\n 'trash',\n 'undo',\n 'view-front',\n 'view-overlay',\n 'view-perspective',\n 'view-right',\n 'view-top',\n 'warning',\n 'measure',\n 'world',\n] as const;\n\nexport type LocalEditorIconName = typeof LOCAL_EDITOR_ICON_NAMES[number];\n\nexport interface LocalEditorIconOptions {\n size?: number;\n strokeWidth?: number;\n}\n\ntype LocalEditorIconElement =\n | { tag: 'circle'; attrs: Record<string, string> }\n | { tag: 'line'; attrs: Record<string, string> }\n | { tag: 'path'; attrs: Record<string, string> }\n | { tag: 'polyline'; attrs: Record<string, string> }\n | { tag: 'rect'; attrs: Record<string, string> };\n\nconst LOCAL_EDITOR_ICON_SET = new Set<string>(LOCAL_EDITOR_ICON_NAMES);\n\nconst LOCAL_EDITOR_ICON_DEFINITIONS = {\n asset: [\n { tag: 'rect', attrs: { x: '4', y: '5', width: '16', height: '14', rx: '2' } },\n { tag: 'path', attrs: { d: 'M8 9h8M8 13h5' } },\n { tag: 'path', attrs: { d: 'M7 19l5-4 5 4' } },\n ],\n arrange: [\n { tag: 'path', attrs: { d: 'M5 6h14M8 6v12M16 6v12M5 18h14' } },\n { tag: 'path', attrs: { d: 'M10 10h4M9 14h6' } },\n ],\n camera: [\n { tag: 'path', attrs: { d: 'M4 8.5A2.5 2.5 0 0 1 6.5 6h2l1.5-2h4l1.5 2h2A2.5 2.5 0 0 1 20 8.5v7A2.5 2.5 0 0 1 17.5 18h-11A2.5 2.5 0 0 1 4 15.5z' } },\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '3' } },\n ],\n 'chevron-down': [\n { tag: 'polyline', attrs: { points: '7 10 12 15 17 10' } },\n ],\n 'chevron-right': [\n { tag: 'polyline', attrs: { points: '10 7 15 12 10 17' } },\n ],\n copy: [\n { tag: 'rect', attrs: { x: '8', y: '8', width: '11', height: '11', rx: '2' } },\n { tag: 'path', attrs: { d: 'M5 15H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v1' } },\n ],\n discard: [\n { tag: 'path', attrs: { d: 'M6 6l12 12M18 6L6 18' } },\n { tag: 'path', attrs: { d: 'M5 12a7 7 0 0 1 7-7 7 7 0 0 1 5.2 2.3M19 12a7 7 0 0 1-7 7 7 7 0 0 1-5.2-2.3' } },\n ],\n execute: [\n { tag: 'path', attrs: { d: 'M8 5l10 7-10 7z' } },\n ],\n eye: [\n { tag: 'path', attrs: { d: 'M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12z' } },\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '3' } },\n ],\n 'eye-off': [\n { tag: 'path', attrs: { d: 'M3 3l18 18' } },\n { tag: 'path', attrs: { d: 'M10.6 10.6A3 3 0 0 0 13.4 13.4' } },\n { tag: 'path', attrs: { d: 'M9.9 5.2A10.6 10.6 0 0 1 12 5c6.5 0 10 7 10 7a17.8 17.8 0 0 1-3.2 4.2' } },\n { tag: 'path', attrs: { d: 'M6.1 6.1C3.5 7.8 2 12 2 12s3.5 7 10 7a10.4 10.4 0 0 0 4.1-.8' } },\n ],\n group: [\n { tag: 'rect', attrs: { x: '5', y: '5', width: '7', height: '7', rx: '1.5' } },\n { tag: 'rect', attrs: { x: '12', y: '12', width: '7', height: '7', rx: '1.5' } },\n { tag: 'path', attrs: { d: 'M8.5 12v3.5H12M12 8.5h3.5V12' } },\n ],\n grid: [\n { tag: 'path', attrs: { d: 'M4 8h16M4 12h16M4 16h16' } },\n { tag: 'path', attrs: { d: 'M8 4v16M12 4v16M16 4v16' } },\n ],\n help: [\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '9' } },\n { tag: 'path', attrs: { d: 'M9.8 9.4a2.4 2.4 0 0 1 4.4 1.3c0 1.7-1.9 2.1-2.2 3.4' } },\n { tag: 'line', attrs: { x1: '12', y1: '17', x2: '12.01', y2: '17' } },\n ],\n hierarchy: [\n { tag: 'path', attrs: { d: 'M12 5v5M6 14v-3h12v3' } },\n { tag: 'rect', attrs: { x: '9', y: '3', width: '6', height: '4', rx: '1' } },\n { tag: 'rect', attrs: { x: '3', y: '14', width: '6', height: '5', rx: '1' } },\n { tag: 'rect', attrs: { x: '15', y: '14', width: '6', height: '5', rx: '1' } },\n ],\n history: [\n { tag: 'path', attrs: { d: 'M5 7v5h5' } },\n { tag: 'path', attrs: { d: 'M5.8 15.4A7 7 0 1 0 5 7' } },\n { tag: 'path', attrs: { d: 'M12 8v4l3 2' } },\n ],\n inspector: [\n { tag: 'rect', attrs: { x: '5', y: '4', width: '14', height: '16', rx: '2' } },\n { tag: 'path', attrs: { d: 'M9 8h6M9 12h6M9 16h3' } },\n ],\n local: [\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '3' } },\n { tag: 'path', attrs: { d: 'M12 3v3M12 18v3M3 12h3M18 12h3' } },\n ],\n link: [\n { tag: 'path', attrs: { d: 'M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71' } },\n { tag: 'path', attrs: { d: 'M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71' } },\n ],\n lock: [\n { tag: 'rect', attrs: { x: '6', y: '10', width: '12', height: '9', rx: '2' } },\n { tag: 'path', attrs: { d: 'M9 10V7a3 3 0 0 1 6 0v3' } },\n ],\n 'material-slot': [\n { tag: 'rect', attrs: { x: '5', y: '5', width: '9', height: '9', rx: '1.5' } },\n { tag: 'path', attrs: { d: 'M14 7l5 5-7 7H7v-5z' } },\n { tag: 'path', attrs: { d: 'M8 8h3M8 11h2' } },\n { tag: 'circle', attrs: { cx: '17.5', cy: '17.5', r: '1.4' } },\n ],\n move: [\n { tag: 'path', attrs: { d: 'M12 3v18M3 12h18' } },\n { tag: 'path', attrs: { d: 'M12 3l-3 3M12 3l3 3M12 21l-3-3M12 21l3-3M3 12l3-3M3 12l3 3M21 12l-3-3M21 12l-3 3' } },\n ],\n object: [\n { tag: 'path', attrs: { d: 'M12 3l7 4v9l-7 4-7-4V7z' } },\n { tag: 'path', attrs: { d: 'M5 7l7 4 7-4M12 11v9' } },\n ],\n prefab: [\n { tag: 'path', attrs: { d: 'M12 3l7 4v8l-7 4-7-4V7z' } },\n { tag: 'path', attrs: { d: 'M5 7l7 4 7-4M12 11v8' } },\n { tag: 'rect', attrs: { x: '14.5', y: '13.5', width: '5', height: '5', rx: '1' } },\n { tag: 'path', attrs: { d: 'M16 16h2M17 15v2' } },\n ],\n performance: [\n { tag: 'path', attrs: { d: 'M4 17a8 8 0 1 1 16 0' } },\n { tag: 'path', attrs: { d: 'M12 17l4-7' } },\n { tag: 'path', attrs: { d: 'M8 17h8' } },\n { tag: 'path', attrs: { d: 'M7 13h1M12 9v1M17 13h-1' } },\n ],\n 'place-ground': [\n { tag: 'path', attrs: { d: 'M4 18h16' } },\n { tag: 'path', attrs: { d: 'M12 4v10' } },\n { tag: 'path', attrs: { d: 'M8 10l4 4 4-4' } },\n ],\n 'place-off': [\n { tag: 'path', attrs: { d: 'M4 18h16M12 4v10M8 10l4 4 4-4' } },\n { tag: 'path', attrs: { d: 'M5 5l14 14' } },\n ],\n 'place-surface': [\n { tag: 'path', attrs: { d: 'M4 16l5-5 4 4 7-7' } },\n { tag: 'path', attrs: { d: 'M12 4v10M8 10l4 4 4-4' } },\n ],\n 'projection-ortho': [\n { tag: 'rect', attrs: { x: '5', y: '5', width: '14', height: '14', rx: '1.5' } },\n { tag: 'path', attrs: { d: 'M8 8h8v8H8z' } },\n ],\n 'projection-perspective': [\n { tag: 'path', attrs: { d: 'M4 18l8-12 8 12z' } },\n { tag: 'path', attrs: { d: 'M8 18l4-6 4 6M12 6v6' } },\n ],\n plus: [\n { tag: 'path', attrs: { d: 'M12 5v14M5 12h14' } },\n ],\n redo: [\n { tag: 'path', attrs: { d: 'M19 7v6h-6' } },\n { tag: 'path', attrs: { d: 'M18 13a6 6 0 1 1-1.7-4.2L19 11' } },\n ],\n root: [\n { tag: 'circle', attrs: { cx: '12', cy: '5', r: '2' } },\n { tag: 'path', attrs: { d: 'M12 7v11M7 12h10' } },\n { tag: 'circle', attrs: { cx: '7', cy: '18', r: '2' } },\n { tag: 'circle', attrs: { cx: '17', cy: '18', r: '2' } },\n ],\n rotate: [\n { tag: 'path', attrs: { d: 'M18 8a7 7 0 1 0 1.3 6.1' } },\n { tag: 'path', attrs: { d: 'M18 4v4h-4' } },\n ],\n save: [\n { tag: 'path', attrs: { d: 'M5 4h12l2 2v15H5z' } },\n { tag: 'path', attrs: { d: 'M8 4v6h9M8 21v-6h8v6' } },\n ],\n scale: [\n { tag: 'path', attrs: { d: 'M4 14v6h6M20 10V4h-6' } },\n { tag: 'path', attrs: { d: 'M20 4l-7 7M4 20l7-7' } },\n ],\n select: [\n { tag: 'path', attrs: { d: 'M5 4l10 10-5 1.5L8.5 20z' } },\n ],\n snap: [\n { tag: 'path', attrs: { d: 'M8 4v6a4 4 0 0 0 8 0V4' } },\n { tag: 'path', attrs: { d: 'M8 8h4M16 8h-4M8 4h4M16 4h-4M12 14v6' } },\n ],\n status: [\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '9' } },\n { tag: 'path', attrs: { d: 'M12 8v5' } },\n { tag: 'line', attrs: { x1: '12', y1: '16', x2: '12.01', y2: '16' } },\n ],\n warning: [\n { tag: 'path', attrs: { d: 'M12 3L2.8 20h18.4z' } },\n { tag: 'path', attrs: { d: 'M12 9v5' } },\n { tag: 'line', attrs: { x1: '12', y1: '17', x2: '12.01', y2: '17' } },\n ],\n theme: [\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '9' } },\n { tag: 'path', attrs: { d: 'M12 3v18' } },\n { tag: 'path', attrs: { d: 'M12 5a7 7 0 0 1 0 14' } },\n ],\n trash: [\n { tag: 'path', attrs: { d: 'M4 7h16' } },\n { tag: 'path', attrs: { d: 'M10 11v6M14 11v6' } },\n { tag: 'path', attrs: { d: 'M6 7l1 14h10l1-14M9 7V4h6v3' } },\n ],\n undo: [\n { tag: 'path', attrs: { d: 'M5 7v6h6' } },\n { tag: 'path', attrs: { d: 'M6 13a6 6 0 1 0 1.7-4.2L5 11' } },\n ],\n 'view-front': [\n { tag: 'rect', attrs: { x: '5', y: '6', width: '14', height: '12', rx: '1.5' } },\n { tag: 'path', attrs: { d: 'M8 9h8M8 15h8M12 6v12' } },\n ],\n 'view-overlay': [\n { tag: 'path', attrs: { d: 'M12 3l7 4v10l-7 4-7-4V7z' } },\n { tag: 'path', attrs: { d: 'M5 7l7 4 7-4M5 17l7-4 7 4' } },\n { tag: 'circle', attrs: { cx: '12', cy: '13', r: '1.5' } },\n ],\n 'view-perspective': [\n { tag: 'path', attrs: { d: 'M4 17l8-10 8 10' } },\n { tag: 'path', attrs: { d: 'M8 17h8M12 7v10' } },\n ],\n 'view-right': [\n { tag: 'path', attrs: { d: 'M6 5l12 4v10L6 15z' } },\n { tag: 'path', attrs: { d: 'M6 5v10M18 9v10M6 15l12 4' } },\n ],\n 'view-top': [\n { tag: 'rect', attrs: { x: '5', y: '5', width: '14', height: '14', rx: '1.5' } },\n { tag: 'path', attrs: { d: 'M9 5v14M15 5v14M5 9h14M5 15h14' } },\n ],\n measure: [\n { tag: 'path', attrs: { d: 'M5 17L17 5' } },\n { tag: 'path', attrs: { d: 'M7 19l-2-2 2-2M15 7l2-2 2 2' } },\n { tag: 'path', attrs: { d: 'M9 15l1.5 1.5M12 12l1.5 1.5M15 9l1.5 1.5' } },\n ],\n world: [\n { tag: 'circle', attrs: { cx: '12', cy: '12', r: '9' } },\n { tag: 'path', attrs: { d: 'M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18' } },\n ],\n} satisfies Record<LocalEditorIconName, readonly LocalEditorIconElement[]>;\n\nexport function isLocalEditorIconName(value: unknown): value is LocalEditorIconName {\n return typeof value === 'string' && LOCAL_EDITOR_ICON_SET.has(value);\n}\n\nexport function resolveLocalEditorIconName(\n value: unknown,\n fallback: LocalEditorIconName = 'object',\n): LocalEditorIconName {\n return isLocalEditorIconName(value) ? value : fallback;\n}\n\nexport function createLocalEditorIcon(\n doc: Document,\n name: LocalEditorIconName,\n options: LocalEditorIconOptions = {},\n): HTMLSpanElement {\n const resolvedName = resolveLocalEditorIconName(name);\n const size = options.size ?? 14;\n const strokeWidth = options.strokeWidth ?? 2;\n const icon = doc.createElement('span');\n icon.dataset.editorIcon = resolvedName;\n icon.setAttribute('aria-hidden', 'true');\n icon.style.cssText = [\n `width:${size}px`,\n `height:${size}px`,\n `flex:0 0 ${size}px`,\n 'display:inline-flex',\n 'align-items:center',\n 'justify-content:center',\n 'color:currentColor',\n 'pointer-events:none',\n ].join(';');\n\n const svg = doc.createElementNS('http://www.w3.org/2000/svg', 'svg');\n svg.setAttribute('viewBox', '0 0 24 24');\n svg.setAttribute('width', String(size));\n svg.setAttribute('height', String(size));\n svg.setAttribute('fill', 'none');\n svg.setAttribute('stroke', 'currentColor');\n svg.setAttribute('stroke-width', String(strokeWidth));\n svg.setAttribute('stroke-linecap', 'round');\n svg.setAttribute('stroke-linejoin', 'round');\n svg.setAttribute('focusable', 'false');\n\n for (const node of LOCAL_EDITOR_ICON_DEFINITIONS[resolvedName]) {\n const element = doc.createElementNS('http://www.w3.org/2000/svg', node.tag);\n for (const [key, value] of Object.entries(node.attrs)) {\n element.setAttribute(key, value);\n }\n svg.appendChild(element);\n }\n\n icon.appendChild(svg);\n return icon;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-ui-input-router.d.ts","sourceRoot":"","sources":["../src/local-editor-ui-input-router.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,+BAA+B,GACvC,SAAS,GACT,WAAW,GACX,YAAY,GACZ,aAAa,GACb,cAAc,GACd,OAAO,GACP,YAAY,GACZ,SAAS,CAAC;AAEd,MAAM,WAAW,+BAA+B;IAC9C,SAAS,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,+BAA+B,CAAC;IACvE,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,GAAG,IAAI,CAAC;IAC7C,gBAAgB,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,OAAO,CAAC;IACtD,eAAe,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC;IACvC,mBAAmB,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,OAAO,CAAC;IACzD,UAAU,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,OAAO,CAAC;IAChD,gBAAgB,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,GAAG,IAAI,CAAC;IACpD,kBAAkB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IACxC,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClD,+BAA+B,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC;IAC5D,4BAA4B,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC;IAC5D,0BAA0B,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC;IAC1D,OAAO,IAAI,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,sCAAsC;IACrD,k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CAAsC;IACrD,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,OAAO,CAAC;CACxD;AAED,wBAAgB,qCAAqC,CACnD,GAAG,EAAE,QAAQ,EACb,OAAO,GAAE,sCAA2C,GACnD,+BAA+B,CA8CjC"}
|
|
@@ -1,23 +1,11 @@
|
|
|
1
1
|
export function createLocalEditorWorkbenchInputRouter(doc, options = {}) {
|
|
2
2
|
const modalOwners = new Set();
|
|
3
3
|
let contextMenuOpen = false;
|
|
4
|
-
const stopPanelWheel = (event) => {
|
|
5
|
-
if (!isUiEvent(event))
|
|
6
|
-
return;
|
|
7
|
-
event.stopPropagation();
|
|
8
|
-
};
|
|
9
4
|
const stopPanelContextMenu = (event) => {
|
|
10
5
|
if (shouldPreventBrowserContextMenu(event))
|
|
11
6
|
event.preventDefault();
|
|
12
7
|
};
|
|
13
|
-
const stopPanelPointer = (event) => {
|
|
14
|
-
if (!isUiEvent(event))
|
|
15
|
-
return;
|
|
16
|
-
event.stopPropagation();
|
|
17
|
-
};
|
|
18
|
-
doc.addEventListener('wheel', stopPanelWheel, { capture: true, passive: true });
|
|
19
8
|
doc.addEventListener('contextmenu', stopPanelContextMenu, { capture: true });
|
|
20
|
-
doc.addEventListener('pointerdown', stopPanelPointer, { capture: true });
|
|
21
9
|
return {
|
|
22
10
|
getRegion,
|
|
23
11
|
getEventTarget,
|
|
@@ -57,9 +45,7 @@ export function createLocalEditorWorkbenchInputRouter(doc, options = {}) {
|
|
|
57
45
|
&& getEventRegion(event) !== 'modal';
|
|
58
46
|
},
|
|
59
47
|
dispose() {
|
|
60
|
-
doc.removeEventListener('wheel', stopPanelWheel, { capture: true });
|
|
61
48
|
doc.removeEventListener('contextmenu', stopPanelContextMenu, { capture: true });
|
|
62
|
-
doc.removeEventListener('pointerdown', stopPanelPointer, { capture: true });
|
|
63
49
|
},
|
|
64
50
|
};
|
|
65
51
|
}
|
|
@@ -108,7 +94,7 @@ function isUiRegion(target) {
|
|
|
108
94
|
|| region === 'modal';
|
|
109
95
|
}
|
|
110
96
|
function shouldPreventBrowserContextMenu(event) {
|
|
111
|
-
return
|
|
97
|
+
return !isEditableEvent(event) && (isEditorOwnedEvent(event) || isEditorContextMenuEvent(event));
|
|
112
98
|
}
|
|
113
99
|
function isEditableTarget(target) {
|
|
114
100
|
const element = toElement(target);
|
|
@@ -146,8 +132,8 @@ function isEditorOwnedEvent(event) {
|
|
|
146
132
|
const region = getEventRegion(event);
|
|
147
133
|
return region !== 'unknown' && region !== 'modal';
|
|
148
134
|
}
|
|
149
|
-
function
|
|
150
|
-
return getEventPath(event).some(
|
|
135
|
+
function isEditorContextMenuEvent(event) {
|
|
136
|
+
return getEventPath(event).some(target => toElement(target)?.closest('[data-editor-context-menu]'));
|
|
151
137
|
}
|
|
152
138
|
function getEventPath(event) {
|
|
153
139
|
const path = typeof event.composedPath === 'function' ? event.composedPath() : [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-ui-input-router.js","sourceRoot":"","sources":["../src/local-editor-ui-input-router.ts"],"names":[],"mappings":"AA8BA,MAAM,UAAU,qCAAqC,CACnD,GAAa,EACb,UAAkD,EAAE;IAEpD,MAAM,WAAW,GAAG,IAAI,GAAG,EAAU,CAAC;IACtC,IAAI,eAAe,GAAG,KAAK,CAAC;IAC5B,MAAM,cAAc,GAAG,CAAC,KAAiB,EAAQ,EAAE;QACjD,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;YAAE,OAAO;QAC9B,KAAK,CAAC,eAAe,EAAE,CAAC;IAC1B,CAAC,CAAC;IACF,MAAM,oBAAoB,GAAG,CAAC,KAAiB,EAAQ,EAAE;QACvD,IAAI,+BAA+B,CAAC,KAAK,CAAC;YAAE,KAAK,CAAC,cAAc,EAAE,CAAC;IACrE,CAAC,CAAC;IACF,MAAM,gBAAgB,GAAG,CAAC,KAAmB,EAAQ,EAAE;QACrD,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;YAAE,OAAO;QAC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CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AAC5C,CAAC;AAED,SAAS,SAAS,CAAC,MAA0B;IAC3C,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IACvD,MAAM,SAAS,GAAG,MAA0B,CAAC;IAC7C,OAAO,SAAS,CAAC,QAAQ,KAAK,CAAC,IAAI,OAAO,SAAS,CAAC,OAAO,KAAK,UAAU;QACxE,CAAC,CAAC,MAAiB;QACnB,CAAC,CAAC,IAAI,CAAC;AACX,CAAC","sourcesContent":["export type LocalEditorWorkbenchInputRegion =\n | 'top-bar'\n | 'left-dock'\n | 'right-dock'\n | 'bottom-dock'\n | 'scene-header'\n | 'modal'\n | 'scene-view'\n | 'unknown';\n\nexport interface LocalEditorWorkbenchInputRouter {\n getRegion(target: EventTarget | null): LocalEditorWorkbenchInputRegion;\n getEventTarget(event: Event): Element | null;\n isEditableTarget(target: EventTarget | null): boolean;\n isEditableEvent(event: Event): boolean;\n isEditorOwnedRegion(target: EventTarget | null): boolean;\n isUiRegion(target: EventTarget | null): boolean;\n claimContextMenu(event: MouseEvent): Element | null;\n setContextMenuOpen(open: boolean): void;\n setModalOpen(open: boolean, owner?: string): void;\n shouldPreventBrowserContextMenu(event: MouseEvent): boolean;\n shouldHandleDocumentShortcut(event: KeyboardEvent): boolean;\n shouldHandleGlobalShortcut(event: KeyboardEvent): boolean;\n dispose(): void;\n}\n\nexport interface LocalEditorWorkbenchInputRouterOptions {\n isShortcutReserved?: (event: KeyboardEvent) => boolean;\n}\n\nexport function createLocalEditorWorkbenchInputRouter(\n doc: Document,\n options: LocalEditorWorkbenchInputRouterOptions = {},\n): LocalEditorWorkbenchInputRouter {\n const modalOwners = new Set<string>();\n let contextMenuOpen = false;\n const stopPanelWheel = (event: WheelEvent): void => {\n if (!isUiEvent(event)) return;\n event.stopPropagation();\n };\n const stopPanelContextMenu = (event: MouseEvent): void => {\n if (shouldPreventBrowserContextMenu(event)) event.preventDefault();\n };\n const stopPanelPointer = (event: PointerEvent): void => {\n if (!isUiEvent(event)) return;\n event.stopPropagation();\n };\n\n doc.addEventListener('wheel', stopPanelWheel, { capture: true, passive: true });\n doc.addEventListener('contextmenu', stopPanelContextMenu, { capture: true });\n doc.addEventListener('pointerdown', stopPanelPointer, { capture: true });\n\n return {\n getRegion,\n getEventTarget,\n isEditableTarget,\n isEditableEvent,\n isEditorOwnedRegion,\n isUiRegion,\n claimContextMenu(event) {\n if (!shouldPreventBrowserContextMenu(event)) return null;\n event.preventDefault();\n event.stopPropagation();\n return getEventTarget(event);\n },\n setContextMenuOpen(open) {\n contextMenuOpen = open;\n },\n setModalOpen(open, owner = 'default') {\n if (open) modalOwners.add(owner);\n else modalOwners.delete(owner);\n },\n shouldPreventBrowserContextMenu,\n shouldHandleDocumentShortcut(event) {\n if (options.isShortcutReserved?.(event)) return false;\n return modalOwners.size === 0 && !contextMenuOpen && getEventRegion(event) !== 'modal';\n },\n shouldHandleGlobalShortcut(event) {\n if (options.isShortcutReserved?.(event)) return false;\n return modalOwners.size === 0\n && !contextMenuOpen\n && !isEditableEvent(event)\n && !isEditableTarget(doc.activeElement)\n && getEventRegion(event) !== 'modal';\n },\n dispose() {\n doc.removeEventListener('wheel', stopPanelWheel, { capture: true });\n doc.removeEventListener('contextmenu', stopPanelContextMenu, { capture: true });\n doc.removeEventListener('pointerdown', stopPanelPointer, { capture: true });\n },\n };\n}\n\nfunction getRegion(target: EventTarget | null): LocalEditorWorkbenchInputRegion {\n const element = toElement(target);\n if (!element) return 'unknown';\n if (element.closest('[data-editor-shortcut-help]')) return 'modal';\n if (element.closest('[data-editor-context-menu]')) return 'modal';\n if (element.closest('[data-editor-hierarchy-attach-dialog]')) return 'modal';\n const region = element.closest<HTMLElement>('[data-editor-workbench-region]')?.dataset.editorWorkbenchRegion;\n if (region === 'scene-toolbar') return 'scene-header';\n if (region === 'top-bar'\n || region === 'left-dock'\n || region === 'right-dock'\n || region === 'bottom-dock'\n || region === 'scene-header'\n || region === 'modal') {\n return region;\n }\n if (element.closest('[data-editor-workbench]')) return 'scene-view';\n return 'unknown';\n}\n\nfunction isEditorOwnedRegion(target: EventTarget | null): boolean {\n const region = getRegion(target);\n return region === 'top-bar'\n || region === 'left-dock'\n || region === 'right-dock'\n || region === 'bottom-dock'\n || region === 'scene-header'\n || region === 'modal'\n || region === 'scene-view';\n}\n\nfunction isUiRegion(target: EventTarget | null): boolean {\n const region = getRegion(target);\n return region === 'top-bar'\n || region === 'left-dock'\n || region === 'right-dock'\n || region === 'bottom-dock'\n || region === 'scene-header'\n || region === 'modal';\n}\n\nfunction shouldPreventBrowserContextMenu(event: MouseEvent): boolean {\n return isEditorOwnedEvent(event) && !isEditableEvent(event);\n}\n\nfunction isEditableTarget(target: EventTarget | null): boolean {\n const element = toElement(target);\n if (!element) return false;\n const editable = element.closest('input, textarea, select, [contenteditable]');\n if (!editable) return false;\n const tagName = editable.tagName.toLowerCase();\n return tagName === 'input'\n || tagName === 'textarea'\n || tagName === 'select'\n || editable.getAttribute('contenteditable') !== 'false';\n}\n\nfunction getEventTarget(event: Event): Element | null {\n for (const target of getEventPath(event)) {\n const element = toElement(target);\n if (element) return element;\n }\n return null;\n}\n\nfunction isEditableEvent(event: Event): boolean {\n return getEventPath(event).some(isEditableTarget);\n}\n\nfunction getEventRegion(event: Event): LocalEditorWorkbenchInputRegion {\n for (const target of getEventPath(event)) {\n const region = getRegion(target);\n if (region !== 'unknown') return region;\n }\n return 'unknown';\n}\n\nfunction isEditorOwnedEvent(event: Event): boolean {\n const region = getEventRegion(event);\n return region !== 'unknown' && region !== 'modal';\n}\n\nfunction isUiEvent(event: Event): boolean {\n return getEventPath(event).some(isUiRegion);\n}\n\nfunction getEventPath(event: Event): readonly EventTarget[] {\n const path = typeof event.composedPath === 'function' ? event.composedPath() : [];\n if (path.length > 0) return path;\n return event.target ? [event.target] : [];\n}\n\nfunction toElement(target: EventTarget | null): Element | null {\n if (!target || typeof target !== 'object') return null;\n const candidate = target as Partial<Element>;\n return candidate.nodeType === 1 && typeof candidate.closest === 'function'\n ? target as Element\n : null;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"local-editor-ui-input-router.js","sourceRoot":"","sources":["../src/local-editor-ui-input-router.ts"],"names":[],"mappings":"AA8BA,MAAM,UAAU,qCAAqC,CACnD,GAAa,EACb,UAAkD,EAAE;IAEpD,MAAM,WAAW,GAAG,IAAI,GAAG,EAAU,CAAC;IACtC,IAAI,eAAe,GAAG,KAAK,CAAC;IAC5B,MAAM,oBAAoB,GAAG,CAAC,KAAiB,EAAQ,EAAE;QACvD,IAAI,+BAA+B,CAAC,KAAK,CAAC;YAAE,KAAK,CAAC,cAAc,EAAE,CAAC;IACrE,CAAC,CAAC;IAEF,GAAG,CAAC,gBAAgB,CAAC,aAAa,EAAE,oBAAoB,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IAE7E,OAAO;QACL,SAAS;QACT,cAAc;QACd,gBAAgB;QAChB,eAAe;QACf,mBAAmB;QACnB,UAAU;QACV,gBAAgB,CAAC,KAAK;YACpB,IAAI,CAAC,+BAA+B,CAAC,KAAK,CAAC;gBAAE,OAAO,IAAI,CAAC;YACzD,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,KAAK,CAAC,eAAe,EAAE,CAAC;YACxB,OAAO,cAAc,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;QACD,kBAAkB,CAAC,IAAI;YACrB,eAAe,GAAG,IAAI,CAAC;QACzB,CAAC;QACD,YAAY,CAAC,IAAI,EAAE,KAAK,GAAG,SAAS;YAClC,IAAI,IAAI;gBAAE,WAAW,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;;gBAC5B,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACjC,CAAC;QACD,+BAA+B;QAC/B,4BAA4B,CAAC,KAAK;YAChC,IAAI,OA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UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAClF,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IACjC,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AAC5C,CAAC;AAED,SAAS,SAAS,CAAC,MAA0B;IAC3C,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IACvD,MAAM,SAAS,GAAG,MAA0B,CAAC;IAC7C,OAAO,SAAS,CAAC,QAAQ,KAAK,CAAC,IAAI,OAAO,SAAS,CAAC,OAAO,KAAK,UAAU;QACxE,CAAC,CAAC,MAAiB;QACnB,CAAC,CAAC,IAAI,CAAC;AACX,CAAC","sourcesContent":["export type LocalEditorWorkbenchInputRegion =\n | 'top-bar'\n | 'left-dock'\n | 'right-dock'\n | 'bottom-dock'\n | 'scene-header'\n | 'modal'\n | 'scene-view'\n | 'unknown';\n\nexport interface LocalEditorWorkbenchInputRouter {\n getRegion(target: EventTarget | null): LocalEditorWorkbenchInputRegion;\n getEventTarget(event: Event): Element | null;\n isEditableTarget(target: EventTarget | null): boolean;\n isEditableEvent(event: Event): boolean;\n isEditorOwnedRegion(target: EventTarget | null): boolean;\n isUiRegion(target: EventTarget | null): boolean;\n claimContextMenu(event: MouseEvent): Element | null;\n setContextMenuOpen(open: boolean): void;\n setModalOpen(open: boolean, owner?: string): void;\n shouldPreventBrowserContextMenu(event: MouseEvent): boolean;\n shouldHandleDocumentShortcut(event: KeyboardEvent): boolean;\n shouldHandleGlobalShortcut(event: KeyboardEvent): boolean;\n dispose(): void;\n}\n\nexport interface LocalEditorWorkbenchInputRouterOptions {\n isShortcutReserved?: (event: KeyboardEvent) => boolean;\n}\n\nexport function createLocalEditorWorkbenchInputRouter(\n doc: Document,\n options: LocalEditorWorkbenchInputRouterOptions = {},\n): LocalEditorWorkbenchInputRouter {\n const modalOwners = new Set<string>();\n let contextMenuOpen = false;\n const stopPanelContextMenu = (event: MouseEvent): void => {\n if (shouldPreventBrowserContextMenu(event)) event.preventDefault();\n };\n\n doc.addEventListener('contextmenu', stopPanelContextMenu, { capture: true });\n\n return {\n getRegion,\n getEventTarget,\n isEditableTarget,\n isEditableEvent,\n isEditorOwnedRegion,\n isUiRegion,\n claimContextMenu(event) {\n if (!shouldPreventBrowserContextMenu(event)) return null;\n event.preventDefault();\n event.stopPropagation();\n return getEventTarget(event);\n },\n setContextMenuOpen(open) {\n contextMenuOpen = open;\n },\n setModalOpen(open, owner = 'default') {\n if (open) modalOwners.add(owner);\n else modalOwners.delete(owner);\n },\n shouldPreventBrowserContextMenu,\n shouldHandleDocumentShortcut(event) {\n if (options.isShortcutReserved?.(event)) return false;\n return modalOwners.size === 0 && !contextMenuOpen && getEventRegion(event) !== 'modal';\n },\n shouldHandleGlobalShortcut(event) {\n if (options.isShortcutReserved?.(event)) return false;\n return modalOwners.size === 0\n && !contextMenuOpen\n && !isEditableEvent(event)\n && !isEditableTarget(doc.activeElement)\n && getEventRegion(event) !== 'modal';\n },\n dispose() {\n doc.removeEventListener('contextmenu', stopPanelContextMenu, { capture: true });\n },\n };\n}\n\nfunction getRegion(target: EventTarget | null): LocalEditorWorkbenchInputRegion {\n const element = toElement(target);\n if (!element) return 'unknown';\n if (element.closest('[data-editor-shortcut-help]')) return 'modal';\n if (element.closest('[data-editor-context-menu]')) return 'modal';\n if (element.closest('[data-editor-hierarchy-attach-dialog]')) return 'modal';\n const region = element.closest<HTMLElement>('[data-editor-workbench-region]')?.dataset.editorWorkbenchRegion;\n if (region === 'scene-toolbar') return 'scene-header';\n if (region === 'top-bar'\n || region === 'left-dock'\n || region === 'right-dock'\n || region === 'bottom-dock'\n || region === 'scene-header'\n || region === 'modal') {\n return region;\n }\n if (element.closest('[data-editor-workbench]')) return 'scene-view';\n return 'unknown';\n}\n\nfunction isEditorOwnedRegion(target: EventTarget | null): boolean {\n const region = getRegion(target);\n return region === 'top-bar'\n || region === 'left-dock'\n || region === 'right-dock'\n || region === 'bottom-dock'\n || region === 'scene-header'\n || region === 'modal'\n || region === 'scene-view';\n}\n\nfunction isUiRegion(target: EventTarget | null): boolean {\n const region = getRegion(target);\n return region === 'top-bar'\n || region === 'left-dock'\n || region === 'right-dock'\n || region === 'bottom-dock'\n || region === 'scene-header'\n || region === 'modal';\n}\n\nfunction shouldPreventBrowserContextMenu(event: MouseEvent): boolean {\n return !isEditableEvent(event) && (isEditorOwnedEvent(event) || isEditorContextMenuEvent(event));\n}\n\nfunction isEditableTarget(target: EventTarget | null): boolean {\n const element = toElement(target);\n if (!element) return false;\n const editable = element.closest('input, textarea, select, [contenteditable]');\n if (!editable) return false;\n const tagName = editable.tagName.toLowerCase();\n return tagName === 'input'\n || tagName === 'textarea'\n || tagName === 'select'\n || editable.getAttribute('contenteditable') !== 'false';\n}\n\nfunction getEventTarget(event: Event): Element | null {\n for (const target of getEventPath(event)) {\n const element = toElement(target);\n if (element) return element;\n }\n return null;\n}\n\nfunction isEditableEvent(event: Event): boolean {\n return getEventPath(event).some(isEditableTarget);\n}\n\nfunction getEventRegion(event: Event): LocalEditorWorkbenchInputRegion {\n for (const target of getEventPath(event)) {\n const region = getRegion(target);\n if (region !== 'unknown') return region;\n }\n return 'unknown';\n}\n\nfunction isEditorOwnedEvent(event: Event): boolean {\n const region = getEventRegion(event);\n return region !== 'unknown' && region !== 'modal';\n}\n\nfunction isEditorContextMenuEvent(event: Event): boolean {\n return getEventPath(event).some(target => toElement(target)?.closest('[data-editor-context-menu]'));\n}\n\nfunction getEventPath(event: Event): readonly EventTarget[] {\n const path = typeof event.composedPath === 'function' ? event.composedPath() : [];\n if (path.length > 0) return path;\n return event.target ? [event.target] : [];\n}\n\nfunction toElement(target: EventTarget | null): Element | null {\n if (!target || typeof target !== 'object') return null;\n const candidate = target as Partial<Element>;\n return candidate.nodeType === 1 && typeof candidate.closest === 'function'\n ? target as Element\n : null;\n}\n"]}
|
|
@@ -8,6 +8,19 @@ export interface LocalEditorModalDialogInput {
|
|
|
8
8
|
confirmLabel?: string;
|
|
9
9
|
cancelLabel?: string;
|
|
10
10
|
}
|
|
11
|
+
export interface LocalEditorModalDialogChoice {
|
|
12
|
+
id: string;
|
|
13
|
+
label: string;
|
|
14
|
+
tone?: LocalEditorModalDialogTone;
|
|
15
|
+
}
|
|
16
|
+
export interface LocalEditorModalDialogChoiceInput {
|
|
17
|
+
title: string;
|
|
18
|
+
message: string;
|
|
19
|
+
details?: string;
|
|
20
|
+
tone?: LocalEditorModalDialogTone;
|
|
21
|
+
choices: readonly LocalEditorModalDialogChoice[];
|
|
22
|
+
cancelLabel?: string;
|
|
23
|
+
}
|
|
11
24
|
export interface LocalEditorModalDialogOptions {
|
|
12
25
|
doc: Document;
|
|
13
26
|
host?: HTMLElement;
|
|
@@ -18,6 +31,7 @@ export interface LocalEditorModalDialogController {
|
|
|
18
31
|
isOpen(): boolean;
|
|
19
32
|
alert(input: LocalEditorModalDialogInput): Promise<void>;
|
|
20
33
|
confirm(input: LocalEditorModalDialogInput): Promise<boolean>;
|
|
34
|
+
choose(input: LocalEditorModalDialogChoiceInput): Promise<string | null>;
|
|
21
35
|
close(): void;
|
|
22
36
|
setTheme(theme: LocalEditorThemeName): void;
|
|
23
37
|
dispose(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-ui-modal-dialog.d.ts","sourceRoot":"","sources":["../src/local-editor-ui-modal-dialog.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,0BAA0B,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpF,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC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