@asyra/core 0.2.0
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/.turbo/turbo-test$colon$ci.log +132 -0
- package/.turbo/turbo-test$colon$local.log +30 -0
- package/.turbo/turbo-test.log +0 -0
- package/README.md +1 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/clover.xml +991 -0
- package/coverage/coverage-final.json +14952 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +236 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +196 -0
- package/coverage/src/apis/element-selection.ts.html +133 -0
- package/coverage/src/apis/index.html +266 -0
- package/coverage/src/apis/index.ts.html +175 -0
- package/coverage/src/apis/input-system.ts.html +121 -0
- package/coverage/src/apis/interaction-core.ts.html +190 -0
- package/coverage/src/apis/props.ts.html +124 -0
- package/coverage/src/apis/render.ts.html +130 -0
- package/coverage/src/apis/scene-tree.ts.html +292 -0
- package/coverage/src/apis/system-context.ts.html +154 -0
- package/coverage/src/apis/transaction.ts.html +124 -0
- package/coverage/src/apis/undo.ts.html +124 -0
- package/coverage/src/apis/viewport.ts.html +193 -0
- package/coverage/src/combinations.ts.html +223 -0
- package/coverage/src/core.ts.html +559 -0
- package/coverage/src/index.html +146 -0
- package/coverage/src/index.ts.html +97 -0
- package/coverage/src/requests/factory.ts.html +127 -0
- package/coverage/src/requests/index.html +206 -0
- package/coverage/src/requests/index.ts.html +154 -0
- package/coverage/src/requests/props.ts.html +133 -0
- package/coverage/src/requests/render.ts.html +187 -0
- package/coverage/src/requests/scene-tree.ts.html +163 -0
- package/coverage/src/requests/selection.ts.html +127 -0
- package/coverage/src/requests/system-context.ts.html +130 -0
- package/coverage/src/subscribes/index.html +116 -0
- package/coverage/src/subscribes/index.ts.html +109 -0
- package/coverage/src/subscribes/input-system/index.html +176 -0
- package/coverage/src/subscribes/input-system/index.ts.html +226 -0
- package/coverage/src/subscribes/input-system/primary-tool.ts.html +160 -0
- package/coverage/src/subscribes/input-system/render.ts.html +484 -0
- package/coverage/src/subscribes/input-system/undo.ts.html +172 -0
- package/coverage/src/subscribes/input-system/viewport.ts.html +259 -0
- package/coverage/src/subscribes/interaction-core/create-element.ts.html +151 -0
- package/coverage/src/subscribes/interaction-core/index.html +236 -0
- package/coverage/src/subscribes/interaction-core/index.ts.html +289 -0
- package/coverage/src/subscribes/interaction-core/primary-tool.ts.html +109 -0
- package/coverage/src/subscribes/interaction-core/reset-element-size.ts.html +127 -0
- package/coverage/src/subscribes/interaction-core/resize-element.ts.html +181 -0
- package/coverage/src/subscribes/interaction-core/select-elements.ts.html +109 -0
- package/coverage/src/subscribes/interaction-core/transaction.ts.html +130 -0
- package/coverage/src/subscribes/interaction-core/undoredo.ts.html +133 -0
- package/coverage/src/subscribes/interaction-core/viewport.ts.html +193 -0
- package/coverage/src/types/deps.ts.html +118 -0
- package/coverage/src/types/element-selection.ts.html +100 -0
- package/coverage/src/types/index.html +266 -0
- package/coverage/src/types/index.ts.html +385 -0
- package/coverage/src/types/input-system.ts.html +100 -0
- package/coverage/src/types/interaction-core.ts.html +127 -0
- package/coverage/src/types/props.ts.html +109 -0
- package/coverage/src/types/render.ts.html +106 -0
- package/coverage/src/types/requests/factory.ts.html +127 -0
- package/coverage/src/types/requests/index.html +206 -0
- package/coverage/src/types/requests/index.ts.html +214 -0
- package/coverage/src/types/requests/props.ts.html +133 -0
- package/coverage/src/types/requests/render.ts.html +139 -0
- package/coverage/src/types/requests/scene-tree.ts.html +133 -0
- package/coverage/src/types/requests/selection.ts.html +127 -0
- package/coverage/src/types/requests/system-context.ts.html +142 -0
- package/coverage/src/types/scene-tree.ts.html +178 -0
- package/coverage/src/types/system-context/index.html +161 -0
- package/coverage/src/types/system-context/index.ts.html +112 -0
- package/coverage/src/types/system-context/key-state.ts.html +106 -0
- package/coverage/src/types/system-context/mouse-state.ts.html +106 -0
- package/coverage/src/types/system-context/primary-tool.ts.html +112 -0
- package/coverage/src/types/transaction.ts.html +103 -0
- package/coverage/src/types/undo.ts.html +103 -0
- package/coverage/src/types/viewport.ts.html +127 -0
- package/dist/__tests__/core.test.d.ts +2 -0
- package/dist/__tests__/core.test.d.ts.map +1 -0
- package/dist/__tests__/core.test.js +122 -0
- package/dist/__tests__/core.test.js.map +1 -0
- package/dist/apis/element-selection.d.ts +3 -0
- package/dist/apis/element-selection.d.ts.map +1 -0
- package/dist/apis/element-selection.js +11 -0
- package/dist/apis/element-selection.js.map +1 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.d.ts.map +1 -0
- package/dist/apis/index.js +25 -0
- package/dist/apis/index.js.map +1 -0
- package/dist/apis/input-system.d.ts +3 -0
- package/dist/apis/input-system.d.ts.map +1 -0
- package/dist/apis/input-system.js +11 -0
- package/dist/apis/input-system.js.map +1 -0
- package/dist/apis/interaction-core.d.ts +3 -0
- package/dist/apis/interaction-core.d.ts.map +1 -0
- package/dist/apis/interaction-core.js +22 -0
- package/dist/apis/interaction-core.js.map +1 -0
- package/dist/apis/props.d.ts +3 -0
- package/dist/apis/props.d.ts.map +1 -0
- package/dist/apis/props.js +11 -0
- package/dist/apis/props.js.map +1 -0
- package/dist/apis/render.d.ts +3 -0
- package/dist/apis/render.d.ts.map +1 -0
- package/dist/apis/render.js +12 -0
- package/dist/apis/render.js.map +1 -0
- package/dist/apis/scene-tree.d.ts +3 -0
- package/dist/apis/scene-tree.d.ts.map +1 -0
- package/dist/apis/scene-tree.js +39 -0
- package/dist/apis/scene-tree.js.map +1 -0
- package/dist/apis/system-context.d.ts +3 -0
- package/dist/apis/system-context.d.ts.map +1 -0
- package/dist/apis/system-context.js +16 -0
- package/dist/apis/system-context.js.map +1 -0
- package/dist/apis/transaction.d.ts +3 -0
- package/dist/apis/transaction.d.ts.map +1 -0
- package/dist/apis/transaction.js +12 -0
- package/dist/apis/transaction.js.map +1 -0
- package/dist/apis/undo.d.ts +3 -0
- package/dist/apis/undo.d.ts.map +1 -0
- package/dist/apis/undo.js +12 -0
- package/dist/apis/undo.js.map +1 -0
- package/dist/apis/viewport.d.ts +4 -0
- package/dist/apis/viewport.d.ts.map +1 -0
- package/dist/apis/viewport.js +27 -0
- package/dist/apis/viewport.js.map +1 -0
- package/dist/combinations.d.ts +4 -0
- package/dist/combinations.d.ts.map +1 -0
- package/dist/combinations.js +42 -0
- package/dist/combinations.js.map +1 -0
- package/dist/core.d.ts +68 -0
- package/dist/core.d.ts.map +1 -0
- package/dist/core.js +76 -0
- package/dist/core.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/requests/factory copy.d.ts +7 -0
- package/dist/requests/factory copy.d.ts.map +1 -0
- package/dist/requests/factory copy.js +10 -0
- package/dist/requests/factory copy.js.map +1 -0
- package/dist/requests/factory.d.ts +7 -0
- package/dist/requests/factory.d.ts.map +1 -0
- package/dist/requests/factory.js +10 -0
- package/dist/requests/factory.js.map +1 -0
- package/dist/requests/index.d.ts +3 -0
- package/dist/requests/index.d.ts.map +1 -0
- package/dist/requests/index.js +21 -0
- package/dist/requests/index.js.map +1 -0
- package/dist/requests/primary-tool.d.ts +7 -0
- package/dist/requests/primary-tool.d.ts.map +1 -0
- package/dist/requests/primary-tool.js +13 -0
- package/dist/requests/primary-tool.js.map +1 -0
- package/dist/requests/props copy.d.ts +7 -0
- package/dist/requests/props copy.d.ts.map +1 -0
- package/dist/requests/props copy.js +13 -0
- package/dist/requests/props copy.js.map +1 -0
- package/dist/requests/props.d.ts +7 -0
- package/dist/requests/props.d.ts.map +1 -0
- package/dist/requests/props.js +13 -0
- package/dist/requests/props.js.map +1 -0
- package/dist/requests/render.d.ts +3 -0
- package/dist/requests/render.d.ts.map +1 -0
- package/dist/requests/render.js +22 -0
- package/dist/requests/render.js.map +1 -0
- package/dist/requests/scene-tree.d.ts +7 -0
- package/dist/requests/scene-tree.d.ts.map +1 -0
- package/dist/requests/scene-tree.js +17 -0
- package/dist/requests/scene-tree.js.map +1 -0
- package/dist/requests/selection.d.ts +7 -0
- package/dist/requests/selection.d.ts.map +1 -0
- package/dist/requests/selection.js +10 -0
- package/dist/requests/selection.js.map +1 -0
- package/dist/requests/system-context copy.d.ts +7 -0
- package/dist/requests/system-context copy.d.ts.map +1 -0
- package/dist/requests/system-context copy.js +19 -0
- package/dist/requests/system-context copy.js.map +1 -0
- package/dist/requests/system-context.d.ts +7 -0
- package/dist/requests/system-context.d.ts.map +1 -0
- package/dist/requests/system-context.js +10 -0
- package/dist/requests/system-context.js.map +1 -0
- package/dist/requests/types.d.ts +7 -0
- package/dist/requests/types.d.ts.map +1 -0
- package/dist/requests/types.js +4 -0
- package/dist/requests/types.js.map +1 -0
- package/dist/requests/viewport.d.ts +19 -0
- package/dist/requests/viewport.d.ts.map +1 -0
- package/dist/requests/viewport.js +6 -0
- package/dist/requests/viewport.js.map +1 -0
- package/dist/subscribes/index.d.ts +3 -0
- package/dist/subscribes/index.d.ts.map +1 -0
- package/dist/subscribes/index.js +7 -0
- package/dist/subscribes/index.js.map +1 -0
- package/dist/subscribes/input-system/index.d.ts +3 -0
- package/dist/subscribes/input-system/index.d.ts.map +1 -0
- package/dist/subscribes/input-system/index.js +26 -0
- package/dist/subscribes/input-system/index.js.map +1 -0
- package/dist/subscribes/input-system/primary-tool.d.ts +10 -0
- package/dist/subscribes/input-system/primary-tool.d.ts.map +1 -0
- package/dist/subscribes/input-system/primary-tool.js +15 -0
- package/dist/subscribes/input-system/primary-tool.js.map +1 -0
- package/dist/subscribes/input-system/render.d.ts +16 -0
- package/dist/subscribes/input-system/render.d.ts.map +1 -0
- package/dist/subscribes/input-system/render.js +97 -0
- package/dist/subscribes/input-system/render.js.map +1 -0
- package/dist/subscribes/input-system/undo.d.ts +10 -0
- package/dist/subscribes/input-system/undo.d.ts.map +1 -0
- package/dist/subscribes/input-system/undo.js +18 -0
- package/dist/subscribes/input-system/undo.js.map +1 -0
- package/dist/subscribes/input-system/viewport.d.ts +11 -0
- package/dist/subscribes/input-system/viewport.d.ts.map +1 -0
- package/dist/subscribes/input-system/viewport.js +36 -0
- package/dist/subscribes/input-system/viewport.js.map +1 -0
- package/dist/subscribes/interaction-core/create-and-resize.d.ts +5 -0
- package/dist/subscribes/interaction-core/create-and-resize.d.ts.map +1 -0
- package/dist/subscribes/interaction-core/create-and-resize.js +86 -0
- package/dist/subscribes/interaction-core/create-and-resize.js.map +1 -0
- package/dist/subscribes/interaction-core/create-element copy.d.ts +3 -0
- package/dist/subscribes/interaction-core/create-element copy.d.ts.map +1 -0
- package/dist/subscribes/interaction-core/create-element copy.js +17 -0
- package/dist/subscribes/interaction-core/create-element copy.js.map +1 -0
- package/dist/subscribes/interaction-core/create-element.d.ts +3 -0
- package/dist/subscribes/interaction-core/create-element.d.ts.map +1 -0
- package/dist/subscribes/interaction-core/create-element.js +17 -0
- package/dist/subscribes/interaction-core/create-element.js.map +1 -0
- package/dist/subscribes/interaction-core/index.d.ts +3 -0
- package/dist/subscribes/interaction-core/index.d.ts.map +1 -0
- package/dist/subscribes/interaction-core/index.js +42 -0
- package/dist/subscribes/interaction-core/index.js.map +1 -0
- package/dist/subscribes/interaction-core/input-to-decision.d.ts +5 -0
- package/dist/subscribes/interaction-core/input-to-decision.d.ts.map +1 -0
- package/dist/subscribes/interaction-core/input-to-decision.js +48 -0
- package/dist/subscribes/interaction-core/input-to-decision.js.map +1 -0
- package/dist/subscribes/interaction-core/primary-tool.d.ts +3 -0
- package/dist/subscribes/interaction-core/primary-tool.d.ts.map +1 -0
- package/dist/subscribes/interaction-core/primary-tool.js +7 -0
- package/dist/subscribes/interaction-core/primary-tool.js.map +1 -0
- package/dist/subscribes/interaction-core/reset-element-size.d.ts +5 -0
- package/dist/subscribes/interaction-core/reset-element-size.d.ts.map +1 -0
- package/dist/subscribes/interaction-core/reset-element-size.js +9 -0
- package/dist/subscribes/interaction-core/reset-element-size.js.map +1 -0
- package/dist/subscribes/interaction-core/resize-element.d.ts +3 -0
- package/dist/subscribes/interaction-core/resize-element.d.ts.map +1 -0
- package/dist/subscribes/interaction-core/resize-element.js +25 -0
- package/dist/subscribes/interaction-core/resize-element.js.map +1 -0
- package/dist/subscribes/interaction-core/select-elements.d.ts +3 -0
- package/dist/subscribes/interaction-core/select-elements.d.ts.map +1 -0
- package/dist/subscribes/interaction-core/select-elements.js +7 -0
- package/dist/subscribes/interaction-core/select-elements.js.map +1 -0
- package/dist/subscribes/interaction-core/transaction.d.ts +3 -0
- package/dist/subscribes/interaction-core/transaction.d.ts.map +1 -0
- package/dist/subscribes/interaction-core/transaction.js +10 -0
- package/dist/subscribes/interaction-core/transaction.js.map +1 -0
- package/dist/subscribes/interaction-core/undoredo.d.ts +3 -0
- package/dist/subscribes/interaction-core/undoredo.d.ts.map +1 -0
- package/dist/subscribes/interaction-core/undoredo.js +15 -0
- package/dist/subscribes/interaction-core/undoredo.js.map +1 -0
- package/dist/subscribes/interaction-core/viewport.d.ts +3 -0
- package/dist/subscribes/interaction-core/viewport.d.ts.map +1 -0
- package/dist/subscribes/interaction-core/viewport.js +29 -0
- package/dist/subscribes/interaction-core/viewport.js.map +1 -0
- package/dist/subscribes/render.d.ts +6 -0
- package/dist/subscribes/render.d.ts.map +1 -0
- package/dist/subscribes/render.js +28 -0
- package/dist/subscribes/render.js.map +1 -0
- package/dist/types/deps.d.ts +11 -0
- package/dist/types/deps.d.ts.map +1 -0
- package/dist/types/deps.js +2 -0
- package/dist/types/deps.js.map +1 -0
- package/dist/types/element-selection.d.ts +5 -0
- package/dist/types/element-selection.d.ts.map +1 -0
- package/dist/types/element-selection.js +2 -0
- package/dist/types/element-selection.js.map +1 -0
- package/dist/types/index.d.ts +15 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/input-system.d.ts +5 -0
- package/dist/types/input-system.d.ts.map +1 -0
- package/dist/types/input-system.js +2 -0
- package/dist/types/input-system.js.map +1 -0
- package/dist/types/interaction-core.d.ts +11 -0
- package/dist/types/interaction-core.d.ts.map +1 -0
- package/dist/types/interaction-core.js +2 -0
- package/dist/types/interaction-core.js.map +1 -0
- package/dist/types/props.d.ts +7 -0
- package/dist/types/props.d.ts.map +1 -0
- package/dist/types/props.js +2 -0
- package/dist/types/props.js.map +1 -0
- package/dist/types/render.d.ts +6 -0
- package/dist/types/render.d.ts.map +1 -0
- package/dist/types/render.js +2 -0
- package/dist/types/render.js.map +1 -0
- package/dist/types/requests/factory copy.d.ts +12 -0
- package/dist/types/requests/factory copy.d.ts.map +1 -0
- package/dist/types/requests/factory copy.js +2 -0
- package/dist/types/requests/factory copy.js.map +1 -0
- package/dist/types/requests/factory.d.ts +12 -0
- package/dist/types/requests/factory.d.ts.map +1 -0
- package/dist/types/requests/factory.js +2 -0
- package/dist/types/requests/factory.js.map +1 -0
- package/dist/types/requests/index.d.ts +17 -0
- package/dist/types/requests/index.d.ts.map +1 -0
- package/dist/types/requests/index.js +4 -0
- package/dist/types/requests/index.js.map +1 -0
- package/dist/types/requests/primary-tool.d.ts +13 -0
- package/dist/types/requests/primary-tool.d.ts.map +1 -0
- package/dist/types/requests/primary-tool.js +2 -0
- package/dist/types/requests/primary-tool.js.map +1 -0
- package/dist/types/requests/props copy.d.ts +14 -0
- package/dist/types/requests/props copy.d.ts.map +1 -0
- package/dist/types/requests/props copy.js +2 -0
- package/dist/types/requests/props copy.js.map +1 -0
- package/dist/types/requests/props.d.ts +14 -0
- package/dist/types/requests/props.d.ts.map +1 -0
- package/dist/types/requests/props.js +2 -0
- package/dist/types/requests/props.js.map +1 -0
- package/dist/types/requests/render.d.ts +15 -0
- package/dist/types/requests/render.d.ts.map +1 -0
- package/dist/types/requests/render.js +2 -0
- package/dist/types/requests/render.js.map +1 -0
- package/dist/types/requests/scene-tree.d.ts +14 -0
- package/dist/types/requests/scene-tree.d.ts.map +1 -0
- package/dist/types/requests/scene-tree.js +2 -0
- package/dist/types/requests/scene-tree.js.map +1 -0
- package/dist/types/requests/selection.d.ts +12 -0
- package/dist/types/requests/selection.d.ts.map +1 -0
- package/dist/types/requests/selection.js +2 -0
- package/dist/types/requests/selection.js.map +1 -0
- package/dist/types/requests/system-context.d.ts +17 -0
- package/dist/types/requests/system-context.d.ts.map +1 -0
- package/dist/types/requests/system-context.js +2 -0
- package/dist/types/requests/system-context.js.map +1 -0
- package/dist/types/requests/system.d.ts +13 -0
- package/dist/types/requests/system.d.ts.map +1 -0
- package/dist/types/requests/system.js +2 -0
- package/dist/types/requests/system.js.map +1 -0
- package/dist/types/requests/viewport.d.ts +20 -0
- package/dist/types/requests/viewport.d.ts.map +1 -0
- package/dist/types/requests/viewport.js +6 -0
- package/dist/types/requests/viewport.js.map +1 -0
- package/dist/types/requests.d.ts +8 -0
- package/dist/types/requests.d.ts.map +1 -0
- package/dist/types/requests.js +2 -0
- package/dist/types/requests.js.map +1 -0
- package/dist/types/scene-tree.d.ts +15 -0
- package/dist/types/scene-tree.d.ts.map +1 -0
- package/dist/types/scene-tree.js +2 -0
- package/dist/types/scene-tree.js.map +1 -0
- package/dist/types/system-context/index.d.ts +8 -0
- package/dist/types/system-context/index.d.ts.map +1 -0
- package/dist/types/system-context/index.js +4 -0
- package/dist/types/system-context/index.js.map +1 -0
- package/dist/types/system-context/key-state.d.ts +6 -0
- package/dist/types/system-context/key-state.d.ts.map +1 -0
- package/dist/types/system-context/key-state.js +2 -0
- package/dist/types/system-context/key-state.js.map +1 -0
- package/dist/types/system-context/mouse-state.d.ts +6 -0
- package/dist/types/system-context/mouse-state.d.ts.map +1 -0
- package/dist/types/system-context/mouse-state.js +2 -0
- package/dist/types/system-context/mouse-state.js.map +1 -0
- package/dist/types/system-context/primary-tool.d.ts +8 -0
- package/dist/types/system-context/primary-tool.d.ts.map +1 -0
- package/dist/types/system-context/primary-tool.js +2 -0
- package/dist/types/system-context/primary-tool.js.map +1 -0
- package/dist/types/transaction.d.ts +6 -0
- package/dist/types/transaction.d.ts.map +1 -0
- package/dist/types/transaction.js +2 -0
- package/dist/types/transaction.js.map +1 -0
- package/dist/types/undo.d.ts +6 -0
- package/dist/types/undo.d.ts.map +1 -0
- package/dist/types/undo.js +2 -0
- package/dist/types/undo.js.map +1 -0
- package/dist/types/viewport.d.ts +12 -0
- package/dist/types/viewport.d.ts.map +1 -0
- package/dist/types/viewport.js +2 -0
- package/dist/types/viewport.js.map +1 -0
- package/package.json +37 -0
- package/src/__tests__/core.test.ts +153 -0
- package/src/apis/element-selection.ts +16 -0
- package/src/apis/index.ts +30 -0
- package/src/apis/input-system.ts +12 -0
- package/src/apis/interaction-core.ts +35 -0
- package/src/apis/props.ts +13 -0
- package/src/apis/render.ts +15 -0
- package/src/apis/scene-tree.ts +69 -0
- package/src/apis/system-context.ts +23 -0
- package/src/apis/transaction.ts +13 -0
- package/src/apis/undo.ts +13 -0
- package/src/apis/viewport.ts +36 -0
- package/src/combinations.ts +46 -0
- package/src/core.ts +158 -0
- package/src/index.ts +4 -0
- package/src/requests/factory.ts +14 -0
- package/src/requests/index.ts +23 -0
- package/src/requests/props.ts +16 -0
- package/src/requests/render.ts +34 -0
- package/src/requests/scene-tree.ts +26 -0
- package/src/requests/selection.ts +14 -0
- package/src/requests/system-context.ts +15 -0
- package/src/subscribes/index.ts +8 -0
- package/src/subscribes/input-system/index.ts +47 -0
- package/src/subscribes/input-system/primary-tool.ts +25 -0
- package/src/subscribes/input-system/render.ts +133 -0
- package/src/subscribes/input-system/undo.ts +29 -0
- package/src/subscribes/input-system/viewport.ts +58 -0
- package/src/subscribes/interaction-core/create-element.ts +22 -0
- package/src/subscribes/interaction-core/index.ts +68 -0
- package/src/subscribes/interaction-core/primary-tool.ts +8 -0
- package/src/subscribes/interaction-core/reset-element-size.ts +12 -0
- package/src/subscribes/interaction-core/resize-element.ts +31 -0
- package/src/subscribes/interaction-core/select-elements.ts +8 -0
- package/src/subscribes/interaction-core/transaction.ts +15 -0
- package/src/subscribes/interaction-core/undoredo.ts +16 -0
- package/src/subscribes/interaction-core/viewport.ts +35 -0
- package/src/types/deps.ts +11 -0
- package/src/types/element-selection.ts +5 -0
- package/src/types/index.ts +100 -0
- package/src/types/input-system.ts +5 -0
- package/src/types/interaction-core.ts +14 -0
- package/src/types/props.ts +8 -0
- package/src/types/render.ts +7 -0
- package/src/types/requests/factory.ts +14 -0
- package/src/types/requests/index.ts +43 -0
- package/src/types/requests/props.ts +16 -0
- package/src/types/requests/render.ts +18 -0
- package/src/types/requests/scene-tree.ts +16 -0
- package/src/types/requests/selection.ts +14 -0
- package/src/types/requests/system-context.ts +19 -0
- package/src/types/scene-tree.ts +31 -0
- package/src/types/system-context/index.ts +9 -0
- package/src/types/system-context/key-state.ts +7 -0
- package/src/types/system-context/mouse-state.ts +7 -0
- package/src/types/system-context/primary-tool.ts +9 -0
- package/src/types/transaction.ts +6 -0
- package/src/types/undo.ts +6 -0
- package/src/types/viewport.ts +14 -0
- package/test-setup.ts +6 -0
- package/tsconfig.json +22 -0
- package/vitest.config.ts +8 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-elements.d.ts","sourceRoot":"","sources":["../../../src/subscribes/interaction-core/select-elements.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAExD,eAAO,MAAM,yBAAyB,GAAI,MAAM,0BAA0B,SAIzE,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { subscribeToDecideToSelectElements } from '@asyra/reactive-events';
|
|
2
|
+
export const initSelectElementHandlers = (apis) => {
|
|
3
|
+
subscribeToDecideToSelectElements(({ payload }) => {
|
|
4
|
+
apis.selectElements(payload.elementIds);
|
|
5
|
+
});
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=select-elements.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-elements.js","sourceRoot":"","sources":["../../../src/subscribes/interaction-core/select-elements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,wBAAwB,CAAA;AAG1E,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,IAAgC,EAAE,EAAE;IAC5E,iCAAiC,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QAChD,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,UAAU,CAAC,CAAA;IACzC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../src/subscribes/interaction-core/transaction.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD,eAAO,MAAM,uBAAuB,GAAI,MAAM,qBAAqB,SAQlE,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { subscribeToDecideToEndTransaction, subscribeToDecideToStartTransaction } from '@asyra/reactive-events';
|
|
2
|
+
export const initTransactionHandlers = (apis) => {
|
|
3
|
+
subscribeToDecideToStartTransaction(() => {
|
|
4
|
+
apis.startTransaction();
|
|
5
|
+
});
|
|
6
|
+
subscribeToDecideToEndTransaction(() => {
|
|
7
|
+
apis.endTransaction();
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=transaction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../../src/subscribes/interaction-core/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,mCAAmC,EACpC,MAAM,wBAAwB,CAAA;AAG/B,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,IAA2B,EAAE,EAAE;IACrE,mCAAmC,CAAC,GAAG,EAAE;QACvC,IAAI,CAAC,gBAAgB,EAAE,CAAA;IACzB,CAAC,CAAC,CAAA;IAEF,iCAAiC,CAAC,GAAG,EAAE;QACrC,IAAI,CAAC,cAAc,EAAE,CAAA;IACvB,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undoredo.d.ts","sourceRoot":"","sources":["../../../src/subscribes/interaction-core/undoredo.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C,eAAO,MAAM,oBAAoB,GAAI,MAAM,cAAc,SAWxD,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { subscribeToDecideToUndoRedo } from '@asyra/reactive-events';
|
|
2
|
+
import { UNDO } from '@asyra/utils';
|
|
3
|
+
export const initUndoRedoHandlers = (apis) => {
|
|
4
|
+
subscribeToDecideToUndoRedo(({ payload }) => {
|
|
5
|
+
switch (payload.undoredo) {
|
|
6
|
+
case UNDO.UNDO:
|
|
7
|
+
apis.undo();
|
|
8
|
+
break;
|
|
9
|
+
case UNDO.REDO:
|
|
10
|
+
apis.redo();
|
|
11
|
+
break;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=undoredo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undoredo.js","sourceRoot":"","sources":["../../../src/subscribes/interaction-core/undoredo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAGnC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,IAAoB,EAAE,EAAE;IAC3D,2BAA2B,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QAC1C,QAAQ,OAAO,CAAC,QAAQ,EAAE,CAAC;YACzB,KAAK,IAAI,CAAC,IAAI;gBACZ,IAAI,CAAC,IAAI,EAAE,CAAA;gBACX,MAAK;YACP,KAAK,IAAI,CAAC,IAAI;gBACZ,IAAI,CAAC,IAAI,EAAE,CAAA;gBACX,MAAK;QACT,CAAC;IACH,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewport.d.ts","sourceRoot":"","sources":["../../../src/subscribes/interaction-core/viewport.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAG1C,eAAO,MAAM,oBAAoB,GAAI,MAAM,YAAY,SA2BtD,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { subscribeToDecideToPanZoom, subscribeToDecideToZoomFit } from '@asyra/reactive-events';
|
|
2
|
+
import { PanZoom, ZOOM_SMOOTH_RATIO } from '@asyra/utils';
|
|
3
|
+
export const initViewportHandlers = (apis) => {
|
|
4
|
+
subscribeToDecideToZoomFit(() => {
|
|
5
|
+
apis.zoomFit();
|
|
6
|
+
});
|
|
7
|
+
subscribeToDecideToPanZoom(({ payload }) => {
|
|
8
|
+
switch (payload.panzoom) {
|
|
9
|
+
case PanZoom.PAN: {
|
|
10
|
+
const { x, y } = payload.wheel;
|
|
11
|
+
const currentPosition = apis.getViewportPosition();
|
|
12
|
+
apis.panTo(currentPosition.x - x, currentPosition.y - y);
|
|
13
|
+
break;
|
|
14
|
+
}
|
|
15
|
+
case PanZoom.ZOOM: {
|
|
16
|
+
const { x: clientX, y: clientY } = payload.mouse;
|
|
17
|
+
const { y: deltaY } = payload.wheel;
|
|
18
|
+
const currentScale = apis.getViewportScale();
|
|
19
|
+
// Adjust zoom scale based on wheel direction. deltaY < 0 means scrolling up (zoom in)
|
|
20
|
+
// Using a smaller scale factor (1.05) for smoother zooming
|
|
21
|
+
const newScale = currentScale *
|
|
22
|
+
(deltaY < 0 ? 1 + ZOOM_SMOOTH_RATIO : 1 - ZOOM_SMOOTH_RATIO);
|
|
23
|
+
apis.zoomToCenter(newScale, clientX, clientY);
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=viewport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewport.js","sourceRoot":"","sources":["../../../src/subscribes/interaction-core/viewport.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEzD,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,IAAkB,EAAE,EAAE;IACzD,0BAA0B,CAAC,GAAG,EAAE;QAC9B,IAAI,CAAC,OAAO,EAAE,CAAA;IAChB,CAAC,CAAC,CAAA;IAEF,0BAA0B,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QACzC,QAAQ,OAAO,CAAC,OAAO,EAAE,CAAC;YACxB,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;gBACjB,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,OAAO,CAAC,KAAK,CAAA;gBAC9B,MAAM,eAAe,GAAG,IAAI,CAAC,mBAAmB,EAAE,CAAA;gBAClD,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,EAAE,eAAe,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA;gBACxD,MAAK;YACP,CAAC;YACD,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;gBAClB,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,KAAK,CAAA;gBAChD,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,KAAK,CAAA;gBACnC,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAA;gBAC5C,sFAAsF;gBACtF,2DAA2D;gBAC3D,MAAM,QAAQ,GACZ,YAAY;oBACZ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC,CAAA;gBAC9D,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;gBAC7C,MAAK;YACP,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../src/subscribes/render.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAErD;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,MAAM,UAAU,EAAE,MAAM,WAAW,SA0BrE,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { subscribeToZoomToCenter, subscribeToRequestRenderZoom, subscribeToEmitZoomFit } from '@asyra/reactive-events';
|
|
2
|
+
/**
|
|
3
|
+
* Initialize render event handlers that update UI context
|
|
4
|
+
*/
|
|
5
|
+
export const initRenderHandlers = (apis, deps) => {
|
|
6
|
+
// Handle zoom to center events
|
|
7
|
+
subscribeToZoomToCenter(({ payload }) => {
|
|
8
|
+
// Update UI context with new zoom level
|
|
9
|
+
const newZoom = payload.scale;
|
|
10
|
+
deps.uiContext.updateZoom(newZoom);
|
|
11
|
+
});
|
|
12
|
+
// Handle emit zoom fit events
|
|
13
|
+
subscribeToEmitZoomFit(() => {
|
|
14
|
+
// Get current zoom and update UI context
|
|
15
|
+
const currentZoom = deps.uiContext.zoom.getValue();
|
|
16
|
+
deps.uiContext.updateZoom(currentZoom);
|
|
17
|
+
});
|
|
18
|
+
// Handle render zoom requests
|
|
19
|
+
subscribeToRequestRenderZoom(({ payload }) => {
|
|
20
|
+
const currentZoom = deps.uiContext.zoom.getValue();
|
|
21
|
+
// Find the request handler and resolve it
|
|
22
|
+
const requestHandler = deps.render.requests.find((req) => req.requestId === payload.requestId);
|
|
23
|
+
if (requestHandler && requestHandler.resolve) {
|
|
24
|
+
requestHandler.resolve(currentZoom);
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=render.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.js","sourceRoot":"","sources":["../../src/subscribes/render.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,uBAAuB,CAAA;AAG9B;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAgB,EAAE,IAAiB,EAAE,EAAE;IACxE,+BAA+B;IAC/B,uBAAuB,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QACtC,wCAAwC;QACxC,MAAM,OAAO,GAAG,OAAO,CAAC,KAAK,CAAA;QAC7B,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;IACpC,CAAC,CAAC,CAAA;IAEF,8BAA8B;IAC9B,sBAAsB,CAAC,GAAG,EAAE;QAC1B,yCAAyC;QACzC,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAA;QAClD,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,WAAW,CAAC,CAAA;IACxC,CAAC,CAAC,CAAA;IAEF,8BAA8B;IAC9B,4BAA4B,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QAC3C,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAA;QAClD,0CAA0C;QAC1C,MAAM,cAAc,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAC9C,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,KAAK,OAAO,CAAC,SAAS,CAC7C,CAAA;QACD,IAAI,cAAc,IAAI,cAAc,CAAC,OAAO,EAAE,CAAC;YAC7C,cAAc,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;QACrC,CAAC;IACH,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Factory } from '@asyra/factory';
|
|
2
|
+
import type { InputSystem } from '@asyra/input-system';
|
|
3
|
+
import type { InteractionCore } from '@asyra/interaction-core';
|
|
4
|
+
import type { Render } from '@asyra/render';
|
|
5
|
+
export interface HandlerDeps {
|
|
6
|
+
inputSystem: InputSystem;
|
|
7
|
+
render: Render;
|
|
8
|
+
factory: Factory;
|
|
9
|
+
interactionCore: InteractionCore;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=deps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deps.d.ts","sourceRoot":"","sources":["../../src/types/deps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,WAAW,CAAA;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;IAChB,eAAe,EAAE,eAAe,CAAA;CACjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deps.js","sourceRoot":"","sources":["../../src/types/deps.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element-selection.d.ts","sourceRoot":"","sources":["../../src/types/element-selection.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;CAC/C;AAED,MAAM,MAAM,oBAAoB,GAAG,0BAA0B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element-selection.js","sourceRoot":"","sources":["../../src/types/element-selection.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TransactionAPIs, TransactionActionAPIs } from './transaction';
|
|
2
|
+
import { ElementSelectionAPIs, ElementSelectionActionAPIs } from './element-selection';
|
|
3
|
+
import { InputSystemAPIs, InputSystemRawAPIs } from './input-system';
|
|
4
|
+
import { RenderAPIs, RenderRawAPIs } from './render';
|
|
5
|
+
import { SceneTreeAPIs, SceneTreeActionAPIs, SceneTreeHandlerAPIs } from './scene-tree';
|
|
6
|
+
import { UndoAPIs, UndoActionAPIs } from './undo';
|
|
7
|
+
import { ViewportAPIs } from './viewport';
|
|
8
|
+
import { PropsAPIs, PropsRawAPIs } from './props';
|
|
9
|
+
import { SystemContextAPIs, PrimaryToolActionAPIs, PrimaryToolAPIs, MouseStateAPIs, KeyStateAPIs } from './system-context';
|
|
10
|
+
import { InteractionCoreAPIs, InteractionCoreSessionAPIs, InteractionCoreActionAPIs } from './interaction-core';
|
|
11
|
+
import { Requests, RequestsDeps, SystemContextRequests, SystemContextRequestsDeps, PropsRequests, PropsRequestDeps, SceneTreeRequests, SceneTreeRequestDeps, FactoryRequests, FactoryRequestDeps, RenderRequests, RenderRequestDeps, SelectionRequests, SelectionRequestDeps } from './requests';
|
|
12
|
+
export { HandlerDeps } from './deps';
|
|
13
|
+
export { TransactionAPIs, TransactionActionAPIs, InputSystemRawAPIs, InputSystemAPIs, UndoActionAPIs, UndoAPIs, ViewportAPIs, RenderRawAPIs, RenderAPIs, SceneTreeAPIs, SceneTreeActionAPIs, SceneTreeHandlerAPIs, ElementSelectionActionAPIs, ElementSelectionAPIs, PropsRawAPIs, PropsAPIs, PrimaryToolActionAPIs, PrimaryToolAPIs, MouseStateAPIs, SystemContextAPIs, InteractionCoreActionAPIs, InteractionCoreSessionAPIs, InteractionCoreAPIs, KeyStateAPIs, Requests, RequestsDeps, SystemContextRequests, SystemContextRequestsDeps, PropsRequests, PropsRequestDeps, SceneTreeRequests, SceneTreeRequestDeps, FactoryRequests, FactoryRequestDeps, RenderRequests, RenderRequestDeps, SelectionRequests, SelectionRequestDeps };
|
|
14
|
+
export type CoreAPIs = TransactionAPIs & InputSystemAPIs & UndoAPIs & ViewportAPIs & RenderAPIs & SceneTreeAPIs & ElementSelectionAPIs & PropsAPIs & SystemContextAPIs & InteractionCoreAPIs;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AACtE,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC3B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACpE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACpD,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AACzC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACjD,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,YAAY,EACb,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,qBAAqB,EACrB,yBAAyB,EACzB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,YAAY,CAAA;AAEnB,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpC,OAAO,EAEL,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAC1B,oBAAoB,EACpB,YAAY,EACZ,SAAS,EACT,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,yBAAyB,EACzB,0BAA0B,EAC1B,mBAAmB,EACnB,YAAY,EAGZ,QAAQ,EACR,YAAY,EACZ,qBAAqB,EACrB,yBAAyB,EACzB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACrB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG,eAAe,GACpC,eAAe,GACf,QAAQ,GACR,YAAY,GACZ,UAAU,GACV,aAAa,GACb,oBAAoB,GACpB,SAAS,GACT,iBAAiB,GACjB,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-system.d.ts","sourceRoot":"","sources":["../../src/types/input-system.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,CAAC,cAAc,CAAC,EAAE,WAAW,KAAK,IAAI,CAAA;CACzD;AAED,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-system.js","sourceRoot":"","sources":["../../src/types/input-system.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DetailType, InputSystemEvents } from '@asyra/utils';
|
|
2
|
+
export interface InteractionCoreActionAPIs {
|
|
3
|
+
executeAction: (eventName: InputSystemEvents, detail?: DetailType) => void;
|
|
4
|
+
}
|
|
5
|
+
export interface InteractionCoreSessionAPIs {
|
|
6
|
+
startSession: (eventName: InputSystemEvents, detail?: DetailType) => void;
|
|
7
|
+
updateSession: (eventName: InputSystemEvents, detail?: DetailType) => void;
|
|
8
|
+
endSession: (eventName: InputSystemEvents, detail?: DetailType) => void;
|
|
9
|
+
}
|
|
10
|
+
export type InteractionCoreAPIs = InteractionCoreActionAPIs & InteractionCoreSessionAPIs;
|
|
11
|
+
//# sourceMappingURL=interaction-core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interaction-core.d.ts","sourceRoot":"","sources":["../../src/types/interaction-core.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAE5D,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,CAAC,SAAS,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;CAC3E;AAED,MAAM,WAAW,0BAA0B;IACzC,YAAY,EAAE,CAAC,SAAS,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IACzE,aAAa,EAAE,CAAC,SAAS,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IAC1E,UAAU,EAAE,CAAC,SAAS,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;CACxE;AAED,MAAM,MAAM,mBAAmB,GAAG,yBAAyB,GACzD,0BAA0B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interaction-core.js","sourceRoot":"","sources":["../../src/types/interaction-core.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PropsComponentRawData } from '@asyra/utils';
|
|
2
|
+
export interface PropsRawAPIs {
|
|
3
|
+
propsLoadData: (data: PropsComponentRawData) => void;
|
|
4
|
+
propsSaveData: () => PropsComponentRawData;
|
|
5
|
+
}
|
|
6
|
+
export type PropsAPIs = PropsRawAPIs;
|
|
7
|
+
//# sourceMappingURL=props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/types/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAEpD,MAAM,WAAW,YAAY;IAC3B,aAAa,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAA;IACpD,aAAa,EAAE,MAAM,qBAAqB,CAAA;CAC3C;AAED,MAAM,MAAM,SAAS,GAAG,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.js","sourceRoot":"","sources":["../../src/types/props.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../src/types/render.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,aAAa,EAAE,MAAM,IAAI,CAAA;IAEzB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,CAAC,CAAA;CAC3E;AAED,MAAM,MAAM,UAAU,GAAG,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.js","sourceRoot":"","sources":["../../src/types/render.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Factory } from '@asyra/factory';
|
|
2
|
+
/**
|
|
3
|
+
* Request API for Factory data
|
|
4
|
+
* Provides synchronous access to factory state
|
|
5
|
+
*/
|
|
6
|
+
export interface FactoryRequests {
|
|
7
|
+
isInUndoRedo: () => boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface FactoryRequestDeps {
|
|
10
|
+
factory: Factory;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=factory%20copy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"factory copy.d.ts","sourceRoot":"","sources":["../../../src/types/requests/factory copy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAEvC;;;GAGG;AAEH,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,MAAM,OAAO,CAAA;CAC5B;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAA;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"factory copy.js","sourceRoot":"","sources":["../../../src/types/requests/factory copy.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Factory } from '@asyra/factory';
|
|
2
|
+
/**
|
|
3
|
+
* Request API for Factory data
|
|
4
|
+
* Provides synchronous access to factory state
|
|
5
|
+
*/
|
|
6
|
+
export interface FactoryRequests {
|
|
7
|
+
isInUndoRedo: () => boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface FactoryRequestDeps {
|
|
10
|
+
factory: Factory;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../src/types/requests/factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAExC;;;GAGG;AAEH,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,MAAM,OAAO,CAAA;CAC5B;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAA;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../../src/types/requests/factory.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SystemContextRequests, SystemContextRequestsDeps } from './system-context';
|
|
2
|
+
import { PropsRequests, PropsRequestDeps } from './props';
|
|
3
|
+
import { SceneTreeRequestDeps, SceneTreeRequests } from './scene-tree';
|
|
4
|
+
import { FactoryRequests, FactoryRequestDeps } from './factory';
|
|
5
|
+
import { RenderRequestDeps, RenderRequests } from './render';
|
|
6
|
+
import { SelectionRequestDeps, SelectionRequests } from './selection';
|
|
7
|
+
export { SystemContextRequests, SystemContextRequestsDeps, PropsRequests, PropsRequestDeps, SceneTreeRequests, SceneTreeRequestDeps, FactoryRequests, FactoryRequestDeps, RenderRequests, RenderRequestDeps, SelectionRequests, SelectionRequestDeps };
|
|
8
|
+
export type RequestsDeps = SystemContextRequestsDeps & PropsRequestDeps & SceneTreeRequestDeps & FactoryRequestDeps & RenderRequestDeps & SelectionRequestDeps;
|
|
9
|
+
export interface Requests {
|
|
10
|
+
systemContextRequests: SystemContextRequests;
|
|
11
|
+
propsRequests: PropsRequests;
|
|
12
|
+
sceneTreeRequests: SceneTreeRequests;
|
|
13
|
+
factoryRequests: FactoryRequests;
|
|
14
|
+
renderRequests: RenderRequests;
|
|
15
|
+
selectionRequests: SelectionRequests;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/requests/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AACzD,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AACtE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAC/D,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC5D,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAErE,OAAO,EACL,qBAAqB,EACrB,yBAAyB,EACzB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACrB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,yBAAyB,GAClD,gBAAgB,GAChB,oBAAoB,GACpB,kBAAkB,GAClB,iBAAiB,GACjB,oBAAoB,CAAA;AAEtB,MAAM,WAAW,QAAQ;IACvB,qBAAqB,EAAE,qBAAqB,CAAA;IAC5C,aAAa,EAAE,aAAa,CAAA;IAC5B,iBAAiB,EAAE,iBAAiB,CAAA;IACpC,eAAe,EAAE,eAAe,CAAA;IAChC,cAAc,EAAE,cAAc,CAAA;IAC9B,iBAAiB,EAAE,iBAAiB,CAAA;CACrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/requests/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,qDAAqD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PrimaryToolManager } from '@asyra/primary-tool-manager';
|
|
2
|
+
import { PrimaryToolType } from '@asyra/utils';
|
|
3
|
+
/**
|
|
4
|
+
* Request API for PrimaryTool data
|
|
5
|
+
* Provides synchronous access to primary tool manager state
|
|
6
|
+
*/
|
|
7
|
+
export interface PrimaryToolRequests {
|
|
8
|
+
switchPrimaryTool: (toolType: PrimaryToolType) => void;
|
|
9
|
+
}
|
|
10
|
+
export interface PrimaryToolRequestDeps {
|
|
11
|
+
primaryTool: PrimaryToolManager;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=primary-tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"primary-tool.d.ts","sourceRoot":"","sources":["../../../src/types/requests/primary-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C;;;GAGG;AAEH,MAAM,WAAW,mBAAmB;IAClC,iBAAiB,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,IAAI,CAAA;CACvD;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,kBAAkB,CAAA;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"primary-tool.js","sourceRoot":"","sources":["../../../src/types/requests/primary-tool.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PropsManager } from '@asyra/props-manager';
|
|
2
|
+
import { PropsComponentRawData } from '@asyra/utils';
|
|
3
|
+
/**
|
|
4
|
+
* Request API for Props data
|
|
5
|
+
* Provides synchronous access to props manager state
|
|
6
|
+
*/
|
|
7
|
+
export interface PropsRequests {
|
|
8
|
+
propsLoadData: (data: PropsComponentRawData) => void;
|
|
9
|
+
propsSaveData: () => PropsComponentRawData;
|
|
10
|
+
}
|
|
11
|
+
export interface PropsRequestDeps {
|
|
12
|
+
props: PropsManager;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=props%20copy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props copy.d.ts","sourceRoot":"","sources":["../../../src/types/requests/props copy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD;;;GAGG;AAEH,MAAM,WAAW,aAAa;IAC5B,aAAa,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAA;IACpD,aAAa,EAAE,MAAM,qBAAqB,CAAA;CAC3C;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,YAAY,CAAA;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props copy.js","sourceRoot":"","sources":["../../../src/types/requests/props copy.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PropsManager } from '@asyra/props-manager';
|
|
2
|
+
import { PropsComponentRawData } from '@asyra/utils';
|
|
3
|
+
/**
|
|
4
|
+
* Request API for Props data
|
|
5
|
+
* Provides synchronous access to props manager state
|
|
6
|
+
*/
|
|
7
|
+
export interface PropsRequests {
|
|
8
|
+
propsLoadData: (data: PropsComponentRawData) => void;
|
|
9
|
+
propsSaveData: () => PropsComponentRawData;
|
|
10
|
+
}
|
|
11
|
+
export interface PropsRequestDeps {
|
|
12
|
+
props: PropsManager;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/types/requests/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAEpD;;;GAGG;AAEH,MAAM,WAAW,aAAa;IAC5B,aAAa,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAA;IACpD,aAAa,EAAE,MAAM,qBAAqB,CAAA;CAC3C;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,YAAY,CAAA;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.js","sourceRoot":"","sources":["../../../src/types/requests/props.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Render } from '@asyra/render';
|
|
2
|
+
import { PositionData } from '@asyra/utils';
|
|
3
|
+
/**
|
|
4
|
+
* Request API for Render data
|
|
5
|
+
* Provides synchronous access to render state
|
|
6
|
+
*/
|
|
7
|
+
export interface RenderRequests {
|
|
8
|
+
initRender: (width: number, height: number, color: number) => Promise<any>;
|
|
9
|
+
getViewportPosition: () => PositionData;
|
|
10
|
+
getViewportScale: () => number;
|
|
11
|
+
}
|
|
12
|
+
export interface RenderRequestDeps {
|
|
13
|
+
render: Render;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=render.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../src/types/requests/render.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE3C;;;GAGG;AAEH,MAAM,WAAW,cAAc;IAE7B,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,CAAC,CAAA;IAC1E,mBAAmB,EAAE,MAAM,YAAY,CAAA;IACvC,gBAAgB,EAAE,MAAM,MAAM,CAAA;CAC/B;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAA;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.js","sourceRoot":"","sources":["../../../src/types/requests/render.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SceneTree } from '@asyra/scene-tree';
|
|
2
|
+
import { CreateElementData, SceneTreeRawData } from '@asyra/utils';
|
|
3
|
+
/**
|
|
4
|
+
* Request API for SceneTree data
|
|
5
|
+
* Provides synchronous access to scene tree state
|
|
6
|
+
*/
|
|
7
|
+
export interface SceneTreeRequests {
|
|
8
|
+
sceneTreeSaveData: () => SceneTreeRawData;
|
|
9
|
+
addRectangle: (data: CreateElementData, inUndoRedo: boolean) => string;
|
|
10
|
+
}
|
|
11
|
+
export interface SceneTreeRequestDeps {
|
|
12
|
+
sceneTree: SceneTree;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=scene-tree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scene-tree.d.ts","sourceRoot":"","sources":["../../../src/types/requests/scene-tree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAElE;;;GAGG;AAEH,MAAM,WAAW,iBAAiB;IAChC,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;IACzC,YAAY,EAAE,CAAC,IAAI,EAAE,iBAAiB,EAAE,UAAU,EAAE,OAAO,KAAK,MAAM,CAAA;CACvE;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,SAAS,CAAA;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scene-tree.js","sourceRoot":"","sources":["../../../src/types/requests/scene-tree.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SelectionManager } from '@asyra/selection';
|
|
2
|
+
/**
|
|
3
|
+
* Request API for Selection data
|
|
4
|
+
* Provides synchronous access to selection state
|
|
5
|
+
*/
|
|
6
|
+
export interface SelectionRequests {
|
|
7
|
+
getElementSelectionIds: () => string[];
|
|
8
|
+
}
|
|
9
|
+
export interface SelectionRequestDeps {
|
|
10
|
+
selection: SelectionManager;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=selection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../../src/types/requests/selection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAEnD;;;GAGG;AAEH,MAAM,WAAW,iBAAiB;IAChC,sBAAsB,EAAE,MAAM,MAAM,EAAE,CAAA;CACvC;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,gBAAgB,CAAA;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection.js","sourceRoot":"","sources":["../../../src/types/requests/selection.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SystemContext } from '@asyra/system-context';
|
|
2
|
+
import { SystemContextSnapshot } from '@asyra/utils';
|
|
3
|
+
/**
|
|
4
|
+
* Dependencies for System Context Request APIs
|
|
5
|
+
* System context dependencies injected from outside
|
|
6
|
+
*/
|
|
7
|
+
export interface SystemContextRequestsDeps {
|
|
8
|
+
systemContext: SystemContext;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Request API types for System Context
|
|
12
|
+
* Type definitions for synchronous system context data access
|
|
13
|
+
*/
|
|
14
|
+
export interface SystemContextRequests {
|
|
15
|
+
getSystemContextSnapshot: () => SystemContextSnapshot;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=system-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-context.d.ts","sourceRoot":"","sources":["../../../src/types/requests/system-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAEpD;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,aAAa,CAAA;CAC7B;AAED;;;GAGG;AAEH,MAAM,WAAW,qBAAqB;IACpC,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;CACtD"}
|