@fps-games/editor 0.1.3-beta.3 → 0.1.4-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/local-editor-agent-actions.d.ts +38 -0
- package/dist/local-editor-agent-actions.d.ts.map +1 -0
- package/dist/local-editor-agent-actions.js +134 -0
- package/dist/local-editor-agent-actions.js.map +1 -0
- package/dist/local-editor-agent-context.d.ts +29 -0
- package/dist/local-editor-agent-context.d.ts.map +1 -0
- package/dist/local-editor-agent-context.js +266 -0
- package/dist/local-editor-agent-context.js.map +1 -0
- package/dist/local-editor-harness.d.ts +23 -2
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +657 -128
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-viewport-render-coordinator.d.ts.map +1 -1
- package/dist/local-editor-viewport-render-coordinator.js +34 -14
- package/dist/local-editor-viewport-render-coordinator.js.map +1 -1
- package/dist/playable-babylon-facade.d.ts +15 -0
- package/dist/playable-babylon-facade.d.ts.map +1 -0
- package/dist/playable-babylon-facade.js +12 -0
- package/dist/playable-babylon-facade.js.map +1 -0
- package/dist/playable-babylon-outline-inspector.d.ts +32 -0
- package/dist/playable-babylon-outline-inspector.d.ts.map +1 -0
- package/dist/playable-babylon-outline-inspector.js +182 -0
- package/dist/playable-babylon-outline-inspector.js.map +1 -0
- package/dist/playable-babylon-outline-runtime.d.ts +19 -0
- package/dist/playable-babylon-outline-runtime.d.ts.map +1 -0
- package/dist/playable-babylon-outline-runtime.js +67 -0
- package/dist/playable-babylon-outline-runtime.js.map +1 -0
- package/dist/playable-local-editor-host.d.ts +501 -0
- package/dist/playable-local-editor-host.d.ts.map +1 -0
- package/dist/playable-local-editor-host.js +526 -0
- package/dist/playable-local-editor-host.js.map +1 -0
- package/dist/playable-sdk.d.ts +8 -0
- package/dist/playable-sdk.d.ts.map +1 -0
- package/dist/playable-sdk.js +5 -0
- package/dist/playable-sdk.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js +79 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js +26 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts +13 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js +6 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.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 +7 -4
- package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js +45 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts +7 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts +7 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +83 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js +155 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +77 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js +24 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js +105 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-shaders.js +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.js +14 -14
- package/node_modules/@fps-games/babylon-renderer/package.json +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +15 -5
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/edit-session.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/editor-world.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js +24 -24
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts +3 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js +396 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts +3 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js +2 -567
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/inspector-host.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/legacy-runtime.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts +3 -2
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js +401 -96
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/monitor.js +2 -2
- package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js +7 -23
- package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +10 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +234 -150
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-camera-preview.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js +10 -10
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/tool-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts +12 -2
- 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 +69 -17
- 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 -0
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/package.json +5 -5
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +9 -2
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js +8 -2
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts +20 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js +88 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +12 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +34 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +2 -2
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts +55 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +144 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +40 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts +5 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js +5 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js.map +1 -0
- 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 +312 -126
- 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 +43 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +28 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +4 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +48 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +3 -0
- 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 +182 -20
- 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 +24 -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-panels.d.ts +2 -0
- 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 +373 -63
- 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-primitives.d.ts +2 -0
- 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 +17 -12
- 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 +2 -0
- 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 +9 -1
- 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 +42 -19
- 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-structured-drag-auto-scroll.d.ts +19 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js +40 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts +59 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +182 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts +16 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts +11 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js +18 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +34 -6
- 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-workbench.d.ts +14 -0
- 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 +88 -37
- 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 +16 -2
- 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 +630 -140
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts +40 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js +685 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts +73 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js +370 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts +15 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js +350 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/package.json +3 -2
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts +17 -0
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.js +14 -0
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/index.d.ts +2 -0
- package/node_modules/@fps-games/editor-core/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/index.js +14 -12
- package/node_modules/@fps-games/editor-core/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +9 -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 +108 -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 +5 -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/transform-operation-policy.d.ts +27 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js +35 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js.map +1 -0
- package/node_modules/@fps-games/editor-core/package.json +2 -2
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts +23 -0
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js +43 -0
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js.map +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-forge-play/dist/index.js +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js +93 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js +169 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts +46 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +64 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts +23 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js +120 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js +35 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts +33 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js +22 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js +42 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js +36 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js +66 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js +51 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js +37 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts +54 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js +26 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts +43 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js +89 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts +79 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js +42 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts +74 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js +46 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts +38 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js +98 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js +33 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js +149 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js +214 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js +84 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts +32 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js +85 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts +39 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js +88 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts +50 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +112 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js +201 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js +81 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts +47 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +545 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js +99 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts +58 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js +557 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts +30 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js +56 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js +33 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts +61 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js +61 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js +48 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js +95 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js +162 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js +71 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js +34 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js +108 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts +72 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js +70 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js +86 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +80 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +39 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +371 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +58 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +125 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +87 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js +82 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +37 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +140 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +40 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js +299 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts +26 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js +251 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js +188 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts +26 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js +222 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js +97 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js +128 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js +259 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts +22 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js +49 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts +433 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +224 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js +76 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +242 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js +30 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts +62 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +131 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts +41 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js +45 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +759 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js +512 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js +73 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +290 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js +136 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js +65 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +211 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +80 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js +78 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +73 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js +43 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +49 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +81 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +37 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js +164 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts +34 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js +206 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js +47 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +91 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +579 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js +90 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +268 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js +38 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts +87 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/package.json +20 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +113 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.js +5 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +45 -4
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.js +115 -2
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/package.json +1 -1
- package/package.json +13 -7
|
@@ -1,24 +1,30 @@
|
|
|
1
|
-
import * as LocalEditorPanels from './local-editor-ui-panels';
|
|
2
|
-
import { createLocalEditorHierarchyController } from './local-editor-ui-hierarchy-controller';
|
|
3
|
-
import { createLocalEditorContextMenuController } from './local-editor-ui-context-menu';
|
|
4
|
-
import { createLocalEditorTooltipController } from './local-editor-ui-tooltip';
|
|
1
|
+
import * as LocalEditorPanels from './local-editor-ui-panels.js';
|
|
2
|
+
import { createLocalEditorHierarchyController } from './local-editor-ui-hierarchy-controller.js';
|
|
3
|
+
import { createLocalEditorContextMenuController } from './local-editor-ui-context-menu.js';
|
|
4
|
+
import { createLocalEditorTooltipController } from './local-editor-ui-tooltip.js';
|
|
5
|
+
import { createLocalEditorViewportRevealController } from './local-editor-ui-dock-panel.js';
|
|
6
|
+
import { parseLocalEditorBrowserInspectorGroupValueClipboardPayload, } from './local-editor-inspector-clipboard.js';
|
|
7
|
+
import { LOCAL_EDITOR_BROWSER_INSPECTOR_VEC3_AXES, resolveLocalEditorBrowserInspectorVectorGroupPathFromPropertyPath, } from './local-editor-inspector-groups.js';
|
|
5
8
|
import { DEFAULT_EDITOR_TRANSFORM_OPERATION_SETTINGS, DEFAULT_EDITOR_TRANSFORM_TOOL_DESCRIPTORS, } from '@fps-games/editor-core';
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
9
|
+
export { createLocalEditorViewportRevealController, isLocalEditorElementVisibleInViewport, resolveLocalEditorViewportRevealScrollTop, revealLocalEditorElementInViewport, } from './local-editor-ui-dock-panel.js';
|
|
10
|
+
export { createLocalEditorHierarchyBlankMenu, createLocalEditorHierarchyCopyShortcutAction, createLocalEditorHierarchyDeleteShortcutAction, createLocalEditorHierarchyDuplicateShortcutAction, createLocalEditorHierarchyNodeMenu, createLocalEditorHierarchyPasteShortcutAction, createLocalEditorHierarchySelectAllShortcutAction, } from './local-editor-ui-hierarchy-actions.js';
|
|
11
|
+
export { createLocalEditorHierarchyController, } from './local-editor-ui-hierarchy-controller.js';
|
|
12
|
+
export { resolveLocalEditorHierarchySearchRows, } from './local-editor-ui-hierarchy-view.js';
|
|
13
|
+
export { canLocalEditorHierarchyNodeHaveChildren, createLocalEditorHierarchyTreeModel, isLocalEditorHierarchyNodeSelectable, isLocalEditorHierarchyNodeMovable, } from './local-editor-ui-hierarchy-tree.js';
|
|
14
|
+
export { createLocalEditorContextMenuController, } from './local-editor-ui-context-menu.js';
|
|
15
|
+
export { createLocalEditorTooltipController, } from './local-editor-ui-tooltip.js';
|
|
16
|
+
import { createLocalEditorWorkbenchInputRouter } from './local-editor-ui-input-router.js';
|
|
17
|
+
import { createLocalEditorPanelRegistry } from './local-editor-ui-panel-registry.js';
|
|
18
|
+
import * as LocalEditorShared from './local-editor-ui-shared.js';
|
|
19
|
+
import { createShortcutHelpPanel as createLocalEditorShortcutHelpPanel } from './local-editor-ui-shortcuts.js';
|
|
20
|
+
import { applyLocalEditorTheme, ensureLocalEditorTheme, LOCAL_EDITOR_THEME_CLASS, normalizeLocalEditorThemeName, } from './local-editor-ui-theme.js';
|
|
21
|
+
import { createDefaultLocalEditorWorkbenchLayout, createLocalEditorWorkbenchLayoutController, createLocalEditorWorkbench, createSceneHeaderToolbar, createWorkbenchPanelContent, } from './local-editor-ui-workbench.js';
|
|
22
|
+
import { createLocalEditorIcon } from './local-editor-ui-icons.js';
|
|
23
|
+
export { applyLocalEditorBrowserInspectorControlBinding, createLocalEditorBrowserInspectorControlRegistry, formatLocalEditorBrowserInspectorNumberValue, formatLocalEditorBrowserInspectorValue, parseLocalEditorBrowserInspectorNumberValue, resolveLocalEditorBrowserInspectorSectionStatus, resolveLocalEditorBrowserInspectorControlRegistration, } from './local-editor-ui-panels.js';
|
|
24
|
+
export { createLocalEditorBrowserInspectorGroupValueClipboardPayload, createLocalEditorBrowserInspectorVectorCopyPayload, parseLocalEditorBrowserInspectorGroupValueClipboardPayload, } from './local-editor-inspector-clipboard.js';
|
|
25
|
+
export { LOCAL_EDITOR_BROWSER_INSPECTOR_VEC3_AXES, isLocalEditorBrowserInspectorTransformVectorGroupPath, resolveLocalEditorBrowserInspectorVectorGroupAxisFromPropertyPath, resolveLocalEditorBrowserInspectorVectorGroupPathFromPropertyPath, resolveLocalEditorBrowserInspectorVectorGroupPathFromProperties, } from './local-editor-inspector-groups.js';
|
|
26
|
+
export { DEFAULT_LOCAL_EDITOR_THEME, LOCAL_EDITOR_THEME_CLASS, applyLocalEditorTheme, normalizeLocalEditorThemeName, } from './local-editor-ui-theme.js';
|
|
27
|
+
export { LOCAL_EDITOR_ICON_NAMES, createLocalEditorIcon, isLocalEditorIconName, resolveLocalEditorIconName, } from './local-editor-ui-icons.js';
|
|
22
28
|
const PENDING_NUMERIC_PROPERTY_INPUT = Symbol('pending-numeric-property-input');
|
|
23
29
|
function readInspectorInputValue(input, source) {
|
|
24
30
|
const control = input.dataset.serializedControl;
|
|
@@ -192,9 +198,96 @@ function createInspectorPropertyInput(input, source) {
|
|
|
192
198
|
source: input.dataset.serializedEditSource ?? source,
|
|
193
199
|
};
|
|
194
200
|
}
|
|
201
|
+
function createInspectorPropertyInputs(input, source, lockedVectorGroups) {
|
|
202
|
+
const propertyInput = createInspectorPropertyInput(input, source);
|
|
203
|
+
if (!propertyInput)
|
|
204
|
+
return null;
|
|
205
|
+
const groupPath = resolveLocalEditorBrowserInspectorVectorGroupPathFromPropertyPath(propertyInput.path);
|
|
206
|
+
if (!groupPath || !lockedVectorGroups.has(groupPath))
|
|
207
|
+
return [propertyInput];
|
|
208
|
+
if (propertyInput.control !== 'number' || propertyInput.valueType !== 'number')
|
|
209
|
+
return [propertyInput];
|
|
210
|
+
if (typeof propertyInput.value !== 'number' || !Number.isFinite(propertyInput.value))
|
|
211
|
+
return [propertyInput];
|
|
212
|
+
return LOCAL_EDITOR_BROWSER_INSPECTOR_VEC3_AXES.map(axis => ({
|
|
213
|
+
...propertyInput,
|
|
214
|
+
path: `${groupPath}.${axis}`,
|
|
215
|
+
}));
|
|
216
|
+
}
|
|
217
|
+
function createInspectorVectorPastePropertyInputs(input, payload) {
|
|
218
|
+
const targetGroupPath = resolveLocalEditorBrowserInspectorVectorGroupPathFromPropertyPath(input.dataset.serializedPath);
|
|
219
|
+
if (!targetGroupPath || payload.groupPath !== targetGroupPath)
|
|
220
|
+
return null;
|
|
221
|
+
if (!input.dataset.serializedTargetId)
|
|
222
|
+
return null;
|
|
223
|
+
const targetIds = input.dataset.serializedTargetIds
|
|
224
|
+
? input.dataset.serializedTargetIds.split(',').filter(Boolean)
|
|
225
|
+
: undefined;
|
|
226
|
+
return LOCAL_EDITOR_BROWSER_INSPECTOR_VEC3_AXES.map(axis => ({
|
|
227
|
+
targetId: input.dataset.serializedTargetId,
|
|
228
|
+
targetIds,
|
|
229
|
+
path: `${targetGroupPath}.${axis}`,
|
|
230
|
+
value: payload.value[axis],
|
|
231
|
+
control: 'number',
|
|
232
|
+
valueType: 'number',
|
|
233
|
+
commitMode: input.dataset.serializedCommitMode,
|
|
234
|
+
persistence: input.dataset.serializedPersistence,
|
|
235
|
+
source: 'input',
|
|
236
|
+
}));
|
|
237
|
+
}
|
|
238
|
+
function applyInspectorVectorPasteToDom(input, payload) {
|
|
239
|
+
const group = input.closest('[data-editor-inspector-vector-group-path]');
|
|
240
|
+
const fields = group
|
|
241
|
+
? Array.from(group.querySelectorAll('input[data-serialized-path]'))
|
|
242
|
+
: [input];
|
|
243
|
+
for (const field of fields) {
|
|
244
|
+
const groupPath = resolveLocalEditorBrowserInspectorVectorGroupPathFromPropertyPath(field.dataset.serializedPath);
|
|
245
|
+
if (groupPath !== payload.groupPath)
|
|
246
|
+
continue;
|
|
247
|
+
const axis = field.dataset.serializedPath?.slice(groupPath.length + 1);
|
|
248
|
+
if (axis !== 'x' && axis !== 'y' && axis !== 'z')
|
|
249
|
+
continue;
|
|
250
|
+
field.value = LocalEditorPanels.formatLocalEditorBrowserInspectorNumberValue(payload.value[axis]);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
function applyInspectorLockedVectorInputToDom(input, propertyInputs) {
|
|
254
|
+
if (!(input instanceof HTMLInputElement))
|
|
255
|
+
return;
|
|
256
|
+
const first = propertyInputs[0];
|
|
257
|
+
if (!first || propertyInputs.length !== LOCAL_EDITOR_BROWSER_INSPECTOR_VEC3_AXES.length)
|
|
258
|
+
return;
|
|
259
|
+
if (typeof first.value !== 'number' || !Number.isFinite(first.value))
|
|
260
|
+
return;
|
|
261
|
+
const groupPath = resolveLocalEditorBrowserInspectorVectorGroupPathFromPropertyPath(first.path);
|
|
262
|
+
if (!groupPath)
|
|
263
|
+
return;
|
|
264
|
+
const group = input.closest('[data-editor-inspector-vector-group-path]');
|
|
265
|
+
const fields = group
|
|
266
|
+
? Array.from(group.querySelectorAll('input[data-serialized-path]'))
|
|
267
|
+
: [input];
|
|
268
|
+
const formatted = LocalEditorPanels.formatLocalEditorBrowserInspectorNumberValue(first.value);
|
|
269
|
+
for (const field of fields) {
|
|
270
|
+
if (resolveLocalEditorBrowserInspectorVectorGroupPathFromPropertyPath(field.dataset.serializedPath) === groupPath) {
|
|
271
|
+
field.value = formatted;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
195
275
|
function readRenderingInputValue(input, source) {
|
|
196
276
|
const control = input.dataset.renderingControl;
|
|
197
277
|
const valueType = input.dataset.renderingValueType;
|
|
278
|
+
if (control === 'enum' && input instanceof HTMLSelectElement) {
|
|
279
|
+
const option = input.selectedOptions.item(0);
|
|
280
|
+
const encoded = option?.dataset.serializedOptionValue;
|
|
281
|
+
if (encoded != null) {
|
|
282
|
+
try {
|
|
283
|
+
return JSON.parse(encoded);
|
|
284
|
+
}
|
|
285
|
+
catch {
|
|
286
|
+
return option?.value ?? input.value;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
return input.value;
|
|
290
|
+
}
|
|
198
291
|
if (input instanceof HTMLInputElement && input.type === 'checkbox')
|
|
199
292
|
return input.checked;
|
|
200
293
|
if (input instanceof HTMLInputElement && input.type === 'color') {
|
|
@@ -259,6 +352,11 @@ function readInspectorImmediateSource(input) {
|
|
|
259
352
|
return 'input';
|
|
260
353
|
}
|
|
261
354
|
function readRenderingImmediateSource(input) {
|
|
355
|
+
const explicitSource = input.dataset.renderingEditSource;
|
|
356
|
+
if (explicitSource)
|
|
357
|
+
return explicitSource;
|
|
358
|
+
if (input instanceof HTMLSelectElement)
|
|
359
|
+
return 'select';
|
|
262
360
|
if (input instanceof HTMLInputElement && input.type === 'checkbox')
|
|
263
361
|
return 'toggle';
|
|
264
362
|
if (input instanceof HTMLInputElement && input.type === 'color')
|
|
@@ -267,6 +365,133 @@ function readRenderingImmediateSource(input) {
|
|
|
267
365
|
return 'list';
|
|
268
366
|
return 'input';
|
|
269
367
|
}
|
|
368
|
+
export function captureLocalEditorEditableFocus(doc) {
|
|
369
|
+
const active = doc.activeElement;
|
|
370
|
+
if (!(active instanceof HTMLInputElement || active instanceof HTMLTextAreaElement || active instanceof HTMLSelectElement)) {
|
|
371
|
+
return null;
|
|
372
|
+
}
|
|
373
|
+
const selector = createLocalEditorEditableFocusSelector(active);
|
|
374
|
+
if (!selector)
|
|
375
|
+
return null;
|
|
376
|
+
return {
|
|
377
|
+
selector,
|
|
378
|
+
value: readLocalEditorEditableDraftValue(active),
|
|
379
|
+
...readLocalEditorEditableSelection(active),
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
export function restoreLocalEditorEditableFocus(doc, snapshot) {
|
|
383
|
+
if (!snapshot)
|
|
384
|
+
return;
|
|
385
|
+
const element = doc.querySelector(snapshot.selector);
|
|
386
|
+
if (!(element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement || element instanceof HTMLSelectElement)) {
|
|
387
|
+
return;
|
|
388
|
+
}
|
|
389
|
+
if (snapshot.value != null && canRestoreLocalEditorEditableDraftValue(element)) {
|
|
390
|
+
element.value = snapshot.value;
|
|
391
|
+
}
|
|
392
|
+
element.focus({ preventScroll: true });
|
|
393
|
+
restoreLocalEditorEditableSelection(element, snapshot);
|
|
394
|
+
}
|
|
395
|
+
function createLocalEditorEditableFocusSelector(element) {
|
|
396
|
+
if (element instanceof HTMLInputElement && element.dataset.editorHierarchyRenameInput) {
|
|
397
|
+
return [
|
|
398
|
+
'input',
|
|
399
|
+
`[data-editor-hierarchy-rename-input="${cssEscape(element.dataset.editorHierarchyRenameInput)}"]`,
|
|
400
|
+
].join('');
|
|
401
|
+
}
|
|
402
|
+
if ((element instanceof HTMLInputElement || element instanceof HTMLSelectElement) && element.dataset.serializedPath && element.dataset.serializedTargetId) {
|
|
403
|
+
return [
|
|
404
|
+
element instanceof HTMLSelectElement ? 'select' : 'input',
|
|
405
|
+
`[data-serialized-path="${cssEscape(element.dataset.serializedPath)}"]`,
|
|
406
|
+
`[data-serialized-target-id="${cssEscape(element.dataset.serializedTargetId)}"]`,
|
|
407
|
+
element.dataset.serializedVectorAxis
|
|
408
|
+
? `[data-serialized-vector-axis="${cssEscape(element.dataset.serializedVectorAxis)}"]`
|
|
409
|
+
: '',
|
|
410
|
+
].join('');
|
|
411
|
+
}
|
|
412
|
+
if ((element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement) && element.dataset.editorRenderingProperty) {
|
|
413
|
+
const sectionId = element.dataset.renderingSectionId;
|
|
414
|
+
const systemId = element.dataset.renderingSystemId;
|
|
415
|
+
const path = element.dataset.renderingPath;
|
|
416
|
+
if (!sectionId || !systemId || !path)
|
|
417
|
+
return null;
|
|
418
|
+
return [
|
|
419
|
+
element instanceof HTMLTextAreaElement ? 'textarea' : 'input',
|
|
420
|
+
'[data-editor-rendering-property="true"]',
|
|
421
|
+
`[data-rendering-section-id="${cssEscape(sectionId)}"]`,
|
|
422
|
+
`[data-rendering-system-id="${cssEscape(systemId)}"]`,
|
|
423
|
+
`[data-rendering-path="${cssEscape(path)}"]`,
|
|
424
|
+
element.dataset.serializedVectorAxis
|
|
425
|
+
? `[data-serialized-vector-axis="${cssEscape(element.dataset.serializedVectorAxis)}"]`
|
|
426
|
+
: '',
|
|
427
|
+
].join('');
|
|
428
|
+
}
|
|
429
|
+
if (element instanceof HTMLInputElement && element.dataset.editorInspectorSearch != null) {
|
|
430
|
+
return 'input[data-editor-inspector-search]';
|
|
431
|
+
}
|
|
432
|
+
if (element instanceof HTMLInputElement && element.dataset.editorHierarchySearch != null) {
|
|
433
|
+
return 'input[data-editor-hierarchy-search]';
|
|
434
|
+
}
|
|
435
|
+
if (element instanceof HTMLInputElement && element.dataset.editorAssetFilter != null) {
|
|
436
|
+
return 'input[data-editor-asset-filter]';
|
|
437
|
+
}
|
|
438
|
+
return null;
|
|
439
|
+
}
|
|
440
|
+
function readLocalEditorEditableDraftValue(element) {
|
|
441
|
+
return canRestoreLocalEditorEditableDraftValue(element) ? element.value : null;
|
|
442
|
+
}
|
|
443
|
+
function canRestoreLocalEditorEditableDraftValue(element) {
|
|
444
|
+
if (element instanceof HTMLTextAreaElement)
|
|
445
|
+
return true;
|
|
446
|
+
if (!(element instanceof HTMLInputElement))
|
|
447
|
+
return false;
|
|
448
|
+
return element.type !== 'checkbox'
|
|
449
|
+
&& element.type !== 'radio'
|
|
450
|
+
&& element.type !== 'color'
|
|
451
|
+
&& element.type !== 'button'
|
|
452
|
+
&& element.type !== 'submit'
|
|
453
|
+
&& element.type !== 'reset';
|
|
454
|
+
}
|
|
455
|
+
function readLocalEditorEditableSelection(element) {
|
|
456
|
+
if (!canRestoreLocalEditorEditableDraftValue(element)) {
|
|
457
|
+
return {
|
|
458
|
+
selectionStart: null,
|
|
459
|
+
selectionEnd: null,
|
|
460
|
+
selectionDirection: null,
|
|
461
|
+
};
|
|
462
|
+
}
|
|
463
|
+
try {
|
|
464
|
+
return {
|
|
465
|
+
selectionStart: element.selectionStart,
|
|
466
|
+
selectionEnd: element.selectionEnd,
|
|
467
|
+
selectionDirection: element.selectionDirection,
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
catch {
|
|
471
|
+
return {
|
|
472
|
+
selectionStart: null,
|
|
473
|
+
selectionEnd: null,
|
|
474
|
+
selectionDirection: null,
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
function restoreLocalEditorEditableSelection(element, snapshot) {
|
|
479
|
+
if (!canRestoreLocalEditorEditableDraftValue(element))
|
|
480
|
+
return;
|
|
481
|
+
const start = snapshot.selectionStart ?? snapshot.value?.length ?? element.value.length;
|
|
482
|
+
const end = snapshot.selectionEnd ?? start;
|
|
483
|
+
try {
|
|
484
|
+
element.setSelectionRange(start, end, snapshot.selectionDirection ?? 'none');
|
|
485
|
+
}
|
|
486
|
+
catch {
|
|
487
|
+
// Some input types reject text selection APIs even when they carry editable text.
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
function cssEscape(value) {
|
|
491
|
+
return typeof CSS !== 'undefined' && typeof CSS.escape === 'function'
|
|
492
|
+
? CSS.escape(value)
|
|
493
|
+
: value.replace(/["\\]/g, '\\$&');
|
|
494
|
+
}
|
|
270
495
|
function createSceneFrameRateOverlay(doc) {
|
|
271
496
|
const root = doc.createElement('div');
|
|
272
497
|
root.classList.add(LOCAL_EDITOR_THEME_CLASS);
|
|
@@ -776,12 +1001,27 @@ function createAssetBrowserMenuItems(state, asset) {
|
|
|
776
1001
|
const activeId = state.activeId;
|
|
777
1002
|
const items = [];
|
|
778
1003
|
if (assetKind === 'material') {
|
|
1004
|
+
const deleteDisabledReason = getMaterialAssetDeleteDisabledReason(asset);
|
|
779
1005
|
items.push({
|
|
780
1006
|
id: 'asset.edit-material',
|
|
781
1007
|
label: '编辑材质球',
|
|
782
1008
|
disabled: !asset.material,
|
|
783
1009
|
disabledReason: '该材质资产缺少可编辑参数。',
|
|
784
1010
|
});
|
|
1011
|
+
items.push({
|
|
1012
|
+
id: 'asset.duplicate-material',
|
|
1013
|
+
label: '复制材质',
|
|
1014
|
+
disabled: !asset.assetId,
|
|
1015
|
+
disabledReason: '该材质资产缺少可复制的材质 ID。',
|
|
1016
|
+
});
|
|
1017
|
+
items.push({
|
|
1018
|
+
id: 'asset.delete-material',
|
|
1019
|
+
label: '删除材质',
|
|
1020
|
+
danger: true,
|
|
1021
|
+
separatorBefore: true,
|
|
1022
|
+
disabled: !!deleteDisabledReason,
|
|
1023
|
+
disabledReason: deleteDisabledReason,
|
|
1024
|
+
});
|
|
785
1025
|
}
|
|
786
1026
|
else if (assetKind === 'texture' && asset.preview) {
|
|
787
1027
|
items.push({
|
|
@@ -860,6 +1100,18 @@ function createAssetBrowserMenuItems(state, asset) {
|
|
|
860
1100
|
});
|
|
861
1101
|
return items;
|
|
862
1102
|
}
|
|
1103
|
+
function getMaterialAssetDeleteDisabledReason(asset) {
|
|
1104
|
+
if (!asset.assetId)
|
|
1105
|
+
return '该材质资产缺少可删除的材质 ID。';
|
|
1106
|
+
if (!asset.material)
|
|
1107
|
+
return '该材质资产缺少可删除的材质数据。';
|
|
1108
|
+
if (asset.material.readonly)
|
|
1109
|
+
return '系统默认材质不可删除。';
|
|
1110
|
+
const usageCount = asset.material.usage?.count ?? 0;
|
|
1111
|
+
if (usageCount > 0)
|
|
1112
|
+
return `该材质正在被 ${usageCount} 处使用,请先替换或解绑。`;
|
|
1113
|
+
return undefined;
|
|
1114
|
+
}
|
|
863
1115
|
function resolveBrowserAssetKind(asset) {
|
|
864
1116
|
const kind = `${asset.kind ?? ''}`.trim().toLowerCase();
|
|
865
1117
|
const id = `${asset.id ?? ''}`.trim().toLowerCase();
|
|
@@ -931,6 +1183,45 @@ function findInspectorPropertyForInput(state, input) {
|
|
|
931
1183
|
}
|
|
932
1184
|
return null;
|
|
933
1185
|
}
|
|
1186
|
+
function findRenderingPropertyForInput(state, input) {
|
|
1187
|
+
const sectionId = input.dataset.renderingSectionId;
|
|
1188
|
+
const systemId = input.dataset.renderingSystemId;
|
|
1189
|
+
const path = input.dataset.renderingPath;
|
|
1190
|
+
if (!sectionId || !systemId || !path)
|
|
1191
|
+
return null;
|
|
1192
|
+
const renderingPanel = state.renderingPanel;
|
|
1193
|
+
const section = renderingPanel?.sections.find(candidate => candidate.id === sectionId);
|
|
1194
|
+
const system = section?.systems.find(candidate => candidate.id === systemId);
|
|
1195
|
+
const property = system?.properties.find(candidate => candidate.path === path);
|
|
1196
|
+
if (!property)
|
|
1197
|
+
return null;
|
|
1198
|
+
const readOnly = system?.readOnly === true || property.readOnly === true || property.disabled === true;
|
|
1199
|
+
return {
|
|
1200
|
+
path: property.path,
|
|
1201
|
+
label: property.label,
|
|
1202
|
+
valueType: property.valueType === 'string-list' ? 'string' : property.valueType,
|
|
1203
|
+
control: property.control === 'asset-picker-card'
|
|
1204
|
+
? readOnly ? 'readonly' : 'custom'
|
|
1205
|
+
: property.control === 'string-list'
|
|
1206
|
+
? readOnly ? 'readonly' : 'string'
|
|
1207
|
+
: property.control,
|
|
1208
|
+
customControl: property.control === 'asset-picker-card' ? 'asset-picker-card' : undefined,
|
|
1209
|
+
value: property.value,
|
|
1210
|
+
readOnly,
|
|
1211
|
+
persistence: readOnly ? 'readonly' : 'document',
|
|
1212
|
+
commitMode: property.commitMode ?? (property.control === 'string-list' ? 'blur' : 'live'),
|
|
1213
|
+
tooltip: property.tooltip,
|
|
1214
|
+
effect: property.disabled ? 'unsupported' : undefined,
|
|
1215
|
+
disabledReason: property.disabledReason,
|
|
1216
|
+
placeholder: property.placeholder,
|
|
1217
|
+
min: property.min,
|
|
1218
|
+
max: property.max,
|
|
1219
|
+
step: property.step,
|
|
1220
|
+
options: property.options,
|
|
1221
|
+
controlOptions: property.controlOptions,
|
|
1222
|
+
tags: property.tags,
|
|
1223
|
+
};
|
|
1224
|
+
}
|
|
934
1225
|
export function createLocalEditorBrowserUi(options = {}) {
|
|
935
1226
|
const doc = options.document ?? document;
|
|
936
1227
|
const root = options.root ?? doc.body;
|
|
@@ -950,6 +1241,7 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
950
1241
|
});
|
|
951
1242
|
let currentState = null;
|
|
952
1243
|
let inspectorFilter = '';
|
|
1244
|
+
const lockedInspectorVectorGroups = new Set();
|
|
953
1245
|
let assetBrowserTab = 'all';
|
|
954
1246
|
const workbenchLayout = createDefaultLocalEditorWorkbenchLayout();
|
|
955
1247
|
const panelRegistry = createLocalEditorPanelRegistry(workbenchLayout);
|
|
@@ -1053,11 +1345,13 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
1053
1345
|
editorStatusButton.dataset.editorStatusButton = 'true';
|
|
1054
1346
|
editorStatusButton.style.cursor = 'help';
|
|
1055
1347
|
const workbench = createLocalEditorWorkbench(doc);
|
|
1348
|
+
const leftDockTabs = doc.createElement('div');
|
|
1056
1349
|
const hierarchyPanel = createWorkbenchPanelContent(doc);
|
|
1057
1350
|
const assetPanel = workbench.bottomDock;
|
|
1058
1351
|
const rightDockTabs = doc.createElement('div');
|
|
1059
1352
|
const inspectorPanel = createWorkbenchPanelContent(doc);
|
|
1060
1353
|
const renderingPanel = createWorkbenchPanelContent(doc);
|
|
1354
|
+
workbench.leftDock.appendChild(leftDockTabs);
|
|
1061
1355
|
workbench.leftDock.appendChild(hierarchyPanel);
|
|
1062
1356
|
workbench.rightDock.appendChild(rightDockTabs);
|
|
1063
1357
|
workbench.rightDock.appendChild(inspectorPanel);
|
|
@@ -1065,6 +1359,14 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
1065
1359
|
root.appendChild(workbench.root);
|
|
1066
1360
|
tooltipSurfaces.add(workbench.root);
|
|
1067
1361
|
const workbenchLayoutController = createLocalEditorWorkbenchLayoutController(doc, workbench);
|
|
1362
|
+
const findAssetBrowserScrollViewport = () => (assetPanel.querySelector('[data-editor-asset-browser-scroll-viewport]'));
|
|
1363
|
+
const assetBrowserViewportReveal = createLocalEditorViewportRevealController({
|
|
1364
|
+
getViewport: findAssetBrowserScrollViewport,
|
|
1365
|
+
margin: 4,
|
|
1366
|
+
});
|
|
1367
|
+
let lastRenderedAssetBrowserTab;
|
|
1368
|
+
let lastRenderedBottomDockTab;
|
|
1369
|
+
let lastRenderedSelectedAssetId;
|
|
1068
1370
|
const sceneToolOverlay = createSceneHeaderToolbar(doc);
|
|
1069
1371
|
const sceneTitle = doc.createElement('div');
|
|
1070
1372
|
sceneTitle.textContent = 'Preview';
|
|
@@ -2144,7 +2446,7 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2144
2446
|
contextMenu.close();
|
|
2145
2447
|
helpOpen = open;
|
|
2146
2448
|
syncInputModalOpen();
|
|
2147
|
-
shortcutHelpPanel.style.display = helpOpen ? '' : 'none';
|
|
2449
|
+
shortcutHelpPanel.style.display = helpOpen ? 'flex' : 'none';
|
|
2148
2450
|
LocalEditorShared.applyButtonActiveState(sceneHelpButton, helpOpen);
|
|
2149
2451
|
};
|
|
2150
2452
|
const openAssetPreviewModal = (asset) => {
|
|
@@ -2264,6 +2566,7 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2264
2566
|
assetPreviewMeta.textContent = [
|
|
2265
2567
|
material.name || asset.label,
|
|
2266
2568
|
materialKind === 'standard' ? 'Standard' : 'PBR',
|
|
2569
|
+
`被 ${material.usage?.count ?? 0} 处使用`,
|
|
2267
2570
|
readonly ? '只读系统材质' : '共享资产参数',
|
|
2268
2571
|
material.id,
|
|
2269
2572
|
].filter(Boolean).join(' · ');
|
|
@@ -2290,16 +2593,17 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2290
2593
|
: '修改会影响所有使用该材质球的物体。';
|
|
2291
2594
|
previewMeta.style.cssText = 'color:var(--fps-editor-muted);font-size:11px;font-weight:800;line-height:1.45';
|
|
2292
2595
|
previewColumn.appendChild(previewMeta);
|
|
2596
|
+
appendMaterialEditorUsageSummary(previewColumn, material.usage ?? { count: 0, items: [] });
|
|
2293
2597
|
const form = doc.createElement('div');
|
|
2294
2598
|
form.style.cssText = 'display:grid;grid-template-columns:minmax(96px,140px) minmax(0,1fr);gap:7px 10px;align-items:center;min-width:0';
|
|
2295
|
-
|
|
2599
|
+
appendMaterialEditorTextField(form, '名称', 'name', material.name || asset.label, readonly);
|
|
2296
2600
|
appendMaterialEditorReadonlyRow(form, '类型', materialKind === 'standard' ? 'Standard 标准材质球' : 'PBR 标准材质球');
|
|
2297
|
-
appendMaterialEditorColorField(form, '基础颜色', 'profile.baseColor.color', baseColor.color ?? { r: 1, g: 1, b: 1 }, readonly);
|
|
2298
2601
|
appendMaterialEditorTextureField(form, '基础贴图', 'profile.baseColor.texture.url', baseColor.texture?.url ?? '', readonly);
|
|
2299
|
-
appendMaterialEditorNumberField(form, '
|
|
2300
|
-
appendMaterialEditorNumberField(form, '
|
|
2301
|
-
appendMaterialEditorNumberField(form, '
|
|
2302
|
-
appendMaterialEditorNumberField(form, '
|
|
2602
|
+
appendMaterialEditorNumberField(form, '贴图亮度', 'profile.baseColor.brightness', baseColor.brightness ?? 1, readonly, 0, 2, 0.05);
|
|
2603
|
+
appendMaterialEditorNumberField(form, '贴图饱和度', 'profile.baseColor.saturation', baseColor.saturation ?? 1, readonly, 0, 2, 0.05);
|
|
2604
|
+
appendMaterialEditorNumberField(form, '贴图对比度', 'profile.baseColor.contrast', baseColor.contrast ?? 1, readonly, 0, 2, 0.05);
|
|
2605
|
+
appendMaterialEditorNumberField(form, '贴图色相', 'profile.baseColor.hue', baseColor.hue ?? 0, readonly, -180, 180, 1);
|
|
2606
|
+
appendMaterialEditorColorField(form, '基础色', 'profile.baseColor.color', baseColor.color ?? { r: 1, g: 1, b: 1 }, readonly);
|
|
2303
2607
|
if (materialKind === 'pbr') {
|
|
2304
2608
|
appendMaterialEditorNumberField(form, '金属度', 'profile.metallic', profile.metallic ?? 0, readonly, 0, 1, 0.05);
|
|
2305
2609
|
appendMaterialEditorNumberField(form, '粗糙度', 'profile.roughness', profile.roughness ?? 1, readonly, 0, 1, 0.05);
|
|
@@ -2332,6 +2636,69 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2332
2636
|
].join(';');
|
|
2333
2637
|
container.appendChild(output);
|
|
2334
2638
|
}
|
|
2639
|
+
function appendMaterialEditorTextField(container, label, fieldPath, value, readonly) {
|
|
2640
|
+
appendMaterialEditorLabel(container, label);
|
|
2641
|
+
const input = doc.createElement('input');
|
|
2642
|
+
input.type = 'text';
|
|
2643
|
+
input.value = value;
|
|
2644
|
+
input.disabled = readonly;
|
|
2645
|
+
input.spellcheck = false;
|
|
2646
|
+
input.dataset.editorAssetMaterialField = fieldPath;
|
|
2647
|
+
input.dataset.editorAssetMaterialFieldKind = 'text';
|
|
2648
|
+
input.style.cssText = createMaterialEditorFieldCss(readonly);
|
|
2649
|
+
container.appendChild(input);
|
|
2650
|
+
}
|
|
2651
|
+
function appendMaterialEditorUsageSummary(container, usage) {
|
|
2652
|
+
const panel = doc.createElement('div');
|
|
2653
|
+
panel.style.cssText = [
|
|
2654
|
+
'border:1px solid var(--fps-editor-border)',
|
|
2655
|
+
'border-radius:3px',
|
|
2656
|
+
'background:var(--fps-editor-field)',
|
|
2657
|
+
'padding:8px',
|
|
2658
|
+
'display:flex',
|
|
2659
|
+
'flex-direction:column',
|
|
2660
|
+
'gap:6px',
|
|
2661
|
+
'min-width:0',
|
|
2662
|
+
].join(';');
|
|
2663
|
+
const title = doc.createElement('div');
|
|
2664
|
+
title.textContent = `被 ${usage.count} 处使用`;
|
|
2665
|
+
title.style.cssText = 'font-size:12px;font-weight:900;color:var(--fps-editor-text-strong)';
|
|
2666
|
+
panel.appendChild(title);
|
|
2667
|
+
if (usage.items.length === 0) {
|
|
2668
|
+
const empty = doc.createElement('div');
|
|
2669
|
+
empty.textContent = '未被场景使用';
|
|
2670
|
+
empty.style.cssText = 'font-size:11px;font-weight:800;color:var(--fps-editor-muted)';
|
|
2671
|
+
panel.appendChild(empty);
|
|
2672
|
+
}
|
|
2673
|
+
else {
|
|
2674
|
+
const list = doc.createElement('div');
|
|
2675
|
+
list.style.cssText = 'display:flex;flex-direction:column;gap:4px;min-width:0';
|
|
2676
|
+
for (const item of usage.items) {
|
|
2677
|
+
const row = doc.createElement('div');
|
|
2678
|
+
row.textContent = item.label;
|
|
2679
|
+
row.title = item.bindingPath || item.label;
|
|
2680
|
+
row.style.cssText = [
|
|
2681
|
+
'min-height:22px',
|
|
2682
|
+
'display:flex',
|
|
2683
|
+
'align-items:center',
|
|
2684
|
+
'min-width:0',
|
|
2685
|
+
'padding:0 6px',
|
|
2686
|
+
'border:1px solid var(--fps-editor-border-soft)',
|
|
2687
|
+
'border-radius:3px',
|
|
2688
|
+
'background:var(--fps-editor-panel-soft)',
|
|
2689
|
+
'color:var(--fps-editor-muted-strong)',
|
|
2690
|
+
'font-size:11px',
|
|
2691
|
+
'font-weight:800',
|
|
2692
|
+
'overflow:hidden',
|
|
2693
|
+
'text-overflow:ellipsis',
|
|
2694
|
+
'white-space:nowrap',
|
|
2695
|
+
].join(';');
|
|
2696
|
+
list.appendChild(row);
|
|
2697
|
+
}
|
|
2698
|
+
panel.appendChild(list);
|
|
2699
|
+
}
|
|
2700
|
+
container.appendChild(panel);
|
|
2701
|
+
}
|
|
2335
2702
|
function appendMaterialEditorColorField(container, label, fieldPath, color, readonly) {
|
|
2336
2703
|
appendMaterialEditorLabel(container, label);
|
|
2337
2704
|
const input = doc.createElement('input');
|
|
@@ -2680,6 +3047,21 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2680
3047
|
[key]: input.checked,
|
|
2681
3048
|
});
|
|
2682
3049
|
});
|
|
3050
|
+
function suppressAssetBrowserRevealIfVisible(assetButton) {
|
|
3051
|
+
const assetId = assetButton.dataset.editorAssetId;
|
|
3052
|
+
if (assetId && assetBrowserViewportReveal.isElementVisible(assetButton)) {
|
|
3053
|
+
assetBrowserViewportReveal.suppressNextReveal(assetId);
|
|
3054
|
+
}
|
|
3055
|
+
}
|
|
3056
|
+
function revealSelectedAssetBrowserItem(assetId) {
|
|
3057
|
+
const buttons = assetPanel.querySelectorAll('[data-editor-asset-id]');
|
|
3058
|
+
for (const button of buttons) {
|
|
3059
|
+
if (button.dataset.editorAssetId !== assetId)
|
|
3060
|
+
continue;
|
|
3061
|
+
assetBrowserViewportReveal.revealElement(button);
|
|
3062
|
+
return;
|
|
3063
|
+
}
|
|
3064
|
+
}
|
|
2683
3065
|
assetPanel.addEventListener('click', (event) => {
|
|
2684
3066
|
const target = event.target instanceof HTMLElement ? event.target : null;
|
|
2685
3067
|
const tabButton = target?.closest('[data-editor-dock-tab]');
|
|
@@ -2698,8 +3080,17 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2698
3080
|
render(currentState);
|
|
2699
3081
|
return;
|
|
2700
3082
|
}
|
|
3083
|
+
const createMaterialButton = target?.closest('[data-editor-create-material-asset]');
|
|
3084
|
+
if (createMaterialButton) {
|
|
3085
|
+
callbacks.onAssetAction?.({
|
|
3086
|
+
actionId: 'asset.create-material',
|
|
3087
|
+
assetKind: 'material',
|
|
3088
|
+
});
|
|
3089
|
+
return;
|
|
3090
|
+
}
|
|
2701
3091
|
const assetButton = target?.closest('[data-editor-asset-id]');
|
|
2702
3092
|
if (assetButton?.dataset.editorAssetId) {
|
|
3093
|
+
suppressAssetBrowserRevealIfVisible(assetButton);
|
|
2703
3094
|
callbacks.onSelectAsset?.(assetButton.dataset.editorAssetId);
|
|
2704
3095
|
return;
|
|
2705
3096
|
}
|
|
@@ -2715,6 +3106,7 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2715
3106
|
return;
|
|
2716
3107
|
event.preventDefault();
|
|
2717
3108
|
event.stopPropagation();
|
|
3109
|
+
suppressAssetBrowserRevealIfVisible(assetButton);
|
|
2718
3110
|
callbacks.onSelectAsset?.(browserAssetId);
|
|
2719
3111
|
contextMenu.open({
|
|
2720
3112
|
x: event.clientX,
|
|
@@ -2755,6 +3147,16 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2755
3147
|
render(currentState);
|
|
2756
3148
|
}
|
|
2757
3149
|
});
|
|
3150
|
+
workbench.leftDock.addEventListener('click', (event) => {
|
|
3151
|
+
const target = event.target instanceof HTMLElement ? event.target : null;
|
|
3152
|
+
const tabButton = target?.closest('[data-editor-left-dock-tab]');
|
|
3153
|
+
const tab = tabButton?.dataset.editorLeftDockTab;
|
|
3154
|
+
if (tab === 'hierarchy') {
|
|
3155
|
+
panelRegistry.setActivePanel('left', tab);
|
|
3156
|
+
if (currentState)
|
|
3157
|
+
render(currentState);
|
|
3158
|
+
}
|
|
3159
|
+
});
|
|
2758
3160
|
const hierarchyController = createLocalEditorHierarchyController({
|
|
2759
3161
|
doc,
|
|
2760
3162
|
panel: hierarchyPanel,
|
|
@@ -2794,12 +3196,67 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2794
3196
|
return;
|
|
2795
3197
|
if (readInspectorCommitMode(input) !== 'live')
|
|
2796
3198
|
return;
|
|
2797
|
-
const
|
|
2798
|
-
if (
|
|
3199
|
+
const propertyInputs = createInspectorPropertyInputs(input, 'input', lockedInspectorVectorGroups);
|
|
3200
|
+
if (!propertyInputs)
|
|
3201
|
+
return;
|
|
3202
|
+
applyInspectorLockedVectorInputToDom(input, propertyInputs);
|
|
3203
|
+
for (const propertyInput of propertyInputs)
|
|
3204
|
+
callbacks.onPropertyInput?.(propertyInput);
|
|
3205
|
+
});
|
|
3206
|
+
inspectorPanel.addEventListener('paste', (event) => {
|
|
3207
|
+
const input = event.target instanceof HTMLInputElement ? event.target : null;
|
|
3208
|
+
const text = event.clipboardData?.getData('text/plain') ?? event.clipboardData?.getData('text') ?? '';
|
|
3209
|
+
if (!input || !text)
|
|
3210
|
+
return;
|
|
3211
|
+
const payload = parseLocalEditorBrowserInspectorGroupValueClipboardPayload(text);
|
|
3212
|
+
if (!payload)
|
|
3213
|
+
return;
|
|
3214
|
+
event.preventDefault();
|
|
3215
|
+
event.stopPropagation();
|
|
3216
|
+
const propertyInputs = createInspectorVectorPastePropertyInputs(input, payload);
|
|
3217
|
+
if (!propertyInputs)
|
|
3218
|
+
return;
|
|
3219
|
+
applyInspectorVectorPasteToDom(input, payload);
|
|
3220
|
+
for (const propertyInput of propertyInputs)
|
|
2799
3221
|
callbacks.onPropertyInput?.(propertyInput);
|
|
2800
3222
|
});
|
|
2801
3223
|
inspectorPanel.addEventListener('click', (event) => {
|
|
2802
3224
|
const target = event.target instanceof HTMLElement ? event.target : null;
|
|
3225
|
+
const vectorLockButton = target?.closest('[data-editor-inspector-vector-lock]');
|
|
3226
|
+
if (vectorLockButton) {
|
|
3227
|
+
const groupPath = vectorLockButton.dataset.editorInspectorVectorLock;
|
|
3228
|
+
if (!groupPath)
|
|
3229
|
+
return;
|
|
3230
|
+
event.preventDefault();
|
|
3231
|
+
event.stopPropagation();
|
|
3232
|
+
if (lockedInspectorVectorGroups.has(groupPath))
|
|
3233
|
+
lockedInspectorVectorGroups.delete(groupPath);
|
|
3234
|
+
else
|
|
3235
|
+
lockedInspectorVectorGroups.add(groupPath);
|
|
3236
|
+
if (currentState)
|
|
3237
|
+
render(currentState);
|
|
3238
|
+
return;
|
|
3239
|
+
}
|
|
3240
|
+
const vectorCopyButton = target?.closest('[data-editor-inspector-vector-copy]');
|
|
3241
|
+
if (vectorCopyButton) {
|
|
3242
|
+
const value = vectorCopyButton.dataset.editorInspectorVectorCopyValue;
|
|
3243
|
+
if (!value)
|
|
3244
|
+
return;
|
|
3245
|
+
event.preventDefault();
|
|
3246
|
+
event.stopPropagation();
|
|
3247
|
+
copyTextToClipboard(doc.defaultView, value);
|
|
3248
|
+
return;
|
|
3249
|
+
}
|
|
3250
|
+
const materialSlotSelectTarget = target?.closest('[data-editor-inspector-material-slot-select]');
|
|
3251
|
+
const materialSlotSelectionId = materialSlotSelectTarget?.dataset.editorInspectorMaterialSlotSelect;
|
|
3252
|
+
if (materialSlotSelectionId) {
|
|
3253
|
+
callbacks.onSelectHierarchyItem?.({
|
|
3254
|
+
id: materialSlotSelectionId,
|
|
3255
|
+
additive: event.shiftKey && !event.metaKey && !event.ctrlKey,
|
|
3256
|
+
toggle: event.metaKey || event.ctrlKey,
|
|
3257
|
+
});
|
|
3258
|
+
return;
|
|
3259
|
+
}
|
|
2803
3260
|
const copyButton = target?.closest('[data-editor-inspector-asset-copy]');
|
|
2804
3261
|
if (copyButton) {
|
|
2805
3262
|
const control = copyButton.closest('[data-editor-inspector-asset-picker-control]');
|
|
@@ -2836,8 +3293,11 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2836
3293
|
if (readInspectorCommitMode(input) !== 'change')
|
|
2837
3294
|
return;
|
|
2838
3295
|
}
|
|
2839
|
-
const
|
|
2840
|
-
if (
|
|
3296
|
+
const propertyInputs = createInspectorPropertyInputs(input, readInspectorImmediateSource(input), lockedInspectorVectorGroups);
|
|
3297
|
+
if (!propertyInputs)
|
|
3298
|
+
return;
|
|
3299
|
+
applyInspectorLockedVectorInputToDom(input, propertyInputs);
|
|
3300
|
+
for (const propertyInput of propertyInputs)
|
|
2841
3301
|
callbacks.onPropertyInput?.(propertyInput);
|
|
2842
3302
|
});
|
|
2843
3303
|
inspectorPanel.addEventListener('focusout', (event) => {
|
|
@@ -2846,16 +3306,21 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2846
3306
|
return;
|
|
2847
3307
|
if (readInspectorCommitMode(input) !== 'blur')
|
|
2848
3308
|
return;
|
|
2849
|
-
const
|
|
2850
|
-
if (
|
|
3309
|
+
const propertyInputs = createInspectorPropertyInputs(input, 'input', lockedInspectorVectorGroups);
|
|
3310
|
+
if (!propertyInputs)
|
|
3311
|
+
return;
|
|
3312
|
+
applyInspectorLockedVectorInputToDom(input, propertyInputs);
|
|
3313
|
+
for (const propertyInput of propertyInputs)
|
|
2851
3314
|
callbacks.onPropertyInput?.(propertyInput);
|
|
2852
3315
|
});
|
|
2853
3316
|
renderingPanel.addEventListener('input', (event) => {
|
|
2854
|
-
const input = event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement
|
|
3317
|
+
const input = event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement || event.target instanceof HTMLSelectElement
|
|
2855
3318
|
? event.target
|
|
2856
3319
|
: null;
|
|
2857
3320
|
if (!input?.dataset.editorRenderingProperty)
|
|
2858
3321
|
return;
|
|
3322
|
+
if (input instanceof HTMLSelectElement)
|
|
3323
|
+
return;
|
|
2859
3324
|
if (input instanceof HTMLInputElement && (input.type === 'checkbox' || input.type === 'color'))
|
|
2860
3325
|
return;
|
|
2861
3326
|
if (readRenderingCommitMode(input) !== 'live')
|
|
@@ -2865,7 +3330,7 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2865
3330
|
callbacks.onRenderingPropertyChange?.(propertyInput);
|
|
2866
3331
|
});
|
|
2867
3332
|
renderingPanel.addEventListener('change', (event) => {
|
|
2868
|
-
const input = event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement
|
|
3333
|
+
const input = event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement || event.target instanceof HTMLSelectElement
|
|
2869
3334
|
? event.target
|
|
2870
3335
|
: null;
|
|
2871
3336
|
if (!input?.dataset.editorRenderingProperty)
|
|
@@ -2879,11 +3344,13 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2879
3344
|
callbacks.onRenderingPropertyChange?.(propertyInput);
|
|
2880
3345
|
});
|
|
2881
3346
|
renderingPanel.addEventListener('focusout', (event) => {
|
|
2882
|
-
const input = event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement
|
|
3347
|
+
const input = event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement || event.target instanceof HTMLSelectElement
|
|
2883
3348
|
? event.target
|
|
2884
3349
|
: null;
|
|
2885
3350
|
if (!input?.dataset.editorRenderingProperty)
|
|
2886
3351
|
return;
|
|
3352
|
+
if (input instanceof HTMLSelectElement)
|
|
3353
|
+
return;
|
|
2887
3354
|
if (readRenderingCommitMode(input) !== 'blur')
|
|
2888
3355
|
return;
|
|
2889
3356
|
const propertyInput = createRenderingPropertyInput(input, input instanceof HTMLTextAreaElement ? 'list' : 'input');
|
|
@@ -2891,14 +3358,27 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2891
3358
|
callbacks.onRenderingPropertyChange?.(propertyInput);
|
|
2892
3359
|
});
|
|
2893
3360
|
renderingPanel.addEventListener('click', (event) => {
|
|
2894
|
-
const
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
3361
|
+
const eventTarget = event.target instanceof HTMLElement ? event.target : null;
|
|
3362
|
+
const pickerButton = eventTarget?.closest('[data-editor-inspector-asset-picker]');
|
|
3363
|
+
if (pickerButton) {
|
|
3364
|
+
const control = pickerButton.closest('[data-editor-inspector-asset-picker-control]');
|
|
3365
|
+
const input = control?.querySelector('input[data-editor-rendering-property]');
|
|
3366
|
+
if (!input || !currentState)
|
|
3367
|
+
return;
|
|
3368
|
+
const property = findRenderingPropertyForInput(currentState, input);
|
|
3369
|
+
if (!property)
|
|
3370
|
+
return;
|
|
3371
|
+
event.preventDefault();
|
|
3372
|
+
event.stopPropagation();
|
|
3373
|
+
openInspectorAssetPicker(input, property);
|
|
3374
|
+
return;
|
|
3375
|
+
}
|
|
3376
|
+
const actionButton = eventTarget?.closest('[data-editor-rendering-action]');
|
|
3377
|
+
if (!actionButton)
|
|
2898
3378
|
return;
|
|
2899
|
-
if (
|
|
3379
|
+
if (actionButton.disabled)
|
|
2900
3380
|
return;
|
|
2901
|
-
const actionId =
|
|
3381
|
+
const actionId = actionButton.dataset.editorRenderingAction;
|
|
2902
3382
|
if (!actionId)
|
|
2903
3383
|
return;
|
|
2904
3384
|
event.preventDefault();
|
|
@@ -2992,58 +3472,6 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
2992
3472
|
}
|
|
2993
3473
|
};
|
|
2994
3474
|
doc.addEventListener('keydown', onKeyDown);
|
|
2995
|
-
function captureEditableFocus(doc) {
|
|
2996
|
-
const active = doc.activeElement instanceof HTMLInputElement ? doc.activeElement : null;
|
|
2997
|
-
if (!active)
|
|
2998
|
-
return null;
|
|
2999
|
-
if (active.dataset.editorHierarchyRenameInput) {
|
|
3000
|
-
return {
|
|
3001
|
-
selector: `[data-editor-hierarchy-rename-input="${cssEscape(active.dataset.editorHierarchyRenameInput)}"]`,
|
|
3002
|
-
value: active.value,
|
|
3003
|
-
};
|
|
3004
|
-
}
|
|
3005
|
-
if (active.dataset.serializedPath && active.dataset.serializedTargetId) {
|
|
3006
|
-
return {
|
|
3007
|
-
selector: [
|
|
3008
|
-
`input[data-serialized-path="${cssEscape(active.dataset.serializedPath)}"]`,
|
|
3009
|
-
`[data-serialized-target-id="${cssEscape(active.dataset.serializedTargetId)}"]`,
|
|
3010
|
-
].join(''),
|
|
3011
|
-
value: active.value,
|
|
3012
|
-
};
|
|
3013
|
-
}
|
|
3014
|
-
if (active.dataset.editorInspectorSearch != null) {
|
|
3015
|
-
return { selector: 'input[data-editor-inspector-search]', value: active.value };
|
|
3016
|
-
}
|
|
3017
|
-
if (active.dataset.editorHierarchySearch != null) {
|
|
3018
|
-
return { selector: 'input[data-editor-hierarchy-search]', value: active.value };
|
|
3019
|
-
}
|
|
3020
|
-
if (active.dataset.editorAssetFilter != null) {
|
|
3021
|
-
return { selector: 'input[data-editor-asset-filter]', value: active.value };
|
|
3022
|
-
}
|
|
3023
|
-
return null;
|
|
3024
|
-
}
|
|
3025
|
-
function restoreEditableFocus(doc, snapshot) {
|
|
3026
|
-
if (!snapshot)
|
|
3027
|
-
return;
|
|
3028
|
-
const input = doc.querySelector(snapshot.selector);
|
|
3029
|
-
if (!input)
|
|
3030
|
-
return;
|
|
3031
|
-
input.focus({ preventScroll: true });
|
|
3032
|
-
if (snapshot.value != null && input.value === snapshot.value) {
|
|
3033
|
-
const position = input.value.length;
|
|
3034
|
-
try {
|
|
3035
|
-
input.setSelectionRange(position, position);
|
|
3036
|
-
}
|
|
3037
|
-
catch {
|
|
3038
|
-
// Number/search inputs may reject text selection APIs.
|
|
3039
|
-
}
|
|
3040
|
-
}
|
|
3041
|
-
}
|
|
3042
|
-
function cssEscape(value) {
|
|
3043
|
-
return typeof CSS !== 'undefined' && typeof CSS.escape === 'function'
|
|
3044
|
-
? CSS.escape(value)
|
|
3045
|
-
: value.replace(/["\\]/g, '\\$&');
|
|
3046
|
-
}
|
|
3047
3475
|
function formatSnapStepInputValue(snap, kind) {
|
|
3048
3476
|
const value = kind === 'move'
|
|
3049
3477
|
? snap.moveStep
|
|
@@ -3057,9 +3485,87 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
3057
3485
|
? operationState.canAlign
|
|
3058
3486
|
: operationState.canDistribute;
|
|
3059
3487
|
}
|
|
3488
|
+
const renderPreviewState = (state) => {
|
|
3489
|
+
const inEditor = state.mode === 'editor';
|
|
3490
|
+
const disabled = state.busy;
|
|
3491
|
+
const transformTool = state.transformTool ?? null;
|
|
3492
|
+
const transformOperations = state.transformOperations ?? {
|
|
3493
|
+
settings: DEFAULT_EDITOR_TRANSFORM_OPERATION_SETTINGS,
|
|
3494
|
+
selectedCount: state.selectedIds.length,
|
|
3495
|
+
activeId: state.activeId,
|
|
3496
|
+
canAlign: false,
|
|
3497
|
+
canDistribute: false,
|
|
3498
|
+
};
|
|
3499
|
+
const hasMeasurement = !!(state.viewportMeasurement?.start
|
|
3500
|
+
|| state.viewportMeasurement?.end
|
|
3501
|
+
|| state.viewportMeasurement?.preview);
|
|
3502
|
+
const nextClearMeasurementDisplay = hasMeasurement ? 'inline-flex' : 'none';
|
|
3503
|
+
const clearMeasurementDisplayChanged = clearMeasurementButton.style.display !== nextClearMeasurementDisplay;
|
|
3504
|
+
clearMeasurementButton.style.display = nextClearMeasurementDisplay;
|
|
3505
|
+
clearMeasurementButton.disabled = disabled || !hasMeasurement;
|
|
3506
|
+
const editorStatusText = [
|
|
3507
|
+
state.status,
|
|
3508
|
+
state.session?.dirty ? '有未保存更改' : '',
|
|
3509
|
+
LocalEditorShared.formatAuthoringSourceLabel(state.session?.source),
|
|
3510
|
+
state.summary,
|
|
3511
|
+
].filter(Boolean).join(' | ');
|
|
3512
|
+
const transformStatusText = transformTool?.dragPhase === 'dragging'
|
|
3513
|
+
? `正在拖拽 ${transformTool.draggingNodeId ?? '选择对象'}`
|
|
3514
|
+
: LocalEditorShared.toTransformToolStatusLabel(transformTool?.activeTool ?? 'select', transformTool?.activeSpace ?? 'world');
|
|
3515
|
+
const statusToneColor = state.statusTone === 'error'
|
|
3516
|
+
? 'var(--fps-editor-danger-strong)'
|
|
3517
|
+
: state.statusTone === 'warning'
|
|
3518
|
+
? 'var(--fps-editor-warn)'
|
|
3519
|
+
: state.statusTone === 'success'
|
|
3520
|
+
? 'var(--fps-editor-success)'
|
|
3521
|
+
: 'var(--fps-editor-muted)';
|
|
3522
|
+
setToolbarButtonTooltip(editorStatusButton, [
|
|
3523
|
+
`编辑器状态:${editorStatusText}`,
|
|
3524
|
+
state.statusDetails && state.statusDetails !== state.status ? state.statusDetails : '',
|
|
3525
|
+
transformStatusText,
|
|
3526
|
+
LocalEditorShared.toTransformOperationStatusLabel(transformOperations.settings),
|
|
3527
|
+
].filter(Boolean).join(' · '));
|
|
3528
|
+
editorStatusButton.style.color = statusToneColor;
|
|
3529
|
+
editorStatusButton.style.borderColor = state.statusTone == null || state.statusTone === 'default'
|
|
3530
|
+
? 'var(--fps-editor-border)'
|
|
3531
|
+
: statusToneColor;
|
|
3532
|
+
renderCoordinateAxesOverlay(coordinateAxesOverlay, inEditor ? state.coordinateAxes ?? null : null);
|
|
3533
|
+
renderSceneFrameRateOverlay(sceneFrameRateOverlay, inEditor ? state.sceneFrameStats ?? null : null);
|
|
3534
|
+
renderSpatialOverlay(spatialOverlay, inEditor ? state.viewportSpatialOverlay ?? null : null);
|
|
3535
|
+
renderMeasurementOverlay(measurementOverlay, inEditor ? state.viewportMeasurement ?? null : null);
|
|
3536
|
+
const boxSelection = state.boxSelection;
|
|
3537
|
+
if (inEditor && boxSelection?.active) {
|
|
3538
|
+
boxSelectionOverlay.style.display = '';
|
|
3539
|
+
boxSelectionOverlay.style.left = `${boxSelection.left}px`;
|
|
3540
|
+
boxSelectionOverlay.style.top = `${boxSelection.top}px`;
|
|
3541
|
+
boxSelectionOverlay.style.width = `${boxSelection.width}px`;
|
|
3542
|
+
boxSelectionOverlay.style.height = `${boxSelection.height}px`;
|
|
3543
|
+
}
|
|
3544
|
+
else {
|
|
3545
|
+
boxSelectionOverlay.style.display = 'none';
|
|
3546
|
+
}
|
|
3547
|
+
if (clearMeasurementDisplayChanged)
|
|
3548
|
+
scheduleToolbarOverflowLayout();
|
|
3549
|
+
};
|
|
3550
|
+
const updatePreview = (preview) => {
|
|
3551
|
+
if (!currentState)
|
|
3552
|
+
return;
|
|
3553
|
+
const shouldRenderInspectorPreview = 'inspectorObject' in preview || 'inspectorMultiObject' in preview;
|
|
3554
|
+
currentState = {
|
|
3555
|
+
...currentState,
|
|
3556
|
+
...preview,
|
|
3557
|
+
};
|
|
3558
|
+
renderPreviewState(currentState);
|
|
3559
|
+
if (shouldRenderInspectorPreview && panelRegistry.getRightDockTab() === 'inspector') {
|
|
3560
|
+
LocalEditorPanels.renderInspectorPanel(doc, inspectorPanel, currentState, inspectorFilter, {
|
|
3561
|
+
...options.inspector,
|
|
3562
|
+
lockedVectorGroups: lockedInspectorVectorGroups,
|
|
3563
|
+
});
|
|
3564
|
+
}
|
|
3565
|
+
};
|
|
3060
3566
|
const render = (state) => {
|
|
3061
3567
|
currentState = state;
|
|
3062
|
-
const focusSnapshot =
|
|
3568
|
+
const focusSnapshot = captureLocalEditorEditableFocus(doc);
|
|
3063
3569
|
const inEditor = state.mode === 'editor';
|
|
3064
3570
|
const disabled = state.busy;
|
|
3065
3571
|
if (!inEditor || disabled)
|
|
@@ -3205,77 +3711,61 @@ export function createLocalEditorBrowserUi(options = {}) {
|
|
|
3205
3711
|
undoButton.disabled = disabled || !state.session?.canUndo;
|
|
3206
3712
|
redoButton.disabled = disabled || !state.session?.canRedo;
|
|
3207
3713
|
LocalEditorShared.applyButtonActiveState(sceneHelpButton, inEditor && helpOpen);
|
|
3208
|
-
shortcutHelpPanel.style.display = inEditor && helpOpen ? '' : 'none';
|
|
3714
|
+
shortcutHelpPanel.style.display = inEditor && helpOpen ? 'flex' : 'none';
|
|
3209
3715
|
renderAssetPreviewModal();
|
|
3210
3716
|
renderAssetPickerModal();
|
|
3211
3717
|
dirtyBadge.style.display = inEditor && state.session?.dirty ? 'inline-flex' : 'none';
|
|
3212
|
-
|
|
3213
|
-
state.status,
|
|
3214
|
-
state.session?.dirty ? '有未保存更改' : '',
|
|
3215
|
-
LocalEditorShared.formatAuthoringSourceLabel(state.session?.source),
|
|
3216
|
-
state.summary,
|
|
3217
|
-
].filter(Boolean).join(' | ');
|
|
3218
|
-
const transformStatusText = transformTool?.dragPhase === 'dragging'
|
|
3219
|
-
? `正在拖拽 ${transformTool.draggingNodeId ?? '选择对象'}`
|
|
3220
|
-
: LocalEditorShared.toTransformToolStatusLabel(transformTool?.activeTool ?? 'select', transformTool?.activeSpace ?? 'world');
|
|
3221
|
-
const statusToneColor = state.statusTone === 'error'
|
|
3222
|
-
? 'var(--fps-editor-danger-strong)'
|
|
3223
|
-
: state.statusTone === 'warning'
|
|
3224
|
-
? 'var(--fps-editor-warn)'
|
|
3225
|
-
: state.statusTone === 'success'
|
|
3226
|
-
? 'var(--fps-editor-success)'
|
|
3227
|
-
: 'var(--fps-editor-muted)';
|
|
3228
|
-
setToolbarButtonTooltip(editorStatusButton, [
|
|
3229
|
-
`编辑器状态:${editorStatusText}`,
|
|
3230
|
-
state.statusDetails && state.statusDetails !== state.status ? state.statusDetails : '',
|
|
3231
|
-
transformStatusText,
|
|
3232
|
-
LocalEditorShared.toTransformOperationStatusLabel(operationSettings),
|
|
3233
|
-
].filter(Boolean).join(' · '));
|
|
3234
|
-
editorStatusButton.style.color = statusToneColor;
|
|
3235
|
-
editorStatusButton.style.borderColor = state.statusTone == null || state.statusTone === 'default'
|
|
3236
|
-
? 'var(--fps-editor-border)'
|
|
3237
|
-
: statusToneColor;
|
|
3238
|
-
renderCoordinateAxesOverlay(coordinateAxesOverlay, inEditor ? state.coordinateAxes ?? null : null);
|
|
3239
|
-
renderSceneFrameRateOverlay(sceneFrameRateOverlay, inEditor ? state.sceneFrameStats ?? null : null);
|
|
3240
|
-
renderSpatialOverlay(spatialOverlay, inEditor ? state.viewportSpatialOverlay ?? null : null);
|
|
3241
|
-
renderMeasurementOverlay(measurementOverlay, inEditor ? state.viewportMeasurement ?? null : null);
|
|
3242
|
-
const boxSelection = state.boxSelection;
|
|
3243
|
-
if (inEditor && boxSelection?.active) {
|
|
3244
|
-
boxSelectionOverlay.style.display = '';
|
|
3245
|
-
boxSelectionOverlay.style.left = `${boxSelection.left}px`;
|
|
3246
|
-
boxSelectionOverlay.style.top = `${boxSelection.top}px`;
|
|
3247
|
-
boxSelectionOverlay.style.width = `${boxSelection.width}px`;
|
|
3248
|
-
boxSelectionOverlay.style.height = `${boxSelection.height}px`;
|
|
3249
|
-
}
|
|
3250
|
-
else {
|
|
3251
|
-
boxSelectionOverlay.style.display = 'none';
|
|
3252
|
-
}
|
|
3718
|
+
renderPreviewState(state);
|
|
3253
3719
|
scheduleToolbarOverflowLayout();
|
|
3254
3720
|
if (!inEditor)
|
|
3255
3721
|
return;
|
|
3256
3722
|
const hierarchyDescriptor = panelRegistry.getActivePanel('left');
|
|
3257
3723
|
const rightDescriptor = panelRegistry.getActivePanel('right');
|
|
3258
3724
|
const activeRightTab = panelRegistry.getRightDockTab();
|
|
3725
|
+
const activeBottomTab = panelRegistry.getBottomDockTab();
|
|
3726
|
+
const assetBrowserTabChanged = assetBrowserTab !== lastRenderedAssetBrowserTab;
|
|
3727
|
+
const bottomDockTabChanged = activeBottomTab !== lastRenderedBottomDockTab;
|
|
3728
|
+
const selectedAssetChanged = state.selectedAssetId !== lastRenderedSelectedAssetId;
|
|
3729
|
+
const assetBrowserScrollSnapshot = activeBottomTab === 'assets'
|
|
3730
|
+
? assetBrowserViewportReveal.captureScrollSnapshot()
|
|
3731
|
+
: { scrollTop: null };
|
|
3259
3732
|
hierarchyPanel.dataset.editorPanelId = hierarchyDescriptor?.id ?? 'hierarchy';
|
|
3260
3733
|
inspectorPanel.dataset.editorPanelId = activeRightTab === 'inspector' ? rightDescriptor?.id ?? 'inspector' : 'inspector';
|
|
3261
3734
|
renderingPanel.dataset.editorPanelId = activeRightTab === 'rendering' ? rightDescriptor?.id ?? 'rendering' : 'rendering';
|
|
3262
3735
|
inspectorPanel.style.display = activeRightTab === 'inspector' ? '' : 'none';
|
|
3263
3736
|
renderingPanel.style.display = activeRightTab === 'rendering' ? '' : 'none';
|
|
3737
|
+
LocalEditorPanels.renderWorkbenchLeftDockTabs(doc, leftDockTabs, 'hierarchy', panelRegistry.getPanels('left'));
|
|
3264
3738
|
hierarchyController.render(state);
|
|
3265
|
-
LocalEditorPanels.renderWorkbenchBottomDockPanel(doc, assetPanel, state,
|
|
3739
|
+
LocalEditorPanels.renderWorkbenchBottomDockPanel(doc, assetPanel, state, activeBottomTab, panelRegistry.getPanels('bottom'), assetBrowserTab);
|
|
3740
|
+
if (activeBottomTab === 'assets' && !assetBrowserTabChanged && !bottomDockTabChanged) {
|
|
3741
|
+
assetBrowserViewportReveal.restoreScrollSnapshot(assetBrowserScrollSnapshot);
|
|
3742
|
+
}
|
|
3743
|
+
const suppressAssetScroll = state.selectedAssetId
|
|
3744
|
+
? assetBrowserViewportReveal.consumeRevealSuppression(state.selectedAssetId, { clearWhenDifferent: selectedAssetChanged })
|
|
3745
|
+
: false;
|
|
3746
|
+
if (activeBottomTab === 'assets' && selectedAssetChanged && state.selectedAssetId && !suppressAssetScroll) {
|
|
3747
|
+
revealSelectedAssetBrowserItem(state.selectedAssetId);
|
|
3748
|
+
}
|
|
3749
|
+
lastRenderedAssetBrowserTab = assetBrowserTab;
|
|
3750
|
+
lastRenderedBottomDockTab = activeBottomTab;
|
|
3751
|
+
lastRenderedSelectedAssetId = state.selectedAssetId;
|
|
3266
3752
|
LocalEditorPanels.renderWorkbenchRightDockTabs(doc, rightDockTabs, activeRightTab, panelRegistry.getPanels('right'));
|
|
3267
3753
|
if (activeRightTab === 'inspector') {
|
|
3268
|
-
LocalEditorPanels.renderInspectorPanel(doc, inspectorPanel, state, inspectorFilter,
|
|
3754
|
+
LocalEditorPanels.renderInspectorPanel(doc, inspectorPanel, state, inspectorFilter, {
|
|
3755
|
+
...options.inspector,
|
|
3756
|
+
lockedVectorGroups: lockedInspectorVectorGroups,
|
|
3757
|
+
});
|
|
3269
3758
|
}
|
|
3270
3759
|
else {
|
|
3271
3760
|
LocalEditorPanels.renderRenderingPanel(doc, renderingPanel, state);
|
|
3272
3761
|
}
|
|
3273
|
-
|
|
3762
|
+
restoreLocalEditorEditableFocus(doc, focusSnapshot);
|
|
3274
3763
|
};
|
|
3275
3764
|
return {
|
|
3276
3765
|
update(state) {
|
|
3277
3766
|
render(state);
|
|
3278
3767
|
},
|
|
3768
|
+
updatePreview,
|
|
3279
3769
|
updateSceneFrameStats(stats) {
|
|
3280
3770
|
renderSceneFrameRateOverlay(sceneFrameRateOverlay, currentState?.mode === 'editor' ? stats : null);
|
|
3281
3771
|
},
|