@weasel-js/core 1.14.2 → 1.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +251 -0
- package/dist/WeaselProvider.js +4 -5
- package/dist/affordances/composeAffordanceLayer.js +1 -2
- package/dist/affordances/cornerResize.js +4 -5
- package/dist/affordances/hitAffordanceRegions.js +1 -2
- package/dist/affordances/pathAnchors.js +1 -3
- package/dist/affordances/pathAnchors.js.map +1 -1
- package/dist/affordances/rotateCursor.js +1 -2
- package/dist/affordances/rotationHandle.js +2 -3
- package/dist/animation/behaviors/coast.js +1 -2
- package/dist/animation/behaviors/coastByWrite.js +2 -3
- package/dist/animation/behaviors/coastOnTargets.js +2 -3
- package/dist/animation/behaviors/momentum.js +1 -2
- package/dist/animation/clipTargets.js +1 -2
- package/dist/animation/departures.js +2 -3
- package/dist/animation/poseHelpers.js +2 -3
- package/dist/animation/poseTarget.js +2 -3
- package/dist/animation/poseTransition.js +1 -2
- package/dist/animation/reflow.js +2 -3
- package/dist/animation/rewind.js +1 -2
- package/dist/animation/rig/bindRig.js +2 -3
- package/dist/animation/rig/rigNode.js +1 -2
- package/dist/animation/rig/rigSeat.js +1 -2
- package/dist/animation/rig/skinBinding.js +1 -2
- package/dist/animation/rig/useRig.js +2 -3
- package/dist/animation/wrappers/animateLifecycle.js +1 -2
- package/dist/animation/wrappers/animateOnSetPose.js +1 -2
- package/dist/animation/wrappers/instantPose.js +1 -2
- package/dist/animation/writtenPoseTarget.js +1 -2
- package/dist/barrel/interactions.js +2 -1
- package/dist/barrel/paths.js +1 -1
- package/dist/barrel/renderer.js +2 -2
- package/dist/barrel/routing.js +6 -4
- package/dist/barrel/scene.js +2 -2
- package/dist/barrel/text.js +5 -3
- package/dist/canvas/Canvas.js +10 -7
- package/dist/canvas/Canvas.js.map +1 -1
- package/dist/canvas/CanvasView.js +6 -7
- package/dist/canvas/CursorCoordsHud.js +2 -3
- package/dist/canvas/DrawCanvas.js +8 -5
- package/dist/canvas/DrawCanvas.js.map +1 -1
- package/dist/canvas/GestureReason.js +1 -2
- package/dist/canvas/GestureReason.module.js +1 -2
- package/dist/canvas/LeanSceneCanvas.js +2 -3
- package/dist/canvas/ModalityHud.js +2 -3
- package/dist/canvas/NodeShape.js +3 -4
- package/dist/canvas/PickHud.js +2 -3
- package/dist/canvas/SceneCanvas/ActionsProviderIfRoot.js +1 -2
- package/dist/canvas/SceneCanvas/CanvasKitProviders.js +3 -4
- package/dist/canvas/SceneCanvas/DepRegistryProviderIfRoot.js +1 -2
- package/dist/canvas/SceneCanvas/DevHuds.js +1 -2
- package/dist/canvas/SceneCanvas/PointerProviderIfRoot.js +1 -2
- package/dist/canvas/SceneCanvas/SceneCanvasInput.js +8 -5
- package/dist/canvas/SceneCanvas/SceneCanvasInput.js.map +1 -1
- package/dist/canvas/SceneCanvas/SurfaceDeclarations.js +1 -2
- package/dist/canvas/SceneCanvas/brushOverlay.js +1 -2
- package/dist/canvas/SceneCanvas/builtinToolSets.js +7 -5
- package/dist/canvas/SceneCanvas/builtinToolSets.js.map +1 -1
- package/dist/canvas/SceneCanvas/canvasPassThrough.js +1 -2
- package/dist/canvas/SceneCanvas/contributionFrameHooks.js +1 -2
- package/dist/canvas/SceneCanvas/coordTrace.js +1 -2
- package/dist/canvas/SceneCanvas/defaultNodeProperties.js +4 -5
- package/dist/canvas/SceneCanvas/defaultNodeRouting.js +1 -2
- package/dist/canvas/SceneCanvas/defaultTextEditor.js +4 -5
- package/dist/canvas/SceneCanvas/describePresets.js +1 -2
- package/dist/canvas/SceneCanvas/dispatcherGestureBounds.js +1 -2
- package/dist/canvas/SceneCanvas/features.js +1 -2
- package/dist/canvas/SceneCanvas/insertPreviewCommands.js +1 -2
- package/dist/canvas/SceneCanvas/mergeLayers.js +1 -2
- package/dist/canvas/SceneCanvas/namedPresets.js +5 -6
- package/dist/canvas/SceneCanvas/poseGeometry.js +1 -2
- package/dist/canvas/SceneCanvas/poseRegistrars.js +1 -2
- package/dist/canvas/SceneCanvas/presets/arrange.js +2 -3
- package/dist/canvas/SceneCanvas/presets/baseline.js +1 -2
- package/dist/canvas/SceneCanvas/presets/chrome.js +1 -2
- package/dist/canvas/SceneCanvas/presets/composites.js +1 -2
- package/dist/canvas/SceneCanvas/presets/edit.js +4 -5
- package/dist/canvas/SceneCanvas/presets/ingest.js +1 -2
- package/dist/canvas/SceneCanvas/presets/paths.js +9 -10
- package/dist/canvas/SceneCanvas/presets/paths.js.map +1 -1
- package/dist/canvas/SceneCanvas/presets/select.js +1 -2
- package/dist/canvas/SceneCanvas/presets/toolDriven.js +2 -3
- package/dist/canvas/SceneCanvas/presets/tools.js +1 -2
- package/dist/canvas/SceneCanvas/presets/transform.js +2 -3
- package/dist/canvas/SceneCanvas/presets/view.js +2 -3
- package/dist/canvas/SceneCanvas/props.js +1 -2
- package/dist/canvas/SceneCanvas/scenePointQuery.js +2 -3
- package/dist/canvas/SceneCanvas/shapeGeneratorProperties.js +2 -3
- package/dist/canvas/SceneCanvas/shapeGeneratorProperties.js.map +1 -1
- package/dist/canvas/SceneCanvas/toolRegistry.js +2 -3
- package/dist/canvas/SceneCanvas/useActionTunings.js +1 -2
- package/dist/canvas/SceneCanvas/useActionsPropResolver.js +1 -2
- package/dist/canvas/SceneCanvas/useBakedScene.js +2 -3
- package/dist/canvas/SceneCanvas/useBuiltinShapeTools.js +7 -8
- package/dist/canvas/SceneCanvas/useBuiltinTools.js +3 -2
- package/dist/canvas/SceneCanvas/useBuiltinTools.js.map +1 -1
- package/dist/canvas/SceneCanvas/useCanvasCamera.js +2 -3
- package/dist/canvas/SceneCanvas/useCanvasDevtoolsRoot.js +1 -2
- package/dist/canvas/SceneCanvas/useCanvasDispatcher.js +1 -2
- package/dist/canvas/SceneCanvas/useCanvasSelection.js +8 -6
- package/dist/canvas/SceneCanvas/useCanvasSelection.js.map +1 -1
- package/dist/canvas/SceneCanvas/useCanvasTools.js +2 -3
- package/dist/canvas/SceneCanvas/useChromeAffordances.js +2 -3
- package/dist/canvas/SceneCanvas/useContributionRoles.js +3 -2
- package/dist/canvas/SceneCanvas/useContributionRoles.js.map +1 -1
- package/dist/canvas/SceneCanvas/useDepartureGhostLayer.js +4 -5
- package/dist/canvas/SceneCanvas/useDispatcherOverlayLayer.js +2 -3
- package/dist/canvas/SceneCanvas/useHeldModifiers.js +1 -2
- package/dist/canvas/SceneCanvas/useMagnificationCheck.js +41 -0
- package/dist/canvas/SceneCanvas/useMagnificationCheck.js.map +1 -0
- package/dist/canvas/SceneCanvas/useNodeAtPoint.js +1 -2
- package/dist/canvas/SceneCanvas/useNodeKinds.js +2 -3
- package/dist/canvas/SceneCanvas/usePreviewGhostLayer.js +10 -11
- package/dist/canvas/SceneCanvas/useSceneCanvasHandle.js +1 -2
- package/dist/canvas/SceneCanvas/useSceneCanvasLayers.js +6 -7
- package/dist/canvas/SceneCanvas/useSceneCanvasPathEdit.js +1 -2
- package/dist/canvas/SceneCanvas/useSceneCanvasTools.js +1 -2
- package/dist/canvas/SceneCanvas/useSceneChrome.js +22 -11
- package/dist/canvas/SceneCanvas/useSceneChrome.js.map +1 -1
- package/dist/canvas/SceneCanvas/useSceneGestureDispatcher.js +6 -7
- package/dist/canvas/SceneCanvas/useScenePicking.js +5 -6
- package/dist/canvas/SceneCanvas/useSceneRedrawSources.js +1 -2
- package/dist/canvas/SceneCanvas/useSceneSelectTool.js +7 -8
- package/dist/canvas/SceneCanvas/useSceneSlotLayers.js +2 -3
- package/dist/canvas/SceneCanvas/useSceneStandardActions.js +28 -17
- package/dist/canvas/SceneCanvas/useSceneStandardActions.js.map +1 -1
- package/dist/canvas/SceneCanvas/useSelectionOverlayLayer.js +2 -3
- package/dist/canvas/SceneCanvas/useSurfaceRouting.js +1 -2
- package/dist/canvas/SceneCanvas/useSurfaceViewInputs.js +1 -2
- package/dist/canvas/SceneCanvas/useToolKeybindings.js +1 -2
- package/dist/canvas/SceneCanvas/useViewportActions.js +3 -4
- package/dist/canvas/SceneCanvas/worldPointAt.js +1 -2
- package/dist/canvas/SceneCanvas.js +22 -20
- package/dist/canvas/SceneCanvas.js.map +1 -1
- package/dist/canvas/SceneViewCanvas.js +7 -4
- package/dist/canvas/SceneViewCanvas.js.map +1 -1
- package/dist/canvas/SurfaceCanvas.js +1 -2
- package/dist/canvas/ViewMarker.js +1 -2
- package/dist/canvas/accentColor.js +1 -2
- package/dist/canvas/adapterDerivedPath.js +2 -3
- package/dist/canvas/adapterPickSource.js +1 -2
- package/dist/canvas/affordanceAt.js +2 -4
- package/dist/canvas/affordanceAt.js.map +1 -1
- package/dist/canvas/buildSceneLayer.js +4 -5
- package/dist/canvas/buildSceneTree.js +4 -5
- package/dist/canvas/canvasRenderer.js +1 -2
- package/dist/canvas/colorOverrides.js +1 -2
- package/dist/canvas/contextAttributes.js +1 -2
- package/dist/canvas/copiesAbove.js +1 -2
- package/dist/canvas/defaultDrawOne.js +1 -2
- package/dist/canvas/deps/areaSelect.js +5 -3
- package/dist/canvas/deps/areaSelect.js.map +1 -1
- package/dist/canvas/deps/booleans.js +5 -6
- package/dist/canvas/deps/changes.js +1 -2
- package/dist/canvas/deps/chromeRules.js +36 -0
- package/dist/canvas/deps/chromeRules.js.map +1 -0
- package/dist/canvas/deps/debug.js +1 -2
- package/dist/canvas/deps/dispatchSources.js +1 -2
- package/dist/canvas/deps/dispatcher.js +1 -2
- package/dist/canvas/deps/editAnchors.js +3 -10
- package/dist/canvas/deps/editAnchors.js.map +1 -1
- package/dist/canvas/deps/enteredGroup.js +1 -2
- package/dist/canvas/deps/geometryProjection.js +1 -2
- package/dist/canvas/deps/hitTestArea.js +6 -5
- package/dist/canvas/deps/hitTestArea.js.map +1 -1
- package/dist/canvas/deps/ingestion.js +1 -2
- package/dist/canvas/deps/insert.js +3 -4
- package/dist/canvas/deps/insertSite.js +3 -4
- package/dist/canvas/deps/kitSettings.js +1 -2
- package/dist/canvas/deps/lassoSelect.js +5 -3
- package/dist/canvas/deps/lassoSelect.js.map +1 -1
- package/dist/canvas/deps/layout.js +1 -2
- package/dist/canvas/deps/modeDefaultTool.js +22 -0
- package/dist/canvas/deps/modeDefaultTool.js.map +1 -0
- package/dist/canvas/deps/nodeAtPoint.js +1 -2
- package/dist/canvas/deps/pathEditCommits.js +3 -4
- package/dist/canvas/deps/pathLeaf.js +1 -2
- package/dist/canvas/deps/pathLeafDeps.js +2 -3
- package/dist/canvas/deps/poseDescriptor.js +1 -2
- package/dist/canvas/deps/previewPaths.js +1 -2
- package/dist/canvas/deps/resizePolicy.js +1 -2
- package/dist/canvas/deps/selectionSnapshot.js +22 -0
- package/dist/canvas/deps/selectionSnapshot.js.map +1 -0
- package/dist/canvas/deps/slice.js +5 -6
- package/dist/canvas/deps/snap.js +4 -4
- package/dist/canvas/deps/snap.js.map +1 -1
- package/dist/canvas/deps/surface.js +1 -2
- package/dist/canvas/deps/textEdit.js +1 -2
- package/dist/canvas/deps/transformFollowers.js +1 -2
- package/dist/canvas/deps/view.js +1 -2
- package/dist/canvas/derivedPath.js +6 -7
- package/dist/canvas/doubleClickTarget.js +1 -2
- package/dist/canvas/drawEnvelope.js +1 -2
- package/dist/canvas/drawnBounds.js +4 -5
- package/dist/canvas/getNodeAtPoint.js +1 -2
- package/dist/canvas/hostAnchor.js +1 -2
- package/dist/canvas/hud.module.js +1 -2
- package/dist/canvas/inheritedPaints.js +1 -2
- package/dist/canvas/insertPreviewExtent.js +1 -2
- package/dist/canvas/kitRequirements.js +1 -2
- package/dist/canvas/layerHover.js +1 -2
- package/dist/canvas/layerOrder.js +1 -2
- package/dist/canvas/layerSlots.js +1 -2
- package/dist/canvas/mountedCanvases.js +1 -2
- package/dist/canvas/nodeShapes/derivedPainter.js +2 -3
- package/dist/canvas/nodeShapes/imagePainter.js +1 -2
- package/dist/canvas/nodeShapes/measurePainter.js +2 -3
- package/dist/canvas/nodeShapes/memo.js +1 -2
- package/dist/canvas/nodeShapes/nodePaint.js +1 -2
- package/dist/canvas/nodeShapes/pathPainter.js +3 -4
- package/dist/canvas/nodeShapes/poseBox.js +1 -2
- package/dist/canvas/nodeShapes/rectFallbackPainter.js +1 -2
- package/dist/canvas/nodeShapes/shapePainter.js +2 -3
- package/dist/canvas/nodeShapes/strokedBounds.js +1 -2
- package/dist/canvas/nodeShapes/textPainter.js +1 -2
- package/dist/canvas/overChildren.js +1 -2
- package/dist/canvas/overlayRoleStrokes.js +1 -2
- package/dist/canvas/ownClip.js +1 -2
- package/dist/canvas/paintCull.js +1 -2
- package/dist/canvas/paintedCursorLayer.js +1 -2
- package/dist/canvas/pathOverlay.js +1 -2
- package/dist/canvas/pickIndex/nodeBroadBox.js +3 -4
- package/dist/canvas/pickIndex/scenePickIndex.js +3 -4
- package/dist/canvas/pickReach.js +13 -10
- package/dist/canvas/pickReach.js.map +1 -1
- package/dist/canvas/pickWalk.js +9 -8
- package/dist/canvas/pickWalk.js.map +1 -1
- package/dist/canvas/planeClips.js +1 -2
- package/dist/canvas/poseRotation.js +1 -2
- package/dist/canvas/publishPreviews.js +1 -2
- package/dist/canvas/rasterReadback.js +1 -2
- package/dist/canvas/rasterToPng.js +1 -2
- package/dist/canvas/renderDebugSnapshot.js +1 -2
- package/dist/canvas/renderNeeds.js +1 -2
- package/dist/canvas/renderSceneToPixels.js +5 -6
- package/dist/canvas/sceneAdapter.js +37 -27
- package/dist/canvas/sceneAdapter.js.map +1 -1
- package/dist/canvas/sceneClipboard.js +19 -7
- package/dist/canvas/sceneClipboard.js.map +1 -1
- package/dist/canvas/sceneLayerPaint.js +1 -2
- package/dist/canvas/scenePickReads.js +1 -2
- package/dist/canvas/scenePickSource.js +7 -8
- package/dist/canvas/scenePickSource.js.map +1 -1
- package/dist/canvas/sceneSlotWiring.js +2 -3
- package/dist/canvas/sceneViewRender.js +5 -6
- package/dist/canvas/shownNodes.js +1 -2
- package/dist/canvas/slopsDebugLayer.js +1 -2
- package/dist/canvas/surfaceContribution.js +1 -2
- package/dist/canvas/useCanvasElements.js +1 -2
- package/dist/canvas/useCanvasHandle.js +1 -2
- package/dist/canvas/useCanvasPaint.js +2 -3
- package/dist/canvas/useCanvasRenderer.js +1 -2
- package/dist/canvas/useCanvasSurface.js +22 -5
- package/dist/canvas/useCanvasSurface.js.map +1 -1
- package/dist/canvas/useCanvasView.js +2 -3
- package/dist/canvas/useClientToWorld.js +1 -2
- package/dist/canvas/useExtraLayers.js +1 -2
- package/dist/canvas/useFrameLoop.js +7 -9
- package/dist/canvas/useFrameLoop.js.map +1 -1
- package/dist/canvas/useHitObserver.js +1 -2
- package/dist/canvas/useHostAnchor.js +1 -2
- package/dist/canvas/useInFlightBounds.js +6 -6
- package/dist/canvas/useInFlightBounds.js.map +1 -1
- package/dist/canvas/useLateContentRedraw.js +1 -2
- package/dist/canvas/useLayerStack.js +2 -3
- package/dist/canvas/usePaintedCursor.js +1 -2
- package/dist/canvas/useRedrawOn.js +1 -2
- package/dist/canvas/useSceneAdapter.js +1 -2
- package/dist/canvas/useSceneLayerList.js +1 -2
- package/dist/canvas/useSurfaceInput.js +1 -2
- package/dist/canvas/useSurfaceSize.js +5 -5
- package/dist/canvas/useSurfaceSize.js.map +1 -1
- package/dist/canvas/useToolCursor.js +1 -2
- package/dist/canvas/useViewAim.js +2 -3
- package/dist/canvas/useViewHelpers.js +5 -4
- package/dist/canvas/useViewHelpers.js.map +1 -1
- package/dist/canvas/useViewLayerGate.js +1 -2
- package/dist/canvas/useViewNesting.js +1 -2
- package/dist/canvas/useViewRegistrySurface.js +1 -2
- package/dist/canvas/viewInputs.js +1 -2
- package/dist/canvas/viewMarkers.js +1 -2
- package/dist/canvas/viewRegistry.js +1 -2
- package/dist/canvas/viewSnap.js +1 -2
- package/dist/canvas/watchElementMove.js +1 -2
- package/dist/canvas/wrapNodeOutput.js +1 -2
- package/dist/core/adapters/testing/rootsTree.js +1 -2
- package/dist/core/applyOps.js +1 -2
- package/dist/core/device/targets.js +1 -2
- package/dist/core/device/useDeviceProfile.js +1 -2
- package/dist/core/device/useTargetBasePx.js +1 -2
- package/dist/core/device/watchDevicePixelRatio.js +1 -2
- package/dist/core/geometry/autoPoseDescriptor.js +2 -3
- package/dist/core/geometry/booleanOfPaths.js +1 -2
- package/dist/core/geometry/inkExtents.js +1 -2
- package/dist/core/geometry/pathPoseDescriptor.js +1 -2
- package/dist/core/geometry/poseDescriptor.js +1 -2
- package/dist/core/geometry/regionHit.js +36 -18
- package/dist/core/geometry/regionHit.js.map +1 -1
- package/dist/core/geometry/targetFrame.js +1 -2
- package/dist/core/geometry/unionBounds.js +1 -2
- package/dist/core/layers/backgroundFill.js +1 -2
- package/dist/core/layers/children.js +1 -2
- package/dist/core/layers/gateLayer.js +1 -2
- package/dist/core/layers/layerGroup.js +1 -2
- package/dist/core/layers/redrawSource.js +1 -2
- package/dist/core/layers/render.js +1 -2
- package/dist/core/layers/retain.js +1 -2
- package/dist/core/ops/arrange.js +1 -2
- package/dist/core/ops/create.js +2 -3
- package/dist/core/ops/createHistory.js +2 -3
- package/dist/core/ops/delete.js +2 -3
- package/dist/core/ops/nodeFlags.js +1 -2
- package/dist/core/ops/registry.js +1 -2
- package/dist/core/ops/reorder/algorithms.js +1 -2
- package/dist/core/ops/reorder/index.js +1 -2
- package/dist/core/ops/reorder/setChildOrder.js +1 -2
- package/dist/core/ops/reparent.js +1 -2
- package/dist/core/ops/select.js +1 -2
- package/dist/core/ops/setData.js +1 -2
- package/dist/core/ops/setDependsOn.js +1 -2
- package/dist/core/ops/setLayer.js +1 -2
- package/dist/core/ops/setLayout.js +1 -2
- package/dist/core/ops/setPath.js +1 -2
- package/dist/core/ops/setText.js +1 -2
- package/dist/core/ops/slot.js +1 -2
- package/dist/core/ops/transform.js +1 -2
- package/dist/core/ops/writtenBy.js +1 -2
- package/dist/core/pages/fitViewToPage.js +1 -2
- package/dist/core/pages/pageEdits.js +3 -4
- package/dist/core/pages/pages.js +1 -2
- package/dist/core/pages/pages.js.map +1 -1
- package/dist/core/pages/pagesLayer.js +1 -2
- package/dist/core/paint/meshKind.js +1 -2
- package/dist/core/paint/meshKindLazy.js +9 -18
- package/dist/core/paint/meshKindLazy.js.map +1 -1
- package/dist/core/paint/paintKindEntry.js +1 -2
- package/dist/core/paint/paintKinds.js +1 -2
- package/dist/core/paint/registerMesh.js +1 -2
- package/dist/core/scene/NodeProperties.js +1 -2
- package/dist/core/scene/NodeRouting.js +1 -2
- package/dist/core/scene/annotation.js +1 -2
- package/dist/core/scene/appliedLog.js +1 -2
- package/dist/core/scene/arrivalWindow.js +2 -3
- package/dist/core/scene/arrivals.js +1 -2
- package/dist/core/scene/booleanGroup.js +1 -2
- package/dist/core/scene/booleanOfChildren.js +1 -2
- package/dist/core/scene/boundOps.js +1 -2
- package/dist/core/scene/carryDescendants.js +2 -3
- package/dist/core/scene/clipNothing.js +1 -2
- package/dist/core/scene/composeFrame.js +1 -2
- package/dist/core/scene/composePose.js +1 -2
- package/dist/core/scene/declaredFieldSetters.js +1 -2
- package/dist/core/scene/depFrame.js +1 -2
- package/dist/core/scene/depMemo.js +1 -2
- package/dist/core/scene/dependents.js +1 -2
- package/dist/core/scene/derivedParts.js +1 -2
- package/dist/core/scene/derivedPath.js +2 -3
- package/dist/core/scene/docValues.js +1 -2
- package/dist/core/scene/documentOf.js +1 -2
- package/dist/core/scene/editMode.js +5 -3
- package/dist/core/scene/editMode.js.map +1 -1
- package/dist/core/scene/editPass.js +1 -2
- package/dist/core/scene/effectivePose.js +3 -4
- package/dist/core/scene/fieldEdits.js +1 -2
- package/dist/core/scene/fontReads.js +1 -2
- package/dist/core/scene/historyFacade.js +8 -52
- package/dist/core/scene/historyFacade.js.map +1 -1
- package/dist/core/scene/historyForm.js +1 -2
- package/dist/core/scene/inheritedPaint.js +1 -2
- package/dist/core/scene/kitOps.js +16 -15
- package/dist/core/scene/kitOps.js.map +1 -1
- package/dist/core/scene/kitRegistry.js +2 -3
- package/dist/core/scene/layerOps.js +1 -2
- package/dist/core/scene/layerStack.js +1 -2
- package/dist/core/scene/layoutPass.js +4 -5
- package/dist/core/scene/lockGuard.js +1 -2
- package/dist/core/scene/minSize.js +1 -2
- package/dist/core/scene/nestedHit.js +1 -2
- package/dist/core/scene/nodeAsShown.js +1 -2
- package/dist/core/scene/nodeFlags.js +1 -2
- package/dist/core/scene/nodeFnFields.js +1 -2
- package/dist/core/scene/nodeGates.js +3 -4
- package/dist/core/scene/nodeGates.js.map +1 -1
- package/dist/core/scene/nodeMemo.js +1 -2
- package/dist/core/scene/nodeStore.js +2 -3
- package/dist/core/scene/notifier.js +1 -2
- package/dist/core/scene/opTable.js +9 -10
- package/dist/core/scene/opTable.js.map +1 -1
- package/dist/core/scene/outerOps.js +3 -4
- package/dist/core/scene/outerOps.js.map +1 -1
- package/dist/core/scene/pathEffects/blend.js +1 -2
- package/dist/core/scene/pathEffects/derive.js +2 -3
- package/dist/core/scene/pathEffects/effects.js +1 -2
- package/dist/core/scene/pathEffects/foundHidden.js +1 -2
- package/dist/core/scene/pathEffects/textAlong.js +1 -2
- package/dist/core/scene/pathEffects/textAlongBands.js +1 -2
- package/dist/core/scene/plyStacks.js +1 -2
- package/dist/core/scene/poseFeed.js +1 -2
- package/dist/core/scene/poseHold.js +1 -2
- package/dist/core/scene/poseOverrides.js +1 -2
- package/dist/core/scene/posePlies.js +1 -2
- package/dist/core/scene/poseRemovals.js +1 -2
- package/dist/core/scene/poseSnapshot.js +1 -2
- package/dist/core/scene/poseWrites.js +17 -17
- package/dist/core/scene/poseWrites.js.map +1 -1
- package/dist/core/scene/reconcileSpecs.js +26 -3
- package/dist/core/scene/reconcileSpecs.js.map +1 -1
- package/dist/core/scene/recorder.js +1 -2
- package/dist/core/scene/renderOrder.js +1 -2
- package/dist/core/scene/sameValue.js +1 -2
- package/dist/core/scene/scene.js +11 -12
- package/dist/core/scene/scene.js.map +1 -1
- package/dist/core/scene/sceneChanges.js +1 -2
- package/dist/core/scene/sceneEdits.js +1 -2
- package/dist/core/scene/sceneJournals.js +77 -0
- package/dist/core/scene/sceneJournals.js.map +1 -0
- package/dist/core/scene/sceneMutators.js +2 -3
- package/dist/core/scene/scenePoseAdapter.js +1 -2
- package/dist/core/scene/sceneRecording.js +4 -4
- package/dist/core/scene/sceneRecording.js.map +1 -1
- package/dist/core/scene/sceneSelection.js +8 -5
- package/dist/core/scene/sceneSelection.js.map +1 -1
- package/dist/core/scene/sceneState.js +3 -4
- package/dist/core/scene/scrollOffsets.js +1 -2
- package/dist/core/scene/serialization.js +2 -3
- package/dist/core/scene/staleReplay.js +1 -2
- package/dist/core/scene/statedFields.js +1 -2
- package/dist/core/scene/strategyView.js +1 -2
- package/dist/core/scene/treeEdits.js +2 -3
- package/dist/core/scene/treeOrder.js +1 -2
- package/dist/core/scene/treeReads.js +1 -2
- package/dist/core/scene/treeShape.js +1 -2
- package/dist/core/scene/types.js +1 -2
- package/dist/core/scene/types.js.map +1 -1
- package/dist/core/scene/unionOfChildren.js +1 -2
- package/dist/core/scene/unitScopes.js +20 -4
- package/dist/core/scene/unitScopes.js.map +1 -1
- package/dist/core/scene/useScene.js +2 -3
- package/dist/core/scene/worldSave.js +2 -3
- package/dist/core/selection/chromeState.js +1 -2
- package/dist/core/selection/outermostSelection.js +56 -0
- package/dist/core/selection/outermostSelection.js.map +1 -0
- package/dist/core/selection/readOnlySelection.js +1 -2
- package/dist/core/selection/selectionTarget.js +1 -2
- package/dist/core/selection/usePublishSceneSelection.js +1 -2
- package/dist/core/selection/useSelection.js +1 -2
- package/dist/core/shapeKinds.js +1 -2
- package/dist/core/stableStringify.js +1 -2
- package/dist/core/stylus/stylus.js +1 -2
- package/dist/core/stylus/usePointerStylus.js +1 -2
- package/dist/core/usePaintKinds.js +1 -2
- package/dist/core/viewport/clampView.js +1 -2
- package/dist/core/viewport/clientToWorld.js +1 -2
- package/dist/core/viewport/createVelocityTracker.js +1 -2
- package/dist/core/viewport/fitToBounds.js +1 -2
- package/dist/core/viewport/fitViewToBounds.js +1 -2
- package/dist/core/viewport/interpolateView.js +1 -2
- package/dist/core/viewport/parallax.js +1 -2
- package/dist/core/viewport/sceneNodeClientRect.js +1 -2
- package/dist/core/viewport/screenSlop.js +1 -2
- package/dist/core/viewport/useAutoCenter.js +1 -2
- package/dist/core/viewport/useCanvasSize.js +48 -28
- package/dist/core/viewport/useCanvasSize.js.map +1 -1
- package/dist/core/viewport/useDecayLoop.js +1 -2
- package/dist/core/viewport/useNodeOverlayFrame.js +1 -2
- package/dist/core/viewport/useVelocityTracker.js +1 -2
- package/dist/core/viewport/useViewAnimation.js +3 -4
- package/dist/core/viewport/view.js +1 -2
- package/dist/core/viewport/viewTransform.js +1 -2
- package/dist/core/viewport/viewportWorldRect.js +1 -2
- package/dist/core/viewport/wheelHandler.js +1 -2
- package/dist/core/viewport/zoomAt.js +2 -3
- package/dist/core/viewport/zoomBounds.js +1 -2
- package/dist/debug/createDebugOverlayLayer.js +1 -2
- package/dist/debug/createDebugSink.js +1 -2
- package/dist/debug/defaultTheme.js +1 -2
- package/dist/debug/features.js +1 -2
- package/dist/debug/frameStats.js +1 -2
- package/dist/debug/overlayPanels.js +1 -2
- package/dist/debug/parseDebugFlags.js +1 -2
- package/dist/debug/useDebugSink.js +2 -3
- package/dist/{depSchema-DD9H89gX.d.ts → depSchema-C7a_OMt-.d.ts} +101 -65
- package/dist/devtools/handlers.js +1 -2
- package/dist/devtools/history.js +1 -2
- package/dist/devtools/hook.js +1 -2
- package/dist/devtools/label.js +1 -2
- package/dist/devtools/notices.js +1 -2
- package/dist/devtools/protocol.js +1 -2
- package/dist/devtools/registry.js +1 -2
- package/dist/devtools/root.js +1 -2
- package/dist/devtools/serialize.js +1 -2
- package/dist/devtools/session.js +2 -3
- package/dist/devtools/transport.js +1 -2
- package/dist/devtools/useDevtoolsRoot.js +1 -2
- package/dist/devtools-protocol.d.ts +1 -1
- package/dist/devtools-protocol.js +2 -2
- package/dist/devtools.d.ts +1 -1
- package/dist/devtools.js +1 -2
- package/dist/domains/chrome-caps/buildChromeCtx.js +1 -2
- package/dist/domains/chrome-caps/conditions.js +1 -2
- package/dist/domains/chrome-caps/defaults.js +1 -2
- package/dist/domains/chrome-caps/resolve.js +3 -3
- package/dist/domains/chrome-caps/resolve.js.map +1 -1
- package/dist/domains/chrome-caps/useChromeCaps.js +5 -4
- package/dist/domains/chrome-caps/useChromeCaps.js.map +1 -1
- package/dist/domains/chrome-caps/useHoverTracking.js +1 -2
- package/dist/domains/ingestion/contentHandlers.js +1 -2
- package/dist/domains/ingestion/ghost.js +2 -3
- package/dist/domains/ingestion/imageHandler.js +1 -2
- package/dist/domains/ingestion/kitHandlers.js +2 -3
- package/dist/domains/ingestion/openFilePicker.js +1 -2
- package/dist/domains/ingestion/placement.js +1 -2
- package/dist/domains/ingestion/svgHandler.js +1 -2
- package/dist/domains/ingestion/textHandler.js +1 -2
- package/dist/domains/ingestion/useCanvasIngestion.js +1 -2
- package/dist/domains/ingestion/weaselJsonHandler.js +2 -3
- package/dist/domains/longPress/longPressFeedback.js +1 -2
- package/dist/domains/measure/actionIds.js +1 -2
- package/dist/domains/measure/measureCommands.js +6 -7
- package/dist/domains/measure/measureContribution.js +3 -4
- package/dist/domains/measure/measureEdits.js +3 -4
- package/dist/domains/measure/measureGestures.js +2 -3
- package/dist/domains/measure/measureHit.js +3 -4
- package/dist/domains/measure/measureLayer.js +3 -4
- package/dist/domains/measure/measurement.js +1 -2
- package/dist/domains/measure/measurements.js +1 -2
- package/dist/domains/modes/modeLayers.js +1 -2
- package/dist/domains/modes/modeTriggers.js +1 -2
- package/dist/domains/pathEffects/effectSources.js +2 -3
- package/dist/domains/pathEffects/index.js +1 -2
- package/dist/domains/pathEffects/readSource.js +3 -4
- package/dist/domains/pathEffects/textItems.js +1 -2
- package/dist/domains/pathEffects/useEffectSourcesLayer.js +3 -4
- package/dist/domains/paths/anchorData.js +1 -2
- package/dist/domains/paths/anchorMarkers.js +1 -2
- package/dist/domains/paths/editablePath.js +3 -4
- package/dist/domains/paths/originProjection.js +1 -2
- package/dist/domains/paths/pathEditExtension.js +1 -2
- package/dist/domains/paths/pathEditState.js +1 -26
- package/dist/domains/paths/pathEditState.js.map +1 -1
- package/dist/domains/paths/pathEditingOverlayLayer.js +2 -3
- package/dist/domains/paths/pathLayer.js +1 -2
- package/dist/domains/paths/pathRepresentation.js +1 -2
- package/dist/domains/paths/pathSnap/glyphs.js +1 -2
- package/dist/domains/paths/pathSnap/pathSnapSource.js +1 -2
- package/dist/domains/paths/pathSnap/sceneIndex.js +1 -2
- package/dist/domains/paths/pathSnap/snapGeometry.js +2 -3
- package/dist/domains/paths/penPreviewLayer.js +1 -2
- package/dist/domains/paths/shapeGenerator.js +1 -2
- package/dist/domains/paths/strokeOutline.js +2 -3
- package/dist/domains/paths/useAnchorFields.js +1 -2
- package/dist/domains/paths/usePathEdit.js +2 -3
- package/dist/domains/poseRun/usePoseRun.js +1 -2
- package/dist/domains/selection/enteredGroupFrame.js +1 -2
- package/dist/domains/selection/enteredGroupScope.js +1 -2
- package/dist/domains/selection/enteredOperands.js +1 -2
- package/dist/domains/selection/handleCommands.js +2 -3
- package/dist/domains/selection/overlay.js +6 -7
- package/dist/domains/selection/selectionPose.js +2 -3
- package/dist/domains/snap/angle2d.js +1 -2
- package/dist/domains/snap/debugCandidates.js +1 -2
- package/dist/domains/snap/gather.js +1 -2
- package/dist/domains/snap/inputSubspace.js +2 -3
- package/dist/domains/snap/lazySession.js +1 -2
- package/dist/domains/snap/marks.js +1 -2
- package/dist/domains/snap/outcomeStore.js +1 -2
- package/dist/domains/snap/pointSnap.js +1 -2
- package/dist/domains/snap/probes2d.js +6 -2
- package/dist/domains/snap/probes2d.js.map +1 -1
- package/dist/domains/snap/readoutDraw.js +1 -2
- package/dist/domains/snap/readoutLayer.js +1 -2
- package/dist/domains/snap/registry.js +1 -2
- package/dist/domains/snap/resizeBox.js +1 -2
- package/dist/domains/snap/roles.js +1 -2
- package/dist/domains/snap/rotationSource.js +1 -2
- package/dist/domains/snap/sceneReads.js +13 -4
- package/dist/domains/snap/sceneReads.js.map +1 -1
- package/dist/domains/snap/sceneSession2d.js +6 -5
- package/dist/domains/snap/sceneSession2d.js.map +1 -1
- package/dist/domains/snap/screen.js +2 -3
- package/dist/domains/snap/session2d.js +4 -5
- package/dist/domains/snap/spanSnap.js +1 -2
- package/dist/domains/snap/stepAngles.js +1 -2
- package/dist/domains/text/editingDrawOne.js +1 -2
- package/dist/domains/text/hostTextEditors.js +1 -2
- package/dist/domains/text/index.js +2 -2
- package/dist/domains/text/sceneTextDrafts.js +1 -2
- package/dist/domains/text/textHitAt.js +4 -5
- package/dist/domains/text/textLayer.js +12 -2
- package/dist/domains/text/textLayer.js.map +1 -1
- package/dist/domains/text/useSceneTextEdit.js +4 -5
- package/dist/domains/viewports/aim.js +3 -4
- package/dist/domains/viewports/viewMarker.js +1 -2
- package/dist/domains/viewports/viewMarkerDrag.js +1 -2
- package/dist/domains/viewports/viewResolver.js +1 -2
- package/dist/domains/viewports/viewportLayer.js +1 -2
- package/dist/iconRegistry/IconRegistryProvider.js +1 -2
- package/dist/iconRegistry/useIconGlyph.js +1 -2
- package/dist/iconRegistry/useIconVariant.js +1 -2
- package/dist/icons.table.js +2 -3
- package/dist/icons.table.js.map +1 -1
- package/dist/icons.table.json +5 -0
- package/dist/icons2.table.js +1 -2
- package/dist/index.d.ts +160 -64
- package/dist/index.js +14 -9
- package/dist/input/keyState.js +1 -2
- package/dist/input/useKeyModifiers.js +1 -2
- package/dist/input/useKeyState.js +1 -2
- package/dist/interactions/actions/admitsChild.js +1 -2
- package/dist/interactions/actions/align/action.js +6 -7
- package/dist/interactions/actions/align/align.js +6 -7
- package/dist/interactions/actions/booleans/action.js +5 -4
- package/dist/interactions/actions/booleans/action.js.map +1 -1
- package/dist/interactions/actions/booleans/booleanGroupAction.js +2 -3
- package/dist/interactions/actions/booleans/booleans.js +1 -2
- package/dist/interactions/actions/booleans/commit.js +4 -5
- package/dist/interactions/actions/booleans/custom.js +2 -3
- package/dist/interactions/actions/booleans/keymap.js +1 -2
- package/dist/interactions/actions/booleans/operands.js +1 -2
- package/dist/interactions/actions/booleans/pieces.js +1 -2
- package/dist/interactions/actions/booleans/placement.js +1 -2
- package/dist/interactions/actions/booleans/useBooleans.js +1 -2
- package/dist/interactions/actions/booleans/useBooleansAdapter.js +1 -2
- package/dist/interactions/actions/clipboard/action.js +2 -3
- package/dist/interactions/actions/clipboard/clipboardOps.js +2 -3
- package/dist/interactions/actions/clipboard/materializePaste.js +1 -2
- package/dist/interactions/actions/clipboard/wireFormat.js +1 -2
- package/dist/interactions/actions/clone/action.js +7 -8
- package/dist/interactions/actions/clone/behaviors.js +4 -5
- package/dist/interactions/actions/defaultCommitAdapter.js +2 -3
- package/dist/interactions/actions/defaults/anchorEditing.js +6 -10
- package/dist/interactions/actions/defaults/anchorEditing.js.map +1 -1
- package/dist/interactions/actions/defaults/anchorFields.js +1 -2
- package/dist/interactions/actions/defaults/anchorHandles.js +2 -3
- package/dist/interactions/actions/defaults/anchorJoin.js +2 -3
- package/dist/interactions/actions/defaults/areaSelect.js +6 -6
- package/dist/interactions/actions/defaults/areaSelect.js.map +1 -1
- package/dist/interactions/actions/defaults/bendSegment.js +4 -6
- package/dist/interactions/actions/defaults/bendSegment.js.map +1 -1
- package/dist/interactions/actions/defaults/cancelGesture.js +1 -2
- package/dist/interactions/actions/defaults/clearSelection.js +1 -2
- package/dist/interactions/actions/defaults/containerScroll.js +4 -5
- package/dist/interactions/actions/defaults/contextMenu.js +6 -7
- package/dist/interactions/actions/defaults/copySubtree.js +2 -3
- package/dist/interactions/actions/defaults/createPaintAction.js +3 -4
- package/dist/interactions/actions/defaults/delete.js +2 -3
- package/dist/interactions/actions/defaults/duplicate.js +5 -6
- package/dist/interactions/actions/defaults/enterGroup.js +2 -3
- package/dist/interactions/actions/defaults/enterPathEdit.js +1 -2
- package/dist/interactions/actions/defaults/enterTextEdit.js +1 -2
- package/dist/interactions/actions/defaults/escape.js +1 -2
- package/dist/interactions/actions/defaults/exitPathEdit.js +18 -3
- package/dist/interactions/actions/defaults/exitPathEdit.js.map +1 -1
- package/dist/interactions/actions/defaults/group.js +6 -7
- package/dist/interactions/actions/defaults/ingest.js +3 -4
- package/dist/interactions/actions/defaults/insertPathAnchor.js +2 -3
- package/dist/interactions/actions/defaults/nudge.js +3 -4
- package/dist/interactions/actions/defaults/nudgeSteps.js +2 -3
- package/dist/interactions/actions/defaults/nudgeSteps.js.map +1 -1
- package/dist/interactions/actions/defaults/pathEditMarks.js +1 -2
- package/dist/interactions/actions/defaults/pinchZoom.js +3 -4
- package/dist/interactions/actions/defaults/reorder.js +2 -3
- package/dist/interactions/actions/defaults/requiresSelection.js +1 -2
- package/dist/interactions/actions/defaults/segmentUnder.js +1 -2
- package/dist/interactions/actions/defaults/selectAll.js +1 -2
- package/dist/interactions/actions/defaults/selectDeep.js +1 -2
- package/dist/interactions/actions/defaults/setFill.js +1 -2
- package/dist/interactions/actions/defaults/setFillOpacity.js +1 -2
- package/dist/interactions/actions/defaults/setStroke.js +1 -2
- package/dist/interactions/actions/defaults/setStrokeOpacity.js +1 -2
- package/dist/interactions/actions/defaults/slice.js +1 -2
- package/dist/interactions/actions/defaults/sliceOps.js +1 -2
- package/dist/interactions/actions/defaults/toolActivate.js +1 -2
- package/dist/interactions/actions/defaults/toolResetToDefault.js +1 -2
- package/dist/interactions/actions/defaults/undoRedo.js +1 -2
- package/dist/interactions/actions/defaults/viewportDragPan.js +1 -2
- package/dist/interactions/actions/defaults/viewportWheelPan.js +1 -2
- package/dist/interactions/actions/defaults/viewportZoom.js +3 -4
- package/dist/interactions/actions/distribute/action.js +4 -5
- package/dist/interactions/actions/distribute/distribute.js +5 -6
- package/dist/interactions/actions/distribute/plan.js +1 -2
- package/dist/interactions/actions/drawnBoxes.js +4 -5
- package/dist/interactions/actions/dropVerdict.js +1 -2
- package/dist/interactions/actions/edit-anchors/action.js +7 -9
- package/dist/interactions/actions/edit-anchors/action.js.map +1 -1
- package/dist/interactions/actions/edit-anchors/extensionDrags.js +1 -2
- package/dist/interactions/actions/edit-anchors/geometry.js +1 -2
- package/dist/interactions/actions/edit-anchors/handleDrag.js +1 -2
- package/dist/interactions/actions/edit-anchors/handles.js +1 -2
- package/dist/interactions/actions/edit-anchors/params.js +1 -2
- package/dist/interactions/actions/edit-anchors/preview.js +1 -2
- package/dist/interactions/actions/edit-anchors/symmetry.js +1 -2
- package/dist/interactions/actions/flip/action.js +8 -9
- package/dist/interactions/actions/flip/helpers.js +1 -2
- package/dist/interactions/actions/geometryProjection.js +1 -2
- package/dist/interactions/actions/gestureFrames.js +3 -4
- package/dist/interactions/actions/gestureLifecycle.js +1 -2
- package/dist/interactions/actions/hitSelection.js +7 -3
- package/dist/interactions/actions/hitSelection.js.map +1 -1
- package/dist/interactions/actions/insert/action.js +27 -9
- package/dist/interactions/actions/insert/action.js.map +1 -1
- package/dist/interactions/actions/insert/commit.js +2 -3
- package/dist/interactions/actions/insert/extras.js +1 -2
- package/dist/interactions/actions/insert/frame.js +1 -2
- package/dist/interactions/actions/insert/geometry.js +1 -2
- package/dist/interactions/actions/insert/params.js +42 -0
- package/dist/interactions/actions/insert/params.js.map +1 -0
- package/dist/interactions/actions/insert/parent.js +1 -2
- package/dist/interactions/actions/insert/placeAction.js +5 -6
- package/dist/interactions/actions/insert/repositionAction.js +1 -2
- package/dist/interactions/actions/insert/rotateAction.js +1 -2
- package/dist/interactions/actions/insert/session.js +5 -6
- package/dist/interactions/actions/insert/shape.js +2 -3
- package/dist/interactions/actions/lasso-select/action.js +9 -9
- package/dist/interactions/actions/lasso-select/action.js.map +1 -1
- package/dist/interactions/actions/lasso-select/behaviors/selectFromLasso.js +2 -3
- package/dist/interactions/actions/magnification.js +37 -0
- package/dist/interactions/actions/magnification.js.map +1 -0
- package/dist/interactions/actions/move/action.js +2 -3
- package/dist/interactions/actions/move/behaviors/layoutDrop.js +2 -3
- package/dist/interactions/actions/move/behaviors/reparentOnDrop.js +2 -3
- package/dist/interactions/actions/move/behaviors/snapBackOrDelete.js +1 -2
- package/dist/interactions/actions/move/behaviors/snapToContainer.js +2 -3
- package/dist/interactions/actions/move/capture.js +6 -7
- package/dist/interactions/actions/move/commit/index.js +2 -3
- package/dist/interactions/actions/move/commit/layoutDrop.js +4 -5
- package/dist/interactions/actions/move/commit/layoutRelease.js +7 -8
- package/dist/interactions/actions/move/commit/rebase.js +2 -3
- package/dist/interactions/actions/move/commit/reparent.js +5 -6
- package/dist/interactions/actions/move/delta.js +2 -3
- package/dist/interactions/actions/move/frame.js +2 -3
- package/dist/interactions/actions/move/gestureAdapter.js +1 -2
- package/dist/interactions/actions/move/landedDescendants.js +2 -3
- package/dist/interactions/actions/move/layout/container.js +3 -4
- package/dist/interactions/actions/move/layout/dragged.js +2 -3
- package/dist/interactions/actions/move/layout/dropPass.js +5 -6
- package/dist/interactions/actions/move/layout/exits.js +2 -3
- package/dist/interactions/actions/move/layout/glide.js +2 -3
- package/dist/interactions/actions/move/layout/view.js +1 -2
- package/dist/interactions/actions/move/refusal.js +2 -3
- package/dist/interactions/actions/move/session.js +4 -5
- package/dist/interactions/actions/move/translate.js +2 -3
- package/dist/interactions/actions/moveNodes.js +5 -6
- package/dist/interactions/actions/notices.js +16 -0
- package/dist/interactions/actions/notices.js.map +1 -0
- package/dist/interactions/actions/outlines/createOutlines.js +9 -8
- package/dist/interactions/actions/outlines/createOutlines.js.map +1 -1
- package/dist/interactions/actions/outlines/createOutlinesAction.js +14 -10
- package/dist/interactions/actions/outlines/createOutlinesAction.js.map +1 -1
- package/dist/interactions/actions/outlines/outlineStroke.js +2 -3
- package/dist/interactions/actions/outlines/outlineStrokeAction.js +5 -5
- package/dist/interactions/actions/outlines/outlineStrokeAction.js.map +1 -1
- package/dist/interactions/actions/outlines/replaceWithPaths.js +5 -6
- package/dist/interactions/actions/outlines/strokeRegion.js +1 -2
- package/dist/interactions/actions/outlines/useCreateOutlinesAdapter.js +1 -2
- package/dist/interactions/actions/pathCommands/cutJoin.js +3 -4
- package/dist/interactions/actions/pathCommands/livePathEdit.js +3 -4
- package/dist/interactions/actions/pathCommands/pathNodes.js +2 -3
- package/dist/interactions/actions/pathCommands/simplifyOffset.js +2 -3
- package/dist/interactions/actions/pathGestureTags.js +1 -2
- package/dist/interactions/actions/planeInput.js +2 -3
- package/dist/interactions/actions/pointerState.js +1 -2
- package/dist/interactions/actions/poseDescriptorDep.js +1 -2
- package/dist/interactions/actions/poseFrame.js +3 -4
- package/dist/interactions/actions/resize/action.js +3 -4
- package/dist/interactions/actions/resize/aspect.js +1 -2
- package/dist/interactions/actions/resize/behaviors/clampMinSize.js +1 -2
- package/dist/interactions/actions/resize/boxFrame.js +1 -2
- package/dist/interactions/actions/resize/capture.js +7 -8
- package/dist/interactions/actions/resize/commit.js +3 -4
- package/dist/interactions/actions/resize/cornerHandles.js +1 -2
- package/dist/interactions/actions/resize/frame.js +7 -8
- package/dist/interactions/actions/resize/held.js +2 -3
- package/dist/interactions/actions/resize/minimum.js +1 -2
- package/dist/interactions/actions/resize/replay.js +1 -2
- package/dist/interactions/actions/resize/ruleBounds.js +1 -2
- package/dist/interactions/actions/resize/session.js +9 -10
- package/dist/interactions/actions/resolveOverlays.js +1 -2
- package/dist/interactions/actions/resolvePreviews.js +3 -4
- package/dist/interactions/actions/rotate/action.js +5 -6
- package/dist/interactions/actions/rotate/commit.js +2 -3
- package/dist/interactions/actions/rotate/frame.js +3 -4
- package/dist/interactions/actions/rotate/geometry.js +1 -2
- package/dist/interactions/actions/rotate/handle.js +2 -3
- package/dist/interactions/actions/rotate/replay.js +2 -3
- package/dist/interactions/actions/rotate/session.js +10 -11
- package/dist/interactions/actions/selectionSubtree.js +7 -22
- package/dist/interactions/actions/selectionSubtree.js.map +1 -1
- package/dist/interactions/actions/spatialReference.js +1 -2
- package/dist/interactions/actions/testUtils.js +1 -9
- package/dist/interactions/actions/testUtils.js.map +1 -1
- package/dist/interactions/actions/transform-again/action.js +5 -6
- package/dist/interactions/actions/transform-again/memory.js +1 -2
- package/dist/interactions/actions/transformFinish.js +1 -2
- package/dist/interactions/actions/useActionSet.js +1 -2
- package/dist/interactions/actions/useNotices.js +12 -0
- package/dist/interactions/actions/useNotices.js.map +1 -0
- package/dist/interactions/actions/useStandardActions.js +1 -2
- package/dist/interactions/gestures/dragGesture/dragGesture.js +1 -2
- package/dist/interactions/gestures/dragGesture/dragPointOf.js +1 -2
- package/dist/interactions/gestures/dragRadial/dragRadial.js +2 -3
- package/dist/interactions/gestures/dragRect/dragRect.js +2 -3
- package/dist/interactions/gestures/handleDrag/handleDrag.js +1 -2
- package/dist/interactions/gestures/pointerDrag/pointerDrag.js +1 -2
- package/dist/interactions/gestures/shared/originProjection.js +1 -2
- package/dist/interactions/gestures/shared/screenTolerance.js +1 -2
- package/dist/interactions/gestures/thresholdDrag/thresholdDrag.js +1 -2
- package/dist/kitSettingsSchema.js +4 -5
- package/dist/test-hook/createTestHook.js +1 -2
- package/dist/test-hook/install.js +1 -2
- package/dist/test-hook/useTestHook.js +1 -2
- package/dist/test-seams.d.ts +7 -14
- package/dist/test-seams.js +2 -2
- package/dist/tools/builtin/anchors/anchorsTool.js +30 -0
- package/dist/tools/builtin/anchors/anchorsTool.js.map +1 -0
- package/dist/tools/builtin/ellipse/useEllipseTool.js +2 -3
- package/dist/tools/builtin/eyedropper/useEyedropperTool.js +1 -2
- package/dist/tools/builtin/hand/dragPanContribution.js +1 -2
- package/dist/tools/builtin/hand/useHandTool.js +1 -2
- package/dist/tools/builtin/image/useImageTool.js +1 -2
- package/dist/tools/builtin/lasso/useLassoTool.js +1 -2
- package/dist/tools/builtin/line/useLineTool.js +2 -3
- package/dist/tools/builtin/measure/useMeasureTool.js +2 -3
- package/dist/tools/builtin/pen/penHandle.js +1 -2
- package/dist/tools/builtin/pen/usePenTool.js +6 -7
- package/dist/tools/builtin/pencil/usePencilTool.js +1 -2
- package/dist/tools/builtin/pickTopMostHit.js +1 -2
- package/dist/tools/builtin/polygon/usePolygonTool.js +2 -3
- package/dist/tools/builtin/pressTarget.js +1 -2
- package/dist/tools/builtin/rect/useRectTool.js +2 -3
- package/dist/tools/builtin/select/adapterPointQuery.js +3 -4
- package/dist/tools/builtin/select/collapseDeferred.js +1 -2
- package/dist/tools/builtin/select/groupEntry.js +2 -3
- package/dist/tools/builtin/select/pressDecision.js +3 -4
- package/dist/tools/builtin/select/pressDecision.js.map +1 -1
- package/dist/tools/builtin/select/selectionContributions.js +1 -2
- package/dist/tools/builtin/select/useSelectTool.js +5 -6
- package/dist/tools/builtin/shared/insertToolOptions.js +1 -2
- package/dist/tools/builtin/shared/pointerFollower.js +1 -2
- package/dist/tools/builtin/slice/useSliceTool.js +5 -6
- package/dist/tools/builtin/star/useStarTool.js +2 -3
- package/dist/tools/builtin/sticky/stickyNode.js +1 -2
- package/dist/tools/builtin/sticky/useStickyTool.js +2 -3
- package/dist/tools/builtin/text/useTextTool.js +1 -2
- package/dist/tools/index.js +4 -2
- package/dist/tools/overlayBinding.js +1 -2
- package/dist/tools/toolOptions.js +60 -0
- package/dist/tools/toolOptions.js.map +1 -0
- package/dist/tools/useKeybindings.js +1 -2
- package/dist/{types-DW14eu9B.d.ts → types-BUvUXZe5.d.ts} +3 -3
- package/dist/util/color.js +1 -2
- package/dist/util/paint.js +1 -2
- package/dist/version.js +2 -3
- package/package.json +27 -27
- package/dist/interactions/actions/defaults/pathEditTools.js +0 -60
- package/dist/interactions/actions/defaults/pathEditTools.js.map +0 -1
|
@@ -6,7 +6,7 @@ import { LINE_H, emitFramePanel, emitLayersPanel, emitTextPanel, rectPath as rec
|
|
|
6
6
|
import { textCommandFromRuns } from "@weasel-js/renderer";
|
|
7
7
|
import { PATH_L, PATH_M, PATH_Z } from "@weasel-js/geom";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
// src/debug/createDebugOverlayLayer.ts
|
|
10
10
|
var DEBUG_OVERLAY_ID = "debug-overlay";
|
|
11
11
|
var FPS_WINDOW = 60;
|
|
12
12
|
/**
|
|
@@ -346,6 +346,5 @@ function segment(x0, y0, x1, y1) {
|
|
|
346
346
|
};
|
|
347
347
|
}
|
|
348
348
|
|
|
349
|
-
//#endregion
|
|
350
349
|
export { DEBUG_OVERLAY_ID, buildDebugOverlayCommands, createDebugOverlayLayer };
|
|
351
350
|
//# sourceMappingURL=createDebugOverlayLayer.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/debug/createDebugSink.ts
|
|
2
2
|
/**
|
|
3
3
|
* Build a sink that stores recorded primitives in arrays keyed by feature.
|
|
4
4
|
* A `recordX` call no-ops when its flag in `config` is off, so callers can
|
|
@@ -100,6 +100,5 @@ function createDebugSink(config) {
|
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
//#endregion
|
|
104
103
|
export { createDebugSink };
|
|
105
104
|
//# sourceMappingURL=createDebugSink.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/debug/defaultTheme.ts
|
|
2
2
|
/**
|
|
3
3
|
* Default colors per the spec's Visual Style section. High contrast against
|
|
4
4
|
* the demo's dark backdrop. Override by passing `theme: { ... }` on
|
|
@@ -40,6 +40,5 @@ var DEFAULT_DEBUG_STROKES = {
|
|
|
40
40
|
highlight: { width: 2 }
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
//#endregion
|
|
44
43
|
export { DEFAULT_DEBUG_STROKES, DEFAULT_DEBUG_THEME };
|
|
45
44
|
//# sourceMappingURL=defaultTheme.js.map
|
package/dist/debug/features.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/debug/features.ts
|
|
2
2
|
/** Every debug-overlay feature a `DebugConfig` flag turns on, in the order a list of them shows. */
|
|
3
3
|
var DEBUG_FEATURES = [
|
|
4
4
|
"hitboxes",
|
|
@@ -12,6 +12,5 @@ var DEBUG_FEATURES = [
|
|
|
12
12
|
"viewport"
|
|
13
13
|
];
|
|
14
14
|
|
|
15
|
-
//#endregion
|
|
16
15
|
export { DEBUG_FEATURES };
|
|
17
16
|
//# sourceMappingURL=features.js.map
|
package/dist/debug/frameStats.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/debug/frameStats.ts
|
|
2
2
|
/** One paint's {@link FrameStats}: each layer's build time from `drawLayers`
|
|
3
3
|
* joined with its dispatch cost from the renderer, span for span. */
|
|
4
4
|
function frameStatsOf(layers, render, paintMs) {
|
|
@@ -13,6 +13,5 @@ function frameStatsOf(layers, render, paintMs) {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
//#endregion
|
|
17
16
|
export { frameStatsOf };
|
|
18
17
|
//# sourceMappingURL=frameStats.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { textCommandFromRuns } from "@weasel-js/renderer";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/debug/overlayPanels.ts
|
|
4
4
|
function rectPath(x, y, w, h) {
|
|
5
5
|
return {
|
|
6
6
|
kind: "rect",
|
|
@@ -112,6 +112,5 @@ function emitFramePanel(out, history, frame, theme) {
|
|
|
112
112
|
emitTextPanel(out, lines, 8, 8, theme.fpsText, theme.fpsTextBg);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
//#endregion
|
|
116
115
|
export { LINE_H, emitFramePanel, emitLayersPanel, emitTextPanel, rectPath };
|
|
117
116
|
//# sourceMappingURL=overlayPanels.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEBUG_FEATURES } from "./features.js";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/debug/parseDebugFlags.ts
|
|
4
4
|
/**
|
|
5
5
|
* Parse a URL query string (with or without leading `?`) for a `debug` param.
|
|
6
6
|
*
|
|
@@ -26,6 +26,5 @@ function parseDebugFlags(search) {
|
|
|
26
26
|
return Object.keys(out).length > 0 ? out : null;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
//#endregion
|
|
30
29
|
export { parseDebugFlags };
|
|
31
30
|
//# sourceMappingURL=parseDebugFlags.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { DEBUG_OVERLAY_ID, createDebugOverlayLayer } from "./createDebugOverlayLayer.js";
|
|
2
1
|
import { parseDebugFlags } from "./parseDebugFlags.js";
|
|
3
2
|
import { createDebugSink } from "./createDebugSink.js";
|
|
3
|
+
import { DEBUG_OVERLAY_ID, createDebugOverlayLayer } from "./createDebugOverlayLayer.js";
|
|
4
4
|
import { frameStatsOf } from "./frameStats.js";
|
|
5
5
|
import { useCallback, useMemo } from "react";
|
|
6
6
|
import { useLatest } from "@weasel-js/react";
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
// src/debug/useDebugSink.ts
|
|
9
9
|
var OFF = {
|
|
10
10
|
sink: null,
|
|
11
11
|
overlay: null,
|
|
@@ -66,6 +66,5 @@ function beginDebugFrame(sink, frameStats, layers) {
|
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
//#endregion
|
|
70
69
|
export { beginDebugFrame, useDebugSink };
|
|
71
70
|
//# sourceMappingURL=useDebugSink.js.map
|
|
@@ -5,21 +5,21 @@ import { ComponentType } from 'react';
|
|
|
5
5
|
import { IconRef } from '@weasel-js/icons';
|
|
6
6
|
import { PaintDrawKind, DrawCommand, Effect, CompositeOp, BlendFactors } from '@weasel-js/renderer';
|
|
7
7
|
import * as _weasel_js_routing_react from '@weasel-js/routing/react';
|
|
8
|
+
import { TextOutlinesError, TextNodeSource, TextStyle, StyledRun, TextVerticalAlign } from '@weasel-js/text';
|
|
8
9
|
import * as _weasel_js_geom from '@weasel-js/geom';
|
|
9
10
|
import { FramedBox, View, Path, Affine, Rect, Scale2, PolygonPath, Point, PathFillRule, AnchorSet, PointOrigin } from '@weasel-js/geom';
|
|
10
|
-
import { I as InheritedPaint, S as Scene, R as RectPose } from './types-
|
|
11
|
+
import { I as InheritedPaint, S as Scene, R as RectPose } from './types-BUvUXZe5.js';
|
|
11
12
|
import { Op, History } from '@weasel-js/history';
|
|
12
13
|
import { NodeId, ModifierState, OverlayRole, WorldPoint, ResizeAnchor, ActionDeps, OngoingHandle, OngoingOverlay, IngestItem, SelectionApi, Point2, DragSample, DebugSink, LongPressState } from '@weasel-js/routing';
|
|
13
|
-
import { TextNodeSource, TextOutlinesError, TextStyle, StyledRun, TextVerticalAlign } from '@weasel-js/text';
|
|
14
14
|
import { CursorSpec } from '@weasel-js/cursor';
|
|
15
15
|
import { ClaimableGesture } from '@weasel-js/gestures';
|
|
16
16
|
import { SnapTier, ProbeRole } from '@weasel-js/geom/nd';
|
|
17
17
|
import { a as PlaneMap, L as LayoutStrategy, b as LayoutDropTargetMode, R as ReflowTransition } from './types-A_sNJYRd.js';
|
|
18
18
|
import { O as OriginProjection } from './originProjection-gY0jb4Wb.js';
|
|
19
19
|
import { EasingSpec, InterpolatorFactory, Target, Animator, TargetAxes } from '@weasel-js/animator';
|
|
20
|
-
import { I as InsertAdapter, P as PasteOmission, R as RegionPickView } from './types-VCtfchp-.js';
|
|
21
20
|
import { B as BoundsConstraint } from './clone-Bz4iqGfE.js';
|
|
22
21
|
import { P as PoseDescriptor } from './poseDescriptor-CvSxVhCd.js';
|
|
22
|
+
import { R as RegionPickView, I as InsertAdapter, P as PasteOmission } from './types-VCtfchp-.js';
|
|
23
23
|
|
|
24
24
|
/** Pixel dimensions of the canvas viewport. */
|
|
25
25
|
interface ViewportDims {
|
|
@@ -201,6 +201,27 @@ declare function paintKindOf(fill: Paint): PaintKindEntry | undefined;
|
|
|
201
201
|
/** @internal Test helper — do not call from product code. */
|
|
202
202
|
declare function _resetPaintKindsForTests(): void;
|
|
203
203
|
|
|
204
|
+
/**
|
|
205
|
+
* How an action tells the user something went wrong: the `notices` dep a host
|
|
206
|
+
* publishes, shown however it shows such things (draw raises a toast). Without
|
|
207
|
+
* one the message goes to the console.
|
|
208
|
+
*/
|
|
209
|
+
|
|
210
|
+
/** What a notice says beyond its title. */
|
|
211
|
+
interface NoticeOptions {
|
|
212
|
+
/** One notice per id: a later one with the same id replaces it. */
|
|
213
|
+
id?: string;
|
|
214
|
+
description?: string;
|
|
215
|
+
}
|
|
216
|
+
/** The host's notice surface, read by actions whose result the user must hear about. */
|
|
217
|
+
interface NoticesDep {
|
|
218
|
+
warn(title: string, opts?: NoticeOptions): void;
|
|
219
|
+
}
|
|
220
|
+
/** Warn the user through `notices`, or under `tag` on the console without one. */
|
|
221
|
+
declare function warnUser(notices: NoticesDep | undefined, tag: string, title: string, opts?: NoticeOptions): void;
|
|
222
|
+
/** Warn that text in `error`'s face could not be turned into outlines. */
|
|
223
|
+
declare function warnTextOutlines(notices: NoticesDep | undefined, tag: string, error: TextOutlinesError): void;
|
|
224
|
+
|
|
204
225
|
/** The paint a path node wears, resolved: what an action that turns ink into
|
|
205
226
|
* geometry reads from a node and tells a consumer to put on a result. */
|
|
206
227
|
interface PathPaint {
|
|
@@ -312,12 +333,14 @@ type CreateOutlinesResult =
|
|
|
312
333
|
error: TextOutlinesError;
|
|
313
334
|
};
|
|
314
335
|
/**
|
|
315
|
-
* Convert every text node
|
|
316
|
-
* "Create Outlines". Other
|
|
317
|
-
*
|
|
318
|
-
*
|
|
336
|
+
* Convert every text node among `ids` — the selection, when not given — to
|
|
337
|
+
* outlines, as one batch labeled "Create Outlines". Other nodes are left
|
|
338
|
+
* alone, and the selection keeps them; a selected text node's replacement
|
|
339
|
+
* takes its place there. All or nothing: if any text node's face cannot
|
|
340
|
+
* supply outlines the scene is untouched and the error comes back in the
|
|
341
|
+
* result.
|
|
319
342
|
*/
|
|
320
|
-
declare function applyCreateOutlines(adapter: CreateOutlinesAdapter): CreateOutlinesResult;
|
|
343
|
+
declare function applyCreateOutlines(adapter: CreateOutlinesAdapter, ids?: readonly NodeId[]): CreateOutlinesResult;
|
|
321
344
|
|
|
322
345
|
/**
|
|
323
346
|
* What each selected node gives a Boolean operation: its path, its glyph
|
|
@@ -1410,6 +1433,11 @@ interface SceneCanvasSnap {
|
|
|
1410
1433
|
* turned container's lattice: a pose neither a rect nor a `Path` needs
|
|
1411
1434
|
* its own. Default `AUTO_ORIGIN_PROJECTION`. */
|
|
1412
1435
|
originProjection?: OriginProjection<unknown>;
|
|
1436
|
+
/** Points of node `id` a move snaps, in its own box frame (`sceneBoxFrames`:
|
|
1437
|
+
* from its box corner, through its pose transform, scale included), such as
|
|
1438
|
+
* a cabinet's hanger holes. Read once when a move begins; each becomes a
|
|
1439
|
+
* probe of role `'anchor'`, offered only to a source whose `roles` list it. */
|
|
1440
|
+
anchors?: SnapAnchors;
|
|
1413
1441
|
/** Whether the canvas draws the snap marks. Default `true`. With `false`
|
|
1414
1442
|
* the marks are still written to the `snapReadout` dep's store, for a
|
|
1415
1443
|
* layer of the consumer's own. */
|
|
@@ -1417,6 +1445,8 @@ interface SceneCanvasSnap {
|
|
|
1417
1445
|
/** The readout's default colors and line width, for a mark that sets no `color`. */
|
|
1418
1446
|
readoutStyle?: SnapReadoutStyle;
|
|
1419
1447
|
}
|
|
1448
|
+
/** Node `id`'s snap anchors in its own box frame; none for null or undefined. */
|
|
1449
|
+
type SnapAnchors = (id: string) => readonly Point[] | null | undefined;
|
|
1420
1450
|
/** The snap readout's colors and line width, for a mark that sets no `color`. */
|
|
1421
1451
|
interface SnapReadoutStyle {
|
|
1422
1452
|
/** Points, lines and their labels. Default orange, as the path marker. */
|
|
@@ -2095,12 +2125,6 @@ interface EditAnchorsDep {
|
|
|
2095
2125
|
width: number;
|
|
2096
2126
|
height: number;
|
|
2097
2127
|
} | null): void;
|
|
2098
|
-
/** The path-edit tool in use, or null for plain anchor editing — one of a
|
|
2099
|
-
* set of named tools, such as `'simplifyBrush'`, that each change what a
|
|
2100
|
-
* plain drag in path edit does. Always null with no path open. */
|
|
2101
|
-
tool: string | null;
|
|
2102
|
-
/** Switch path-edit tool, or pass null for plain anchor editing. */
|
|
2103
|
-
setTool(id: string | null): void;
|
|
2104
2128
|
/** The handle locks held for every handle drag, on top of the modifiers —
|
|
2105
2129
|
* what the `handleLock.angle` and `handleLock.length` toggles set. Absent,
|
|
2106
2130
|
* the drag holds what its `handleLock` param names. Unlike the anchor
|
|
@@ -2151,6 +2175,65 @@ declare function createEnteredGroup(scene: SceneReads): EnteredGroupApi;
|
|
|
2151
2175
|
/** One entered-group store for the life of the scene. */
|
|
2152
2176
|
declare function useEnteredGroup(scene: SceneReads): EnteredGroupApi;
|
|
2153
2177
|
|
|
2178
|
+
/** What the region selects and point picks ask of the canvas. */
|
|
2179
|
+
|
|
2180
|
+
/** The part of the asking view a region hit-test consults. `get` is its
|
|
2181
|
+
* camera, which a parallax layer is picked through. */
|
|
2182
|
+
type HitTestView = RegionPickView;
|
|
2183
|
+
/**
|
|
2184
|
+
* Topmost-node-at-world-point dep, for any action that needs a single-best
|
|
2185
|
+
* pick. The dep walks hits front-to-back and returns the first id not in
|
|
2186
|
+
* `exclude`. Pass moving-node roots + their descendants when the caller
|
|
2187
|
+
* wants to ignore the nodes it's manipulating.
|
|
2188
|
+
*/
|
|
2189
|
+
type NodeAtPointDep = (point: WorldPoint, exclude?: Iterable<NodeId>) => NodeId | null;
|
|
2190
|
+
/** What an area-selecting action needs: a way to ask what a region covers,
|
|
2191
|
+
* and a way to read and replace the selection. */
|
|
2192
|
+
interface AreaSelectDep {
|
|
2193
|
+
/** Return ids of all scene nodes whose AABB overlaps `bounds`, skipping any
|
|
2194
|
+
* on a layer `view` — the view the gesture ran in — does not paint. */
|
|
2195
|
+
hitTestArea(bounds: {
|
|
2196
|
+
x: number;
|
|
2197
|
+
y: number;
|
|
2198
|
+
width: number;
|
|
2199
|
+
height: number;
|
|
2200
|
+
}, view?: HitTestView): NodeId[];
|
|
2201
|
+
/** The node selecting `id` selects: the outermost group above it that is
|
|
2202
|
+
* not entered, as a click picks. Absent means `id` itself. */
|
|
2203
|
+
targetOf?(id: string): string;
|
|
2204
|
+
/** Return the current selection id list. */
|
|
2205
|
+
getSelection(): NodeId[];
|
|
2206
|
+
/** Replace the current selection. */
|
|
2207
|
+
setSelection(ids: NodeId[]): void;
|
|
2208
|
+
}
|
|
2209
|
+
/**
|
|
2210
|
+
* Adapter dep for `lassoSelectAction`: polygon-lasso hit-testing +
|
|
2211
|
+
* selection read/write.
|
|
2212
|
+
*/
|
|
2213
|
+
interface LassoSelectDep {
|
|
2214
|
+
/**
|
|
2215
|
+
* Hit-test against a closed polygon (vertex order CW or CCW; last→first
|
|
2216
|
+
* closing edge is implicit). Returns matching node ids.
|
|
2217
|
+
* Optional — when absent, `lassoSelectAction` falls back to AABB via
|
|
2218
|
+
* `hitTestArea`.
|
|
2219
|
+
*/
|
|
2220
|
+
hitTestLasso?(polygon: ReadonlyArray<WorldPoint>, mode: 'centers' | 'intersect' | 'enclosed', view?: HitTestView): string[];
|
|
2221
|
+
/** Return ids of nodes whose AABB overlaps the given rect (fallback). */
|
|
2222
|
+
hitTestArea(bounds: {
|
|
2223
|
+
x: number;
|
|
2224
|
+
y: number;
|
|
2225
|
+
width: number;
|
|
2226
|
+
height: number;
|
|
2227
|
+
}, view?: HitTestView): string[];
|
|
2228
|
+
/** The node selecting `id` selects: the outermost group above it that is
|
|
2229
|
+
* not entered, as a click picks. Absent means `id` itself. */
|
|
2230
|
+
targetOf?(id: string): string;
|
|
2231
|
+
/** Return the current selection id list. */
|
|
2232
|
+
getSelection(): string[];
|
|
2233
|
+
/** Replace the current selection. */
|
|
2234
|
+
setSelection(ids: string[]): void;
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2154
2237
|
/** Context handed to every content handler for one ingest event. */
|
|
2155
2238
|
interface IngestCtx {
|
|
2156
2239
|
/** World-space arrival point (drop / pointed imperative ingest); `null`
|
|
@@ -2521,56 +2604,6 @@ interface ViewApi {
|
|
|
2521
2604
|
* pass over what the asking view does not paint. */
|
|
2522
2605
|
layerIsPainted?(layerId: string): boolean;
|
|
2523
2606
|
}
|
|
2524
|
-
/** The part of the asking view a region hit-test consults. `get` is its
|
|
2525
|
-
* camera, which a parallax layer is picked through. */
|
|
2526
|
-
type HitTestView = RegionPickView;
|
|
2527
|
-
/**
|
|
2528
|
-
* Topmost-node-at-world-point dep, for any action that needs a single-best
|
|
2529
|
-
* pick. The dep walks hits front-to-back and returns the first id not in
|
|
2530
|
-
* `exclude`. Pass moving-node roots + their descendants when the caller
|
|
2531
|
-
* wants to ignore the nodes it's manipulating.
|
|
2532
|
-
*/
|
|
2533
|
-
type NodeAtPointDep = (point: WorldPoint, exclude?: Iterable<NodeId>) => NodeId | null;
|
|
2534
|
-
/** What an area-selecting action needs: a way to ask what a region covers,
|
|
2535
|
-
* and a way to read and replace the selection. */
|
|
2536
|
-
interface AreaSelectDep {
|
|
2537
|
-
/** Return ids of all scene nodes whose AABB overlaps `bounds`, skipping any
|
|
2538
|
-
* on a layer `view` — the view the gesture ran in — does not paint. */
|
|
2539
|
-
hitTestArea(bounds: {
|
|
2540
|
-
x: number;
|
|
2541
|
-
y: number;
|
|
2542
|
-
width: number;
|
|
2543
|
-
height: number;
|
|
2544
|
-
}, view?: HitTestView): NodeId[];
|
|
2545
|
-
/** Return the current selection id list. */
|
|
2546
|
-
getSelection(): NodeId[];
|
|
2547
|
-
/** Replace the current selection. */
|
|
2548
|
-
setSelection(ids: NodeId[]): void;
|
|
2549
|
-
}
|
|
2550
|
-
/**
|
|
2551
|
-
* Adapter dep for `lassoSelectAction`: polygon-lasso hit-testing +
|
|
2552
|
-
* selection read/write.
|
|
2553
|
-
*/
|
|
2554
|
-
interface LassoSelectDep {
|
|
2555
|
-
/**
|
|
2556
|
-
* Hit-test against a closed polygon (vertex order CW or CCW; last→first
|
|
2557
|
-
* closing edge is implicit). Returns matching node ids.
|
|
2558
|
-
* Optional — when absent, `lassoSelectAction` falls back to AABB via
|
|
2559
|
-
* `hitTestArea`.
|
|
2560
|
-
*/
|
|
2561
|
-
hitTestLasso?(polygon: ReadonlyArray<WorldPoint>, mode: 'centers' | 'intersect' | 'enclosed', view?: HitTestView): string[];
|
|
2562
|
-
/** Return ids of nodes whose AABB overlaps the given rect (fallback). */
|
|
2563
|
-
hitTestArea(bounds: {
|
|
2564
|
-
x: number;
|
|
2565
|
-
y: number;
|
|
2566
|
-
width: number;
|
|
2567
|
-
height: number;
|
|
2568
|
-
}, view?: HitTestView): string[];
|
|
2569
|
-
/** Return the current selection id list. */
|
|
2570
|
-
getSelection(): string[];
|
|
2571
|
-
/** Replace the current selection. */
|
|
2572
|
-
setSelection(ids: string[]): void;
|
|
2573
|
-
}
|
|
2574
2607
|
|
|
2575
2608
|
/**
|
|
2576
2609
|
* Per-kind extra geometry passed to `InsertDep.commit`.
|
|
@@ -2782,6 +2815,9 @@ declare module '@weasel-js/routing' {
|
|
|
2782
2815
|
* in both its `enabled` predicate and its invoker.
|
|
2783
2816
|
*/
|
|
2784
2817
|
createOutlinesAdapter?: CreateOutlinesAdapter;
|
|
2818
|
+
/** Where an action tells the user something went wrong, such as text it
|
|
2819
|
+
* could not outline. Optional: without it the message goes to the console. */
|
|
2820
|
+
notices?: NoticesDep;
|
|
2785
2821
|
/** Gesture dispatcher control surface, so an action can abort an
|
|
2786
2822
|
* in-flight handle (Escape cancels a drag, etc.). */
|
|
2787
2823
|
dispatcher?: {
|
|
@@ -2851,4 +2887,4 @@ declare module '@weasel-js/routing' {
|
|
|
2851
2887
|
}
|
|
2852
2888
|
}
|
|
2853
2889
|
|
|
2854
|
-
export { type
|
|
2890
|
+
export { type BooleanStrokes as $, type AnchorMarkerShape as A, type CommonAffordanceScratch as B, type ContentHandlerEntry as C, type Dims as D, type EditAnchorsDep as E, type FitViewToBoundsOptions as F, type GestureLifecycleOptions as G, type HandleLocks as H, type InertiaConfig as I, type CreateOutlinesAdapter as J, type PaintKindEntry as K, type LayerHit as L, type PathEditTarget as M, type NoticesDep as N, type FinishedEditFrame as O, type PathEditMark as P, type PathSymmetryDep as Q, type RenderLayer as R, type SnapSource as S, type TextOverflow as T, type BooleanOpOptions as U, type ViewAnimationOptions as V, type BooleansAdapter as W, type BooleanOp as X, type PathPaint as Y, type BooleanOpResult as Z, _resetPaintKindsForTests as _, type PathEditExtension as a, type PathRepresentation as a$, type SnapMods as a0, type SourceCandidate as a1, type SnapProbeAt as a2, type SnapCollect as a3, type SnapMark as a4, type SnapDep as a5, type SnapOutcome as a6, type SnapReadoutStyle as a7, type AngleCandidate as a8, type AngleCollect as a9, type LayerDrawFailure as aA, type LayerDrawSpan as aB, type LayerRetainPolicy as aC, type LayoutDep as aD, type Locus as aE, type MinSize as aF, type NodeAtPointDep as aG, type NoticeOptions as aH, type OutlinePathSpec as aI, PATH_OVERLAY_ROLES as aJ, type PaintKind as aK, type PaintKindEditorProps as aL, type PaintKindFamily as aM, type PaintKindLoader as aN, type PanBounds as aO, type PathEditDrag as aP, type PathEditDragStart as aQ, type PathEditFinishCtx as aR, type PathEditHandleMove as aS, type PathEditMarksCtx as aT, type PathEditOther as aU, type PathEditPart as aV, type PathEditStore as aW, type PathForm as aX, type PathOverlay as aY, type PathOverlayOptions as aZ, type PathOverlayStyle as a_, type AnimateToBoundsOptions as aa, type AreaSelectDep as ab, type BooleanOpPreview as ac, type BooleanPreviewPiece as ad, type CanDropIntoDep as ae, type ClipboardDep as af, type ClipboardIngestCtx as ag, type CreateOutlinesResult as ah, type CustomPaintContext as ai, DEFAULT_LAYER_RETAIN as aj, type DecayLoopConfig as ak, type DropRefusal as al, type DropVerdict as am, type FinishedPathEdit as an, GEOMETRY_BOUND_DATA as ao, type HandleLock as ap, type HitTestView as aq, type IngestCtx as ar, type IngestionDep as as, type InsertDep as at, type InsertEnds as au, type InsertExtras as av, type InsertIntoDep as aw, type InsertLive as ax, type LassoSelectDep as ay, type LayerCommandCache as az, type SnapGesture as b, type PathTransformFinishCtx as b0, type PoseChange as b1, type PreviewPathsDep as b2, type ResizePolicy as b3, STICKY_DEFAULTS as b4, type SnapBegin as b5, type SnapFrame as b6, type SnapMarks as b7, type SnapReadoutDep as b8, type SnapSide as b9, paintKindRegistry as bA, paintedLayers as bB, paintsLayer as bC, paletteInsertPaint as bD, pathPaintOf as bE, patternFamily as bF, previewBooleanOp as bG, refusalOf as bH, registerContentHandler as bI, registerPaintKind as bJ, registerPaintKindLoader as bK, seedTile as bL, stickyData as bM, stickyNodeFactory as bN, subscribeToSources as bO, switchGradientKind as bP, textBoxOf as bQ, useDecayLoop as bR, useEnteredGroup as bS, useViewAnimation as bT, useViewAnimationOn as bU, viewAxes as bV, warnTextOutlines as bW, warnUser as bX, withoutGeometryBoundData as bY, type SvgUnpacker as ba, type TextEditDep as bb, type TextNodeData as bc, type TransformPreviewNode as bd, type TransientPath as be, VIEW_ANIMATION_KEY as bf, type ViewAnimationApi as bg, type ViewApi as bh, type ViewChannel as bi, applyBooleanOp as bj, applyCreateOutlines as bk, asPaint as bl, createEnteredGroup as bm, createPathOverlay as bn, createSnapOutcomeStore as bo, depsUnchanged as bp, drawLayers as bq, drawOneLayer as br, fitViewToBounds as bs, getPaintKind as bt, isLayerPainted as bu, isLayerVisible as bv, listGradientKinds as bw, listPaintKinds as bx, minSizeOf as by, paintKindOf as bz, type SnapConstrain as c, type SnapResizeBox as d, type SnapGeometry as e, type SnapOutcomeStore as f, type SnapAnchors as g, type SnapSession as h, type LayerDims as i, type ViewportDims as j, type RedrawSource as k, type EditAnchorsParams as l, type SliceDep as m, type StickyStyle as n, type EnteredGroupApi as o, type ChromeState as p, type LayerGroup as q, type TransformFollower as r, type GeometryProjection as s, type InsertNodeFactory as t, type InsertPaint as u, type SvgIngestOptions as v, type SceneCanvasSnap as w, type Affordance as x, type AffordanceRegion as y, type AffordanceBinding as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { serialize } from "./serialize.js";
|
|
2
2
|
import { historySlice } from "./history.js";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/devtools/handlers.ts
|
|
5
5
|
function sceneOf(root) {
|
|
6
6
|
const scene = root.source.scene();
|
|
7
7
|
if (!scene) throw new Error("scene not mounted yet");
|
|
@@ -107,6 +107,5 @@ function answer(root, req, steer) {
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
//#endregion
|
|
111
110
|
export { answer, childrenOf, nodeDetail, overlayFlags, rootState, traceSlice };
|
|
112
111
|
//# sourceMappingURL=handlers.js.map
|
package/dist/devtools/history.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { serialize } from "./serialize.js";
|
|
2
2
|
import { touchedIdsFromOps } from "@weasel-js/history";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/devtools/history.ts
|
|
5
5
|
/** A scene's history steps as the devtools hook keeps them: one plain record per step, in a rolling ring. */
|
|
6
6
|
/** How much of one step a record keeps: a jump can walk the whole stack, and a batch can hold any number of ops. */
|
|
7
7
|
var HISTORY_RECORD_LIMITS = {
|
|
@@ -66,6 +66,5 @@ function historySlice(root, cursor, checkpoints) {
|
|
|
66
66
|
return out;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
//#endregion
|
|
70
69
|
export { HISTORY_RECORD_LIMITS, historySlice, recordHistory };
|
|
71
70
|
//# sourceMappingURL=history.js.map
|
package/dist/devtools/hook.js
CHANGED
|
@@ -4,7 +4,7 @@ import { openSession } from "./session.js";
|
|
|
4
4
|
import { createWindowPageTransport, isDevtoolsEnvelope } from "./transport.js";
|
|
5
5
|
import { createEmitter } from "@weasel-js/registry";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/devtools/hook.ts
|
|
8
8
|
/**
|
|
9
9
|
* The devtools hook: the page-wide registry of roots a panel connects to,
|
|
10
10
|
* published as `window.__weaselDevtools__`.
|
|
@@ -69,6 +69,5 @@ function installDevtoolsHook() {
|
|
|
69
69
|
return hook;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
//#endregion
|
|
73
72
|
export { createDevtoolsHook, installDevtoolsHook };
|
|
74
73
|
//# sourceMappingURL=hook.js.map
|
package/dist/devtools/label.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createContext, useContext } from "react";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/devtools/label.tsx
|
|
5
5
|
var DevtoolsLabelContext = createContext(null);
|
|
6
6
|
/**
|
|
7
7
|
* Names the canvases beneath it in a devtools panel, ahead of any labeled
|
|
@@ -20,6 +20,5 @@ function useDevtoolsLabel() {
|
|
|
20
20
|
return useContext(DevtoolsLabelContext);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
//#endregion
|
|
24
23
|
export { DevtoolsLabel, useDevtoolsLabel };
|
|
25
24
|
//# sourceMappingURL=label.js.map
|
package/dist/devtools/notices.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEVTOOLS_PROTOCOL } from "./protocol.js";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/devtools/notices.ts
|
|
4
4
|
/** A session's change notices: the roots it follows, and what changed in each since the last flush. */
|
|
5
5
|
function createNotices(rootOf, schedule, send) {
|
|
6
6
|
const following = /* @__PURE__ */ new Map();
|
|
@@ -53,6 +53,5 @@ function createNotices(rootOf, schedule, send) {
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
//#endregion
|
|
57
56
|
export { createNotices };
|
|
58
57
|
//# sourceMappingURL=notices.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// src/devtools/protocol.ts
|
|
2
2
|
/** Bumped on any change a panel built against the previous number would misread. */
|
|
3
3
|
var DEVTOOLS_PROTOCOL = 1;
|
|
4
4
|
|
|
5
|
-
//#endregion
|
|
6
5
|
export { DEVTOOLS_PROTOCOL };
|
|
7
6
|
//# sourceMappingURL=protocol.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { serialize } from "./serialize.js";
|
|
2
2
|
import { actionBindings, buildDepsFromRequires, evaluateActive, evaluateEnabled, overriddenBindings, routesForSpec } from "@weasel-js/routing";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/devtools/registry.ts
|
|
5
5
|
/** What one canvas has registered — its tools, actions, deps and node kinds — as plain data for `get-registry`. */
|
|
6
6
|
function routesOf(binding) {
|
|
7
7
|
try {
|
|
@@ -85,6 +85,5 @@ function describeRegistry(inputs) {
|
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
//#endregion
|
|
89
88
|
export { describeRegistry };
|
|
90
89
|
//# sourceMappingURL=registry.js.map
|
package/dist/devtools/root.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/devtools/root.ts
|
|
2
2
|
var nextId = 1;
|
|
3
3
|
/** A root over `source`, with a fresh page-unique id. */
|
|
4
4
|
function createDevtoolsRoot(source) {
|
|
@@ -75,6 +75,5 @@ function createDevtoolsRoot(source) {
|
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
//#endregion
|
|
79
78
|
export { createDevtoolsRoot };
|
|
80
79
|
//# sourceMappingURL=root.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/devtools/serialize.ts
|
|
2
2
|
var TYPED = [
|
|
3
3
|
Int8Array,
|
|
4
4
|
Uint8Array,
|
|
@@ -81,6 +81,5 @@ function serialize(value, limits = {}) {
|
|
|
81
81
|
return walk(value, 0);
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
//#endregion
|
|
85
84
|
export { serialize };
|
|
86
85
|
//# sourceMappingURL=serialize.js.map
|
package/dist/devtools/session.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { VERSION } from "../version.js";
|
|
2
|
-
import { DEVTOOLS_PROTOCOL } from "./protocol.js";
|
|
3
2
|
import { answer } from "./handlers.js";
|
|
4
3
|
import { createNotices } from "./notices.js";
|
|
4
|
+
import { DEVTOOLS_PROTOCOL } from "./protocol.js";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/devtools/session.ts
|
|
7
7
|
/**
|
|
8
8
|
* One panel's connection to the page: the handshake, every request, the
|
|
9
9
|
* change notices, and the overrides the panel holds, which go when it does.
|
|
@@ -106,6 +106,5 @@ function openSession(host, transport) {
|
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
//#endregion
|
|
110
109
|
export { openSession };
|
|
111
110
|
//# sourceMappingURL=session.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/devtools/transport.ts
|
|
2
2
|
/** Marks devtools traffic among whatever else a page posts to its window. */
|
|
3
3
|
var DEVTOOLS_ENVELOPE = "weasel-devtools";
|
|
4
4
|
/** Whether a posted message's `data` is devtools traffic. */
|
|
@@ -62,6 +62,5 @@ function createWindowPanelTransport(target = window) {
|
|
|
62
62
|
return windowTransport("panel", target);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
//#endregion
|
|
66
65
|
export { DEVTOOLS_ENVELOPE, createInPageTransports, createWindowPageTransport, createWindowPanelTransport, isDevtoolsEnvelope };
|
|
67
66
|
//# sourceMappingURL=transport.js.map
|
|
@@ -4,7 +4,7 @@ import { createDevtoolsRoot } from "./root.js";
|
|
|
4
4
|
import { useEffect, useMemo, useState } from "react";
|
|
5
5
|
import { isDev, useLatest } from "@weasel-js/react";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/devtools/useDevtoolsRoot.ts
|
|
8
8
|
/** `debug` as the canvas resolves it, with `override` over it. Absent `debug` reads `?debug=` from the URL. */
|
|
9
9
|
function withOverride(debug, override) {
|
|
10
10
|
if (!override) return debug;
|
|
@@ -76,6 +76,5 @@ function useDevtoolsRoot(inputs, changes) {
|
|
|
76
76
|
return root;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
//#endregion
|
|
80
79
|
export { useDevtoolsOverride, useDevtoolsRoot, withOverride };
|
|
81
80
|
//# sourceMappingURL=useDevtoolsRoot.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { e as DebugFeature, a as DebugConfig } from './types-BN9hbdMI.js';
|
|
2
2
|
import { DispatchTrace, TraceRing } from '@weasel-js/routing';
|
|
3
|
-
import { S as Scene } from './types-
|
|
3
|
+
import { S as Scene } from './types-BUvUXZe5.js';
|
|
4
4
|
import '@weasel-js/history';
|
|
5
5
|
import './types-A_sNJYRd.js';
|
|
6
6
|
import '@weasel-js/geom';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createDevtoolsHook, installDevtoolsHook } from "./devtools/hook.js";
|
|
2
2
|
import { DEVTOOLS_PROTOCOL } from "./devtools/protocol.js";
|
|
3
3
|
import { DEVTOOLS_ENVELOPE, createInPageTransports, createWindowPageTransport, createWindowPanelTransport, isDevtoolsEnvelope } from "./devtools/transport.js";
|
|
4
|
-
import {
|
|
4
|
+
import { serialize } from "./devtools/serialize.js";
|
|
5
5
|
import { createDevtoolsRoot } from "./devtools/root.js";
|
|
6
6
|
|
|
7
7
|
export { DEVTOOLS_ENVELOPE, DEVTOOLS_PROTOCOL, createDevtoolsHook, createDevtoolsRoot, createInPageTransports, createWindowPageTransport, createWindowPanelTransport, installDevtoolsHook, isDevtoolsEnvelope, serialize };
|
package/dist/devtools.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { DEVTOOLS_ENVELOPE, DEVTOOLS_PROTOCOL, DevtoolsActionEntry, DevtoolsArea, DevtoolsBinding, DevtoolsDepEntry, DevtoolsEnvelope, DevtoolsHistoryOp, DevtoolsHistoryRecord, DevtoolsHistorySlice, DevtoolsNodeDetail, DevtoolsNodeSummary, DevtoolsOverlays, DevtoolsRegistry, DevtoolsRequest, DevtoolsResult, DevtoolsRoot, DevtoolsRootInfo, DevtoolsRootSource, DevtoolsRootState, DevtoolsSchedule, DevtoolsToolEntry, DevtoolsTraceSlice, DevtoolsTransport, PageMessage, PageTransport, PanelMessage, PanelTransport, SerializeLimits, SerializedValue, WeaselDevtoolsHook, createDevtoolsHook, createDevtoolsRoot, createInPageTransports, createWindowPageTransport, createWindowPanelTransport, installDevtoolsHook, isDevtoolsEnvelope, serialize } from './devtools-protocol.js';
|
|
2
2
|
import './types-BN9hbdMI.js';
|
|
3
3
|
import '@weasel-js/routing';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-BUvUXZe5.js';
|
|
5
5
|
import '@weasel-js/history';
|
|
6
6
|
import './types-A_sNJYRd.js';
|
|
7
7
|
import '@weasel-js/geom';
|
package/dist/devtools.js
CHANGED
|
@@ -4,9 +4,8 @@ import { DEVTOOLS_ENVELOPE, createInPageTransports, createWindowPageTransport, c
|
|
|
4
4
|
import { createDevtoolsHook, installDevtoolsHook } from "./devtools/hook.js";
|
|
5
5
|
import { createDevtoolsRoot } from "./devtools/root.js";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/import-shims/devtools.ts
|
|
8
8
|
installDevtoolsHook();
|
|
9
9
|
|
|
10
|
-
//#endregion
|
|
11
10
|
export { DEVTOOLS_ENVELOPE, DEVTOOLS_PROTOCOL, createDevtoolsHook, createDevtoolsRoot, createInPageTransports, createWindowPageTransport, createWindowPanelTransport, installDevtoolsHook, isDevtoolsEnvelope, serialize };
|
|
12
11
|
//# sourceMappingURL=devtools.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/domains/chrome-caps/buildChromeCtx.ts
|
|
2
2
|
/** Gather the current canvas state into the context that chrome-visibility
|
|
3
3
|
* rules are evaluated against. Rebuilt per frame. */
|
|
4
4
|
function buildChromeCtx(args) {
|
|
@@ -13,6 +13,5 @@ function buildChromeCtx(args) {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
//#endregion
|
|
17
16
|
export { buildChromeCtx };
|
|
18
17
|
//# sourceMappingURL=buildChromeCtx.js.map
|