@weasel-js/core 1.9.2 → 1.9.4
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/CHANGELOG.md +393 -0
- package/README.md +2 -2
- package/dist/WeaselProvider.js +5 -5
- package/dist/affordances/composeAffordanceLayer.js +10 -20
- package/dist/affordances/composeAffordanceLayer.js.map +1 -1
- package/dist/affordances/cornerResize.js +25 -17
- package/dist/affordances/cornerResize.js.map +1 -1
- package/dist/affordances/hitAffordanceRegions.js +27 -20
- package/dist/affordances/hitAffordanceRegions.js.map +1 -1
- package/dist/affordances/rotationHandle.js +18 -18
- package/dist/affordances/rotationHandle.js.map +1 -1
- package/dist/animation/behaviors/momentum.js +93 -55
- package/dist/animation/behaviors/momentum.js.map +1 -1
- package/dist/animation/loop.js +10 -12
- package/dist/animation/loop.js.map +1 -1
- package/dist/animation/reflow.js +8 -8
- package/dist/animation/reflow.js.map +1 -1
- package/dist/animation/stagger.js +64 -56
- package/dist/animation/stagger.js.map +1 -1
- package/dist/animation/timeline/booking.js +62 -54
- package/dist/animation/timeline/booking.js.map +1 -1
- package/dist/animation/timeline/createTimeline.js +85 -76
- package/dist/animation/timeline/createTimeline.js.map +1 -1
- package/dist/animation/timeline/sampleTrack.js +13 -5
- package/dist/animation/timeline/sampleTrack.js.map +1 -1
- package/dist/animation/useAnimator.js +45 -35
- package/dist/animation/useAnimator.js.map +1 -1
- package/dist/animation/wrappers/animateLifecycle.js +31 -24
- package/dist/animation/wrappers/animateLifecycle.js.map +1 -1
- package/dist/animation/wrappers/animateOnSetPose.js +28 -26
- package/dist/animation/wrappers/animateOnSetPose.js.map +1 -1
- package/dist/animation/wrappers/instantPose.js +13 -0
- package/dist/animation/wrappers/instantPose.js.map +1 -0
- package/dist/{poseDescriptor-D-OH-tu5.d.ts → autoPoseDescriptor-Ct7yqivU.d.ts} +28 -3
- package/dist/barrel/chrome.js +16 -0
- package/dist/barrel/input.js +19 -0
- package/dist/barrel/interactions.js +42 -0
- package/dist/barrel/paint.js +18 -0
- package/dist/barrel/paths.js +19 -0
- package/dist/barrel/renderer.js +20 -0
- package/dist/barrel/routing.js +51 -0
- package/dist/barrel/text.js +18 -0
- package/dist/barrel/viewport.js +52 -0
- package/dist/builtins-DPcdghtB.d.ts +1223 -0
- package/dist/canvas/Canvas.js +363 -448
- package/dist/canvas/Canvas.js.map +1 -1
- package/dist/canvas/CanvasView.js +164 -165
- package/dist/canvas/CanvasView.js.map +1 -1
- package/dist/canvas/CursorCoordsHud.js +37 -32
- package/dist/canvas/CursorCoordsHud.js.map +1 -1
- package/dist/canvas/DrawCanvas.js +49 -43
- package/dist/canvas/DrawCanvas.js.map +1 -1
- package/dist/canvas/MinimapCanvas.js +26 -25
- package/dist/canvas/MinimapCanvas.js.map +1 -1
- package/dist/canvas/NodeShape.js +59 -377
- package/dist/canvas/NodeShape.js.map +1 -1
- package/dist/canvas/PickHud.js +50 -47
- package/dist/canvas/PickHud.js.map +1 -1
- package/dist/canvas/SceneCanvas/GestureDispatcherMounter.js +167 -0
- package/dist/canvas/SceneCanvas/GestureDispatcherMounter.js.map +1 -0
- package/dist/canvas/SceneCanvas/PointerProviderIfRoot.js +13 -13
- package/dist/canvas/SceneCanvas/StandardActionsRegistrar.js +67 -0
- package/dist/canvas/SceneCanvas/StandardActionsRegistrar.js.map +1 -0
- package/dist/canvas/SceneCanvas/ToolKeybindingsMounter.js +16 -0
- package/dist/canvas/SceneCanvas/ToolKeybindingsMounter.js.map +1 -0
- package/dist/canvas/SceneCanvas/coordTrace.js +10 -0
- package/dist/canvas/SceneCanvas/coordTrace.js.map +1 -0
- package/dist/canvas/SceneCanvas/defaultNodeProperties.js +146 -92
- package/dist/canvas/SceneCanvas/defaultNodeProperties.js.map +1 -1
- package/dist/canvas/SceneCanvas/defaultNodeRouting.js +9 -8
- package/dist/canvas/SceneCanvas/defaultNodeRouting.js.map +1 -1
- package/dist/canvas/SceneCanvas/features.js +1 -0
- package/dist/canvas/SceneCanvas/features.js.map +1 -1
- package/dist/canvas/SceneCanvas/isDev.js +12 -0
- package/dist/canvas/SceneCanvas/isDev.js.map +1 -0
- package/dist/canvas/SceneCanvas/poseGeometry.js +29 -28
- package/dist/canvas/SceneCanvas/poseGeometry.js.map +1 -1
- package/dist/canvas/SceneCanvas/poseRegistrars.js +13 -0
- package/dist/canvas/SceneCanvas/poseRegistrars.js.map +1 -0
- package/dist/canvas/SceneCanvas/props.js +38 -0
- package/dist/canvas/SceneCanvas/props.js.map +1 -0
- package/dist/canvas/SceneCanvas/useBuiltinShapeTools.js +21 -62
- package/dist/canvas/SceneCanvas/useBuiltinShapeTools.js.map +1 -1
- package/dist/canvas/SceneCanvas/useDispatcherOverlayLayer.js.map +1 -1
- package/dist/canvas/SceneCanvas/usePreviewGhostLayer.js +46 -48
- package/dist/canvas/SceneCanvas/usePreviewGhostLayer.js.map +1 -1
- package/dist/canvas/SceneCanvas/useSceneSelectTool.js +33 -33
- package/dist/canvas/SceneCanvas/useSceneSelectTool.js.map +1 -1
- package/dist/canvas/SceneCanvas.js +534 -788
- package/dist/canvas/SceneCanvas.js.map +1 -1
- package/dist/canvas/SceneViewCanvas.js +45 -43
- package/dist/canvas/SceneViewCanvas.js.map +1 -1
- package/dist/canvas/buildSceneLayer.js +91 -0
- package/dist/canvas/buildSceneLayer.js.map +1 -0
- package/dist/canvas/buildSceneTree.js +16 -19
- package/dist/canvas/buildSceneTree.js.map +1 -1
- package/dist/canvas/canvasRenderer.js +68 -52
- package/dist/canvas/canvasRenderer.js.map +1 -1
- package/dist/canvas/deps/changes.js +13 -0
- package/dist/canvas/deps/changes.js.map +1 -0
- package/dist/canvas/deps/editAnchors.js +28 -28
- package/dist/canvas/deps/insert.js +119 -91
- package/dist/canvas/deps/insert.js.map +1 -1
- package/dist/canvas/deps/slice.js +46 -45
- package/dist/canvas/deps/slice.js.map +1 -1
- package/dist/canvas/deps/textEdit.js +10 -9
- package/dist/canvas/deps/textEdit.js.map +1 -1
- package/dist/canvas/derivedPath.js +46 -23
- package/dist/canvas/derivedPath.js.map +1 -1
- package/dist/canvas/getNodeAtPoint.js +7 -7
- package/dist/canvas/getNodeAtPoint.js.map +1 -1
- package/dist/canvas/hud.module.js +1 -1
- package/dist/canvas/hud.module.js.map +1 -1
- package/dist/canvas/kitRequirements.js +2 -2
- package/dist/canvas/kitRequirements.js.map +1 -1
- package/dist/canvas/layerOrder.js +13 -6
- package/dist/canvas/layerOrder.js.map +1 -1
- package/dist/canvas/minimapMath.js +12 -10
- package/dist/canvas/minimapMath.js.map +1 -1
- package/dist/canvas/nodeShapes/derivedPainter.js +34 -0
- package/dist/canvas/nodeShapes/derivedPainter.js.map +1 -0
- package/dist/canvas/nodeShapes/imagePainter.js +87 -0
- package/dist/canvas/nodeShapes/imagePainter.js.map +1 -0
- package/dist/canvas/nodeShapes/memo.js +9 -0
- package/dist/canvas/nodeShapes/memo.js.map +1 -0
- package/dist/canvas/nodeShapes/nodePaint.js +57 -0
- package/dist/canvas/nodeShapes/nodePaint.js.map +1 -0
- package/dist/canvas/nodeShapes/pathPainter.js +38 -0
- package/dist/canvas/nodeShapes/pathPainter.js.map +1 -0
- package/dist/canvas/nodeShapes/poseBox.js +20 -0
- package/dist/canvas/nodeShapes/poseBox.js.map +1 -0
- package/dist/canvas/nodeShapes/rectFallbackPainter.js +38 -0
- package/dist/canvas/nodeShapes/rectFallbackPainter.js.map +1 -0
- package/dist/canvas/nodeShapes/shapePainter.js +72 -0
- package/dist/canvas/nodeShapes/shapePainter.js.map +1 -0
- package/dist/canvas/nodeShapes/textPainter.js +55 -0
- package/dist/canvas/nodeShapes/textPainter.js.map +1 -0
- package/dist/canvas/overlayRoleStrokes.js.map +1 -1
- package/dist/canvas/paintCull.js +10 -11
- package/dist/canvas/paintCull.js.map +1 -1
- package/dist/canvas/pickWalk.js +52 -63
- package/dist/canvas/pickWalk.js.map +1 -1
- package/dist/canvas/poseRotation.js +11 -23
- package/dist/canvas/poseRotation.js.map +1 -1
- package/dist/canvas/renderDebugSnapshot.js +5 -5
- package/dist/canvas/renderSceneToPixels.js +3 -1
- package/dist/canvas/renderSceneToPixels.js.map +1 -1
- package/dist/canvas/sceneAdapter.js +66 -148
- package/dist/canvas/sceneAdapter.js.map +1 -1
- package/dist/canvas/sceneClipboard.js +112 -0
- package/dist/canvas/sceneClipboard.js.map +1 -0
- package/dist/canvas/sceneSlotWiring.js +4 -4
- package/dist/canvas/sceneSlotWiring.js.map +1 -1
- package/dist/canvas/sceneViewRender.js +39 -40
- package/dist/canvas/sceneViewRender.js.map +1 -1
- package/dist/canvas/useCanvasRenderer.js +14 -6
- package/dist/canvas/useCanvasRenderer.js.map +1 -1
- package/dist/canvas/useCanvasView.js +58 -0
- package/dist/canvas/useCanvasView.js.map +1 -0
- package/dist/canvas/useFrameLoop.js +35 -26
- package/dist/canvas/useFrameLoop.js.map +1 -1
- package/dist/canvas/useSceneLayerList.js +21 -0
- package/dist/canvas/useSceneLayerList.js.map +1 -0
- package/dist/clipboard.d.ts +10 -6
- package/dist/clone.d.ts +4 -3
- package/dist/core/adapters/arrayAdapter.js +48 -39
- package/dist/core/adapters/arrayAdapter.js.map +1 -1
- package/dist/core/device/index.js +5 -4
- package/dist/core/device/useDeviceProfile.js +38 -44
- package/dist/core/device/useDeviceProfile.js.map +1 -1
- package/dist/core/device/watchDevicePixelRatio.js +17 -0
- package/dist/core/device/watchDevicePixelRatio.js.map +1 -0
- package/dist/core/fillInPoseFrame.js.map +1 -1
- package/dist/core/geometry/poseDescriptor.js +21 -19
- package/dist/core/geometry/poseDescriptor.js.map +1 -1
- package/dist/core/geometry/poseFrame.js +44 -0
- package/dist/core/geometry/poseFrame.js.map +1 -0
- package/dist/core/geometry/poseRotation.js.map +1 -1
- package/dist/core/geometry/regionHit.js +9 -10
- package/dist/core/geometry/regionHit.js.map +1 -1
- package/dist/core/geometry/unionBounds.js +31 -29
- package/dist/core/geometry/unionBounds.js.map +1 -1
- package/dist/core/isPlainObject.js +2 -11
- package/dist/core/ops/arrange.js +1 -0
- package/dist/core/ops/arrange.js.map +1 -1
- package/dist/core/ops/create.js +10 -5
- package/dist/core/ops/create.js.map +1 -1
- package/dist/core/ops/delete.js +12 -24
- package/dist/core/ops/delete.js.map +1 -1
- package/dist/core/ops/reorder/index.js +43 -40
- package/dist/core/ops/reorder/index.js.map +1 -1
- package/dist/core/ops/reorder/setChildOrder.js +34 -0
- package/dist/core/ops/reorder/setChildOrder.js.map +1 -0
- package/dist/core/paintKinds.js +5 -5
- package/dist/core/paintKinds.js.map +1 -1
- package/dist/core/scene/NodeProperties.js.map +1 -1
- package/dist/core/scene/appliedLog.js +37 -0
- package/dist/core/scene/appliedLog.js.map +1 -0
- package/dist/core/scene/arrivalWindow.js +101 -0
- package/dist/core/scene/arrivalWindow.js.map +1 -0
- package/dist/core/scene/derivedPath.js.map +1 -1
- package/dist/core/scene/historyFacade.js +84 -0
- package/dist/core/scene/historyFacade.js.map +1 -0
- package/dist/core/scene/kitOps.js +173 -0
- package/dist/core/scene/kitOps.js.map +1 -0
- package/dist/core/scene/layerStack.js +38 -0
- package/dist/core/scene/layerStack.js.map +1 -0
- package/dist/core/scene/lockGuard.js +37 -0
- package/dist/core/scene/lockGuard.js.map +1 -0
- package/dist/core/scene/nodeFnFields.js +5 -6
- package/dist/core/scene/nodeFnFields.js.map +1 -1
- package/dist/core/scene/nodeMemo.js +45 -19
- package/dist/core/scene/nodeMemo.js.map +1 -1
- package/dist/core/scene/nodeStore.js +126 -0
- package/dist/core/scene/nodeStore.js.map +1 -0
- package/dist/core/scene/pickability.js +6 -0
- package/dist/core/scene/pickability.js.map +1 -0
- package/dist/core/scene/poseFeed.js +38 -38
- package/dist/core/scene/poseFeed.js.map +1 -1
- package/dist/core/scene/poseOverrides.js +34 -38
- package/dist/core/scene/poseOverrides.js.map +1 -1
- package/dist/core/scene/renderOrder.js +84 -0
- package/dist/core/scene/renderOrder.js.map +1 -0
- package/dist/core/scene/scene.js +289 -866
- package/dist/core/scene/scene.js.map +1 -1
- package/dist/core/scene/serialization.js +68 -0
- package/dist/core/scene/serialization.js.map +1 -0
- package/dist/core/scene/treeOrder.js +13 -0
- package/dist/core/scene/treeOrder.js.map +1 -0
- package/dist/core/scene/types.js.map +1 -1
- package/dist/core/viewport/meanScale.js +1 -1
- package/dist/core/viewport/meanScale.js.map +1 -1
- package/dist/core/viewport/view.js +12 -12
- package/dist/core/viewport/view.js.map +1 -1
- package/dist/core/viewport/zoomBounds.js +10 -8
- package/dist/core/viewport/zoomBounds.js.map +1 -1
- package/dist/{cornerHandles-BCrDp_mH.d.ts → cornerHandles-CtCb8a3G.d.ts} +1 -1
- package/dist/debug/createDebugOverlayLayer.js +14 -14
- package/dist/debug/createDebugOverlayLayer.js.map +1 -1
- package/dist/debug/flag.js +2 -41
- package/dist/features/chrome-caps/useHoverTracking.js +22 -17
- package/dist/features/chrome-caps/useHoverTracking.js.map +1 -1
- package/dist/features/focus/gateLayer.js +3 -4
- package/dist/features/focus/gateLayer.js.map +1 -1
- package/dist/features/images/imageCache.js +19 -9
- package/dist/features/images/imageCache.js.map +1 -1
- package/dist/features/ingestion/contentHandlers.js +14 -11
- package/dist/features/ingestion/contentHandlers.js.map +1 -1
- package/dist/features/ingestion/index.js +1 -1
- package/dist/features/ingestion/registerKitHandlers.js +7 -7
- package/dist/features/ingestion/weaselJsonHandler.js +17 -14
- package/dist/features/ingestion/weaselJsonHandler.js.map +1 -1
- package/dist/features/meshPaint/lazyKind.js +201 -35
- package/dist/features/meshPaint/lazyKind.js.map +1 -1
- package/dist/features/meshPaint/meshPaint.js +82 -79
- package/dist/features/meshPaint/meshPaint.js.map +1 -1
- package/dist/features/minimap/createMinimapContribution.js +42 -42
- package/dist/features/minimap/layers.js +44 -62
- package/dist/features/minimap/layers.js.map +1 -1
- package/dist/features/parallax/createParallaxPlane.js +10 -14
- package/dist/features/parallax/createParallaxPlane.js.map +1 -1
- package/dist/features/paths/anchorEdits.js +19 -8
- package/dist/features/paths/anchorEdits.js.map +1 -1
- package/dist/features/paths/anchors.js +31 -26
- package/dist/features/paths/anchors.js.map +1 -1
- package/dist/features/paths/booleans.js +2 -2
- package/dist/features/paths/index.js +13 -11
- package/dist/features/paths/markerCommands.js +37 -36
- package/dist/features/paths/markerCommands.js.map +1 -1
- package/dist/features/paths/pathInWorld.js +19 -19
- package/dist/features/paths/pathInWorld.js.map +1 -1
- package/dist/features/paths/pathLayer.js.map +1 -1
- package/dist/features/paths/strokeToPath.js +40 -0
- package/dist/features/paths/strokeToPath.js.map +1 -0
- package/dist/features/paths/tessellate/stroke.js.map +1 -1
- package/dist/features/patterns/commandPaint.js +18 -0
- package/dist/features/patterns/commandPaint.js.map +1 -0
- package/dist/features/patterns/index.js +5 -17
- package/dist/features/patterns/index.js.map +1 -1
- package/dist/features/patterns/rasterizeTile.js +17 -0
- package/dist/features/patterns/rasterizeTile.js.map +1 -0
- package/dist/features/patterns/resolveSpec.js +52 -44
- package/dist/features/patterns/resolveSpec.js.map +1 -1
- package/dist/features/poseRun/usePoseRun.js +8 -3
- package/dist/features/poseRun/usePoseRun.js.map +1 -1
- package/dist/features/selection/SelectionContext.js +5 -0
- package/dist/features/selection/SelectionContext.js.map +1 -1
- package/dist/features/selection/overlay.js +18 -18
- package/dist/features/selection/overlay.js.map +1 -1
- package/dist/features/text/domOffsets.js +82 -0
- package/dist/features/text/domOffsets.js.map +1 -0
- package/dist/features/text/domRuns.js +103 -131
- package/dist/features/text/domRuns.js.map +1 -1
- package/dist/features/text/hitTest.js +5 -2
- package/dist/features/text/hitTest.js.map +1 -1
- package/dist/features/text/isTextData.js +8 -0
- package/dist/features/text/isTextData.js.map +1 -0
- package/dist/features/text/overlayDirection.js +15 -0
- package/dist/features/text/overlayDirection.js.map +1 -0
- package/dist/features/text/runs/rangeStyle.js +32 -34
- package/dist/features/text/runs/rangeStyle.js.map +1 -1
- package/dist/features/text/textCommand.js +34 -33
- package/dist/features/text/textCommand.js.map +1 -1
- package/dist/features/text/textToPath.js +40 -40
- package/dist/features/text/textToPath.js.map +1 -1
- package/dist/features/text/useSceneTextEdit.js +76 -82
- package/dist/features/text/useSceneTextEdit.js.map +1 -1
- package/dist/features/text/useTextEdit.js +184 -160
- package/dist/features/text/useTextEdit.js.map +1 -1
- package/dist/features/tiling/createTiledLayer.js +24 -22
- package/dist/features/tiling/createTiledLayer.js.map +1 -1
- package/dist/index.d.ts +11010 -7700
- package/dist/index.js +316 -309
- package/dist/input/keyState.js +42 -43
- package/dist/input/keyState.js.map +1 -1
- package/dist/input/useKeyModifiers.js +11 -0
- package/dist/input/useKeyModifiers.js.map +1 -0
- package/dist/interactions/actions/align/align.js +8 -8
- package/dist/interactions/actions/clipboard/clipboardOps.js +34 -32
- package/dist/interactions/actions/clipboard/clipboardOps.js.map +1 -1
- package/dist/interactions/actions/clipboard/materializePaste.js +10 -7
- package/dist/interactions/actions/clipboard/materializePaste.js.map +1 -1
- package/dist/interactions/actions/clipboard/wireFormat.js.map +1 -1
- package/dist/interactions/actions/clone/behaviors/cloneByAltDrag.js.map +1 -1
- package/dist/interactions/actions/defaultCommitAdapter.js +20 -18
- package/dist/interactions/actions/defaultCommitAdapter.js.map +1 -1
- package/dist/interactions/actions/defaults/align.js +9 -10
- package/dist/interactions/actions/defaults/align.js.map +1 -1
- package/dist/interactions/actions/defaults/anchorEditing.js +59 -81
- package/dist/interactions/actions/defaults/anchorEditing.js.map +1 -1
- package/dist/interactions/actions/defaults/areaSelect.js +35 -38
- package/dist/interactions/actions/defaults/areaSelect.js.map +1 -1
- package/dist/interactions/actions/defaults/clipboard.js +26 -10
- package/dist/interactions/actions/defaults/clipboard.js.map +1 -1
- package/dist/interactions/actions/defaults/clone.js +44 -60
- package/dist/interactions/actions/defaults/clone.js.map +1 -1
- package/dist/interactions/actions/defaults/copySubtree.js +40 -0
- package/dist/interactions/actions/defaults/copySubtree.js.map +1 -0
- package/dist/interactions/actions/defaults/distribute.js +14 -13
- package/dist/interactions/actions/defaults/distribute.js.map +1 -1
- package/dist/interactions/actions/defaults/duplicate.js +17 -57
- package/dist/interactions/actions/defaults/duplicate.js.map +1 -1
- package/dist/interactions/actions/defaults/editAnchors.js +18 -18
- package/dist/interactions/actions/defaults/enterTextEdit.js.map +1 -1
- package/dist/interactions/actions/defaults/flip.js +52 -46
- package/dist/interactions/actions/defaults/flip.js.map +1 -1
- package/dist/interactions/actions/defaults/group.js +43 -48
- package/dist/interactions/actions/defaults/group.js.map +1 -1
- package/dist/interactions/actions/defaults/ingest.js +35 -33
- package/dist/interactions/actions/defaults/ingest.js.map +1 -1
- package/dist/interactions/actions/defaults/insert.js +50 -51
- package/dist/interactions/actions/defaults/insert.js.map +1 -1
- package/dist/interactions/actions/defaults/insertPathAnchor.js +7 -7
- package/dist/interactions/actions/defaults/lassoSelect.js +67 -70
- package/dist/interactions/actions/defaults/lassoSelect.js.map +1 -1
- package/dist/interactions/actions/defaults/move.js +267 -249
- package/dist/interactions/actions/defaults/move.js.map +1 -1
- package/dist/interactions/actions/defaults/nudge.js +40 -68
- package/dist/interactions/actions/defaults/nudge.js.map +1 -1
- package/dist/interactions/actions/defaults/nudgeSteps.js +37 -0
- package/dist/interactions/actions/defaults/nudgeSteps.js.map +1 -0
- package/dist/interactions/actions/defaults/reorder.js +2 -0
- package/dist/interactions/actions/defaults/reorder.js.map +1 -1
- package/dist/interactions/actions/defaults/resize.js +104 -98
- package/dist/interactions/actions/defaults/resize.js.map +1 -1
- package/dist/interactions/actions/defaults/rotate.js +111 -110
- package/dist/interactions/actions/defaults/rotate.js.map +1 -1
- package/dist/interactions/actions/defaults/setFill.js +7 -7
- package/dist/interactions/actions/defaults/setFillOpacity.js +4 -4
- package/dist/interactions/actions/defaults/setStroke.js +12 -12
- package/dist/interactions/actions/defaults/setStrokeOpacity.js +6 -6
- package/dist/interactions/actions/defaults/sliceOps.js +19 -19
- package/dist/interactions/actions/defaults/viewportDragPan.js +37 -26
- package/dist/interactions/actions/defaults/viewportDragPan.js.map +1 -1
- package/dist/interactions/actions/edit-anchors/geometry.js +28 -23
- package/dist/interactions/actions/edit-anchors/geometry.js.map +1 -1
- package/dist/interactions/actions/flip/helpers.js +30 -17
- package/dist/interactions/actions/flip/helpers.js.map +1 -1
- package/dist/interactions/actions/hitSelection.js +8 -0
- package/dist/interactions/actions/hitSelection.js.map +1 -0
- package/dist/interactions/actions/lasso-select/behaviors/selectFromLasso.js +14 -18
- package/dist/interactions/actions/lasso-select/behaviors/selectFromLasso.js.map +1 -1
- package/dist/interactions/actions/move/behaviors/snapBackOrDelete.js +5 -5
- package/dist/interactions/actions/move/behaviors/snapBackOrDelete.js.map +1 -1
- package/dist/interactions/actions/move/behaviors/snapToContainer.js +32 -21
- package/dist/interactions/actions/move/behaviors/snapToContainer.js.map +1 -1
- package/dist/interactions/actions/move/gestureAdapter.js +32 -15
- package/dist/interactions/actions/move/gestureAdapter.js.map +1 -1
- package/dist/interactions/actions/move/landedDescendants.js +33 -0
- package/dist/interactions/actions/move/landedDescendants.js.map +1 -0
- package/dist/interactions/actions/outlines/createOutlines.js +18 -18
- package/dist/interactions/actions/poseDescriptorDep.js +16 -4
- package/dist/interactions/actions/poseDescriptorDep.js.map +1 -1
- package/dist/interactions/actions/poseFrame.js +11 -6
- package/dist/interactions/actions/poseFrame.js.map +1 -1
- package/dist/interactions/actions/previewOverrides.js +5 -5
- package/dist/interactions/actions/previewOverrides.js.map +1 -1
- package/dist/interactions/actions/selectionSubtree.js +69 -0
- package/dist/interactions/actions/selectionSubtree.js.map +1 -0
- package/dist/interactions/actions/useStandardActions.js +66 -62
- package/dist/interactions/actions/useStandardActions.js.map +1 -1
- package/dist/interactions/gestures/dragGesture/dragGesture.js +4 -7
- package/dist/interactions/gestures/dragGesture/dragGesture.js.map +1 -1
- package/dist/interactions/gestures/dragGesture/dragPointOf.js +23 -0
- package/dist/interactions/gestures/dragGesture/dragPointOf.js.map +1 -0
- package/dist/interactions/gestures/handleDrag/handleDrag.js +21 -26
- package/dist/interactions/gestures/handleDrag/handleDrag.js.map +1 -1
- package/dist/interactions/gestures/pointerDrag/pointerDrag.js +8 -6
- package/dist/interactions/gestures/pointerDrag/pointerDrag.js.map +1 -1
- package/dist/interactions/gestures/thresholdDrag/thresholdDrag.js +8 -4
- package/dist/interactions/gestures/thresholdDrag/thresholdDrag.js.map +1 -1
- package/dist/{math-Drrw4ewZ.d.ts → math-J-ACHyEg.d.ts} +1 -2
- package/dist/math.d.ts +2 -3
- package/dist/move.d.ts +12 -11
- package/dist/{originProjection-DEklpDc_.d.ts → originProjection-gHnOup4e.d.ts} +1 -1
- package/dist/{registerProgram-BMZRDgrh.d.ts → registerProgram-T9S_PfAX.d.ts} +18 -7
- package/dist/renderer/DrawCommand.js.map +1 -1
- package/dist/renderer/WeaselRenderer.js +75 -73
- package/dist/renderer/WeaselRenderer.js.map +1 -1
- package/dist/renderer/cache/GLImageCache.js +15 -5
- package/dist/renderer/cache/GLImageCache.js.map +1 -1
- package/dist/renderer/cache/GLMeshCache.js +23 -23
- package/dist/renderer/cache/GLMeshCache.js.map +1 -1
- package/dist/renderer/cache/GLTextureCache.js +18 -1
- package/dist/renderer/cache/GLTextureCache.js.map +1 -1
- package/dist/renderer/cache/cache.js.map +1 -1
- package/dist/renderer/cache/markerCommandCache.js.map +1 -1
- package/dist/renderer/cache/strokeMeshCache.js.map +1 -1
- package/dist/renderer/cullDrawCommands.js +11 -11
- package/dist/renderer/draw/batch.js +133 -0
- package/dist/renderer/draw/batch.js.map +1 -0
- package/dist/renderer/draw/clip.js +89 -0
- package/dist/renderer/draw/clip.js.map +1 -0
- package/dist/renderer/draw/customShader.js +230 -0
- package/dist/renderer/draw/customShader.js.map +1 -0
- package/dist/renderer/draw/drawTriangles.js +8 -0
- package/dist/renderer/draw/drawTriangles.js.map +1 -0
- package/dist/renderer/draw/effects.js +28 -0
- package/dist/renderer/draw/effects.js.map +1 -0
- package/dist/renderer/draw/flushBatch.js +35 -0
- package/dist/renderer/draw/flushBatch.js.map +1 -0
- package/dist/renderer/draw/gradient.js +90 -0
- package/dist/renderer/draw/gradient.js.map +1 -0
- package/dist/renderer/draw/image.js +38 -0
- package/dist/renderer/draw/image.js.map +1 -0
- package/dist/renderer/draw/mesh.js +16 -0
- package/dist/renderer/draw/mesh.js.map +1 -0
- package/dist/renderer/draw/paintBind.js +70 -0
- package/dist/renderer/draw/paintBind.js.map +1 -0
- package/dist/renderer/draw/pathPaint.js +142 -0
- package/dist/renderer/draw/pathPaint.js.map +1 -0
- package/dist/renderer/draw/scratchPass.js +83 -0
- package/dist/renderer/draw/scratchPass.js.map +1 -0
- package/dist/renderer/draw/stencil.js +28 -0
- package/dist/renderer/draw/stencil.js.map +1 -0
- package/dist/renderer/draw/text.js +167 -0
- package/dist/renderer/draw/text.js.map +1 -0
- package/dist/renderer/draw/uniforms.js +77 -0
- package/dist/renderer/draw/uniforms.js.map +1 -0
- package/dist/renderer/draw.js +60 -1116
- package/dist/renderer/draw.js.map +1 -1
- package/dist/renderer/effects/EffectTargets.js +3 -0
- package/dist/renderer/effects/EffectTargets.js.map +1 -1
- package/dist/renderer/effects/composite.js +7 -5
- package/dist/renderer/effects/composite.js.map +1 -1
- package/dist/renderer/index.js +18 -17
- package/dist/renderer/math/color.js +63 -83
- package/dist/renderer/math/color.js.map +1 -1
- package/dist/renderer/math/mat3.js +15 -11
- package/dist/renderer/math/mat3.js.map +1 -1
- package/dist/renderer/math/viewToMat3.js +1 -1
- package/dist/renderer/math/viewToMat3.js.map +1 -1
- package/dist/renderer/shaders/ShaderProgram.js +13 -13
- package/dist/renderer/shaders/ShaderProgram.js.map +1 -1
- package/dist/renderer/shaders/glyphPaint.js +3 -3
- package/dist/renderer/shaders/glyphPaint.js.map +1 -1
- package/dist/renderer/shaders/gradFill.js +2 -1
- package/dist/renderer/shaders/gradFill.js.map +1 -1
- package/dist/renderer/shaders/pathFill.js +2 -1
- package/dist/renderer/shaders/pathFill.js.map +1 -1
- package/dist/renderer/shaders/patternFill.js +2 -1
- package/dist/renderer/shaders/patternFill.js.map +1 -1
- package/dist/renderer/shaders/registerProgram.js.map +1 -1
- package/dist/renderer/strokeLengths.js.map +1 -1
- package/dist/renderer/textures/registerTexture.js +25 -5
- package/dist/renderer/textures/registerTexture.js.map +1 -1
- package/dist/renderer.d.ts +16 -15
- package/dist/renderer.js +17 -16
- package/dist/resize.d.ts +5 -6
- package/dist/resize.js +5 -5
- package/dist/style.css +1 -1
- package/dist/test-hook/install.js +12 -6
- package/dist/test-hook/install.js.map +1 -1
- package/dist/{test-seams-CuIxe0xY.d.ts → test-seams-DM2B87-g.d.ts} +4 -4
- package/dist/test-seams.d.ts +2 -2
- package/dist/tools/builtin/ellipse/useEllipseTool.js +1 -0
- package/dist/tools/builtin/ellipse/useEllipseTool.js.map +1 -1
- package/dist/tools/builtin/hand/useHandTool.js +1 -0
- package/dist/tools/builtin/hand/useHandTool.js.map +1 -1
- package/dist/tools/builtin/lasso/useLassoTool.js +11 -11
- package/dist/tools/builtin/lasso/useLassoTool.js.map +1 -1
- package/dist/tools/builtin/line/useLineTool.js +1 -0
- package/dist/tools/builtin/line/useLineTool.js.map +1 -1
- package/dist/tools/builtin/pen/usePenTool.js +153 -103
- package/dist/tools/builtin/pen/usePenTool.js.map +1 -1
- package/dist/tools/builtin/pencil/usePencilTool.js +1 -0
- package/dist/tools/builtin/pencil/usePencilTool.js.map +1 -1
- package/dist/tools/builtin/polygon/usePolygonTool.js +13 -8
- package/dist/tools/builtin/polygon/usePolygonTool.js.map +1 -1
- package/dist/tools/builtin/rect/useRectTool.js +1 -0
- package/dist/tools/builtin/rect/useRectTool.js.map +1 -1
- package/dist/tools/builtin/select/selectionContributions.js +24 -23
- package/dist/tools/builtin/select/selectionContributions.js.map +1 -1
- package/dist/tools/builtin/select/useSelectTool.js +51 -48
- package/dist/tools/builtin/select/useSelectTool.js.map +1 -1
- package/dist/tools/builtin/shared/pointerFollower.js +17 -0
- package/dist/tools/builtin/shared/pointerFollower.js.map +1 -0
- package/dist/tools/builtin/slice/useSliceTool.js +49 -54
- package/dist/tools/builtin/slice/useSliceTool.js.map +1 -1
- package/dist/tools/builtin/star/useStarTool.js +22 -16
- package/dist/tools/builtin/star/useStarTool.js.map +1 -1
- package/dist/tools/builtin/text/useTextTool.js +13 -2
- package/dist/tools/builtin/text/useTextTool.js.map +1 -1
- package/dist/tools/useKeybindings.js +14 -30
- package/dist/tools/useKeybindings.js.map +1 -1
- package/dist/{types-B_9g6hMM.d.ts → types-B4iJRHC3.d.ts} +5 -1
- package/dist/{types-A37hYkeR.d.ts → types-k-5Oqh-U.d.ts} +31 -7
- package/dist/util/color.js +3 -3
- package/dist/util/color.js.map +1 -1
- package/dist/util/paint.js.map +1 -1
- package/dist/version.js +1 -1
- package/package.json +20 -18
- package/dist/autoPoseDescriptor-vCdt55xm.d.ts +0 -27
- package/dist/builtins-C-VgUlWI.d.ts +0 -4514
- package/dist/core/isPlainObject.js.map +0 -1
- package/dist/debug/flag.js.map +0 -1
- package/dist/interactions/actions/defaults/freshNodeId.js +0 -10
- package/dist/interactions/actions/defaults/freshNodeId.js.map +0 -1
- package/dist/renderer/shaders/imageFill.js +0 -14
- package/dist/renderer/shaders/imageFill.js.map +0 -1
- package/dist/tools/prefs.js +0 -47
- package/dist/tools/prefs.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -3,312 +3,319 @@ import { hexToRgba as t, normalizeHex as n, parseColor as r, parseColorToRgba255
|
|
|
3
3
|
import { gradientForBounds as s, gradientGeometry as c, isGradientFill as l, sampleGradientStops as u, withGradientKind as d } from "./core/gradient.js";
|
|
4
4
|
import { mat3 as f } from "./renderer/math/mat3.js";
|
|
5
5
|
import { asPaint as p, getPaintKind as m, isPaintKindKnown as h, listGradientKinds as g, listPaintKinds as _, paintKindOf as v, paintKindRegistry as y, registerPaintKind as b, registerPaintKindLoader as x, switchGradientKind as S, warmPaintKinds as C } from "./core/paintKinds.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import { axisAlignedBounds as
|
|
68
|
-
import { RECT_POSE_DESCRIPTOR as
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import { UNION_OF_CHILDREN as
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import { DEFAULT_DEBUG_STROKES as
|
|
128
|
-
import { buildDebugOverlayCommands as
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import
|
|
148
|
-
import
|
|
149
|
-
import
|
|
150
|
-
import
|
|
151
|
-
import
|
|
152
|
-
import
|
|
153
|
-
import
|
|
154
|
-
import
|
|
155
|
-
import
|
|
156
|
-
import
|
|
157
|
-
import
|
|
158
|
-
import
|
|
159
|
-
import ya from "./
|
|
160
|
-
import ba from "./icons/
|
|
161
|
-
import
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import {
|
|
170
|
-
import {
|
|
171
|
-
import {
|
|
172
|
-
import {
|
|
173
|
-
import {
|
|
174
|
-
import {
|
|
175
|
-
import {
|
|
176
|
-
import {
|
|
177
|
-
import {
|
|
178
|
-
import {
|
|
179
|
-
import {
|
|
180
|
-
import {
|
|
181
|
-
import {
|
|
182
|
-
import {
|
|
183
|
-
import {
|
|
184
|
-
import {
|
|
185
|
-
import {
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
190
|
-
import
|
|
191
|
-
import
|
|
192
|
-
import
|
|
193
|
-
import
|
|
194
|
-
import
|
|
195
|
-
import
|
|
196
|
-
import
|
|
197
|
-
import
|
|
198
|
-
import
|
|
199
|
-
import
|
|
200
|
-
import
|
|
201
|
-
import
|
|
202
|
-
import
|
|
203
|
-
import
|
|
204
|
-
import
|
|
205
|
-
import {
|
|
206
|
-
import {
|
|
207
|
-
import {
|
|
208
|
-
import {
|
|
209
|
-
import {
|
|
210
|
-
import {
|
|
211
|
-
import {
|
|
212
|
-
import {
|
|
213
|
-
import {
|
|
214
|
-
import {
|
|
215
|
-
import {
|
|
216
|
-
import {
|
|
217
|
-
import {
|
|
218
|
-
import {
|
|
219
|
-
import {
|
|
220
|
-
import {
|
|
221
|
-
import {
|
|
222
|
-
import {
|
|
223
|
-
import {
|
|
224
|
-
import {
|
|
225
|
-
import {
|
|
226
|
-
import {
|
|
227
|
-
import {
|
|
228
|
-
import {
|
|
229
|
-
import {
|
|
230
|
-
import {
|
|
231
|
-
import {
|
|
232
|
-
import {
|
|
233
|
-
import {
|
|
234
|
-
import {
|
|
235
|
-
import {
|
|
236
|
-
import {
|
|
237
|
-
import {
|
|
238
|
-
import {
|
|
239
|
-
import {
|
|
240
|
-
import {
|
|
241
|
-
import {
|
|
242
|
-
import {
|
|
243
|
-
import {
|
|
244
|
-
import {
|
|
245
|
-
import {
|
|
246
|
-
import {
|
|
247
|
-
import {
|
|
248
|
-
import {
|
|
249
|
-
import {
|
|
250
|
-
import {
|
|
251
|
-
import {
|
|
252
|
-
import {
|
|
253
|
-
import {
|
|
254
|
-
import {
|
|
255
|
-
import {
|
|
256
|
-
import {
|
|
257
|
-
import {
|
|
258
|
-
import {
|
|
259
|
-
import {
|
|
260
|
-
import {
|
|
261
|
-
import {
|
|
262
|
-
import {
|
|
263
|
-
import {
|
|
264
|
-
import {
|
|
265
|
-
import {
|
|
266
|
-
import {
|
|
267
|
-
import {
|
|
268
|
-
import {
|
|
269
|
-
import {
|
|
270
|
-
import {
|
|
271
|
-
import {
|
|
272
|
-
import {
|
|
273
|
-
import {
|
|
274
|
-
import {
|
|
275
|
-
import {
|
|
276
|
-
import {
|
|
277
|
-
import {
|
|
278
|
-
import {
|
|
279
|
-
import {
|
|
280
|
-
import {
|
|
281
|
-
import {
|
|
282
|
-
import {
|
|
283
|
-
import {
|
|
284
|
-
import {
|
|
285
|
-
import {
|
|
286
|
-
import {
|
|
287
|
-
import {
|
|
288
|
-
import {
|
|
289
|
-
import {
|
|
290
|
-
import {
|
|
291
|
-
import {
|
|
292
|
-
import {
|
|
293
|
-
import {
|
|
294
|
-
import {
|
|
295
|
-
import {
|
|
296
|
-
import {
|
|
297
|
-
import {
|
|
298
|
-
import {
|
|
299
|
-
import {
|
|
300
|
-
import {
|
|
301
|
-
import {
|
|
302
|
-
import {
|
|
303
|
-
import {
|
|
304
|
-
import {
|
|
305
|
-
import {
|
|
306
|
-
import {
|
|
307
|
-
import {
|
|
308
|
-
import {
|
|
309
|
-
import {
|
|
310
|
-
import {
|
|
311
|
-
import {
|
|
312
|
-
import {
|
|
313
|
-
|
|
314
|
-
export { sr as ACTION_GLYPHS, pc as ALWAYS, lt as ANCHOR_HIT_BASE_PX, fm as ANGLE_RADIANS, Fa as AREA_SELECT_ID, as as AUTO_ORIGIN_PROJECTION, Jt as AUTO_POSE_DESCRIPTOR, Cp as ActionDisabledReason, Xp as ActionsProvider, el as ActionsProviderIfRoot, Zp as ActiveToolContextProvider, Qp as ActiveToolContextProviderIfRoot, kr as AlignBottomIcon, Ar as AlignCenterXIcon, jr as AlignCenterYIcon, Mr as AlignLeftIcon, Nr as AlignRightIcon, Pr as AlignTopIcon, ma as ArrowIcon, E as BUILTIN_MARKERS, yc as BUILTIN_TOOL_IDS, Yn as BringForwardIcon, Xn as BringToFrontIcon, ft as COARSE_TARGET_SCALE, cs as COMPOSITE_FEATURES, wp as CONTROL_SELECTOR, nn as CORNER_ANCHORS, Fc as CROSSHAIR_HALO, ym as CURSOR_ANGLE_STEPS, bm as CURSOR_MAX_CSS_PX, Em as CURVE_REPS, es as CanvasView, Xi as ColorOverrideRegistry, Zn as CopyIcon, ei as CreateOutlinesIcon, qr as CropIcon, jo as CursorCoordsHud, Qn as CutIcon, mc as DEFAULT_ALLOWED_CAPABILITIES, he as DEFAULT_ALPHA_DECAY, ge as DEFAULT_ALPHA_MIN, ji as DEFAULT_DEBUG_STROKES, Mi as DEFAULT_DEBUG_THEME, Bf as DEFAULT_DECORATION_METRICS, pt as DEFAULT_DEVICE_PROFILE, ai as DEFAULT_FILL_COLOR, zl as DEFAULT_FLATTEN_TOLERANCE, bc as DEFAULT_HANDLE_SIZE, Ea as DEFAULT_INK, J as DEFAULT_MAX_ZOOM, Y as DEFAULT_MIN_ZOOM, oi as DEFAULT_PALETTE, vo as DEFAULT_ROTATION_HANDLE_DISTANCE, si as DEFAULT_SHAPE_FILL, ci as DEFAULT_STROKE_COLOR, Vf as DEFAULT_TEXT_STYLE, _e as DEFAULT_VELOCITY_DECAY, Qa as DRAG_PAN_ID, Tp as DRAG_THRESHOLD_PX, cr as DeleteIcon, $p as DepRegistryProvider, tl as DepRegistryProviderIfRoot, Se as DeviceProfileProvider, Fr as DistributeHorizontalIcon, Ir as DistributeVerticalIcon, Jr as DivideIcon, kc as DrawCanvas, $n as DuplicateIcon, ud as EASINGS, ua as EllipseIcon, Yr as ExcludeIcon, fa as EyedropperIcon, Bc as FALLBACK_FIT_VIEW, ls as FEATURE_ACTION_IDS, er as FlipXIcon, tr as FlipYIcon, li as GHOST_STROKE, nr as GroupIcon, ut as HANDLE_BASE_PX, ba as HandIcon, nd as IDENTITY_JOINT, Te as IDENTITY_POSE_COMPOSITION, pm as IMPERIAL_INCHES, da as ImageIcon, em as InputScope, Xr as IntersectIcon, _n as KIT_SHAPE_KINDS, Ii as KIT_STANDARD_ACTION_IDS, ts as KIT_VERSIONS, js as LONG_PRESS_FEEDBACK_ID, Ep as LONG_PRESS_MS, ca as LassoIcon, pa as LineIcon, Hf as MARKDOWN_RUN_GRAMMAR, mm as METRIC_MM, Ac as MINIMAP_CENTER, jc as MINIMAP_PAN, yl as MIXED, Uc as MinimapCanvas, hc as NEVER, To as PAINTED_CURSOR_LAYER_ID, Zo as PATH_ANCHOR_CHROME_ID, Bl as PATH_C, Vl as PATH_CMD_LENGTHS, Hl as PATH_L, Ul as PATH_M, Wl as PATH_Q, Gl as PATH_Z, hm as PIXELS, rr as PasteIcon, Kl as PathBuilder, ya as PenIcon, _a as PencilIcon, Mo as PickHud, _r as PointerContextProvider, is as PointerProviderIfRoot, ha as PolygonIcon, os as RECT_ORIGIN_PROJECTION, Oe as RECT_POSE_COMPOSITION, Ht as RECT_POSE_DESCRIPTOR, ke as RIGID_POSE_COMPOSITION, Ut as ROTATED_POSE_DESCRIPTOR, dt as ROTATION_HANDLE_BASE_PX, la as RectIcon, lr as RedoIcon, us as SCENE_CANVAS_FEATURES, Uf as SCRIPT_METRICS, Ia as SELECTION_MOVE_ID, La as SELECTION_RESIZE_ID, Ra as SELECTION_ROTATE_ID, za as SELECTION_TRANSFORM_ID, vn as SHAPE_KINDS, Wf as SMALL_CAPS_SCALE, dd as SPRING_PRESETS, w as SPRITE_STRIDE, jf as STROKE_DASH_RATIOS, jt as SceneArrivalRefused, xc as SceneCanvas, Oc as SceneViewCanvas, sa as SelectIcon, Bo as SelectionContextProvider, Vo as SelectionContextProviderIfRoot, ir as SendBackwardIcon, ar as SendToBackIcon, ga as StarIcon, Zr as SubtractIcon, Ol as TEXT_EDIT_FONT_HOLD, ds as TOOL_DRIVEN_ACTION_IDS, ia as TOOL_PREF_KINDS, va as TextIcon, Hr as TextOutlinesError, hr as UNION_OF_CHILDREN, ur as UndoIcon, or as UngroupIcon, Qr as UnionIcon, xa as UnknownIcon, e as VERSION, Qi as VIEW_ANIMATION_KEY, Cs as WEASEL_CLIPBOARD_MIME, ws as WEASEL_CLIPBOARD_MIME_WEB, En as WHEEL_ZOOM_STEP, nl as WeaselProvider, tm as Yoke, X as ZOOM_FLOOR, cn as aabbCenter, Dp as actionBindings, Is as actionIs, Op as actionItems, Tt as actionShortcuts, Sr as alignDeltaFor, Cr as alignTargetBounds, Mf as alignedStrokeRect, Ls as always, Rs as and, Wu as animateLifecycle, Uu as animateOnSetPose, Wo as annulusSemiAxes, Kr as applyBooleanOp, $r as applyCreateOutlines, Vn as applyOpsTo, bl as applyStyleToRange, gn as areaSelectAction, Ba as areaSelectContribution, ju as arrayAdapter, At as asNodeId, p as asPaint, zt as axisAlignedBounds, xm as bakeCursor, Dm as bezierCubic, Om as bezierQuadratic, od as bindRig, rd as blendPoses, B as blur, ql as boundsOfPath, dc as buildChromeCtx, Ni as buildDebugOverlayCommands, kp as buildDepsFromRequires, gc as buildRuleCtx, Ec as buildSceneViewCommands, Ts as buildWeaselClipboardText, Gf as cachedLayoutRuns, Tr as canBringForward, zs as canHover, pf as canQueryLocalFonts, Er as canSendBackward, Bs as capabilityAll, Vs as capabilityIn, Hs as capabilityIs, Us as capabilityNot, fl as caretIndexAt, Mc as centerRootOn, hl as charOffsetToDomPosition, ns as checkRequirements, hs as circlePath, yt as clampView, bn as clearSelectionAction, Ap as clientToCanvas, dr as clipboardCopyAction, fr as clipboardCutAction, pr as clipboardPasteAction, Cn as cloneAction, zu as cloneByAltDrag, Ws as coarsePointer, cl as composeAffordanceLayer, Jl as composePath, Nf as composePatternTransform, Ae as composeRectPose, je as composeRigidPose, xo as composeSelectionPose, Ee as composeWorldPose, Vc as computeFitView, xt as computeFitViewport, Hc as computeIndicatorCommand, Vi as computeSliceOps, Dn as computeWheelAction, Gs as cond, to as constrainTo45, Pf as contrastLineColor, rn as cornerPoint, an as cornerResizeHandles, Fn as countPathAnchors, Fo as createArrangeOp, sl as createChildrenLayer, qo as createCornerResizeAffordance, Pi as createDebugOverlayLayer, xi as createDebugSink, xn as createDeleteOp, jp as createDepRegistry, Mp as createDispatcher, Au as createHistory, Sn as createInsertOp, Ct as createKeyState, Wc as createLinkedCursorContribution, Ms as createLongPressFeedbackContribution, Np as createLongPressStore, Kf as createMarkdownRenderer, Gc as createMinimapContribution, Dr as createMoveToIndexOp, Sc as createNodeProperties, Ns as createNodeRouting, Eo as createPaintedCursorLayer, Sm as createPaintedCursorState, fe as createParallaxLayer, de as createParallaxPlane, Qo as createPathAnchorAffordances, bs as createPathEditingOverlayLayer, Ll as createPathLayer, ys as createPenPreviewLayer, vr as createPointerStore, zc as createPoseFeed, Io as createPoseOverrides, qc as createRasterSession, zf as createReflectable, Gu as createReflowTransition, Or as createReorderOp, Lt as createReparentOp, Jo as createRotationAffordance, Lo as createScene, So as createSelectionHandlesLayer, Co as createSelectionOutlineLayer, wo as createSelectionOverlayLayer, Rt as createSetDataOp, Ml as createSetLayerOp, Nl as createSetLayoutOp, Pl as createSetPathOp, Un as createSetSelectionOp, jl as createSetTextOp, ve as createSimulation, Ju as createSlew, dl as createTextLayer, wi as createTilePattern, me as createTiledLayer, It as createTransformOp, wn as createVelocityTracker, ne as createViewResolver, te as createViewportLayer, Ic as crosshairRects, mf as cssFontFamily, hf as cssFontFamilyLoading, fd as cubicBezierEasing, R as cullDrawCommands, Cm as cursorFor, ui as cycleFill, Xu as cycleVertexColors, Ff as dashForStrokeStyle, Zc as debugSnapshotArgs, Yl as decomposePath, If as decomposePatternTransform, Me as decomposeRectPose, Ne as decomposeRigidPose, qf as decorationMetrics, pn as defaultCommitAdapter, mo as defaultDrawOne, ll as defaultLabelTextRenderer, Cc as defaultNodeProperties, Ps as defaultNodeRouting, ho as defaultPaintBounds, lc as defaultVisibilityRules, ta as defineTool, Le as definesFrame, Pp as deleteScratch, H as depsUnchanged, re as deriveParallaxView, Re as derivedDepOf, ze as derivedPose, _c as describeRule, Hn as dispatchApplyBatch, _i as dlog, Be as documentPose, gl as domPositionToCharOffset, _l as domToRuns, $a as dragPanContribution, U as drawLayers, W as drawOneLayer, vi as dwarn, pd as easeIn, md as easeInBack, hd as easeInBounce, gd as easeInCirc, _d as easeInCubic, vd as easeInElastic, yd as easeInExpo, bd as easeInOut, xd as easeInOutBack, Sd as easeInOutBounce, Cd as easeInOutCirc, wd as easeInOutCubic, Td as easeInOutElastic, Ed as easeInOutExpo, Dd as easeInOutQuad, Od as easeInOutQuart, kd as easeInOutQuint, Ad as easeInOutSine, jd as easeInQuad, Md as easeInQuart, Nd as easeInQuint, Pd as easeInSine, Fd as easeOut, Id as easeOutBack, Ld as easeOutBounce, Rd as easeOutCirc, zd as easeOutCubic, Bd as easeOutElastic, Vd as easeOutExpo, Hd as easeOutQuad, Ud as easeOutQuart, Wd as easeOutQuint, Gd as easeOutSine, Bn as editAnchorsAction, Zt as editingLayer, Ve as effectivePose, El as effectiveRangeStyle, Xl as ellipsePath, Es as embedWeaselMetadataInSvg, gf as enableLocalFontOutlines, mr as enterTextEditAction, Yo as enumerateAnchors, vc as evaluate, Fp as evaluateEnabled, Ds as extractWeaselClipboardFromSvg, Si as fillInPoseFrame, Ci as fillToBoundsFrame, Da as findNodeShape, Oa as findShapeBounds, ka as findShapeInk, Aa as findShapeSilhouette, ml as fitTextPose, ht as fitToBounds, _t as fitViewToBounds, gt as fitZoom, on as fixedCornerOf, Zl as flattenCubic, Ql as flattenCubicWithArcLen, fs as flattenPreviews, $l as flattenQuadratic, eu as flattenQuadraticWithArcLen, Ks as focused, _f as fontOutlineRegistry, vf as fontRegistry, Jf as fontString, Ge as forEachCoalesced, gm as formatUnit, I as frameRect, ie as fromPlane, il as gateLayer, Dt as gesturePlaneReader, Ot as gestureViewReader, qs as gesturing, ti as getAlpha01, Sa as getImageBitmap, D as getMarker, ja as getNodeShapes, m as getPaintKind, Ip as getScratch, Ke as getStylusData, s as gradientForBounds, c as gradientGeometry, yf as hasFontOutlines, Kd as hexToOklchDeg, t as hexToRgba, Go as hitAffordanceRegions, Iu as hitAnchor, sn as hitCornerHandle, yo as hitRotationHandle, Oo as hostAnchorCss, ko as hostAnchorRect, Js as hovering, Ys as hoveringSelected, qd as hslToSrgb, Ca as imageStatus, Qt as inPlane, wc as inferredNodeProperties, Fs as inferredNodeRouting, yn as insertAction, $t as insertLayer, $o as insertPreviewExtent, Jd as interpolateSrgb, Ki as interpolateView, Yf as isBoldWeight, aa as isBuiltinToolPref, bf as isCanvasFont, yi as isDebugEnabled, Lp as isEditableTarget, l as isGradientFill, Rp as isInControlWithin, G as isLayerPainted, K as isLayerVisible, h as isPaintKindKnown, Yt as isPathLike, Ti as isPatternSpec, Ie as isPlainObject, Xt as isRectPose, Xf as isSmallCapsLetter, wa as isVectorImageSrc, Et as keySpecShortcut, Gn as lassoSelectAction, xs as layoutArrivalHandler, Zf as layoutMarkdown, Qf as layoutRuns, $f as layoutTextPose, Yd as lerpColorArray, Xd as lerpOklab, Zd as lerpOklch, tu as linePath, Qd as linear, $d as linearSrgbToOklab, ef as linearToSrgb, xf as listFontOutlines, g as listGradientKinds, O as listMarkers, _ as listPaintKinds, zp as liveScope, Sf as loadFontOutlines, Ur as loadTextOutlines, qn as makePinchZoomAction, Nn as makeViewportWheelPanAction, jn as makeViewportZoomAction, ep as markdownToRuns, j as markerInset, M as markerKeyOf, k as markerRegistry, F as markerSites, f as mat3, Bp as matchesKeyBinding, Ze as meanScale, tp as measureText, np as measureTextBounds, rp as measuredWidth, ni as mergeAlphaFromPrev, ff as mergeContributions, Nc as minimapCenterAction, Pc as minimapPanAction, id as mirrorPose, al as modeDecorationLayer, Xs as modeIn, Zs as modeIs, Qs as modeNot, Vp as modeShortcutSpec, Hp as modeShortcuts, $s as modifierHeld, qu as momentum, tn as moveAction, ec as multiActive, Fl as nestedHitTester, tc as never, Cl as nodeHasFlag, n as normalizeHex, Q as normalizeView, Z as normalizeZoom, nc as not, ip as numericWeight, km as nurbs, tf as oklabToLinearSrgb, nf as oklabToOklch, rf as oklabToSrgbU8, af as oklchDegToHex, of as oklchToOklab, Va as onEmptyCanvas, Mt as opFactoryRegistry, As as openFilePicker, Up as openPointerSession, rc as or, Cf as outlineStatus, di as paintAlpha, v as paintKindOf, y as paintKindRegistry, fi as paintWithAlpha, pi as paintWithColor, r as parseColor, i as parseColorToRgba255, bi as parseDebugFlags, Os as parseWeaselClipboardText, Wp as pastDragThreshold, xl as patchRangeStyle, nu as pathCommandCoordCount, ru as pathContainsPoint, iu as pathContainsPolygon, au as pathContainsRect, ou as pathDistanceToPoint, Lr as pathDivide, Rr as pathExclude, su as pathFromD, Ln as pathInPoseFrame, Rn as pathInWorld, zr as pathIntersect, cu as pathIntersectsPolygon, lu as pathIntersectsRect, Rl as pathOriginProjection, qt as pathPoseDescriptor, uu as pathSignedArea, Br as pathSubtract, In as pathToAnchors, Vr as pathUnion, Pa as pickTopMostHit, Jn as pinchZoomAction, Jc as planPixelRender, ae as planeMap, oe as planeMatrix, se as planeToPlane, du as pointAlongPath, fu as pointInPath, ln as pointInRotatedRect, pl as pointInTextPose, Ko as pointRegionFrame, pu as polygonFromPoints, mu as polylineFromPoints, Wt as poseDescriptorForNode, He as poseRotationOf, oa as prefUnit, qe as pressureToWidth, $e as pxExtent, Zu as rainbowVertexColors, Dl as rangeWeight, $c as rasterToPng, De as rebaseLocalPose, Nt as rebuildOp, Rc as reconcileSpecs, un as rectCorners, ce as rectFromPlane, gs as rectMarkerPath, hu as rectPath, le as rectToPlane, wf as registerCanvasFont, Fi as registerContentHandler, z as registerEffect, Tf as registerFont, Ef as registerFontOutlines, A as registerMarker, Ma as registerNodeShape, Pt as registerOpFactory, b as registerPaintKind, x as registerPaintKindLoader, Ft as registeredOpNames, gu as regularPolygonPath, go as releaseCanvasRenderer, Qc as renderDebugSnapshot, ul as renderLabel, Kc as renderNeeds, Dc as renderSceneToCanvas, Yc as renderSceneToPixels, mn as resizeAction, ap as resolveAlign, a as resolveColor, wm as resolveCursor, Tm as resolveCursorTier, mt as resolveDeviceProfile, sf as resolveEasing, Ei as resolveFillPattern, N as resolveMarkerSize, ms as resolveOverlays, Gp as resolveParams, Di as resolvePatternSpec, ps as resolvePreviews, op as resolveRunFace, sp as resolveRuns, Lf as resolveScreenLength, ad as resolveSkeleton, xr as resolveSpatialReference, T as resolveStrokeWidth, cp as resolveTextStyle, _m as resolveUnit, uc as resolveVisibility, _u as reversePath, o as rgbaToHex, sd as rigidRigApply, hn as rotateAction, Do as rotateAroundAABBCenter, Ue as rotatePathAround, dn as rotatePoint, fn as rotatedRectCorners, Tc as rotationDegreesUnit, bo as rotationHandle, _s as roundRectPath, vl as runsToDom, lp as runsToMarkdown, up as runsToPlainText, u as sampleGradientStops, Yi as sampleTrack, rs as satisfiesRange, et as scaleDelta, vu as scalePathToBounds, Ro as sceneFromJSON, bt as sceneNodeClientRect, zo as sceneSelectionStore, No as sceneToAdapter, Kp as scopeBindings, qp as scratchKey, tt as screenAngleOf, Ye as screenToWorld, kt as screenTolerance, dp as scriptMetrics, fp as scriptMetricsFor, Wn as selectFromLasso, ic as selectionAtLeast, ac as selectionEmpty, oc as selectionIs, en as selectionLayer, Ha as selectionMoveBindings, Ua as selectionMoveContribution, Wa as selectionResizeBindings, Ga as selectionResizeContribution, Ka as selectionRotateBindings, qa as selectionRotateContribution, Ja as selectionTransformBindings, Ya as selectionTransformContribution, wl as setFlagOverRange, Jp as setScratch, Na as shapeCoversPoint, Yu as slewToward, Kn as sliceAction, pp as smallCapsScale, mp as smallCapsScaleFor, hp as smallCapsText, ss as snap, ks as sniffWeaselClipboardText, yu as snipPathByPolyline, mi as solid, Qu as solidVertexColors, cd as solveIk, Yp as specificity, Am as spiro, bu as splitPathByPolyline, xu as splitPathBySegment, Su as splitSubpaths, qi as springPose, $u as springVertexColors, vs as squarePath, cf as srgbFloatToOklab, lf as srgbToHsl, uf as srgbToLinear, df as srgbU8ToOklab, Qe as stableStringify, ed as staggerVertexColors, nt as standoff, Cu as starPath, ct as startThresholdDrag, Rf as strokeDashStyleOf, P as strokeInsets, hi as strokeOf, gi as strokeWith, Sl as styleAtRange, Df as subscribeGlyphReady, Ta as subscribeImageReady, q as subscribeToSources, S as switchGradientKind, Oi as textCommand, ki as textCommandFromPose, Ai as textCommandFromRuns, gp as textLineBoxes, _p as textPoseLayoutInput, Wr as textToPath, Gr as textToPathsByPaint, pe as tiledProject, ri as toHex8, ue as toPlane, vp as toRuns, wu as transformPath, yp as transformRunTexts, Tu as translatePath, Gt as translatePoseViaDescriptor, Pe as translateRectPose, xp as trimPolyline, Ji as tweenPose, td as tweenVertexColors, Tl as unboldPatch, Bt as unionAABB, Vt as unionBounds, Eu as unionBoundsPath, gr as unionOfChildren, Il as unionOfChildrenVia, vm as unitScale, Of as unregisterCanvasFont, kf as unregisterFontOutlines, nm as useAction, rm as useActionsRegistry, im as useActiveToolContext, wr as useAlign, Ku as useAnimatedReflow, Zi as useAnimator, Mu as useArrayAdapter, St as useAutoCenter, Bu as useBooleans, Vu as useBooleansAdapter, rl as useCanvasFocus, we as useCanvasSize, Lu as useClipboardOps, Hu as useCreateOutlinesAdapter, Gi as useDecayLoop, am as useDepRegistry, om as useDepSource, Ce as useDeviceProfile, Ru as useDistribute, Nu as useDragGesture, ot as useDragHandle, Fu as useDragRadial, Pu as useDragRect, st as useDropZone, io as useEllipseTool, oo as useEyedropperTool, sm as useGestureDispatcher, Du as useGradientKinds, Za as useHandTool, at as useHandleDrag, Ao as useHostAnchor, fc as useHoverTracking, ao as useImageTool, wt as useKeyState, ra as useKeybindings, co as useLassoTool, Sp as useLatest, Ss as useLayoutArrivals, so as useLineTool, We as useNodeOverlayFrame, cm as useOngoingAction, lm as useOptionalActiveToolContext, um as useOptionalDepRegistry, Ou as usePaintKind, ku as usePaintKinds, no as usePenTool, fo as usePencilTool, yr as usePointerContext, br as usePointerPosition, Je as usePointerStylus, lo as usePolygonTool, Bi as usePoseCompositionDepSource, zi as usePoseDescriptorDepSource, xe as usePoseRun, Ho as usePublishSelection, ro as useRectTool, Ri as useResizePolicy, ld as useRig, Lc as useScene, Po as useSceneAdapter, Al as useSceneTextEdit, Xa as useSelectTool, _o as useSelection, Uo as useSelectionContext, be as useSimulation, Hi as useSliceDep, Ui as useSliceDepSource, po as useSliceTool, Li as useStandardActions, uo as useStarTool, kl as useTextEdit, eo as useTextTool, na as useTools, Wi as useVelocityTracker, $i as useViewAnimation, ea as useViewAnimationOn, ye as useVisibleRaf, dm as useYoke, bp as verticalAlignOffset, L as viewToMat3, $ as viewToTransform, ee as viewZoom, Tn as viewportDragPanAction, Pn as viewportWheelPanAction, Mn as viewportZoomAction, V as vignette, Kt as visualBoundsViaDescriptor, Af as warmFonts, C as warmPaintKinds, Xc as warmRender, On as wheelPan, kn as wheelZoom, An as wheelZoomFactor, sc as when, ii as withAlpha01, Xo as withCoord, d as withGradientKind, rt as withinPxBox, it as withinPxRadius, ol as workspaceTintLayer, zn as worldEditToStorage, Fe as worldPoseLookup, Xe as worldToScreen, vt as zoomAt, cc as zoomAtLeast };
|
|
6
|
+
import { resolveStrokeWidth as w } from "./features/paths/tessellate/stroke.js";
|
|
7
|
+
import { BUILTIN_MARKERS as T } from "./core/strokeMarkerShapes.js";
|
|
8
|
+
import { getMarker as E, listMarkers as D, markerRegistry as O, registerMarker as k } from "./core/strokeMarkers.js";
|
|
9
|
+
import { markerInset as A, markerKeyOf as j, resolveMarkerSize as M, strokeInsets as N } from "./core/markerInset.js";
|
|
10
|
+
import { markerSites as P } from "./features/paths/markerSites.js";
|
|
11
|
+
import { fillInPoseFrame as F, fillToBoundsFrame as I } from "./core/fillInPoseFrame.js";
|
|
12
|
+
import { isPatternSpec as L, resolveFillPattern as R, resolvePatternSpec as z } from "./features/patterns/resolveSpec.js";
|
|
13
|
+
import { commandFill as B, commandStroke as V } from "./features/patterns/commandPaint.js";
|
|
14
|
+
import { SPRITE_STRIDE as H } from "./renderer/DrawCommand.js";
|
|
15
|
+
import { frameRect as U } from "./renderer/spriteSheet.js";
|
|
16
|
+
import { viewToMat3 as W } from "./renderer/math/viewToMat3.js";
|
|
17
|
+
import { cullDrawCommands as G } from "./renderer/cullDrawCommands.js";
|
|
18
|
+
import { registerEffect as K } from "./renderer/effects/types.js";
|
|
19
|
+
import { blur as q, vignette as J } from "./renderer/effects/builtins.js";
|
|
20
|
+
import { depsUnchanged as Y, drawLayers as X, drawOneLayer as Z, isLayerPainted as Q, isLayerVisible as $, subscribeToSources as ee } from "./core/layers/render.js";
|
|
21
|
+
import { meanScale as te } from "./core/viewport/meanScale.js";
|
|
22
|
+
import { DEFAULT_MAX_ZOOM as ne, DEFAULT_MIN_ZOOM as re, ZOOM_FLOOR as ie, normalizeZoom as ae } from "./core/viewport/zoomBounds.js";
|
|
23
|
+
import { normalizeView as oe, viewToTransform as se, viewZoom as ce } from "./core/viewport/view.js";
|
|
24
|
+
import { createViewportLayer as le } from "./features/viewports/viewportLayer.js";
|
|
25
|
+
import { createViewResolver as ue } from "./features/viewports/viewResolver.js";
|
|
26
|
+
import { deriveParallaxView as de, fromPlane as fe, planeMap as pe, planeMatrix as me, planeToPlane as he, rectFromPlane as ge, rectToPlane as _e, toPlane as ve } from "./core/viewport/parallax.js";
|
|
27
|
+
import { createParallaxPlane as ye } from "./features/parallax/createParallaxPlane.js";
|
|
28
|
+
import { createParallaxLayer as be } from "./features/parallax/createParallaxLayer.js";
|
|
29
|
+
import { tiledProject as xe } from "./features/tiling/tiledProject.js";
|
|
30
|
+
import { createTiledLayer as Se } from "./features/tiling/createTiledLayer.js";
|
|
31
|
+
import { DEFAULT_ALPHA_DECAY as Ce, DEFAULT_ALPHA_MIN as we, DEFAULT_VELOCITY_DECAY as Te } from "./features/simulation/types.js";
|
|
32
|
+
import { createSimulation as Ee } from "./features/simulation/createSimulation.js";
|
|
33
|
+
import { useVisibleRaf as De } from "./scheduling/useVisibleRaf.js";
|
|
34
|
+
import { useSimulation as Oe } from "./features/simulation/useSimulation.js";
|
|
35
|
+
import { usePoseRun as ke } from "./features/poseRun/usePoseRun.js";
|
|
36
|
+
import { watchDevicePixelRatio as Ae } from "./core/device/watchDevicePixelRatio.js";
|
|
37
|
+
import { DeviceProfileProvider as je, useDeviceProfile as Me } from "./core/device/useDeviceProfile.js";
|
|
38
|
+
import { useCanvasSize as Ne } from "./core/viewport/useCanvasSize.js";
|
|
39
|
+
import { IDENTITY_POSE_COMPOSITION as Pe, composeWorldPose as Fe, rebaseLocalPose as Ie } from "./core/scene/composeFrame.js";
|
|
40
|
+
import { RECT_POSE_COMPOSITION as Le, RIGID_POSE_COMPOSITION as Re, composeRectPose as ze, composeRigidPose as Be, decomposeRectPose as Ve, decomposeRigidPose as He, translateRectPose as Ue, worldPoseLookup as We } from "./features/groups/composePose.js";
|
|
41
|
+
import { isPlainObject as Ge } from "./core/isPlainObject.js";
|
|
42
|
+
import { definesFrame as Ke, derivedDepOf as qe, derivedPose as Je, documentPose as Ye, effectivePose as Xe } from "./core/scene/effectivePose.js";
|
|
43
|
+
import { poseRotationOf as Ze, rotatePathAround as Qe } from "./core/geometry/poseRotation.js";
|
|
44
|
+
import { useNodeOverlayFrame as $e } from "./features/overlays/useNodeOverlayFrame.js";
|
|
45
|
+
import { screenToWorld as et, worldToScreen as tt } from "./core/viewport/viewTransform.js";
|
|
46
|
+
import { stableStringify as nt } from "./core/stableStringify.js";
|
|
47
|
+
import { pxExtent as rt, scaleDelta as it, screenAngleOf as at, standoff as ot, withinPxBox as st, withinPxRadius as ct } from "./core/viewport/pxExtent.js";
|
|
48
|
+
import { useHandleDrag as lt } from "./interactions/gestures/handleDrag/handleDrag.js";
|
|
49
|
+
import { useDragHandle as ut, useDropZone as dt } from "./interactions/gestures/pointerDrag/pointerDrag.js";
|
|
50
|
+
import { startThresholdDrag as ft } from "./interactions/gestures/thresholdDrag/thresholdDrag.js";
|
|
51
|
+
import { ANCHOR_HIT_BASE_PX as pt, HANDLE_BASE_PX as mt, ROTATION_HANDLE_BASE_PX as ht } from "./core/device/targets.js";
|
|
52
|
+
import { COARSE_TARGET_SCALE as gt, DEFAULT_DEVICE_PROFILE as _t, resolveDeviceProfile as vt } from "./core/device/index.js";
|
|
53
|
+
import { fitToBounds as yt, fitZoom as bt } from "./core/viewport/fitToBounds.js";
|
|
54
|
+
import { fitViewToBounds as xt } from "./core/viewport/fitViewToBounds.js";
|
|
55
|
+
import { zoomAt as St } from "./core/viewport/zoomAt.js";
|
|
56
|
+
import { clampView as Ct } from "./core/viewport/clampView.js";
|
|
57
|
+
import { sceneNodeClientRect as wt } from "./core/viewport/sceneNodeClientRect.js";
|
|
58
|
+
import { computeFitViewport as Tt, useAutoCenter as Et } from "./core/viewport/useAutoCenter.js";
|
|
59
|
+
import { WHEEL_ZOOM_STEP as Dt, computeWheelAction as Ot, wheelPan as kt, wheelZoom as At, wheelZoomFactor as jt } from "./core/viewport/wheelHandler.js";
|
|
60
|
+
import { createVelocityTracker as Mt } from "./core/viewport/createVelocityTracker.js";
|
|
61
|
+
import { useVelocityTracker as Nt } from "./core/viewport/useVelocityTracker.js";
|
|
62
|
+
import { useDecayLoop as Pt } from "./core/viewport/useDecayLoop.js";
|
|
63
|
+
import { interpolateView as Ft } from "./core/viewport/interpolateView.js";
|
|
64
|
+
import { opFactoryRegistry as It, rebuildOp as Lt, registerOpFactory as Rt, registeredOpNames as zt } from "./core/ops/registry.js";
|
|
65
|
+
import { createTransformOp as Bt } from "./core/ops/transform.js";
|
|
66
|
+
import { pathThroughPoseFrame as Vt, poseFrameInverseOf as Ht, poseFrameOf as Ut, poseLinearOf as Wt } from "./core/geometry/poseFrame.js";
|
|
67
|
+
import { axisAlignedBounds as Gt, unionAABB as Kt, unionBounds as qt } from "./core/geometry/unionBounds.js";
|
|
68
|
+
import { RECT_POSE_DESCRIPTOR as Jt, ROTATED_POSE_DESCRIPTOR as Yt, poseDescriptorForNode as Xt, translatePoseViaDescriptor as Zt, visualBoundsViaDescriptor as Qt } from "./core/geometry/poseDescriptor.js";
|
|
69
|
+
import { springPose as $t, tweenPose as en } from "./animation/poseHelpers.js";
|
|
70
|
+
import { sampleTrack as tn } from "./animation/timeline/sampleTrack.js";
|
|
71
|
+
import { ColorOverrideRegistry as nn } from "./animation/colorRegistry.js";
|
|
72
|
+
import { useAnimator as rn } from "./animation/useAnimator.js";
|
|
73
|
+
import { VIEW_ANIMATION_KEY as an, useViewAnimation as on, useViewAnimationOn as sn } from "./core/viewport/useViewAnimation.js";
|
|
74
|
+
import { dlog as cn, dwarn as ln, isDebugEnabled as un } from "./debug/flag.js";
|
|
75
|
+
import { useSelection as dn } from "./core/selection/useSelection.js";
|
|
76
|
+
import { pathPoseDescriptor as fn } from "./features/paths/poseDescriptor.js";
|
|
77
|
+
import { AUTO_POSE_DESCRIPTOR as pn, isPathLike as mn, isRectPose as hn } from "./interactions/actions/resize/autoPoseDescriptor.js";
|
|
78
|
+
import { annulusSemiAxes as gn, hitAffordanceRegions as _n, pointRegionFrame as vn } from "./affordances/hitAffordanceRegions.js";
|
|
79
|
+
import { CORNER_ANCHORS as yn, cornerPoint as bn, cornerResizeHandles as xn, fixedCornerOf as Sn, hitCornerHandle as Cn } from "./interactions/actions/resize/cornerHandles.js";
|
|
80
|
+
import { createCornerResizeAffordance as wn } from "./affordances/cornerResize.js";
|
|
81
|
+
import { createRotationAffordance as Tn } from "./affordances/rotationHandle.js";
|
|
82
|
+
import { enumerateAnchors as En, withCoord as Dn } from "./interactions/actions/edit-anchors/geometry.js";
|
|
83
|
+
import { PATH_ANCHOR_CHROME_ID as On, createPathAnchorAffordances as kn } from "./affordances/pathAnchors.js";
|
|
84
|
+
import { insertPreviewExtent as An } from "./canvas/insertPreviewExtent.js";
|
|
85
|
+
import { CanvasView as jn } from "./canvas/CanvasView.js";
|
|
86
|
+
import { getImageBitmap as Mn, imageStatus as Nn, isVectorImageSrc as Pn, releaseImage as Fn, retryImage as In, subscribeImageReady as Ln } from "./features/images/imageCache.js";
|
|
87
|
+
import { releaseCanvasRenderer as Rn } from "./canvas/canvasRenderer.js";
|
|
88
|
+
import { rotateAroundAABBCenter as zn } from "./canvas/poseRotation.js";
|
|
89
|
+
import { getAlpha01 as Bn, mergeAlphaFromPrev as Vn, toHex8 as Hn, withAlpha01 as Un } from "./util/color.js";
|
|
90
|
+
import { DEFAULT_FILL_COLOR as Wn, DEFAULT_PALETTE as Gn, DEFAULT_SHAPE_FILL as Kn, DEFAULT_STROKE_COLOR as qn, GHOST_STROKE as Jn, cycleFill as Yn, paintAlpha as Xn, paintWithAlpha as Zn, paintWithColor as Qn, solid as $n, strokeOf as er, strokeWith as tr } from "./util/paint.js";
|
|
91
|
+
import { countPathAnchors as nr, pathToAnchors as rr } from "./features/paths/anchors.js";
|
|
92
|
+
import { pathInPoseFrame as ir, pathInWorld as ar, worldEditToStorage as or } from "./features/paths/pathInWorld.js";
|
|
93
|
+
import { textCommand as sr, textCommandFromPose as cr, textCommandFromRuns as lr } from "./features/text/textCommand.js";
|
|
94
|
+
import { DEFAULT_INK as ur, findNodeShape as dr, findShapeBounds as fr, findShapeInk as pr, findShapeSilhouette as mr, getNodeShapes as hr, registerNodeShape as gr, shapeCoversPoint as _r } from "./canvas/NodeShape.js";
|
|
95
|
+
import { asNodeId as vr } from "./core/scene/types.js";
|
|
96
|
+
import { defaultDrawOne as yr, defaultPaintBounds as br } from "./canvas/defaultDrawOne.js";
|
|
97
|
+
import { buildSceneViewCommands as xr, renderSceneToCanvas as Sr } from "./canvas/sceneViewRender.js";
|
|
98
|
+
import { SceneViewCanvas as Cr } from "./canvas/SceneViewCanvas.js";
|
|
99
|
+
import { DrawCanvas as wr } from "./canvas/DrawCanvas.js";
|
|
100
|
+
import { PointerContextProvider as Tr, createPointerStore as Er, usePointerContext as Dr, usePointerPosition as Or } from "./features/pointer/PointerContext.js";
|
|
101
|
+
import { PointerProviderIfRoot as kr } from "./canvas/SceneCanvas/PointerProviderIfRoot.js";
|
|
102
|
+
import { MINIMAP_CENTER as Ar, MINIMAP_PAN as jr, centerRootOn as Mr, minimapCenterAction as Nr, minimapPanAction as Pr } from "./features/minimap/actions.js";
|
|
103
|
+
import { createArrangeOp as Fr } from "./core/ops/arrange.js";
|
|
104
|
+
import { UNION_OF_CHILDREN as Ir, unionOfChildren as Lr } from "./core/scene/kitRegistry.js";
|
|
105
|
+
import { createPoseOverrides as Rr } from "./core/scene/poseOverrides.js";
|
|
106
|
+
import { SceneArrivalRefused as zr } from "./core/scene/arrivals.js";
|
|
107
|
+
import { createScene as Br, sceneFromJSON as Vr, sceneSelectionStore as Hr } from "./core/scene/scene.js";
|
|
108
|
+
import { useScene as Ur } from "./core/scene/useScene.js";
|
|
109
|
+
import { reconcileSpecs as Wr } from "./core/scene/reconcileSpecs.js";
|
|
110
|
+
import { createPoseFeed as Gr } from "./core/scene/poseFeed.js";
|
|
111
|
+
import { FALLBACK_FIT_VIEW as Kr, computeFitView as qr, computeIndicatorCommand as Jr } from "./canvas/minimapMath.js";
|
|
112
|
+
import { CROSSHAIR_HALO as Yr, crosshairRects as Xr } from "./features/minimap/layers.js";
|
|
113
|
+
import { MinimapCanvas as Zr } from "./canvas/MinimapCanvas.js";
|
|
114
|
+
import { createLinkedCursorContribution as Qr, createMinimapContribution as $r } from "./features/minimap/createMinimapContribution.js";
|
|
115
|
+
import { useCanvasFocus as ei } from "./features/focus/useCanvasFocus.js";
|
|
116
|
+
import { gateLayer as ti } from "./features/focus/gateLayer.js";
|
|
117
|
+
import { clientToCanvas as ni } from "./barrel/viewport.js";
|
|
118
|
+
import { forEachCoalesced as ri, getStylusData as ii, pressureToWidth as ai } from "./core/stylus/stylus.js";
|
|
119
|
+
import { usePointerStylus as oi } from "./core/stylus/usePointerStylus.js";
|
|
120
|
+
import { createKeyState as si } from "./input/keyState.js";
|
|
121
|
+
import { useKeyState as ci } from "./input/useKeyState.js";
|
|
122
|
+
import { useKeyModifiers as li } from "./input/useKeyModifiers.js";
|
|
123
|
+
import { LONG_PRESS_FEEDBACK_ID as ui, createLongPressFeedbackContribution as di } from "./features/longPress/longPressFeedback.js";
|
|
124
|
+
import { renderNeeds as fi } from "./canvas/renderNeeds.js";
|
|
125
|
+
import { createRasterSession as pi, planPixelRender as mi, renderSceneToPixels as hi, warmRender as gi } from "./canvas/renderSceneToPixels.js";
|
|
126
|
+
import { aabbCenter as _i, pointInRotatedRect as vi, rectCorners as yi, rotatePoint as bi, rotatedRectCorners as xi } from "./interactions/actions/rotate/geometry.js";
|
|
127
|
+
import { DEFAULT_DEBUG_STROKES as Si, DEFAULT_DEBUG_THEME as Ci } from "./debug/defaultTheme.js";
|
|
128
|
+
import { buildDebugOverlayCommands as wi, createDebugOverlayLayer as Ti } from "./debug/createDebugOverlayLayer.js";
|
|
129
|
+
import { debugSnapshotArgs as Ei, renderDebugSnapshot as Di } from "./canvas/renderDebugSnapshot.js";
|
|
130
|
+
import { rasterToPng as Oi } from "./canvas/rasterToPng.js";
|
|
131
|
+
import { ActionsProviderIfRoot as ki } from "./canvas/SceneCanvas/ActionsProviderIfRoot.js";
|
|
132
|
+
import { DepRegistryProviderIfRoot as Ai } from "./canvas/SceneCanvas/DepRegistryProviderIfRoot.js";
|
|
133
|
+
import { LONG_PRESS_MS as ji, activatesFocusedControl as Mi, createLongPressStore as Ni, historyKey as Pi, isEditableTarget as Fi, matchesKeyBinding as Ii } from "./barrel/input.js";
|
|
134
|
+
import { actionShortcuts as Li, keySpecShortcut as Ri } from "./interactions/actions/actionShortcuts.js";
|
|
135
|
+
import { gesturePlaneReader as zi, gestureViewReader as Bi, screenTolerance as Vi } from "./interactions/gestures/shared/screenTolerance.js";
|
|
136
|
+
import { createReparentOp as Hi } from "./core/ops/reparent.js";
|
|
137
|
+
import { createSetDataOp as Ui } from "./core/ops/setData.js";
|
|
138
|
+
import { editingLayer as Wi, inPlane as Gi, insertLayer as Ki, selectionLayer as qi } from "./interactions/actions/planeInput.js";
|
|
139
|
+
import { moveAction as Ji } from "./interactions/actions/defaults/move.js";
|
|
140
|
+
import { defaultCommitAdapter as Yi } from "./interactions/actions/defaultCommitAdapter.js";
|
|
141
|
+
import { resizeAction as Xi } from "./interactions/actions/defaults/resize.js";
|
|
142
|
+
import { rotateAction as Zi } from "./interactions/actions/defaults/rotate.js";
|
|
143
|
+
import { areaSelectAction as Qi } from "./interactions/actions/defaults/areaSelect.js";
|
|
144
|
+
import { KIT_SHAPE_KINDS as $i, SHAPE_KINDS as ea } from "./core/shapeKinds.js";
|
|
145
|
+
import { insertAction as ta } from "./interactions/actions/defaults/insert.js";
|
|
146
|
+
import { clearSelectionAction as na } from "./interactions/actions/defaults/clearSelection.js";
|
|
147
|
+
import { createDeleteOp as ra } from "./core/ops/delete.js";
|
|
148
|
+
import { createInsertOp as ia } from "./core/ops/create.js";
|
|
149
|
+
import { cloneAction as aa } from "./interactions/actions/defaults/clone.js";
|
|
150
|
+
import { viewportDragPanAction as oa } from "./interactions/actions/defaults/viewportDragPan.js";
|
|
151
|
+
import { makeViewportZoomAction as sa, viewportZoomAction as ca } from "./interactions/actions/defaults/viewportZoom.js";
|
|
152
|
+
import { makeViewportWheelPanAction as la, viewportWheelPanAction as ua } from "./interactions/actions/defaults/viewportWheelPan.js";
|
|
153
|
+
import { editAnchorsAction as da } from "./interactions/actions/defaults/editAnchors.js";
|
|
154
|
+
import { applyOpsTo as fa, dispatchApplyBatch as pa } from "./core/applyOps.js";
|
|
155
|
+
import { createSetSelectionOp as ma } from "./core/ops/select.js";
|
|
156
|
+
import { selectFromLasso as ha } from "./interactions/actions/lasso-select/behaviors/selectFromLasso.js";
|
|
157
|
+
import { lassoSelectAction as ga } from "./interactions/actions/defaults/lassoSelect.js";
|
|
158
|
+
import { sliceAction as _a } from "./interactions/actions/defaults/slice.js";
|
|
159
|
+
import { makePinchZoomAction as va, pinchZoomAction as ya } from "./interactions/actions/defaults/pinchZoom.js";
|
|
160
|
+
import { BringForwardIcon as ba, BringToFrontIcon as xa, CopyIcon as Sa, CutIcon as Ca, DuplicateIcon as wa, FlipXIcon as Ta, FlipYIcon as Ea, GroupIcon as Da, PasteIcon as Oa, SendBackwardIcon as ka, SendToBackIcon as Aa, UngroupIcon as ja } from "./interactions/actions/defaults/icons/editIcons.js";
|
|
161
|
+
import { ACTION_GLYPHS as Ma } from "./interactions/actions/defaults/icons/actionGlyphs.js";
|
|
162
|
+
import { DeleteIcon as Na, RedoIcon as Pa, UndoIcon as Fa } from "./interactions/actions/defaults/icons/actionGlyphIcons.js";
|
|
163
|
+
import { WEASEL_CLIPBOARD_MIME as Ia, WEASEL_CLIPBOARD_MIME_WEB as La, buildWeaselClipboardText as Ra, embedWeaselMetadataInSvg as za, extractWeaselClipboardFromSvg as Ba, parseWeaselClipboardText as Va, sniffWeaselClipboardText as Ha } from "./interactions/actions/clipboard/wireFormat.js";
|
|
164
|
+
import { parseDebugFlags as Ua } from "./debug/parseDebugFlags.js";
|
|
165
|
+
import { createDebugSink as Wa } from "./debug/createDebugSink.js";
|
|
166
|
+
import { registerContentHandler as Ga } from "./features/ingestion/contentHandlers.js";
|
|
167
|
+
import { clipboardCopyAction as Ka, clipboardCutAction as qa, clipboardPasteAction as Ja, clipboardPasteEventAction as Ya } from "./interactions/actions/defaults/clipboard.js";
|
|
168
|
+
import { enterTextEditAction as Xa } from "./interactions/actions/defaults/enterTextEdit.js";
|
|
169
|
+
import { resolveSpatialReference as Za } from "./interactions/actions/spatialReference.js";
|
|
170
|
+
import { alignDeltaFor as Qa, alignTargetBounds as $a, useAlign as eo } from "./interactions/actions/align/align.js";
|
|
171
|
+
import { canBringForward as to, canSendBackward as no } from "./core/ops/reorder/algorithms.js";
|
|
172
|
+
import { createSetChildOrderOp as ro } from "./core/ops/reorder/setChildOrder.js";
|
|
173
|
+
import { createMoveToIndexOp as io, createReorderOp as ao } from "./core/ops/reorder/index.js";
|
|
174
|
+
import { AlignBottomIcon as oo, AlignCenterXIcon as so, AlignCenterYIcon as co, AlignLeftIcon as lo, AlignRightIcon as uo, AlignTopIcon as fo } from "./interactions/actions/defaults/icons/alignIcons.js";
|
|
175
|
+
import { DistributeHorizontalIcon as po, DistributeVerticalIcon as mo } from "./interactions/actions/defaults/icons/distributeIcons.js";
|
|
176
|
+
import { pathDivide as ho, pathExclude as go, pathIntersect as _o, pathSubtract as vo, pathUnion as yo, trianglesToPath as bo } from "./features/paths/booleans.js";
|
|
177
|
+
import { TextOutlinesError as xo, loadTextOutlines as So, textToPath as Co, textToPathsByPaint as wo } from "./features/text/textToPath.js";
|
|
178
|
+
import { applyBooleanOp as To } from "./interactions/actions/booleans/booleans.js";
|
|
179
|
+
import { CropIcon as Eo, DivideIcon as Do, ExcludeIcon as Oo, IntersectIcon as ko, SubtractIcon as Ao, UnionIcon as jo } from "./interactions/actions/defaults/icons/booleanIcons.js";
|
|
180
|
+
import { applyCreateOutlines as Mo } from "./interactions/actions/outlines/createOutlines.js";
|
|
181
|
+
import { CreateOutlinesIcon as No } from "./interactions/actions/defaults/icons/outlineIcons.js";
|
|
182
|
+
import { KIT_STANDARD_ACTION_IDS as Po, useStandardActions as Fo } from "./interactions/actions/useStandardActions.js";
|
|
183
|
+
import { useResizePolicy as Io } from "./canvas/deps/resizePolicy.js";
|
|
184
|
+
import { usePoseDescriptorDepSource as Lo } from "./canvas/deps/poseDescriptor.js";
|
|
185
|
+
import { usePoseCompositionDepSource as Ro } from "./canvas/deps/poseComposition.js";
|
|
186
|
+
import { computeSliceOps as zo } from "./interactions/actions/defaults/sliceOps.js";
|
|
187
|
+
import { useSliceDep as Bo, useSliceDepSource as Vo } from "./canvas/deps/slice.js";
|
|
188
|
+
import { defineTool as Ho, useTools as Uo } from "./tools/overlayBinding.js";
|
|
189
|
+
import { useKeybindings as Wo } from "./tools/useKeybindings.js";
|
|
190
|
+
import Go from "./icons/SelectIcon.js";
|
|
191
|
+
import Ko from "./icons/LassoIcon.js";
|
|
192
|
+
import qo from "./icons/RectIcon.js";
|
|
193
|
+
import Jo from "./icons/EllipseIcon.js";
|
|
194
|
+
import Yo from "./icons/ImageIcon.js";
|
|
195
|
+
import Xo from "./icons/EyedropperIcon.js";
|
|
196
|
+
import Zo from "./icons/LineIcon.js";
|
|
197
|
+
import Qo from "./icons/ArrowIcon.js";
|
|
198
|
+
import $o from "./icons/PolygonIcon.js";
|
|
199
|
+
import es from "./icons/StarIcon.js";
|
|
200
|
+
import ts from "./icons/PencilIcon.js";
|
|
201
|
+
import ns from "./icons/TextIcon.js";
|
|
202
|
+
import rs from "./icons/PenIcon.js";
|
|
203
|
+
import is from "./icons/HandIcon.js";
|
|
204
|
+
import as from "./icons/UnknownIcon.js";
|
|
205
|
+
import { pickTopMostHit as os } from "./tools/builtin/pickTopMostHit.js";
|
|
206
|
+
import { AREA_SELECT_ID as ss, SELECTION_MOVE_ID as cs, SELECTION_RESIZE_ID as ls, SELECTION_ROTATE_ID as us, SELECTION_TRANSFORM_ID as ds, areaSelectContribution as fs, onEmptyCanvas as ps, selectionMoveBindings as ms, selectionMoveContribution as hs, selectionResizeBindings as gs, selectionResizeContribution as _s, selectionRotateBindings as vs, selectionRotateContribution as ys, selectionTransformBindings as bs, selectionTransformContribution as xs } from "./tools/builtin/select/selectionContributions.js";
|
|
207
|
+
import { useSelectTool as Ss } from "./tools/builtin/select/useSelectTool.js";
|
|
208
|
+
import { useHandTool as Cs } from "./tools/builtin/hand/useHandTool.js";
|
|
209
|
+
import { DRAG_PAN_ID as ws, dragPanContribution as Ts } from "./tools/builtin/hand/dragPanContribution.js";
|
|
210
|
+
import { useTextTool as Es } from "./tools/builtin/text/useTextTool.js";
|
|
211
|
+
import { constrainTo45 as Ds } from "./util/constrainTo45.js";
|
|
212
|
+
import { usePenTool as Os } from "./tools/builtin/pen/usePenTool.js";
|
|
213
|
+
import { useRectTool as ks } from "./tools/builtin/rect/useRectTool.js";
|
|
214
|
+
import { useEllipseTool as As } from "./tools/builtin/ellipse/useEllipseTool.js";
|
|
215
|
+
import { useImageTool as js } from "./tools/builtin/image/useImageTool.js";
|
|
216
|
+
import { useEyedropperTool as Ms } from "./tools/builtin/eyedropper/useEyedropperTool.js";
|
|
217
|
+
import { useLineTool as Ns } from "./tools/builtin/line/useLineTool.js";
|
|
218
|
+
import { useLassoTool as Ps } from "./tools/builtin/lasso/useLassoTool.js";
|
|
219
|
+
import { usePolygonTool as Fs } from "./tools/builtin/polygon/usePolygonTool.js";
|
|
220
|
+
import { useStarTool as Is } from "./tools/builtin/star/useStarTool.js";
|
|
221
|
+
import { usePencilTool as Ls } from "./tools/builtin/pencil/usePencilTool.js";
|
|
222
|
+
import { useSliceTool as Rs } from "./tools/builtin/slice/useSliceTool.js";
|
|
223
|
+
import { ActionDisabledReason as zs, ActionsProvider as Bs, ActiveToolContextProvider as Vs, ActiveToolContextProviderIfRoot as Hs, DepRegistryProvider as Us, InputScope as Ws, Yoke as Gs, actionBindings as Ks, actionItems as qs, bodyPredicate as Js, buildDepsFromRequires as Ys, createDepRegistry as Xs, createDispatcher as Zs, deleteScratch as Qs, evaluateActive as $s, evaluateEnabled as ec, getScratch as tc, heldKeySpec as nc, hitPredicate as rc, resolveParams as ic, scratchKey as ac, setScratch as oc, specificity as sc, useAction as cc, useActionsRegistry as lc, useActiveToolContext as uc, useDepRegistry as dc, useDepSource as fc, useGestureDispatcher as pc, useLatest as mc, useOngoingAction as hc, useOptionalActiveToolContext as gc, useOptionalDepRegistry as _c, useYoke as vc } from "./barrel/routing.js";
|
|
224
|
+
import { actionIs as yc, always as bc, and as xc, canHover as Sc, capabilityAll as Cc, capabilityIn as wc, capabilityIs as Tc, capabilityNot as Ec, coarsePointer as Dc, cond as Oc, focused as kc, gesturing as Ac, hovering as jc, hoveringSelected as Mc, modeIn as Nc, modeIs as Pc, modeNot as Fc, modifierHeld as Ic, multiActive as Lc, never as Rc, not as zc, or as Bc, selectionAtLeast as Vc, selectionEmpty as Hc, selectionIs as Uc, when as Wc, zoomAtLeast as Gc } from "./features/chrome-caps/conditions.js";
|
|
225
|
+
import { defaultVisibilityRules as Kc } from "./features/chrome-caps/defaults.js";
|
|
226
|
+
import { resolveVisibility as qc } from "./features/chrome-caps/resolve.js";
|
|
227
|
+
import { buildChromeCtx as Jc } from "./features/chrome-caps/buildChromeCtx.js";
|
|
228
|
+
import { useHoverTracking as Yc } from "./features/chrome-caps/useHoverTracking.js";
|
|
229
|
+
import { ALWAYS as Xc, DEFAULT_ALLOWED_CAPABILITIES as Zc, NEVER as Qc, buildRuleCtx as $c, describeRule as el, evaluate as tl } from "./features/chrome-caps/index.js";
|
|
230
|
+
import { openFilePicker as nl } from "./features/ingestion/openFilePicker.js";
|
|
231
|
+
import { circlePath as rl, rectMarkerPath as il, roundRectPath as al, squarePath as ol } from "./features/paths/markers.js";
|
|
232
|
+
import { createPathEditingOverlayLayer as sl } from "./features/paths/pathEditingOverlayLayer.js";
|
|
233
|
+
import { createPenPreviewLayer as cl } from "./features/paths/penPreviewLayer.js";
|
|
234
|
+
import { SelectionContextProvider as ll, SelectionContextProviderIfRoot as ul, usePublishSelection as dl, useSelectionContext as fl } from "./features/selection/SelectionContext.js";
|
|
235
|
+
import { DEFAULT_ROTATION_HANDLE_DISTANCE as pl, hitRotationHandle as ml, rotationHandle as hl } from "./interactions/actions/rotate/handle.js";
|
|
236
|
+
import { composeSelectionPose as gl, createSelectionHandlesLayer as _l, createSelectionOutlineLayer as vl, createSelectionOverlayLayer as yl } from "./features/selection/overlay.js";
|
|
237
|
+
import { createNodeRouting as bl } from "./core/scene/NodeRouting.js";
|
|
238
|
+
import { PAINTED_CURSOR_LAYER_ID as xl, createPaintedCursorLayer as Sl } from "./features/cursor/paintedCursorLayer.js";
|
|
239
|
+
import { hostAnchorCss as Cl, hostAnchorRect as wl } from "./canvas/hostAnchor.js";
|
|
240
|
+
import { useHostAnchor as Tl } from "./canvas/useHostAnchor.js";
|
|
241
|
+
import { CursorCoordsHud as El } from "./canvas/CursorCoordsHud.js";
|
|
242
|
+
import { PickHud as Dl } from "./canvas/PickHud.js";
|
|
243
|
+
import { layoutArrivalHandler as Ol, useLayoutArrivals as kl } from "./layout/arrivals.js";
|
|
244
|
+
import { isTextData as Al } from "./features/text/isTextData.js";
|
|
245
|
+
import { paletteInsertPaint as jl } from "./canvas/deps/insert.js";
|
|
246
|
+
import { KIT_VERSIONS as Ml, checkRequirements as Nl, satisfiesRange as Pl } from "./canvas/kitRequirements.js";
|
|
247
|
+
import { defaultNodeRouting as Fl, inferredNodeRouting as Il } from "./canvas/SceneCanvas/defaultNodeRouting.js";
|
|
248
|
+
import { COMPOSITE_FEATURES as Ll, FEATURE_ACTION_IDS as Rl, SCENE_CANVAS_FEATURES as zl, TOOL_DRIVEN_ACTION_IDS as Bl } from "./canvas/SceneCanvas/features.js";
|
|
249
|
+
import { BUILTIN_TOOL_IDS as Vl, DEFAULT_HANDLE_SIZE as Hl } from "./canvas/SceneCanvas/props.js";
|
|
250
|
+
import { resolveOverlays as Ul } from "./interactions/actions/resolveOverlays.js";
|
|
251
|
+
import { flattenPreviews as Wl, resolvePreviews as Gl } from "./interactions/actions/resolvePreviews.js";
|
|
252
|
+
import { AUTO_ORIGIN_PROJECTION as Kl, RECT_ORIGIN_PROJECTION as ql } from "./interactions/gestures/shared/originProjection.js";
|
|
253
|
+
import { snap as Jl } from "./interactions/gestures/shared/snap.js";
|
|
254
|
+
import { sceneToAdapter as Yl, useSceneAdapter as Xl } from "./canvas/sceneAdapter.js";
|
|
255
|
+
import { SceneCanvas as Zl } from "./canvas/SceneCanvas.js";
|
|
256
|
+
import { createNodeProperties as Ql } from "./core/scene/NodeProperties.js";
|
|
257
|
+
import { defaultNodeProperties as $l, inferredNodeProperties as eu, rotationDegreesUnit as tu } from "./canvas/SceneCanvas/defaultNodeProperties.js";
|
|
258
|
+
import { WeaselProvider as nu } from "./WeaselProvider.js";
|
|
259
|
+
import { modeDecorationLayer as ru, workspaceTintLayer as iu } from "./features/modes/modeLayers.js";
|
|
260
|
+
import { createChildrenLayer as au } from "./features/groups/children.js";
|
|
261
|
+
import { composeAffordanceLayer as ou } from "./affordances/composeAffordanceLayer.js";
|
|
262
|
+
import { ANGLE_RADIANS as su, IMPERIAL_INCHES as cu, METRIC_MM as lu, PIXELS as uu, formatUnit as du, resolveUnit as fu, unitScale as pu } from "./barrel/chrome.js";
|
|
263
|
+
import { defaultLabelTextRenderer as mu, renderLabel as hu } from "./features/text/renderLabel.js";
|
|
264
|
+
import { createTextLayer as gu } from "./features/text/textLayer.js";
|
|
265
|
+
import { caretIndexAt as _u, pointInTextPose as vu } from "./features/text/hitTest.js";
|
|
266
|
+
import { fitTextPose as yu } from "./features/text/fitTextPose.js";
|
|
267
|
+
import { charOffsetToDomPosition as bu, domPositionToCharOffset as xu } from "./features/text/domOffsets.js";
|
|
268
|
+
import { domToRuns as Su, runsToDom as Cu } from "./features/text/domRuns.js";
|
|
269
|
+
import { MIXED as wu } from "./core/mixed.js";
|
|
270
|
+
import { applyStyleToRange as Tu, patchRangeStyle as Eu, styleAtRange as Du } from "./features/text/runs/rangeStyle.js";
|
|
271
|
+
import { nodeHasFlag as Ou, setFlagOverRange as ku, unboldPatch as Au } from "./features/text/runs/flagRange.js";
|
|
272
|
+
import { effectiveRangeStyle as ju, rangeWeight as Mu } from "./features/text/runs/effectiveRangeStyle.js";
|
|
273
|
+
import { TEXT_EDIT_FONT_HOLD as Nu, useTextEdit as Pu } from "./features/text/useTextEdit.js";
|
|
274
|
+
import { useSceneTextEdit as Fu } from "./features/text/useSceneTextEdit.js";
|
|
275
|
+
import { useCreateOutlinesAdapter as Iu } from "./interactions/actions/outlines/useCreateOutlinesAdapter.js";
|
|
276
|
+
import { DEFAULT_DECORATION_METRICS as Lu, DEFAULT_TEXT_STYLE as Ru, MARKDOWN_RUN_GRAMMAR as zu, SCRIPT_METRICS as Bu, SMALL_CAPS_SCALE as Vu, cachedLayoutRuns as Hu, createMarkdownRenderer as Uu, decorationMetrics as Wu, fontString as Gu, isBoldWeight as Ku, isSmallCapsLetter as qu, layoutMarkdown as Ju, layoutRuns as Yu, layoutTextPose as Xu, markdownToRuns as Zu, measureText as Qu, measureTextBounds as $u, measuredWidth as ed, numericWeight as td, paragraphDirection as nd, registerBidi as rd, resolveAlign as id, resolveRunFace as ad, resolveRuns as od, resolveTextStyle as sd, runsToMarkdown as cd, runsToPlainText as ld, scriptMetrics as ud, scriptMetricsFor as dd, smallCapsScale as fd, smallCapsScaleFor as pd, smallCapsText as md, textLineBoxes as hd, textPoseLayoutInput as gd, toRuns as _d, transformRunTexts as vd, verticalAlignOffset as yd } from "./barrel/text.js";
|
|
277
|
+
import { createTilePattern as bd } from "./features/patterns/index.js";
|
|
278
|
+
import { useGradientKinds as xd, usePaintKind as Sd, usePaintKinds as Cd } from "./core/usePaintKinds.js";
|
|
279
|
+
import { STROKE_DASH_RATIOS as wd, alignedStrokeRect as Td, composePatternTransform as Ed, contrastLineColor as Dd, dashForStrokeStyle as Od, decomposePatternTransform as kd, hexToRgbBytes as Ad, parseHexBytes as jd, resolveScreenLength as Md, strokeDashStyleOf as Nd, trimPolyline as Pd } from "./barrel/paint.js";
|
|
280
|
+
import { createSetTextOp as Fd } from "./core/ops/setText.js";
|
|
281
|
+
import { createSetLayerOp as Id } from "./core/ops/setLayer.js";
|
|
282
|
+
import { createSetLayoutOp as Ld } from "./core/ops/setLayout.js";
|
|
283
|
+
import { createSetPathOp as Rd } from "./core/ops/setPath.js";
|
|
284
|
+
import { nestedHitTester as zd } from "./features/groups/nestedHit.js";
|
|
285
|
+
import { unionOfChildrenVia as Bd } from "./features/groups/unionOfChildren.js";
|
|
286
|
+
import { createHistory as Vd } from "./core/ops/createHistory.js";
|
|
287
|
+
import { arrayAdapter as Hd } from "./core/adapters/arrayAdapter.js";
|
|
288
|
+
import { useArrayAdapter as Ud } from "./core/adapters/useArrayAdapter.js";
|
|
289
|
+
import { createPathLayer as Wd } from "./features/paths/pathLayer.js";
|
|
290
|
+
import { pathOriginProjection as Gd } from "./features/paths/originProjection.js";
|
|
291
|
+
import { strokeToPath as Kd } from "./features/paths/strokeToPath.js";
|
|
292
|
+
import { DEFAULT_FLATTEN_TOLERANCE as qd, PATH_C as Jd, PATH_CMD_LENGTHS as Yd, PATH_L as Xd, PATH_M as Zd, PATH_Q as Qd, PATH_Z as $d, PathBuilder as ef, boundsOfPath as tf, composePath as nf, decomposePath as rf, ellipsePath as af, flattenCubic as of, flattenCubicWithArcLen as sf, flattenQuadratic as cf, flattenQuadraticWithArcLen as lf, linePath as uf, pathCommandCoordCount as df, pathContainsPoint as ff, pathContainsPolygon as pf, pathContainsRect as mf, pathDistanceToPoint as hf, pathFromD as gf, pathIntersectsPolygon as _f, pathIntersectsRect as vf, pathSignedArea as yf, pointAlongPath as bf, pointInPath as xf, polygonFromPoints as Sf, polylineFromPoints as Cf, rectPath as wf, regularPolygonPath as Tf, reversePath as Ef, scalePathToBounds as Df, snipPathByPolyline as Of, splitPathByPolyline as kf, splitPathBySegment as Af, splitSubpaths as jf, starPath as Mf, transformPath as Nf, translatePath as Pf, unionBoundsPath as Ff } from "./features/paths/index.js";
|
|
293
|
+
import { useBooleans as If } from "./interactions/actions/booleans/useBooleans.js";
|
|
294
|
+
import { useBooleansAdapter as Lf } from "./interactions/actions/booleans/useBooleansAdapter.js";
|
|
295
|
+
import { CURVE_REPS as Rf, bezierCubic as zf, bezierQuadratic as Bf, nurbs as Vf, spiro as Hf } from "./barrel/paths.js";
|
|
296
|
+
import { useDragGesture as Uf } from "./interactions/gestures/dragGesture/dragGesture.js";
|
|
297
|
+
import { dragPointOf as Wf } from "./interactions/gestures/dragGesture/dragPointOf.js";
|
|
298
|
+
import { useDragRect as Gf } from "./interactions/gestures/dragRect/dragRect.js";
|
|
299
|
+
import { useDragRadial as Kf } from "./interactions/gestures/dragRadial/dragRadial.js";
|
|
300
|
+
import { hitAnchor as qf } from "./interactions/actions/edit-anchors/handles.js";
|
|
301
|
+
import { useClipboardOps as Jf } from "./interactions/actions/clipboard/clipboardOps.js";
|
|
302
|
+
import { useDistribute as Yf } from "./interactions/actions/distribute/distribute.js";
|
|
303
|
+
import { cloneByAltDrag as Xf } from "./interactions/actions/clone/behaviors/cloneByAltDrag.js";
|
|
304
|
+
import { animateOnSetPose as Zf } from "./animation/wrappers/animateOnSetPose.js";
|
|
305
|
+
import { animateLifecycle as Qf } from "./animation/wrappers/animateLifecycle.js";
|
|
306
|
+
import { createReflowTransition as $f, useAnimatedReflow as ep } from "./animation/reflow.js";
|
|
307
|
+
import { momentum as tp } from "./animation/behaviors/momentum.js";
|
|
308
|
+
import { createSlew as np, slewToward as rp } from "./animation/slew.js";
|
|
309
|
+
import { cycleVertexColors as ip, rainbowVertexColors as ap, solidVertexColors as op, springVertexColors as sp, staggerVertexColors as cp, tweenVertexColors as lp } from "./animation/colorHelpers.js";
|
|
310
|
+
import { IDENTITY_JOINT as up } from "./animation/rig/types.js";
|
|
311
|
+
import { blendPoses as dp } from "./animation/rig/blendPoses.js";
|
|
312
|
+
import { mirrorPose as fp } from "./animation/rig/mirrorPose.js";
|
|
313
|
+
import { resolveSkeleton as pp } from "./animation/rig/resolveSkeleton.js";
|
|
314
|
+
import { bindRig as mp, rigidRigApply as hp } from "./animation/rig/bindRig.js";
|
|
315
|
+
import { solveIk as gp } from "./animation/rig/solveIk.js";
|
|
316
|
+
import { useRig as _p } from "./animation/rig/useRig.js";
|
|
317
|
+
import { EASINGS as vp, SPRING_PRESETS as yp, cubicBezierEasing as bp, easeIn as xp, easeInBack as Sp, easeInBounce as Cp, easeInCirc as wp, easeInCubic as Tp, easeInElastic as Ep, easeInExpo as Dp, easeInOut as Op, easeInOutBack as kp, easeInOutBounce as Ap, easeInOutCirc as jp, easeInOutCubic as Mp, easeInOutElastic as Np, easeInOutExpo as Pp, easeInOutQuad as Fp, easeInOutQuart as Ip, easeInOutQuint as Lp, easeInOutSine as Rp, easeInQuad as zp, easeInQuart as Bp, easeInQuint as Vp, easeInSine as Hp, easeOut as Up, easeOutBack as Wp, easeOutBounce as Gp, easeOutCirc as Kp, easeOutCubic as qp, easeOutElastic as Jp, easeOutExpo as Yp, easeOutQuad as Xp, easeOutQuart as Zp, easeOutQuint as Qp, easeOutSine as $p, hexToOklchDeg as em, hslToSrgb as tm, interpolateSrgb as nm, lerpColorArray as rm, lerpOklab as im, lerpOklch as am, linear as om, linearSrgbToOklab as sm, linearToSrgb as cm, oklabToLinearSrgb as lm, oklabToOklch as um, oklabToSrgbU8 as dm, oklchDegToHex as fm, oklchToOklab as pm, resolveEasing as mm, srgbFloatToOklab as hm, srgbToHsl as gm, srgbToLinear as _m, srgbU8ToOklab as vm } from "./animation/index.js";
|
|
318
|
+
import { CONTROL_SELECTOR as ym, DRAG_THRESHOLD_PX as bm, isInControlWithin as xm, openPointerSession as Sm, pastDragThreshold as Cm } from "./barrel/interactions.js";
|
|
319
|
+
import { mergeContributions as wm } from "./canvas/surfaceContribution.js";
|
|
320
|
+
import { CURSOR_ANGLE_STEPS as Tm, CURSOR_MAX_CSS_PX as Em, assembleEntries as Dm, bakeCursor as Om, canQueryLocalFonts as km, createPaintedCursorState as Am, createReflectable as jm, cssFamilyName as Mm, cssFontFamily as Nm, cssFontFamilyLoading as Pm, cursorFor as Fm, enableLocalFontOutlines as Im, fontOutlineRegistry as Lm, fontRegistry as Rm, hasFontOutlines as zm, isCanvasFont as Bm, listFontOutlines as Vm, liveScope as Hm, loadFontOutlines as Um, modeShortcutSpec as Wm, modeShortcuts as Gm, outlineStatus as Km, registerCanvasFont as qm, registerFont as Jm, registerFontOutlines as Ym, resolveCursor as Xm, resolveCursorTier as Zm, scopeBindings as Qm, subscribeGlyphReady as $m, unregisterCanvasFont as eh, unregisterFontOutlines as th, warmFonts as nh } from "./barrel/renderer.js";
|
|
321
|
+
export { Ma as ACTION_GLYPHS, Xc as ALWAYS, pt as ANCHOR_HIT_BASE_PX, su as ANGLE_RADIANS, ss as AREA_SELECT_ID, Kl as AUTO_ORIGIN_PROJECTION, pn as AUTO_POSE_DESCRIPTOR, zs as ActionDisabledReason, Bs as ActionsProvider, ki as ActionsProviderIfRoot, Vs as ActiveToolContextProvider, Hs as ActiveToolContextProviderIfRoot, oo as AlignBottomIcon, so as AlignCenterXIcon, co as AlignCenterYIcon, lo as AlignLeftIcon, uo as AlignRightIcon, fo as AlignTopIcon, Qo as ArrowIcon, T as BUILTIN_MARKERS, Vl as BUILTIN_TOOL_IDS, ba as BringForwardIcon, xa as BringToFrontIcon, gt as COARSE_TARGET_SCALE, Ll as COMPOSITE_FEATURES, ym as CONTROL_SELECTOR, yn as CORNER_ANCHORS, Yr as CROSSHAIR_HALO, Tm as CURSOR_ANGLE_STEPS, Em as CURSOR_MAX_CSS_PX, Rf as CURVE_REPS, jn as CanvasView, nn as ColorOverrideRegistry, Sa as CopyIcon, No as CreateOutlinesIcon, Eo as CropIcon, El as CursorCoordsHud, Ca as CutIcon, Zc as DEFAULT_ALLOWED_CAPABILITIES, Ce as DEFAULT_ALPHA_DECAY, we as DEFAULT_ALPHA_MIN, Si as DEFAULT_DEBUG_STROKES, Ci as DEFAULT_DEBUG_THEME, Lu as DEFAULT_DECORATION_METRICS, _t as DEFAULT_DEVICE_PROFILE, Wn as DEFAULT_FILL_COLOR, qd as DEFAULT_FLATTEN_TOLERANCE, Hl as DEFAULT_HANDLE_SIZE, ur as DEFAULT_INK, ne as DEFAULT_MAX_ZOOM, re as DEFAULT_MIN_ZOOM, Gn as DEFAULT_PALETTE, pl as DEFAULT_ROTATION_HANDLE_DISTANCE, Kn as DEFAULT_SHAPE_FILL, qn as DEFAULT_STROKE_COLOR, Ru as DEFAULT_TEXT_STYLE, Te as DEFAULT_VELOCITY_DECAY, ws as DRAG_PAN_ID, bm as DRAG_THRESHOLD_PX, Na as DeleteIcon, Us as DepRegistryProvider, Ai as DepRegistryProviderIfRoot, je as DeviceProfileProvider, po as DistributeHorizontalIcon, mo as DistributeVerticalIcon, Do as DivideIcon, wr as DrawCanvas, wa as DuplicateIcon, vp as EASINGS, Jo as EllipseIcon, Oo as ExcludeIcon, Xo as EyedropperIcon, Kr as FALLBACK_FIT_VIEW, Rl as FEATURE_ACTION_IDS, Ta as FlipXIcon, Ea as FlipYIcon, Jn as GHOST_STROKE, Da as GroupIcon, mt as HANDLE_BASE_PX, is as HandIcon, up as IDENTITY_JOINT, Pe as IDENTITY_POSE_COMPOSITION, cu as IMPERIAL_INCHES, Yo as ImageIcon, Ws as InputScope, ko as IntersectIcon, $i as KIT_SHAPE_KINDS, Po as KIT_STANDARD_ACTION_IDS, Ml as KIT_VERSIONS, ui as LONG_PRESS_FEEDBACK_ID, ji as LONG_PRESS_MS, Ko as LassoIcon, Zo as LineIcon, zu as MARKDOWN_RUN_GRAMMAR, lu as METRIC_MM, Ar as MINIMAP_CENTER, jr as MINIMAP_PAN, wu as MIXED, Zr as MinimapCanvas, Qc as NEVER, xl as PAINTED_CURSOR_LAYER_ID, On as PATH_ANCHOR_CHROME_ID, Jd as PATH_C, Yd as PATH_CMD_LENGTHS, Xd as PATH_L, Zd as PATH_M, Qd as PATH_Q, $d as PATH_Z, uu as PIXELS, Oa as PasteIcon, ef as PathBuilder, rs as PenIcon, ts as PencilIcon, Dl as PickHud, Tr as PointerContextProvider, kr as PointerProviderIfRoot, $o as PolygonIcon, ql as RECT_ORIGIN_PROJECTION, Le as RECT_POSE_COMPOSITION, Jt as RECT_POSE_DESCRIPTOR, Re as RIGID_POSE_COMPOSITION, Yt as ROTATED_POSE_DESCRIPTOR, ht as ROTATION_HANDLE_BASE_PX, qo as RectIcon, Pa as RedoIcon, zl as SCENE_CANVAS_FEATURES, Bu as SCRIPT_METRICS, cs as SELECTION_MOVE_ID, ls as SELECTION_RESIZE_ID, us as SELECTION_ROTATE_ID, ds as SELECTION_TRANSFORM_ID, ea as SHAPE_KINDS, Vu as SMALL_CAPS_SCALE, yp as SPRING_PRESETS, H as SPRITE_STRIDE, wd as STROKE_DASH_RATIOS, zr as SceneArrivalRefused, Zl as SceneCanvas, Cr as SceneViewCanvas, Go as SelectIcon, ll as SelectionContextProvider, ul as SelectionContextProviderIfRoot, ka as SendBackwardIcon, Aa as SendToBackIcon, es as StarIcon, Ao as SubtractIcon, Nu as TEXT_EDIT_FONT_HOLD, Bl as TOOL_DRIVEN_ACTION_IDS, ns as TextIcon, xo as TextOutlinesError, Ir as UNION_OF_CHILDREN, Fa as UndoIcon, ja as UngroupIcon, jo as UnionIcon, as as UnknownIcon, e as VERSION, an as VIEW_ANIMATION_KEY, Ia as WEASEL_CLIPBOARD_MIME, La as WEASEL_CLIPBOARD_MIME_WEB, Dt as WHEEL_ZOOM_STEP, nu as WeaselProvider, Gs as Yoke, ie as ZOOM_FLOOR, _i as aabbCenter, Ks as actionBindings, yc as actionIs, qs as actionItems, Li as actionShortcuts, Mi as activatesFocusedControl, Qa as alignDeltaFor, $a as alignTargetBounds, Td as alignedStrokeRect, bc as always, xc as and, Qf as animateLifecycle, Zf as animateOnSetPose, gn as annulusSemiAxes, To as applyBooleanOp, Mo as applyCreateOutlines, fa as applyOpsTo, Tu as applyStyleToRange, Qi as areaSelectAction, fs as areaSelectContribution, Hd as arrayAdapter, vr as asNodeId, p as asPaint, Dm as assembleEntries, Gt as axisAlignedBounds, Om as bakeCursor, zf as bezierCubic, Bf as bezierQuadratic, mp as bindRig, dp as blendPoses, q as blur, Js as bodyPredicate, tf as boundsOfPath, Jc as buildChromeCtx, wi as buildDebugOverlayCommands, Ys as buildDepsFromRequires, $c as buildRuleCtx, xr as buildSceneViewCommands, Ra as buildWeaselClipboardText, Hu as cachedLayoutRuns, to as canBringForward, Sc as canHover, km as canQueryLocalFonts, no as canSendBackward, Cc as capabilityAll, wc as capabilityIn, Tc as capabilityIs, Ec as capabilityNot, _u as caretIndexAt, Mr as centerRootOn, bu as charOffsetToDomPosition, Nl as checkRequirements, rl as circlePath, Ct as clampView, na as clearSelectionAction, ni as clientToCanvas, Ka as clipboardCopyAction, qa as clipboardCutAction, Ja as clipboardPasteAction, Ya as clipboardPasteEventAction, aa as cloneAction, Xf as cloneByAltDrag, Dc as coarsePointer, B as commandFill, V as commandStroke, ou as composeAffordanceLayer, nf as composePath, Ed as composePatternTransform, ze as composeRectPose, Be as composeRigidPose, gl as composeSelectionPose, Fe as composeWorldPose, qr as computeFitView, Tt as computeFitViewport, Jr as computeIndicatorCommand, zo as computeSliceOps, Ot as computeWheelAction, Oc as cond, Ds as constrainTo45, Dd as contrastLineColor, bn as cornerPoint, xn as cornerResizeHandles, nr as countPathAnchors, Fr as createArrangeOp, au as createChildrenLayer, wn as createCornerResizeAffordance, Ti as createDebugOverlayLayer, Wa as createDebugSink, ra as createDeleteOp, Xs as createDepRegistry, Zs as createDispatcher, Vd as createHistory, ia as createInsertOp, si as createKeyState, Qr as createLinkedCursorContribution, di as createLongPressFeedbackContribution, Ni as createLongPressStore, Uu as createMarkdownRenderer, $r as createMinimapContribution, io as createMoveToIndexOp, Ql as createNodeProperties, bl as createNodeRouting, Sl as createPaintedCursorLayer, Am as createPaintedCursorState, be as createParallaxLayer, ye as createParallaxPlane, kn as createPathAnchorAffordances, sl as createPathEditingOverlayLayer, Wd as createPathLayer, cl as createPenPreviewLayer, Er as createPointerStore, Gr as createPoseFeed, Rr as createPoseOverrides, pi as createRasterSession, jm as createReflectable, $f as createReflowTransition, ao as createReorderOp, Hi as createReparentOp, Tn as createRotationAffordance, Br as createScene, _l as createSelectionHandlesLayer, vl as createSelectionOutlineLayer, yl as createSelectionOverlayLayer, ro as createSetChildOrderOp, Ui as createSetDataOp, Id as createSetLayerOp, Ld as createSetLayoutOp, Rd as createSetPathOp, ma as createSetSelectionOp, Fd as createSetTextOp, Ee as createSimulation, np as createSlew, gu as createTextLayer, bd as createTilePattern, Se as createTiledLayer, Bt as createTransformOp, Mt as createVelocityTracker, ue as createViewResolver, le as createViewportLayer, Xr as crosshairRects, Mm as cssFamilyName, Nm as cssFontFamily, Pm as cssFontFamilyLoading, bp as cubicBezierEasing, G as cullDrawCommands, Fm as cursorFor, Yn as cycleFill, ip as cycleVertexColors, Od as dashForStrokeStyle, Ei as debugSnapshotArgs, rf as decomposePath, kd as decomposePatternTransform, Ve as decomposeRectPose, He as decomposeRigidPose, Wu as decorationMetrics, Yi as defaultCommitAdapter, yr as defaultDrawOne, mu as defaultLabelTextRenderer, $l as defaultNodeProperties, Fl as defaultNodeRouting, br as defaultPaintBounds, Kc as defaultVisibilityRules, Ho as defineTool, Ke as definesFrame, Qs as deleteScratch, Y as depsUnchanged, de as deriveParallaxView, qe as derivedDepOf, Je as derivedPose, el as describeRule, pa as dispatchApplyBatch, cn as dlog, Ye as documentPose, xu as domPositionToCharOffset, Su as domToRuns, Ts as dragPanContribution, Wf as dragPointOf, X as drawLayers, Z as drawOneLayer, ln as dwarn, xp as easeIn, Sp as easeInBack, Cp as easeInBounce, wp as easeInCirc, Tp as easeInCubic, Ep as easeInElastic, Dp as easeInExpo, Op as easeInOut, kp as easeInOutBack, Ap as easeInOutBounce, jp as easeInOutCirc, Mp as easeInOutCubic, Np as easeInOutElastic, Pp as easeInOutExpo, Fp as easeInOutQuad, Ip as easeInOutQuart, Lp as easeInOutQuint, Rp as easeInOutSine, zp as easeInQuad, Bp as easeInQuart, Vp as easeInQuint, Hp as easeInSine, Up as easeOut, Wp as easeOutBack, Gp as easeOutBounce, Kp as easeOutCirc, qp as easeOutCubic, Jp as easeOutElastic, Yp as easeOutExpo, Xp as easeOutQuad, Zp as easeOutQuart, Qp as easeOutQuint, $p as easeOutSine, da as editAnchorsAction, Wi as editingLayer, Xe as effectivePose, ju as effectiveRangeStyle, af as ellipsePath, za as embedWeaselMetadataInSvg, Im as enableLocalFontOutlines, Xa as enterTextEditAction, En as enumerateAnchors, tl as evaluate, $s as evaluateActive, ec as evaluateEnabled, Ba as extractWeaselClipboardFromSvg, F as fillInPoseFrame, I as fillToBoundsFrame, dr as findNodeShape, fr as findShapeBounds, pr as findShapeInk, mr as findShapeSilhouette, yu as fitTextPose, yt as fitToBounds, xt as fitViewToBounds, bt as fitZoom, Sn as fixedCornerOf, of as flattenCubic, sf as flattenCubicWithArcLen, Wl as flattenPreviews, cf as flattenQuadratic, lf as flattenQuadraticWithArcLen, kc as focused, Lm as fontOutlineRegistry, Rm as fontRegistry, Gu as fontString, ri as forEachCoalesced, du as formatUnit, U as frameRect, fe as fromPlane, ti as gateLayer, zi as gesturePlaneReader, Bi as gestureViewReader, Ac as gesturing, Bn as getAlpha01, Mn as getImageBitmap, E as getMarker, hr as getNodeShapes, m as getPaintKind, tc as getScratch, ii as getStylusData, s as gradientForBounds, c as gradientGeometry, zm as hasFontOutlines, nc as heldKeySpec, em as hexToOklchDeg, Ad as hexToRgbBytes, t as hexToRgba, Pi as historyKey, _n as hitAffordanceRegions, qf as hitAnchor, Cn as hitCornerHandle, rc as hitPredicate, ml as hitRotationHandle, Cl as hostAnchorCss, wl as hostAnchorRect, jc as hovering, Mc as hoveringSelected, tm as hslToSrgb, Nn as imageStatus, Gi as inPlane, eu as inferredNodeProperties, Il as inferredNodeRouting, ta as insertAction, Ki as insertLayer, An as insertPreviewExtent, nm as interpolateSrgb, Ft as interpolateView, Ku as isBoldWeight, Bm as isCanvasFont, un as isDebugEnabled, Fi as isEditableTarget, l as isGradientFill, xm as isInControlWithin, Q as isLayerPainted, $ as isLayerVisible, h as isPaintKindKnown, mn as isPathLike, L as isPatternSpec, Ge as isPlainObject, hn as isRectPose, qu as isSmallCapsLetter, Al as isTextData, Pn as isVectorImageSrc, Ri as keySpecShortcut, ga as lassoSelectAction, Ol as layoutArrivalHandler, Ju as layoutMarkdown, Yu as layoutRuns, Xu as layoutTextPose, rm as lerpColorArray, im as lerpOklab, am as lerpOklch, uf as linePath, om as linear, sm as linearSrgbToOklab, cm as linearToSrgb, Vm as listFontOutlines, g as listGradientKinds, D as listMarkers, _ as listPaintKinds, Hm as liveScope, Um as loadFontOutlines, So as loadTextOutlines, va as makePinchZoomAction, la as makeViewportWheelPanAction, sa as makeViewportZoomAction, Zu as markdownToRuns, A as markerInset, j as markerKeyOf, O as markerRegistry, P as markerSites, f as mat3, Ii as matchesKeyBinding, te as meanScale, Qu as measureText, $u as measureTextBounds, ed as measuredWidth, Vn as mergeAlphaFromPrev, wm as mergeContributions, Nr as minimapCenterAction, Pr as minimapPanAction, fp as mirrorPose, ru as modeDecorationLayer, Nc as modeIn, Pc as modeIs, Fc as modeNot, Wm as modeShortcutSpec, Gm as modeShortcuts, Ic as modifierHeld, tp as momentum, Ji as moveAction, Lc as multiActive, zd as nestedHitTester, Rc as never, Ou as nodeHasFlag, n as normalizeHex, oe as normalizeView, ae as normalizeZoom, zc as not, td as numericWeight, Vf as nurbs, lm as oklabToLinearSrgb, um as oklabToOklch, dm as oklabToSrgbU8, fm as oklchDegToHex, pm as oklchToOklab, ps as onEmptyCanvas, It as opFactoryRegistry, nl as openFilePicker, Sm as openPointerSession, Bc as or, Km as outlineStatus, Xn as paintAlpha, v as paintKindOf, y as paintKindRegistry, Zn as paintWithAlpha, Qn as paintWithColor, jl as paletteInsertPaint, nd as paragraphDirection, r as parseColor, i as parseColorToRgba255, Ua as parseDebugFlags, jd as parseHexBytes, Va as parseWeaselClipboardText, Cm as pastDragThreshold, Eu as patchRangeStyle, df as pathCommandCoordCount, ff as pathContainsPoint, pf as pathContainsPolygon, mf as pathContainsRect, hf as pathDistanceToPoint, ho as pathDivide, go as pathExclude, gf as pathFromD, ir as pathInPoseFrame, ar as pathInWorld, _o as pathIntersect, _f as pathIntersectsPolygon, vf as pathIntersectsRect, Gd as pathOriginProjection, fn as pathPoseDescriptor, yf as pathSignedArea, vo as pathSubtract, Vt as pathThroughPoseFrame, rr as pathToAnchors, yo as pathUnion, os as pickTopMostHit, ya as pinchZoomAction, mi as planPixelRender, pe as planeMap, me as planeMatrix, he as planeToPlane, bf as pointAlongPath, xf as pointInPath, vi as pointInRotatedRect, vu as pointInTextPose, vn as pointRegionFrame, Sf as polygonFromPoints, Cf as polylineFromPoints, Xt as poseDescriptorForNode, Ht as poseFrameInverseOf, Ut as poseFrameOf, Wt as poseLinearOf, Ze as poseRotationOf, ai as pressureToWidth, rt as pxExtent, ap as rainbowVertexColors, Mu as rangeWeight, Oi as rasterToPng, Ie as rebaseLocalPose, Lt as rebuildOp, Wr as reconcileSpecs, yi as rectCorners, ge as rectFromPlane, il as rectMarkerPath, wf as rectPath, _e as rectToPlane, rd as registerBidi, qm as registerCanvasFont, Ga as registerContentHandler, K as registerEffect, Jm as registerFont, Ym as registerFontOutlines, k as registerMarker, gr as registerNodeShape, Rt as registerOpFactory, b as registerPaintKind, x as registerPaintKindLoader, zt as registeredOpNames, Tf as regularPolygonPath, Rn as releaseCanvasRenderer, Fn as releaseImage, Di as renderDebugSnapshot, hu as renderLabel, fi as renderNeeds, Sr as renderSceneToCanvas, hi as renderSceneToPixels, Xi as resizeAction, id as resolveAlign, a as resolveColor, Xm as resolveCursor, Zm as resolveCursorTier, vt as resolveDeviceProfile, mm as resolveEasing, R as resolveFillPattern, M as resolveMarkerSize, Ul as resolveOverlays, ic as resolveParams, z as resolvePatternSpec, Gl as resolvePreviews, ad as resolveRunFace, od as resolveRuns, Md as resolveScreenLength, pp as resolveSkeleton, Za as resolveSpatialReference, w as resolveStrokeWidth, sd as resolveTextStyle, fu as resolveUnit, qc as resolveVisibility, In as retryImage, Ef as reversePath, o as rgbaToHex, hp as rigidRigApply, Zi as rotateAction, zn as rotateAroundAABBCenter, Qe as rotatePathAround, bi as rotatePoint, xi as rotatedRectCorners, tu as rotationDegreesUnit, hl as rotationHandle, al as roundRectPath, Cu as runsToDom, cd as runsToMarkdown, ld as runsToPlainText, u as sampleGradientStops, tn as sampleTrack, Pl as satisfiesRange, it as scaleDelta, Df as scalePathToBounds, Vr as sceneFromJSON, wt as sceneNodeClientRect, Hr as sceneSelectionStore, Yl as sceneToAdapter, Qm as scopeBindings, ac as scratchKey, at as screenAngleOf, et as screenToWorld, Vi as screenTolerance, ud as scriptMetrics, dd as scriptMetricsFor, ha as selectFromLasso, Vc as selectionAtLeast, Hc as selectionEmpty, Uc as selectionIs, qi as selectionLayer, ms as selectionMoveBindings, hs as selectionMoveContribution, gs as selectionResizeBindings, _s as selectionResizeContribution, vs as selectionRotateBindings, ys as selectionRotateContribution, bs as selectionTransformBindings, xs as selectionTransformContribution, ku as setFlagOverRange, oc as setScratch, _r as shapeCoversPoint, rp as slewToward, _a as sliceAction, fd as smallCapsScale, pd as smallCapsScaleFor, md as smallCapsText, Jl as snap, Ha as sniffWeaselClipboardText, Of as snipPathByPolyline, $n as solid, op as solidVertexColors, gp as solveIk, sc as specificity, Hf as spiro, kf as splitPathByPolyline, Af as splitPathBySegment, jf as splitSubpaths, $t as springPose, sp as springVertexColors, ol as squarePath, hm as srgbFloatToOklab, gm as srgbToHsl, _m as srgbToLinear, vm as srgbU8ToOklab, nt as stableStringify, cp as staggerVertexColors, ot as standoff, Mf as starPath, ft as startThresholdDrag, Nd as strokeDashStyleOf, N as strokeInsets, er as strokeOf, Kd as strokeToPath, tr as strokeWith, Du as styleAtRange, $m as subscribeGlyphReady, Ln as subscribeImageReady, ee as subscribeToSources, S as switchGradientKind, sr as textCommand, cr as textCommandFromPose, lr as textCommandFromRuns, hd as textLineBoxes, gd as textPoseLayoutInput, Co as textToPath, wo as textToPathsByPaint, xe as tiledProject, Hn as toHex8, ve as toPlane, _d as toRuns, Nf as transformPath, vd as transformRunTexts, Pf as translatePath, Zt as translatePoseViaDescriptor, Ue as translateRectPose, bo as trianglesToPath, Pd as trimPolyline, en as tweenPose, lp as tweenVertexColors, Au as unboldPatch, Kt as unionAABB, qt as unionBounds, Ff as unionBoundsPath, Lr as unionOfChildren, Bd as unionOfChildrenVia, pu as unitScale, eh as unregisterCanvasFont, th as unregisterFontOutlines, cc as useAction, lc as useActionsRegistry, uc as useActiveToolContext, eo as useAlign, ep as useAnimatedReflow, rn as useAnimator, Ud as useArrayAdapter, Et as useAutoCenter, If as useBooleans, Lf as useBooleansAdapter, ei as useCanvasFocus, Ne as useCanvasSize, Jf as useClipboardOps, Iu as useCreateOutlinesAdapter, Pt as useDecayLoop, dc as useDepRegistry, fc as useDepSource, Me as useDeviceProfile, Yf as useDistribute, Uf as useDragGesture, ut as useDragHandle, Kf as useDragRadial, Gf as useDragRect, dt as useDropZone, As as useEllipseTool, Ms as useEyedropperTool, pc as useGestureDispatcher, xd as useGradientKinds, Cs as useHandTool, lt as useHandleDrag, Tl as useHostAnchor, Yc as useHoverTracking, js as useImageTool, li as useKeyModifiers, ci as useKeyState, Wo as useKeybindings, Ps as useLassoTool, mc as useLatest, kl as useLayoutArrivals, Ns as useLineTool, $e as useNodeOverlayFrame, hc as useOngoingAction, gc as useOptionalActiveToolContext, _c as useOptionalDepRegistry, Sd as usePaintKind, Cd as usePaintKinds, Os as usePenTool, Ls as usePencilTool, Dr as usePointerContext, Or as usePointerPosition, oi as usePointerStylus, Fs as usePolygonTool, Ro as usePoseCompositionDepSource, Lo as usePoseDescriptorDepSource, ke as usePoseRun, dl as usePublishSelection, ks as useRectTool, Io as useResizePolicy, _p as useRig, Ur as useScene, Xl as useSceneAdapter, Fu as useSceneTextEdit, Ss as useSelectTool, dn as useSelection, fl as useSelectionContext, Oe as useSimulation, Bo as useSliceDep, Vo as useSliceDepSource, Rs as useSliceTool, Fo as useStandardActions, Is as useStarTool, Pu as useTextEdit, Es as useTextTool, Uo as useTools, Nt as useVelocityTracker, on as useViewAnimation, sn as useViewAnimationOn, De as useVisibleRaf, vc as useYoke, yd as verticalAlignOffset, W as viewToMat3, se as viewToTransform, ce as viewZoom, oa as viewportDragPanAction, ua as viewportWheelPanAction, ca as viewportZoomAction, J as vignette, Qt as visualBoundsViaDescriptor, nh as warmFonts, C as warmPaintKinds, gi as warmRender, Ae as watchDevicePixelRatio, kt as wheelPan, At as wheelZoom, jt as wheelZoomFactor, Wc as when, Un as withAlpha01, Dn as withCoord, d as withGradientKind, st as withinPxBox, ct as withinPxRadius, iu as workspaceTintLayer, or as worldEditToStorage, We as worldPoseLookup, tt as worldToScreen, St as zoomAt, Gc as zoomAtLeast };
|