@weasel-js/core 1.9.1 → 1.9.3
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 +63 -0
- package/dist/animation/timeline/createTimeline.js.map +1 -1
- package/dist/animation/timeline/sampleTrack.js +63 -21
- package/dist/animation/timeline/sampleTrack.js.map +1 -1
- package/dist/{builtins-CQcvcLXh.d.ts → builtins-C-VgUlWI.d.ts} +5 -3
- package/dist/canvas/SceneCanvas/defaultNodeProperties.js +35 -23
- package/dist/canvas/SceneCanvas/defaultNodeProperties.js.map +1 -1
- package/dist/core/scene/reconcileSpecs.js +47 -0
- package/dist/core/scene/reconcileSpecs.js.map +1 -0
- package/dist/index.d.ts +69 -26
- package/dist/index.js +168 -167
- package/dist/renderer.d.ts +1 -1
- package/dist/tools/builtin/text/useTextTool.js +12 -2
- package/dist/tools/builtin/text/useTextTool.js.map +1 -1
- package/dist/tools/prefs.js +17 -2
- package/dist/tools/prefs.js.map +1 -1
- package/dist/version.js +1 -1
- package/package.json +16 -16
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { isPlainObject as e } from "../isPlainObject.js";
|
|
2
|
+
//#region src/core/scene/reconcileSpecs.ts
|
|
3
|
+
function t(e, t, a) {
|
|
4
|
+
let o = n(t), s = n(a), c = [];
|
|
5
|
+
for (let [e, t] of o) {
|
|
6
|
+
let n = s.get(e);
|
|
7
|
+
(n === void 0 || r(t, n)) && c.push(e);
|
|
8
|
+
}
|
|
9
|
+
let l = e.removalClosure(c.filter((t) => e.get(t) !== void 0)), u = new Set(l);
|
|
10
|
+
e.untracked(() => {
|
|
11
|
+
e.removeMany(l);
|
|
12
|
+
for (let t of a) {
|
|
13
|
+
let n = t.id, r = o.get(n);
|
|
14
|
+
if (e.get(n) === void 0 || r === void 0 || u.has(n)) {
|
|
15
|
+
e.add(t);
|
|
16
|
+
continue;
|
|
17
|
+
}
|
|
18
|
+
let a = t.parent ?? null;
|
|
19
|
+
a !== (r.parent ?? null) && e.move(n, a), t.layer !== r.layer && e.setLayer(n, t.layer), i(t.data, r.data) || e.update(n, { data: t.data }), i(t.dependsOn, r.dependsOn) || e.setDependsOn(n, t.dependsOn), i(t.pose, r.pose) || e.setPose(n, t.pose);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
function n(e) {
|
|
24
|
+
let t = /* @__PURE__ */ new Map();
|
|
25
|
+
for (let n of e) {
|
|
26
|
+
if (n.id === void 0) throw Error("reconcileSpecs: every spec needs an id");
|
|
27
|
+
if (t.has(n.id)) throw Error(`reconcileSpecs: id "${n.id}" appears more than once`);
|
|
28
|
+
t.set(n.id, n);
|
|
29
|
+
}
|
|
30
|
+
return t;
|
|
31
|
+
}
|
|
32
|
+
function r(e, t) {
|
|
33
|
+
return e.kind !== t.kind || e.pickable !== t.pickable || e.derivePath !== t.derivePath || e.derivePose !== t.derivePose || e.clipFromPose !== t.clipFromPose || e.layout !== t.layout;
|
|
34
|
+
}
|
|
35
|
+
function i(t, n) {
|
|
36
|
+
if (Object.is(t, n)) return !0;
|
|
37
|
+
if (Array.isArray(t) && Array.isArray(n)) return t.length === n.length && t.every((e, t) => i(e, n[t]));
|
|
38
|
+
if (e(t) && e(n)) {
|
|
39
|
+
let e = Object.keys(t);
|
|
40
|
+
return e.length === Object.keys(n).length && e.every((e) => e in n && i(t[e], n[e]));
|
|
41
|
+
}
|
|
42
|
+
return !1;
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
export { t as reconcileSpecs };
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=reconcileSpecs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reconcileSpecs.js","names":["reconcileSpecs","prevById","byId","prev","nextById","next","gone","id","before","after","needsReplace","removing","scene","removed","spec","parent","same","out","specs","a","b","v","i","isPlainObject","ka","k"],"sources":["../../../src/core/scene/reconcileSpecs.ts"],"sourcesContent":["import { isPlainObject } from '../isPlainObject';\nimport type { AddNodeSpec, NodeId, Scene } from './types';\n\n/**\n * Bring `scene` from `prev` to `next`: add what `next` gained, remove what it\n * lost, and write only the fields that changed between the two.\n *\n * The diff is spec against spec, not spec against scene, so whatever the scene\n * did since `prev` — a node dragged, an edge authored by a gesture — survives\n * unless `next` changes that same field. The writes are untracked: syncing to\n * outside data is not an undo step.\n *\n * Every spec needs an `id`, and `next` must be in an order `createScene` would\n * accept — parents and dependencies before what names them. A node whose\n * `kind` or derive functions change is removed and added again, along with\n * everything its removal takes with it.\n */\nexport function reconcileSpecs<TData, TLayer extends string, TPose>(\n scene: Scene<TData, TLayer, TPose>,\n prev: readonly AddNodeSpec<TData, TLayer, TPose>[],\n next: readonly AddNodeSpec<TData, TLayer, TPose>[],\n): void {\n const prevById = byId(prev);\n const nextById = byId(next);\n const gone: NodeId[] = [];\n for (const [id, before] of prevById) {\n const after = nextById.get(id);\n if (after === undefined || needsReplace(before, after)) gone.push(id);\n }\n const removing = scene.removalClosure(gone.filter((id) => scene.get(id) !== undefined));\n const removed = new Set(removing);\n\n scene.untracked(() => {\n scene.removeMany(removing);\n for (const spec of next) {\n const id = spec.id!;\n const before = prevById.get(id);\n if (scene.get(id) === undefined || before === undefined || removed.has(id)) {\n scene.add(spec);\n continue;\n }\n const parent = spec.parent ?? null;\n if (parent !== (before.parent ?? null)) scene.move(id, parent);\n if (spec.layer !== before.layer) scene.setLayer(id, spec.layer);\n if (!same(spec.data, before.data)) scene.update(id, { data: spec.data });\n if (!same(spec.dependsOn, before.dependsOn)) scene.setDependsOn(id, spec.dependsOn);\n if (!same(spec.pose, before.pose)) scene.setPose(id, spec.pose);\n }\n });\n}\n\nfunction byId<T extends { id?: NodeId }>(specs: readonly T[]): Map<NodeId, T> {\n const out = new Map<NodeId, T>();\n for (const spec of specs) {\n if (spec.id === undefined) throw new Error('reconcileSpecs: every spec needs an id');\n if (out.has(spec.id)) throw new Error(`reconcileSpecs: id \"${spec.id}\" appears more than once`);\n out.set(spec.id, spec);\n }\n return out;\n}\n\nfunction needsReplace<TData, TLayer extends string, TPose>(\n a: AddNodeSpec<TData, TLayer, TPose>,\n b: AddNodeSpec<TData, TLayer, TPose>,\n): boolean {\n return a.kind !== b.kind\n || a.pickable !== b.pickable\n || a.derivePath !== b.derivePath\n || a.derivePose !== b.derivePose\n || a.clipFromPose !== b.clipFromPose\n || a.layout !== b.layout;\n}\n\n/** Structural equality over plain objects and arrays; anything else by identity. */\nfunction same(a: unknown, b: unknown): boolean {\n if (Object.is(a, b)) return true;\n if (Array.isArray(a) && Array.isArray(b)) {\n return a.length === b.length && a.every((v, i) => same(v, b[i]));\n }\n if (isPlainObject(a) && isPlainObject(b)) {\n const ka = Object.keys(a);\n return ka.length === Object.keys(b).length && ka.every((k) => k in b && same(a[k], b[k]));\n }\n return false;\n}\n"],"mappings":";;AAiBA,SAAgBA,EACd,GACA,GACA,GACM;CACN,IAAMC,IAAWC,EAAKC,CAAI,GACpBC,IAAWF,EAAKG,CAAI,GACpBC,IAAiB,CAAC;CACxB,KAAK,IAAM,CAACC,GAAIC,MAAWP,GAAU;EACnC,IAAMQ,IAAQL,EAAS,IAAIG,CAAE;EAC7B,CAAIE,MAAU,KAAA,KAAaC,EAAaF,GAAQC,CAAK,MAAGH,EAAK,KAAKC,CAAE;CACtE;CACA,IAAMI,IAAWC,EAAM,eAAeN,EAAK,QAAQ,MAAOM,EAAM,IAAIL,CAAE,MAAM,KAAA,CAAS,CAAC,GAChFM,IAAU,IAAI,IAAIF,CAAQ;CAEhC,EAAM,gBAAgB;EACpB,EAAM,WAAWA,CAAQ;EACzB,KAAK,IAAMG,KAAQT,GAAM;GACvB,IAAME,IAAKO,EAAK,IACVN,IAASP,EAAS,IAAIM,CAAE;GAC9B,IAAIK,EAAM,IAAIL,CAAE,MAAM,KAAA,KAAaC,MAAW,KAAA,KAAaK,EAAQ,IAAIN,CAAE,GAAG;IAC1E,EAAM,IAAIO,CAAI;IACd;GACF;GACA,IAAMC,IAASD,EAAK,UAAU;GAK9B,AAJIC,OAAYP,EAAO,UAAU,SAAOI,EAAM,KAAKL,GAAIQ,CAAM,GACzDD,EAAK,UAAUN,EAAO,SAAOI,EAAM,SAASL,GAAIO,EAAK,KAAK,GACzDE,EAAKF,EAAK,MAAMN,EAAO,IAAI,KAAGI,EAAM,OAAOL,GAAI,EAAE,MAAMO,EAAK,KAAK,CAAC,GAClEE,EAAKF,EAAK,WAAWN,EAAO,SAAS,KAAGI,EAAM,aAAaL,GAAIO,EAAK,SAAS,GAC7EE,EAAKF,EAAK,MAAMN,EAAO,IAAI,KAAGI,EAAM,QAAQL,GAAIO,EAAK,IAAI;EAChE;CACF,CAAC;AACH;AAEA,SAASZ,EAAgC,GAAqC;CAC5E,IAAMe,oBAAM,IAAI,IAAe;CAC/B,KAAK,IAAMH,KAAQI,GAAO;EACxB,IAAIJ,EAAK,OAAO,KAAA,GAAW,MAAU,MAAM,wCAAwC;EACnF,IAAIG,EAAI,IAAIH,EAAK,EAAE,GAAG,MAAU,MAAM,uBAAuBA,EAAK,GAAG,yBAAyB;EAC9F,EAAI,IAAIA,EAAK,IAAIA,CAAI;CACvB;CACA,OAAOG;AACT;AAEA,SAASP,EACP,GACA,GACS;CACT,OAAOS,EAAE,SAASC,EAAE,QACfD,EAAE,aAAaC,EAAE,YACjBD,EAAE,eAAeC,EAAE,cACnBD,EAAE,eAAeC,EAAE,cACnBD,EAAE,iBAAiBC,EAAE,gBACrBD,EAAE,WAAWC,EAAE;AACtB;AAGA,SAASJ,EAAK,GAAY,GAAqB;CAC7C,IAAI,OAAO,GAAGG,GAAGC,CAAC,GAAG,OAAO;CAC5B,IAAI,MAAM,QAAQD,CAAC,KAAK,MAAM,QAAQC,CAAC,GACrC,OAAOD,EAAE,WAAWC,EAAE,UAAUD,EAAE,OAAO,GAAG,MAAMH,EAAKK,GAAGD,EAAEE,EAAE,CAAC;CAEjE,IAAIC,EAAcJ,CAAC,KAAKI,EAAcH,CAAC,GAAG;EACxC,IAAMI,IAAK,OAAO,KAAKL,CAAC;EACxB,OAAOK,EAAG,WAAW,OAAO,KAAKJ,CAAC,CAAC,CAAC,UAAUI,EAAG,OAAO,MAAMC,KAAKL,KAAKJ,EAAKG,EAAEM,IAAIL,EAAEK,EAAE,CAAC;CAC1F;CACA,OAAO;AACT"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as RenderLayer, u as Dims, w as RedrawSource, x as Scene, y as RectPose, z as InertiaConfig, V as ViewAnimationOptions, A as PoseComposition, B as PoseAdapter, N as Node$1, F as GestureLifecycleOptions, H as SliceDep, J as ToolsApi, K as Tool, L as Contribution, M as LayerHit, D as DrawCommand, O as ChromeState, Q as VertexColorChannel, U as LayerGroup, X as InsertExtras, Y as SerializedScene, Z as GeometryProjection, _ as ContentHandlerEntry, $ as SvgIngestOptions, a0 as AnyTool, a1 as PanBounds, a2 as Animator, a3 as ColorOverrideRegistry, a4 as UseSceneOptions, a5 as SceneRegistry, a6 as RegisteredOp, a7 as PoseOverrides, a8 as
|
|
2
|
-
export {
|
|
1
|
+
import { s as RenderLayer, u as Dims, w as RedrawSource, x as Scene, y as RectPose, z as InertiaConfig, V as ViewAnimationOptions, A as PoseComposition, B as PoseAdapter, N as Node$1, F as GestureLifecycleOptions, H as SliceDep, J as ToolsApi, K as Tool, L as Contribution, M as LayerHit, D as DrawCommand, O as ChromeState, Q as VertexColorChannel, U as LayerGroup, X as InsertExtras, Y as SerializedScene, Z as GeometryProjection, _ as ContentHandlerEntry, $ as SvgIngestOptions, a0 as AnyTool, a1 as PanBounds, a2 as Animator, a3 as ColorOverrideRegistry, a4 as UseSceneOptions, a5 as SceneRegistry, a6 as RegisteredOp, a7 as PoseOverrides, a8 as AddNodeSpec, a9 as DerivePoseFn, aa as DerivePathFn, ab as DerivedDep, ac as ViewportDims, P as PathDrawCommand, ad as ViewApi, ae as Affordance, af as AffordanceRegion, ag as AffordanceBinding, ah as CommonAffordanceScratch, T as TextDrawCommand, ai as BooleansAdapter, aj as CreateOutlinesAdapter, ak as UseAnimatorOptions, al as AnimationHandle, am as SampledTrack, an as SceneArrivalHandler } from './builtins-C-VgUlWI.js';
|
|
2
|
+
export { ao as AddLayerSpec, ap as AnimateToBoundsOptions, aq as AnimationInfo, ar as AnimationKind, as as AnimatorEvent, at as AnimatorListener, au as AreaSelectDep, av as BooleanOp, aw as BooleanOpResult, ax as ClipFromPoseFn, ay as ClipboardDep, az as ClipboardIngestCtx, aA as ColorOverride, aB as ColorOverrideFn, aC as ContainerNode, aD as ContributionChrome, aE as CreateOutlinesResult, C as CullRect, aF as CustomPaintContext, aG as DecayLoopConfig, aH as DecayOptions, aI as EditAnchorsDep, E as Effect, aJ as EventBooking, aK as EventBookingHandle, aL as EventTrack, aM as FitViewToBoundsOptions, G as GroupDrawCommand, aN as HitTestView, aO as IDENTITY_POSE_COMPOSITION, a as ImageDrawCommand, b as ImageMinification, aP as IngestCtx, aQ as IngestionDep, aR as InsertDep, aS as Interpolate, aT as InterpolatorFactory, aU as Keyframe, aV as LassoSelectDep, aW as LayerCommandCache, aX as LayerDrawFailure, aY as LayerDrawSpan, aZ as LayerRecord, a_ as LayoutDep, a$ as LayoutFrame, b0 as LayoutMove, b1 as LeafNode, b2 as LiveAnimation, b3 as LoopFactory, b4 as LoopOptions, b5 as NestedTimeline, b6 as NodeAtPointDep, b7 as OutlinePathSpec, b8 as Overlay, b9 as PathInWorldPose, ba as PhysicsHandle, bb as PhysicsOptions, bc as PointerContextProvider, bd as PointerContextValue, be as PointerWorldPos, bf as PoseClosure, bg as PoseOverride, f as RenderTarget, bh as ResizePolicy, S as SPRITE_STRIDE, bi as SerializedLayer, bj as SerializedNode, g as ShaderDrawCommand, bk as SnapDep, bl as SpringOptions, i as SpriteSheet, j as SpritesDrawCommand, bm as StaggerBuilder, bn as StaggerDelay, bo as StaggerFactory, bp as StaggerOptions, bq as StaggerPerItem, br as StaggerSpringPoseOptions, bs as StaggerTweenOptions, bt as SvgUnpacker, bu as SystemLayerRecord, bv as SystemLayerSpec, bw as TextEditDep, bx as TextNodeSource, by as TextOutlineSource, bz as TextOutlinesError, bA as TextOutlinesFailure, bB as TextPaintPath, bC as TextToPathOptions, bD as TimelineClock, bE as TimelineEvent, bF as TimelineHandle, bG as TimelineOptions, bH as TimelineTrack, bI as ToolDef, bJ as Track, bK as TweenLoopOptions, bL as TweenOptions, bM as UseToolsOptions, bN as UserLayerRecord, bO as VIEW_ANIMATION_KEY, bP as ViewAnimationApi, bQ as ViewChannel, bR as applyBooleanOp, bS as applyCreateOutlines, bT as asNodeId, m as blur, bU as composeWorldPose, bV as createPointerStore, o as cullDrawCommands, bW as depsUnchanged, bX as drawLayers, bY as drawOneLayer, bZ as fitViewToBounds, p as frameRect, b_ as isLayerPainted, b$ as isLayerVisible, c0 as loadTextOutlines, c1 as pathInPoseFrame, c2 as pathInWorld, c3 as rebaseLocalPose, c4 as registerContentHandler, r as registerEffect, c5 as resolveStrokeWidth, c6 as subscribeToSources, c7 as textToPath, c8 as textToPathsByPaint, c9 as useDecayLoop, ca as usePointerContext, cb as usePointerPosition, cc as useTools, cd as useViewAnimation, ce as useViewAnimationOn, v as viewToMat3, q as vignette, cf as worldEditToStorage } from './builtins-C-VgUlWI.js';
|
|
3
3
|
import { View as View$1, NodeId, PointerSessionCancelReason, DeviceProfile, Bounds, Action, ActionDeps, AffordanceHit, SelectionMode, SelectionExtendKey, SelectionApi, DepSchema, GestureBinding, ToolKeybinding, HotkeyTrigger, ModifierState, RuleCtx, Rule, DebugSink, HitShape, HandleKind, ViewportGestureKind, IngestItem, OngoingOverlay, DepName, ActionsProp, OverlayRole, ResizeAnchor } from '@weasel-js/routing';
|
|
4
|
-
export { ALWAYS, Action, ActionDeps, ActionDisabledReason, ActionDispatch, ActionEnabledResult, ActionEntry, ActionItem, ActionPresentation, ActionVariant, ActionsProp, ActionsRegistry, AffordanceHit, BindingOpts, BindingScope, BindingSource, BoundGesture, Bounds, BuildRuleCtxArgs, COARSE_TARGET_SCALE, CONTROL_SELECTOR, ContributionDeps, ContributionRouting, DEFAULT_ALLOWED_CAPABILITIES, DEFAULT_DEVICE_PROFILE, DRAG_THRESHOLD_PX, DebugSink, DepName, DepRegistry, DepSchema, DetectedDeviceFacts, DeviceProfile, DispatchRecord, DispatchRecordInput, Dispatcher, DispatcherContext, DragSample, DroppedCandidate, Eligibility, EligibilityState, GestureBinding, HandleKind, HitShape, HotkeyTrigger, ImmediateInvoker, IngestItem, InputEvent, InvocationCtx, Invoker, KeyBinding, LONG_PRESS_MS, LongPressOptions, LongPressState, LongPressStore, MatchResult, ModeShortcutHandlers, ModifierState, NEVER, NodeId, OngoingHandle, OngoingInvoker, OngoingOverlay, OverlayPosition, OverlayRole, PendingLongPress, PlacedBy, Point2, PointerSession, PointerSessionCallbacks, PointerSessionCancelReason, PointerSessionOptions, RankedCandidate, RecordCandidate, ResizeAnchor, ResolveAllOptions, ResolveOnlyResult, ResolvedCandidate, Rule, RuleCtx, ScopedBinding, ScratchKey, ScratchStore, SelectionApi, SelectionExtendKey, SelectionMode, Selector, SpecificityPart, ToolCtx, ToolKeybinding, ToolLifecycleCtx, ToolModifiers, ToolPresentation, ToolSlot, UiOngoingControl, Point2 as Vec2, View, ViewportGestureKind, WalkStep, actionBindings, actionItems, buildDepsFromRequires, buildRuleCtx, clientToCanvas, createDepRegistry, createDispatcher, createLongPressStore, defineTool, deleteScratch, describeRule, evaluate, evaluateEnabled, getScratch, isEditableTarget, isInControlWithin, liveScope, matchesKeyBinding, modeShortcutSpec, modeShortcuts, openPointerSession, pastDragThreshold, resolveDeviceProfile, resolveParams, scopeBindings, scratchKey, setScratch, specificity } from '@weasel-js/routing';
|
|
4
|
+
export { ALWAYS, Action, ActionDeps, ActionDisabledReason, ActionDispatch, ActionEnabledResult, ActionEntry, ActionItem, ActionPresentation, ActionVariant, ActionsProp, ActionsRegistry, AffordanceHit, BindingOpts, BindingScope, BindingSource, BoundGesture, Bounds, BuildRuleCtxArgs, COARSE_TARGET_SCALE, CONTROL_SELECTOR, ContributionDeps, ContributionRouting, DEFAULT_ALLOWED_CAPABILITIES, DEFAULT_DEVICE_PROFILE, DRAG_THRESHOLD_PX, DebugSink, DepName, DepRegistry, DepSchema, DetectedDeviceFacts, DeviceProfile, DispatchRecord, DispatchRecordInput, Dispatcher, DispatcherContext, DragSample, DroppedCandidate, Eligibility, EligibilityState, GestureBinding, HandleKind, HitShape, HotkeyTrigger, ImmediateInvoker, IngestItem, InputEvent, InvocationCtx, Invoker, KeyBinding, LONG_PRESS_MS, LongPressOptions, LongPressState, LongPressStore, MatchResult, ModeShortcutHandlers, ModifierState, NEVER, NodeId, OngoingHandle, OngoingInvoker, OngoingOverlay, OverlayPosition, OverlayRole, PendingLongPress, PlacedBy, Point2, PointerSession, PointerSessionCallbacks, PointerSessionCancelReason, PointerSessionOptions, RankedCandidate, RecordCandidate, ResizeAnchor, ResolveAllOptions, ResolveOnlyResult, ResolvedCandidate, Rule, RuleCtx, ScopedBinding, ScratchKey, ScratchStore, SelectionApi, SelectionExtendKey, SelectionMode, Selector, SpecificityPart, ToolCtx, ToolKeybinding, ToolLifecycleCtx, ToolModifiers, ToolPresentation, ToolSlot, UiOngoingControl, Point2 as Vec2, View, ViewportGestureKind, WalkStep, actionBindings, actionItems, activatesFocusedControl, buildDepsFromRequires, buildRuleCtx, clientToCanvas, createDepRegistry, createDispatcher, createLongPressStore, defineTool, deleteScratch, describeRule, evaluate, evaluateEnabled, getScratch, historyKey, isEditableTarget, isInControlWithin, liveScope, matchesKeyBinding, modeShortcutSpec, modeShortcuts, openPointerSession, pastDragThreshold, resolveDeviceProfile, resolveParams, scopeBindings, scratchKey, setScratch, specificity } from '@weasel-js/routing';
|
|
5
5
|
import { a as ParallaxOpts, L as LayoutStrategy, M as MoveAdapter, A as AreaSelectAdapter, e as LayerEnumerableAdapter, f as LassoHitMode, g as LassoSelectAdapter, h as ResizeAdapter, i as RotateAdapter, I as InsertAdapter, j as ClipboardSnapshot, c as LayoutDropTargetMode, d as ReflowTransition, O as OrderedAdapter, P as PlaneMap, b as SceneAdapter } from './types-A37hYkeR.js';
|
|
6
6
|
export { C as ContainerBounds, D as DropRegion, k as DropTarget, l as LayoutArrival, m as LayoutChild, n as LayoutContainer, o as LayoutDragged, p as LayoutSnap, q as ReflowGlideOptions, R as RegionPickView, r as ScalarOrXY, S as SnapTarget, s as deriveParallaxView, t as fromPlane, u as planeMap, v as planeMatrix, w as planeToPlane, x as rectFromPlane, y as rectToPlane, z as toPlane } from './types-A37hYkeR.js';
|
|
7
7
|
import { S as SimulationNode, U as UseSimulationOptions, a as Simulation } from './math-Drrw4ewZ.js';
|
|
@@ -37,7 +37,7 @@ import { PaintedCursorState, CursorSpec } from '@weasel-js/cursor';
|
|
|
37
37
|
export { BakeOptions, CURSOR_ANGLE_STEPS, CURSOR_MAX_CSS_PX, CursorGlyph, CursorGlyphName, CursorGlyphSpec, CursorSpec, PaintedCursor, PaintedCursorFrame, PaintedCursorState, ResolvedCursor, bakeCursor, createPaintedCursorState, cursorFor, resolveCursor, resolveCursorTier } from '@weasel-js/cursor';
|
|
38
38
|
import { ModeRegistry, ModeDecorations } from '@weasel-js/modes';
|
|
39
39
|
import { FontRequest } from '@weasel-js/font';
|
|
40
|
-
export { FaceMetrics, FaceRuleMetrics, FaceScriptMetrics, FontFamilyFaces, FontRequest, FontStyle, FontVariant, LocalFontOutlinesResult, OutlineFaceInfo, OutlineSource, OutlineStatus, OutlineVariant, RegisterFontOptions, canQueryLocalFonts, cssFontFamily, cssFontFamilyLoading, enableLocalFontOutlines, fontOutlineRegistry, fontRegistry, hasFontOutlines, isCanvasFont, listFontOutlines, loadFontOutlines, outlineStatus, registerCanvasFont, registerFont, registerFontOutlines, subscribeGlyphReady, unregisterCanvasFont, unregisterFontOutlines, warmFonts } from '@weasel-js/font';
|
|
40
|
+
export { FaceMetrics, FaceRuleMetrics, FaceScriptMetrics, FontFamilyFaces, FontRequest, FontStyle, FontVariant, LocalFontOutlinesResult, OutlineFaceInfo, OutlineSource, OutlineStatus, OutlineVariant, RegisterFontOptions, canQueryLocalFonts, cssFamilyName, cssFontFamily, cssFontFamilyLoading, enableLocalFontOutlines, fontOutlineRegistry, fontRegistry, hasFontOutlines, isCanvasFont, listFontOutlines, loadFontOutlines, outlineStatus, registerCanvasFont, registerFont, registerFontOutlines, subscribeGlyphReady, unregisterCanvasFont, unregisterFontOutlines, warmFonts } from '@weasel-js/font';
|
|
41
41
|
import { TextRenderer, TextPose, StyledRun, TextStyle, TextVerticalAlign, TextPaint, ResolvedTextStyle } from '@weasel-js/text';
|
|
42
42
|
export { DEFAULT_DECORATION_METRICS, DEFAULT_TEXT_STYLE, DecorationKind, FaceMetricsFn, FontVariantCaps, LaidOutDecoration, LaidOutGroup, LaidOutLineBox, LaidOutOutlineGlyph, LaidOutQuad, LaidOutRuns, LayoutLine, LayoutResult, LayoutRunsOpts, MARKDOWN_RUN_GRAMMAR, MarkdownFontOptions, MeasureFn, MeasureTextBoundsOpts, MeasuredText, PositionedRun, ResolvedRun, ResolvedTextStyle, RunFlag, RunGrammar, RunMarker, RunSourceMap, SCRIPT_METRICS, SMALL_CAPS_SCALE, ScriptPreset, SmallCapsText, StyledRun, TextAlign, TextDirection, TextLineBoxesOpts, TextPaint, TextPose, TextPoseLayout, TextPoseLayoutInput, TextRenderer, TextStyle, TextTransform, TextVerticalAlign, TransformedRunText, cachedLayoutRuns, createMarkdownRenderer, decorationMetrics, fontString, isBoldWeight, isSmallCapsLetter, layoutMarkdown, layoutRuns, layoutTextPose, markdownToRuns, measureText, measureTextBounds, measuredWidth, numericWeight, resolveAlign, resolveRunFace, resolveRuns, resolveTextStyle, runsToMarkdown, runsToPlainText, scriptMetrics, scriptMetricsFor, smallCapsScale, smallCapsScaleFor, smallCapsText, textLineBoxes, textPoseLayoutInput, toRuns, transformRunTexts, verticalAlignOffset } from '@weasel-js/text';
|
|
43
43
|
import { P as PaintKindEntry, M as MarkerEntry } from './test-seams-CuIxe0xY.js';
|
|
@@ -2626,7 +2626,20 @@ interface UseKeybindingsOptions {
|
|
|
2626
2626
|
declare function useKeybindings(tools: ToolsApi, options?: UseKeybindingsOptions): void;
|
|
2627
2627
|
|
|
2628
2628
|
/** The value types a built-in pref leaf can hold. */
|
|
2629
|
-
type ToolPrefKind = 'number' | 'boolean' | 'string' | 'enum' | 'color' | 'paint' | 'object';
|
|
2629
|
+
type ToolPrefKind = 'number' | 'boolean' | 'string' | 'enum' | 'color' | 'paint' | 'object' | 'field';
|
|
2630
|
+
/**
|
|
2631
|
+
* Leaves that share one row in a compact property UI (weasel-ui
|
|
2632
|
+
* `SelectionPanel`, labkit's `ControlPanel`), declared on the first of them.
|
|
2633
|
+
* Purely presentational.
|
|
2634
|
+
*/
|
|
2635
|
+
interface ToolPrefPair {
|
|
2636
|
+
/** The other leaves on the row, by the full path their values are read and
|
|
2637
|
+
* written at (`'pose.y'`, `'camera.type'`), in order. Each must follow the
|
|
2638
|
+
* one before it among its siblings. */
|
|
2639
|
+
with: string | readonly string[];
|
|
2640
|
+
/** What the row reads. Default: the declaring leaf's `name`. */
|
|
2641
|
+
label?: string;
|
|
2642
|
+
}
|
|
2630
2643
|
/** The fields every leaf pref shares, keyed by its `kind` and typed by its stored value. */
|
|
2631
2644
|
interface ToolPrefBase<K extends string, Value> {
|
|
2632
2645
|
kind: K;
|
|
@@ -2648,11 +2661,8 @@ interface ToolPrefBase<K extends string, Value> {
|
|
|
2648
2661
|
* `pair`ed row is labeled by the pair, so its fields have only the glyph
|
|
2649
2662
|
* to tell them apart. */
|
|
2650
2663
|
icon?: string;
|
|
2651
|
-
/**
|
|
2652
|
-
|
|
2653
|
-
* on one row labeled with the `pair` string (e.g. `'Position'` for
|
|
2654
|
-
* `pose.x` / `pose.y`). Purely presentational. */
|
|
2655
|
-
pair?: string;
|
|
2664
|
+
/** Puts this leaf and the ones it names on one row. */
|
|
2665
|
+
pair?: ToolPrefPair;
|
|
2656
2666
|
/** Shorter forms of `name`, longest first. A surface short of room for
|
|
2657
2667
|
* `name` — a strip of controls on one line, a segment in a `pair`ed row —
|
|
2658
2668
|
* shows the longest of them that fits. `name` stays the accessible name, so
|
|
@@ -2841,9 +2851,18 @@ interface ToolPrefObject extends ToolPrefBase<'object', unknown> {
|
|
|
2841
2851
|
*/
|
|
2842
2852
|
fromScalar?: (value: unknown) => Record<string, unknown>;
|
|
2843
2853
|
}
|
|
2854
|
+
/**
|
|
2855
|
+
* A reference to another field of the same schema, held as the full path its
|
|
2856
|
+
* value is read and written at (`'camera.type'`) — the currency fields refer
|
|
2857
|
+
* to each other in. A surface offers the fields it draws as the choices.
|
|
2858
|
+
*/
|
|
2859
|
+
interface ToolPrefField extends ToolPrefBase<'field', string> {
|
|
2860
|
+
/** Only fields of these kinds may be named. Default: any leaf. */
|
|
2861
|
+
kinds?: readonly string[];
|
|
2862
|
+
}
|
|
2844
2863
|
/** One built-in pref leaf. `ToolPrefLeaf` widens this to include
|
|
2845
2864
|
* app-defined kinds. */
|
|
2846
|
-
type ToolPref = ToolPrefNumber | ToolPrefBoolean | ToolPrefString | ToolPrefEnum | ToolPrefColor | ToolPrefPaint | ToolPrefObject;
|
|
2865
|
+
type ToolPref = ToolPrefNumber | ToolPrefBoolean | ToolPrefString | ToolPrefEnum | ToolPrefColor | ToolPrefPaint | ToolPrefObject | ToolPrefField;
|
|
2847
2866
|
/**
|
|
2848
2867
|
* The built-in kinds, as a table. A kind added to {@link ToolPrefKind} is a
|
|
2849
2868
|
* compile error here, and from here it is one in every renderer's `never`
|
|
@@ -2851,6 +2870,14 @@ type ToolPref = ToolPrefNumber | ToolPrefBoolean | ToolPrefString | ToolPrefEnum
|
|
|
2851
2870
|
* nothing in four places at once.
|
|
2852
2871
|
*/
|
|
2853
2872
|
declare const TOOL_PREF_KINDS: Record<ToolPrefKind, true>;
|
|
2873
|
+
/** Which row each pairing among `leaves` puts a path on: a `key` the row's
|
|
2874
|
+
* members share (the declaring leaf's path) and the `label` it reads. A
|
|
2875
|
+
* path no `pair` names is absent. `leaves` are given by the path each
|
|
2876
|
+
* surface reads and writes them at, so references resolve in its terms. */
|
|
2877
|
+
declare function pairRowsOf(leaves: Iterable<readonly [path: string, leaf: ToolPrefLeaf]>): Map<string, {
|
|
2878
|
+
key: string;
|
|
2879
|
+
label: string;
|
|
2880
|
+
}>;
|
|
2854
2881
|
/**
|
|
2855
2882
|
* Narrows a leaf to the built-in union, so a renderer's switch discriminates
|
|
2856
2883
|
* on {@link ToolPrefKind} instead of the open `string` that
|
|
@@ -3176,13 +3203,16 @@ declare namespace useTextTool {
|
|
|
3176
3203
|
description: string;
|
|
3177
3204
|
children: {
|
|
3178
3205
|
bold: {
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3206
|
+
pair: {
|
|
3207
|
+
with: string[];
|
|
3208
|
+
label: string;
|
|
3209
|
+
};
|
|
3210
|
+
kind: "boolean";
|
|
3211
|
+
name: string;
|
|
3212
|
+
description: `${string} for the characters in the range.`;
|
|
3213
|
+
icon: string;
|
|
3214
|
+
control: "toggle";
|
|
3215
|
+
default: false;
|
|
3186
3216
|
};
|
|
3187
3217
|
italic: {
|
|
3188
3218
|
readonly kind: "boolean";
|
|
@@ -3190,7 +3220,6 @@ declare namespace useTextTool {
|
|
|
3190
3220
|
readonly description: `${string} for the characters in the range.`;
|
|
3191
3221
|
readonly icon: string;
|
|
3192
3222
|
readonly control: "toggle";
|
|
3193
|
-
readonly pair: "Character style";
|
|
3194
3223
|
readonly default: false;
|
|
3195
3224
|
};
|
|
3196
3225
|
underline: {
|
|
@@ -3199,7 +3228,6 @@ declare namespace useTextTool {
|
|
|
3199
3228
|
readonly description: `${string} for the characters in the range.`;
|
|
3200
3229
|
readonly icon: string;
|
|
3201
3230
|
readonly control: "toggle";
|
|
3202
|
-
readonly pair: "Character style";
|
|
3203
3231
|
readonly default: false;
|
|
3204
3232
|
};
|
|
3205
3233
|
strikethrough: {
|
|
@@ -3208,7 +3236,6 @@ declare namespace useTextTool {
|
|
|
3208
3236
|
readonly description: `${string} for the characters in the range.`;
|
|
3209
3237
|
readonly icon: string;
|
|
3210
3238
|
readonly control: "toggle";
|
|
3211
|
-
readonly pair: "Character style";
|
|
3212
3239
|
readonly default: false;
|
|
3213
3240
|
};
|
|
3214
3241
|
overline: {
|
|
@@ -3217,7 +3244,6 @@ declare namespace useTextTool {
|
|
|
3217
3244
|
readonly description: `${string} for the characters in the range.`;
|
|
3218
3245
|
readonly icon: string;
|
|
3219
3246
|
readonly control: "toggle";
|
|
3220
|
-
readonly pair: "Character style";
|
|
3221
3247
|
readonly default: false;
|
|
3222
3248
|
};
|
|
3223
3249
|
script: {
|
|
@@ -7514,6 +7540,22 @@ declare function createPoseOverrides<TPose>(getNode: (id: NodeId) => {
|
|
|
7514
7540
|
data?: unknown;
|
|
7515
7541
|
} | undefined, onInvalidate?: (id: NodeId) => void): PoseOverrides<TPose>;
|
|
7516
7542
|
|
|
7543
|
+
/**
|
|
7544
|
+
* Bring `scene` from `prev` to `next`: add what `next` gained, remove what it
|
|
7545
|
+
* lost, and write only the fields that changed between the two.
|
|
7546
|
+
*
|
|
7547
|
+
* The diff is spec against spec, not spec against scene, so whatever the scene
|
|
7548
|
+
* did since `prev` — a node dragged, an edge authored by a gesture — survives
|
|
7549
|
+
* unless `next` changes that same field. The writes are untracked: syncing to
|
|
7550
|
+
* outside data is not an undo step.
|
|
7551
|
+
*
|
|
7552
|
+
* Every spec needs an `id`, and `next` must be in an order `createScene` would
|
|
7553
|
+
* accept — parents and dependencies before what names them. A node whose
|
|
7554
|
+
* `kind` or derive functions change is removed and added again, along with
|
|
7555
|
+
* everything its removal takes with it.
|
|
7556
|
+
*/
|
|
7557
|
+
declare function reconcileSpecs<TData, TLayer extends string, TPose>(scene: Scene<TData, TLayer, TPose>, prev: readonly AddNodeSpec<TData, TLayer, TPose>[], next: readonly AddNodeSpec<TData, TLayer, TPose>[]): void;
|
|
7558
|
+
|
|
7517
7559
|
/**
|
|
7518
7560
|
* Thrown by a scene edit — `batch`, `untracked`, or a bare `add` / `move` —
|
|
7519
7561
|
* whose arrivals the scene's arrival handler refused. The edit has already
|
|
@@ -11515,9 +11557,10 @@ declare function solidVertexColors(n: number, r: number, g: number, b: number, a
|
|
|
11515
11557
|
* Sample a track at `t`. Pure: no state, no side effects, safe to call for any
|
|
11516
11558
|
* `t` in any order — which is what makes scrubbing free.
|
|
11517
11559
|
*
|
|
11518
|
-
* `segmentCache`
|
|
11519
|
-
*
|
|
11520
|
-
*
|
|
11560
|
+
* `segmentCache` holds what sampling builds from the keys: the track's blits
|
|
11561
|
+
* patch and its `interpolator` factories. Handed another track or a replaced
|
|
11562
|
+
* `keys` array, it rebuilds; a key edited in place needs the cache dropped,
|
|
11563
|
+
* which `createTimeline` does on `edit`. With no cache, every call builds afresh.
|
|
11521
11564
|
*/
|
|
11522
11565
|
declare function sampleTrack<T>(track: SampledTrack<T>, t: number, segmentCache?: Map<number, (u: number) => T>): T | undefined;
|
|
11523
11566
|
|
|
@@ -12128,4 +12171,4 @@ interface InsertOverlayStyle {
|
|
|
12128
12171
|
lineWidth?: number;
|
|
12129
12172
|
}
|
|
12130
12173
|
|
|
12131
|
-
export { ACTION_GLYPHS, ANCHOR_HIT_BASE_PX, AREA_SELECT_ID, type ActionGlyphProps, type ActionShortcut, ActionsProviderIfRoot, Affordance, AffordanceBinding, AffordanceRegion, type AffordanceRegionHit, type AlignAdapter, AlignBottomIcon, AlignCenterXIcon, AlignCenterYIcon, type AlignEdge, AlignLeftIcon, type AlignReference, AlignRightIcon, AlignTopIcon, type AnchorHit, type AnchorScratch, type AnchorState, type AnimateOnSetPoseOptions, type AnimatedReflow, AnimationHandle, Animator, AnyTool, AreaSelectAdapter, type ArrangeArgs, type ArrangedPose, type ArrayAdapter, type ArrayAdapterConfig, ArrowIcon, BUILTIN_MARKERS, BUILTIN_TOOL_IDS, type BaseFeature, type BindRigOptions, BooleansAdapter, BoundsConstraint, BringForwardIcon, BringToFrontIcon, type BuildChromeCtxArgs, type BuiltinShapeToolId, type BuiltinToolId, type BuiltinToolOptions, COMPOSITE_FEATURES, CROSSHAIR_HALO, type CanvasDebugSink, type CanvasExtensionApi, type CanvasFocusReturn, type CanvasHelpers, type CanvasProps, type CanvasSize, type CanvasSizeSnapshot, type CanvasSurfaceHelpers, CanvasView, type CanvasViewHandle, type CanvasViewHelpers, type CanvasViewProps, type ChromeCtx, type ChromeId, ChromeState, type ClampBounds, ClipboardSnapshot, type CoalescedCtx, type ColorInterpolate, ColorOverrideRegistry, CommonAffordanceScratch, type ComposeSelectionPoseOpts, type CompositeFeature, type ComputeFitViewOptions, type ComputeSliceOpsArgs, type ComputeSliceResult, type Condition, ContentHandlerEntry, Contribution, type ContributionDepReader, type ContributionFrameCtx, CopyIcon, type CornerResizeAffordanceOptions, type CornerResizeScratch, type CreateChildrenLayerOpts, CreateOutlinesAdapter, CreateOutlinesIcon, type CreateParallaxLayerOpts, type CreatePathEditingOverlayLayerOptions, type CreatePathLayerOpts, type CreatePenPreviewLayerOptions, type CreateTextLayerOpts, type CreateTiledLayerOpts, type CreateViewResolverOpts, type CreateViewportLayerOpts, CropIcon, type CrosshairRect, CursorCoordsHud, type CursorCoordsHudProps, type CustomLayerEntry, CutIcon, type CycleHandle, type CycleVertexColorsOptions, DEFAULT_DEBUG_STROKES, DEFAULT_DEBUG_THEME, DEFAULT_FILL_COLOR, DEFAULT_HANDLE_SIZE, DEFAULT_INK, DEFAULT_MAX_ZOOM, DEFAULT_MIN_ZOOM, DEFAULT_PALETTE, DEFAULT_ROTATION_HANDLE_DISTANCE, DEFAULT_SHAPE_FILL, DEFAULT_STROKE_COLOR, DRAG_PAN_ID, type DebugConfig, type DebugFeature, type DebugSnapshot, type DebugStroke, type DebugStrokes, type DebugTheme, type DefaultTextData, type DeleteArgs, DeleteIcon, DepRegistryProviderIfRoot, DerivePathFn, DerivePoseFn, DerivedDep, DeviceProfileProvider, type DeviceProfileProviderProps, Dims, type DistributeAdapter, type DistributeAxis, DistributeHorizontalIcon, type DistributeMode, DistributeVerticalIcon, DivideIcon, type DragGestureController, type DragGestureCtx, type DragGestureEndCtx, type DragGesturePhase, type DragGesturePoint, type DragHandleOptions, type DragPanParams, type DragPayload, type DragRadialController, type DragRadialCtx, type DragRadialEndCtx, type DragRadialPoint, type DragRadialState, type DragRectBounds, type DragRectController, type DragRectCtx, type DragRectEndCtx, type DragRectPoint, DrawCanvas, type DrawCanvasDraw, type DrawCanvasProps, DrawCommand, type DropZoneOptions, DuplicateIcon, type EditedLayerOf, EllipseIcon, ExcludeIcon, EyedropperIcon, FALLBACK_FIT_VIEW, FEATURE_ACTION_IDS, type Feature, type FeedDelta, type FeedNode, type FitTextPoseOptions, type FlagKey, type FlipAxis, type FlipPivot, FlipXIcon, FlipYIcon, type FrameStats, GHOST_STROKE, type GateLayerOptions, GeometryProjection, GestureContext, type GesturePreviewSource, type GestureSource, GlMat3, GroupIcon, HANDLE_BASE_PX, HandIcon, InertiaConfig as HandToolInertiaConfig, type HandleDragEnd, type HandleDragPoint, type HeadlessCanvasLike, type HostAnchorAlign, type HostAnchorInput, type HostAnchorOffset, type HostAnchorStyle, IDENTITY_JOINT, type IconProps, type IkLimit, type IkPoint, type IkResult, ImageIcon, type ImageNodeData, type ImageRasterSize, type ImageStatus, type IndicatorStyle, InertiaConfig, InsertAdapter, type InsertArgs, InsertBehavior, InsertExtras, type InsertNodeFactory, type InsertOp, type InsertOverlayStyle, type InsertPreviewExtent, type InsertPreviewGeometry, type InsertPreviewLike, type InsertPreviewOverlay, type InsertToolOptions, IntersectIcon, type Joint, type JointTransform, KIT_SHAPE_KINDS, KIT_STANDARD_ACTION_IDS, KIT_VERSIONS, type KeyModifiers, type KeyState, type KeyStateAttachOptions, type KitInsertShape, type KitRequirements, type KitVersions, LONG_PRESS_FEEDBACK_ID, type LabelOptions, LassoHitMode, LassoIcon, LassoSelectAdapter, LassoSelectBehavior, LayerEnumerableAdapter, type LayerFrameStats, LayerGroup, LayerHit, type LayerSlotValue, type LayersMap, type LayoutArrivalOptions, LayoutDropTargetMode, type LayoutRef, type LayoutSource, LayoutStrategy, type LifecycleAnimation, LineIcon, type LinePoint, type LinkedCursorOptions, type LongPressFeedbackOptions, MINIMAP_CENTER, MINIMAP_PAN, MIXED, MarkerEntry, type MarkerSite, type MarkerSiteRequest, MinimapCanvas, type MinimapCanvasProps, type MinimapContributionOptions, type MinimapFit, type Mixed, type MomentumOptions, MoveAdapter, MoveBehavior, type MoveToIndexArgs, type NestedHitOpts, type NestedHitTester, type NodeClientRect, type NodeInk, type NodeInkCtx, type NodeOverlayFrame, type NodePaintCtx, type NodeProperties, type NodePropertiesEntry, type NodeRouting, type NodeRoutingEntry, type NodeShapeEntry, type NodeSilhouetteCtx, type OpFactory, type OpenFilePickerOptions, OrderedAdapter, OriginProjection, type OverlayPoint, type OverlayVisibilityId, PAINTED_CURSOR_LAYER_ID, PATH_ANCHOR_CHROME_ID, type PaintBoundsFn, PaintKindEntry, PanBounds, ParallaxOpts, type ParallaxPlane, type ParallaxSource, PasteIcon, type PathAnchor, type PathAnchorAffordanceOptions, PathDrawCommand, type PathEditingOverlayStyle, type PenAnchor, type PenContinuation, PenIcon, type PenPreviewStyle, type PenScratch, type PenSubpath, PencilIcon, type PencilPoint, PickHud, type PickHudProps, type PickSlop, type PickTopMostHitAdapter, type PinchZoomOptions, type PixelRenderPlan, type PlacedNode, PlaneMap, type PointInTextPoseOpts, PointSnapBehavior, PointerProviderIfRoot, type PointerSample, type PointerStylusState, PolygonIcon, type PolygonPoint, type Pose, PoseAdapter, PoseComposition, PoseDescriptor, type PoseFeed, PoseOverrides, type PoseRotation, type PoseRun, type PoseRunCtx, type PoseRunStep, type PoseSource, type PosedNode, type PressureToWidthOptions, type PreviewNode, RECT_POSE_COMPOSITION, RIGID_POSE_COMPOSITION, ROTATION_HANDLE_BASE_PX, type RangeStyle, type RasterImage, type RasterRenderArgs, type RasterSession, type RasterSessionOptions, type RecordedBounds, type RecordedHandle, type RecordedHitbox, type RecordedLayer, type RecordedOrigin, type RecordedSnap, type RecordedViewport, RectIcon, RectPose, RedoIcon, RedrawSource, type ReflowScene, ReflowTransition, type ReflowTransitionOptions, type RegisterNodeShapeOptions, RegisteredOp, type RenderDebugSnapshotArgs, RenderLayer, type RenderNeeds, type RenderSceneToCanvasArgs, type RenderSceneToPixelsArgs, type ReorderArgs, type ReorderDirection, type ReorderRestoreEntry, type ReparentArgs, type RequirementMismatch, ResizeAdapter, type ResolvableView, type ResolvedOverlay, type Rig, type RigApply, type RigApplyContext, type RigScene, RotateAdapter, RotateBehavior, RotatedPose, type RotationAffordanceOptions, type RotationHandle, type RotationScratch, type RunStylePatch, SCENE_CANVAS_FEATURES, SELECTION_MOVE_ID, SELECTION_RESIZE_ID, SELECTION_ROTATE_ID, SELECTION_TRANSFORM_ID, SHAPE_KINDS, SampledTrack, type Scale2, Scene, SceneAdapter, type SceneAdapterSelection, SceneArrivalHandler, SceneArrivalRefused, SceneCanvas, type SceneCanvasAdapter, type SceneCanvasApi, type SceneCanvasHit, type SceneCanvasLayers, type SceneCanvasLongPress, type SceneCanvasProps, Node$1 as SceneNode, type SceneNodeClientRectOpts, SceneRegistry, type SceneSlotConfig, type SceneToAdapterOptions, SceneViewCanvas, type SceneViewCanvasProps, type SceneViewCull, type SceneViewDrawOne, type SceneViewLayers, type ScreenSlop, type SelectAdapter, type SelectFromLassoOptions, SelectIcon, SelectionContextProvider, SelectionContextProviderIfRoot, type SelectionContextValue, type SelectionHandleStyle, type SelectionHandlesLayerOpts, type SelectionMoveOptions, type SelectionOutlineLayerOpts, type SelectionOverlayLayerOpts, type SelectionOverlaySlotConfig, type SelectionRotateOptions, type SelectionStore, type SelectionTransformOptions, SendBackwardIcon, SendToBackIcon, SerializedScene, type SetDataArgs, type SetFlagResult, type SetLayerArgs, type SetLayoutArgs, type SetPathArgs, type SetPathFields, type SetSelectionArgs, type SetTextArgs, ShaderProgramHandle, type ShapeCoversPointOptions, type ShapeKind, type ShapeKindDescriptor, type ShapeKindsWhere, type SiblingSlot, Simulation, SimulationNode, type Skeleton, type Slew, type SlewRates, SliceDep, type SliceLeaf, type SlicePiece, type SliceScratch, type SliceableNode, SnapStrategy, type SolveIkOptions, type SpatialReference, type SpatialReferenceSources, type SpringPoseOptions, type SpringVertexColorsOptions, type StaggerVertexColorsOptions, type StandardSlotConfig, type StandardSlotName, StarIcon, type StarPoint, type StartEditOptions, type StyleKey, type StyleToggle, type StylusData, SubtractIcon, type SurfaceContribution, SvgIngestOptions, TEXT_EDIT_FONT_HOLD, TOOL_DRIVEN_ACTION_IDS, TOOL_PREF_KINDS, TextDrawCommand, type TextEditClipRect, type TextEditScreenPose, type TextEditSelection, TextIcon, type ThresholdDragHandle, type ThresholdDragOptions, type TileBleed, type TilePatternOpts, type TilePeriod, type TileRange, Tool, type ToolPref, type ToolPrefBase, type ToolPrefBoolean, type ToolPrefBooleanControl, type ToolPrefBooleanEncoding, type ToolPrefColor, type ToolPrefCustom, type ToolPrefEnum, type ToolPrefEnumControl, type ToolPrefEnumEncoding, type ToolPrefGroup, type ToolPrefKind, type ToolPrefLeaf, type ToolPrefNumber, type ToolPrefNumberControl, type ToolPrefNumberUnit, type ToolPrefObject, type ToolPrefPaint, type ToolPrefString, type ToolPrefStringControl, ToolsApi, type TransformArgs, type TweenPoseOptions, type TweenVertexColorsOptions, UNION_OF_CHILDREN, UndoIcon, UngroupIcon, UnionIcon, UnknownIcon, type UseAlignOptions, type UseAlignReturn, UseAnimatorOptions, type UseArrayAdapterOptions, type UseBooleansOptions, type UseBooleansReturn, type UseCanvasFocusOptions, type UseDistributeOptions, type UseDistributeReturn, type UseDragGestureOptions, type UseDragRadialOptions, type UseDragRectOptions, type UseEyedropperToolOptions, type UseHandToolOptions, type UseHandleDragOptions, type UseHandleDragReturn, type UseHostAnchorOptions, type UseHoverTrackingArgs, type UseImageToolOptions, type UseKeyStateOptions, type UseKeybindingsOptions, type UseLassoSelectOptions, type UseLassoToolOptions, UseMoveOptions, type UseNodeOverlayFrameOptions, type UsePenToolOptions, type UsePointerStylusOptions, type UsePolygonToolOptions, type UsePoseRunOptions, UseResizeOptions, type UseResizePolicyOptions, type UseRotateOptions, UseSceneOptions, type UseSceneTextEditOptions, type UseSceneTextEditReturn, type UseSceneTrivialOptions, type UseSelectToolOptions, type UseSelectionOptions, UseSimulationOptions, type UseSliceToolOptions, type UseStandardActionsOptions, type UseStarToolOptions, type UseTextEditOptions, type UseTextEditReturn, VERSION, type VelocityTracker, type VersionCheck, VertexColorChannel, ViewAnimationOptions, ViewApi, type ViewRect, type ViewResolver, type ViewTarget, type ViewTransform, ViewportDims, type ViewportLayer, type ViewportZoomAnimateOptions, type ViewportZoomOptions, type VisibilityRules, type VisibleRaf, type VisibleRafOptions, type VisibleRafTarget, WHEEL_ZOOM_STEP, type WarmRenderOptions, WeaselProvider, type WeaselProviderProps, type WheelInput, type WheelPanOptions, type WheelPanOpts, type WorkspaceTintLayerOptions, ZOOM_FLOOR, type ZoomBound, type ZoomClampOpts, type ZoomFactor, actionIs, actionShortcuts, alignDeltaFor, alignTargetBounds, always, and, animateLifecycle, animateOnSetPose, annulusSemiAxes, applyOpsTo, applyStyleToRange, areaSelectAction, areaSelectContribution, arrayAdapter, axisAlignedBounds, bindRig, blendPoses, buildChromeCtx, buildDebugOverlayCommands, buildSceneViewCommands, canBringForward, canHover, canSendBackward, capabilityAll, capabilityIn, capabilityIs, capabilityNot, caretIndexAt, centerRootOn, charOffsetToDomPosition, checkRequirements, circlePath, clampView, clearSelectionAction, clipboardCopyAction, clipboardCutAction, clipboardPasteAction, cloneAction, coarsePointer, composeAffordanceLayer, composeRectPose, composeRigidPose, composeSelectionPose, computeFitView, computeFitViewport, computeIndicatorCommand, computeSliceOps, computeWheelAction, cond, constrainTo45, countPathAnchors, createArrangeOp, createChildrenLayer, createCornerResizeAffordance, createDebugOverlayLayer, createDebugSink, createDeleteOp, createHistory, createInsertOp, createKeyState, createLinkedCursorContribution, createLongPressFeedbackContribution, createMinimapContribution, createMoveToIndexOp, createNodeProperties, createNodeRouting, createPaintedCursorLayer, createParallaxLayer, createParallaxPlane, createPathAnchorAffordances, createPathEditingOverlayLayer, createPathLayer, createPenPreviewLayer, createPoseFeed, createPoseOverrides, createRasterSession, createReflowTransition, createReorderOp, createReparentOp, createRotationAffordance, createScene, createSelectionHandlesLayer, createSelectionOutlineLayer, createSelectionOverlayLayer, createSetDataOp, createSetLayerOp, createSetLayoutOp, createSetPathOp, createSetSelectionOp, createSetTextOp, createSlew, createTextLayer, createTilePattern, createTiledLayer, createTransformOp, createVelocityTracker, createViewResolver, createViewportLayer, crosshairRects, cycleFill, cycleVertexColors, debugSnapshotArgs, decomposeRectPose, decomposeRigidPose, defaultCommitAdapter, defaultDrawOne, defaultLabelTextRenderer, defaultNodeProperties, defaultNodeRouting, defaultPaintBounds, defaultVisibilityRules, definesFrame, derivedDepOf, derivedPose, dispatchApplyBatch, dlog, documentPose, domPositionToCharOffset, domToRuns, dragPanContribution, dwarn, editAnchorsAction, editingLayer, effectivePose, effectiveRangeStyle, enterTextEditAction, enumerateAnchors, findNodeShape, findShapeBounds, findShapeInk, findShapeSilhouette, fitTextPose, fitToBounds, fitZoom, flattenPreviews, focused, forEachCoalesced, gateLayer, gesturePlaneReader, gestureViewReader, gesturing, getAlpha01, getImageBitmap, getNodeShapes, getStylusData, gradientForBounds, gradientGeometry, hexToRgba, hitAffordanceRegions, hitAnchor, hitRotationHandle, hostAnchorCss, hostAnchorRect, hovering, hoveringSelected, imageStatus, inPlane, inferredNodeProperties, inferredNodeRouting, insertAction, insertLayer, insertPreviewExtent, interpolateView, isBuiltinToolPref, isDebugEnabled, isGradientFill, isPatternSpec, isPlainObject, isVectorImageSrc, keySpecShortcut, lassoSelectAction, layoutArrivalHandler, makePinchZoomAction, makeViewportWheelPanAction, makeViewportZoomAction, markerInset, markerKeyOf, markerSites, meanScale, mergeAlphaFromPrev, mergeContributions, minimapCenterAction, minimapPanAction, mirrorPose, modeDecorationLayer, modeIn, modeIs, modeNot, modifierHeld, momentum, moveAction, multiActive, nestedHitTester, never, nodeHasFlag, normalizeHex, normalizeView, normalizeZoom, not, onEmptyCanvas, opFactoryRegistry, openFilePicker, or, paintAlpha, paintWithAlpha, paintWithColor, parseColor, parseColorToRgba255, parseDebugFlags, patchRangeStyle, pathOriginProjection, pathPoseDescriptor, pathToAnchors, pickTopMostHit, pinchZoomAction, planPixelRender, pointInTextPose, pointRegionFrame, poseRotationOf, prefUnit, pressureToWidth, pxExtent, rainbowVertexColors, rangeWeight, rasterToPng, rebuildOp, rectMarkerPath, registerNodeShape, registerOpFactory, registeredOpNames, releaseCanvasRenderer, renderDebugSnapshot, renderLabel, renderNeeds, renderSceneToCanvas, renderSceneToPixels, resizeAction, resolveColor, resolveFillPattern, resolveMarkerSize, resolveOverlays, resolvePatternSpec, resolvePreviews, resolveSkeleton, resolveSpatialReference, resolveVisibility, rgbaToHex, rigidRigApply, rotateAction, rotateAroundAABBCenter, rotatePathAround, rotationDegreesUnit, rotationHandle, roundRectPath, runsToDom, sampleGradientStops, sampleTrack, satisfiesRange, scaleDelta, sceneFromJSON, sceneNodeClientRect, sceneSelectionStore, sceneToAdapter, screenAngleOf, screenToWorld, screenTolerance, selectFromLasso, selectionAtLeast, selectionEmpty, selectionIs, selectionLayer, selectionMoveBindings, selectionMoveContribution, selectionResizeBindings, selectionResizeContribution, selectionRotateBindings, selectionRotateContribution, selectionTransformBindings, selectionTransformContribution, setFlagOverRange, shapeCoversPoint, slewToward, sliceAction, snap, solid, solidVertexColors, solveIk, springPose, springVertexColors, squarePath, stableStringify, staggerVertexColors, standoff, startThresholdDrag, strokeInsets, strokeOf, strokeWith, styleAtRange, subscribeImageReady, textCommand, textCommandFromPose, textCommandFromRuns, tiledProject, toHex8, translateRectPose, tweenPose, tweenVertexColors, unboldPatch, unionAABB, unionBounds, unionOfChildren, unionOfChildrenVia, useAlign, useAnimatedReflow, useAnimator, useArrayAdapter, useAutoCenter, useBooleans, useBooleansAdapter, useCanvasFocus, useCanvasSize, useCreateOutlinesAdapter, useDeviceProfile, useDistribute, useDragGesture, useDragHandle, useDragRadial, useDragRect, useDropZone, useEllipseTool, useEyedropperTool, useGradientKinds, useHandTool, useHandleDrag, useHostAnchor, useHoverTracking, useImageTool, useKeyState, useKeybindings, useLassoTool, useLayoutArrivals, useLineTool, useNodeOverlayFrame, usePaintKind, usePaintKinds, usePenTool, usePencilTool, usePointerStylus, usePolygonTool, usePoseCompositionDepSource, usePoseDescriptorDepSource, usePoseRun, usePublishSelection, useRectTool, useResizePolicy, useRig, useScene, useSceneAdapter, useSceneTextEdit, useSelectTool, useSelection, useSelectionContext, useSimulation, useSliceDep, useSliceDepSource, useSliceTool, useStandardActions, useStarTool, useTextEdit, useTextTool, useVelocityTracker, useVisibleRaf, viewToTransform, viewZoom, viewportDragPanAction, viewportWheelPanAction, viewportZoomAction, warmRender, wheelPan, wheelZoom, wheelZoomFactor, when, withAlpha01, withCoord, withGradientKind, withinPxBox, withinPxRadius, workspaceTintLayer, worldPoseLookup, worldToScreen, zoomAt, zoomAtLeast };
|
|
12174
|
+
export { ACTION_GLYPHS, ANCHOR_HIT_BASE_PX, AREA_SELECT_ID, type ActionGlyphProps, type ActionShortcut, ActionsProviderIfRoot, AddNodeSpec, Affordance, AffordanceBinding, AffordanceRegion, type AffordanceRegionHit, type AlignAdapter, AlignBottomIcon, AlignCenterXIcon, AlignCenterYIcon, type AlignEdge, AlignLeftIcon, type AlignReference, AlignRightIcon, AlignTopIcon, type AnchorHit, type AnchorScratch, type AnchorState, type AnimateOnSetPoseOptions, type AnimatedReflow, AnimationHandle, Animator, AnyTool, AreaSelectAdapter, type ArrangeArgs, type ArrangedPose, type ArrayAdapter, type ArrayAdapterConfig, ArrowIcon, BUILTIN_MARKERS, BUILTIN_TOOL_IDS, type BaseFeature, type BindRigOptions, BooleansAdapter, BoundsConstraint, BringForwardIcon, BringToFrontIcon, type BuildChromeCtxArgs, type BuiltinShapeToolId, type BuiltinToolId, type BuiltinToolOptions, COMPOSITE_FEATURES, CROSSHAIR_HALO, type CanvasDebugSink, type CanvasExtensionApi, type CanvasFocusReturn, type CanvasHelpers, type CanvasProps, type CanvasSize, type CanvasSizeSnapshot, type CanvasSurfaceHelpers, CanvasView, type CanvasViewHandle, type CanvasViewHelpers, type CanvasViewProps, type ChromeCtx, type ChromeId, ChromeState, type ClampBounds, ClipboardSnapshot, type CoalescedCtx, type ColorInterpolate, ColorOverrideRegistry, CommonAffordanceScratch, type ComposeSelectionPoseOpts, type CompositeFeature, type ComputeFitViewOptions, type ComputeSliceOpsArgs, type ComputeSliceResult, type Condition, ContentHandlerEntry, Contribution, type ContributionDepReader, type ContributionFrameCtx, CopyIcon, type CornerResizeAffordanceOptions, type CornerResizeScratch, type CreateChildrenLayerOpts, CreateOutlinesAdapter, CreateOutlinesIcon, type CreateParallaxLayerOpts, type CreatePathEditingOverlayLayerOptions, type CreatePathLayerOpts, type CreatePenPreviewLayerOptions, type CreateTextLayerOpts, type CreateTiledLayerOpts, type CreateViewResolverOpts, type CreateViewportLayerOpts, CropIcon, type CrosshairRect, CursorCoordsHud, type CursorCoordsHudProps, type CustomLayerEntry, CutIcon, type CycleHandle, type CycleVertexColorsOptions, DEFAULT_DEBUG_STROKES, DEFAULT_DEBUG_THEME, DEFAULT_FILL_COLOR, DEFAULT_HANDLE_SIZE, DEFAULT_INK, DEFAULT_MAX_ZOOM, DEFAULT_MIN_ZOOM, DEFAULT_PALETTE, DEFAULT_ROTATION_HANDLE_DISTANCE, DEFAULT_SHAPE_FILL, DEFAULT_STROKE_COLOR, DRAG_PAN_ID, type DebugConfig, type DebugFeature, type DebugSnapshot, type DebugStroke, type DebugStrokes, type DebugTheme, type DefaultTextData, type DeleteArgs, DeleteIcon, DepRegistryProviderIfRoot, DerivePathFn, DerivePoseFn, DerivedDep, DeviceProfileProvider, type DeviceProfileProviderProps, Dims, type DistributeAdapter, type DistributeAxis, DistributeHorizontalIcon, type DistributeMode, DistributeVerticalIcon, DivideIcon, type DragGestureController, type DragGestureCtx, type DragGestureEndCtx, type DragGesturePhase, type DragGesturePoint, type DragHandleOptions, type DragPanParams, type DragPayload, type DragRadialController, type DragRadialCtx, type DragRadialEndCtx, type DragRadialPoint, type DragRadialState, type DragRectBounds, type DragRectController, type DragRectCtx, type DragRectEndCtx, type DragRectPoint, DrawCanvas, type DrawCanvasDraw, type DrawCanvasProps, DrawCommand, type DropZoneOptions, DuplicateIcon, type EditedLayerOf, EllipseIcon, ExcludeIcon, EyedropperIcon, FALLBACK_FIT_VIEW, FEATURE_ACTION_IDS, type Feature, type FeedDelta, type FeedNode, type FitTextPoseOptions, type FlagKey, type FlipAxis, type FlipPivot, FlipXIcon, FlipYIcon, type FrameStats, GHOST_STROKE, type GateLayerOptions, GeometryProjection, GestureContext, type GesturePreviewSource, type GestureSource, GlMat3, GroupIcon, HANDLE_BASE_PX, HandIcon, InertiaConfig as HandToolInertiaConfig, type HandleDragEnd, type HandleDragPoint, type HeadlessCanvasLike, type HostAnchorAlign, type HostAnchorInput, type HostAnchorOffset, type HostAnchorStyle, IDENTITY_JOINT, type IconProps, type IkLimit, type IkPoint, type IkResult, ImageIcon, type ImageNodeData, type ImageRasterSize, type ImageStatus, type IndicatorStyle, InertiaConfig, InsertAdapter, type InsertArgs, InsertBehavior, InsertExtras, type InsertNodeFactory, type InsertOp, type InsertOverlayStyle, type InsertPreviewExtent, type InsertPreviewGeometry, type InsertPreviewLike, type InsertPreviewOverlay, type InsertToolOptions, IntersectIcon, type Joint, type JointTransform, KIT_SHAPE_KINDS, KIT_STANDARD_ACTION_IDS, KIT_VERSIONS, type KeyModifiers, type KeyState, type KeyStateAttachOptions, type KitInsertShape, type KitRequirements, type KitVersions, LONG_PRESS_FEEDBACK_ID, type LabelOptions, LassoHitMode, LassoIcon, LassoSelectAdapter, LassoSelectBehavior, LayerEnumerableAdapter, type LayerFrameStats, LayerGroup, LayerHit, type LayerSlotValue, type LayersMap, type LayoutArrivalOptions, LayoutDropTargetMode, type LayoutRef, type LayoutSource, LayoutStrategy, type LifecycleAnimation, LineIcon, type LinePoint, type LinkedCursorOptions, type LongPressFeedbackOptions, MINIMAP_CENTER, MINIMAP_PAN, MIXED, MarkerEntry, type MarkerSite, type MarkerSiteRequest, MinimapCanvas, type MinimapCanvasProps, type MinimapContributionOptions, type MinimapFit, type Mixed, type MomentumOptions, MoveAdapter, MoveBehavior, type MoveToIndexArgs, type NestedHitOpts, type NestedHitTester, type NodeClientRect, type NodeInk, type NodeInkCtx, type NodeOverlayFrame, type NodePaintCtx, type NodeProperties, type NodePropertiesEntry, type NodeRouting, type NodeRoutingEntry, type NodeShapeEntry, type NodeSilhouetteCtx, type OpFactory, type OpenFilePickerOptions, OrderedAdapter, OriginProjection, type OverlayPoint, type OverlayVisibilityId, PAINTED_CURSOR_LAYER_ID, PATH_ANCHOR_CHROME_ID, type PaintBoundsFn, PaintKindEntry, PanBounds, ParallaxOpts, type ParallaxPlane, type ParallaxSource, PasteIcon, type PathAnchor, type PathAnchorAffordanceOptions, PathDrawCommand, type PathEditingOverlayStyle, type PenAnchor, type PenContinuation, PenIcon, type PenPreviewStyle, type PenScratch, type PenSubpath, PencilIcon, type PencilPoint, PickHud, type PickHudProps, type PickSlop, type PickTopMostHitAdapter, type PinchZoomOptions, type PixelRenderPlan, type PlacedNode, PlaneMap, type PointInTextPoseOpts, PointSnapBehavior, PointerProviderIfRoot, type PointerSample, type PointerStylusState, PolygonIcon, type PolygonPoint, type Pose, PoseAdapter, PoseComposition, PoseDescriptor, type PoseFeed, PoseOverrides, type PoseRotation, type PoseRun, type PoseRunCtx, type PoseRunStep, type PoseSource, type PosedNode, type PressureToWidthOptions, type PreviewNode, RECT_POSE_COMPOSITION, RIGID_POSE_COMPOSITION, ROTATION_HANDLE_BASE_PX, type RangeStyle, type RasterImage, type RasterRenderArgs, type RasterSession, type RasterSessionOptions, type RecordedBounds, type RecordedHandle, type RecordedHitbox, type RecordedLayer, type RecordedOrigin, type RecordedSnap, type RecordedViewport, RectIcon, RectPose, RedoIcon, RedrawSource, type ReflowScene, ReflowTransition, type ReflowTransitionOptions, type RegisterNodeShapeOptions, RegisteredOp, type RenderDebugSnapshotArgs, RenderLayer, type RenderNeeds, type RenderSceneToCanvasArgs, type RenderSceneToPixelsArgs, type ReorderArgs, type ReorderDirection, type ReorderRestoreEntry, type ReparentArgs, type RequirementMismatch, ResizeAdapter, type ResolvableView, type ResolvedOverlay, type Rig, type RigApply, type RigApplyContext, type RigScene, RotateAdapter, RotateBehavior, RotatedPose, type RotationAffordanceOptions, type RotationHandle, type RotationScratch, type RunStylePatch, SCENE_CANVAS_FEATURES, SELECTION_MOVE_ID, SELECTION_RESIZE_ID, SELECTION_ROTATE_ID, SELECTION_TRANSFORM_ID, SHAPE_KINDS, SampledTrack, type Scale2, Scene, SceneAdapter, type SceneAdapterSelection, SceneArrivalHandler, SceneArrivalRefused, SceneCanvas, type SceneCanvasAdapter, type SceneCanvasApi, type SceneCanvasHit, type SceneCanvasLayers, type SceneCanvasLongPress, type SceneCanvasProps, Node$1 as SceneNode, type SceneNodeClientRectOpts, SceneRegistry, type SceneSlotConfig, type SceneToAdapterOptions, SceneViewCanvas, type SceneViewCanvasProps, type SceneViewCull, type SceneViewDrawOne, type SceneViewLayers, type ScreenSlop, type SelectAdapter, type SelectFromLassoOptions, SelectIcon, SelectionContextProvider, SelectionContextProviderIfRoot, type SelectionContextValue, type SelectionHandleStyle, type SelectionHandlesLayerOpts, type SelectionMoveOptions, type SelectionOutlineLayerOpts, type SelectionOverlayLayerOpts, type SelectionOverlaySlotConfig, type SelectionRotateOptions, type SelectionStore, type SelectionTransformOptions, SendBackwardIcon, SendToBackIcon, SerializedScene, type SetDataArgs, type SetFlagResult, type SetLayerArgs, type SetLayoutArgs, type SetPathArgs, type SetPathFields, type SetSelectionArgs, type SetTextArgs, ShaderProgramHandle, type ShapeCoversPointOptions, type ShapeKind, type ShapeKindDescriptor, type ShapeKindsWhere, type SiblingSlot, Simulation, SimulationNode, type Skeleton, type Slew, type SlewRates, SliceDep, type SliceLeaf, type SlicePiece, type SliceScratch, type SliceableNode, SnapStrategy, type SolveIkOptions, type SpatialReference, type SpatialReferenceSources, type SpringPoseOptions, type SpringVertexColorsOptions, type StaggerVertexColorsOptions, type StandardSlotConfig, type StandardSlotName, StarIcon, type StarPoint, type StartEditOptions, type StyleKey, type StyleToggle, type StylusData, SubtractIcon, type SurfaceContribution, SvgIngestOptions, TEXT_EDIT_FONT_HOLD, TOOL_DRIVEN_ACTION_IDS, TOOL_PREF_KINDS, TextDrawCommand, type TextEditClipRect, type TextEditScreenPose, type TextEditSelection, TextIcon, type ThresholdDragHandle, type ThresholdDragOptions, type TileBleed, type TilePatternOpts, type TilePeriod, type TileRange, Tool, type ToolPref, type ToolPrefBase, type ToolPrefBoolean, type ToolPrefBooleanControl, type ToolPrefBooleanEncoding, type ToolPrefColor, type ToolPrefCustom, type ToolPrefEnum, type ToolPrefEnumControl, type ToolPrefEnumEncoding, type ToolPrefField, type ToolPrefGroup, type ToolPrefKind, type ToolPrefLeaf, type ToolPrefNumber, type ToolPrefNumberControl, type ToolPrefNumberUnit, type ToolPrefObject, type ToolPrefPaint, type ToolPrefPair, type ToolPrefString, type ToolPrefStringControl, ToolsApi, type TransformArgs, type TweenPoseOptions, type TweenVertexColorsOptions, UNION_OF_CHILDREN, UndoIcon, UngroupIcon, UnionIcon, UnknownIcon, type UseAlignOptions, type UseAlignReturn, UseAnimatorOptions, type UseArrayAdapterOptions, type UseBooleansOptions, type UseBooleansReturn, type UseCanvasFocusOptions, type UseDistributeOptions, type UseDistributeReturn, type UseDragGestureOptions, type UseDragRadialOptions, type UseDragRectOptions, type UseEyedropperToolOptions, type UseHandToolOptions, type UseHandleDragOptions, type UseHandleDragReturn, type UseHostAnchorOptions, type UseHoverTrackingArgs, type UseImageToolOptions, type UseKeyStateOptions, type UseKeybindingsOptions, type UseLassoSelectOptions, type UseLassoToolOptions, UseMoveOptions, type UseNodeOverlayFrameOptions, type UsePenToolOptions, type UsePointerStylusOptions, type UsePolygonToolOptions, type UsePoseRunOptions, UseResizeOptions, type UseResizePolicyOptions, type UseRotateOptions, UseSceneOptions, type UseSceneTextEditOptions, type UseSceneTextEditReturn, type UseSceneTrivialOptions, type UseSelectToolOptions, type UseSelectionOptions, UseSimulationOptions, type UseSliceToolOptions, type UseStandardActionsOptions, type UseStarToolOptions, type UseTextEditOptions, type UseTextEditReturn, VERSION, type VelocityTracker, type VersionCheck, VertexColorChannel, ViewAnimationOptions, ViewApi, type ViewRect, type ViewResolver, type ViewTarget, type ViewTransform, ViewportDims, type ViewportLayer, type ViewportZoomAnimateOptions, type ViewportZoomOptions, type VisibilityRules, type VisibleRaf, type VisibleRafOptions, type VisibleRafTarget, WHEEL_ZOOM_STEP, type WarmRenderOptions, WeaselProvider, type WeaselProviderProps, type WheelInput, type WheelPanOptions, type WheelPanOpts, type WorkspaceTintLayerOptions, ZOOM_FLOOR, type ZoomBound, type ZoomClampOpts, type ZoomFactor, actionIs, actionShortcuts, alignDeltaFor, alignTargetBounds, always, and, animateLifecycle, animateOnSetPose, annulusSemiAxes, applyOpsTo, applyStyleToRange, areaSelectAction, areaSelectContribution, arrayAdapter, axisAlignedBounds, bindRig, blendPoses, buildChromeCtx, buildDebugOverlayCommands, buildSceneViewCommands, canBringForward, canHover, canSendBackward, capabilityAll, capabilityIn, capabilityIs, capabilityNot, caretIndexAt, centerRootOn, charOffsetToDomPosition, checkRequirements, circlePath, clampView, clearSelectionAction, clipboardCopyAction, clipboardCutAction, clipboardPasteAction, cloneAction, coarsePointer, composeAffordanceLayer, composeRectPose, composeRigidPose, composeSelectionPose, computeFitView, computeFitViewport, computeIndicatorCommand, computeSliceOps, computeWheelAction, cond, constrainTo45, countPathAnchors, createArrangeOp, createChildrenLayer, createCornerResizeAffordance, createDebugOverlayLayer, createDebugSink, createDeleteOp, createHistory, createInsertOp, createKeyState, createLinkedCursorContribution, createLongPressFeedbackContribution, createMinimapContribution, createMoveToIndexOp, createNodeProperties, createNodeRouting, createPaintedCursorLayer, createParallaxLayer, createParallaxPlane, createPathAnchorAffordances, createPathEditingOverlayLayer, createPathLayer, createPenPreviewLayer, createPoseFeed, createPoseOverrides, createRasterSession, createReflowTransition, createReorderOp, createReparentOp, createRotationAffordance, createScene, createSelectionHandlesLayer, createSelectionOutlineLayer, createSelectionOverlayLayer, createSetDataOp, createSetLayerOp, createSetLayoutOp, createSetPathOp, createSetSelectionOp, createSetTextOp, createSlew, createTextLayer, createTilePattern, createTiledLayer, createTransformOp, createVelocityTracker, createViewResolver, createViewportLayer, crosshairRects, cycleFill, cycleVertexColors, debugSnapshotArgs, decomposeRectPose, decomposeRigidPose, defaultCommitAdapter, defaultDrawOne, defaultLabelTextRenderer, defaultNodeProperties, defaultNodeRouting, defaultPaintBounds, defaultVisibilityRules, definesFrame, derivedDepOf, derivedPose, dispatchApplyBatch, dlog, documentPose, domPositionToCharOffset, domToRuns, dragPanContribution, dwarn, editAnchorsAction, editingLayer, effectivePose, effectiveRangeStyle, enterTextEditAction, enumerateAnchors, findNodeShape, findShapeBounds, findShapeInk, findShapeSilhouette, fitTextPose, fitToBounds, fitZoom, flattenPreviews, focused, forEachCoalesced, gateLayer, gesturePlaneReader, gestureViewReader, gesturing, getAlpha01, getImageBitmap, getNodeShapes, getStylusData, gradientForBounds, gradientGeometry, hexToRgba, hitAffordanceRegions, hitAnchor, hitRotationHandle, hostAnchorCss, hostAnchorRect, hovering, hoveringSelected, imageStatus, inPlane, inferredNodeProperties, inferredNodeRouting, insertAction, insertLayer, insertPreviewExtent, interpolateView, isBuiltinToolPref, isDebugEnabled, isGradientFill, isPatternSpec, isPlainObject, isVectorImageSrc, keySpecShortcut, lassoSelectAction, layoutArrivalHandler, makePinchZoomAction, makeViewportWheelPanAction, makeViewportZoomAction, markerInset, markerKeyOf, markerSites, meanScale, mergeAlphaFromPrev, mergeContributions, minimapCenterAction, minimapPanAction, mirrorPose, modeDecorationLayer, modeIn, modeIs, modeNot, modifierHeld, momentum, moveAction, multiActive, nestedHitTester, never, nodeHasFlag, normalizeHex, normalizeView, normalizeZoom, not, onEmptyCanvas, opFactoryRegistry, openFilePicker, or, paintAlpha, paintWithAlpha, paintWithColor, pairRowsOf, parseColor, parseColorToRgba255, parseDebugFlags, patchRangeStyle, pathOriginProjection, pathPoseDescriptor, pathToAnchors, pickTopMostHit, pinchZoomAction, planPixelRender, pointInTextPose, pointRegionFrame, poseRotationOf, prefUnit, pressureToWidth, pxExtent, rainbowVertexColors, rangeWeight, rasterToPng, rebuildOp, reconcileSpecs, rectMarkerPath, registerNodeShape, registerOpFactory, registeredOpNames, releaseCanvasRenderer, renderDebugSnapshot, renderLabel, renderNeeds, renderSceneToCanvas, renderSceneToPixels, resizeAction, resolveColor, resolveFillPattern, resolveMarkerSize, resolveOverlays, resolvePatternSpec, resolvePreviews, resolveSkeleton, resolveSpatialReference, resolveVisibility, rgbaToHex, rigidRigApply, rotateAction, rotateAroundAABBCenter, rotatePathAround, rotationDegreesUnit, rotationHandle, roundRectPath, runsToDom, sampleGradientStops, sampleTrack, satisfiesRange, scaleDelta, sceneFromJSON, sceneNodeClientRect, sceneSelectionStore, sceneToAdapter, screenAngleOf, screenToWorld, screenTolerance, selectFromLasso, selectionAtLeast, selectionEmpty, selectionIs, selectionLayer, selectionMoveBindings, selectionMoveContribution, selectionResizeBindings, selectionResizeContribution, selectionRotateBindings, selectionRotateContribution, selectionTransformBindings, selectionTransformContribution, setFlagOverRange, shapeCoversPoint, slewToward, sliceAction, snap, solid, solidVertexColors, solveIk, springPose, springVertexColors, squarePath, stableStringify, staggerVertexColors, standoff, startThresholdDrag, strokeInsets, strokeOf, strokeWith, styleAtRange, subscribeImageReady, textCommand, textCommandFromPose, textCommandFromRuns, tiledProject, toHex8, translateRectPose, tweenPose, tweenVertexColors, unboldPatch, unionAABB, unionBounds, unionOfChildren, unionOfChildrenVia, useAlign, useAnimatedReflow, useAnimator, useArrayAdapter, useAutoCenter, useBooleans, useBooleansAdapter, useCanvasFocus, useCanvasSize, useCreateOutlinesAdapter, useDeviceProfile, useDistribute, useDragGesture, useDragHandle, useDragRadial, useDragRect, useDropZone, useEllipseTool, useEyedropperTool, useGradientKinds, useHandTool, useHandleDrag, useHostAnchor, useHoverTracking, useImageTool, useKeyState, useKeybindings, useLassoTool, useLayoutArrivals, useLineTool, useNodeOverlayFrame, usePaintKind, usePaintKinds, usePenTool, usePencilTool, usePointerStylus, usePolygonTool, usePoseCompositionDepSource, usePoseDescriptorDepSource, usePoseRun, usePublishSelection, useRectTool, useResizePolicy, useRig, useScene, useSceneAdapter, useSceneTextEdit, useSelectTool, useSelection, useSelectionContext, useSimulation, useSliceDep, useSliceDepSource, useSliceTool, useStandardActions, useStarTool, useTextEdit, useTextTool, useVelocityTracker, useVisibleRaf, viewToTransform, viewZoom, viewportDragPanAction, viewportWheelPanAction, viewportZoomAction, warmRender, wheelPan, wheelZoom, wheelZoomFactor, when, withAlpha01, withCoord, withGradientKind, withinPxBox, withinPxRadius, workspaceTintLayer, worldPoseLookup, worldToScreen, zoomAt, zoomAtLeast };
|