@asyra/core 0.2.5 → 0.5.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/LICENSE +21 -0
- package/README.md +52 -0
- package/dist/apis/create-apis.d.ts +8 -0
- package/dist/apis/create-apis.d.ts.map +1 -0
- package/dist/apis/create-apis.js +272 -0
- package/dist/apis/create-apis.js.map +1 -0
- package/dist/apis/element-properties.d.ts +10 -0
- package/dist/apis/element-properties.d.ts.map +1 -0
- package/dist/apis/element-properties.js +33 -0
- package/dist/apis/element-properties.js.map +1 -0
- package/dist/apis/element-selection.d.ts +4 -2
- package/dist/apis/element-selection.d.ts.map +1 -1
- package/dist/apis/element-selection.js +155 -6
- package/dist/apis/element-selection.js.map +1 -1
- package/dist/apis/feature-system.d.ts +11 -0
- package/dist/apis/feature-system.d.ts.map +1 -0
- package/dist/apis/feature-system.js +9 -0
- package/dist/apis/feature-system.js.map +1 -0
- package/dist/apis/index.d.ts +1 -2
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +1 -24
- package/dist/apis/index.js.map +1 -1
- package/dist/apis/input-system.d.ts +1 -1
- package/dist/apis/input-system.d.ts.map +1 -1
- package/dist/apis/props.d.ts +18 -2
- package/dist/apis/props.d.ts.map +1 -1
- package/dist/apis/props.js +28 -9
- package/dist/apis/props.js.map +1 -1
- package/dist/apis/render.d.ts +39 -2
- package/dist/apis/render.d.ts.map +1 -1
- package/dist/apis/render.js +35 -2
- package/dist/apis/render.js.map +1 -1
- package/dist/apis/scene-bounds.d.ts +4 -0
- package/dist/apis/scene-bounds.d.ts.map +1 -0
- package/dist/apis/scene-bounds.js +112 -0
- package/dist/apis/scene-bounds.js.map +1 -0
- package/dist/apis/scene-tree.d.ts +24 -2
- package/dist/apis/scene-tree.d.ts.map +1 -1
- package/dist/apis/scene-tree.js +116 -25
- package/dist/apis/scene-tree.js.map +1 -1
- package/dist/apis/system-properties.d.ts +18 -0
- package/dist/apis/system-properties.d.ts.map +1 -0
- package/dist/apis/system-properties.js +21 -0
- package/dist/apis/system-properties.js.map +1 -0
- package/dist/apis/ui-context.d.ts +10 -0
- package/dist/apis/ui-context.d.ts.map +1 -0
- package/dist/apis/ui-context.js +22 -0
- package/dist/apis/ui-context.js.map +1 -0
- package/dist/canvas-pipeline-debugger/debugger.d.ts +29 -0
- package/dist/canvas-pipeline-debugger/debugger.d.ts.map +1 -0
- package/dist/canvas-pipeline-debugger/debugger.js +251 -0
- package/dist/canvas-pipeline-debugger/debugger.js.map +1 -0
- package/dist/canvas-pipeline-debugger/index.d.ts +2 -0
- package/dist/canvas-pipeline-debugger/index.d.ts.map +1 -0
- package/dist/canvas-pipeline-debugger/index.js +2 -0
- package/dist/canvas-pipeline-debugger/index.js.map +1 -0
- package/dist/contracts/index.d.ts +4 -0
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/contracts/index.js +2 -0
- package/dist/contracts/index.js.map +1 -0
- package/dist/core.d.ts +264 -40
- package/dist/core.d.ts.map +1 -1
- package/dist/core.js +1278 -40
- package/dist/core.js.map +1 -1
- package/dist/data-channel-observer.d.ts +35 -0
- package/dist/data-channel-observer.d.ts.map +1 -0
- package/dist/data-channel-observer.js +77 -0
- package/dist/data-channel-observer.js.map +1 -0
- package/dist/define-component.d.ts +102 -0
- package/dist/define-component.d.ts.map +1 -0
- package/dist/define-component.js +429 -0
- package/dist/define-component.js.map +1 -0
- package/dist/define-property-component.d.ts +29 -0
- package/dist/define-property-component.d.ts.map +1 -0
- package/dist/define-property-component.js +140 -0
- package/dist/define-property-component.js.map +1 -0
- package/dist/feature-integration.d.ts +16 -0
- package/dist/feature-integration.d.ts.map +1 -0
- package/dist/feature-integration.js +19 -0
- package/dist/feature-integration.js.map +1 -0
- package/dist/index.d.ts +45 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -1
- package/dist/index.js.map +1 -1
- package/dist/types/app-runtime.d.ts +21 -0
- package/dist/types/app-runtime.d.ts.map +1 -0
- package/dist/types/app-runtime.js +2 -0
- package/dist/types/app-runtime.js.map +1 -0
- package/dist/types/canonical-changes.d.ts +39 -0
- package/dist/types/canonical-changes.d.ts.map +1 -0
- package/dist/types/canonical-changes.js +2 -0
- package/dist/types/canonical-changes.js.map +1 -0
- package/dist/types/deps.d.ts +0 -2
- package/dist/types/deps.d.ts.map +1 -1
- package/dist/types/element-properties.d.ts +24 -0
- package/dist/types/element-properties.d.ts.map +1 -0
- package/dist/types/element-properties.js +2 -0
- package/dist/types/element-properties.js.map +1 -0
- package/dist/types/element-selection.d.ts +5 -1
- package/dist/types/element-selection.d.ts.map +1 -1
- package/dist/types/feature-system.d.ts +5 -0
- package/dist/types/feature-system.d.ts.map +1 -0
- package/dist/types/feature-system.js +2 -0
- package/dist/types/feature-system.js.map +1 -0
- package/dist/types/index.d.ts +19 -14
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/load-migration.d.ts +12 -0
- package/dist/types/load-migration.d.ts.map +1 -0
- package/dist/types/load-migration.js +16 -0
- package/dist/types/load-migration.js.map +1 -0
- package/dist/types/load-validation.d.ts +12 -0
- package/dist/types/load-validation.d.ts.map +1 -0
- package/dist/types/load-validation.js +2 -0
- package/dist/types/load-validation.js.map +1 -0
- package/dist/types/props.d.ts +8 -1
- package/dist/types/props.d.ts.map +1 -1
- package/dist/types/render.d.ts +20 -1
- package/dist/types/render.d.ts.map +1 -1
- package/dist/types/scene-tree.d.ts +21 -9
- package/dist/types/scene-tree.d.ts.map +1 -1
- package/dist/types/system-properties.d.ts +19 -0
- package/dist/types/system-properties.d.ts.map +1 -0
- package/dist/types/system-properties.js +2 -0
- package/dist/types/system-properties.js.map +1 -0
- package/dist/types/ui-context.d.ts +11 -0
- package/dist/types/ui-context.d.ts.map +1 -0
- package/dist/types/ui-context.js +2 -0
- package/dist/types/ui-context.js.map +1 -0
- package/dist/types/vector.d.ts +131 -0
- package/dist/types/vector.d.ts.map +1 -0
- package/dist/types/vector.js +83 -0
- package/dist/types/vector.js.map +1 -0
- package/package.json +44 -12
- package/.turbo/turbo-test$colon$ci.log +0 -132
- package/.turbo/turbo-test$colon$local.log +0 -21
- package/.turbo/turbo-test.log +0 -0
- package/CHANGELOG.md +0 -86
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/clover.xml +0 -991
- package/coverage/coverage-final.json +0 -14952
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +0 -236
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -196
- package/coverage/src/apis/element-selection.ts.html +0 -133
- package/coverage/src/apis/index.html +0 -266
- package/coverage/src/apis/index.ts.html +0 -175
- package/coverage/src/apis/input-system.ts.html +0 -121
- package/coverage/src/apis/interaction-core.ts.html +0 -190
- package/coverage/src/apis/props.ts.html +0 -124
- package/coverage/src/apis/render.ts.html +0 -130
- package/coverage/src/apis/scene-tree.ts.html +0 -292
- package/coverage/src/apis/system-context.ts.html +0 -154
- package/coverage/src/apis/transaction.ts.html +0 -124
- package/coverage/src/apis/undo.ts.html +0 -124
- package/coverage/src/apis/viewport.ts.html +0 -193
- package/coverage/src/combinations.ts.html +0 -223
- package/coverage/src/core.ts.html +0 -559
- package/coverage/src/index.html +0 -146
- package/coverage/src/index.ts.html +0 -97
- package/coverage/src/requests/factory.ts.html +0 -127
- package/coverage/src/requests/index.html +0 -206
- package/coverage/src/requests/index.ts.html +0 -154
- package/coverage/src/requests/props.ts.html +0 -133
- package/coverage/src/requests/render.ts.html +0 -187
- package/coverage/src/requests/scene-tree.ts.html +0 -163
- package/coverage/src/requests/selection.ts.html +0 -127
- package/coverage/src/requests/system-context.ts.html +0 -130
- package/coverage/src/subscribes/index.html +0 -116
- package/coverage/src/subscribes/index.ts.html +0 -109
- package/coverage/src/subscribes/input-system/index.html +0 -176
- package/coverage/src/subscribes/input-system/index.ts.html +0 -226
- package/coverage/src/subscribes/input-system/primary-tool.ts.html +0 -160
- package/coverage/src/subscribes/input-system/render.ts.html +0 -484
- package/coverage/src/subscribes/input-system/undo.ts.html +0 -172
- package/coverage/src/subscribes/input-system/viewport.ts.html +0 -259
- package/coverage/src/subscribes/interaction-core/create-element.ts.html +0 -151
- package/coverage/src/subscribes/interaction-core/index.html +0 -236
- package/coverage/src/subscribes/interaction-core/index.ts.html +0 -289
- package/coverage/src/subscribes/interaction-core/primary-tool.ts.html +0 -109
- package/coverage/src/subscribes/interaction-core/reset-element-size.ts.html +0 -127
- package/coverage/src/subscribes/interaction-core/resize-element.ts.html +0 -181
- package/coverage/src/subscribes/interaction-core/select-elements.ts.html +0 -109
- package/coverage/src/subscribes/interaction-core/transaction.ts.html +0 -130
- package/coverage/src/subscribes/interaction-core/undoredo.ts.html +0 -133
- package/coverage/src/subscribes/interaction-core/viewport.ts.html +0 -193
- package/coverage/src/types/deps.ts.html +0 -118
- package/coverage/src/types/element-selection.ts.html +0 -100
- package/coverage/src/types/index.html +0 -266
- package/coverage/src/types/index.ts.html +0 -385
- package/coverage/src/types/input-system.ts.html +0 -100
- package/coverage/src/types/interaction-core.ts.html +0 -127
- package/coverage/src/types/props.ts.html +0 -109
- package/coverage/src/types/render.ts.html +0 -106
- package/coverage/src/types/requests/factory.ts.html +0 -127
- package/coverage/src/types/requests/index.html +0 -206
- package/coverage/src/types/requests/index.ts.html +0 -214
- package/coverage/src/types/requests/props.ts.html +0 -133
- package/coverage/src/types/requests/render.ts.html +0 -139
- package/coverage/src/types/requests/scene-tree.ts.html +0 -133
- package/coverage/src/types/requests/selection.ts.html +0 -127
- package/coverage/src/types/requests/system-context.ts.html +0 -142
- package/coverage/src/types/scene-tree.ts.html +0 -178
- package/coverage/src/types/system-context/index.html +0 -161
- package/coverage/src/types/system-context/index.ts.html +0 -112
- package/coverage/src/types/system-context/key-state.ts.html +0 -106
- package/coverage/src/types/system-context/mouse-state.ts.html +0 -106
- package/coverage/src/types/system-context/primary-tool.ts.html +0 -112
- package/coverage/src/types/transaction.ts.html +0 -103
- package/coverage/src/types/undo.ts.html +0 -103
- package/coverage/src/types/viewport.ts.html +0 -127
- package/dist/__tests__/core.test.d.ts +0 -2
- package/dist/__tests__/core.test.d.ts.map +0 -1
- package/dist/__tests__/core.test.js +0 -122
- package/dist/__tests__/core.test.js.map +0 -1
- package/dist/apis/interaction-core.d.ts +0 -3
- package/dist/apis/interaction-core.d.ts.map +0 -1
- package/dist/apis/interaction-core.js +0 -22
- package/dist/apis/interaction-core.js.map +0 -1
- package/dist/apis/system-context.d.ts +0 -3
- package/dist/apis/system-context.d.ts.map +0 -1
- package/dist/apis/system-context.js +0 -16
- package/dist/apis/system-context.js.map +0 -1
- package/dist/apis/transaction.d.ts +0 -3
- package/dist/apis/transaction.d.ts.map +0 -1
- package/dist/apis/transaction.js +0 -12
- package/dist/apis/transaction.js.map +0 -1
- package/dist/apis/undo.d.ts +0 -3
- package/dist/apis/undo.d.ts.map +0 -1
- package/dist/apis/undo.js +0 -12
- package/dist/apis/undo.js.map +0 -1
- package/dist/apis/viewport.d.ts +0 -4
- package/dist/apis/viewport.d.ts.map +0 -1
- package/dist/apis/viewport.js +0 -27
- package/dist/apis/viewport.js.map +0 -1
- package/dist/combinations.d.ts +0 -4
- package/dist/combinations.d.ts.map +0 -1
- package/dist/combinations.js +0 -42
- package/dist/combinations.js.map +0 -1
- package/dist/requests/factory copy.d.ts +0 -7
- package/dist/requests/factory copy.d.ts.map +0 -1
- package/dist/requests/factory copy.js +0 -10
- package/dist/requests/factory copy.js.map +0 -1
- package/dist/requests/factory.d.ts +0 -7
- package/dist/requests/factory.d.ts.map +0 -1
- package/dist/requests/factory.js +0 -10
- package/dist/requests/factory.js.map +0 -1
- package/dist/requests/index.d.ts +0 -3
- package/dist/requests/index.d.ts.map +0 -1
- package/dist/requests/index.js +0 -21
- package/dist/requests/index.js.map +0 -1
- package/dist/requests/primary-tool.d.ts +0 -7
- package/dist/requests/primary-tool.d.ts.map +0 -1
- package/dist/requests/primary-tool.js +0 -13
- package/dist/requests/primary-tool.js.map +0 -1
- package/dist/requests/props copy.d.ts +0 -7
- package/dist/requests/props copy.d.ts.map +0 -1
- package/dist/requests/props copy.js +0 -13
- package/dist/requests/props copy.js.map +0 -1
- package/dist/requests/props.d.ts +0 -7
- package/dist/requests/props.d.ts.map +0 -1
- package/dist/requests/props.js +0 -13
- package/dist/requests/props.js.map +0 -1
- package/dist/requests/render.d.ts +0 -3
- package/dist/requests/render.d.ts.map +0 -1
- package/dist/requests/render.js +0 -22
- package/dist/requests/render.js.map +0 -1
- package/dist/requests/scene-tree.d.ts +0 -7
- package/dist/requests/scene-tree.d.ts.map +0 -1
- package/dist/requests/scene-tree.js +0 -17
- package/dist/requests/scene-tree.js.map +0 -1
- package/dist/requests/selection.d.ts +0 -7
- package/dist/requests/selection.d.ts.map +0 -1
- package/dist/requests/selection.js +0 -10
- package/dist/requests/selection.js.map +0 -1
- package/dist/requests/system-context copy.d.ts +0 -7
- package/dist/requests/system-context copy.d.ts.map +0 -1
- package/dist/requests/system-context copy.js +0 -19
- package/dist/requests/system-context copy.js.map +0 -1
- package/dist/requests/system-context.d.ts +0 -7
- package/dist/requests/system-context.d.ts.map +0 -1
- package/dist/requests/system-context.js +0 -10
- package/dist/requests/system-context.js.map +0 -1
- package/dist/requests/types.d.ts +0 -7
- package/dist/requests/types.d.ts.map +0 -1
- package/dist/requests/types.js +0 -4
- package/dist/requests/types.js.map +0 -1
- package/dist/requests/viewport.d.ts +0 -19
- package/dist/requests/viewport.d.ts.map +0 -1
- package/dist/requests/viewport.js +0 -6
- package/dist/requests/viewport.js.map +0 -1
- package/dist/subscribes/index.d.ts +0 -3
- package/dist/subscribes/index.d.ts.map +0 -1
- package/dist/subscribes/index.js +0 -7
- package/dist/subscribes/index.js.map +0 -1
- package/dist/subscribes/input-system/index.d.ts +0 -3
- package/dist/subscribes/input-system/index.d.ts.map +0 -1
- package/dist/subscribes/input-system/index.js +0 -26
- package/dist/subscribes/input-system/index.js.map +0 -1
- package/dist/subscribes/input-system/primary-tool.d.ts +0 -10
- package/dist/subscribes/input-system/primary-tool.d.ts.map +0 -1
- package/dist/subscribes/input-system/primary-tool.js +0 -15
- package/dist/subscribes/input-system/primary-tool.js.map +0 -1
- package/dist/subscribes/input-system/render.d.ts +0 -16
- package/dist/subscribes/input-system/render.d.ts.map +0 -1
- package/dist/subscribes/input-system/render.js +0 -97
- package/dist/subscribes/input-system/render.js.map +0 -1
- package/dist/subscribes/input-system/undo.d.ts +0 -10
- package/dist/subscribes/input-system/undo.d.ts.map +0 -1
- package/dist/subscribes/input-system/undo.js +0 -18
- package/dist/subscribes/input-system/undo.js.map +0 -1
- package/dist/subscribes/input-system/viewport.d.ts +0 -11
- package/dist/subscribes/input-system/viewport.d.ts.map +0 -1
- package/dist/subscribes/input-system/viewport.js +0 -36
- package/dist/subscribes/input-system/viewport.js.map +0 -1
- package/dist/subscribes/interaction-core/create-and-resize.d.ts +0 -5
- package/dist/subscribes/interaction-core/create-and-resize.d.ts.map +0 -1
- package/dist/subscribes/interaction-core/create-and-resize.js +0 -86
- package/dist/subscribes/interaction-core/create-and-resize.js.map +0 -1
- package/dist/subscribes/interaction-core/create-element copy.d.ts +0 -3
- package/dist/subscribes/interaction-core/create-element copy.d.ts.map +0 -1
- package/dist/subscribes/interaction-core/create-element copy.js +0 -17
- package/dist/subscribes/interaction-core/create-element copy.js.map +0 -1
- package/dist/subscribes/interaction-core/create-element.d.ts +0 -3
- package/dist/subscribes/interaction-core/create-element.d.ts.map +0 -1
- package/dist/subscribes/interaction-core/create-element.js +0 -17
- package/dist/subscribes/interaction-core/create-element.js.map +0 -1
- package/dist/subscribes/interaction-core/index.d.ts +0 -3
- package/dist/subscribes/interaction-core/index.d.ts.map +0 -1
- package/dist/subscribes/interaction-core/index.js +0 -42
- package/dist/subscribes/interaction-core/index.js.map +0 -1
- package/dist/subscribes/interaction-core/input-to-decision.d.ts +0 -5
- package/dist/subscribes/interaction-core/input-to-decision.d.ts.map +0 -1
- package/dist/subscribes/interaction-core/input-to-decision.js +0 -48
- package/dist/subscribes/interaction-core/input-to-decision.js.map +0 -1
- package/dist/subscribes/interaction-core/primary-tool.d.ts +0 -3
- package/dist/subscribes/interaction-core/primary-tool.d.ts.map +0 -1
- package/dist/subscribes/interaction-core/primary-tool.js +0 -7
- package/dist/subscribes/interaction-core/primary-tool.js.map +0 -1
- package/dist/subscribes/interaction-core/reset-element-size.d.ts +0 -5
- package/dist/subscribes/interaction-core/reset-element-size.d.ts.map +0 -1
- package/dist/subscribes/interaction-core/reset-element-size.js +0 -9
- package/dist/subscribes/interaction-core/reset-element-size.js.map +0 -1
- package/dist/subscribes/interaction-core/resize-element.d.ts +0 -3
- package/dist/subscribes/interaction-core/resize-element.d.ts.map +0 -1
- package/dist/subscribes/interaction-core/resize-element.js +0 -24
- package/dist/subscribes/interaction-core/resize-element.js.map +0 -1
- package/dist/subscribes/interaction-core/select-elements.d.ts +0 -3
- package/dist/subscribes/interaction-core/select-elements.d.ts.map +0 -1
- package/dist/subscribes/interaction-core/select-elements.js +0 -7
- package/dist/subscribes/interaction-core/select-elements.js.map +0 -1
- package/dist/subscribes/interaction-core/transaction.d.ts +0 -3
- package/dist/subscribes/interaction-core/transaction.d.ts.map +0 -1
- package/dist/subscribes/interaction-core/transaction.js +0 -10
- package/dist/subscribes/interaction-core/transaction.js.map +0 -1
- package/dist/subscribes/interaction-core/undoredo.d.ts +0 -3
- package/dist/subscribes/interaction-core/undoredo.d.ts.map +0 -1
- package/dist/subscribes/interaction-core/undoredo.js +0 -15
- package/dist/subscribes/interaction-core/undoredo.js.map +0 -1
- package/dist/subscribes/interaction-core/viewport.d.ts +0 -3
- package/dist/subscribes/interaction-core/viewport.d.ts.map +0 -1
- package/dist/subscribes/interaction-core/viewport.js +0 -29
- package/dist/subscribes/interaction-core/viewport.js.map +0 -1
- package/dist/subscribes/render.d.ts +0 -6
- package/dist/subscribes/render.d.ts.map +0 -1
- package/dist/subscribes/render.js +0 -28
- package/dist/subscribes/render.js.map +0 -1
- package/dist/types/interaction-core.d.ts +0 -11
- package/dist/types/interaction-core.d.ts.map +0 -1
- package/dist/types/interaction-core.js +0 -2
- package/dist/types/interaction-core.js.map +0 -1
- package/dist/types/requests/factory copy.d.ts +0 -12
- package/dist/types/requests/factory copy.d.ts.map +0 -1
- package/dist/types/requests/factory copy.js +0 -2
- package/dist/types/requests/factory copy.js.map +0 -1
- package/dist/types/requests/factory.d.ts +0 -12
- package/dist/types/requests/factory.d.ts.map +0 -1
- package/dist/types/requests/factory.js +0 -2
- package/dist/types/requests/factory.js.map +0 -1
- package/dist/types/requests/index.d.ts +0 -17
- package/dist/types/requests/index.d.ts.map +0 -1
- package/dist/types/requests/index.js +0 -4
- package/dist/types/requests/index.js.map +0 -1
- package/dist/types/requests/primary-tool.d.ts +0 -13
- package/dist/types/requests/primary-tool.d.ts.map +0 -1
- package/dist/types/requests/primary-tool.js +0 -2
- package/dist/types/requests/primary-tool.js.map +0 -1
- package/dist/types/requests/props copy.d.ts +0 -14
- package/dist/types/requests/props copy.d.ts.map +0 -1
- package/dist/types/requests/props copy.js +0 -2
- package/dist/types/requests/props copy.js.map +0 -1
- package/dist/types/requests/props.d.ts +0 -14
- package/dist/types/requests/props.d.ts.map +0 -1
- package/dist/types/requests/props.js +0 -2
- package/dist/types/requests/props.js.map +0 -1
- package/dist/types/requests/render.d.ts +0 -15
- package/dist/types/requests/render.d.ts.map +0 -1
- package/dist/types/requests/render.js +0 -2
- package/dist/types/requests/render.js.map +0 -1
- package/dist/types/requests/scene-tree.d.ts +0 -14
- package/dist/types/requests/scene-tree.d.ts.map +0 -1
- package/dist/types/requests/scene-tree.js +0 -2
- package/dist/types/requests/scene-tree.js.map +0 -1
- package/dist/types/requests/selection.d.ts +0 -12
- package/dist/types/requests/selection.d.ts.map +0 -1
- package/dist/types/requests/selection.js +0 -2
- package/dist/types/requests/selection.js.map +0 -1
- package/dist/types/requests/system-context.d.ts +0 -17
- package/dist/types/requests/system-context.d.ts.map +0 -1
- package/dist/types/requests/system-context.js +0 -2
- package/dist/types/requests/system-context.js.map +0 -1
- package/dist/types/requests/system.d.ts +0 -13
- package/dist/types/requests/system.d.ts.map +0 -1
- package/dist/types/requests/system.js +0 -2
- package/dist/types/requests/system.js.map +0 -1
- package/dist/types/requests/viewport.d.ts +0 -20
- package/dist/types/requests/viewport.d.ts.map +0 -1
- package/dist/types/requests/viewport.js +0 -6
- package/dist/types/requests/viewport.js.map +0 -1
- package/dist/types/requests.d.ts +0 -8
- package/dist/types/requests.d.ts.map +0 -1
- package/dist/types/requests.js +0 -2
- package/dist/types/requests.js.map +0 -1
- package/dist/types/system-context/index.d.ts +0 -8
- package/dist/types/system-context/index.d.ts.map +0 -1
- package/dist/types/system-context/index.js +0 -4
- package/dist/types/system-context/index.js.map +0 -1
- package/dist/types/system-context/key-state.d.ts +0 -6
- package/dist/types/system-context/key-state.d.ts.map +0 -1
- package/dist/types/system-context/key-state.js +0 -2
- package/dist/types/system-context/key-state.js.map +0 -1
- package/dist/types/system-context/mouse-state.d.ts +0 -6
- package/dist/types/system-context/mouse-state.d.ts.map +0 -1
- package/dist/types/system-context/mouse-state.js +0 -2
- package/dist/types/system-context/mouse-state.js.map +0 -1
- package/dist/types/system-context/primary-tool.d.ts +0 -8
- package/dist/types/system-context/primary-tool.d.ts.map +0 -1
- package/dist/types/system-context/primary-tool.js +0 -2
- package/dist/types/system-context/primary-tool.js.map +0 -1
- package/dist/types/transaction.d.ts +0 -6
- package/dist/types/transaction.d.ts.map +0 -1
- package/dist/types/transaction.js +0 -2
- package/dist/types/transaction.js.map +0 -1
- package/dist/types/undo.d.ts +0 -6
- package/dist/types/undo.d.ts.map +0 -1
- package/dist/types/undo.js +0 -2
- package/dist/types/undo.js.map +0 -1
- package/dist/types/viewport.d.ts +0 -12
- package/dist/types/viewport.d.ts.map +0 -1
- package/dist/types/viewport.js +0 -2
- package/dist/types/viewport.js.map +0 -1
- package/src/__tests__/core.test.ts +0 -153
- package/src/apis/element-selection.ts +0 -16
- package/src/apis/index.ts +0 -30
- package/src/apis/input-system.ts +0 -12
- package/src/apis/interaction-core.ts +0 -35
- package/src/apis/props.ts +0 -13
- package/src/apis/render.ts +0 -15
- package/src/apis/scene-tree.ts +0 -69
- package/src/apis/system-context.ts +0 -23
- package/src/apis/transaction.ts +0 -13
- package/src/apis/undo.ts +0 -13
- package/src/apis/viewport.ts +0 -36
- package/src/combinations.ts +0 -46
- package/src/core.ts +0 -158
- package/src/index.ts +0 -4
- package/src/requests/factory.ts +0 -14
- package/src/requests/index.ts +0 -23
- package/src/requests/props.ts +0 -16
- package/src/requests/render.ts +0 -34
- package/src/requests/scene-tree.ts +0 -26
- package/src/requests/selection.ts +0 -14
- package/src/requests/system-context.ts +0 -15
- package/src/subscribes/index.ts +0 -8
- package/src/subscribes/input-system/index.ts +0 -47
- package/src/subscribes/input-system/primary-tool.ts +0 -25
- package/src/subscribes/input-system/render.ts +0 -133
- package/src/subscribes/input-system/undo.ts +0 -29
- package/src/subscribes/input-system/viewport.ts +0 -58
- package/src/subscribes/interaction-core/create-element.ts +0 -22
- package/src/subscribes/interaction-core/index.ts +0 -68
- package/src/subscribes/interaction-core/primary-tool.ts +0 -8
- package/src/subscribes/interaction-core/reset-element-size.ts +0 -12
- package/src/subscribes/interaction-core/resize-element.ts +0 -31
- package/src/subscribes/interaction-core/select-elements.ts +0 -8
- package/src/subscribes/interaction-core/transaction.ts +0 -15
- package/src/subscribes/interaction-core/undoredo.ts +0 -16
- package/src/subscribes/interaction-core/viewport.ts +0 -35
- package/src/types/deps.ts +0 -11
- package/src/types/element-selection.ts +0 -5
- package/src/types/index.ts +0 -100
- package/src/types/input-system.ts +0 -5
- package/src/types/interaction-core.ts +0 -14
- package/src/types/props.ts +0 -8
- package/src/types/render.ts +0 -7
- package/src/types/requests/factory.ts +0 -14
- package/src/types/requests/index.ts +0 -43
- package/src/types/requests/props.ts +0 -16
- package/src/types/requests/render.ts +0 -18
- package/src/types/requests/scene-tree.ts +0 -16
- package/src/types/requests/selection.ts +0 -14
- package/src/types/requests/system-context.ts +0 -19
- package/src/types/scene-tree.ts +0 -31
- package/src/types/system-context/index.ts +0 -9
- package/src/types/system-context/key-state.ts +0 -7
- package/src/types/system-context/mouse-state.ts +0 -7
- package/src/types/system-context/primary-tool.ts +0 -9
- package/src/types/transaction.ts +0 -6
- package/src/types/undo.ts +0 -6
- package/src/types/viewport.ts +0 -14
- package/test-setup.ts +0 -6
- package/tsconfig.json +0 -22
- package/vitest.config.ts +0 -8
package/dist/core.d.ts
CHANGED
|
@@ -1,66 +1,290 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Factory } from '@asyra/factory';
|
|
3
|
-
import { InputSystem } from '@asyra/input-system';
|
|
1
|
+
import type { SceneTreeRawData, CoreRawData, PropertySchema, PositionData } from '@asyra/utils';
|
|
2
|
+
import { Factory, type SharedPublication, type FactoryMutationDeliverySequence } from '@asyra/factory';
|
|
3
|
+
import { InputSystem, type InputEventCombo } from '@asyra/input-system';
|
|
4
4
|
import { SceneTree } from '@asyra/scene-tree';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { PropsManager, registerPropertySchema, registerPropertyComponent, type PropertyTypeDefinition } from '@asyra/props-manager';
|
|
6
|
+
import type { PropertyRegistrationScope } from '@asyra/props-manager';
|
|
7
|
+
import { type FeatureAPI, type FeatureDefinition, type FeatureKeyMap } from '@asyra/feature-system';
|
|
7
8
|
import { SelectionManager } from '@asyra/selection';
|
|
8
9
|
import { SystemContext } from '@asyra/system-context';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
10
|
+
import type { FeatureSystemAPIs } from './types/feature-system.js';
|
|
11
|
+
import { Render, IRenderer, RenderOptions, type RenderEngineProviderCleanup, type RenderStrategy } from '@asyra/render';
|
|
12
|
+
import type { RenderEngineProvider } from '@asyra/render-engine';
|
|
13
|
+
import { type DocumentLoadSource, type IPersistenceProvider, type SaveHook, type LoadHook } from '@asyra/persistence';
|
|
14
|
+
import { type EventDefinition } from '@asyra/reactive-events';
|
|
15
|
+
import { CoreAPIs, ElementSelectionActionAPIs, InputSystemAPIs, RenderAPIs, SceneTreeAPIs, UIContextAPIs, SystemManagedPropertyAPIs } from './types/index.js';
|
|
16
|
+
import type { LoadDiagnosticsHook } from './types/load-validation.js';
|
|
17
|
+
import type { ApplyRemoteCanonicalChangeSlicesInput, CoreCollaborationSession } from './types/app-runtime.js';
|
|
18
|
+
import type { DataChannelObserverRegistration } from './data-channel-observer.js';
|
|
19
|
+
import * as dataChannelObserver from './data-channel-observer.js';
|
|
20
|
+
import { definePropertyComponent as definePropertyComponentRuntime, type PropertyChildRelationMetadata, type PropertyComponentDefinition } from './define-property-component.js';
|
|
21
|
+
import type { PropertyChildRelationDefinition } from '@asyra/props-manager';
|
|
22
|
+
import { defineComponentPropertyRelationForSceneTree as defineComponentPropertyRelationRuntime, type ComponentDefinition, type ComponentPropertyRelationMetadata, type UnregisterComponentOptions, type UnregisterComponentResult } from './define-component.js';
|
|
23
|
+
import { type RegistrationDefinitionMetadata, type RegistrationNodeMetadata, type RegistrationRef, type RegistrationRelationMetadata, type RelationOperationSuccess, type UnregisterRegistrationSuccess } from '@asyra/utils';
|
|
16
24
|
interface CoreDeps {
|
|
17
25
|
inputSystem: InputSystem;
|
|
18
26
|
factory: Factory;
|
|
27
|
+
dataChannelObservers?: dataChannelObserver.DataChannelObserverRegistry;
|
|
19
28
|
props: PropsManager;
|
|
20
29
|
render: Render;
|
|
21
30
|
sceneTree: SceneTree;
|
|
22
31
|
selection: SelectionManager;
|
|
23
32
|
systemContext: SystemContext;
|
|
24
|
-
interactionCore: InteractionCore;
|
|
25
33
|
}
|
|
26
34
|
declare class Core implements CoreAPIs {
|
|
27
|
-
private readonly deps;
|
|
28
35
|
version: string;
|
|
29
|
-
|
|
30
|
-
|
|
36
|
+
private readonly defaultRenderer;
|
|
37
|
+
private renderer;
|
|
38
|
+
private renderEngineProviderToken;
|
|
39
|
+
private loadSource;
|
|
40
|
+
private saveHooks;
|
|
41
|
+
private loadHooks;
|
|
42
|
+
private loadDiagnosticsHooks;
|
|
43
|
+
private compositionOpen;
|
|
44
|
+
private propertyTypeRedefinitionInProgress;
|
|
45
|
+
private readonly redefinedPropertyTypes;
|
|
46
|
+
private readonly dataChannelObservers;
|
|
47
|
+
private readonly registrationGraph;
|
|
48
|
+
private collaborationSession;
|
|
49
|
+
private collaborationDestroyPromise;
|
|
31
50
|
setupInputSystem: InputSystemAPIs['setupInputSystem'];
|
|
32
51
|
initRender: RenderAPIs['initRender'];
|
|
33
52
|
renderIsReady: RenderAPIs['renderIsReady'];
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
53
|
+
registerRenderLayer: RenderAPIs['registerRenderLayer'];
|
|
54
|
+
unregisterRenderLayer: RenderAPIs['unregisterRenderLayer'];
|
|
55
|
+
createRenderGradientFillStyle: RenderAPIs['createRenderGradientFillStyle'];
|
|
56
|
+
createEvenOddFillStyle: RenderAPIs['createEvenOddFillStyle'];
|
|
57
|
+
createMeshProjection: RenderAPIs['createMeshProjection'];
|
|
58
|
+
registerRenderInteractionTargets: RenderAPIs['registerRenderInteractionTargets'];
|
|
59
|
+
updateRenderInteractionTarget: RenderAPIs['updateRenderInteractionTarget'];
|
|
60
|
+
unregisterRenderInteractionTarget: RenderAPIs['unregisterRenderInteractionTarget'];
|
|
61
|
+
clearRenderInteractionTargets: RenderAPIs['clearRenderInteractionTargets'];
|
|
62
|
+
registerRenderInteractionHandler: RenderAPIs['registerRenderInteractionHandler'];
|
|
63
|
+
unregisterRenderInteractionHandler: RenderAPIs['unregisterRenderInteractionHandler'];
|
|
64
|
+
propsLoadData: CoreAPIs['propsLoadData'];
|
|
65
|
+
propsSaveData: CoreAPIs['propsSaveData'];
|
|
66
|
+
preflightRestoreProperties: CoreAPIs['preflightRestoreProperties'];
|
|
67
|
+
applyRestoreProperties: CoreAPIs['applyRestoreProperties'];
|
|
68
|
+
updatePropertyComponents: CoreAPIs['updatePropertyComponents'];
|
|
69
|
+
updateElementProperties: CoreAPIs['updateElementProperties'];
|
|
70
|
+
patchElementProperties: CoreAPIs['patchElementProperties'];
|
|
71
|
+
applyCanonicalChanges: CoreAPIs['applyCanonicalChanges'];
|
|
41
72
|
sceneTreeInit: SceneTreeAPIs['sceneTreeInit'];
|
|
42
73
|
sceneTreeLoadData: SceneTreeAPIs['sceneTreeLoadData'];
|
|
43
74
|
sceneTreeSaveData: SceneTreeAPIs['sceneTreeSaveData'];
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
75
|
+
createElement: SceneTreeAPIs['createElement'];
|
|
76
|
+
createElementInParent: SceneTreeAPIs['createElementInParent'];
|
|
77
|
+
createElementsInParent: SceneTreeAPIs['createElementsInParent'];
|
|
78
|
+
createElementsInParentFromCanonicalData: SceneTreeAPIs['createElementsInParentFromCanonicalData'];
|
|
79
|
+
getElementComputedData: SceneTreeAPIs['getElementComputedData'];
|
|
80
|
+
moveElements: SceneTreeAPIs['moveElements'];
|
|
81
|
+
applyHierarchyMoves: SceneTreeAPIs['applyHierarchyMoves'];
|
|
82
|
+
applyElementDataChanges: SceneTreeAPIs['applyElementDataChanges'];
|
|
83
|
+
removeSubtree: SceneTreeAPIs['removeSubtree'];
|
|
84
|
+
removeSubtreeFromCanonicalData: SceneTreeAPIs['removeSubtreeFromCanonicalData'];
|
|
85
|
+
removeElementsFromCanonicalData: SceneTreeAPIs['removeElementsFromCanonicalData'];
|
|
86
|
+
preflightRestoreSubtree: SceneTreeAPIs['preflightRestoreSubtree'];
|
|
87
|
+
applyRestoreSubtree: SceneTreeAPIs['applyRestoreSubtree'];
|
|
88
|
+
updateLocalComputedData: SceneTreeAPIs['updateLocalComputedData'];
|
|
89
|
+
patchLocalComputedData: SceneTreeAPIs['patchLocalComputedData'];
|
|
90
|
+
projectLocalComputedDataFromPropertyIds: SceneTreeAPIs['projectLocalComputedDataFromPropertyIds'];
|
|
91
|
+
getAllElementsBounds: SceneTreeAPIs['getAllElementsBounds'];
|
|
92
|
+
isContainerType: SceneTreeAPIs['isContainerType'];
|
|
93
|
+
selectByChannel: ElementSelectionActionAPIs['selectByChannel'];
|
|
94
|
+
selectElements: ElementSelectionActionAPIs['selectElements'];
|
|
95
|
+
selectVectorPoints: ElementSelectionActionAPIs['selectVectorPoints'];
|
|
96
|
+
selectVectorSegments: ElementSelectionActionAPIs['selectVectorSegments'];
|
|
97
|
+
initFeatureSystem: FeatureSystemAPIs['initFeatureSystem'];
|
|
98
|
+
defineUIProperty: UIContextAPIs['defineUIProperty'];
|
|
99
|
+
registerUIProperty: UIContextAPIs['registerUIProperty'];
|
|
100
|
+
getUIProperty: UIContextAPIs['getUIProperty'];
|
|
101
|
+
setUIProperty: UIContextAPIs['setUIProperty'];
|
|
102
|
+
getUIPropertySubject: UIContextAPIs['getUIPropertySubject'];
|
|
103
|
+
onUIPropertyChange: UIContextAPIs['onUIPropertyChange'];
|
|
104
|
+
defineSystemProperty: SystemManagedPropertyAPIs['defineSystemProperty'];
|
|
105
|
+
registerSystemProperty: SystemManagedPropertyAPIs['registerSystemProperty'];
|
|
106
|
+
getSystemProperty: SystemManagedPropertyAPIs['getSystemProperty'];
|
|
107
|
+
setSystemProperty: SystemManagedPropertyAPIs['setSystemProperty'];
|
|
108
|
+
getSystemPropertyObservable: SystemManagedPropertyAPIs['getSystemPropertyObservable'];
|
|
109
|
+
hasSystemProperty: SystemManagedPropertyAPIs['hasSystemProperty'];
|
|
110
|
+
unregisterSystemProperty: SystemManagedPropertyAPIs['unregisterSystemProperty'];
|
|
111
|
+
/**
|
|
112
|
+
* @deprecated App code must use the public Core facade. This dependency
|
|
113
|
+
* container remains temporarily available only for compatibility while
|
|
114
|
+
* package integrations migrate.
|
|
115
|
+
*/
|
|
116
|
+
readonly deps: CoreDeps;
|
|
57
117
|
constructor(deps: CoreDeps);
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
118
|
+
/** Set an advanced full renderer replacement before startup. */
|
|
119
|
+
setRenderer(renderer: IRenderer): void;
|
|
120
|
+
destroyRenderer(): void;
|
|
121
|
+
registerCollaborationSession(session: CoreCollaborationSession): void;
|
|
122
|
+
destroy(): Promise<void>;
|
|
123
|
+
registerInputKeyCombinations(combinations: Record<string, InputEventCombo[]>): () => void;
|
|
124
|
+
getElementData(elementId: string): import("@asyra/utils").ElementRawData | undefined;
|
|
125
|
+
getCurrentWorkspaceId(): string;
|
|
126
|
+
getAllElementData(): readonly Readonly<{
|
|
127
|
+
elementId: string;
|
|
128
|
+
data: import("@asyra/utils").ElementRawData;
|
|
129
|
+
computed: {} | import("@asyra/utils").ComputedAttrs;
|
|
130
|
+
}>[];
|
|
131
|
+
getCanonicalElementCount(): number;
|
|
132
|
+
getCanonicalOwnerSnapshot(): {
|
|
133
|
+
props: import("@asyra/utils").PropsComponentRawData;
|
|
61
134
|
sceneTree: SceneTreeRawData;
|
|
62
|
-
|
|
135
|
+
};
|
|
136
|
+
projectLocalComputedDataForElements(elementIds: readonly string[]): void;
|
|
137
|
+
updateElementData(elementId: string, values: Readonly<{
|
|
138
|
+
name?: string;
|
|
139
|
+
visible?: boolean;
|
|
140
|
+
lock?: boolean;
|
|
141
|
+
}>, options?: Parameters<SceneTree['applyPreparedElementMutation']>[1]): boolean;
|
|
142
|
+
getSelectedElementIds(): string[];
|
|
143
|
+
getSystemContextSnapshot(): import("@asyra/utils").SystemContextSnapshot;
|
|
144
|
+
getCanvas(): HTMLCanvasElement | null;
|
|
145
|
+
setCanvasCursor(cursor: string): boolean;
|
|
146
|
+
getCanvasBounds(): DOMRect | null;
|
|
147
|
+
getViewportPosition(): PositionData;
|
|
148
|
+
getViewportScale(): number;
|
|
149
|
+
getMousePosInWorkspace(mousePos: {
|
|
150
|
+
clientX: number;
|
|
151
|
+
clientY: number;
|
|
152
|
+
}): Readonly<{
|
|
153
|
+
x: number;
|
|
154
|
+
y: number;
|
|
63
155
|
}>;
|
|
156
|
+
workspaceToCanvas(workspacePosition: PositionData): PositionData;
|
|
157
|
+
getElementIdAtClientPos(clientPos: {
|
|
158
|
+
x: number;
|
|
159
|
+
y: number;
|
|
160
|
+
}): string | null;
|
|
161
|
+
workspaceToElementLocal(elementId: string, workspacePosition: {
|
|
162
|
+
x: number;
|
|
163
|
+
y: number;
|
|
164
|
+
}): PositionData | null;
|
|
165
|
+
elementLocalToWorkspace(elementId: string, localPosition: {
|
|
166
|
+
x: number;
|
|
167
|
+
y: number;
|
|
168
|
+
}): PositionData | null;
|
|
169
|
+
elementSourceToWorkspace(elementId: string, sourcePosition: PositionData): PositionData | null;
|
|
170
|
+
workspaceToElementSource(elementId: string, workspacePosition: PositionData): PositionData | null;
|
|
171
|
+
getProjectedElementCount(): number;
|
|
172
|
+
hasProjectedElement(elementId: string): boolean;
|
|
173
|
+
subscribeToFrameComplete(subscriber: () => void): () => void;
|
|
174
|
+
getUndoHistoryDepth(): number;
|
|
175
|
+
subscribeToSharedPublication(subscriber: (publication: SharedPublication) => void): () => void;
|
|
176
|
+
subscribeToTransactionStatus(subscriber: Parameters<Factory['subscribeToTransactionStatus']>[0]): () => void;
|
|
177
|
+
observeSharedDataChannel(channel: Parameters<Factory['observeSharedDataChannel']>[0], subscriber: Parameters<Factory['observeSharedDataChannel']>[1]): () => void;
|
|
178
|
+
configureSharedDeliverySequence(sequence: FactoryMutationDeliverySequence): void;
|
|
179
|
+
applyRemoteCanonicalChangeSlices({ origin, slices }: ApplyRemoteCanonicalChangeSlicesInput): Promise<void>;
|
|
180
|
+
private createCollaborationBridge;
|
|
181
|
+
setRenderEngineProvider(provider: RenderEngineProvider): RenderEngineProviderCleanup;
|
|
182
|
+
hasRenderEngineProvider(): boolean;
|
|
183
|
+
isCompositionOpen(): boolean;
|
|
184
|
+
registerDataChannelObserver<TChange = unknown>(registration: DataChannelObserverRegistration<TChange>): void;
|
|
185
|
+
unregisterDataChannelObserver(name: string): boolean;
|
|
186
|
+
registerSharedDataChannel(name: Parameters<Factory['registerSharedDataChannel']>[0], channel: Parameters<Factory['registerSharedDataChannel']>[1]): void;
|
|
187
|
+
unregisterSharedDataChannel(name: Parameters<Factory['unregisterSharedDataChannel']>[0]): boolean;
|
|
188
|
+
hasSharedDataChannel(name: Parameters<Factory['hasSharedDataChannel']>[0]): boolean;
|
|
189
|
+
createLocalSharedDataChannel(): ReturnType<Factory['createLocalSharedDataChannel']>;
|
|
190
|
+
/** Set the read-only source used during Core startup. */
|
|
191
|
+
setLoadSource(source: DocumentLoadSource): void;
|
|
192
|
+
/**
|
|
193
|
+
* @deprecated Use setLoadSource. Core does not call provider save or clear.
|
|
194
|
+
* This compatibility adapter remains available through the 0.2.x migration
|
|
195
|
+
* window and is planned for removal in the next major release.
|
|
196
|
+
*/
|
|
197
|
+
setPersistence(provider: IPersistenceProvider): void;
|
|
198
|
+
/**
|
|
199
|
+
* Register a hook to transform data before saving
|
|
200
|
+
* @param hook - Function that receives and returns CoreData
|
|
201
|
+
*/
|
|
202
|
+
registerSaveHook(hook: SaveHook): void;
|
|
203
|
+
/**
|
|
204
|
+
* Register an app-owned hook in the synchronous load-migration chain.
|
|
205
|
+
* @param hook - Function that receives raw input and returns a versioned document
|
|
206
|
+
*/
|
|
207
|
+
registerLoadHook(hook: LoadHook): void;
|
|
208
|
+
/**
|
|
209
|
+
* Register a hook to receive non-blocking load diagnostics.
|
|
210
|
+
* Hooks are called after load validation/apply finishes.
|
|
211
|
+
*/
|
|
212
|
+
registerLoadDiagnosticsHook(hook: LoadDiagnosticsHook): () => void;
|
|
213
|
+
/**
|
|
214
|
+
* Start the framework with a custom renderer
|
|
215
|
+
* @param container - DOM element to attach canvas to
|
|
216
|
+
* @param renderOptions - Options for renderer initialization
|
|
217
|
+
*/
|
|
218
|
+
start(container: HTMLElement, renderOptions: RenderOptions): Promise<void>;
|
|
219
|
+
private loadFromSource;
|
|
220
|
+
registerEvent<TPayload = unknown, TOptions = unknown>(event: string | EventDefinition<TPayload, TOptions>): import("@asyra/reactive-events").EventRegistration<TPayload, TOptions>;
|
|
221
|
+
unregisterEvent(event: string | EventDefinition): boolean;
|
|
222
|
+
subscribeEvent<TPayload = unknown, TOptions = unknown>(event: string | EventDefinition<TPayload, TOptions>, handler: (payload?: TPayload, options?: TOptions) => void): () => void;
|
|
223
|
+
registerPropertySchema(schema: PropertySchema, options?: Parameters<typeof registerPropertySchema>[1], registration?: RegistrationDefinitionMetadata): void;
|
|
224
|
+
getPropertySchema(type: string): PropertySchema | undefined;
|
|
225
|
+
definePropertyComponent(definition: PropertyComponentDefinition): ReturnType<typeof definePropertyComponentRuntime>;
|
|
226
|
+
registerPropertyComponent(type: string, component: Parameters<typeof registerPropertyComponent>[1], options?: Parameters<typeof registerPropertyComponent>[2]): void;
|
|
227
|
+
getPropertyComponent(type: string): import("@asyra/props-manager").PropertyComponentConstructor | undefined;
|
|
228
|
+
getPropertyTypeDefinition<TFields extends object = Record<string, unknown>>(type: string): Readonly<PropertyTypeDefinition<TFields>> | undefined;
|
|
229
|
+
redefinePropertyType<TFields extends object = Record<string, unknown>>(type: string, update: (current: Readonly<PropertyTypeDefinition<TFields>>) => PropertyTypeDefinition<TFields>): Readonly<PropertyTypeDefinition<TFields>>;
|
|
230
|
+
unregisterPropertyRegistration(type: string, scope?: PropertyRegistrationScope): import("@asyra/props-manager").PropertyRegistrationUnregisterResult;
|
|
231
|
+
definePropertyChildRelation(parentPropertyType: string, relation: PropertyChildRelationDefinition): RelationOperationSuccess;
|
|
232
|
+
removePropertyChildRelation(parentPropertyType: string, key: string): RelationOperationSuccess;
|
|
233
|
+
getPropertyChildRelations(parentPropertyType: string): readonly PropertyChildRelationMetadata[];
|
|
234
|
+
unregisterPropertyType(type: string): UnregisterRegistrationSuccess;
|
|
235
|
+
defineComponent(definition: ComponentDefinition): void;
|
|
236
|
+
unregisterComponent(type: string, options: UnregisterComponentOptions & {
|
|
237
|
+
detailed: true;
|
|
238
|
+
}): UnregisterComponentResult;
|
|
239
|
+
unregisterComponent(type: string, options?: UnregisterComponentOptions): boolean;
|
|
240
|
+
defineComponentPropertyRelation(componentType: string, property: Parameters<typeof defineComponentPropertyRelationRuntime>[1]): RelationOperationSuccess;
|
|
241
|
+
removeComponentPropertyRelation(componentType: string, propertyName: string): RelationOperationSuccess;
|
|
242
|
+
getComponentPropertyRelations(componentType: string): readonly ComponentPropertyRelationMetadata[];
|
|
243
|
+
defineFeature<API extends Record<string, unknown> = Record<string, unknown>, State extends Record<string, unknown> = Record<string, unknown>>(name: string, keyConfig: FeatureKeyMap | undefined, definition: FeatureDefinition<API, State>): {
|
|
244
|
+
api: FeatureAPI<API>;
|
|
245
|
+
dispose: () => boolean;
|
|
246
|
+
};
|
|
247
|
+
getFeature(featureName: string): FeatureAPI;
|
|
248
|
+
unregisterFeature(featureName: string): boolean;
|
|
249
|
+
registerRenderStrategy(type: string, strategy: RenderStrategy, registration?: RegistrationDefinitionMetadata): void;
|
|
250
|
+
unregisterRenderStrategy(type: string): boolean;
|
|
251
|
+
unregisterUIProperty(key: string): boolean;
|
|
252
|
+
getRegistration(ref: RegistrationRef): RegistrationNodeMetadata | undefined;
|
|
253
|
+
getRegistrations(): readonly RegistrationNodeMetadata[];
|
|
254
|
+
getRegistrationRelations(): readonly RegistrationRelationMetadata[];
|
|
255
|
+
defineSelection(type: Parameters<SelectionManager['register']>[0], selection: Parameters<SelectionManager['register']>[1]): void;
|
|
256
|
+
registerSelection(type: Parameters<SelectionManager['register']>[0], selection: Parameters<SelectionManager['register']>[1]): void;
|
|
257
|
+
unregisterSelection(type: Parameters<SelectionManager['unregister']>[0]): boolean;
|
|
258
|
+
getSelection(type: Parameters<SelectionManager['get']>[0]): import("@asyra/selection").BaseSelection | undefined;
|
|
259
|
+
getPresetDependencies(): {
|
|
260
|
+
sceneTree: SceneTree;
|
|
261
|
+
systemContext: SystemContext;
|
|
262
|
+
render: Render;
|
|
263
|
+
};
|
|
264
|
+
private assertCompositionOpen;
|
|
265
|
+
private assertPropertyTypeRedefinitionTarget;
|
|
266
|
+
private validateRedefinedPropertyRelations;
|
|
267
|
+
private failStructuralPropertyRelation;
|
|
268
|
+
private registrationConflict;
|
|
269
|
+
private assertRelationCanBeDefined;
|
|
270
|
+
private assertRelationCanBeRemoved;
|
|
271
|
+
private preflightRegistrationDefinition;
|
|
272
|
+
private assertRelationEndpointNotPending;
|
|
273
|
+
private defineRegistrationRelations;
|
|
274
|
+
private ensurePropertyNode;
|
|
275
|
+
private ensureComponentNode;
|
|
276
|
+
private ensureFeatureNode;
|
|
277
|
+
private ensureRenderStrategyNode;
|
|
278
|
+
private ensureUIPropertyNode;
|
|
279
|
+
private assertPropertyTypeUnused;
|
|
280
|
+
private assertComponentTypeUnused;
|
|
281
|
+
load(data: unknown): void;
|
|
282
|
+
save(): Promise<CoreRawData>;
|
|
283
|
+
private normalizeLoadData;
|
|
284
|
+
private runLoadHooks;
|
|
285
|
+
private applyLoadedData;
|
|
286
|
+
private composeLoadedData;
|
|
287
|
+
private emitLoadDiagnostics;
|
|
64
288
|
}
|
|
65
289
|
export { Core };
|
|
66
290
|
declare const core: Core;
|
package/dist/core.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC3E,OAAgB,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAoB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAkB,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA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