@yuzhouu/canvas-standard 0.1.4 → 0.1.6
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/README.md +53 -5
- package/_vendor/plugin-arrow/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-arrow/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-arrow/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-arrow/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-arrow/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-arrow/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-arrow/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-arrow/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-arrow/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-arrow/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-arrow/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-arrow/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-arrow/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-arrow/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-arrow/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-arrow/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-arrow/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-arrow/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-arrow/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-arrow/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-arrow/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-arrow/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-arrow/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-arrow/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-arrow/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-arrow/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-arrow/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-arrow/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-arrow/arrowBindingUtil.d.ts +15 -12
- package/_vendor/plugin-arrow/types.d.ts +6 -4
- package/_vendor/plugin-draw/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-draw/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-draw/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-draw/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-draw/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-draw/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-draw/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-draw/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-draw/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-draw/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-draw/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-draw/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-draw/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-draw/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-draw/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-draw/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-draw/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-draw/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-draw/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-draw/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-draw/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-draw/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-draw/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-draw/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-draw/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-draw/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-draw/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-draw/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-eraser/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-eraser/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-eraser/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-eraser/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-eraser/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-eraser/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-eraser/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-eraser/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-eraser/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-eraser/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-eraser/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-eraser/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-eraser/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-eraser/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-eraser/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-eraser/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-eraser/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-eraser/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-eraser/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-eraser/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-eraser/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-eraser/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-eraser/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-eraser/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-eraser/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-eraser/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-eraser/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-eraser/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-flow/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-flow/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-flow/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-flow/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-flow/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-flow/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-flow/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-flow/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-flow/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-flow/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-flow/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-flow/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-flow/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-flow/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-flow/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-flow/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-flow/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-flow/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-flow/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-flow/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-flow/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-flow/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-flow/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-flow/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-flow/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-flow/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-flow/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-flow/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-flow/_vendor/plugin-text/api.d.ts +8 -1
- package/_vendor/plugin-flow/_vendor/plugin-text/geoLabelBindingUtil.d.ts +18 -12
- package/_vendor/plugin-flow/_vendor/plugin-text/host/textMeasurement.d.ts +11 -3
- package/_vendor/plugin-flow/_vendor/plugin-text/index.d.ts +1 -1
- package/_vendor/plugin-flow/_vendor/plugin-text/pathLabelBindingUtil.d.ts +19 -14
- package/_vendor/plugin-flow/_vendor/plugin-text/textStyle.d.ts +1 -0
- package/_vendor/plugin-flow/_vendor/plugin-text/textTypes.d.ts +1 -0
- package/_vendor/plugin-flow/api.d.ts +47 -5
- package/_vendor/plugin-flow/canvasRender.d.ts +4 -2
- package/_vendor/plugin-flow/editorRuntime.d.ts +14 -7
- package/_vendor/plugin-flow/flowEdgeBindingUtil.d.ts +30 -0
- package/_vendor/plugin-flow/flowEdgeInteraction.d.ts +11 -0
- package/_vendor/plugin-flow/flowEdgeModel.d.ts +29 -0
- package/_vendor/plugin-flow/flowEdgePrimitives.d.ts +74 -0
- package/_vendor/plugin-flow/flowEdgeRuntime.d.ts +36 -0
- package/_vendor/plugin-flow/flowEdgeShapeUtil.d.ts +29 -0
- package/_vendor/plugin-flow/flowNode.d.ts +4 -0
- package/_vendor/plugin-flow/flowNodeCreationRuntime.d.ts +12 -0
- package/_vendor/plugin-flow/flowNodeOperations.d.ts +13 -11
- package/_vendor/plugin-flow/index.d.ts +13 -8
- package/_vendor/plugin-flow/nodeCreation.d.ts +11 -6
- package/_vendor/plugin-flow/types.d.ts +47 -6
- package/_vendor/plugin-frame/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-frame/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-frame/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-frame/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-frame/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-frame/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-frame/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-frame/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-frame/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-frame/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-frame/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-frame/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-frame/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-frame/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-frame/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-frame/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-frame/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-frame/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-frame/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-frame/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-frame/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-frame/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-frame/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-frame/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-frame/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-frame/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-frame/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-frame/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-frame/canvasRender.d.ts +1 -2
- package/_vendor/plugin-frame/frameShapeUtil.d.ts +4 -5
- package/_vendor/plugin-geo/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-geo/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-geo/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-geo/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-geo/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-geo/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-geo/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-geo/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-geo/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-geo/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-geo/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-geo/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-geo/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-geo/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-geo/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-geo/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-geo/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-geo/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-geo/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-geo/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-geo/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-geo/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-geo/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-geo/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-geo/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-geo/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-geo/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-geo/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-group/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-group/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-group/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-group/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-group/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-group/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-group/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-group/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-group/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-group/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-group/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-group/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-group/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-group/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-group/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-group/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-group/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-group/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-group/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-group/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-group/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-group/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-group/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-group/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-group/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-group/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-group/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-group/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-html/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-html/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-html/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-html/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-html/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-html/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-html/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-html/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-html/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-html/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-html/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-html/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-html/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-html/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-html/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-html/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-html/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-html/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-html/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-html/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-html/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-html/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-html/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-html/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-html/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-html/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-html/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-html/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-image/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-image/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-image/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-image/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-image/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-image/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-image/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-image/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-image/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-image/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-image/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-image/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-image/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-image/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-image/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-image/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-image/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-image/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-image/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-image/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-image/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-image/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-image/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-image/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-image/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-image/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-image/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-image/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-laser/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-laser/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-laser/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-laser/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-laser/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-laser/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-laser/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-laser/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-laser/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-laser/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-laser/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-laser/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-laser/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-laser/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-laser/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-laser/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-laser/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-laser/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-laser/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-laser/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-laser/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-laser/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-laser/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-laser/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-laser/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-laser/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-laser/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-laser/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-path/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-path/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-path/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-path/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-path/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-path/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-path/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-path/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-path/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-path/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-path/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-path/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-path/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-path/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-path/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-path/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-path/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-path/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-path/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-path/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-path/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-path/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-path/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-path/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-path/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-path/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-path/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-path/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-runtime-clipboard/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-runtime-export/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-runtime-export/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-runtime-export/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-runtime-export/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-runtime-export/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-runtime-export/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-runtime-export/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-text/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-text/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-text/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-text/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-text/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-text/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-text/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-text/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-text/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-text/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-text/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-text/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-text/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-text/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-text/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-text/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-text/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-text/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-text/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-text/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-text/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-text/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-text/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-text/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-text/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-text/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-text/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-text/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-text/api.d.ts +8 -1
- package/_vendor/plugin-text/geoLabelBindingUtil.d.ts +18 -12
- package/_vendor/plugin-text/host/textMeasurement.d.ts +11 -3
- package/_vendor/plugin-text/index.d.ts +1 -1
- package/_vendor/plugin-text/pathLabelBindingUtil.d.ts +19 -14
- package/_vendor/plugin-text/textStyle.d.ts +1 -0
- package/_vendor/plugin-text/textTypes.d.ts +1 -0
- package/_vendor/plugin-video/_vendor/canvas-core/bindings/bindingManager.d.ts +1 -0
- package/_vendor/plugin-video/_vendor/canvas-core/bindings/bindingUtil.d.ts +17 -10
- package/_vendor/plugin-video/_vendor/canvas-core/editor/clipboard.d.ts +1 -1
- package/_vendor/plugin-video/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +3 -1
- package/_vendor/plugin-video/_vendor/canvas-core/editor/commands/commandTypes.d.ts +23 -7
- package/_vendor/plugin-video/_vendor/canvas-core/editor/createEditor.d.ts +1 -1
- package/_vendor/plugin-video/_vendor/canvas-core/editor/editor.d.ts +11 -6
- package/_vendor/plugin-video/_vendor/canvas-core/editor/events/interactions.d.ts +1 -0
- package/_vendor/plugin-video/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +8 -8
- package/_vendor/plugin-video/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +2 -2
- package/_vendor/plugin-video/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +1 -1
- package/_vendor/plugin-video/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +2 -2
- package/_vendor/plugin-video/_vendor/canvas-core/editor/state/editorReadModels.d.ts +3 -2
- package/_vendor/plugin-video/_vendor/canvas-core/editor/state/editorSignals.d.ts +1 -1
- package/_vendor/plugin-video/_vendor/canvas-core/exports/svg.d.ts +14 -1
- package/_vendor/plugin-video/_vendor/canvas-core/index.d.ts +7 -3
- package/_vendor/plugin-video/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +6 -1
- package/_vendor/plugin-video/_vendor/canvas-core/schema/records.d.ts +11 -5
- package/_vendor/plugin-video/_vendor/canvas-core/schema/snapshots.d.ts +2 -2
- package/_vendor/plugin-video/_vendor/canvas-core/shapes/shapeHeading.d.ts +20 -0
- package/_vendor/plugin-video/_vendor/canvas-core/shapes/shapeHitTestDecoration.d.ts +16 -0
- package/_vendor/plugin-video/_vendor/canvas-core/shapes/shapeUtil.d.ts +3 -0
- package/_vendor/plugin-video/_vendor/canvas-extension-contracts/operations.d.ts +18 -0
- package/_vendor/plugin-video/_vendor/canvas-extension-contracts/plugin.d.ts +3 -1
- package/_vendor/plugin-video/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +1 -1
- package/_vendor/plugin-video/_vendor/canvas-react/host/canvasRenderBindings.d.ts +2 -1
- package/_vendor/plugin-video/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +6 -0
- package/_vendor/plugin-video/_vendor/canvas-react/host/index.d.ts +1 -1
- package/_vendor/plugin-video/video/videoShapeUtil.d.ts +3 -3
- package/index.d.ts +0 -3
- package/index.mjs +67 -77
- package/package.json +3 -3
- package/_vendor/plugin-connector/_vendor/canvas-core/bindings/bindingManager.d.ts +0 -33
- package/_vendor/plugin-connector/_vendor/canvas-core/bindings/bindingUtil.d.ts +0 -69
- package/_vendor/plugin-connector/_vendor/canvas-core/bindings/bindingUtilRegistry.d.ts +0 -8
- package/_vendor/plugin-connector/_vendor/canvas-core/bindings/terminalBinding.d.ts +0 -28
- package/_vendor/plugin-connector/_vendor/canvas-core/bindings/terminalPorts.d.ts +0 -67
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/clipboard.d.ts +0 -43
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/clipboardAssets.d.ts +0 -6
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/commands/assetCommands.d.ts +0 -7
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/commands/bindingCommands.d.ts +0 -12
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/commands/commandTypes.d.ts +0 -149
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/commands/commands.d.ts +0 -5
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/commands/documentCommands.d.ts +0 -9
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/commands/sessionCommands.d.ts +0 -13
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/commands/shapeCommands.d.ts +0 -9
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/commands/shapeFlags.d.ts +0 -10
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/commands/shapeRemoval.d.ts +0 -10
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/commands/shapeRepair.d.ts +0 -11
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/createEditor.d.ts +0 -6
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/editor.d.ts +0 -356
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/events/canvasNavigationInteraction.d.ts +0 -2
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/events/eventRouter.d.ts +0 -16
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/events/events.d.ts +0 -81
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/events/inputsManager.d.ts +0 -49
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/events/interactions.d.ts +0 -84
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/events/keyboardShortcuts.d.ts +0 -23
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/events/pointerClickRecognizer.d.ts +0 -11
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/history/historyManager.d.ts +0 -40
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/history/operationManager.d.ts +0 -77
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/internal.d.ts +0 -7
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/queries/bindingQueryCache.d.ts +0 -28
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/queries/bindingQueryState.d.ts +0 -11
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/queries/draftBindingIndex.d.ts +0 -19
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/queries/shapeGeometryQueryCache.d.ts +0 -34
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/queries/shapeTransforms.d.ts +0 -44
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/queries/shapeTreeIndex.d.ts +0 -27
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/queries/shapeTreeIndexState.d.ts +0 -11
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/queries/spatialIndexManager.d.ts +0 -34
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/records/documentSnapshots.d.ts +0 -14
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/records/editorRecordFactory.d.ts +0 -19
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/records/recordQueries.d.ts +0 -3
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/selection/resizeGeometry.d.ts +0 -117
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/selection/selection.d.ts +0 -223
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/selection/selectionBindingSegments.d.ts +0 -7
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/selection/selectionGeometry.d.ts +0 -28
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/selection/selectionHandleHitTest.d.ts +0 -8
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/selection/selectionLayout.d.ts +0 -20
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/selection/selectionOverlay.d.ts +0 -25
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/selection/selectionOverlayEquality.d.ts +0 -8
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/selection/selectionOverlayManager.d.ts +0 -34
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/selection/selectionResizeCapabilities.d.ts +0 -11
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/selection/selectionSet.d.ts +0 -9
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/selection/selectionTargets.d.ts +0 -10
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/selection/selectionTransforms.d.ts +0 -6
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/shapes/shapeContainment.d.ts +0 -14
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/shapes/shapeEditingManager.d.ts +0 -33
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/shapes/shapeExportTraversal.d.ts +0 -3
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/shapes/shapeGeometry.d.ts +0 -22
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/shapes/shapeGrouping.d.ts +0 -22
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/shapes/shapeOrder.d.ts +0 -32
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/shapes/shapeReparenting.d.ts +0 -21
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/shapes/shapeSignalManager.d.ts +0 -33
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/shapes/shapeTransformSpace.d.ts +0 -6
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/shapes/shapeTreeQueries.d.ts +0 -12
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/snapping/gapSnap.d.ts +0 -6
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/snapping/pointSnap.d.ts +0 -5
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/snapping/resizeSnap.d.ts +0 -11
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/snapping/snapDecision.d.ts +0 -2
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/snapping/snapGeometry.d.ts +0 -26
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/snapping/snapIndicators.d.ts +0 -22
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/snapping/snapManager.d.ts +0 -54
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/snapping/snapResults.d.ts +0 -58
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/snapping/snapSnapshotBuilder.d.ts +0 -22
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/snapping/snapTypes.d.ts +0 -114
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/state/editorReadModels.d.ts +0 -34
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/state/editorSignals.d.ts +0 -82
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/state/editorStateUtils.d.ts +0 -9
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/state/interactionTransientManager.d.ts +0 -35
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/viewport/camera.d.ts +0 -3
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/viewport/cameraManager.d.ts +0 -56
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/viewport/cameraPanSession.d.ts +0 -9
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/viewport/edgeScroll.d.ts +0 -5
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/viewport/renderWindow.d.ts +0 -30
- package/_vendor/plugin-connector/_vendor/canvas-core/editor/viewport/renderWindowManager.d.ts +0 -33
- package/_vendor/plugin-connector/_vendor/canvas-core/exports/integrity.d.ts +0 -32
- package/_vendor/plugin-connector/_vendor/canvas-core/exports/svg.d.ts +0 -52
- package/_vendor/plugin-connector/_vendor/canvas-core/geometry/box.d.ts +0 -20
- package/_vendor/plugin-connector/_vendor/canvas-core/geometry/contentCutout.d.ts +0 -8
- package/_vendor/plugin-connector/_vendor/canvas-core/geometry/ellipse2d.d.ts +0 -16
- package/_vendor/plugin-connector/_vendor/canvas-core/geometry/geometry2d.d.ts +0 -15
- package/_vendor/plugin-connector/_vendor/canvas-core/geometry/index.d.ts +0 -9
- package/_vendor/plugin-connector/_vendor/canvas-core/geometry/mat.d.ts +0 -31
- package/_vendor/plugin-connector/_vendor/canvas-core/geometry/polygon.d.ts +0 -7
- package/_vendor/plugin-connector/_vendor/canvas-core/geometry/polyline2d.d.ts +0 -14
- package/_vendor/plugin-connector/_vendor/canvas-core/geometry/rectangle2d.d.ts +0 -16
- package/_vendor/plugin-connector/_vendor/canvas-core/geometry/segments.d.ts +0 -5
- package/_vendor/plugin-connector/_vendor/canvas-core/geometry/vec.d.ts +0 -35
- package/_vendor/plugin-connector/_vendor/canvas-core/index.d.ts +0 -64
- package/_vendor/plugin-connector/_vendor/canvas-core/plugins/editorRuntimePlugin.d.ts +0 -19
- package/_vendor/plugin-connector/_vendor/canvas-core/plugins/editorRuntimeRegistry.d.ts +0 -15
- package/_vendor/plugin-connector/_vendor/canvas-core/plugins/index.d.ts +0 -2
- package/_vendor/plugin-connector/_vendor/canvas-core/reactivity.d.ts +0 -8
- package/_vendor/plugin-connector/_vendor/canvas-core/schema/records.d.ts +0 -115
- package/_vendor/plugin-connector/_vendor/canvas-core/schema/snapshots.d.ts +0 -22
- package/_vendor/plugin-connector/_vendor/canvas-core/shapes/childTransformPolicy.d.ts +0 -16
- package/_vendor/plugin-connector/_vendor/canvas-core/shapes/colors.d.ts +0 -26
- package/_vendor/plugin-connector/_vendor/canvas-core/shapes/shapeUtil.d.ts +0 -246
- package/_vendor/plugin-connector/_vendor/canvas-core/shapes/shapeUtilGeometry.d.ts +0 -6
- package/_vendor/plugin-connector/_vendor/canvas-core/shapes/shapeUtilRegistry.d.ts +0 -9
- package/_vendor/plugin-connector/_vendor/canvas-core/shapes/types.d.ts +0 -2
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/hand/handTool.d.ts +0 -5
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/selectContainment.d.ts +0 -12
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/selectTool.d.ts +0 -5
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/selectToolHelpers.d.ts +0 -170
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/states/brushingState.d.ts +0 -19
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/states/draggingPluginInteractionState.d.ts +0 -15
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/states/idleState.d.ts +0 -8
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/states/index.d.ts +0 -11
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/states/pointingCanvasState.d.ts +0 -11
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/states/pointingResizeHandleState.d.ts +0 -10
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/states/pointingRotateHandleState.d.ts +0 -10
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/states/pointingSelectionHandleInteractionState.d.ts +0 -11
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/states/pointingShapeState.d.ts +0 -12
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/states/resizingState.d.ts +0 -16
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/states/rotatingState.d.ts +0 -14
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/states/selectStateNode.d.ts +0 -60
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/select/states/translatingState.d.ts +0 -16
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/stateNode.d.ts +0 -30
- package/_vendor/plugin-connector/_vendor/canvas-core/tools/toolManager.d.ts +0 -24
- package/_vendor/plugin-connector/_vendor/canvas-core/utils/equality.d.ts +0 -9
- package/_vendor/plugin-connector/_vendor/canvas-extension-contracts/contributions.d.ts +0 -92
- package/_vendor/plugin-connector/_vendor/canvas-extension-contracts/index.d.ts +0 -6
- package/_vendor/plugin-connector/_vendor/canvas-extension-contracts/operations.d.ts +0 -131
- package/_vendor/plugin-connector/_vendor/canvas-extension-contracts/persistence.d.ts +0 -16
- package/_vendor/plugin-connector/_vendor/canvas-extension-contracts/plugin.d.ts +0 -37
- package/_vendor/plugin-connector/_vendor/canvas-extension-contracts/shape.d.ts +0 -5
- package/_vendor/plugin-connector/_vendor/canvas-extension-contracts/tokens.d.ts +0 -12
- package/_vendor/plugin-connector/_vendor/canvas-react/components/CanvasView.d.ts +0 -7
- package/_vendor/plugin-connector/_vendor/canvas-react/components/DefaultGrid.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/canvas-react/components/OverlayLayer.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/canvas-react/components/PageSpace.d.ts +0 -6
- package/_vendor/plugin-connector/_vendor/canvas-react/components/ShapeLayer.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/canvas-react/components/canvasKeyboardEvents.d.ts +0 -13
- package/_vendor/plugin-connector/_vendor/canvas-react/components/index.d.ts +0 -3
- package/_vendor/plugin-connector/_vendor/canvas-react/components/overlays/BindingGuide.d.ts +0 -24
- package/_vendor/plugin-connector/_vendor/canvas-react/components/overlays/BindingPreviewOverlay.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/canvas-react/components/overlays/BrushBoxOverlay.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/canvas-react/components/overlays/OverlaySvgRoot.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/canvas-react/components/overlays/SelectionFrameOverlay.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/canvas-react/components/overlays/SelectionHandlesOverlay.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/canvas-react/components/overlays/SelectionOverlaySvg.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/canvas-react/components/overlays/SelectionPathOverlay.d.ts +0 -8
- package/_vendor/plugin-connector/_vendor/canvas-react/components/overlays/ShapeOutlineOverlay.d.ts +0 -8
- package/_vendor/plugin-connector/_vendor/canvas-react/components/overlays/SnapIndicatorsOverlay.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/canvas-react/components/overlays/TerminalBindingGuidesOverlay.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/canvas-react/components/shape-layer/ShapeClipStack.d.ts +0 -11
- package/_vendor/plugin-connector/_vendor/canvas-react/components/shape-layer/ShapeDecorations.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/canvas-react/components/shape-layer/ShapeForegroundItem.d.ts +0 -5
- package/_vendor/plugin-connector/_vendor/canvas-react/components/shape-layer/ShapeItem.d.ts +0 -5
- package/_vendor/plugin-connector/_vendor/canvas-react/components/shape-layer/ShapeRenderList.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/canvas-react/components/shape-layer/ShapeRenderer.d.ts +0 -12
- package/_vendor/plugin-connector/_vendor/canvas-react/components/shape-layer/shapeFrame.d.ts +0 -11
- package/_vendor/plugin-connector/_vendor/canvas-react/components/useCanvasDomEvents.d.ts +0 -23
- package/_vendor/plugin-connector/_vendor/canvas-react/contextMenuRequest.d.ts +0 -19
- package/_vendor/plugin-connector/_vendor/canvas-react/dom.d.ts +0 -10
- package/_vendor/plugin-connector/_vendor/canvas-react/hooks/useEditor.d.ts +0 -3
- package/_vendor/plugin-connector/_vendor/canvas-react/hooks/useValue.d.ts +0 -2
- package/_vendor/plugin-connector/_vendor/canvas-react/host/ShapeHeadingControl.d.ts +0 -35
- package/_vendor/plugin-connector/_vendor/canvas-react/host/canvasRenderBindings.d.ts +0 -21
- package/_vendor/plugin-connector/_vendor/canvas-react/host/canvasRenderBindingsContext.d.ts +0 -5
- package/_vendor/plugin-connector/_vendor/canvas-react/host/canvasRenderPlugin.d.ts +0 -81
- package/_vendor/plugin-connector/_vendor/canvas-react/host/index.d.ts +0 -7
- package/_vendor/plugin-connector/_vendor/canvas-react/index.d.ts +0 -5
- package/_vendor/plugin-connector/_vendor/plugin-geo/api.d.ts +0 -43
- package/_vendor/plugin-connector/_vendor/plugin-geo/canvasRender.d.ts +0 -2
- package/_vendor/plugin-connector/_vendor/plugin-geo/editorRuntime.d.ts +0 -7
- package/_vendor/plugin-connector/_vendor/plugin-geo/feature.d.ts +0 -1
- package/_vendor/plugin-connector/_vendor/plugin-geo/geoCreationRuntime.d.ts +0 -20
- package/_vendor/plugin-connector/_vendor/plugin-geo/geoGeometry.d.ts +0 -64
- package/_vendor/plugin-connector/_vendor/plugin-geo/geoShapeUtil.d.ts +0 -16
- package/_vendor/plugin-connector/_vendor/plugin-geo/geoStrokeStyle.d.ts +0 -2
- package/_vendor/plugin-connector/_vendor/plugin-geo/geoTools.d.ts +0 -51
- package/_vendor/plugin-connector/_vendor/plugin-geo/index.d.ts +0 -9
- package/_vendor/plugin-connector/_vendor/plugin-geo/svgPathGeometry.d.ts +0 -7
- package/_vendor/plugin-connector/_vendor/plugin-geo/types.d.ts +0 -22
- package/_vendor/plugin-connector/_vendor/signals/atom.d.ts +0 -11
- package/_vendor/plugin-connector/_vendor/signals/computed.d.ts +0 -13
- package/_vendor/plugin-connector/_vendor/signals/core.d.ts +0 -35
- package/_vendor/plugin-connector/_vendor/signals/effect.d.ts +0 -5
- package/_vendor/plugin-connector/_vendor/signals/index.d.ts +0 -8
- package/_vendor/plugin-connector/_vendor/signals/types.d.ts +0 -22
- package/_vendor/plugin-connector/_vendor/store/diff.d.ts +0 -9
- package/_vendor/plugin-connector/_vendor/store/history.d.ts +0 -22
- package/_vendor/plugin-connector/_vendor/store/index.d.ts +0 -5
- package/_vendor/plugin-connector/_vendor/store/store.d.ts +0 -40
- package/_vendor/plugin-connector/_vendor/store/types.d.ts +0 -27
- package/_vendor/plugin-connector/api.d.ts +0 -28
- package/_vendor/plugin-connector/canvasRender.d.ts +0 -2
- package/_vendor/plugin-connector/connectorBindingUtil.d.ts +0 -28
- package/_vendor/plugin-connector/connectorBindings.d.ts +0 -8
- package/_vendor/plugin-connector/connectorGeometry.d.ts +0 -70
- package/_vendor/plugin-connector/connectorHandles.d.ts +0 -12
- package/_vendor/plugin-connector/connectorInteractions.d.ts +0 -10
- package/_vendor/plugin-connector/connectorMarker.d.ts +0 -7
- package/_vendor/plugin-connector/connectorModel.d.ts +0 -43
- package/_vendor/plugin-connector/connectorPortInteraction.d.ts +0 -13
- package/_vendor/plugin-connector/connectorPorts.d.ts +0 -23
- package/_vendor/plugin-connector/connectorRuntime.d.ts +0 -63
- package/_vendor/plugin-connector/connectorShapeUtil.d.ts +0 -29
- package/_vendor/plugin-connector/connectorTool.d.ts +0 -4
- package/_vendor/plugin-connector/constants.d.ts +0 -17
- package/_vendor/plugin-connector/editorRuntime.d.ts +0 -7
- package/_vendor/plugin-connector/feature.d.ts +0 -5
- package/_vendor/plugin-connector/index.d.ts +0 -21
- package/_vendor/plugin-connector/orthogonalRoute.d.ts +0 -9
- package/_vendor/plugin-connector/quickConnect.d.ts +0 -30
- package/_vendor/plugin-connector/types.d.ts +0 -52
- package/_vendor/plugin-flow/_vendor/plugin-connector/api.d.ts +0 -28
- package/_vendor/plugin-flow/_vendor/plugin-connector/canvasRender.d.ts +0 -2
- package/_vendor/plugin-flow/_vendor/plugin-connector/connectorBindingUtil.d.ts +0 -28
- package/_vendor/plugin-flow/_vendor/plugin-connector/connectorBindings.d.ts +0 -8
- package/_vendor/plugin-flow/_vendor/plugin-connector/connectorGeometry.d.ts +0 -70
- package/_vendor/plugin-flow/_vendor/plugin-connector/connectorHandles.d.ts +0 -12
- package/_vendor/plugin-flow/_vendor/plugin-connector/connectorInteractions.d.ts +0 -10
- package/_vendor/plugin-flow/_vendor/plugin-connector/connectorMarker.d.ts +0 -7
- package/_vendor/plugin-flow/_vendor/plugin-connector/connectorModel.d.ts +0 -43
- package/_vendor/plugin-flow/_vendor/plugin-connector/connectorPortInteraction.d.ts +0 -13
- package/_vendor/plugin-flow/_vendor/plugin-connector/connectorPorts.d.ts +0 -23
- package/_vendor/plugin-flow/_vendor/plugin-connector/connectorRuntime.d.ts +0 -63
- package/_vendor/plugin-flow/_vendor/plugin-connector/connectorShapeUtil.d.ts +0 -29
- package/_vendor/plugin-flow/_vendor/plugin-connector/connectorTool.d.ts +0 -4
- package/_vendor/plugin-flow/_vendor/plugin-connector/constants.d.ts +0 -17
- package/_vendor/plugin-flow/_vendor/plugin-connector/editorRuntime.d.ts +0 -7
- package/_vendor/plugin-flow/_vendor/plugin-connector/feature.d.ts +0 -3
- package/_vendor/plugin-flow/_vendor/plugin-connector/index.d.ts +0 -21
- package/_vendor/plugin-flow/_vendor/plugin-connector/orthogonalRoute.d.ts +0 -9
- package/_vendor/plugin-flow/_vendor/plugin-connector/quickConnect.d.ts +0 -30
- package/_vendor/plugin-flow/_vendor/plugin-connector/types.d.ts +0 -52
- package/_vendor/plugin-flow/_vendor/plugin-geo/api.d.ts +0 -43
- package/_vendor/plugin-flow/_vendor/plugin-geo/canvasRender.d.ts +0 -2
- package/_vendor/plugin-flow/_vendor/plugin-geo/editorRuntime.d.ts +0 -7
- package/_vendor/plugin-flow/_vendor/plugin-geo/feature.d.ts +0 -1
- package/_vendor/plugin-flow/_vendor/plugin-geo/geoCreationRuntime.d.ts +0 -20
- package/_vendor/plugin-flow/_vendor/plugin-geo/geoGeometry.d.ts +0 -64
- package/_vendor/plugin-flow/_vendor/plugin-geo/geoShapeUtil.d.ts +0 -16
- package/_vendor/plugin-flow/_vendor/plugin-geo/geoStrokeStyle.d.ts +0 -2
- package/_vendor/plugin-flow/_vendor/plugin-geo/geoTools.d.ts +0 -51
- package/_vendor/plugin-flow/_vendor/plugin-geo/index.d.ts +0 -9
- package/_vendor/plugin-flow/_vendor/plugin-geo/svgPathGeometry.d.ts +0 -7
- package/_vendor/plugin-flow/_vendor/plugin-geo/types.d.ts +0 -22
- package/_vendor/plugin-flow/flowNodeShapeUtil.d.ts +0 -25
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @yuzhouu/canvas-standard
|
|
2
2
|
|
|
3
|
-
The
|
|
3
|
+
The standard Land canvas aggregation. Connector and Packaging remain standalone opt-in plugins; the profile includes and reexports the other first-party plugins and returns matching plugin and minimal CanvasAction arrays for CanvasKit. Product React UI is owned by the consuming app.
|
|
4
4
|
|
|
5
5
|
`createStandardCanvasKitProfile({ shortcutOverrides })` applies product-level
|
|
6
6
|
shortcut overrides while composing the profile. Omitted entries keep the
|
|
@@ -24,16 +24,64 @@ function StandardCanvas() {
|
|
|
24
24
|
}
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Connector
|
|
27
|
+
Connector and Packaging must be installed and composed separately:
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
```tsx
|
|
30
|
+
import { Connector } from "@yuzhouu/plugin-connector";
|
|
31
|
+
|
|
32
|
+
const profile = createStandardCanvasKitProfile();
|
|
33
|
+
const plugins = [profile.plugins, Connector];
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Flow port affordances and graph-cycle creation remain configurable through the
|
|
37
|
+
standard profile:
|
|
30
38
|
|
|
31
39
|
```ts
|
|
32
40
|
createStandardCanvasKitProfile({
|
|
33
|
-
|
|
34
|
-
|
|
41
|
+
flow: {
|
|
42
|
+
allowCycles: false,
|
|
43
|
+
visiblePortIds: ["left", "right"],
|
|
44
|
+
},
|
|
35
45
|
});
|
|
36
46
|
```
|
|
37
47
|
|
|
48
|
+
Multi-node cycles and Flow-node self-loops are allowed by default. Setting
|
|
49
|
+
`allowCycles: false` blocks new edge creation and rebinding that would close a
|
|
50
|
+
cycle, including a self-loop, without removing cycles already stored in a
|
|
51
|
+
document.
|
|
52
|
+
|
|
53
|
+
Flow exposes a node-scoped, reactive connection API through its public token:
|
|
54
|
+
|
|
55
|
+
```ts
|
|
56
|
+
import {
|
|
57
|
+
FlowConnectionError,
|
|
58
|
+
flowApiToken,
|
|
59
|
+
} from "@yuzhouu/canvas-standard";
|
|
60
|
+
|
|
61
|
+
const flow = canvas.api(flowApiToken);
|
|
62
|
+
if (flow) {
|
|
63
|
+
const connections = flow.connections.forNode(nodeId);
|
|
64
|
+
const unsubscribe = connections.subscribe(() => {
|
|
65
|
+
const { inputs, outputs } = connections.getSnapshot();
|
|
66
|
+
// Render graph-backed input and output affordances.
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
try {
|
|
70
|
+
flow.connections.disconnect({ nodeId, edgeId });
|
|
71
|
+
} catch (error) {
|
|
72
|
+
if (error instanceof FlowConnectionError) {
|
|
73
|
+
console.error(error.code);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
unsubscribe();
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
`forNode()` accepts only subtype-marked Flow Text/Image nodes. Connection
|
|
82
|
+
snapshots expose stable edge IDs and source/target shape and port references;
|
|
83
|
+
`disconnect()` validates ownership, supported Flow topology, locks, and
|
|
84
|
+
readonly policy before recording an undoable edge deletion.
|
|
85
|
+
|
|
38
86
|
The HTML plugin is enabled by default. Pass `html: false` to omit sandboxed
|
|
39
87
|
HTML embeds from a profile.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Editor } from "../editor/editor";
|
|
2
2
|
import type { SelectionOverlayFrameGeometryState } from "../editor/selection/selection";
|
|
3
3
|
import type { Vec } from "../geometry/vec";
|
|
4
|
-
import type { BindingId, BindingRecord, BindingRecordBase, ShapeRecord } from "../schema/records";
|
|
4
|
+
import type { BindingId, BindingEndpointBase, BindingRecord, BindingRecordBase, ShapeRecord } from "../schema/records";
|
|
5
5
|
export interface BindingUtilEffect {
|
|
6
6
|
shapes?: ShapeRecord[];
|
|
7
7
|
bindings?: BindingRecord[];
|
|
@@ -13,32 +13,39 @@ export interface BindingUtilEffect {
|
|
|
13
13
|
export interface BindingShapeChangeContext {
|
|
14
14
|
before: ShapeRecord;
|
|
15
15
|
after: ShapeRecord;
|
|
16
|
-
|
|
16
|
+
owner: boolean;
|
|
17
|
+
endpointSlots: readonly string[];
|
|
17
18
|
reason: "self" | "ancestry";
|
|
18
19
|
}
|
|
19
20
|
export interface BindingShapeDeleteContext {
|
|
20
21
|
shape: ShapeRecord;
|
|
21
|
-
|
|
22
|
+
owner: boolean;
|
|
23
|
+
endpointSlots: readonly string[];
|
|
22
24
|
}
|
|
23
25
|
export interface BindingEndpointContext {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
ownerShape: ShapeRecord;
|
|
27
|
+
endpoints: readonly {
|
|
28
|
+
endpoint: BindingEndpointBase;
|
|
29
|
+
targetShape: ShapeRecord;
|
|
30
|
+
}[];
|
|
26
31
|
}
|
|
27
32
|
export interface BindingSelectionCompanionFrameContext {
|
|
28
33
|
selectedShape: ShapeRecord;
|
|
29
34
|
}
|
|
30
35
|
export interface BindingShapeGeometryDependencyContext {
|
|
31
36
|
shape: ShapeRecord;
|
|
32
|
-
|
|
37
|
+
owner: boolean;
|
|
38
|
+
endpointSlots: readonly string[];
|
|
33
39
|
}
|
|
34
40
|
export interface BindingTargetShapeContentCutoutContext {
|
|
35
|
-
|
|
36
|
-
|
|
41
|
+
ownerShape: ShapeRecord;
|
|
42
|
+
endpoint: BindingEndpointBase;
|
|
43
|
+
targetShape: ShapeRecord;
|
|
37
44
|
}
|
|
38
45
|
export declare abstract class BindingUtil<B extends BindingRecordBase = BindingRecordBase> {
|
|
39
46
|
abstract readonly type: B["type"];
|
|
40
|
-
abstract
|
|
41
|
-
abstract
|
|
47
|
+
abstract getDefaultEndpointProps(slot: B["endpoints"][number]["slot"]): B["endpoints"][number]["props"];
|
|
48
|
+
abstract validateEndpointProps(slot: B["endpoints"][number]["slot"], props: unknown): B["endpoints"][number]["props"];
|
|
42
49
|
canBind?(editor: Editor, binding: B, context: BindingEndpointContext): boolean;
|
|
43
50
|
getExclusiveBindingKey?(binding: B): string | null;
|
|
44
51
|
onBindingCreate?(editor: Editor, binding: B): BindingUtilEffect | void;
|
|
@@ -4,7 +4,7 @@ import type { AssetId, AssetRecord, BindingRecord, ShapeId, ShapeRecord } from "
|
|
|
4
4
|
import type { Editor } from "./editor";
|
|
5
5
|
export interface EditorClipboardPayload {
|
|
6
6
|
type: "land/clipboard";
|
|
7
|
-
version:
|
|
7
|
+
version: 3;
|
|
8
8
|
source: {
|
|
9
9
|
app: "land";
|
|
10
10
|
documentId?: string;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { ChangeSource } from "../../../store/index";
|
|
2
2
|
import type { BindingId, BindingRecord, ShapeId } from "../../schema/records";
|
|
3
|
-
import type { CreateBindingInput, EditorCommandOptions, UpdateBindingInput } from "./commandTypes";
|
|
3
|
+
import type { ClearBindingEndpointInput, CreateBindingInput, EditorCommandOptions, SetBindingEndpointInput, UpdateBindingInput } from "./commandTypes";
|
|
4
4
|
import type { Editor } from "../editor";
|
|
5
5
|
type RepairMinimumChildContainers = (containerIds: Iterable<ShapeId>, deletedIds: Set<ShapeId>, source: ChangeSource) => void;
|
|
6
6
|
interface BindingCommandSet {
|
|
7
7
|
createBinding(input: CreateBindingInput, options?: EditorCommandOptions): BindingRecord;
|
|
8
8
|
updateBinding(input: UpdateBindingInput, options?: EditorCommandOptions): BindingRecord | null;
|
|
9
|
+
setBindingEndpoint(input: SetBindingEndpointInput, options?: EditorCommandOptions): BindingRecord | null;
|
|
10
|
+
clearBindingEndpoint(input: ClearBindingEndpointInput, options?: EditorCommandOptions): BindingRecord | null;
|
|
9
11
|
deleteBinding(id: BindingId, options?: EditorCommandOptions): boolean;
|
|
10
12
|
}
|
|
11
13
|
export declare function createBindingCommandSet(editor: Editor, repairMinimumChildContainers: RepairMinimumChildContainers): BindingCommandSet;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ChangeSource } from "../../../store/index";
|
|
2
|
-
import type { AssetId, AssetRecord, AssetRecordBase, BindingId, BindingRecord, BindingRecordBase, Camera, DocumentMetadataRecord, PageId, PageRecord, ShapeEditingEntryMode, ShapeId, ShapeParentId, ShapeRecord, ShapeRecordBase } from "../../schema/records";
|
|
2
|
+
import type { AssetId, AssetRecord, AssetRecordBase, BindingId, BindingEndpointBase, BindingRecord, BindingRecordBase, Camera, DocumentMetadataRecord, PageId, PageRecord, ShapeEditingEntryMode, ShapeId, ShapeParentId, ShapeRecord, ShapeRecordBase } from "../../schema/records";
|
|
3
3
|
export interface EditorCommandOptions {
|
|
4
4
|
source?: ChangeSource;
|
|
5
5
|
}
|
|
@@ -16,6 +16,7 @@ export interface UpdateShapesOptions extends EditorCommandOptions {
|
|
|
16
16
|
}
|
|
17
17
|
export interface CreateShapeInput {
|
|
18
18
|
type: ShapeRecordBase["type"];
|
|
19
|
+
subType?: string | null;
|
|
19
20
|
x: number;
|
|
20
21
|
y: number;
|
|
21
22
|
props?: Record<string, unknown>;
|
|
@@ -42,6 +43,7 @@ export interface UpdateAssetInput {
|
|
|
42
43
|
}
|
|
43
44
|
export interface ShapeUpdate {
|
|
44
45
|
id: ShapeId;
|
|
46
|
+
subType?: string | null;
|
|
45
47
|
x?: number;
|
|
46
48
|
y?: number;
|
|
47
49
|
rotation?: number;
|
|
@@ -70,21 +72,33 @@ export interface StartEditingShapeInput {
|
|
|
70
72
|
reuseActiveOperation?: boolean;
|
|
71
73
|
preserveInteraction?: boolean;
|
|
72
74
|
}
|
|
75
|
+
export interface CreateBindingEndpointInput {
|
|
76
|
+
slot: BindingEndpointBase["slot"];
|
|
77
|
+
targetId: ShapeId;
|
|
78
|
+
props?: Record<string, unknown>;
|
|
79
|
+
meta?: Record<string, unknown>;
|
|
80
|
+
}
|
|
73
81
|
export interface CreateBindingInput {
|
|
74
82
|
id?: BindingId;
|
|
75
83
|
type: BindingRecordBase["type"];
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
props?: Record<string, unknown>;
|
|
84
|
+
ownerId: ShapeId;
|
|
85
|
+
endpoints: readonly CreateBindingEndpointInput[];
|
|
79
86
|
meta?: Record<string, unknown>;
|
|
80
87
|
}
|
|
81
88
|
export interface UpdateBindingInput {
|
|
82
89
|
id: BindingId;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
props?: Record<string, unknown>;
|
|
90
|
+
ownerId?: ShapeId;
|
|
91
|
+
endpoints?: readonly CreateBindingEndpointInput[];
|
|
86
92
|
meta?: Record<string, unknown>;
|
|
87
93
|
}
|
|
94
|
+
export interface SetBindingEndpointInput {
|
|
95
|
+
bindingId: BindingId;
|
|
96
|
+
endpoint: CreateBindingEndpointInput;
|
|
97
|
+
}
|
|
98
|
+
export interface ClearBindingEndpointInput {
|
|
99
|
+
bindingId: BindingId;
|
|
100
|
+
slot: string;
|
|
101
|
+
}
|
|
88
102
|
export interface CreatePageInput {
|
|
89
103
|
name?: string;
|
|
90
104
|
index?: string;
|
|
@@ -140,6 +154,8 @@ export interface EditorCommands {
|
|
|
140
154
|
deleteAsset(id: AssetId, options?: EditorCommandOptions): boolean;
|
|
141
155
|
createBinding(input: CreateBindingInput, options?: EditorCommandOptions): BindingRecord;
|
|
142
156
|
updateBinding(input: UpdateBindingInput, options?: EditorCommandOptions): BindingRecord | null;
|
|
157
|
+
setBindingEndpoint(input: SetBindingEndpointInput, options?: EditorCommandOptions): BindingRecord | null;
|
|
158
|
+
clearBindingEndpoint(input: ClearBindingEndpointInput, options?: EditorCommandOptions): BindingRecord | null;
|
|
143
159
|
deleteBinding(id: BindingId, options?: EditorCommandOptions): boolean;
|
|
144
160
|
setCurrentPageId(id: PageId, options?: EditorCommandOptions): void;
|
|
145
161
|
setCamera(input: SetCameraInput, options?: EditorCommandOptions): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type EditorPlugin } from "../plugins/editorRuntimePlugin";
|
|
2
2
|
import { Editor, type EditorOptions } from "./editor";
|
|
3
|
-
export interface CreateEditorOptions extends Omit<EditorOptions, "shapeUtils" | "shapeSvgExporters" | "bindingUtils"> {
|
|
3
|
+
export interface CreateEditorOptions extends Omit<EditorOptions, "shapeUtils" | "shapeSvgExporters" | "shapeSvgDecorations" | "shapeHitTestDecorations" | "bindingUtils"> {
|
|
4
4
|
plugins?: readonly EditorPlugin[];
|
|
5
5
|
}
|
|
6
6
|
export declare function createEditor(options?: CreateEditorOptions): Editor;
|
|
@@ -4,13 +4,14 @@ import { BindingManager } from "../bindings/bindingManager";
|
|
|
4
4
|
import type { BindingUtil } from "../bindings/bindingUtil";
|
|
5
5
|
import { BindingUtilRegistry } from "../bindings/bindingUtilRegistry";
|
|
6
6
|
import type { ResolvedTerminalBinding, TerminalBindingResolver, TerminalBindingResolverInput } from "../bindings/terminalBinding";
|
|
7
|
-
import { ShapeSvgExporterRegistry, exportShapesToSvgString, type ShapeSvgExporter } from "../exports/svg";
|
|
7
|
+
import { ShapeSvgDecorationRegistry, ShapeSvgExporterRegistry, exportShapesToSvgString, type ShapeSvgDecoration, type ShapeSvgExporter } from "../exports/svg";
|
|
8
8
|
import { Box } from "../geometry/box";
|
|
9
9
|
import { Mat } from "../geometry/mat";
|
|
10
10
|
import type { Vec } from "../geometry/vec";
|
|
11
11
|
import { EditorRuntimeRegistry } from "../plugins/editorRuntimeRegistry";
|
|
12
12
|
import { type AssetId, type AssetRecord, type BindingId, type BindingRecord, type Camera, type DocumentMetadataRecord, type EditorRecord, type PageId, type PageRecord, type RecordScope, type SessionRecord, type ShapeEditingSession, type ShapeId, type ShapeParentId, type ShapeRecord } from "../schema/records";
|
|
13
13
|
import type { DocumentSnapshot, SessionSnapshot } from "../schema/snapshots";
|
|
14
|
+
import { ShapeHitTestDecorationRegistry, type ShapeHitTestDecoration } from "../shapes/shapeHitTestDecoration";
|
|
14
15
|
import type { ShapeSelectionFlipAxis, ShapeUtil } from "../shapes/shapeUtil";
|
|
15
16
|
import { ShapeUtilRegistry } from "../shapes/shapeUtilRegistry";
|
|
16
17
|
import { ToolManager } from "../tools/toolManager";
|
|
@@ -36,6 +37,8 @@ import { type CameraAnimationScheduler } from "./viewport/cameraManager";
|
|
|
36
37
|
export interface EditorOptions {
|
|
37
38
|
shapeUtils?: ShapeUtil[];
|
|
38
39
|
shapeSvgExporters?: ShapeSvgExporter[];
|
|
40
|
+
shapeSvgDecorations?: ShapeSvgDecoration[];
|
|
41
|
+
shapeHitTestDecorations?: ShapeHitTestDecoration[];
|
|
39
42
|
bindingUtils?: BindingUtil[];
|
|
40
43
|
resolveAssetUrl?: (assetId: AssetId) => string | null;
|
|
41
44
|
documentMeta?: Record<string, unknown>;
|
|
@@ -69,6 +72,8 @@ export declare class Editor {
|
|
|
69
72
|
readonly editing: ShapeEditingManager;
|
|
70
73
|
readonly shapeUtils: ShapeUtilRegistry;
|
|
71
74
|
readonly shapeSvgExporters: ShapeSvgExporterRegistry;
|
|
75
|
+
readonly shapeSvgDecorations: ShapeSvgDecorationRegistry;
|
|
76
|
+
readonly shapeHitTestDecorations: ShapeHitTestDecorationRegistry;
|
|
72
77
|
readonly bindingUtils: BindingUtilRegistry;
|
|
73
78
|
readonly interactions: InteractionHandlerRegistry;
|
|
74
79
|
readonly runtime: EditorRuntimeRegistry;
|
|
@@ -142,7 +147,7 @@ export declare class Editor {
|
|
|
142
147
|
readonly toFramePoint: (point: Vec) => Vec | null;
|
|
143
148
|
readonly getPageOutlineVertices: () => Vec[];
|
|
144
149
|
readonly getAnchorPagePoint: () => Vec | null;
|
|
145
|
-
readonly
|
|
150
|
+
readonly getLocalBounds: () => Box | null;
|
|
146
151
|
readonly getRotationCenter: () => Vec | null;
|
|
147
152
|
readonly getRotation: () => number;
|
|
148
153
|
readonly hasCompatibleRotation: () => boolean;
|
|
@@ -257,10 +262,10 @@ export declare class Editor {
|
|
|
257
262
|
};
|
|
258
263
|
readonly bindings: {
|
|
259
264
|
readonly get: (id: BindingId) => BindingRecord | undefined;
|
|
260
|
-
readonly
|
|
261
|
-
readonly
|
|
262
|
-
readonly
|
|
263
|
-
readonly
|
|
265
|
+
readonly getOwnedByShape: (shapeId: ShapeId) => BindingRecord[];
|
|
266
|
+
readonly getOwnedByShapeSignal: (shapeId: ShapeId) => Signal<readonly BindingRecord[]>;
|
|
267
|
+
readonly getTargetingShape: (shapeId: ShapeId) => BindingRecord[];
|
|
268
|
+
readonly getTargetingShapeSignal: (shapeId: ShapeId) => Signal<readonly BindingRecord[]>;
|
|
264
269
|
readonly getForShape: (shapeId: ShapeId) => BindingRecord[];
|
|
265
270
|
readonly getForShapeSignal: (shapeId: ShapeId) => Signal<readonly BindingRecord[]>;
|
|
266
271
|
readonly getUtil: <B extends BindingRecord>(binding: B) => BindingUtil<B>;
|
|
@@ -67,6 +67,7 @@ export interface EditorEventInteractionHandler {
|
|
|
67
67
|
}
|
|
68
68
|
export interface LandInteractionHandler {
|
|
69
69
|
id: string;
|
|
70
|
+
priority?: number;
|
|
70
71
|
enabledInReadonly?: boolean;
|
|
71
72
|
editorEvent?: EditorEventInteractionHandler;
|
|
72
73
|
selectionHandle?: SelectionHandleInteractionHandler;
|
|
@@ -4,23 +4,23 @@ import type { Editor } from "../editor";
|
|
|
4
4
|
export declare class BindingQueryCache {
|
|
5
5
|
private readonly editor;
|
|
6
6
|
private state;
|
|
7
|
-
private readonly
|
|
8
|
-
private readonly
|
|
7
|
+
private readonly bindingsOwnedByShapeSignals;
|
|
8
|
+
private readonly bindingsTargetingShapeSignals;
|
|
9
9
|
private readonly bindingsForShapeSignals;
|
|
10
10
|
private draftBindingIndex;
|
|
11
11
|
private readonly unsubscribeFromStore;
|
|
12
12
|
constructor(editor: Editor);
|
|
13
13
|
dispose(): void;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
getBindingsOwnedByShape(shapeId: ShapeId): BindingRecord[];
|
|
15
|
+
getBindingsOwnedByShapeSignal(shapeId: ShapeId): Signal<readonly BindingRecord[]>;
|
|
16
|
+
getBindingsTargetingShape(shapeId: ShapeId): BindingRecord[];
|
|
17
|
+
getBindingsTargetingShapeSignal(shapeId: ShapeId): Signal<readonly BindingRecord[]>;
|
|
18
18
|
getBindingsForShape(shapeId: ShapeId): BindingRecord[];
|
|
19
19
|
getBindingsForShapeSignal(shapeId: ShapeId): Signal<readonly BindingRecord[]>;
|
|
20
20
|
private handleStoreChange;
|
|
21
21
|
private updateCachedSignals;
|
|
22
|
-
private
|
|
23
|
-
private
|
|
22
|
+
private getBindingsOwnedByState;
|
|
23
|
+
private getBindingsTargetingState;
|
|
24
24
|
private getBindingsForState;
|
|
25
25
|
private getBindingsForIds;
|
|
26
26
|
private getDraftBindingIndex;
|
|
@@ -2,8 +2,8 @@ import type { StoreChange } from "../../../store/index";
|
|
|
2
2
|
import { type BindingId, type BindingRecord, type EditorRecord, type ShapeId } from "../../schema/records";
|
|
3
3
|
export interface BindingQueryState {
|
|
4
4
|
bindingById: Map<BindingId, BindingRecord>;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
bindingIdsByOwnerShape: Map<ShapeId, BindingId[]>;
|
|
6
|
+
bindingIdsByTargetShape: Map<ShapeId, BindingId[]>;
|
|
7
7
|
relatedBindingIdsByShape: Map<ShapeId, BindingId[]>;
|
|
8
8
|
}
|
|
9
9
|
export declare function compareBindings(left: BindingRecord, right: BindingRecord): number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { RecordsDiff } from "../../../store/index";
|
|
2
2
|
import { type BindingId, type BindingRecord, type EditorRecord, type ShapeId } from "../../schema/records";
|
|
3
|
-
export type BindingRelation = "
|
|
3
|
+
export type BindingRelation = "owner" | "target" | "related";
|
|
4
4
|
interface DraftRelationIndex {
|
|
5
5
|
changesByShape: Map<ShapeId, Map<BindingId, BindingRecord | undefined>>;
|
|
6
6
|
cacheByShape: Map<ShapeId, readonly BindingRecord[]>;
|
|
@@ -7,7 +7,7 @@ import type { ShapeGeometry } from "../queries/shapeTransforms";
|
|
|
7
7
|
export interface SelectionGeometrySnapshot {
|
|
8
8
|
outlineVertices: Vec[];
|
|
9
9
|
pageBounds: Box | null;
|
|
10
|
-
|
|
10
|
+
localBounds: Box | null;
|
|
11
11
|
rotation: number;
|
|
12
12
|
rotationCenter: Vec | null;
|
|
13
13
|
selectionAnchorPagePoint: Vec | null;
|
|
@@ -18,7 +18,7 @@ export interface SelectionGeometrySignals {
|
|
|
18
18
|
geometry: Signal<SelectionGeometrySnapshot>;
|
|
19
19
|
pageOutlineVertices: Signal<Vec[]>;
|
|
20
20
|
pageBounds: Signal<Box | null>;
|
|
21
|
-
|
|
21
|
+
localBounds: Signal<Box | null>;
|
|
22
22
|
hasRotation: Signal<boolean>;
|
|
23
23
|
rotation: Signal<number>;
|
|
24
24
|
rotationCenter: Signal<Vec | null>;
|
|
@@ -5,6 +5,7 @@ export interface ShapeTreeSnapshotEntry {
|
|
|
5
5
|
id: ShapeId;
|
|
6
6
|
parentId: ShapeParentId;
|
|
7
7
|
type: ShapeRecord["type"];
|
|
8
|
+
subType: ShapeRecord["subType"];
|
|
8
9
|
}
|
|
9
10
|
export interface EditorToolState {
|
|
10
11
|
activeToolId: string;
|
|
@@ -26,9 +27,9 @@ export interface EditorSelectionState {
|
|
|
26
27
|
hasSelectionRotation: boolean;
|
|
27
28
|
hasMixedSelectionRotation: boolean;
|
|
28
29
|
canResetSelectionRotation: boolean;
|
|
29
|
-
|
|
30
|
+
localBounds: Box | null;
|
|
30
31
|
frameRotation: number;
|
|
31
32
|
frameRotationCenter: Vec | null;
|
|
32
33
|
selectionAnchorPagePoint: Vec | null;
|
|
33
34
|
}
|
|
34
|
-
export type EditorSelectionMetadata = Omit<EditorSelectionState, "
|
|
35
|
+
export type EditorSelectionMetadata = Omit<EditorSelectionState, "localBounds" | "frameRotation" | "frameRotationCenter" | "selectionAnchorPagePoint">;
|
|
@@ -28,7 +28,7 @@ export interface EditorStateSignals {
|
|
|
28
28
|
readonly selection: Signal<EditorSelectionState>;
|
|
29
29
|
readonly selectionMetadata: Signal<EditorSelectionMetadata>;
|
|
30
30
|
readonly selectionPageBounds: Signal<Box | null>;
|
|
31
|
-
readonly
|
|
31
|
+
readonly selectionLocalBounds: Signal<Box | null>;
|
|
32
32
|
readonly selectionAnchorPagePoint: Signal<Vec | null>;
|
|
33
33
|
readonly camera: Signal<Camera>;
|
|
34
34
|
readonly cameraZoom: Signal<number>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Box } from "../geometry/box";
|
|
2
2
|
import type { Editor } from "../editor/editor";
|
|
3
|
-
import type { AssetId, ShapeId, ShapeRecordBase } from "../schema/records";
|
|
3
|
+
import type { AssetId, ShapeId, ShapeRecordBase, ShapeRecord } from "../schema/records";
|
|
4
4
|
import { type ShapeColor, type ThemeColorResolver } from "../shapes/colors";
|
|
5
5
|
export type SvgAttributeValue = string | number | boolean | null | undefined;
|
|
6
6
|
export interface SvgElementNode {
|
|
@@ -21,6 +21,13 @@ export interface ShapeSvgExporter<S extends ShapeRecordBase = ShapeRecordBase> {
|
|
|
21
21
|
toSvg(shape: S, context: SvgExportContext): SvgNode | null;
|
|
22
22
|
toSvgForeground?(shape: S, context: SvgExportContext): SvgNode | null;
|
|
23
23
|
}
|
|
24
|
+
export interface ShapeSvgDecoration {
|
|
25
|
+
readonly id: string;
|
|
26
|
+
readonly subType: string;
|
|
27
|
+
getExportBounds?(shape: ShapeRecord): Box | null;
|
|
28
|
+
toSvgBackground?(shape: ShapeRecord, context: SvgExportContext): SvgNode | null;
|
|
29
|
+
toSvg?(shape: ShapeRecord, context: SvgExportContext): SvgNode | null;
|
|
30
|
+
}
|
|
24
31
|
export interface SvgExportOptions {
|
|
25
32
|
padding?: number;
|
|
26
33
|
background?: string;
|
|
@@ -48,5 +55,11 @@ export declare class ShapeSvgExporterRegistry {
|
|
|
48
55
|
unregister(type: ShapeRecordBase["type"]): boolean;
|
|
49
56
|
values(): IterableIterator<ShapeSvgExporter>;
|
|
50
57
|
}
|
|
58
|
+
export declare class ShapeSvgDecorationRegistry {
|
|
59
|
+
private readonly ids;
|
|
60
|
+
private readonly registry;
|
|
61
|
+
register(decoration: ShapeSvgDecoration): void;
|
|
62
|
+
get(subType: string | null): readonly ShapeSvgDecoration[];
|
|
63
|
+
}
|
|
51
64
|
export declare function exportShapesToSvgString(editor: Editor, shapeIds: Iterable<ShapeId>, exporters: ShapeSvgExporterRegistry, options?: SvgExportOptions): SvgExportResult | null;
|
|
52
65
|
export declare function renderSvgNode(node: SvgNode): string;
|
|
@@ -40,9 +40,13 @@ export type { ChildTransformPolicy, ChildTransformPolicyProvider, ChildTransform
|
|
|
40
40
|
export type { ShapeBoundsSnapGeometry, ShapeBrushSelectInput, ShapeBrushWrapInput, ShapeClipboardCopyInput, ShapeBindingPointInput, ShapeChildPlacementInput, ShapeChildVisibilityInput, ShapeEditEndInput, ShapeEditEndResult, ShapeGeometryInput, ShapeGroupingInput, ShapeHandleSnapContext, ShapeHandleSnapGeometry, ShapeHoverTargetInput, ShapeLineSegmentHitTestInput, ShapeLabelPathGeometry, ShapeLabelPathNearestPositionOptions, ShapePointHitTestInput, ShapeSnapPoint, ShapeSnapPointKind, ShapeTerminalBindingOutline, ShapeSelectionHandleAnchorInput, ShapeSelectionHandleAnchors, ShapeSelectionFrameInput, ShapeSelectionFlipAxis, ShapeSelectionFlipInput, ShapeSelectionOverlayInfo, ShapeSelectionOverlayInfoInput, ShapeSelectionPathStyle, ShapeSelectionPagePoints, ShapeSelectionPagePointsInput, ShapeSelectionResizeInput, ShapeSelectionResizeCapabilityInput, ShapeSelectionResizeModesInput, ShapeSelectionTransformCapabilityInput, ShapeSelectionTranslateInput, } from "./shapes/shapeUtil";
|
|
41
41
|
export type { HandleSnapContext, HandleSnapInput, HandleSnapMode, HandleSnapResult, HandleSnapSnapshot, HandleSnapSnapshotInput, ResizeSnapInput, ResizeSnapResult, ResizeSnapSnapshot, SnapAxis, SnapCoordinateSpace, SnapPointIndex, SnapPointIndexEntry, SnapPointKind, TranslateSnapInput, TranslateSnapResult, TranslateSnapSnapshot, } from "./editor/snapping/snapTypes";
|
|
42
42
|
export { ShapeUtilRegistry } from "./shapes/shapeUtilRegistry";
|
|
43
|
+
export { getShapeHeadingCounterScale, getShapeHeadingMaxPointHitTestBounds, getShapeHeadingPositionedHitBounds, getShapeHeadingSide, SHAPE_HEADING_COUNTER_SCALE_LIMIT, } from "./shapes/shapeHeading";
|
|
44
|
+
export type { ShapeHeadingSide } from "./shapes/shapeHeading";
|
|
45
|
+
export { ShapeHitTestDecorationRegistry } from "./shapes/shapeHitTestDecoration";
|
|
46
|
+
export type { ShapeHitTestDecoration } from "./shapes/shapeHitTestDecoration";
|
|
43
47
|
export { resolveTerminalBindingAtPoint, } from "./bindings/terminalBinding";
|
|
44
|
-
export { ShapeSvgExporterRegistry, exportShapesToSvgString, renderSvgNode, } from "./exports/svg";
|
|
45
|
-
export type { ShapeSvgExporter, SvgAttributeValue, SvgElementNode, SvgExportContext, SvgExportOptions, SvgExportResult, SvgExportSkipReason, SvgExportSkippedShape, SvgNode, } from "./exports/svg";
|
|
48
|
+
export { ShapeSvgDecorationRegistry, ShapeSvgExporterRegistry, exportShapesToSvgString, renderSvgNode, } from "./exports/svg";
|
|
49
|
+
export type { ShapeSvgDecoration, ShapeSvgExporter, SvgAttributeValue, SvgElementNode, SvgExportContext, SvgExportOptions, SvgExportResult, SvgExportSkipReason, SvgExportSkippedShape, SvgNode, } from "./exports/svg";
|
|
46
50
|
export { getExportIntegrityReport, repairExportIntegrity, } from "./exports/integrity";
|
|
47
51
|
export type { ExportIntegrityIssue, ExportIntegrityIssueKind, ExportIntegrityRepairResult, ExportIntegrityReport, } from "./exports/integrity";
|
|
48
52
|
export { BindingUtil } from "./bindings/bindingUtil";
|
|
@@ -56,7 +60,7 @@ export { SelectTool } from "./tools/select/selectTool";
|
|
|
56
60
|
export { LAND_DEFAULT_THEME_COLOR_FALLBACKS, LAND_THEME_COLOR_SLOTS, LAND_THEME_COLOR_TOKEN_BY_SLOT, areShapeColorsEqual, createCustomShapeColor, createThemeShapeColor, getThemeColorTokenName, isCustomShapeColorRef, isShapeColor, isThemeShapeColorRef, isTransparentShapeColor, normalizeShapeColor, resolveShapeColor, shapeColorToCssColor, } from "./shapes/colors";
|
|
57
61
|
export type { CustomShapeColorRef, ShapeColor, ThemeColorSlot, ThemeColorResolver, ThemeColorTokenName, ThemeShapeColorRef, } from "./shapes/colors";
|
|
58
62
|
export { type EditorPlugin, createEditorRuntimeToken, EditorRuntimeRegistry, type EditorRuntimeToken, } from "./plugins";
|
|
59
|
-
export { DEFAULT_CAMERA, DEFAULT_DOCUMENT_ID, DEFAULT_PAGE_ID, DEFAULT_SESSION_ID, createDefaultDocument, createDefaultPage, createDefaultSession, isAssetRecord, isBindingRecord, isDocumentRecord, isDocumentMetadataRecord, isPageRecord, isSessionRecord, isShapeRecord, type AssetId, type AssetRecord, type AssetRecordBase, type BaseRecord, type BindingId, type BindingRecordBase, type BindingRecord, type Camera, type DocumentId, type DocumentMetadataRecord, type DocumentRecord, type EditorRecord, type PageCameraById, type PageId, type PageSelectionById, type PageRecord, type RecordScope, type SessionRecord, type ShapeId, type ShapeParentId, type ShapeRecordBase, type ShapeRecord, type ShapeEditingEntryRequest, type ShapeEditingEntryMode, type ShapeEditingPoint, type ShapeEditingSession, } from "./schema/records";
|
|
63
|
+
export { DEFAULT_CAMERA, DEFAULT_DOCUMENT_ID, DEFAULT_PAGE_ID, DEFAULT_SESSION_ID, createDefaultDocument, createDefaultPage, createDefaultSession, isAssetRecord, isBindingRecord, isDocumentRecord, isDocumentMetadataRecord, isPageRecord, isSessionRecord, isShapeRecord, type AssetId, type AssetRecord, type AssetRecordBase, type BaseRecord, type BindingId, type BindingEndpointBase, type BindingRecordBase, type BindingRecord, type Camera, type DocumentId, type DocumentMetadataRecord, type DocumentRecord, type EditorRecord, type PageCameraById, type PageId, type PageSelectionById, type PageRecord, type RecordScope, type SessionRecord, type ShapeId, type ShapeParentId, type ShapeRecordBase, type ShapeRecord, type ShapeEditingEntryRequest, type ShapeEditingEntryMode, type ShapeEditingPoint, type ShapeEditingSession, } from "./schema/records";
|
|
60
64
|
export { Vec } from "./geometry/vec";
|
|
61
65
|
export { Box } from "./geometry/box";
|
|
62
66
|
export { Mat } from "./geometry/mat";
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import type { BindingUtil } from "../bindings/bindingUtil";
|
|
2
2
|
import type { Editor } from "../editor/editor";
|
|
3
3
|
import type { LandInteractionHandler } from "../editor/events/interactions";
|
|
4
|
-
import type { ShapeSvgExporter } from "../exports/svg";
|
|
4
|
+
import type { ShapeSvgDecoration, ShapeSvgExporter } from "../exports/svg";
|
|
5
|
+
import type { ShapeHitTestDecoration } from "../shapes/shapeHitTestDecoration";
|
|
5
6
|
import type { ShapeUtil } from "../shapes/shapeUtil";
|
|
6
7
|
export interface EditorPlugin {
|
|
7
8
|
id: string;
|
|
8
9
|
shapeUtils?: ShapeUtil[];
|
|
9
10
|
shapeSvgExporters?: ShapeSvgExporter[];
|
|
11
|
+
shapeSvgDecorations?: ShapeSvgDecoration[];
|
|
12
|
+
shapeHitTestDecorations?: ShapeHitTestDecoration[];
|
|
10
13
|
bindingUtils?: BindingUtil[];
|
|
11
14
|
interactionHandlers?: LandInteractionHandler[];
|
|
12
15
|
setup?(editor: Editor): void | (() => void);
|
|
@@ -14,6 +17,8 @@ export interface EditorPlugin {
|
|
|
14
17
|
export declare function collectEditorPluginContributions(plugins: readonly EditorPlugin[]): {
|
|
15
18
|
shapeUtils: ShapeUtil[];
|
|
16
19
|
shapeSvgExporters: ShapeSvgExporter[];
|
|
20
|
+
shapeSvgDecorations: ShapeSvgDecoration[];
|
|
21
|
+
shapeHitTestDecorations: ShapeHitTestDecoration[];
|
|
17
22
|
bindingUtils: BindingUtil[];
|
|
18
23
|
};
|
|
19
24
|
export declare function setupEditorPlugins(editor: Editor, plugins: readonly EditorPlugin[]): () => void;
|
|
@@ -54,6 +54,7 @@ export interface ShapeRecordBase<Type extends string = string, Props extends obj
|
|
|
54
54
|
typeName: "shape";
|
|
55
55
|
scope: "document";
|
|
56
56
|
type: Type;
|
|
57
|
+
subType: string | null;
|
|
57
58
|
parentId: ShapeParentId;
|
|
58
59
|
index: string;
|
|
59
60
|
x: number;
|
|
@@ -66,14 +67,19 @@ export interface ShapeRecordBase<Type extends string = string, Props extends obj
|
|
|
66
67
|
isLocked: boolean;
|
|
67
68
|
props: Props;
|
|
68
69
|
}
|
|
69
|
-
export interface
|
|
70
|
+
export interface BindingEndpointBase<Slot extends string = string, Props extends object = object> {
|
|
71
|
+
slot: Slot;
|
|
72
|
+
targetId: ShapeId;
|
|
73
|
+
props: Props;
|
|
74
|
+
meta: Record<string, unknown>;
|
|
75
|
+
}
|
|
76
|
+
export interface BindingRecordBase<Type extends string = string, Endpoint extends BindingEndpointBase = BindingEndpointBase> extends BaseRecord {
|
|
70
77
|
id: BindingId;
|
|
71
78
|
typeName: "binding";
|
|
72
79
|
scope: "document";
|
|
73
80
|
type: Type;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
props: Props;
|
|
81
|
+
ownerId: ShapeId;
|
|
82
|
+
endpoints: readonly Endpoint[];
|
|
77
83
|
}
|
|
78
84
|
export interface AssetRecordBase<Type extends string = string, Props extends object = object> extends BaseRecord {
|
|
79
85
|
id: AssetId;
|
|
@@ -83,7 +89,7 @@ export interface AssetRecordBase<Type extends string = string, Props extends obj
|
|
|
83
89
|
props: Props;
|
|
84
90
|
}
|
|
85
91
|
export type ShapeRecord = ShapeRecordBase<string, object>;
|
|
86
|
-
export type BindingRecord = BindingRecordBase<string, object
|
|
92
|
+
export type BindingRecord = BindingRecordBase<string, BindingEndpointBase<string, object>>;
|
|
87
93
|
export type AssetRecord = AssetRecordBase<string, object>;
|
|
88
94
|
export interface SessionRecord extends BaseRecord {
|
|
89
95
|
id: SessionId;
|
|
@@ -2,12 +2,12 @@ import type { ShapeUtilRegistry } from "../shapes/shapeUtilRegistry";
|
|
|
2
2
|
import type { BindingUtilRegistry } from "../bindings/bindingUtilRegistry";
|
|
3
3
|
import type { StoreSnapshot } from "../../store/index";
|
|
4
4
|
import { type DocumentRecord, type SessionRecord } from "./records";
|
|
5
|
-
export type DocumentSnapshot = StoreSnapshot<DocumentRecord,
|
|
5
|
+
export type DocumentSnapshot = StoreSnapshot<DocumentRecord, 4>;
|
|
6
6
|
export type SessionSnapshot = StoreSnapshot<SessionRecord, 1>;
|
|
7
7
|
export declare class SnapshotParseError extends Error {
|
|
8
8
|
constructor(message: string);
|
|
9
9
|
}
|
|
10
|
-
declare const CURRENT_DOCUMENT_SNAPSHOT_VERSION:
|
|
10
|
+
declare const CURRENT_DOCUMENT_SNAPSHOT_VERSION: 4;
|
|
11
11
|
declare const CURRENT_SESSION_SNAPSHOT_VERSION: 1;
|
|
12
12
|
export declare function getSnapshotEnvelope(snapshot: unknown, kind: "document"): {
|
|
13
13
|
schemaVersion: typeof CURRENT_DOCUMENT_SNAPSHOT_VERSION;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Editor } from "../editor/editor";
|
|
2
|
+
import { Box } from "../geometry/box";
|
|
3
|
+
import type { ShapeRecordBase } from "../schema/records";
|
|
4
|
+
export declare const SHAPE_HEADING_COUNTER_SCALE_LIMIT = 3.5;
|
|
5
|
+
export type ShapeHeadingSide = 0 | 1 | 2 | 3;
|
|
6
|
+
export declare function getShapeHeadingCounterScale(zoom: number): number;
|
|
7
|
+
export declare function getShapeHeadingSide(pageRotation: number): ShapeHeadingSide;
|
|
8
|
+
export declare function getShapeHeadingPositionedHitBounds({ bodyHeight, bodyWidth, editor, headingHeight, shape, }: {
|
|
9
|
+
bodyHeight: number;
|
|
10
|
+
bodyWidth: number;
|
|
11
|
+
editor: Editor;
|
|
12
|
+
headingHeight: number;
|
|
13
|
+
shape: ShapeRecordBase;
|
|
14
|
+
}): Box;
|
|
15
|
+
export declare function getShapeHeadingMaxPointHitTestBounds({ bodyHeight, bodyWidth, headingHeight, shape, }: {
|
|
16
|
+
bodyHeight: number;
|
|
17
|
+
bodyWidth: number;
|
|
18
|
+
headingHeight: number;
|
|
19
|
+
shape: ShapeRecordBase;
|
|
20
|
+
}): Box;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Box } from "../geometry/box";
|
|
2
|
+
import type { Vec } from "../geometry/vec";
|
|
3
|
+
import type { ShapeRecord } from "../schema/records";
|
|
4
|
+
import type { ShapeGeometryInput, ShapePointHitTestInput } from "./shapeUtil";
|
|
5
|
+
export interface ShapeHitTestDecoration {
|
|
6
|
+
readonly id: string;
|
|
7
|
+
readonly subType: string;
|
|
8
|
+
getPointHitTestBounds(shape: ShapeRecord, input: ShapeGeometryInput): Box;
|
|
9
|
+
hitTest(shape: ShapeRecord, positionedPoint: Vec, input: ShapePointHitTestInput): boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare class ShapeHitTestDecorationRegistry {
|
|
12
|
+
private readonly ids;
|
|
13
|
+
private readonly registry;
|
|
14
|
+
register(decoration: ShapeHitTestDecoration): void;
|
|
15
|
+
get(subType: string | null): readonly ShapeHitTestDecoration[];
|
|
16
|
+
}
|
|
@@ -238,6 +238,9 @@ export declare abstract class ShapeUtil<S extends ShapeRecordBase = ShapeRecordB
|
|
|
238
238
|
getTerminalBindingPorts(shape: S, input: ShapeGeometryInput): readonly ShapeTerminalBindingPort[];
|
|
239
239
|
getTerminalBindingOutlines(shape: S, input: ShapeGeometryInput): readonly ShapeTerminalBindingOutline[];
|
|
240
240
|
canCopyToClipboard(_shape: S, _input: ShapeClipboardCopyInput): boolean;
|
|
241
|
+
isValidAfterBindingLoad(_shape: S, _input: {
|
|
242
|
+
editor: Editor;
|
|
243
|
+
}): boolean;
|
|
241
244
|
onEditEnd(_shape: S, _input: ShapeEditEndInput): ShapeEditEndResult | void;
|
|
242
245
|
hitTest(shape: S, positionedPoint: Vec, _input?: ShapePointHitTestInput): boolean;
|
|
243
246
|
hitTestBindingTarget(shape: S, positionedPoint: Vec, input?: ShapePointHitTestInput): boolean;
|