@fps-games/editor 0.2.0-beta.4 → 0.2.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-bridge/capabilities/editor-state.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/editor-state.js +12 -6
- package/dist/agent-bridge/capabilities/editor-state.js.map +1 -1
- package/dist/agent-bridge/capabilities/hierarchy.d.ts +4 -0
- package/dist/agent-bridge/capabilities/hierarchy.d.ts.map +1 -0
- package/dist/agent-bridge/capabilities/hierarchy.js +209 -0
- package/dist/agent-bridge/capabilities/hierarchy.js.map +1 -0
- package/dist/agent-bridge/capabilities/prefabs.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/prefabs.js +208 -73
- package/dist/agent-bridge/capabilities/prefabs.js.map +1 -1
- package/dist/agent-bridge/capabilities/scene-objects.d.ts +3 -4
- package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/scene-objects.js +24 -23
- package/dist/agent-bridge/capabilities/scene-objects.js.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.js +829 -66
- package/dist/agent-bridge/capabilities/shadows.js.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.js +19 -1
- package/dist/agent-bridge/capabilities/ui-regions.js.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.js +22 -9
- package/dist/agent-bridge/capabilities/viewport.js.map +1 -1
- package/dist/agent-bridge/capability-sources.d.ts.map +1 -1
- package/dist/agent-bridge/capability-sources.js +2 -0
- package/dist/agent-bridge/capability-sources.js.map +1 -1
- package/dist/agent-bridge/register.d.ts.map +1 -1
- package/dist/agent-bridge/register.js +194 -0
- package/dist/agent-bridge/register.js.map +1 -1
- package/dist/agent-bridge/shared.d.ts +231 -11
- package/dist/agent-bridge/shared.d.ts.map +1 -1
- package/dist/agent-bridge/shared.js +162 -20
- package/dist/agent-bridge/shared.js.map +1 -1
- package/dist/agent-bridge/source-types.d.ts +17 -1
- package/dist/agent-bridge/source-types.d.ts.map +1 -1
- package/dist/agent-bridge/source-types.js.map +1 -1
- package/dist/build-info.json +57 -42
- package/dist/index.d.ts +7 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/internal/babylon-preview-engine.d.ts +3 -0
- package/dist/internal/babylon-preview-engine.d.ts.map +1 -0
- package/dist/internal/babylon-preview-engine.js +11 -0
- package/dist/internal/babylon-preview-engine.js.map +1 -0
- package/dist/internal/material-preview.d.ts +22 -0
- package/dist/internal/material-preview.d.ts.map +1 -0
- package/dist/internal/material-preview.js +186 -0
- package/dist/internal/material-preview.js.map +1 -0
- package/dist/internal/product-local-editor-cleanup.d.ts +5 -0
- package/dist/internal/product-local-editor-cleanup.d.ts.map +1 -0
- package/dist/internal/product-local-editor-cleanup.js +20 -0
- package/dist/internal/product-local-editor-cleanup.js.map +1 -0
- package/dist/internal/project-model-preview.d.ts +4 -0
- package/dist/internal/project-model-preview.d.ts.map +1 -0
- package/dist/internal/project-model-preview.js +359 -0
- package/dist/internal/project-model-preview.js.map +1 -0
- package/dist/local-editor-agent-actions.d.ts +2 -4
- package/dist/local-editor-agent-actions.d.ts.map +1 -1
- package/dist/local-editor-agent-actions.js +56 -32
- package/dist/local-editor-agent-actions.js.map +1 -1
- package/dist/local-editor-agent-context.d.ts +17 -6
- package/dist/local-editor-agent-context.d.ts.map +1 -1
- package/dist/local-editor-agent-context.js +47 -0
- package/dist/local-editor-agent-context.js.map +1 -1
- package/dist/local-editor-harness.d.ts +353 -35
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +4115 -1313
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-marker-graph.d.ts +15 -15
- package/dist/local-editor-marker-graph.d.ts.map +1 -1
- package/dist/local-editor-marker-graph.js +3 -0
- package/dist/local-editor-marker-graph.js.map +1 -1
- package/dist/local-editor-performance-stats.d.ts +3 -2
- package/dist/local-editor-performance-stats.d.ts.map +1 -1
- package/dist/local-editor-performance-stats.js.map +1 -1
- package/dist/local-editor-prefab-stage-transaction.d.ts +19 -0
- package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -0
- package/dist/local-editor-prefab-stage-transaction.js +45 -0
- package/dist/local-editor-prefab-stage-transaction.js.map +1 -0
- package/dist/local-editor-scene-view-interaction-runtime.d.ts +3 -1
- package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
- package/dist/local-editor-scene-view-interaction-runtime.js +24 -0
- package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
- package/dist/local-editor-tools.d.ts +19 -0
- package/dist/local-editor-tools.d.ts.map +1 -0
- package/dist/local-editor-tools.js +56 -0
- package/dist/local-editor-tools.js.map +1 -0
- package/dist/playable-babylon-rendering.d.ts +9 -0
- package/dist/playable-babylon-rendering.d.ts.map +1 -1
- package/dist/playable-babylon-rendering.js +162 -6
- package/dist/playable-babylon-rendering.js.map +1 -1
- package/dist/playable-local-editor-entry.d.ts +68 -0
- package/dist/playable-local-editor-entry.d.ts.map +1 -0
- package/dist/playable-local-editor-entry.js +424 -0
- package/dist/playable-local-editor-entry.js.map +1 -0
- package/dist/playable-local-editor-host.d.ts +55 -29
- package/dist/playable-local-editor-host.d.ts.map +1 -1
- package/dist/playable-local-editor-host.js +50 -11
- package/dist/playable-local-editor-host.js.map +1 -1
- package/dist/playable-product-local-editor.d.ts +10 -12
- package/dist/playable-product-local-editor.d.ts.map +1 -1
- package/dist/playable-product-local-editor.js +178 -85
- package/dist/playable-product-local-editor.js.map +1 -1
- package/dist/playable-product-projection-preview.d.ts +4 -1
- package/dist/playable-product-projection-preview.d.ts.map +1 -1
- package/dist/playable-product-projection-preview.js +122 -5
- package/dist/playable-product-projection-preview.js.map +1 -1
- package/dist/playable-product-rendering.d.ts +12 -0
- package/dist/playable-product-rendering.d.ts.map +1 -1
- package/dist/playable-product-rendering.js +128 -6
- package/dist/playable-product-rendering.js.map +1 -1
- package/dist/playable-product-scene-capabilities.d.ts +24 -7
- package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
- package/dist/playable-product-scene-capabilities.js +180 -17
- package/dist/playable-product-scene-capabilities.js.map +1 -1
- package/dist/playable-project-mode.d.ts +17 -0
- package/dist/playable-project-mode.d.ts.map +1 -0
- package/dist/playable-project-mode.js +2 -0
- package/dist/playable-project-mode.js.map +1 -0
- package/dist/playable-runtime-babylon.d.ts +3 -6
- package/dist/playable-runtime-babylon.d.ts.map +1 -1
- package/dist/playable-runtime-babylon.js +1 -5
- package/dist/playable-runtime-babylon.js.map +1 -1
- package/dist/playable-sdk.d.ts +16 -9
- package/dist/playable-sdk.d.ts.map +1 -1
- package/dist/playable-sdk.js +6 -4
- package/dist/playable-sdk.js.map +1 -1
- package/dist/playable-standard-project.d.ts +23 -14
- package/dist/playable-standard-project.d.ts.map +1 -1
- package/dist/playable-standard-project.js +57 -20
- package/dist/playable-standard-project.js.map +1 -1
- package/dist/vite-client.d.ts +4 -0
- package/node_modules/@babel/helper-string-parser/lib/index.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -1
- package/node_modules/@babel/parser/lib/index.js +0 -1
- package/node_modules/@babel/types/lib/asserts/assertNode.js +0 -1
- package/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -1
- package/node_modules/@babel/types/lib/builders/productions.js +0 -1
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -1
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -1
- package/node_modules/@babel/types/lib/builders/validateNode.js +0 -1
- package/node_modules/@babel/types/lib/clone/clone.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneNode.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -1
- package/node_modules/@babel/types/lib/comments/addComment.js +0 -1
- package/node_modules/@babel/types/lib/comments/addComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/removeComments.js +0 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/constants/index.js +0 -1
- package/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -1
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -1
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -1
- package/node_modules/@babel/types/lib/converters/toBlock.js +0 -1
- package/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -1
- package/node_modules/@babel/types/lib/converters/toExpression.js +0 -1
- package/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -1
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -1
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -1
- package/node_modules/@babel/types/lib/converters/toStatement.js +0 -1
- package/node_modules/@babel/types/lib/converters/valueToNode.js +0 -1
- package/node_modules/@babel/types/lib/definitions/core.js +0 -1
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -1
- package/node_modules/@babel/types/lib/definitions/experimental.js +0 -1
- package/node_modules/@babel/types/lib/definitions/flow.js +0 -1
- package/node_modules/@babel/types/lib/definitions/index.js +0 -1
- package/node_modules/@babel/types/lib/definitions/jsx.js +0 -1
- package/node_modules/@babel/types/lib/definitions/misc.js +0 -1
- package/node_modules/@babel/types/lib/definitions/placeholders.js +0 -1
- package/node_modules/@babel/types/lib/definitions/typescript.js +0 -1
- package/node_modules/@babel/types/lib/definitions/utils.js +0 -1
- package/node_modules/@babel/types/lib/index.js +0 -1
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -1
- package/node_modules/@babel/types/lib/modifications/inherits.js +0 -1
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -1
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -1
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/traverse/traverse.js +0 -1
- package/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -1
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -1
- package/node_modules/@babel/types/lib/utils/inherit.js +0 -1
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -1
- package/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -1
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/validators/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/validators/is.js +0 -1
- package/node_modules/@babel/types/lib/validators/isBinding.js +0 -1
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -1
- package/node_modules/@babel/types/lib/validators/isImmutable.js +0 -1
- package/node_modules/@babel/types/lib/validators/isLet.js +0 -1
- package/node_modules/@babel/types/lib/validators/isNode.js +0 -1
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -1
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -1
- package/node_modules/@babel/types/lib/validators/isReferenced.js +0 -1
- package/node_modules/@babel/types/lib/validators/isScope.js +0 -1
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -1
- package/node_modules/@babel/types/lib/validators/isType.js +0 -1
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -1
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -1
- package/node_modules/@babel/types/lib/validators/isVar.js +0 -1
- package/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -1
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -1
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -1
- package/node_modules/@babel/types/lib/validators/validate.js +0 -1
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.d.ts +69 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.js +132 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.js +7 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoader.d.ts +14 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoader.js +328 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.d.ts +9 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/BVH/index.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/BVH/index.js +3 -0
- package/node_modules/@babylonjs/loaders/OBJ/index.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/index.js +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.js +230 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.d.ts +136 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.js +317 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.js +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/OBJ/solidParser.d.ts +175 -0
- package/node_modules/@babylonjs/loaders/OBJ/solidParser.js +903 -0
- package/node_modules/@babylonjs/loaders/SPLAT/index.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/SPLAT/index.js +3 -0
- package/node_modules/@babylonjs/loaders/SPLAT/sog.d.ts +84 -0
- package/node_modules/@babylonjs/loaders/SPLAT/sog.js +294 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.d.ts +26 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.js +10 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.d.ts +100 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.js +536 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.d.ts +20 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.js +15 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/SPLAT/spz.d.ts +11 -0
- package/node_modules/@babylonjs/loaders/SPLAT/spz.js +168 -0
- package/node_modules/@babylonjs/loaders/STL/index.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/STL/index.js +1 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.d.ts +78 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.js +238 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.js +7 -0
- package/node_modules/@babylonjs/loaders/bvh/license.md +21 -0
- package/node_modules/@babylonjs/loaders/dynamic.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/dynamic.js +56 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.d.ts +16 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.js +64 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.d.ts +144 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.js +1841 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.d.ts +412 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.js +95 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.d.ts +71 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.js +254 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.d.ts +13 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.js +130 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/index.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/index.js +5 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.js +93 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.js +83 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.d.ts +48 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.js +115 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js +94 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.js +50 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.d.ts +34 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.js +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.js +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.d.ts +53 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.js +73 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.js +251 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.js +77 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.js +92 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.d.ts +355 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js +1678 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.js +19 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.d.ts +3 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.js +3 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.d.ts +70 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js +438 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.d.ts +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.js +150 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.js +91 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.js +65 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.js +79 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.d.ts +49 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.js +119 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.js +58 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.js +69 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.js +56 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.js +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.js +77 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.d.ts +46 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.js +54 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.js +68 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js +80 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.js +73 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.js +76 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.js +303 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.js +66 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.d.ts +112 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.js +262 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.js +82 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.d.ts +45 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.js +109 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.d.ts +29 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.js +22 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.d.ts +31 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.js +189 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.d.ts +30 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.js +123 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.d.ts +30 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.js +66 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.js +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.d.ts +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.js +58 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.js +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.d.ts +56 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.js +228 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.d.ts +104 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.js +337 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.d.ts +27 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.js +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.d.ts +27 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.js +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.js +212 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.d.ts +45 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.js +100 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.js +44 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.d.ts +306 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.js +884 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.d.ts +450 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.js +2485 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.js +79 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.d.ts +165 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.d.ts +25 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.js +32 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.d.ts +262 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/index.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/index.js +9 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.d.ts +364 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.d.ts +674 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.js +1034 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.d.ts +705 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.js +1126 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.d.ts +553 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.js +998 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.d.ts +15 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.js +17 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFValidation.d.ts +35 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFValidation.js +131 -0
- package/node_modules/@babylonjs/loaders/glTF/index.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/glTF/index.js +6 -0
- package/node_modules/@babylonjs/loaders/index.d.ts +6 -0
- package/node_modules/@babylonjs/loaders/index.js +7 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.js +13 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.js +18 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.js +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.js +34 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.js +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.d.ts +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.js +4 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy.js +10 -0
- package/node_modules/@babylonjs/loaders/license.md +71 -0
- package/node_modules/@babylonjs/loaders/package.json +49 -0
- package/node_modules/@babylonjs/loaders/readme.md +23 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts +22 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js +187 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.js +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts +19 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js +212 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +17 -2
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +192 -17
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +139 -3
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts +14 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js +14 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts +59 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js +725 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts +136 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js +2735 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/package.json +7 -7
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts +2 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js +2 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts +2 -0
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +59 -6
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.js +24 -0
- package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js +81 -11
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js +2 -8
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +26 -5
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +396 -363
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts +4 -0
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +76 -10
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.js +85 -22
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts +46 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js +304 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts +87 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +1746 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts +11 -3
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js +105 -15
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +249 -15
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts +25 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js +44 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/package.json +6 -5
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +13 -11
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js +9 -9
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.d.ts +35 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.js +136 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.d.ts +46 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.js +283 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js +36 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +17 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.d.ts +12 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.js +67 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.d.ts +6 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.js +9 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.d.ts +7 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.js +20 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.d.ts +9 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.js +219 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.d.ts +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.js +42 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js +8 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.d.ts +27 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.js +288 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +157 -77
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +27 -21
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +19 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +44 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +36 -6
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +829 -866
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +8 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +1 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts +7 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js +20 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +6 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +266 -114
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +34 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js +3 -17
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js +44 -62
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +30 -8
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +911 -698
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts +10 -37
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js +29 -105
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +29 -110
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +1 -3
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +6 -90
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +9 -54
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts +16 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js +44 -39
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts +4 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js +44 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +35 -44
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js +40 -24
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +2 -20
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +114 -343
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +13 -14
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +120 -134
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +6 -10
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +2019 -861
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.d.ts +13 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.js +15 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts +2 -3
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js +0 -180
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts +5 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js +5 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/package.json +15 -4
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts +22 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js +226 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +94 -2
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +24 -2
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.js +70 -10
- package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts +113 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.js +615 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +46 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.js +62 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +1 -0
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts +11 -2
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.js +12 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.js.map +1 -1
- package/node_modules/@fps-games/editor-core/package.json +14 -6
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js +14 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js +49 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +63 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +48 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js +15 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts +6 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +28 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +314 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js +285 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +7 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +23 -81
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts +41 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js +93 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts +29 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js +77 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts +51 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js +287 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +6 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +53 -17
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +16 -8
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +10 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +5 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +134 -66
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +21 -14
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +17 -9
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +20 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +49 -10
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js +130 -20
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js +12 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js +136 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts +36 -51
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js +40 -65
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +207 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +18 -7
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +110 -18
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js +16 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +22 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.js +86 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.js +76 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.d.ts +34 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +144 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js +241 -13
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js +170 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts +153 -13
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js +1295 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +54 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +57 -34
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +4 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +20 -198
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js +5 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +144 -8
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js +30 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +31 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +40 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +116 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts +17 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js +50 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +101 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts +5 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js +31 -17
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.js +101 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.d.ts +23 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.js +180 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +417 -2
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js +692 -2
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +23 -3
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts +55 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js +2 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +3 -18
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.js +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/package.json +2 -2
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js +5 -0
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/vite.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/vite.js +151 -5
- package/node_modules/@fps-games/editor-tooling/dist/vite.js.map +1 -1
- package/node_modules/@fps-games/editor-tooling/package.json +3 -3
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts +107 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js +770 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts +21 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js +172 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts +14 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js +32 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts +3 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js +746 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts +3 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.js +3 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-ui/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/index.js +5 -0
- package/node_modules/@fps-games/editor-ui/dist/index.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts +7 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js +29 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts +2 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js +95 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts +28 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js +387 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/package.json +23 -0
- package/node_modules/@fps-games/playable-assets/package.json +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/index.js +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.js.map +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts +116 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.js +403 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.js.map +1 -0
- package/node_modules/@fps-games/playable-contracts/package.json +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/index.js +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js +5 -25
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts +61 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js +176 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts +84 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js +362 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts +167 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js +484 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/package.json +2 -2
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts +5 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js.map +1 -1
- package/node_modules/@fps-games/playable-runtime/package.json +12 -12
- package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
- package/node_modules/@fps-games/playable-scene/package.json +2 -2
- package/node_modules/@fps-games/plugin-api/package.json +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-assets/package.json +5 -5
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts +6 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js +16 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts +7 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js +47 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +306 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +1237 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js +32 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/package.json +57 -0
- package/node_modules/@fps-games/plugin-host/package.json +2 -2
- package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-markers/package.json +5 -5
- package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-materials/package.json +5 -5
- package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
- package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-scene/package.json +5 -5
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js +35 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts +11 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js +14 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +53 -0
- package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
- package/node_modules/@playcanvas/observer/LICENSE +19 -0
- package/node_modules/@playcanvas/observer/README.md +72 -0
- package/node_modules/@playcanvas/observer/dist/index.cjs +2033 -0
- package/node_modules/@playcanvas/observer/dist/index.js +2039 -0
- package/node_modules/@playcanvas/observer/dist/index.mjs +2026 -0
- package/node_modules/@playcanvas/observer/package.json +78 -0
- package/node_modules/@playcanvas/observer/types/event-handle.d.ts +41 -0
- package/node_modules/@playcanvas/observer/types/events.d.ts +162 -0
- package/node_modules/@playcanvas/observer/types/history.d.ts +123 -0
- package/node_modules/@playcanvas/observer/types/index.d.ts +15 -0
- package/node_modules/@playcanvas/observer/types/observer-history.d.ts +32 -0
- package/node_modules/@playcanvas/observer/types/observer-list.d.ts +39 -0
- package/node_modules/@playcanvas/observer/types/observer.d.ts +157 -0
- package/node_modules/@playcanvas/observer/types/utils.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/LICENSE +19 -0
- package/node_modules/@playcanvas/pcui/README.md +164 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/Math/color-value.mjs +77 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingBase/index.mjs +215 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/class.mjs +19 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/ArrayInput/index.mjs +498 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/BooleanInput/index.mjs +122 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Button/index.mjs +119 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Canvas/index.mjs +104 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Code/index.mjs +43 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/ColorPicker/index.mjs +619 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Container/index.mjs +642 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Divider/index.mjs +20 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Element/index.mjs +829 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GradientPicker/index.mjs +1136 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GridView/index.mjs +448 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GridViewItem/index.mjs +152 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/InfoBox/index.mjs +90 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/InputElement/index.mjs +186 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Label/index.mjs +124 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/LabelGroup/index.mjs +74 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Menu/index.mjs +174 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/MenuItem/index.mjs +223 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/NumericInput/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Overlay/index.mjs +108 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Panel/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Progress/index.mjs +45 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/RadioButton/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/SelectInput/index.mjs +1085 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/SliderInput/index.mjs +333 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Spinner/index.mjs +34 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TextAreaInput/index.mjs +50 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TextInput/index.mjs +98 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeView/index.mjs +1131 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeViewItem/index.mjs +500 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/VectorInput/index.mjs +366 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/helpers/search.mjs +194 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/helpers/utils.mjs +43 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/index.mjs +56 -0
- package/node_modules/@playcanvas/pcui/dist/pcui-theme-green.scss +2798 -0
- package/node_modules/@playcanvas/pcui/dist/pcui-theme-grey.scss +2798 -0
- package/node_modules/@playcanvas/pcui/package.json +150 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/Math/color-value.mjs +77 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingBase/index.mjs +215 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/class.mjs +19 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/index.mjs +498 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/index.mjs +122 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/index.mjs +119 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/index.mjs +104 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/index.mjs +43 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/index.mjs +619 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/component.mjs +36 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/index.mjs +642 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/index.mjs +20 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/component.mjs +107 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/index.mjs +829 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/index.mjs +1136 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/component.mjs +38 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/index.mjs +448 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/index.mjs +152 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/index.mjs +90 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InputElement/index.mjs +186 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/index.mjs +124 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/component.mjs +42 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/index.mjs +74 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/component.mjs +23 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/index.mjs +174 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/MenuItem/index.mjs +223 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/index.mjs +108 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/component.mjs +32 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/index.mjs +45 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/component.mjs +21 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/index.mjs +1085 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/component.mjs +12 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/index.mjs +333 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/index.mjs +34 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/index.mjs +50 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/component.mjs +23 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/index.mjs +98 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/component.mjs +52 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/index.mjs +1131 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/component.mjs +33 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/index.mjs +500 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/index.mjs +366 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/search.mjs +194 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/utils.mjs +43 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/index.mjs +39 -0
- package/node_modules/@playcanvas/pcui/react/package.json +18 -0
- package/node_modules/@playcanvas/pcui/react/types/Math/color-value.d.ts +3 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingBase/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingElementToObservers/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingObserversToElement/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingTwoWay/index.d.ts +54 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/index.d.ts +5 -0
- package/node_modules/@playcanvas/pcui/react/types/class.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/index.d.ts +140 -0
- package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/index.d.ts +41 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Button/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Button/index.d.ts +75 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Canvas/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Canvas/index.d.ts +61 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Code/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Code/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/index.d.ts +99 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Container/component.d.ts +15 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Container/index.d.ts +292 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Divider/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Divider/index.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Element/component.d.ts +23 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Element/index.d.ts +671 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/index.d.ts +152 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridView/component.d.ts +14 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridView/index.d.ts +103 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/index.d.ts +82 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/index.d.ts +71 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InputElement/index.d.ts +84 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Label/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Label/index.d.ts +85 -0
- package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/index.d.ts +62 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Menu/component.d.ts +14 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Menu/index.d.ts +70 -0
- package/node_modules/@playcanvas/pcui/react/types/components/MenuItem/index.d.ts +139 -0
- package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/index.d.ts +173 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Overlay/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Overlay/index.d.ts +53 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Panel/component.d.ts +16 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Panel/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Progress/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Progress/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/component.d.ts +12 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/index.d.ts +278 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/index.d.ts +133 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Spinner/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Spinner/index.d.ts +27 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextInput/component.d.ts +12 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextInput/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeView/component.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeView/index.d.ts +359 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/component.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/index.d.ts +224 -0
- package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/index.d.ts +176 -0
- package/node_modules/@playcanvas/pcui/react/types/components/components.d.ts +30 -0
- package/node_modules/@playcanvas/pcui/react/types/components/index.d.ts +32 -0
- package/node_modules/@playcanvas/pcui/react/types/helpers/search.d.ts +31 -0
- package/node_modules/@playcanvas/pcui/react/types/helpers/utils.d.ts +2 -0
- package/node_modules/@playcanvas/pcui/react/types/index.d.ts +4 -0
- package/node_modules/@playcanvas/pcui/styles/dist/index.mjs +11 -0
- package/node_modules/@playcanvas/pcui/styles/package.json +17 -0
- package/node_modules/@playcanvas/pcui/types/Math/color-value.d.ts +3 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingBase/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingElementToObservers/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingObserversToElement/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingTwoWay/index.d.ts +54 -0
- package/node_modules/@playcanvas/pcui/types/binding/index.d.ts +5 -0
- package/node_modules/@playcanvas/pcui/types/class.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/types/components/ArrayInput/index.d.ts +140 -0
- package/node_modules/@playcanvas/pcui/types/components/BooleanInput/index.d.ts +41 -0
- package/node_modules/@playcanvas/pcui/types/components/Button/index.d.ts +75 -0
- package/node_modules/@playcanvas/pcui/types/components/Canvas/index.d.ts +61 -0
- package/node_modules/@playcanvas/pcui/types/components/Code/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/ColorPicker/index.d.ts +99 -0
- package/node_modules/@playcanvas/pcui/types/components/Container/index.d.ts +292 -0
- package/node_modules/@playcanvas/pcui/types/components/Divider/index.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/types/components/Element/index.d.ts +671 -0
- package/node_modules/@playcanvas/pcui/types/components/GradientPicker/index.d.ts +152 -0
- package/node_modules/@playcanvas/pcui/types/components/GridView/index.d.ts +103 -0
- package/node_modules/@playcanvas/pcui/types/components/GridViewItem/index.d.ts +82 -0
- package/node_modules/@playcanvas/pcui/types/components/InfoBox/index.d.ts +71 -0
- package/node_modules/@playcanvas/pcui/types/components/InputElement/index.d.ts +84 -0
- package/node_modules/@playcanvas/pcui/types/components/Label/index.d.ts +85 -0
- package/node_modules/@playcanvas/pcui/types/components/LabelGroup/index.d.ts +62 -0
- package/node_modules/@playcanvas/pcui/types/components/Menu/index.d.ts +70 -0
- package/node_modules/@playcanvas/pcui/types/components/MenuItem/index.d.ts +139 -0
- package/node_modules/@playcanvas/pcui/types/components/NumericInput/index.d.ts +173 -0
- package/node_modules/@playcanvas/pcui/types/components/Overlay/index.d.ts +53 -0
- package/node_modules/@playcanvas/pcui/types/components/Panel/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/types/components/Progress/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/RadioButton/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/SelectInput/index.d.ts +278 -0
- package/node_modules/@playcanvas/pcui/types/components/SliderInput/index.d.ts +133 -0
- package/node_modules/@playcanvas/pcui/types/components/Spinner/index.d.ts +27 -0
- package/node_modules/@playcanvas/pcui/types/components/TextAreaInput/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/types/components/TextInput/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/types/components/TreeView/index.d.ts +359 -0
- package/node_modules/@playcanvas/pcui/types/components/TreeViewItem/index.d.ts +224 -0
- package/node_modules/@playcanvas/pcui/types/components/VectorInput/index.d.ts +176 -0
- package/node_modules/@playcanvas/pcui/types/components/index.d.ts +32 -0
- package/node_modules/@playcanvas/pcui/types/helpers/search.d.ts +31 -0
- package/node_modules/@playcanvas/pcui/types/helpers/utils.d.ts +2 -0
- package/node_modules/@playcanvas/pcui/types/index.d.ts +20 -0
- package/node_modules/babylonjs-gltf2interface/babylon.glTF2Interface.d.ts +1655 -0
- package/node_modules/babylonjs-gltf2interface/license.md +71 -0
- package/node_modules/babylonjs-gltf2interface/package.json +26 -0
- package/package.json +31 -19
- package/dist/editor-plugin-hierarchy-command.d.ts +0 -19
- package/dist/editor-plugin-hierarchy-command.d.ts.map +0 -1
- package/dist/editor-plugin-hierarchy-command.js +0 -119
- package/dist/editor-plugin-hierarchy-command.js.map +0 -1
- package/node_modules/@babel/helper-string-parser/lib/index.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- package/node_modules/@babel/parser/lib/index.js.map +0 -1
- package/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
- package/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/constants/index.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
- package/node_modules/@babel/types/lib/index.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
- package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/is.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts +0 -37
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js +0 -451
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts +0 -49
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +0 -627
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts +0 -52
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js +0 -450
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts +0 -21
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js +0 -75
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts +0 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.js +0 -186
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts +0 -5
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js +0 -98
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +0 -63
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +0 -301
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +0 -1
|
@@ -0,0 +1,1237 @@
|
|
|
1
|
+
export const FPS_HIERARCHY_SURFACE_CONTRIBUTION_ID = 'fps.editor.surface.hierarchy';
|
|
2
|
+
export const FPS_HIERARCHY_SURFACE_CONTRIBUTION_TYPE = 'fps.hierarchy.surface';
|
|
3
|
+
export function createHierarchySurfaceContribution() {
|
|
4
|
+
return Object.freeze({
|
|
5
|
+
type: FPS_HIERARCHY_SURFACE_CONTRIBUTION_TYPE,
|
|
6
|
+
id: 'hierarchy',
|
|
7
|
+
title: '层级',
|
|
8
|
+
area: 'left',
|
|
9
|
+
toolbar: 'scoped-hierarchy',
|
|
10
|
+
createKernel: createHierarchyKernel,
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
export function isHierarchySurfaceContribution(value) {
|
|
14
|
+
if (!value || typeof value !== 'object')
|
|
15
|
+
return false;
|
|
16
|
+
const candidate = value;
|
|
17
|
+
return candidate.type === FPS_HIERARCHY_SURFACE_CONTRIBUTION_TYPE
|
|
18
|
+
&& candidate.id === 'hierarchy'
|
|
19
|
+
&& candidate.area === 'left'
|
|
20
|
+
&& typeof candidate.createKernel === 'function';
|
|
21
|
+
}
|
|
22
|
+
export function createHierarchyScopeSnapshot(input) {
|
|
23
|
+
if (!input.scopeKey.trim())
|
|
24
|
+
throw new Error('Hierarchy scopeKey is required.');
|
|
25
|
+
if (!input.scopeType.trim())
|
|
26
|
+
throw new Error('Hierarchy scopeType is required.');
|
|
27
|
+
if (!Number.isSafeInteger(input.revision) || input.revision < 0)
|
|
28
|
+
throw new Error('Hierarchy revision must be a non-negative safe integer.');
|
|
29
|
+
const tree = input.tree ?? createHierarchyTreeSnapshot({
|
|
30
|
+
structureRevision: input.structureRevision ?? input.revision,
|
|
31
|
+
nodes: input.nodes ?? [],
|
|
32
|
+
});
|
|
33
|
+
if (input.tree && input.nodes)
|
|
34
|
+
throw new Error('Hierarchy snapshot accepts either tree or nodes, not both.');
|
|
35
|
+
const nodeById = tree.nodeById;
|
|
36
|
+
const childrenByParentId = tree.childrenByParentId;
|
|
37
|
+
const selectedIds = uniqueIds(input.selectedIds ?? []).filter(id => nodeById.get(id)?.selectable === true);
|
|
38
|
+
const activeId = input.activeId && selectedIds.includes(input.activeId) ? input.activeId : selectedIds[0] ?? null;
|
|
39
|
+
return Object.freeze({
|
|
40
|
+
scopeKey: input.scopeKey,
|
|
41
|
+
scopeType: input.scopeType,
|
|
42
|
+
revision: input.revision,
|
|
43
|
+
structureRevision: tree.structureRevision,
|
|
44
|
+
title: input.title,
|
|
45
|
+
searchPlaceholder: input.searchPlaceholder ?? 'Filter hierarchy',
|
|
46
|
+
readonly: input.readonly === true,
|
|
47
|
+
rootIds: tree.rootIds,
|
|
48
|
+
nodeById: tree.nodeById,
|
|
49
|
+
childrenByParentId: tree.childrenByParentId,
|
|
50
|
+
selectedIds: Object.freeze(selectedIds),
|
|
51
|
+
activeId,
|
|
52
|
+
...(input.primaryOperationId ? { primaryOperationId: input.primaryOperationId } : {}),
|
|
53
|
+
capabilities: Object.freeze({ ...input.capabilities }),
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
export function createHierarchyTreeSnapshot(input) {
|
|
57
|
+
if (!Number.isSafeInteger(input.structureRevision) || input.structureRevision < 0) {
|
|
58
|
+
throw new Error('Hierarchy structureRevision must be a non-negative safe integer.');
|
|
59
|
+
}
|
|
60
|
+
const nodeById = new Map();
|
|
61
|
+
const children = new Map();
|
|
62
|
+
for (const candidate of input.nodes) {
|
|
63
|
+
const node = snapshotNode(candidate);
|
|
64
|
+
if (nodeById.has(node.id))
|
|
65
|
+
throw new Error(`Duplicate Hierarchy node id: ${node.id}`);
|
|
66
|
+
nodeById.set(node.id, node);
|
|
67
|
+
const siblings = children.get(node.parentId) ?? [];
|
|
68
|
+
siblings.push(node.id);
|
|
69
|
+
children.set(node.parentId, siblings);
|
|
70
|
+
}
|
|
71
|
+
for (const node of nodeById.values()) {
|
|
72
|
+
if (node.parentId !== null && !nodeById.has(node.parentId)) {
|
|
73
|
+
throw new Error(`Hierarchy node ${node.id} references missing parent ${node.parentId}.`);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
assertAcyclicAndReachable(nodeById, children);
|
|
77
|
+
const childrenByParentId = new Map();
|
|
78
|
+
for (const [parentId, ids] of children)
|
|
79
|
+
childrenByParentId.set(parentId, Object.freeze([...ids]));
|
|
80
|
+
return Object.freeze({
|
|
81
|
+
structureRevision: input.structureRevision,
|
|
82
|
+
rootIds: Object.freeze([...(childrenByParentId.get(null) ?? [])]),
|
|
83
|
+
nodeById: createReadonlyMapView(nodeById),
|
|
84
|
+
childrenByParentId: createReadonlyMapView(childrenByParentId),
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
export function resolveHierarchySelection(input) {
|
|
88
|
+
const { snapshot, targetId, modifier } = input;
|
|
89
|
+
if (targetId === null) {
|
|
90
|
+
if (!snapshot.capabilities.clearSelection) {
|
|
91
|
+
return Object.freeze({ selectedIds: snapshot.selectedIds, activeId: snapshot.activeId, anchorId: input.anchorId });
|
|
92
|
+
}
|
|
93
|
+
return Object.freeze({ selectedIds: Object.freeze([]), activeId: null, anchorId: null });
|
|
94
|
+
}
|
|
95
|
+
if (snapshot.nodeById.get(targetId)?.selectable !== true) {
|
|
96
|
+
return Object.freeze({ selectedIds: snapshot.selectedIds, activeId: snapshot.activeId, anchorId: input.anchorId });
|
|
97
|
+
}
|
|
98
|
+
if (modifier === 'toggle') {
|
|
99
|
+
const selected = new Set(snapshot.selectedIds);
|
|
100
|
+
if (selected.has(targetId))
|
|
101
|
+
selected.delete(targetId);
|
|
102
|
+
else
|
|
103
|
+
selected.add(targetId);
|
|
104
|
+
const selectedIds = [...selected];
|
|
105
|
+
return Object.freeze({
|
|
106
|
+
selectedIds: Object.freeze(selectedIds),
|
|
107
|
+
activeId: selected.has(targetId) ? targetId : selectedIds[selectedIds.length - 1] ?? null,
|
|
108
|
+
anchorId: targetId,
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
if (modifier === 'range' && snapshot.capabilities.rangeSelection && input.anchorId) {
|
|
112
|
+
const start = input.projection.indexOf(input.anchorId);
|
|
113
|
+
const end = input.projection.indexOf(targetId);
|
|
114
|
+
if (start >= 0 && end >= 0) {
|
|
115
|
+
const [from, to] = start <= end ? [start, end] : [end, start];
|
|
116
|
+
const selectedIds = input.projection.getRange(from, to)
|
|
117
|
+
.filter(id => snapshot.nodeById.get(id)?.selectable === true);
|
|
118
|
+
return Object.freeze({ selectedIds: Object.freeze(selectedIds), activeId: targetId, anchorId: input.anchorId });
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return Object.freeze({ selectedIds: Object.freeze([targetId]), activeId: targetId, anchorId: targetId });
|
|
122
|
+
}
|
|
123
|
+
export function createHierarchyVisibleProjection(input) {
|
|
124
|
+
return createVisibleProjection(input.snapshot, {
|
|
125
|
+
collapsedIds: new Set(input.collapsedIds ?? []),
|
|
126
|
+
searchQuery: input.searchQuery ?? '',
|
|
127
|
+
projectionRevision: input.projectionRevision ?? 0,
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
export function createHierarchyKernel() {
|
|
131
|
+
const viewStates = new Map();
|
|
132
|
+
const revisionRecords = new Map();
|
|
133
|
+
const projections = new Map();
|
|
134
|
+
const viewStateSnapshots = new WeakMap();
|
|
135
|
+
const operationCache = new WeakMap();
|
|
136
|
+
const adapters = new Set();
|
|
137
|
+
let providers = [];
|
|
138
|
+
let activeProvider = null;
|
|
139
|
+
let activeScopeKey = null;
|
|
140
|
+
let authorityToken = 0;
|
|
141
|
+
const resolveProvider = (candidatesSource = providers) => {
|
|
142
|
+
const candidates = candidatesSource
|
|
143
|
+
.flatMap(provider => {
|
|
144
|
+
if (!provider.canProvide())
|
|
145
|
+
return [];
|
|
146
|
+
const snapshot = provider.getSnapshot();
|
|
147
|
+
return snapshot ? [{ provider, snapshot }] : [];
|
|
148
|
+
})
|
|
149
|
+
.sort((a, b) => (b.provider.priority ?? 0) - (a.provider.priority ?? 0)
|
|
150
|
+
|| a.provider.id.localeCompare(b.provider.id));
|
|
151
|
+
if (candidates.length > 1
|
|
152
|
+
&& (candidates[0].provider.priority ?? 0) === (candidates[1].provider.priority ?? 0)) {
|
|
153
|
+
throw new Error(`Ambiguous Hierarchy scope providers: ${candidates[0].provider.id}, ${candidates[1].provider.id}.`);
|
|
154
|
+
}
|
|
155
|
+
return candidates[0] ?? null;
|
|
156
|
+
};
|
|
157
|
+
const synchronize = () => {
|
|
158
|
+
const resolved = resolveProvider();
|
|
159
|
+
const nextProvider = resolved?.provider ?? null;
|
|
160
|
+
const snapshot = resolved?.snapshot ?? null;
|
|
161
|
+
if (snapshot && nextProvider)
|
|
162
|
+
assertMonotonicSnapshotRevision(revisionRecords, nextProvider, snapshot);
|
|
163
|
+
const nextScopeKey = snapshot?.scopeKey ?? null;
|
|
164
|
+
if (activeProvider !== nextProvider || activeScopeKey !== nextScopeKey) {
|
|
165
|
+
if (activeScopeKey)
|
|
166
|
+
cancelTransientState(viewStates.get(activeScopeKey));
|
|
167
|
+
if (nextScopeKey)
|
|
168
|
+
cancelTransientState(viewStates.get(nextScopeKey));
|
|
169
|
+
activeProvider = nextProvider;
|
|
170
|
+
activeScopeKey = nextScopeKey;
|
|
171
|
+
authorityToken += 1;
|
|
172
|
+
}
|
|
173
|
+
if (snapshot)
|
|
174
|
+
sanitizeViewState(getState(snapshot.scopeKey), snapshot);
|
|
175
|
+
return snapshot;
|
|
176
|
+
};
|
|
177
|
+
const getState = (scopeKey) => {
|
|
178
|
+
const current = viewStates.get(scopeKey);
|
|
179
|
+
if (current)
|
|
180
|
+
return current;
|
|
181
|
+
const created = {
|
|
182
|
+
collapsedIds: new Set(), searchQuery: '', selectionAnchorId: null, rename: null, dragId: null, revision: null,
|
|
183
|
+
dragIds: [],
|
|
184
|
+
observedActiveId: null,
|
|
185
|
+
sanitizedStructureRevision: null,
|
|
186
|
+
projectionRevision: 0,
|
|
187
|
+
selectionGeneration: 0, renameGeneration: 0, dragGeneration: 0,
|
|
188
|
+
pendingSelectionGeneration: null, pendingRenameGeneration: null, pendingDragGeneration: null,
|
|
189
|
+
};
|
|
190
|
+
viewStates.set(scopeKey, created);
|
|
191
|
+
return created;
|
|
192
|
+
};
|
|
193
|
+
const createViewModel = (snapshot, provider) => {
|
|
194
|
+
const state = getState(snapshot.scopeKey);
|
|
195
|
+
const projection = getVisibleProjection(snapshot, state, provider);
|
|
196
|
+
const operations = getCachedOperations(snapshot, provider, createOperationContext(snapshot, snapshot.activeId), 'view');
|
|
197
|
+
return Object.freeze({
|
|
198
|
+
providerId: provider.id,
|
|
199
|
+
authorityToken,
|
|
200
|
+
snapshot,
|
|
201
|
+
state: snapshotViewStateCached(state, viewStateSnapshots),
|
|
202
|
+
projection,
|
|
203
|
+
operations,
|
|
204
|
+
});
|
|
205
|
+
};
|
|
206
|
+
const getCachedOperations = (snapshot, provider, context, cacheNamespace) => {
|
|
207
|
+
let byProvider = operationCache.get(snapshot);
|
|
208
|
+
if (!byProvider) {
|
|
209
|
+
byProvider = new WeakMap();
|
|
210
|
+
operationCache.set(snapshot, byProvider);
|
|
211
|
+
}
|
|
212
|
+
let byContext = byProvider.get(provider);
|
|
213
|
+
if (!byContext) {
|
|
214
|
+
byContext = new Map();
|
|
215
|
+
byProvider.set(provider, byContext);
|
|
216
|
+
}
|
|
217
|
+
const key = `${cacheNamespace}\u0000${context.contextNodeId ?? ''}\u0000${context.activeId ?? ''}\u0000${context.targetIds.join('\u0001')}`;
|
|
218
|
+
const cached = byContext.get(key);
|
|
219
|
+
if (cached)
|
|
220
|
+
return cached;
|
|
221
|
+
const startingAuthorityToken = authorityToken;
|
|
222
|
+
const operations = Object.freeze([...provider.listOperations(context)]);
|
|
223
|
+
const current = synchronize();
|
|
224
|
+
if (authorityToken !== startingAuthorityToken
|
|
225
|
+
|| activeProvider !== provider
|
|
226
|
+
|| current?.scopeKey !== snapshot.scopeKey
|
|
227
|
+
|| current.revision !== snapshot.revision)
|
|
228
|
+
return Object.freeze([]);
|
|
229
|
+
byContext.set(key, operations);
|
|
230
|
+
return operations;
|
|
231
|
+
};
|
|
232
|
+
const getVisibleProjection = (snapshot, state, provider) => {
|
|
233
|
+
const cached = projections.get(snapshot.scopeKey);
|
|
234
|
+
if (cached
|
|
235
|
+
&& cached.provider === provider
|
|
236
|
+
&& cached.structureRevision === snapshot.structureRevision
|
|
237
|
+
&& cached.projectionRevision === state.projectionRevision)
|
|
238
|
+
return cached.projection;
|
|
239
|
+
const projection = createVisibleProjection(snapshot, state);
|
|
240
|
+
projections.set(snapshot.scopeKey, {
|
|
241
|
+
provider,
|
|
242
|
+
structureRevision: snapshot.structureRevision,
|
|
243
|
+
projectionRevision: state.projectionRevision,
|
|
244
|
+
projection,
|
|
245
|
+
});
|
|
246
|
+
return projection;
|
|
247
|
+
};
|
|
248
|
+
const getViewModel = () => {
|
|
249
|
+
for (let attempt = 0; attempt <= providers.length + 1; attempt += 1) {
|
|
250
|
+
const snapshot = synchronize();
|
|
251
|
+
const provider = activeProvider;
|
|
252
|
+
if (!snapshot || !provider)
|
|
253
|
+
return null;
|
|
254
|
+
const startingAuthorityToken = authorityToken;
|
|
255
|
+
const model = createViewModel(snapshot, provider);
|
|
256
|
+
if (authorityToken === startingAuthorityToken
|
|
257
|
+
&& activeProvider === provider
|
|
258
|
+
&& activeScopeKey === snapshot.scopeKey)
|
|
259
|
+
return model;
|
|
260
|
+
}
|
|
261
|
+
throw new Error('Hierarchy provider authority did not stabilize during operation discovery.');
|
|
262
|
+
};
|
|
263
|
+
const notifyAdapters = (model) => {
|
|
264
|
+
const errors = [];
|
|
265
|
+
for (const adapter of adapters) {
|
|
266
|
+
try {
|
|
267
|
+
adapter.render(model);
|
|
268
|
+
}
|
|
269
|
+
catch (error) {
|
|
270
|
+
errors.push(error);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
if (errors.length > 0)
|
|
274
|
+
throw errors[0];
|
|
275
|
+
};
|
|
276
|
+
const render = () => {
|
|
277
|
+
notifyAdapters(getViewModel());
|
|
278
|
+
};
|
|
279
|
+
const result = (snapshot, ok = true) => Object.freeze({
|
|
280
|
+
ok,
|
|
281
|
+
changed: false,
|
|
282
|
+
revision: snapshot?.revision ?? 0,
|
|
283
|
+
diagnostics: Object.freeze([]),
|
|
284
|
+
});
|
|
285
|
+
const commitViewMutation = (snapshot) => {
|
|
286
|
+
const committed = Object.freeze({
|
|
287
|
+
ok: true,
|
|
288
|
+
changed: true,
|
|
289
|
+
revision: snapshot.revision,
|
|
290
|
+
diagnostics: Object.freeze([]),
|
|
291
|
+
});
|
|
292
|
+
try {
|
|
293
|
+
render();
|
|
294
|
+
return committed;
|
|
295
|
+
}
|
|
296
|
+
catch (error) {
|
|
297
|
+
return createViewRenderFailure(committed, snapshot.revision, error);
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
const execute = async (operation, snapshot) => {
|
|
301
|
+
try {
|
|
302
|
+
const operationResult = snapshotOperationResult(await operation());
|
|
303
|
+
if (operationResult.revision < snapshot.revision) {
|
|
304
|
+
return createFailureResult(snapshot.revision, 'hierarchy.operation.revision-regressed', new Error(`Hierarchy operation revision regressed from ${snapshot.revision} to ${operationResult.revision}.`));
|
|
305
|
+
}
|
|
306
|
+
return operationResult;
|
|
307
|
+
}
|
|
308
|
+
catch (error) {
|
|
309
|
+
return createFailureResult(snapshot.revision, 'hierarchy.operation.failed', error);
|
|
310
|
+
}
|
|
311
|
+
};
|
|
312
|
+
const kernel = {
|
|
313
|
+
setProviders(nextProviders) {
|
|
314
|
+
const next = Object.freeze([...nextProviders]);
|
|
315
|
+
assertUniqueProviderIds(next);
|
|
316
|
+
const previousProviders = providers;
|
|
317
|
+
const previousActiveProvider = activeProvider;
|
|
318
|
+
const previousActiveScopeKey = activeScopeKey;
|
|
319
|
+
const previousAuthorityToken = authorityToken;
|
|
320
|
+
const previousRevisionRecords = cloneRevisionRecords(revisionRecords);
|
|
321
|
+
const previousViewStates = cloneMutableViewStates(viewStates);
|
|
322
|
+
const previousProjections = new Map(projections);
|
|
323
|
+
let model;
|
|
324
|
+
try {
|
|
325
|
+
providers = next;
|
|
326
|
+
model = getViewModel();
|
|
327
|
+
}
|
|
328
|
+
catch (error) {
|
|
329
|
+
providers = previousProviders;
|
|
330
|
+
activeProvider = previousActiveProvider;
|
|
331
|
+
activeScopeKey = previousActiveScopeKey;
|
|
332
|
+
authorityToken = previousAuthorityToken;
|
|
333
|
+
replaceMapContents(revisionRecords, previousRevisionRecords);
|
|
334
|
+
replaceMapContents(viewStates, previousViewStates);
|
|
335
|
+
replaceMapContents(projections, previousProjections);
|
|
336
|
+
throw error;
|
|
337
|
+
}
|
|
338
|
+
for (const provider of revisionRecords.keys()) {
|
|
339
|
+
if (!next.includes(provider))
|
|
340
|
+
revisionRecords.delete(provider);
|
|
341
|
+
}
|
|
342
|
+
// Provider authority is committed before notifying UI edges. A failing
|
|
343
|
+
// adapter cannot roll the authoritative provider set back underneath an
|
|
344
|
+
// adapter that has already observed the new model.
|
|
345
|
+
notifyAdapters(model);
|
|
346
|
+
},
|
|
347
|
+
getProvider() { synchronize(); return activeProvider; },
|
|
348
|
+
getViewModel,
|
|
349
|
+
listOperations(context, expectedAuthorityToken) {
|
|
350
|
+
const previousProvider = activeProvider;
|
|
351
|
+
const previousScopeKey = activeScopeKey;
|
|
352
|
+
const snapshot = synchronize();
|
|
353
|
+
const provider = activeProvider;
|
|
354
|
+
if (previousProvider !== provider || previousScopeKey !== activeScopeKey) {
|
|
355
|
+
notifyAdapters(getViewModel());
|
|
356
|
+
}
|
|
357
|
+
if (!snapshot || !provider
|
|
358
|
+
|| (expectedAuthorityToken !== undefined && expectedAuthorityToken !== authorityToken)
|
|
359
|
+
|| context.scopeKey !== snapshot.scopeKey
|
|
360
|
+
|| context.expectedRevision !== snapshot.revision)
|
|
361
|
+
return Object.freeze([]);
|
|
362
|
+
const operations = getCachedOperations(snapshot, provider, context, 'explicit');
|
|
363
|
+
if (activeProvider !== provider || activeScopeKey !== snapshot.scopeKey) {
|
|
364
|
+
notifyAdapters(getViewModel());
|
|
365
|
+
return Object.freeze([]);
|
|
366
|
+
}
|
|
367
|
+
return operations;
|
|
368
|
+
},
|
|
369
|
+
attachView(adapter) {
|
|
370
|
+
let unbind = null;
|
|
371
|
+
try {
|
|
372
|
+
unbind = adapter.bind(intent => kernel.dispatch(intent));
|
|
373
|
+
adapters.add(adapter);
|
|
374
|
+
adapter.render(getViewModel());
|
|
375
|
+
}
|
|
376
|
+
catch (error) {
|
|
377
|
+
adapters.delete(adapter);
|
|
378
|
+
if (unbind) {
|
|
379
|
+
try {
|
|
380
|
+
unbind();
|
|
381
|
+
}
|
|
382
|
+
catch (cleanupError) {
|
|
383
|
+
const initializationError = new Error(`Hierarchy ViewAdapter initialization failed: ${formatError(error)}; cleanup failed: ${formatError(cleanupError)}`);
|
|
384
|
+
Object.assign(initializationError, { retryCleanup: () => unbind?.() });
|
|
385
|
+
throw initializationError;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
throw error;
|
|
389
|
+
}
|
|
390
|
+
let active = true;
|
|
391
|
+
return () => {
|
|
392
|
+
if (!active)
|
|
393
|
+
return;
|
|
394
|
+
unbind?.();
|
|
395
|
+
adapters.delete(adapter);
|
|
396
|
+
active = false;
|
|
397
|
+
};
|
|
398
|
+
},
|
|
399
|
+
refresh: render,
|
|
400
|
+
async dispatch(intent) {
|
|
401
|
+
let fallbackRevision = activeScopeKey
|
|
402
|
+
? getRevisionRecord(revisionRecords, activeProvider, activeScopeKey)?.revision
|
|
403
|
+
?? viewStates.get(activeScopeKey)?.revision ?? 0
|
|
404
|
+
: 0;
|
|
405
|
+
const fallbackDragState = intent.type === 'drag.commit' && activeScopeKey
|
|
406
|
+
? viewStates.get(activeScopeKey) ?? null
|
|
407
|
+
: null;
|
|
408
|
+
const fallbackDragGeneration = fallbackDragState?.dragGeneration ?? null;
|
|
409
|
+
const fallbackDragId = fallbackDragState?.dragId ?? null;
|
|
410
|
+
try {
|
|
411
|
+
const snapshot = synchronize();
|
|
412
|
+
fallbackRevision = snapshot?.revision ?? 0;
|
|
413
|
+
const provider = activeProvider;
|
|
414
|
+
const startingAuthorityToken = authorityToken;
|
|
415
|
+
if (!snapshot || !provider) {
|
|
416
|
+
return createFailureResult(snapshot?.revision ?? 0, 'hierarchy.scope.unavailable', new Error('No active Hierarchy scope provider is available.'));
|
|
417
|
+
}
|
|
418
|
+
if (intent.expectedAuthorityToken !== undefined && intent.expectedAuthorityToken !== startingAuthorityToken) {
|
|
419
|
+
return createFailureResult(snapshot.revision, 'hierarchy.operation.provider-authority-changed', new Error('Hierarchy intent authority no longer matches the active provider.'));
|
|
420
|
+
}
|
|
421
|
+
if ((intent.expectedScopeKey !== undefined && intent.expectedScopeKey !== snapshot.scopeKey)
|
|
422
|
+
|| (intent.expectedRevision !== undefined && intent.expectedRevision !== snapshot.revision)) {
|
|
423
|
+
return createFailureResult(snapshot.revision, 'hierarchy.operation.view-authority-changed', new Error('Hierarchy intent no longer matches the rendered scope revision.'));
|
|
424
|
+
}
|
|
425
|
+
const state = getState(snapshot.scopeKey);
|
|
426
|
+
const operations = getCachedOperations(snapshot, provider, createOperationContext(snapshot, snapshot.activeId), 'view');
|
|
427
|
+
if (authorityToken !== startingAuthorityToken || activeProvider !== provider || activeScopeKey !== snapshot.scopeKey) {
|
|
428
|
+
return createFailureResult(snapshot.revision, 'hierarchy.operation.provider-authority-changed', new Error('Hierarchy provider authority changed during operation discovery.'));
|
|
429
|
+
}
|
|
430
|
+
const model = Object.freeze({
|
|
431
|
+
providerId: provider.id,
|
|
432
|
+
authorityToken: startingAuthorityToken,
|
|
433
|
+
snapshot,
|
|
434
|
+
state: snapshotViewStateCached(state, viewStateSnapshots),
|
|
435
|
+
projection: getVisibleProjection(snapshot, state, provider),
|
|
436
|
+
operations,
|
|
437
|
+
});
|
|
438
|
+
if (intent.type === 'search.change') {
|
|
439
|
+
if (state.searchQuery === intent.value)
|
|
440
|
+
return result(snapshot, false);
|
|
441
|
+
state.searchQuery = intent.value;
|
|
442
|
+
state.projectionRevision += 1;
|
|
443
|
+
return commitViewMutation(snapshot);
|
|
444
|
+
}
|
|
445
|
+
if (intent.type === 'disclosure.toggle') {
|
|
446
|
+
if (!snapshot.nodeById.has(intent.targetId) || !(snapshot.childrenByParentId.get(intent.targetId)?.length))
|
|
447
|
+
return result(snapshot, false);
|
|
448
|
+
if (state.collapsedIds.has(intent.targetId))
|
|
449
|
+
state.collapsedIds.delete(intent.targetId);
|
|
450
|
+
else
|
|
451
|
+
state.collapsedIds.add(intent.targetId);
|
|
452
|
+
state.projectionRevision += 1;
|
|
453
|
+
return commitViewMutation(snapshot);
|
|
454
|
+
}
|
|
455
|
+
if (intent.type === 'disclosure.expand') {
|
|
456
|
+
if (!snapshot.nodeById.has(intent.targetId))
|
|
457
|
+
return result(snapshot, false);
|
|
458
|
+
if (!state.collapsedIds.delete(intent.targetId))
|
|
459
|
+
return result(snapshot, false);
|
|
460
|
+
state.projectionRevision += 1;
|
|
461
|
+
return commitViewMutation(snapshot);
|
|
462
|
+
}
|
|
463
|
+
if (intent.type === 'disclosure.reveal') {
|
|
464
|
+
if (!snapshot.nodeById.has(intent.targetId))
|
|
465
|
+
return result(snapshot, false);
|
|
466
|
+
let changed = false;
|
|
467
|
+
let parentId = snapshot.nodeById.get(intent.targetId)?.parentId ?? null;
|
|
468
|
+
while (parentId) {
|
|
469
|
+
changed = state.collapsedIds.delete(parentId) || changed;
|
|
470
|
+
parentId = snapshot.nodeById.get(parentId)?.parentId ?? null;
|
|
471
|
+
}
|
|
472
|
+
// Revealing an already-visible target is a successful idempotent
|
|
473
|
+
// navigation. Callers use `ok` to distinguish a missing/stale target
|
|
474
|
+
// from a no-op reveal before continuing with selection.
|
|
475
|
+
if (!changed)
|
|
476
|
+
return result(snapshot);
|
|
477
|
+
state.projectionRevision += 1;
|
|
478
|
+
return commitViewMutation(snapshot);
|
|
479
|
+
}
|
|
480
|
+
if (intent.type === 'selection' || intent.type === 'selection.set') {
|
|
481
|
+
const resolved = intent.type === 'selection'
|
|
482
|
+
? resolveHierarchySelection({ snapshot, targetId: intent.targetId, modifier: intent.modifier, projection: model.projection, anchorId: state.selectionAnchorId })
|
|
483
|
+
: normalizeExplicitSelection(snapshot, intent.selectedIds, intent.activeId, intent.anchorId);
|
|
484
|
+
const previousAnchor = state.selectionAnchorId;
|
|
485
|
+
const selectionGeneration = ++state.selectionGeneration;
|
|
486
|
+
state.pendingSelectionGeneration = selectionGeneration;
|
|
487
|
+
const operationResult = await execute(() => provider.applySelection(Object.freeze({
|
|
488
|
+
...createOperationContext(snapshot, intent.type === 'selection' ? intent.targetId : intent.activeId),
|
|
489
|
+
selectedIds: resolved.selectedIds,
|
|
490
|
+
activeId: resolved.activeId,
|
|
491
|
+
})), snapshot);
|
|
492
|
+
if (operationResult.changed)
|
|
493
|
+
operationCache.delete(snapshot);
|
|
494
|
+
let currentModel;
|
|
495
|
+
try {
|
|
496
|
+
currentModel = getViewModel();
|
|
497
|
+
}
|
|
498
|
+
catch (error) {
|
|
499
|
+
if (state.pendingSelectionGeneration === selectionGeneration)
|
|
500
|
+
state.pendingSelectionGeneration = null;
|
|
501
|
+
return createPostOperationRefreshFailure(operationResult, snapshot.revision, error);
|
|
502
|
+
}
|
|
503
|
+
const current = currentModel?.snapshot ?? null;
|
|
504
|
+
const reconciledResult = currentModel?.authorityToken === startingAuthorityToken
|
|
505
|
+
? reconcilePostOperationResult(operationResult, snapshot, current)
|
|
506
|
+
: createProviderAuthorityChangedResult(operationResult, snapshot.revision, startingAuthorityToken, currentModel?.authorityToken ?? null);
|
|
507
|
+
if (selectionGeneration === state.selectionGeneration
|
|
508
|
+
&& current?.scopeKey === snapshot.scopeKey
|
|
509
|
+
&& current.revision === reconciledResult.revision) {
|
|
510
|
+
state.revision = current.revision;
|
|
511
|
+
state.selectionAnchorId = reconciledResult.ok ? resolved.anchorId : previousAnchor;
|
|
512
|
+
}
|
|
513
|
+
if (state.pendingSelectionGeneration === selectionGeneration)
|
|
514
|
+
state.pendingSelectionGeneration = null;
|
|
515
|
+
try {
|
|
516
|
+
if (current && activeProvider)
|
|
517
|
+
currentModel = createViewModel(current, activeProvider);
|
|
518
|
+
notifyAdapters(currentModel);
|
|
519
|
+
}
|
|
520
|
+
catch (error) {
|
|
521
|
+
return createViewRenderFailure(reconciledResult, snapshot.revision, error);
|
|
522
|
+
}
|
|
523
|
+
return reconciledResult;
|
|
524
|
+
}
|
|
525
|
+
if (intent.type === 'rename.begin') {
|
|
526
|
+
const node = snapshot.nodeById.get(intent.targetId);
|
|
527
|
+
if (!snapshot.readonly && snapshot.capabilities.rename && node?.renamable && node.editorLocked !== true) {
|
|
528
|
+
state.renameGeneration += 1;
|
|
529
|
+
state.rename = { id: node.id, value: node.label };
|
|
530
|
+
return commitViewMutation(snapshot);
|
|
531
|
+
}
|
|
532
|
+
return result(snapshot, false);
|
|
533
|
+
}
|
|
534
|
+
if (intent.type === 'rename.change') {
|
|
535
|
+
if (!state.rename)
|
|
536
|
+
return result(snapshot, false);
|
|
537
|
+
state.renameGeneration += 1;
|
|
538
|
+
state.rename.value = intent.value;
|
|
539
|
+
return commitViewMutation(snapshot);
|
|
540
|
+
}
|
|
541
|
+
if (intent.type === 'rename.cancel') {
|
|
542
|
+
state.renameGeneration += 1;
|
|
543
|
+
state.rename = null;
|
|
544
|
+
return commitViewMutation(snapshot);
|
|
545
|
+
}
|
|
546
|
+
if (intent.type === 'drag.begin') {
|
|
547
|
+
const node = snapshot.nodeById.get(intent.targetId);
|
|
548
|
+
if (!snapshot.readonly && snapshot.capabilities.reparent && node?.draggable && node.editorLocked !== true) {
|
|
549
|
+
const dragIds = model.projection.getTopLevelSelection(snapshot.selectedIds.includes(intent.targetId) ? snapshot.selectedIds : [intent.targetId]).filter(id => {
|
|
550
|
+
const dragNode = snapshot.nodeById.get(id);
|
|
551
|
+
return dragNode?.draggable === true && dragNode.editorLocked !== true;
|
|
552
|
+
});
|
|
553
|
+
if (dragIds.length === 0)
|
|
554
|
+
return result(snapshot, false);
|
|
555
|
+
state.dragGeneration += 1;
|
|
556
|
+
state.dragId = intent.targetId;
|
|
557
|
+
state.dragIds = Object.freeze(dragIds);
|
|
558
|
+
return commitViewMutation(snapshot);
|
|
559
|
+
}
|
|
560
|
+
return result(snapshot, false);
|
|
561
|
+
}
|
|
562
|
+
if (intent.type === 'drag.cancel') {
|
|
563
|
+
state.dragGeneration += 1;
|
|
564
|
+
state.dragId = null;
|
|
565
|
+
state.dragIds = [];
|
|
566
|
+
return commitViewMutation(snapshot);
|
|
567
|
+
}
|
|
568
|
+
if (intent.type === 'context')
|
|
569
|
+
return result(snapshot);
|
|
570
|
+
let operationId;
|
|
571
|
+
let operationInput;
|
|
572
|
+
let contextNodeId = snapshot.activeId;
|
|
573
|
+
if (intent.type === 'primary') {
|
|
574
|
+
operationId = snapshot.primaryOperationId;
|
|
575
|
+
contextNodeId = intent.targetId;
|
|
576
|
+
}
|
|
577
|
+
if (intent.type === 'rename.commit' && state.rename) {
|
|
578
|
+
operationId = 'hierarchy.node.rename';
|
|
579
|
+
operationInput = Object.freeze({ targetId: state.rename.id, name: state.rename.value });
|
|
580
|
+
contextNodeId = state.rename.id;
|
|
581
|
+
}
|
|
582
|
+
if (intent.type === 'drag.commit' && state.dragId) {
|
|
583
|
+
operationId = intent.operationId;
|
|
584
|
+
operationInput = Object.freeze({ ...(intent.input ?? {}), draggedIds: Object.freeze([...state.dragIds]) });
|
|
585
|
+
contextNodeId = state.dragId;
|
|
586
|
+
}
|
|
587
|
+
if (intent.type === 'operation.execute') {
|
|
588
|
+
operationId = intent.operationId;
|
|
589
|
+
operationInput = intent.input;
|
|
590
|
+
if (intent.context
|
|
591
|
+
&& (intent.context.scopeKey !== snapshot.scopeKey || intent.context.expectedRevision !== snapshot.revision)) {
|
|
592
|
+
return createFailureResult(snapshot.revision, 'hierarchy.operation.stale', new Error('Hierarchy operation context no longer matches the active scope revision.'));
|
|
593
|
+
}
|
|
594
|
+
contextNodeId = intent.context?.contextNodeId ?? contextNodeId;
|
|
595
|
+
}
|
|
596
|
+
if (!operationId)
|
|
597
|
+
return result(snapshot, false);
|
|
598
|
+
const renameGeneration = state.renameGeneration;
|
|
599
|
+
const dragGeneration = state.dragGeneration;
|
|
600
|
+
if (intent.type === 'rename.commit')
|
|
601
|
+
state.pendingRenameGeneration = renameGeneration;
|
|
602
|
+
if (intent.type === 'drag.commit')
|
|
603
|
+
state.pendingDragGeneration = dragGeneration;
|
|
604
|
+
const transientId = intent.type === 'rename.commit' ? state.rename?.id : intent.type === 'drag.commit' ? state.dragId : null;
|
|
605
|
+
const invocationContext = intent.type === 'operation.execute' && intent.context
|
|
606
|
+
? intent.context
|
|
607
|
+
: intent.type === 'drag.commit'
|
|
608
|
+
? Object.freeze({
|
|
609
|
+
...createOperationContext(snapshot, contextNodeId),
|
|
610
|
+
targetIds: Object.freeze([...state.dragIds]),
|
|
611
|
+
})
|
|
612
|
+
: createOperationContext(snapshot, contextNodeId);
|
|
613
|
+
try {
|
|
614
|
+
const discoveredOperations = provider.listOperations(invocationContext);
|
|
615
|
+
const discoveredSnapshot = synchronize();
|
|
616
|
+
const providerAuthorityChanged = authorityToken !== startingAuthorityToken
|
|
617
|
+
|| activeProvider !== provider
|
|
618
|
+
|| activeScopeKey !== snapshot.scopeKey;
|
|
619
|
+
const revisionChanged = discoveredSnapshot?.revision !== snapshot.revision;
|
|
620
|
+
if (providerAuthorityChanged || revisionChanged) {
|
|
621
|
+
try {
|
|
622
|
+
notifyAdapters(getViewModel());
|
|
623
|
+
}
|
|
624
|
+
catch { /* preserve the authority failure */ }
|
|
625
|
+
return createFailureResult(discoveredSnapshot?.revision ?? snapshot.revision, providerAuthorityChanged
|
|
626
|
+
? 'hierarchy.operation.provider-authority-changed'
|
|
627
|
+
: 'hierarchy.operation.stale', new Error(providerAuthorityChanged
|
|
628
|
+
? 'Hierarchy provider authority changed during operation discovery.'
|
|
629
|
+
: 'Hierarchy scope revision changed during operation discovery.'));
|
|
630
|
+
}
|
|
631
|
+
const operationDescriptor = discoveredOperations.find(operation => operation.id === operationId);
|
|
632
|
+
if (!operationDescriptor) {
|
|
633
|
+
return createFailureResult(snapshot.revision, 'hierarchy.operation.unavailable', new Error(`Hierarchy operation is unavailable for this context: ${operationId}`));
|
|
634
|
+
}
|
|
635
|
+
if (operationDescriptor.disabledReason) {
|
|
636
|
+
return createFailureResult(snapshot.revision, 'hierarchy.operation.disabled', new Error(operationDescriptor.disabledReason));
|
|
637
|
+
}
|
|
638
|
+
const operationResult = await execute(() => provider.executeOperation(Object.freeze({
|
|
639
|
+
...invocationContext, operationId, ...(operationInput ? { input: operationInput } : {}),
|
|
640
|
+
})), snapshot);
|
|
641
|
+
if (operationResult.ok || operationResult.changed)
|
|
642
|
+
operationCache.delete(snapshot);
|
|
643
|
+
let currentModel;
|
|
644
|
+
try {
|
|
645
|
+
currentModel = getViewModel();
|
|
646
|
+
}
|
|
647
|
+
catch (error) {
|
|
648
|
+
if (intent.type === 'rename.commit' && state.pendingRenameGeneration === renameGeneration)
|
|
649
|
+
state.pendingRenameGeneration = null;
|
|
650
|
+
return createPostOperationRefreshFailure(operationResult, snapshot.revision, error);
|
|
651
|
+
}
|
|
652
|
+
const current = currentModel?.snapshot ?? null;
|
|
653
|
+
const reconciledResult = currentModel?.authorityToken === startingAuthorityToken
|
|
654
|
+
? reconcilePostOperationResult(operationResult, snapshot, current)
|
|
655
|
+
: createProviderAuthorityChangedResult(operationResult, snapshot.revision, startingAuthorityToken, currentModel?.authorityToken ?? null);
|
|
656
|
+
const stillCurrent = current?.scopeKey === snapshot.scopeKey && current.revision === reconciledResult.revision;
|
|
657
|
+
if (stillCurrent && current)
|
|
658
|
+
state.revision = current.revision;
|
|
659
|
+
if (reconciledResult.ok && intent.type === 'rename.commit' && stillCurrent
|
|
660
|
+
&& state.renameGeneration === renameGeneration && state.rename?.id === transientId)
|
|
661
|
+
state.rename = null;
|
|
662
|
+
if (!reconciledResult.ok && reconciledResult.changed && stillCurrent && current && current.revision !== snapshot.revision) {
|
|
663
|
+
if (intent.type === 'rename.commit' && state.renameGeneration === renameGeneration)
|
|
664
|
+
state.rename = null;
|
|
665
|
+
}
|
|
666
|
+
if (intent.type === 'rename.commit' && state.pendingRenameGeneration === renameGeneration)
|
|
667
|
+
state.pendingRenameGeneration = null;
|
|
668
|
+
try {
|
|
669
|
+
if (current && activeProvider)
|
|
670
|
+
currentModel = createViewModel(current, activeProvider);
|
|
671
|
+
notifyAdapters(currentModel);
|
|
672
|
+
}
|
|
673
|
+
catch (error) {
|
|
674
|
+
return createViewRenderFailure(reconciledResult, snapshot.revision, error);
|
|
675
|
+
}
|
|
676
|
+
return reconciledResult;
|
|
677
|
+
}
|
|
678
|
+
finally {
|
|
679
|
+
if (intent.type === 'rename.commit' && state.pendingRenameGeneration === renameGeneration) {
|
|
680
|
+
state.pendingRenameGeneration = null;
|
|
681
|
+
}
|
|
682
|
+
if (intent.type === 'drag.commit' && state.pendingDragGeneration === dragGeneration) {
|
|
683
|
+
state.pendingDragGeneration = null;
|
|
684
|
+
if (state.dragGeneration === dragGeneration && state.dragId === transientId) {
|
|
685
|
+
state.dragId = null;
|
|
686
|
+
state.dragIds = [];
|
|
687
|
+
try {
|
|
688
|
+
render();
|
|
689
|
+
}
|
|
690
|
+
catch { /* preserve the operation/discovery result */ }
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
catch (error) {
|
|
696
|
+
return createFailureResult(fallbackRevision, 'hierarchy.operation.failed', error);
|
|
697
|
+
}
|
|
698
|
+
finally {
|
|
699
|
+
if (fallbackDragState
|
|
700
|
+
&& fallbackDragGeneration !== null
|
|
701
|
+
&& fallbackDragState.dragGeneration === fallbackDragGeneration
|
|
702
|
+
&& fallbackDragState.dragId === fallbackDragId) {
|
|
703
|
+
fallbackDragState.pendingDragGeneration = null;
|
|
704
|
+
fallbackDragState.dragId = null;
|
|
705
|
+
fallbackDragState.dragIds = [];
|
|
706
|
+
try {
|
|
707
|
+
render();
|
|
708
|
+
}
|
|
709
|
+
catch { /* preserve the terminal drag result */ }
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
};
|
|
714
|
+
return kernel;
|
|
715
|
+
}
|
|
716
|
+
function assertUniqueProviderIds(providers) {
|
|
717
|
+
const ids = new Set();
|
|
718
|
+
for (const provider of providers) {
|
|
719
|
+
if (!provider.id.trim())
|
|
720
|
+
throw new Error('Hierarchy scope provider id is required.');
|
|
721
|
+
if (ids.has(provider.id))
|
|
722
|
+
throw new Error(`Duplicate Hierarchy scope provider id: ${provider.id}.`);
|
|
723
|
+
ids.add(provider.id);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
function cloneMutableViewStates(source) {
|
|
727
|
+
return new Map([...source].map(([scopeKey, state]) => [scopeKey, {
|
|
728
|
+
...state,
|
|
729
|
+
collapsedIds: new Set(state.collapsedIds),
|
|
730
|
+
rename: state.rename ? { ...state.rename } : null,
|
|
731
|
+
}]));
|
|
732
|
+
}
|
|
733
|
+
function replaceMapContents(target, source) {
|
|
734
|
+
target.clear();
|
|
735
|
+
for (const [key, value] of source)
|
|
736
|
+
target.set(key, value);
|
|
737
|
+
}
|
|
738
|
+
function cloneRevisionRecords(source) {
|
|
739
|
+
return new Map([...source].map(([provider, records]) => [provider, new Map(records)]));
|
|
740
|
+
}
|
|
741
|
+
function getRevisionRecord(records, provider, scopeKey) {
|
|
742
|
+
return provider ? records.get(provider)?.get(scopeKey) : undefined;
|
|
743
|
+
}
|
|
744
|
+
function assertMonotonicSnapshotRevision(records, provider, snapshot) {
|
|
745
|
+
let providerRecords = records.get(provider);
|
|
746
|
+
if (!providerRecords) {
|
|
747
|
+
providerRecords = new Map();
|
|
748
|
+
records.set(provider, providerRecords);
|
|
749
|
+
}
|
|
750
|
+
const previous = providerRecords.get(snapshot.scopeKey);
|
|
751
|
+
if (previous && snapshot.revision < previous.revision) {
|
|
752
|
+
throw new Error(`Hierarchy scope ${snapshot.scopeKey} revision regressed from ${previous.revision} to ${snapshot.revision}.`);
|
|
753
|
+
}
|
|
754
|
+
if (previous && snapshot.revision === previous.revision && !sameSnapshotAuthority(previous.snapshot, snapshot)) {
|
|
755
|
+
throw new Error(`Hierarchy scope ${snapshot.scopeKey} reused revision ${snapshot.revision} for a different authority snapshot.`);
|
|
756
|
+
}
|
|
757
|
+
if (previous && snapshot.structureRevision < previous.structureRevision) {
|
|
758
|
+
throw new Error(`Hierarchy scope ${snapshot.scopeKey} structureRevision regressed from ${previous.structureRevision} to ${snapshot.structureRevision}.`);
|
|
759
|
+
}
|
|
760
|
+
if (previous && snapshot.structureRevision === previous.structureRevision
|
|
761
|
+
&& (snapshot.rootIds !== previous.rootIds
|
|
762
|
+
|| snapshot.nodeById !== previous.nodeById
|
|
763
|
+
|| snapshot.childrenByParentId !== previous.childrenByParentId)) {
|
|
764
|
+
throw new Error(`Hierarchy scope ${snapshot.scopeKey} must structurally share tree indexes for structureRevision ${snapshot.structureRevision}.`);
|
|
765
|
+
}
|
|
766
|
+
if (!previous || snapshot.revision > previous.revision) {
|
|
767
|
+
providerRecords.set(snapshot.scopeKey, {
|
|
768
|
+
revision: snapshot.revision,
|
|
769
|
+
snapshot,
|
|
770
|
+
structureRevision: snapshot.structureRevision,
|
|
771
|
+
rootIds: snapshot.rootIds,
|
|
772
|
+
nodeById: snapshot.nodeById,
|
|
773
|
+
childrenByParentId: snapshot.childrenByParentId,
|
|
774
|
+
});
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
function sameSnapshotAuthority(left, right) {
|
|
778
|
+
if (left === right)
|
|
779
|
+
return true;
|
|
780
|
+
return left.scopeType === right.scopeType
|
|
781
|
+
&& left.structureRevision === right.structureRevision
|
|
782
|
+
&& left.title === right.title
|
|
783
|
+
&& left.searchPlaceholder === right.searchPlaceholder
|
|
784
|
+
&& left.readonly === right.readonly
|
|
785
|
+
&& left.rootIds === right.rootIds
|
|
786
|
+
&& left.nodeById === right.nodeById
|
|
787
|
+
&& left.childrenByParentId === right.childrenByParentId
|
|
788
|
+
&& left.activeId === right.activeId
|
|
789
|
+
&& left.primaryOperationId === right.primaryOperationId
|
|
790
|
+
&& sameStringArray(left.selectedIds, right.selectedIds)
|
|
791
|
+
&& sameBooleanRecord(left.capabilities, right.capabilities);
|
|
792
|
+
}
|
|
793
|
+
function sameStringArray(left, right) {
|
|
794
|
+
return left.length === right.length && left.every((value, index) => value === right[index]);
|
|
795
|
+
}
|
|
796
|
+
function sameBooleanRecord(left, right) {
|
|
797
|
+
const keys = new Set([...Object.keys(left), ...Object.keys(right)]);
|
|
798
|
+
for (const key of keys)
|
|
799
|
+
if (left[key] !== right[key])
|
|
800
|
+
return false;
|
|
801
|
+
return true;
|
|
802
|
+
}
|
|
803
|
+
function createOperationContext(snapshot, contextNodeId) {
|
|
804
|
+
return Object.freeze({ scopeKey: snapshot.scopeKey, expectedRevision: snapshot.revision, contextNodeId, targetIds: snapshot.selectedIds, activeId: snapshot.activeId });
|
|
805
|
+
}
|
|
806
|
+
function sanitizeViewState(state, snapshot) {
|
|
807
|
+
if (state.revision !== null && state.revision !== snapshot.revision) {
|
|
808
|
+
if (state.pendingSelectionGeneration === null)
|
|
809
|
+
state.selectionGeneration += 1;
|
|
810
|
+
if (state.pendingRenameGeneration === null) {
|
|
811
|
+
state.renameGeneration += 1;
|
|
812
|
+
state.rename = null;
|
|
813
|
+
}
|
|
814
|
+
if (state.pendingDragGeneration === null) {
|
|
815
|
+
state.dragGeneration += 1;
|
|
816
|
+
state.dragId = null;
|
|
817
|
+
state.dragIds = [];
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
state.revision = snapshot.revision;
|
|
821
|
+
if (state.observedActiveId !== snapshot.activeId) {
|
|
822
|
+
let projectionChanged = false;
|
|
823
|
+
if (state.collapsedIds.size > 0) {
|
|
824
|
+
let parentId = snapshot.activeId ? snapshot.nodeById.get(snapshot.activeId)?.parentId ?? null : null;
|
|
825
|
+
while (parentId) {
|
|
826
|
+
projectionChanged = state.collapsedIds.delete(parentId) || projectionChanged;
|
|
827
|
+
parentId = snapshot.nodeById.get(parentId)?.parentId ?? null;
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
if (projectionChanged)
|
|
831
|
+
state.projectionRevision += 1;
|
|
832
|
+
state.observedActiveId = snapshot.activeId;
|
|
833
|
+
}
|
|
834
|
+
if (state.sanitizedStructureRevision !== snapshot.structureRevision) {
|
|
835
|
+
if (state.selectionAnchorId && !snapshot.nodeById.has(state.selectionAnchorId))
|
|
836
|
+
state.selectionAnchorId = null;
|
|
837
|
+
if (state.rename && !snapshot.nodeById.has(state.rename.id))
|
|
838
|
+
state.rename = null;
|
|
839
|
+
if (state.dragId && !snapshot.nodeById.has(state.dragId))
|
|
840
|
+
state.dragId = null;
|
|
841
|
+
state.dragIds = state.dragIds.filter(id => snapshot.nodeById.has(id));
|
|
842
|
+
if (!state.dragId || state.dragIds.length === 0) {
|
|
843
|
+
state.dragId = null;
|
|
844
|
+
state.dragIds = [];
|
|
845
|
+
}
|
|
846
|
+
let removedCollapsed = false;
|
|
847
|
+
for (const id of state.collapsedIds) {
|
|
848
|
+
if (!snapshot.nodeById.has(id))
|
|
849
|
+
removedCollapsed = state.collapsedIds.delete(id) || removedCollapsed;
|
|
850
|
+
}
|
|
851
|
+
if (removedCollapsed)
|
|
852
|
+
state.projectionRevision += 1;
|
|
853
|
+
state.sanitizedStructureRevision = snapshot.structureRevision;
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
function cancelTransientState(state) {
|
|
857
|
+
if (!state)
|
|
858
|
+
return;
|
|
859
|
+
state.selectionGeneration += 1;
|
|
860
|
+
state.renameGeneration += 1;
|
|
861
|
+
state.dragGeneration += 1;
|
|
862
|
+
state.pendingSelectionGeneration = null;
|
|
863
|
+
state.pendingRenameGeneration = null;
|
|
864
|
+
state.pendingDragGeneration = null;
|
|
865
|
+
state.selectionAnchorId = null;
|
|
866
|
+
state.rename = null;
|
|
867
|
+
state.dragId = null;
|
|
868
|
+
state.dragIds = [];
|
|
869
|
+
}
|
|
870
|
+
function normalizeExplicitSelection(snapshot, ids, activeId, anchorId) {
|
|
871
|
+
const selectedIds = uniqueIds(ids).filter(id => snapshot.nodeById.get(id)?.selectable === true);
|
|
872
|
+
const resolvedActiveId = activeId && selectedIds.includes(activeId) ? activeId : selectedIds[0] ?? null;
|
|
873
|
+
const resolvedAnchorId = anchorId && snapshot.nodeById.has(anchorId) ? anchorId : resolvedActiveId;
|
|
874
|
+
return Object.freeze({ selectedIds: Object.freeze(selectedIds), activeId: resolvedActiveId, anchorId: resolvedAnchorId });
|
|
875
|
+
}
|
|
876
|
+
function createVisibleProjection(snapshot, state) {
|
|
877
|
+
const query = state.searchQuery.trim().toLocaleLowerCase();
|
|
878
|
+
const included = query ? new Set() : null;
|
|
879
|
+
if (included) {
|
|
880
|
+
for (const node of snapshot.nodeById.values()) {
|
|
881
|
+
if (!node.label.toLocaleLowerCase().includes(query) && !node.id.toLocaleLowerCase().includes(query))
|
|
882
|
+
continue;
|
|
883
|
+
let cursor = node;
|
|
884
|
+
while (cursor && !included.has(cursor.id)) {
|
|
885
|
+
included.add(cursor.id);
|
|
886
|
+
cursor = cursor.parentId ? snapshot.nodeById.get(cursor.parentId) : undefined;
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
const rows = [];
|
|
891
|
+
const indexById = new Map();
|
|
892
|
+
const stack = [...snapshot.rootIds].reverse().map(id => ({ id, depth: 0 }));
|
|
893
|
+
while (stack.length > 0) {
|
|
894
|
+
const { id, depth } = stack.pop();
|
|
895
|
+
const node = snapshot.nodeById.get(id);
|
|
896
|
+
if (!node || (included && !included.has(id)))
|
|
897
|
+
continue;
|
|
898
|
+
indexById.set(id, rows.length);
|
|
899
|
+
rows.push(Object.freeze({ id, depth }));
|
|
900
|
+
if (!included && state.collapsedIds.has(id))
|
|
901
|
+
continue;
|
|
902
|
+
const children = snapshot.childrenByParentId.get(id) ?? [];
|
|
903
|
+
for (let index = children.length - 1; index >= 0; index -= 1) {
|
|
904
|
+
stack.push({ id: children[index], depth: depth + 1 });
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
const frozenRows = Object.freeze(rows);
|
|
908
|
+
const emptyIds = Object.freeze([]);
|
|
909
|
+
const ancestorCache = new Map();
|
|
910
|
+
const ancestorSetCache = new Map();
|
|
911
|
+
const topLevelSelectionCache = new Map();
|
|
912
|
+
const rememberCachedIds = (cache, key, value) => {
|
|
913
|
+
if (cache.size > 256)
|
|
914
|
+
cache.clear();
|
|
915
|
+
cache.set(key, value);
|
|
916
|
+
return value;
|
|
917
|
+
};
|
|
918
|
+
const getAncestors = (id) => {
|
|
919
|
+
if (!id)
|
|
920
|
+
return emptyIds;
|
|
921
|
+
const cached = ancestorCache.get(id);
|
|
922
|
+
if (cached)
|
|
923
|
+
return cached;
|
|
924
|
+
const ancestors = [];
|
|
925
|
+
let parentId = snapshot.nodeById.get(id)?.parentId ?? null;
|
|
926
|
+
while (parentId) {
|
|
927
|
+
ancestors.push(parentId);
|
|
928
|
+
parentId = snapshot.nodeById.get(parentId)?.parentId ?? null;
|
|
929
|
+
}
|
|
930
|
+
return rememberCachedIds(ancestorCache, id, Object.freeze(ancestors));
|
|
931
|
+
};
|
|
932
|
+
const getAncestorSet = (id) => {
|
|
933
|
+
const cached = ancestorSetCache.get(id);
|
|
934
|
+
if (cached)
|
|
935
|
+
return cached;
|
|
936
|
+
if (ancestorSetCache.size > 256)
|
|
937
|
+
ancestorSetCache.clear();
|
|
938
|
+
const set = new Set(getAncestors(id));
|
|
939
|
+
ancestorSetCache.set(id, set);
|
|
940
|
+
return set;
|
|
941
|
+
};
|
|
942
|
+
const getTopLevelSelection = (ids) => {
|
|
943
|
+
const normalized = uniqueIds(ids).filter(id => snapshot.nodeById.has(id));
|
|
944
|
+
if (normalized.length === 0)
|
|
945
|
+
return emptyIds;
|
|
946
|
+
const cacheKey = normalized.join('\u0000');
|
|
947
|
+
const cached = topLevelSelectionCache.get(cacheKey);
|
|
948
|
+
if (cached)
|
|
949
|
+
return cached;
|
|
950
|
+
if (normalized.length === 1)
|
|
951
|
+
return rememberCachedIds(topLevelSelectionCache, cacheKey, Object.freeze([...normalized]));
|
|
952
|
+
const selectedIds = new Set(normalized);
|
|
953
|
+
return rememberCachedIds(topLevelSelectionCache, cacheKey, Object.freeze(normalized.filter(id => !getAncestors(id).some(ancestorId => selectedIds.has(ancestorId)))));
|
|
954
|
+
};
|
|
955
|
+
const isDescendant = (candidateId, ancestorId) => (candidateId !== ancestorId && getAncestorSet(candidateId).has(ancestorId));
|
|
956
|
+
const resolveDrop = (input) => {
|
|
957
|
+
const draggedIds = getTopLevelSelection(input.draggedIds);
|
|
958
|
+
const invalid = (reason) => Object.freeze({
|
|
959
|
+
ok: false, reason, placement: input.placement, draggedIds: Object.freeze([]),
|
|
960
|
+
targetId: input.targetId ?? null, parentId: null, beforeId: null, afterId: null,
|
|
961
|
+
});
|
|
962
|
+
if (draggedIds.length === 0)
|
|
963
|
+
return invalid('empty-drag');
|
|
964
|
+
for (const id of draggedIds) {
|
|
965
|
+
const node = snapshot.nodeById.get(id);
|
|
966
|
+
if (!node?.draggable || node.editorLocked === true)
|
|
967
|
+
return invalid('dragged-node-not-movable');
|
|
968
|
+
}
|
|
969
|
+
if (input.placement === 'root') {
|
|
970
|
+
return Object.freeze({
|
|
971
|
+
ok: true, placement: 'root', draggedIds, targetId: null, parentId: null, beforeId: null, afterId: null,
|
|
972
|
+
});
|
|
973
|
+
}
|
|
974
|
+
const targetId = input.targetId ?? null;
|
|
975
|
+
const target = targetId ? snapshot.nodeById.get(targetId) : undefined;
|
|
976
|
+
if (!target)
|
|
977
|
+
return invalid('missing-target');
|
|
978
|
+
const draggedSet = new Set(draggedIds);
|
|
979
|
+
if (draggedSet.has(target.id))
|
|
980
|
+
return invalid('cannot-drop-on-self');
|
|
981
|
+
if (draggedIds.some(id => isDescendant(target.id, id)))
|
|
982
|
+
return invalid('cannot-drop-on-descendant');
|
|
983
|
+
if (input.placement === 'inside') {
|
|
984
|
+
if (!target.canHaveChildren || target.editorLocked === true)
|
|
985
|
+
return invalid('target-cannot-have-children');
|
|
986
|
+
const children = (snapshot.childrenByParentId.get(target.id) ?? []).filter(id => !draggedSet.has(id));
|
|
987
|
+
return Object.freeze({
|
|
988
|
+
ok: true, placement: 'inside', draggedIds, targetId: target.id, parentId: target.id,
|
|
989
|
+
beforeId: null, afterId: children[children.length - 1] ?? null,
|
|
990
|
+
});
|
|
991
|
+
}
|
|
992
|
+
if (target.role === 'root')
|
|
993
|
+
return invalid('cannot-reorder-root');
|
|
994
|
+
if (target.editorLocked === true)
|
|
995
|
+
return invalid('target-node-locked');
|
|
996
|
+
const parent = target.parentId ? snapshot.nodeById.get(target.parentId) : undefined;
|
|
997
|
+
if (parent?.editorLocked === true)
|
|
998
|
+
return invalid('target-parent-locked');
|
|
999
|
+
const siblings = (snapshot.childrenByParentId.get(target.parentId) ?? []).filter(id => !draggedSet.has(id));
|
|
1000
|
+
const targetIndex = siblings.indexOf(target.id);
|
|
1001
|
+
return Object.freeze({
|
|
1002
|
+
ok: true, placement: input.placement, draggedIds, targetId: target.id, parentId: target.parentId,
|
|
1003
|
+
beforeId: input.placement === 'before' ? target.id : siblings[targetIndex + 1] ?? null,
|
|
1004
|
+
afterId: input.placement === 'after' ? target.id : siblings[targetIndex - 1] ?? null,
|
|
1005
|
+
});
|
|
1006
|
+
};
|
|
1007
|
+
return Object.freeze({
|
|
1008
|
+
structureRevision: snapshot.structureRevision,
|
|
1009
|
+
projectionRevision: state.projectionRevision,
|
|
1010
|
+
totalCount: frozenRows.length,
|
|
1011
|
+
indexOf(id) { return id ? indexById.get(id) ?? -1 : -1; },
|
|
1012
|
+
getRow(index) { return Number.isInteger(index) && index >= 0 ? frozenRows[index] ?? null : null; },
|
|
1013
|
+
getWindow(start, count) {
|
|
1014
|
+
const from = Math.max(0, Math.trunc(start));
|
|
1015
|
+
const length = Math.max(0, Math.trunc(count));
|
|
1016
|
+
return Object.freeze(frozenRows.slice(from, from + length));
|
|
1017
|
+
},
|
|
1018
|
+
getRange(from, to) {
|
|
1019
|
+
const start = Math.max(0, Math.min(Math.trunc(from), Math.trunc(to)));
|
|
1020
|
+
const end = Math.min(frozenRows.length - 1, Math.max(Math.trunc(from), Math.trunc(to)));
|
|
1021
|
+
if (end < start)
|
|
1022
|
+
return Object.freeze([]);
|
|
1023
|
+
return Object.freeze(frozenRows.slice(start, end + 1).map(row => row.id));
|
|
1024
|
+
},
|
|
1025
|
+
getAncestors,
|
|
1026
|
+
getSelectableChildren(id) {
|
|
1027
|
+
if (!id)
|
|
1028
|
+
return Object.freeze([]);
|
|
1029
|
+
return Object.freeze((snapshot.childrenByParentId.get(id) ?? [])
|
|
1030
|
+
.filter(childId => snapshot.nodeById.get(childId)?.selectable === true));
|
|
1031
|
+
},
|
|
1032
|
+
getSelectableDescendants(id) {
|
|
1033
|
+
if (!id || !snapshot.nodeById.has(id))
|
|
1034
|
+
return Object.freeze([]);
|
|
1035
|
+
const descendants = [];
|
|
1036
|
+
const stack = [...(snapshot.childrenByParentId.get(id) ?? [])].reverse();
|
|
1037
|
+
while (stack.length > 0) {
|
|
1038
|
+
const childId = stack.pop();
|
|
1039
|
+
if (snapshot.nodeById.get(childId)?.selectable === true)
|
|
1040
|
+
descendants.push(childId);
|
|
1041
|
+
const children = snapshot.childrenByParentId.get(childId) ?? [];
|
|
1042
|
+
for (let index = children.length - 1; index >= 0; index -= 1)
|
|
1043
|
+
stack.push(children[index]);
|
|
1044
|
+
}
|
|
1045
|
+
return Object.freeze(descendants);
|
|
1046
|
+
},
|
|
1047
|
+
getTopLevelSelection,
|
|
1048
|
+
isDescendant,
|
|
1049
|
+
resolveDrop,
|
|
1050
|
+
});
|
|
1051
|
+
}
|
|
1052
|
+
function assertAcyclicAndReachable(nodes, children) {
|
|
1053
|
+
const visited = new Set();
|
|
1054
|
+
const stack = [...(children.get(null) ?? [])].reverse();
|
|
1055
|
+
while (stack.length > 0) {
|
|
1056
|
+
const id = stack.pop();
|
|
1057
|
+
if (visited.has(id))
|
|
1058
|
+
throw new Error(`Hierarchy contains a parent cycle at node ${id}.`);
|
|
1059
|
+
visited.add(id);
|
|
1060
|
+
const childIds = children.get(id) ?? [];
|
|
1061
|
+
for (let index = childIds.length - 1; index >= 0; index -= 1)
|
|
1062
|
+
stack.push(childIds[index]);
|
|
1063
|
+
}
|
|
1064
|
+
if (visited.size !== nodes.size) {
|
|
1065
|
+
const unreachable = [...nodes.keys()].find(id => !visited.has(id));
|
|
1066
|
+
throw new Error(`Hierarchy contains a parent cycle or unreachable node: ${unreachable ?? 'unknown'}.`);
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
function snapshotOperationResult(value) {
|
|
1070
|
+
if (!value || typeof value !== 'object' || typeof value.ok !== 'boolean' || !Number.isSafeInteger(value.revision)) {
|
|
1071
|
+
throw new Error('Hierarchy provider returned an invalid operation result.');
|
|
1072
|
+
}
|
|
1073
|
+
return Object.freeze({ ok: value.ok, changed: value.changed === true, revision: value.revision, diagnostics: Object.freeze([...(value.diagnostics ?? [])]) });
|
|
1074
|
+
}
|
|
1075
|
+
function createFailureResult(revision, code, error) {
|
|
1076
|
+
return Object.freeze({ ok: false, changed: false, revision, diagnostics: Object.freeze([Object.freeze({ code, message: error instanceof Error ? error.message : String(error), severity: 'error' })]) });
|
|
1077
|
+
}
|
|
1078
|
+
function createPostOperationRefreshFailure(operationResult, fallbackRevision, error) {
|
|
1079
|
+
const commitStatusUnknown = hasProviderExecutionFailure(operationResult);
|
|
1080
|
+
return Object.freeze({
|
|
1081
|
+
ok: false,
|
|
1082
|
+
// The provider operation may already have committed before its follow-up
|
|
1083
|
+
// snapshot failed. Preserve that fact instead of reporting a false no-op.
|
|
1084
|
+
changed: operationResult.changed || commitStatusUnknown,
|
|
1085
|
+
revision: Math.max(fallbackRevision, operationResult.revision),
|
|
1086
|
+
diagnostics: Object.freeze([
|
|
1087
|
+
...operationResult.diagnostics,
|
|
1088
|
+
Object.freeze({
|
|
1089
|
+
code: 'hierarchy.snapshot.refresh-failed-after-operation',
|
|
1090
|
+
message: error instanceof Error ? error.message : String(error),
|
|
1091
|
+
severity: 'error',
|
|
1092
|
+
}),
|
|
1093
|
+
...(commitStatusUnknown ? [Object.freeze({
|
|
1094
|
+
code: 'hierarchy.operation.commit-status-unknown',
|
|
1095
|
+
message: 'The provider failed before the refreshed snapshot could confirm whether its authored change committed.',
|
|
1096
|
+
severity: 'error',
|
|
1097
|
+
})] : []),
|
|
1098
|
+
]),
|
|
1099
|
+
});
|
|
1100
|
+
}
|
|
1101
|
+
function createViewRenderFailure(operationResult, fallbackRevision, error) {
|
|
1102
|
+
const commitStatusUnknown = hasProviderExecutionFailure(operationResult);
|
|
1103
|
+
return Object.freeze({
|
|
1104
|
+
ok: false,
|
|
1105
|
+
changed: operationResult.changed || commitStatusUnknown,
|
|
1106
|
+
revision: Math.max(fallbackRevision, operationResult.revision),
|
|
1107
|
+
diagnostics: Object.freeze([
|
|
1108
|
+
...operationResult.diagnostics,
|
|
1109
|
+
Object.freeze({
|
|
1110
|
+
code: 'hierarchy.view.render-failed-after-change',
|
|
1111
|
+
message: error instanceof Error ? error.message : String(error),
|
|
1112
|
+
severity: 'error',
|
|
1113
|
+
}),
|
|
1114
|
+
...(commitStatusUnknown ? [Object.freeze({
|
|
1115
|
+
code: 'hierarchy.operation.commit-status-unknown',
|
|
1116
|
+
message: 'The provider failed before the refreshed snapshot could confirm whether its authored change committed.',
|
|
1117
|
+
severity: 'error',
|
|
1118
|
+
})] : []),
|
|
1119
|
+
]),
|
|
1120
|
+
});
|
|
1121
|
+
}
|
|
1122
|
+
function reconcilePostOperationResult(operationResult, startingSnapshot, currentSnapshot) {
|
|
1123
|
+
if (!currentSnapshot || currentSnapshot.scopeKey !== startingSnapshot.scopeKey) {
|
|
1124
|
+
return createPostOperationRefreshFailure(operationResult, startingSnapshot.revision, new Error(`Hierarchy scope ${startingSnapshot.scopeKey} was unavailable after the operation.`));
|
|
1125
|
+
}
|
|
1126
|
+
if (currentSnapshot.revision < operationResult.revision) {
|
|
1127
|
+
return createPostOperationRefreshFailure(operationResult, startingSnapshot.revision, new Error(`Hierarchy operation reported revision ${operationResult.revision}, but the refreshed scope is still at ${currentSnapshot.revision}.`));
|
|
1128
|
+
}
|
|
1129
|
+
if (currentSnapshot.revision === operationResult.revision)
|
|
1130
|
+
return operationResult;
|
|
1131
|
+
const operationThrewAfterPossibleCommit = !operationResult.ok
|
|
1132
|
+
&& operationResult.diagnostics.some(diagnostic => diagnostic.code === 'hierarchy.operation.failed')
|
|
1133
|
+
&& currentSnapshot.revision > startingSnapshot.revision;
|
|
1134
|
+
return Object.freeze({
|
|
1135
|
+
...operationResult,
|
|
1136
|
+
changed: operationResult.changed || operationThrewAfterPossibleCommit,
|
|
1137
|
+
revision: currentSnapshot.revision,
|
|
1138
|
+
diagnostics: Object.freeze([
|
|
1139
|
+
...operationResult.diagnostics,
|
|
1140
|
+
Object.freeze({
|
|
1141
|
+
code: operationThrewAfterPossibleCommit
|
|
1142
|
+
? 'hierarchy.operation.failed-after-revision-advanced'
|
|
1143
|
+
: 'hierarchy.operation.concurrent-revision-advanced',
|
|
1144
|
+
message: operationThrewAfterPossibleCommit
|
|
1145
|
+
? `The operation failed after the scope advanced from revision ${startingSnapshot.revision} to ${currentSnapshot.revision}; the authored result may already be committed.`
|
|
1146
|
+
: `The scope advanced to revision ${currentSnapshot.revision} while the operation completed.`,
|
|
1147
|
+
severity: operationThrewAfterPossibleCommit ? 'error' : 'info',
|
|
1148
|
+
}),
|
|
1149
|
+
]),
|
|
1150
|
+
});
|
|
1151
|
+
}
|
|
1152
|
+
function createProviderAuthorityChangedResult(operationResult, fallbackRevision, startingAuthorityToken, currentAuthorityToken) {
|
|
1153
|
+
const commitStatusUnknown = hasProviderExecutionFailure(operationResult);
|
|
1154
|
+
return Object.freeze({
|
|
1155
|
+
ok: false,
|
|
1156
|
+
changed: operationResult.changed || commitStatusUnknown,
|
|
1157
|
+
revision: Math.max(fallbackRevision, operationResult.revision),
|
|
1158
|
+
diagnostics: Object.freeze([
|
|
1159
|
+
...operationResult.diagnostics,
|
|
1160
|
+
Object.freeze({
|
|
1161
|
+
code: 'hierarchy.operation.provider-authority-changed',
|
|
1162
|
+
message: `Hierarchy provider authority changed from token ${startingAuthorityToken} to ${currentAuthorityToken ?? 'none'} while the operation was pending.`,
|
|
1163
|
+
severity: 'error',
|
|
1164
|
+
}),
|
|
1165
|
+
...(commitStatusUnknown ? [Object.freeze({
|
|
1166
|
+
code: 'hierarchy.operation.commit-status-unknown',
|
|
1167
|
+
message: 'Provider authority changed before the failed operation could confirm whether its authored change committed.',
|
|
1168
|
+
severity: 'error',
|
|
1169
|
+
})] : []),
|
|
1170
|
+
]),
|
|
1171
|
+
});
|
|
1172
|
+
}
|
|
1173
|
+
function hasProviderExecutionFailure(result) {
|
|
1174
|
+
return result.diagnostics.some(diagnostic => diagnostic.code === 'hierarchy.operation.failed');
|
|
1175
|
+
}
|
|
1176
|
+
function formatError(error) {
|
|
1177
|
+
return error instanceof Error ? error.message : String(error);
|
|
1178
|
+
}
|
|
1179
|
+
function snapshotNode(node) {
|
|
1180
|
+
if (!node.id.trim())
|
|
1181
|
+
throw new Error('Hierarchy node id is required.');
|
|
1182
|
+
return Object.freeze({ ...node, parentId: node.parentId ?? null, selectable: node.selectable === true, canHaveChildren: node.canHaveChildren === true, renamable: node.renamable === true, deletable: node.deletable === true, draggable: node.draggable === true });
|
|
1183
|
+
}
|
|
1184
|
+
function snapshotViewState(state) {
|
|
1185
|
+
return Object.freeze({ collapsedIds: new Set(state.collapsedIds), searchQuery: state.searchQuery, selectionAnchorId: state.selectionAnchorId, rename: state.rename ? Object.freeze({ ...state.rename }) : null, dragId: state.dragId, dragIds: Object.freeze([...state.dragIds]) });
|
|
1186
|
+
}
|
|
1187
|
+
function snapshotViewStateCached(state, cache) {
|
|
1188
|
+
const cached = cache.get(state);
|
|
1189
|
+
if (cached
|
|
1190
|
+
&& cached.projectionRevision === state.projectionRevision
|
|
1191
|
+
&& cached.selectionGeneration === state.selectionGeneration
|
|
1192
|
+
&& cached.renameGeneration === state.renameGeneration
|
|
1193
|
+
&& cached.dragGeneration === state.dragGeneration
|
|
1194
|
+
&& cached.selectionAnchorId === state.selectionAnchorId
|
|
1195
|
+
&& cached.renameId === (state.rename?.id ?? null)
|
|
1196
|
+
&& cached.renameValue === (state.rename?.value ?? null)
|
|
1197
|
+
&& cached.dragId === state.dragId
|
|
1198
|
+
&& cached.dragIds === state.dragIds) {
|
|
1199
|
+
return cached.snapshot;
|
|
1200
|
+
}
|
|
1201
|
+
const snapshot = Object.freeze({
|
|
1202
|
+
collapsedIds: cached?.projectionRevision === state.projectionRevision
|
|
1203
|
+
? cached.snapshot.collapsedIds
|
|
1204
|
+
: new Set(state.collapsedIds),
|
|
1205
|
+
searchQuery: state.searchQuery,
|
|
1206
|
+
selectionAnchorId: state.selectionAnchorId,
|
|
1207
|
+
rename: state.rename ? Object.freeze({ ...state.rename }) : null,
|
|
1208
|
+
dragId: state.dragId,
|
|
1209
|
+
dragIds: cached?.dragGeneration === state.dragGeneration && cached.dragIds === state.dragIds
|
|
1210
|
+
? cached.snapshot.dragIds
|
|
1211
|
+
: Object.freeze([...state.dragIds]),
|
|
1212
|
+
});
|
|
1213
|
+
cache.set(state, {
|
|
1214
|
+
projectionRevision: state.projectionRevision,
|
|
1215
|
+
selectionGeneration: state.selectionGeneration,
|
|
1216
|
+
renameGeneration: state.renameGeneration,
|
|
1217
|
+
dragGeneration: state.dragGeneration,
|
|
1218
|
+
selectionAnchorId: state.selectionAnchorId,
|
|
1219
|
+
renameId: state.rename?.id ?? null,
|
|
1220
|
+
renameValue: state.rename?.value ?? null,
|
|
1221
|
+
dragId: state.dragId,
|
|
1222
|
+
dragIds: state.dragIds,
|
|
1223
|
+
snapshot,
|
|
1224
|
+
});
|
|
1225
|
+
return snapshot;
|
|
1226
|
+
}
|
|
1227
|
+
function uniqueIds(ids) { return [...new Set(ids.filter(id => id.trim()))]; }
|
|
1228
|
+
function createReadonlyMapView(source) {
|
|
1229
|
+
let view;
|
|
1230
|
+
view = Object.freeze({
|
|
1231
|
+
get size() { return source.size; }, has(key) { return source.has(key); }, get(key) { return source.get(key); }, entries() { return source.entries(); }, keys() { return source.keys(); }, values() { return source.values(); },
|
|
1232
|
+
forEach(callback, thisArg) { source.forEach((value, key) => callback.call(thisArg, value, key, view)); },
|
|
1233
|
+
[Symbol.iterator]() { return source[Symbol.iterator](); },
|
|
1234
|
+
});
|
|
1235
|
+
return view;
|
|
1236
|
+
}
|
|
1237
|
+
//# sourceMappingURL=kernel.js.map
|