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