@asyra/core 0.2.4 → 0.5.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/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/core.d.ts +196 -40
- package/dist/core.d.ts.map +1 -1
- package/dist/core.js +1055 -38
- 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 +43 -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/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 +18 -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 +39 -12
- package/.turbo/turbo-test$colon$ci.log +0 -132
- package/.turbo/turbo-test$colon$local.log +0 -30
- package/.turbo/turbo-test.log +0 -0
- package/CHANGELOG.md +0 -69
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature-integration.d.ts","sourceRoot":"","sources":["../src/feature-integration.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAEnB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,YAAY,GAAG,IAAI,CAI9D;AAED;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAE,CAAA;AAE7B;;GAEG;AACH,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { getSessionManager, getFeatureRegistry, setCorePackages } from '@asyra/feature-system';
|
|
2
|
+
/**
|
|
3
|
+
* Integrate feature-system with core
|
|
4
|
+
* Connects session manager to input-system events
|
|
5
|
+
*/
|
|
6
|
+
export function initFeatureSystem(coreDeps) {
|
|
7
|
+
// Set core packages for feature system to use
|
|
8
|
+
// This will trigger registration of all pending features
|
|
9
|
+
setCorePackages(coreDeps);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Get feature registry instance
|
|
13
|
+
*/
|
|
14
|
+
export { getFeatureRegistry };
|
|
15
|
+
/**
|
|
16
|
+
* Get session manager instance
|
|
17
|
+
*/
|
|
18
|
+
export { getSessionManager };
|
|
19
|
+
//# sourceMappingURL=feature-integration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature-integration.js","sourceRoot":"","sources":["../src/feature-integration.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EAChB,MAAM,uBAAuB,CAAA;AAG9B;;;GAGG;AACH,MAAM,UAAU,iBAAiB,CAAC,QAAsB;IACtD,8CAA8C;IAC9C,yDAAyD;IACzD,eAAe,CAAC,QAAQ,CAAC,CAAA;AAC3B,CAAC;AAED;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAE,CAAA;AAE7B;;GAEG;AACH,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,46 @@
|
|
|
1
|
-
import core, { Core } from './core';
|
|
1
|
+
import core, { Core } from './core.js';
|
|
2
|
+
import uiContext, { UIContext, propertyRegistry } from '@asyra/ui-context';
|
|
3
|
+
export { initFeatureSystem, getFeatureRegistry, getSessionManager } from './feature-integration.js';
|
|
4
|
+
export { defineComponent, defineComponentPropertyRelation, getComponentPropertyRelations, removeComponentPropertyRelation, unregisterComponent } from './define-component.js';
|
|
5
|
+
export type { ComponentPropertyRelationMetadata, ComponentDefinition, UnregisterComponentOptions, UnregisterComponentResult, UnregisterComponentSkippedEntry } from './define-component.js';
|
|
6
|
+
export { definePropertyChildRelation, definePropertyComponent, getPropertyChildRelations, removePropertyChildRelation, unregisterPropertyComponent } from './define-property-component.js';
|
|
7
|
+
export type { PropertyChildRelationMetadata, PropertyComponentDefinition } from './define-property-component.js';
|
|
8
|
+
export { defineFeature, FeatureUnregisterError, getFeature, unregisterFeature } from '@asyra/feature-system';
|
|
9
|
+
export { registerPropertySchema, getPropertySchema, registerPropertyComponent, getPropertyComponent, unregisterPropertySchema, unregisterPropertyRegistration, PROPERTY_REGISTRATION_ERROR_CODES, PropertyRegistrationError, PROPERTY_TYPE_DEFINITION_ERROR_CODES, PropertyTypeDefinitionError, elementPropertyRegistry, propertySchemaRegistry, propertyComponentRegistry, BasePropertyComponent, getPropertyComponentAccessor } from '@asyra/props-manager';
|
|
10
|
+
export type { PropertyComponentConstructor, PropertyComponentAccessor, PropertyChildRelationDefinition, PropertyRegistrationErrorCode, PropertyRegistrationInUseFailure, PropertyRegistrationScope, PropertyRegistrationUnregisterMissing, PropertyRegistrationUnregisterResult, PropertyRegistrationUnregisterSuccess, PropertyTypeDefinition, PropertyTypeDefinitionErrorCode, PropertyTypeDefinitionFailure, PropertyTypeFieldDefinition } from '@asyra/props-manager';
|
|
11
|
+
export { REGISTRATION_CONTRACT_ERROR_CODES, RegistrationGraph, RegistrationRelationError } from '@asyra/utils';
|
|
12
|
+
export type { RegistrationContractErrorCode, RegistrationDefinitionMetadata, RegistrationNodeMetadata, RegistrationOwnerMetadata, RegistrationRef, RegistrationRelationDeclaration, RegistrationRelationMetadata, RelationOperationSuccess, UnregisterRegistrationSuccess } from '@asyra/utils';
|
|
13
|
+
export { BaseSelection } from '@asyra/selection';
|
|
14
|
+
export type { SelectionDefinition } from '@asyra/selection';
|
|
15
|
+
export { componentRegistry } from '@asyra/scene-tree';
|
|
16
|
+
export type { FeatureDefinition, FeatureAPI, FeatureKeyMap, SessionHandler } from '@asyra/feature-system';
|
|
17
|
+
export { keyMap } from '@asyra/input-system';
|
|
18
|
+
export { renderStrategyRegistry, createOverlayLayerRegistration, sampleOverlayBezierPoints, createRenderInteractionPointTarget, createRenderInteractionCircleTarget, createRenderInteractionSegmentTarget, createRenderInteractionPolylineTarget, createRenderGradientFillStyle, createEvenOddFillStyle, isPointInsidePreparedEvenOddShape, prepareEvenOddShape, createMeshProjection, renderSceneTreeStore, renderSelectionStore, type OverlayCanvas, type OverlayStrokeStyle, type CreateOverlayLayerOptions, type CreateRenderGradientFillOptions, type RenderGradientColorStop, type RenderGradientPoint, type RenderFillStyle, type RenderInteractionTarget, type RenderInteractionTargetBounds, type RenderInteractionTargetSpace, type RenderInteractionHandlerRegistration, type RenderInteractionEventType, type RenderInteractionEvent, type EvenOddSegment, type EvenOddPath, type EvenOddShape, type PreparedEvenOddSegment, type PreparedEvenOddShape, type EvenOddFillOptions, type EvenOddFillResult, type GeometryPoint, type GeometryModel, type MeshProjectionPaint, type CreateMeshProjectionOptions, type MeshProjection } from '@asyra/render';
|
|
19
|
+
export type { EngineNeutralRenderStrategy, RenderStrategy, RenderStrategyGraphic } from '@asyra/render';
|
|
20
|
+
export { createLocalSharedDataChannel, registerSharedDataChannel, unregisterSharedDataChannel, hasSharedDataChannel } from '@asyra/factory';
|
|
21
|
+
export { EventTypes, defineEvent, registerEventDefinitions, startTransaction, updateTransaction, endTransaction, rollbackTransaction, runTransaction, subscribeToSynchronousEvent, subscribeToFileLoadComplete, subscribeToEndTransaction, subscribeToTransactionStatusChanged, subscribeToSelectElements, subscribeToSelectVectorPoints, subscribeToSelectVectorSegments } from '@asyra/reactive-events';
|
|
22
|
+
export type { EventDefinition, SelectElementsEvent, SelectVectorPointsEvent, SelectVectorSegmentsEvent } from '@asyra/reactive-events';
|
|
23
|
+
export type { EndTransactionOptions, RunTransactionOptions, TransactionFailure, TransactionFailureKind, TransactionOrigin, TransactionOutcome, TransactionStatus, TransactionStatusPayload } from '@asyra/utils';
|
|
24
|
+
export { defineDataChannelObserver, registerDataChannelObserver, unregisterDataChannelObserver } from './data-channel-observer.js';
|
|
25
|
+
export type { DataChannelObserverRegistration } from './data-channel-observer.js';
|
|
26
|
+
export { uiContext, UIContext, propertyRegistry };
|
|
27
|
+
export { VECTOR_TOKENS, VECTOR_HANDLE_MODES, VECTOR_ANCHOR_ID_PREFIX, VECTOR_ANCHOR_ID_TYPE, VECTOR_TOPOLOGY_NETWORK_ID_TYPE, VECTOR_TOPOLOGY_SEGMENT_ID_TYPE, VECTOR_TOPOLOGY_POINT_ID_TYPE, isVectorAnchorNode, isVectorControlNode, isVectorHandleMode, getVectorControlId, getVectorPointTargetPosition, sortVectorItemsById, getVectorNetworkAnchorHandleRefs } from './types/vector.js';
|
|
28
|
+
export type { VectorAnchorPoint, VectorAnchorPointNode, VectorAnchorHandleRefs, VectorAnchorType, VectorPathStyle, VectorHandleMode, VectorPointNode, VectorControlPointNode, VectorPointTarget, VectorEndpointSide, VectorControlRole, VectorSegment, VectorNetwork, VectorTopology, VectorSelectionRef, VectorEditingContinuation, SelectedVectorPointState, SelectedVectorSegmentState, HoveredVectorSegmentInsertPointState } from './types/vector.js';
|
|
29
|
+
export type { RenderLayerRegistration, RegisterRenderLayerOptions, RegisterRenderLayer } from './types/render.js';
|
|
30
|
+
export type { LoadDiagnosticsHook, LoadValidationDiagnostic, LoadValidationScope } from './types/load-validation.js';
|
|
31
|
+
export { LOAD_HOOK_EXECUTION_ERROR_CODES, LoadHookExecutionError } from './types/load-migration.js';
|
|
32
|
+
export type { LoadHookExecutionErrorCode } from './types/load-migration.js';
|
|
33
|
+
export type { ElementPropertyAPIs, ElementPropertyPatchUpdate, ElementPropertyRecordFields, ElementPropertyRecordPatch, ElementPropertyValuesUpdate } from './types/element-properties.js';
|
|
34
|
+
export type { CanonicalChange, CanonicalChangeAPIs } from './types/canonical-changes.js';
|
|
35
|
+
export type { PropertyComponentValuesUpdate } from './types/props.js';
|
|
36
|
+
type CoreBasicApiKeys = 'setRenderer' | 'destroyRenderer' | 'setRenderEngineProvider' | 'hasRenderEngineProvider' | 'isCompositionOpen' | 'setLoadSource' | 'setPersistence' | 'registerSaveHook' | 'registerLoadHook' | 'registerLoadDiagnosticsHook' | 'start' | 'load' | 'save' | 'getPresetDependencies';
|
|
37
|
+
type CoreExtensionApiKeys = 'setupInputSystem' | 'applyCanonicalChanges' | 'updateElementProperties' | 'patchElementProperties' | 'updatePropertyComponents' | 'initRender' | 'renderIsReady' | 'registerRenderLayer' | 'unregisterRenderLayer' | 'createRenderGradientFillStyle' | 'createEvenOddFillStyle' | 'createMeshProjection' | 'registerRenderInteractionTargets' | 'updateRenderInteractionTarget' | 'unregisterRenderInteractionTarget' | 'clearRenderInteractionTargets' | 'registerRenderInteractionHandler' | 'unregisterRenderInteractionHandler' | 'sceneTreeInit' | 'sceneTreeLoadData' | 'sceneTreeSaveData' | 'createElement' | 'createElementInParent' | 'createElementsInParent' | 'createElementsInParentFromCanonicalData' | 'removeElementsFromCanonicalData' | 'getElementComputedData' | 'moveElements' | 'applyHierarchyMoves' | 'applyElementDataChanges' | 'removeSubtree' | 'removeSubtreeFromCanonicalData' | 'updateLocalComputedData' | 'patchLocalComputedData' | 'projectLocalComputedDataFromPropertyIds' | 'getAllElementsBounds' | 'isContainerType' | 'selectByChannel' | 'selectElements' | 'selectVectorPoints' | 'selectVectorSegments' | 'initFeatureSystem' | 'defineUIProperty' | 'registerUIProperty' | 'getUIProperty' | 'setUIProperty' | 'getUIPropertySubject' | 'onUIPropertyChange' | 'defineSystemProperty' | 'registerSystemProperty' | 'getSystemProperty' | 'setSystemProperty' | 'getSystemPropertyObservable' | 'hasSystemProperty' | 'unregisterSystemProperty' | 'registerEvent' | 'unregisterEvent' | 'subscribeEvent' | 'registerPropertySchema' | 'getPropertySchema' | 'getPropertyTypeDefinition' | 'redefinePropertyType' | 'definePropertyComponent' | 'registerPropertyComponent' | 'getPropertyComponent' | 'unregisterPropertyRegistration' | 'definePropertyChildRelation' | 'removePropertyChildRelation' | 'getPropertyChildRelations' | 'unregisterPropertyType' | 'defineComponent' | 'unregisterComponent' | 'defineComponentPropertyRelation' | 'removeComponentPropertyRelation' | 'getComponentPropertyRelations' | 'defineFeature' | 'getFeature' | 'unregisterFeature' | 'registerRenderStrategy' | 'unregisterRenderStrategy' | 'unregisterUIProperty' | 'getRegistration' | 'getRegistrations' | 'getRegistrationRelations' | 'defineSelection' | 'registerSelection' | 'unregisterSelection' | 'getSelection' | 'registerDataChannelObserver' | 'unregisterDataChannelObserver' | 'registerSharedDataChannel' | 'unregisterSharedDataChannel' | 'hasSharedDataChannel' | 'createLocalSharedDataChannel';
|
|
38
|
+
type CorePresetInstallApiKeys = 'setRenderEngineProvider' | 'hasRenderEngineProvider' | 'isCompositionOpen' | 'registerEvent' | 'unregisterEvent' | 'registerRenderLayer' | 'unregisterRenderLayer' | 'createRenderGradientFillStyle' | 'registerDataChannelObserver' | 'unregisterDataChannelObserver' | 'registerSharedDataChannel' | 'unregisterSharedDataChannel' | 'hasSharedDataChannel' | 'createLocalSharedDataChannel' | 'registerPropertySchema' | 'getPropertyTypeDefinition' | 'redefinePropertyType' | 'definePropertyComponent' | 'unregisterPropertyRegistration' | 'definePropertyChildRelation' | 'removePropertyChildRelation' | 'getPropertyChildRelations' | 'unregisterPropertyType' | 'defineComponent' | 'unregisterComponent' | 'defineComponentPropertyRelation' | 'removeComponentPropertyRelation' | 'getComponentPropertyRelations' | 'defineFeature' | 'getFeature' | 'unregisterFeature' | 'registerRenderStrategy' | 'unregisterRenderStrategy' | 'unregisterUIProperty' | 'getRegistration' | 'getRegistrations' | 'getRegistrationRelations' | 'defineSelection' | 'unregisterSelection' | 'getSelection' | 'defineUIProperty' | 'defineSystemProperty' | 'hasSystemProperty' | 'unregisterSystemProperty' | 'getSystemPropertyObservable' | 'getPresetDependencies';
|
|
39
|
+
export type CoreBasicAPIs = Pick<Core, CoreBasicApiKeys>;
|
|
40
|
+
export type CoreExtensionAPIs = Pick<Core, CoreExtensionApiKeys>;
|
|
41
|
+
export type CoreConcreteAPIs = CoreBasicAPIs & CoreExtensionAPIs;
|
|
42
|
+
export type CorePresetInstallAPIs = Pick<CoreConcreteAPIs, CorePresetInstallApiKeys>;
|
|
43
|
+
export type CorePresetDependencies = ReturnType<CorePresetInstallAPIs['getPresetDependencies']>;
|
|
2
44
|
export { Core };
|
|
3
45
|
export default core;
|
|
4
46
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,SAAS,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,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BAA6B,GAC7B,6BAA6B,GAC7B,2BAA2B,GAC3B,wBAAwB,GACxB,iBAAiB,GACjB,qBAAqB,GACrB,iCAAiC,GACjC,iCAAiC,GACjC,+BAA+B,GAC/B,eAAe,GACf,YAAY,GACZ,mBAAmB,GACnB,wBAAwB,GACxB,0BAA0B,GAC1B,sBAAsB,GACtB,iBAAiB,GACjB,kBAAkB,GAClB,0BAA0B,GAC1B,iBAAiB,GACjB,qBAAqB,GACrB,cAAc,GACd,kBAAkB,GAClB,sBAAsB,GACtB,mBAAmB,GACnB,0BAA0B,GAC1B,6BAA6B,GAC7B,uBAAuB,CAAA;AAE3B,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAA;AACxD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAA;AAChE,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG,iBAAiB,CAAA;AAChE,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,gBAAgB,EAChB,wBAAwB,CACzB,CAAA;AACD,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAC7C,qBAAqB,CAAC,uBAAuB,CAAC,CAC/C,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA;AACf,eAAe,IAAI,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
|
-
import core, { Core } from './core';
|
|
1
|
+
import core, { Core } from './core.js';
|
|
2
|
+
import uiContext, { UIContext, propertyRegistry } from '@asyra/ui-context';
|
|
3
|
+
export { initFeatureSystem, getFeatureRegistry, getSessionManager } from './feature-integration.js';
|
|
4
|
+
export { defineComponent, defineComponentPropertyRelation, getComponentPropertyRelations, removeComponentPropertyRelation, unregisterComponent } from './define-component.js';
|
|
5
|
+
export { definePropertyChildRelation, definePropertyComponent, getPropertyChildRelations, removePropertyChildRelation, unregisterPropertyComponent } from './define-property-component.js';
|
|
6
|
+
export { defineFeature, FeatureUnregisterError, getFeature, unregisterFeature } from '@asyra/feature-system';
|
|
7
|
+
export { registerPropertySchema, getPropertySchema, registerPropertyComponent, getPropertyComponent, unregisterPropertySchema, unregisterPropertyRegistration, PROPERTY_REGISTRATION_ERROR_CODES, PropertyRegistrationError, PROPERTY_TYPE_DEFINITION_ERROR_CODES, PropertyTypeDefinitionError, elementPropertyRegistry, propertySchemaRegistry, propertyComponentRegistry, BasePropertyComponent, getPropertyComponentAccessor } from '@asyra/props-manager';
|
|
8
|
+
export { REGISTRATION_CONTRACT_ERROR_CODES, RegistrationGraph, RegistrationRelationError } from '@asyra/utils';
|
|
9
|
+
export { BaseSelection } from '@asyra/selection';
|
|
10
|
+
export { componentRegistry } from '@asyra/scene-tree';
|
|
11
|
+
export { keyMap } from '@asyra/input-system';
|
|
12
|
+
export { renderStrategyRegistry, createOverlayLayerRegistration, sampleOverlayBezierPoints, createRenderInteractionPointTarget, createRenderInteractionCircleTarget, createRenderInteractionSegmentTarget, createRenderInteractionPolylineTarget, createRenderGradientFillStyle, createEvenOddFillStyle, isPointInsidePreparedEvenOddShape, prepareEvenOddShape, createMeshProjection, renderSceneTreeStore, renderSelectionStore } from '@asyra/render';
|
|
13
|
+
export { createLocalSharedDataChannel, registerSharedDataChannel, unregisterSharedDataChannel, hasSharedDataChannel } from '@asyra/factory';
|
|
14
|
+
export { EventTypes, defineEvent, registerEventDefinitions, startTransaction, updateTransaction, endTransaction, rollbackTransaction, runTransaction, subscribeToSynchronousEvent, subscribeToFileLoadComplete, subscribeToEndTransaction, subscribeToTransactionStatusChanged, subscribeToSelectElements, subscribeToSelectVectorPoints, subscribeToSelectVectorSegments } from '@asyra/reactive-events';
|
|
15
|
+
export { defineDataChannelObserver, registerDataChannelObserver, unregisterDataChannelObserver } from './data-channel-observer.js';
|
|
16
|
+
export { uiContext, UIContext, propertyRegistry };
|
|
17
|
+
export { VECTOR_TOKENS, VECTOR_HANDLE_MODES, VECTOR_ANCHOR_ID_PREFIX, VECTOR_ANCHOR_ID_TYPE, VECTOR_TOPOLOGY_NETWORK_ID_TYPE, VECTOR_TOPOLOGY_SEGMENT_ID_TYPE, VECTOR_TOPOLOGY_POINT_ID_TYPE, isVectorAnchorNode, isVectorControlNode, isVectorHandleMode, getVectorControlId, getVectorPointTargetPosition, sortVectorItemsById, getVectorNetworkAnchorHandleRefs } from './types/vector.js';
|
|
18
|
+
export { LOAD_HOOK_EXECUTION_ERROR_CODES, LoadHookExecutionError } from './types/load-migration.js';
|
|
2
19
|
export { Core };
|
|
3
20
|
export default core;
|
|
4
21
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,SAAS,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAC1E,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EACL,eAAe,EACf,+BAA+B,EAC/B,6BAA6B,EAC7B,+BAA+B,EAC/B,mBAAmB,EACpB,MAAM,uBAAuB,CAAA;AAQ9B,OAAO,EACL,2BAA2B,EAC3B,uBAAuB,EACvB,yBAAyB,EACzB,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,gCAAgC,CAAA;AAKvC,OAAO,EACL,aAAa,EACb,sBAAsB,EACtB,UAAU,EACV,iBAAiB,EAClB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EACjB,yBAAyB,EACzB,oBAAoB,EACpB,wBAAwB,EACx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BAA+B,EAC/B,6BAA6B,EAC7B,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,4BAA4B,EAC5B,mBAAmB,EACnB,gCAAgC,EACjC,MAAM,mBAAmB,CAAA;AAgC1B,OAAO,EACL,+BAA+B,EAC/B,sBAAsB,EACvB,MAAM,2BAA2B,CAAA;AAyLlC,OAAO,EAAE,IAAI,EAAE,CAAA;AACf,eAAe,IAAI,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { CanonicalElementRemoval } from '@asyra/scene-tree';
|
|
2
|
+
import type { ElementRawData, HierarchyMove, PropertyComponentRawData, PropsRestoreSnapshot, SceneTreeRestoreSnapshot, SubtreeChange, UpdateElementDataChange } from '@asyra/utils';
|
|
3
|
+
import type { PropertyComponentValuesUpdate } from './props.js';
|
|
4
|
+
export type CanonicalChange = Readonly<{
|
|
5
|
+
kind: 'property-components';
|
|
6
|
+
records?: readonly Readonly<{
|
|
7
|
+
propertyId: string;
|
|
8
|
+
key: string;
|
|
9
|
+
set?: Readonly<Record<string, Readonly<Record<string, unknown>>>>;
|
|
10
|
+
remove?: readonly string[];
|
|
11
|
+
}>[];
|
|
12
|
+
updates: readonly PropertyComponentValuesUpdate[];
|
|
13
|
+
}> | Readonly<{
|
|
14
|
+
kind: 'element-data';
|
|
15
|
+
changes: readonly UpdateElementDataChange[];
|
|
16
|
+
}> | Readonly<{
|
|
17
|
+
kind: 'hierarchy-moves';
|
|
18
|
+
moves: readonly HierarchyMove[];
|
|
19
|
+
}> | Readonly<{
|
|
20
|
+
kind: 'subtree-removal';
|
|
21
|
+
change: SubtreeChange;
|
|
22
|
+
}> | Readonly<{
|
|
23
|
+
kind: 'subtree-restore';
|
|
24
|
+
sceneSnapshot: SceneTreeRestoreSnapshot;
|
|
25
|
+
propsSnapshot: PropsRestoreSnapshot;
|
|
26
|
+
}> | Readonly<{
|
|
27
|
+
kind: 'element-creation';
|
|
28
|
+
elements: readonly ElementRawData[];
|
|
29
|
+
properties: readonly PropertyComponentRawData[];
|
|
30
|
+
parentId: string;
|
|
31
|
+
index: number;
|
|
32
|
+
}> | Readonly<{
|
|
33
|
+
kind: 'element-removal';
|
|
34
|
+
removals: readonly CanonicalElementRemoval[];
|
|
35
|
+
}>;
|
|
36
|
+
export interface CanonicalChangeAPIs {
|
|
37
|
+
applyCanonicalChanges(changes: readonly CanonicalChange[]): void;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=canonical-changes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"canonical-changes.d.ts","sourceRoot":"","sources":["../../src/types/canonical-changes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAChE,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,wBAAwB,EACxB,oBAAoB,EACpB,wBAAwB,EACxB,aAAa,EACb,uBAAuB,EACxB,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAA;AAE/D,MAAM,MAAM,eAAe,GACvB,QAAQ,CAAC;IACP,IAAI,EAAE,qBAAqB,CAAA;IAC3B,OAAO,CAAC,EAAE,SAAS,QAAQ,CAAC;QAC1B,UAAU,EAAE,MAAM,CAAA;QAClB,GAAG,EAAE,MAAM,CAAA;QACX,GAAG,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;QACjE,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;KAC3B,CAAC,EAAE,CAAA;IACJ,OAAO,EAAE,SAAS,6BAA6B,EAAE,CAAA;CAClD,CAAC,GACF,QAAQ,CAAC;IACP,IAAI,EAAE,cAAc,CAAA;IACpB,OAAO,EAAE,SAAS,uBAAuB,EAAE,CAAA;CAC5C,CAAC,GACF,QAAQ,CAAC;IACP,IAAI,EAAE,iBAAiB,CAAA;IACvB,KAAK,EAAE,SAAS,aAAa,EAAE,CAAA;CAChC,CAAC,GACF,QAAQ,CAAC;IACP,IAAI,EAAE,iBAAiB,CAAA;IACvB,MAAM,EAAE,aAAa,CAAA;CACtB,CAAC,GACF,QAAQ,CAAC;IACP,IAAI,EAAE,iBAAiB,CAAA;IACvB,aAAa,EAAE,wBAAwB,CAAA;IACvC,aAAa,EAAE,oBAAoB,CAAA;CACpC,CAAC,GACF,QAAQ,CAAC;IACP,IAAI,EAAE,kBAAkB,CAAA;IACxB,QAAQ,EAAE,SAAS,cAAc,EAAE,CAAA;IACnC,UAAU,EAAE,SAAS,wBAAwB,EAAE,CAAA;IAC/C,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC,GACF,QAAQ,CAAC;IACP,IAAI,EAAE,iBAAiB,CAAA;IACvB,QAAQ,EAAE,SAAS,uBAAuB,EAAE,CAAA;CAC7C,CAAC,CAAA;AAEN,MAAM,WAAW,mBAAmB;IAClC,qBAAqB,CAAC,OAAO,EAAE,SAAS,eAAe,EAAE,GAAG,IAAI,CAAA;CACjE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"canonical-changes.js","sourceRoot":"","sources":["../../src/types/canonical-changes.ts"],"names":[],"mappings":""}
|
package/dist/types/deps.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type { Factory } from '@asyra/factory';
|
|
2
2
|
import type { InputSystem } from '@asyra/input-system';
|
|
3
|
-
import type { InteractionCore } from '@asyra/interaction-core';
|
|
4
3
|
import type { Render } from '@asyra/render';
|
|
5
4
|
export interface HandlerDeps {
|
|
6
5
|
inputSystem: InputSystem;
|
|
7
6
|
render: Render;
|
|
8
7
|
factory: Factory;
|
|
9
|
-
interactionCore: InteractionCore;
|
|
10
8
|
}
|
|
11
9
|
//# sourceMappingURL=deps.d.ts.map
|
package/dist/types/deps.d.ts.map
CHANGED
|
@@ -1 +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,
|
|
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,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,WAAW,CAAA;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;CACjB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { EVENT_OPTIONS } from '@asyra/utils';
|
|
2
|
+
export interface ElementPropertyValuesUpdate {
|
|
3
|
+
readonly elementId: string;
|
|
4
|
+
readonly values: Readonly<Record<string, unknown>>;
|
|
5
|
+
}
|
|
6
|
+
export type ElementPropertyRecordFields = Readonly<Record<string, unknown>> & {
|
|
7
|
+
readonly id?: never;
|
|
8
|
+
readonly type?: never;
|
|
9
|
+
};
|
|
10
|
+
export interface ElementPropertyRecordPatch {
|
|
11
|
+
readonly key: string;
|
|
12
|
+
readonly set?: Readonly<Record<string, ElementPropertyRecordFields>>;
|
|
13
|
+
readonly remove?: readonly string[];
|
|
14
|
+
}
|
|
15
|
+
export interface ElementPropertyPatchUpdate {
|
|
16
|
+
readonly elementId: string;
|
|
17
|
+
readonly values?: Readonly<Record<string, unknown>>;
|
|
18
|
+
readonly records: readonly ElementPropertyRecordPatch[];
|
|
19
|
+
}
|
|
20
|
+
export interface ElementPropertyAPIs {
|
|
21
|
+
updateElementProperties: (updates: readonly ElementPropertyValuesUpdate[], options?: EVENT_OPTIONS) => readonly string[];
|
|
22
|
+
patchElementProperties: (patches: readonly ElementPropertyPatchUpdate[], options?: EVENT_OPTIONS) => readonly string[];
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=element-properties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element-properties.d.ts","sourceRoot":"","sources":["../../src/types/element-properties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAEjD,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;CACnD;AAED,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG;IAC5E,QAAQ,CAAC,EAAE,CAAC,EAAE,KAAK,CAAA;IACnB,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CACtB,CAAA;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC,CAAC,CAAA;IACpE,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CACpC;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IACnD,QAAQ,CAAC,OAAO,EAAE,SAAS,0BAA0B,EAAE,CAAA;CACxD;AAED,MAAM,WAAW,mBAAmB;IAClC,uBAAuB,EAAE,CACvB,OAAO,EAAE,SAAS,2BAA2B,EAAE,EAC/C,OAAO,CAAC,EAAE,aAAa,KACpB,SAAS,MAAM,EAAE,CAAA;IACtB,sBAAsB,EAAE,CACtB,OAAO,EAAE,SAAS,0BAA0B,EAAE,EAC9C,OAAO,CAAC,EAAE,aAAa,KACpB,SAAS,MAAM,EAAE,CAAA;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element-properties.js","sourceRoot":"","sources":["../../src/types/element-properties.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import { EVENT_OPTIONS } from '@asyra/utils';
|
|
1
2
|
export interface ElementSelectionActionAPIs {
|
|
2
|
-
|
|
3
|
+
selectByChannel: (channel: string, ids: string[], options?: EVENT_OPTIONS) => void;
|
|
4
|
+
selectElements: (elementIds: string[], options?: EVENT_OPTIONS) => void;
|
|
5
|
+
selectVectorPoints: (pointIds: string[], options?: EVENT_OPTIONS) => void;
|
|
6
|
+
selectVectorSegments: (segmentIds: string[], options?: EVENT_OPTIONS) => void;
|
|
3
7
|
}
|
|
4
8
|
export type ElementSelectionAPIs = ElementSelectionActionAPIs;
|
|
5
9
|
//# sourceMappingURL=element-selection.d.ts.map
|
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"element-selection.d.ts","sourceRoot":"","sources":["../../src/types/element-selection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,MAAM,WAAW,0BAA0B;IACzC,eAAe,EAAE,CACf,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,EAAE,EACb,OAAO,CAAC,EAAE,aAAa,KACpB,IAAI,CAAA;IACT,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,aAAa,KAAK,IAAI,CAAA;IACvE,kBAAkB,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,aAAa,KAAK,IAAI,CAAA;IACzE,oBAAoB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,aAAa,KAAK,IAAI,CAAA;CAC9E;AAED,MAAM,MAAM,oBAAoB,GAAG,0BAA0B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature-system.d.ts","sourceRoot":"","sources":["../../src/types/feature-system.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,MAAM,WAAW,iBAAiB;IAChC,iBAAiB,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAA;CACpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature-system.js","sourceRoot":"","sources":["../../src/types/feature-system.ts"],"names":[],"mappings":""}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export type
|
|
1
|
+
import { InputSystemAPIs, InputSystemRawAPIs } from './input-system.js';
|
|
2
|
+
import { PropsAPIs } from './props.js';
|
|
3
|
+
import { RenderAPIs } from './render.js';
|
|
4
|
+
import { SceneTreeAPIs } from './scene-tree.js';
|
|
5
|
+
import { ElementSelectionActionAPIs } from './element-selection.js';
|
|
6
|
+
import { FeatureSystemAPIs } from './feature-system.js';
|
|
7
|
+
import { UIContextAPIs } from './ui-context.js';
|
|
8
|
+
import { SystemManagedPropertyAPIs } from './system-properties.js';
|
|
9
|
+
import { ElementPropertyAPIs } from './element-properties.js';
|
|
10
|
+
import type { CanonicalChangeAPIs } from './canonical-changes.js';
|
|
11
|
+
export { HandlerDeps } from './deps.js';
|
|
12
|
+
export type { LoadDiagnosticsHook, LoadValidationDiagnostic, LoadValidationScope } from './load-validation.js';
|
|
13
|
+
export { LOAD_HOOK_EXECUTION_ERROR_CODES, LoadHookExecutionError } from './load-migration.js';
|
|
14
|
+
export type { LoadHookExecutionErrorCode } from './load-migration.js';
|
|
15
|
+
export { InputSystemRawAPIs, InputSystemAPIs, PropsAPIs, RenderAPIs, SceneTreeAPIs, ElementSelectionActionAPIs, FeatureSystemAPIs, UIContextAPIs, SystemManagedPropertyAPIs, ElementPropertyAPIs };
|
|
16
|
+
export type { PropertyComponentValuesUpdate } from './props.js';
|
|
17
|
+
export type { CanonicalChange, CanonicalChangeAPIs } from './canonical-changes.js';
|
|
18
|
+
export type CoreAPIs = InputSystemAPIs & PropsAPIs & RenderAPIs & SceneTreeAPIs & ElementSelectionActionAPIs & FeatureSystemAPIs & UIContextAPIs & SystemManagedPropertyAPIs & ElementPropertyAPIs & CanonicalChangeAPIs;
|
|
15
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAA;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAA;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAEjE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,YAAY,EACV,mBAAmB,EACnB,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,+BAA+B,EAC/B,sBAAsB,EACvB,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAA;AAErE,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,SAAS,EACT,UAAU,EACV,aAAa,EACb,0BAA0B,EAC1B,iBAAiB,EACjB,aAAa,EACb,yBAAyB,EACzB,mBAAmB,EACpB,CAAA;AACD,YAAY,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAA;AAC/D,YAAY,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,wBAAwB,CAAA;AAE/B,MAAM,MAAM,QAAQ,GAAG,eAAe,GACpC,SAAS,GACT,UAAU,GACV,aAAa,GACb,0BAA0B,GAC1B,iBAAiB,GACjB,aAAa,GACb,yBAAyB,GACzB,mBAAmB,GACnB,mBAAmB,CAAA"}
|
package/dist/types/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export { LOAD_HOOK_EXECUTION_ERROR_CODES, LoadHookExecutionError } from './load-migration.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,+BAA+B,EAC/B,sBAAsB,EACvB,MAAM,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const LOAD_HOOK_EXECUTION_ERROR_CODES: {
|
|
2
|
+
readonly ASYNC_UNSUPPORTED: "ASYNC_UNSUPPORTED";
|
|
3
|
+
readonly INVALID_RESULT: "INVALID_RESULT";
|
|
4
|
+
};
|
|
5
|
+
export type LoadHookExecutionErrorCode = (typeof LOAD_HOOK_EXECUTION_ERROR_CODES)[keyof typeof LOAD_HOOK_EXECUTION_ERROR_CODES];
|
|
6
|
+
export declare class LoadHookExecutionError extends Error {
|
|
7
|
+
readonly code: LoadHookExecutionErrorCode;
|
|
8
|
+
readonly hookIndex: number;
|
|
9
|
+
readonly name = "LoadHookExecutionError";
|
|
10
|
+
constructor(code: LoadHookExecutionErrorCode, hookIndex: number);
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=load-migration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"load-migration.d.ts","sourceRoot":"","sources":["../../src/types/load-migration.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B;;;CAGlC,CAAA;AAEV,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,+BAA+B,CAAC,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAA;AAExF,qBAAa,sBAAuB,SAAQ,KAAK;IAI7C,QAAQ,CAAC,IAAI,EAAE,0BAA0B;IACzC,QAAQ,CAAC,SAAS,EAAE,MAAM;IAJ5B,QAAQ,CAAC,IAAI,4BAA2B;gBAG7B,IAAI,EAAE,0BAA0B,EAChC,SAAS,EAAE,MAAM;CAQ7B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export const LOAD_HOOK_EXECUTION_ERROR_CODES = {
|
|
2
|
+
ASYNC_UNSUPPORTED: 'ASYNC_UNSUPPORTED',
|
|
3
|
+
INVALID_RESULT: 'INVALID_RESULT'
|
|
4
|
+
};
|
|
5
|
+
export class LoadHookExecutionError extends Error {
|
|
6
|
+
constructor(code, hookIndex) {
|
|
7
|
+
const reason = code === LOAD_HOOK_EXECUTION_ERROR_CODES.ASYNC_UNSUPPORTED
|
|
8
|
+
? 'returned an unsupported asynchronous result'
|
|
9
|
+
: 'returned an invalid result without a string version';
|
|
10
|
+
super(`[Core] Load hook ${hookIndex} ${reason}`);
|
|
11
|
+
this.code = code;
|
|
12
|
+
this.hookIndex = hookIndex;
|
|
13
|
+
this.name = 'LoadHookExecutionError';
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=load-migration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"load-migration.js","sourceRoot":"","sources":["../../src/types/load-migration.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,iBAAiB,EAAE,mBAAmB;IACtC,cAAc,EAAE,gBAAgB;CACxB,CAAA;AAKV,MAAM,OAAO,sBAAuB,SAAQ,KAAK;IAG/C,YACW,IAAgC,EAChC,SAAiB;QAE1B,MAAM,MAAM,GACV,IAAI,KAAK,+BAA+B,CAAC,iBAAiB;YACxD,CAAC,CAAC,6CAA6C;YAC/C,CAAC,CAAC,qDAAqD,CAAA;QAC3D,KAAK,CAAC,oBAAoB,SAAS,IAAI,MAAM,EAAE,CAAC,CAAA;QAPvC,SAAI,GAAJ,IAAI,CAA4B;QAChC,cAAS,GAAT,SAAS,CAAQ;QAJnB,SAAI,GAAG,wBAAwB,CAAA;IAWxC,CAAC;CACF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CoreRawData, LoadDiagnostic } from '@asyra/utils';
|
|
2
|
+
export type LoadValidationScope = 'core' | 'props-manager' | 'scene-tree' | 'system-context';
|
|
3
|
+
export interface LoadValidationDiagnostic extends LoadDiagnostic {
|
|
4
|
+
scope: LoadValidationScope;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Observes detached validation diagnostics and detached post-apply load
|
|
8
|
+
* evidence. It includes applied managed-system serialization and validated
|
|
9
|
+
* package apply inputs. The data is not a canonical state artifact or state owner.
|
|
10
|
+
*/
|
|
11
|
+
export type LoadDiagnosticsHook = (diagnostics: LoadValidationDiagnostic[], data: CoreRawData) => void;
|
|
12
|
+
//# sourceMappingURL=load-validation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"load-validation.d.ts","sourceRoot":"","sources":["../../src/types/load-validation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE/D,MAAM,MAAM,mBAAmB,GAC3B,MAAM,GACN,eAAe,GACf,YAAY,GACZ,gBAAgB,CAAA;AAEpB,MAAM,WAAW,wBAAyB,SAAQ,cAAc;IAC9D,KAAK,EAAE,mBAAmB,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAChC,WAAW,EAAE,wBAAwB,EAAE,EACvC,IAAI,EAAE,WAAW,KACd,IAAI,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"load-validation.js","sourceRoot":"","sources":["../../src/types/load-validation.ts"],"names":[],"mappings":""}
|
package/dist/types/props.d.ts
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
import { PropsComponentRawData } from '@asyra/utils';
|
|
1
|
+
import { ElementPropertyRelation, PropsComponentRawData, PreparedPropsRestore, PropsRestoreSnapshot, type EVENT_OPTIONS } from '@asyra/utils';
|
|
2
|
+
export interface PropertyComponentValuesUpdate {
|
|
3
|
+
readonly propertyId: string;
|
|
4
|
+
readonly values: Readonly<Record<string, unknown>>;
|
|
5
|
+
}
|
|
2
6
|
export interface PropsRawAPIs {
|
|
3
7
|
propsLoadData: (data: PropsComponentRawData) => void;
|
|
4
8
|
propsSaveData: () => PropsComponentRawData;
|
|
9
|
+
preflightRestoreProperties: (snapshot: PropsRestoreSnapshot, ownerRelations: readonly ElementPropertyRelation[]) => PreparedPropsRestore;
|
|
10
|
+
applyRestoreProperties: (preparedRestore: PreparedPropsRestore, options?: EVENT_OPTIONS) => readonly string[];
|
|
11
|
+
updatePropertyComponents: (updates: readonly PropertyComponentValuesUpdate[], options?: EVENT_OPTIONS) => readonly string[];
|
|
5
12
|
}
|
|
6
13
|
export type PropsAPIs = PropsRawAPIs;
|
|
7
14
|
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/types/props.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/types/props.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,KAAK,aAAa,EACnB,MAAM,cAAc,CAAA;AAErB,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;CACnD;AAED,MAAM,WAAW,YAAY;IAC3B,aAAa,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAA;IACpD,aAAa,EAAE,MAAM,qBAAqB,CAAA;IAC1C,0BAA0B,EAAE,CAC1B,QAAQ,EAAE,oBAAoB,EAC9B,cAAc,EAAE,SAAS,uBAAuB,EAAE,KAC/C,oBAAoB,CAAA;IACzB,sBAAsB,EAAE,CACtB,eAAe,EAAE,oBAAoB,EACrC,OAAO,CAAC,EAAE,aAAa,KACpB,SAAS,MAAM,EAAE,CAAA;IACtB,wBAAwB,EAAE,CACxB,OAAO,EAAE,SAAS,6BAA6B,EAAE,EACjD,OAAO,CAAC,EAAE,aAAa,KACpB,SAAS,MAAM,EAAE,CAAA;CACvB;AAED,MAAM,MAAM,SAAS,GAAG,YAAY,CAAA"}
|
package/dist/types/render.d.ts
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
|
+
import type { CreateRenderGradientFillOptions, RenderFillStyle, EvenOddFillOptions, EvenOddFillResult, CreateMeshProjectionOptions, MeshProjection, RenderInteractionTarget, RenderInteractionHandlerRegistration, RenderInteractionEventType, RenderLayerRegistration } from '@asyra/render';
|
|
2
|
+
export type { RenderLayerRegistration } from '@asyra/render';
|
|
3
|
+
export interface RegisterRenderLayerOptions {
|
|
4
|
+
override?: boolean;
|
|
5
|
+
}
|
|
1
6
|
export interface RenderRawAPIs {
|
|
7
|
+
initRender: (width: number, height: number, color: number) => Promise<unknown>;
|
|
2
8
|
renderIsReady: () => void;
|
|
3
|
-
|
|
9
|
+
registerRenderLayer: (registration: RenderLayerRegistration, options?: RegisterRenderLayerOptions) => void;
|
|
10
|
+
unregisterRenderLayer: (name: string) => boolean;
|
|
11
|
+
createRenderGradientFillStyle: (options: CreateRenderGradientFillOptions) => RenderFillStyle;
|
|
12
|
+
createEvenOddFillStyle: (options: EvenOddFillOptions) => EvenOddFillResult | null;
|
|
13
|
+
createMeshProjection: (options: CreateMeshProjectionOptions) => MeshProjection;
|
|
14
|
+
registerRenderInteractionTargets: (targets: RenderInteractionTarget | RenderInteractionTarget[], options?: {
|
|
15
|
+
override?: boolean;
|
|
16
|
+
}) => void;
|
|
17
|
+
updateRenderInteractionTarget: (targetId: string, patch: Partial<RenderInteractionTarget> | ((current: RenderInteractionTarget) => Partial<RenderInteractionTarget>)) => void;
|
|
18
|
+
unregisterRenderInteractionTarget: (targetId: string) => boolean;
|
|
19
|
+
clearRenderInteractionTargets: () => void;
|
|
20
|
+
registerRenderInteractionHandler: (targetId: string | RegExp, registration: RenderInteractionHandlerRegistration) => void;
|
|
21
|
+
unregisterRenderInteractionHandler: (targetId: string, eventType?: RenderInteractionEventType) => void;
|
|
4
22
|
}
|
|
23
|
+
export type RegisterRenderLayer = RenderRawAPIs['registerRenderLayer'];
|
|
5
24
|
export type RenderAPIs = RenderRawAPIs;
|
|
6
25
|
//# sourceMappingURL=render.d.ts.map
|
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../src/types/render.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAC/B,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,2BAA2B,EAC3B,cAAc,EACd,uBAAuB,EACvB,oCAAoC,EACpC,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,eAAe,CAAA;AAEtB,YAAY,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAE5D,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;IAC9E,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,mBAAmB,EAAE,CACnB,YAAY,EAAE,uBAAuB,EACrC,OAAO,CAAC,EAAE,0BAA0B,KACjC,IAAI,CAAA;IACT,qBAAqB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAA;IAChD,6BAA6B,EAAE,CAC7B,OAAO,EAAE,+BAA+B,KACrC,eAAe,CAAA;IACpB,sBAAsB,EAAE,CACtB,OAAO,EAAE,kBAAkB,KACxB,iBAAiB,GAAG,IAAI,CAAA;IAC7B,oBAAoB,EAAE,CAAC,OAAO,EAAE,2BAA2B,KAAK,cAAc,CAAA;IAC9E,gCAAgC,EAAE,CAChC,OAAO,EAAE,uBAAuB,GAAG,uBAAuB,EAAE,EAC5D,OAAO,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,KAC7B,IAAI,CAAA;IACT,6BAA6B,EAAE,CAC7B,QAAQ,EAAE,MAAM,EAChB,KAAK,EACD,OAAO,CAAC,uBAAuB,CAAC,GAChC,CAAC,CAAC,OAAO,EAAE,uBAAuB,KAAK,OAAO,CAAC,uBAAuB,CAAC,CAAC,KACzE,IAAI,CAAA;IACT,iCAAiC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAA;IAChE,6BAA6B,EAAE,MAAM,IAAI,CAAA;IACzC,gCAAgC,EAAE,CAChC,QAAQ,EAAE,MAAM,GAAG,MAAM,EACzB,YAAY,EAAE,oCAAoC,KAC/C,IAAI,CAAA;IACT,kCAAkC,EAAE,CAClC,QAAQ,EAAE,MAAM,EAChB,SAAS,CAAC,EAAE,0BAA0B,KACnC,IAAI,CAAA;CACV;AAED,MAAM,MAAM,mBAAmB,GAAG,aAAa,CAAC,qBAAqB,CAAC,CAAA;AACtE,MAAM,MAAM,UAAU,GAAG,aAAa,CAAA"}
|
|
@@ -1,15 +1,27 @@
|
|
|
1
|
-
import { CreateElementData,
|
|
1
|
+
import { Bounds, CreateElementData, ElementRawData, GroupInstanceTypes, HierarchyMove, SceneTreeRawData, EVENT_OPTIONS, MoveHierarchyRequest, MoveHierarchyResult, RemoveSubtreeResult, PropertyComponentRawData, PreparedSceneTreeRestore, SceneTreeRestorePreflightOptions, SceneTreeRestoreSnapshot, SubtreeChange, UpdateElementDataChange } from '@asyra/utils';
|
|
2
|
+
import type { CanonicalElementRemoval, LocalComputedDataPatchUpdate, LocalComputedDataUpdate } from '@asyra/scene-tree';
|
|
2
3
|
export interface SceneTreeRawAPIs {
|
|
3
4
|
sceneTreeInit: () => void;
|
|
4
5
|
sceneTreeLoadData: (data: SceneTreeRawData) => void;
|
|
5
6
|
sceneTreeSaveData: () => SceneTreeRawData;
|
|
7
|
+
createElement: (data: CreateElementData, parent?: GroupInstanceTypes, index?: number, options?: EVENT_OPTIONS) => string;
|
|
8
|
+
createElementInParent: (data: CreateElementData, parentId: string, index?: number, options?: EVENT_OPTIONS) => string;
|
|
9
|
+
createElementsInParent: (data: readonly CreateElementData[], parentId: string, index?: number, options?: EVENT_OPTIONS) => readonly string[];
|
|
10
|
+
createElementsInParentFromCanonicalData: (elements: readonly ElementRawData[], properties: readonly PropertyComponentRawData[], parentId: string, index?: number, options?: EVENT_OPTIONS) => readonly string[];
|
|
11
|
+
getElementComputedData: (elementId: string) => Record<string, unknown> | undefined;
|
|
12
|
+
moveElements: (request: MoveHierarchyRequest, options?: EVENT_OPTIONS) => MoveHierarchyResult;
|
|
13
|
+
applyHierarchyMoves: (moves: readonly HierarchyMove[], options?: EVENT_OPTIONS) => boolean;
|
|
14
|
+
applyElementDataChanges: (changes: readonly UpdateElementDataChange[], options?: EVENT_OPTIONS) => readonly string[];
|
|
15
|
+
removeSubtree: (elementId: string, options?: EVENT_OPTIONS) => RemoveSubtreeResult;
|
|
16
|
+
removeSubtreeFromCanonicalData: (change: SubtreeChange, options?: EVENT_OPTIONS) => RemoveSubtreeResult;
|
|
17
|
+
removeElementsFromCanonicalData: (removals: readonly CanonicalElementRemoval[], options?: EVENT_OPTIONS) => readonly string[];
|
|
18
|
+
preflightRestoreSubtree: (snapshot: SceneTreeRestoreSnapshot, options?: SceneTreeRestorePreflightOptions) => PreparedSceneTreeRestore;
|
|
19
|
+
applyRestoreSubtree: (preparedRestore: PreparedSceneTreeRestore, options?: EVENT_OPTIONS) => RemoveSubtreeResult;
|
|
20
|
+
updateLocalComputedData: (updates: readonly LocalComputedDataUpdate[]) => void;
|
|
21
|
+
patchLocalComputedData: (updates: readonly LocalComputedDataPatchUpdate[]) => void;
|
|
22
|
+
projectLocalComputedDataFromPropertyIds: (propertyIds: readonly string[]) => void;
|
|
23
|
+
getAllElementsBounds: () => Bounds | null;
|
|
24
|
+
isContainerType: (type: string) => boolean;
|
|
6
25
|
}
|
|
7
|
-
export
|
|
8
|
-
changeComputedData: (key: string, data: DataTypes) => void;
|
|
9
|
-
resizeElement: (pos: PositionData, dimension: DimensionData, options?: EVENT_OPTIONS) => void;
|
|
10
|
-
}
|
|
11
|
-
export interface SceneTreeHandlerAPIs {
|
|
12
|
-
addRectangle: (data: CreateElementData) => void;
|
|
13
|
-
}
|
|
14
|
-
export type SceneTreeAPIs = SceneTreeRawAPIs & SceneTreeActionAPIs & SceneTreeHandlerAPIs;
|
|
26
|
+
export type SceneTreeAPIs = SceneTreeRawAPIs;
|
|
15
27
|
//# sourceMappingURL=scene-tree.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scene-tree.d.ts","sourceRoot":"","sources":["../../src/types/scene-tree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,
|
|
1
|
+
{"version":3,"file":"scene-tree.d.ts","sourceRoot":"","sources":["../../src/types/scene-tree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,wBAAwB,EACxB,wBAAwB,EACxB,gCAAgC,EAChC,wBAAwB,EACxB,aAAa,EACb,uBAAuB,EACxB,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,EACV,uBAAuB,EACvB,4BAA4B,EAC5B,uBAAuB,EACxB,MAAM,mBAAmB,CAAA;AAE1B,MAAM,WAAW,gBAAgB;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AAS,MAAM,EAAE,CAAA;IACtB,aAAa,EAAE,CACb,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,aAAa,KACpB,mBAAmB,CAAA;IACxB,8BAA8B,EAAE,CAC9B,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,aAAa,KACpB,mBAAmB,CAAA;IACxB,+BAA+B,EAAE,CAC/B,QAAQ,EAAE,SAAS,uBAAuB,EAAE,EAC5C,OAAO,CAAC,EAAE,aAAa,KACpB,SAAS,MAAM,EAAE,CAAA;IACtB,uBAAuB,EAAE,CACvB,QAAQ,EAAE,wBAAwB,EAClC,OAAO,CAAC,EAAE,gCAAgC,KACvC,wBAAwB,CAAA;IAC7B,mBAAmB,EAAE,CACnB,eAAe,EAAE,wBAAwB,EACzC,OAAO,CAAC,EAAE,aAAa,KACpB,mBAAmB,CAAA;IACxB,uBAAuB,EAAE,CAAC,OAAO,EAAE,SAAS,uBAAuB,EAAE,KAAK,IAAI,CAAA;IAC9E,sBAAsB,EAAE,CACtB,OAAO,EAAE,SAAS,4BAA4B,EAAE,KAC7C,IAAI,CAAA;IACT,uCAAuC,EAAE,CACvC,WAAW,EAAE,SAAS,MAAM,EAAE,KAC3B,IAAI,CAAA;IACT,oBAAoB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAA;IACzC,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAA;CAC3C;AAED,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { BehaviorSubject } from 'rxjs';
|
|
2
|
+
export interface SystemManagedPropertyAPIs {
|
|
3
|
+
defineSystemProperty: <T>(key: string, defaultValue: T, options?: {
|
|
4
|
+
runtime?: boolean;
|
|
5
|
+
silent?: boolean;
|
|
6
|
+
validate?: (value: unknown) => value is T;
|
|
7
|
+
}) => BehaviorSubject<T>;
|
|
8
|
+
registerSystemProperty: <T>(key: string, defaultValue: T, options?: {
|
|
9
|
+
runtime?: boolean;
|
|
10
|
+
silent?: boolean;
|
|
11
|
+
validate?: (value: unknown) => value is T;
|
|
12
|
+
}) => BehaviorSubject<T>;
|
|
13
|
+
getSystemProperty: <T>(key: string) => T | undefined;
|
|
14
|
+
setSystemProperty: <T>(key: string, value: T) => void;
|
|
15
|
+
getSystemPropertyObservable: <T>(key: string) => BehaviorSubject<T> | undefined;
|
|
16
|
+
hasSystemProperty: (key: string) => boolean;
|
|
17
|
+
unregisterSystemProperty: (key: string) => boolean;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=system-properties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-properties.d.ts","sourceRoot":"","sources":["../../src/types/system-properties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AAE3C,MAAM,WAAW,yBAAyB;IACxC,oBAAoB,EAAE,CAAC,CAAC,EACtB,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,CAAC,EACf,OAAO,CAAC,EAAE;QACR,OAAO,CAAC,EAAE,OAAO,CAAA;QACjB,MAAM,CAAC,EAAE,OAAO,CAAA;QAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,KAAK,IAAI,CAAC,CAAA;KAC1C,KACE,eAAe,CAAC,CAAC,CAAC,CAAA;IACvB,sBAAsB,EAAE,CAAC,CAAC,EACxB,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,CAAC,EACf,OAAO,CAAC,EAAE;QACR,OAAO,CAAC,EAAE,OAAO,CAAA;QACjB,MAAM,CAAC,EAAE,OAAO,CAAA;QAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,KAAK,IAAI,CAAC,CAAA;KAC1C,KACE,eAAe,CAAC,CAAC,CAAC,CAAA;IACvB,iBAAiB,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC,GAAG,SAAS,CAAA;IACpD,iBAAiB,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,KAAK,IAAI,CAAA;IACrD,2BAA2B,EAAE,CAAC,CAAC,EAC7B,GAAG,EAAE,MAAM,KACR,eAAe,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;IACnC,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAA;IAC3C,wBAAwB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAA;CACnD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-properties.js","sourceRoot":"","sources":["../../src/types/system-properties.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import type { PropertyRegistration, PropertyValue } from '@asyra/ui-context';
|
|
3
|
+
export interface UIContextAPIs {
|
|
4
|
+
defineUIProperty: <T extends PropertyValue>(key: string, config: PropertyRegistration<T>) => void;
|
|
5
|
+
registerUIProperty: <T extends PropertyValue>(key: string, config: PropertyRegistration<T>) => void;
|
|
6
|
+
getUIProperty: <T extends PropertyValue>(key: string) => T | undefined;
|
|
7
|
+
setUIProperty: <T extends PropertyValue>(key: string, value: T) => void;
|
|
8
|
+
getUIPropertySubject: <T extends PropertyValue>(key: string) => BehaviorSubject<T> | undefined;
|
|
9
|
+
onUIPropertyChange: <T extends PropertyValue>(key: string, callback: (value: T) => void) => () => void;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=ui-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-context.d.ts","sourceRoot":"","sources":["../../src/types/ui-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AAC3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAE5E,MAAM,WAAW,aAAa;IAC5B,gBAAgB,EAAE,CAAC,CAAC,SAAS,aAAa,EACxC,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAC5B,IAAI,CAAA;IACT,kBAAkB,EAAE,CAAC,CAAC,SAAS,aAAa,EAC1C,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAC5B,IAAI,CAAA;IACT,aAAa,EAAE,CAAC,CAAC,SAAS,aAAa,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC,GAAG,SAAS,CAAA;IACtE,aAAa,EAAE,CAAC,CAAC,SAAS,aAAa,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,KAAK,IAAI,CAAA;IACvE,oBAAoB,EAAE,CAAC,CAAC,SAAS,aAAa,EAC5C,GAAG,EAAE,MAAM,KACR,eAAe,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;IACnC,kBAAkB,EAAE,CAAC,CAAC,SAAS,aAAa,EAC1C,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,KACzB,MAAM,IAAI,CAAA;CAChB"}
|