@pixerate/editor 0.58.0 → 0.60.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/dist/agent/index.cjs +111 -38
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +30 -2
- package/dist/agent/index.d.ts +30 -2
- package/dist/agent/index.js +96 -23
- package/dist/agent/index.js.map +1 -1
- package/dist/agent-caret-BmYhQF7L.d.cts +106 -0
- package/dist/agent-caret-BmYhQF7L.d.ts +106 -0
- package/dist/animation/index.cjs +9 -3
- package/dist/animation/index.cjs.map +1 -1
- package/dist/animation/index.d.cts +2 -2
- package/dist/animation/index.d.ts +2 -2
- package/dist/animation/index.js +9 -3
- package/dist/animation-editor/index.cjs +535 -124
- package/dist/animation-editor/index.cjs.map +1 -1
- package/dist/animation-editor/index.d.cts +239 -9
- package/dist/animation-editor/index.d.ts +239 -9
- package/dist/animation-editor/index.js +494 -83
- package/dist/animation-editor/index.js.map +1 -1
- package/dist/canvas/index.cjs +35 -29
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +4 -4
- package/dist/canvas/index.d.ts +4 -4
- package/dist/canvas/index.js +9 -3
- package/dist/canvas/index.js.map +1 -1
- package/dist/{chunk-O4ONBPZW.cjs → chunk-2FGRTYJN.cjs} +4 -4
- package/dist/{chunk-O4ONBPZW.cjs.map → chunk-2FGRTYJN.cjs.map} +1 -1
- package/dist/{chunk-XZ4L3R4K.cjs → chunk-2FHLHZAL.cjs} +39 -3
- package/dist/chunk-2FHLHZAL.cjs.map +1 -0
- package/dist/{chunk-PYMV7HLI.js → chunk-3TLL5OID.js} +2 -2
- package/dist/{chunk-LMUDHBWR.js → chunk-4YFMSPBU.js} +2 -2
- package/dist/{chunk-3I6V7PI4.cjs → chunk-7ZSU4MQZ.cjs} +45 -45
- package/dist/{chunk-3I6V7PI4.cjs.map → chunk-7ZSU4MQZ.cjs.map} +1 -1
- package/dist/{chunk-UB2OY7FD.js → chunk-AGR4P4UZ.js} +38 -2
- package/dist/chunk-AGR4P4UZ.js.map +1 -0
- package/dist/{chunk-SHOVAHUB.js → chunk-JK6M6V7G.js} +2 -2
- package/dist/{chunk-WLVZ235X.js → chunk-OK7T2LHK.js} +229 -2
- package/dist/chunk-OK7T2LHK.js.map +1 -0
- package/dist/{chunk-AHCENCU4.cjs → chunk-T4XWVPJK.cjs} +253 -26
- package/dist/chunk-T4XWVPJK.cjs.map +1 -0
- package/dist/{chunk-FKONE6AO.cjs → chunk-YJLCBA7V.cjs} +3 -3
- package/dist/{chunk-FKONE6AO.cjs.map → chunk-YJLCBA7V.cjs.map} +1 -1
- package/dist/{easing-CNGk-W6d.d.ts → easing-lM0Xo9Ni.d.cts} +14 -2
- package/dist/{easing-CNGk-W6d.d.cts → easing-lM0Xo9Ni.d.ts} +14 -2
- package/dist/extensions/index.cjs +27 -3
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.d.cts +2 -1
- package/dist/extensions/index.d.ts +2 -1
- package/dist/extensions/index.js +26 -2
- package/dist/{index-CTCc3m3C.d.ts → index-B16wbOn_.d.ts} +1 -0
- package/dist/{index-BcHyG0Wq.d.cts → index-BAt14aIU.d.cts} +1 -0
- package/dist/index.cjs +32 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +26 -2
- package/dist/index.js.map +1 -1
- package/dist/parameters/index.cjs +2 -2
- package/dist/parameters/index.d.cts +1 -1
- package/dist/parameters/index.d.ts +1 -1
- package/dist/parameters/index.js +1 -1
- package/dist/{player-W-5DX3Go.d.ts → player-DV4Jujdq.d.ts} +1 -1
- package/dist/{player-Dg0FT0UI.d.cts → player-DrcP2xqj.d.cts} +1 -1
- package/dist/vector/index.cjs +472 -472
- package/dist/vector/index.d.cts +1 -1
- package/dist/vector/index.d.ts +1 -1
- package/dist/vector/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-AHCENCU4.cjs.map +0 -1
- package/dist/chunk-UB2OY7FD.js.map +0 -1
- package/dist/chunk-WLVZ235X.js.map +0 -1
- package/dist/chunk-XZ4L3R4K.cjs.map +0 -1
- /package/dist/{chunk-PYMV7HLI.js.map → chunk-3TLL5OID.js.map} +0 -0
- /package/dist/{chunk-LMUDHBWR.js.map → chunk-4YFMSPBU.js.map} +0 -0
- /package/dist/{chunk-SHOVAHUB.js.map → chunk-JK6M6V7G.js.map} +0 -0
package/dist/canvas/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { R as Rect, C as CanvasNode, X as XYPosition, b as CanvasEdge, I as IncrementalLayoutOptions, S as Side, c as CanvasLayoutOptions, d as PlaceBesideOptions, T as TrajectoryFunction, F as FanOutTrajectoryOptions, N as NodeTransition, a as CanvasNodeStyle, e as ReflowDisplacementOptions, D as DirectionalDisplacementOptions, f as CanvasClipboardPayload, g as Position, P as Point } from '../types-BFkYA4eF.cjs';
|
|
2
2
|
export { h as CanvasDockingCallbacks, i as CollapseNodeOptions, j as DisplacementDirection, k as DockStrategy, E as ExplodeNodeOptions, l as ExplosionSnapshot, G as GraphDifferences, m as TrajectoryPoint } from '../types-BFkYA4eF.cjs';
|
|
3
|
-
import { C as Clock, h as AnimationValueType, g as AnimationValue, f as AnimationTrack, b as AnimationLoopMode, e as AnimationPlayerState, c as AnimationPlayer } from '../player-
|
|
4
|
-
export { A as ANIMATION_TIME_EPSILON, a as AnimationKeyframe, d as AnimationPlayerOptions, M as ManualClock, i as createAnimationPlayer, j as evaluateTrack, k as interpolateAnimationValue, l as isAnimationKeyframe, n as normalizeKeyframes, p as pageHidden, r as realClock, w as wrapAnimationTime } from '../player-
|
|
3
|
+
import { C as Clock, h as AnimationValueType, g as AnimationValue, f as AnimationTrack, b as AnimationLoopMode, e as AnimationPlayerState, c as AnimationPlayer } from '../player-DrcP2xqj.cjs';
|
|
4
|
+
export { A as ANIMATION_TIME_EPSILON, a as AnimationKeyframe, d as AnimationPlayerOptions, M as ManualClock, i as createAnimationPlayer, j as evaluateTrack, k as interpolateAnimationValue, l as isAnimationKeyframe, n as normalizeKeyframes, p as pageHidden, r as realClock, w as wrapAnimationTime } from '../player-DrcP2xqj.cjs';
|
|
5
5
|
import { b as CanvasNodeUpdate, N as NodeRectOptions, A as AlignEdge, c as AlignNodesOptions, D as DistributeAxis, a as DistributeMode, d as DistributeNodesOptions, S as SizeDimension, M as MatchSizeOptions, Z as ZOrderOperation, C as CanvasArrangeAction } from '../arrange-B6GH5Qcc.cjs';
|
|
6
6
|
export { e as ArrangeShortcutBinding, f as DEFAULT_ARRANGE_SHORTCUTS, L as LOCKED_DATA_KEY, g as LOCKED_PREVIOUS_FLAGS_KEY, h as alignNodes, i as applyNodeUpdates, j as createNodeLookup, k as distributeNodes, l as getAbsolutePosition, m as getNodeRect, n as getNodeSize, o as invertNodeUpdates, p as isLocked, q as lockNodes, r as matchArrangeShortcut, s as matchSize, t as readStyleSize, u as reorderNodes, v as toggleLockNodes, w as unlockNodes, x as withStyleSize } from '../arrange-B6GH5Qcc.cjs';
|
|
7
7
|
import { C as Command, M as MergedExecutionOptions } from '../types-DsiXGmjo.cjs';
|
|
@@ -10,8 +10,8 @@ export { A as AffineMatrix, h as BezierCommand, d as BezierContour, i as BezierP
|
|
|
10
10
|
import { S as StrokeJoin, a as StrokeCap } from '../pathfinder-BZL8aSu0.cjs';
|
|
11
11
|
export { D as DashedPath, d as DividePathsResult, O as OffsetPathOptions, e as OutlineStrokeOptions, f as PATHFINDER_OPERATIONS, g as PathBooleanOperation, h as PathBooleanResult, i as PathOperand, j as PathOperandInput, k as PathOpsError, l as PathOpsOptions, m as PathOpsReport, n as PathPiece, o as PathSelectResult, b as PathfinderOperation, p as PathfinderPiece, q as PathfinderResult, c as PathfinderShape, r as PlanarChain, s as PlanarFace, t as PlanarInput, P as PlanarMap, u as PlanarMapOptions, v as PlanarSplitEdge, w as PlanarSplitResult, x as SegmentIntersection, y as bezierPathArea, z as contourEnclosesArea, A as cutOutPiece, B as dashContours, C as dividePaths, E as excludePaths, F as interiorPoint, G as intersectPaths, H as normalizeBezierPath, I as offsetPath, J as outlineStroke, K as pathBoolean, L as pathBooleanSelect, M as pathfinder, N as planarSplit, Q as segmentIntersections, R as strokeOutlineRings, T as subtractPaths, U as unitePaths } from '../pathfinder-BZL8aSu0.cjs';
|
|
12
12
|
import { d as TokenModeContext, r as TokenType, o as TokenScope, f as TokenLiteral, c as TokenVariable, e as TokenResolution, T as TokenState } from '../model-C1zApQM8.cjs';
|
|
13
|
-
import { b as AnimationEasing } from '../easing-
|
|
14
|
-
export { A as ANIMATION_EASING_LABELS, a as ANIMATION_EASING_PRESETS, c as AnimationEasingPreset, C as CUBIC_BEZIER_PRESETS, d as CubicBezierEasing, E as ElasticEasing, S as
|
|
13
|
+
import { b as AnimationEasing } from '../easing-lM0Xo9Ni.cjs';
|
|
14
|
+
export { A as ANIMATION_EASING_LABELS, a as ANIMATION_EASING_PRESETS, c as AnimationEasingPreset, C as CUBIC_BEZIER_PRESETS, d as CubicBezierEasing, E as ElasticEasing, S as SPRING_PRESETS, e as SpringEasing, f as cubicBezierAt, g as easingFromInfluence, h as easingLabel, i as easingToCss, j as elasticAt, k as evaluateEasing, l as isAnimationEasing, p as parseCssEasing, r as resolveEasing, m as reverseCubicBezier, s as springAt, n as springSettleMs } from '../easing-lM0Xo9Ni.cjs';
|
|
15
15
|
export { O as OklabColor, f as formatOklab, m as mixColorsOklab, o as oklabToRgb, p as parseOklab, r as rgbToOklab } from '../color-E9pwm--w.cjs';
|
|
16
16
|
import { P as Point$1, G as GraphNode, D as DiagramFamily, a as DiagramGraph, b as DiagramMeta, c as GraphGroup, d as GraphEdge, E as EdgePattern, A as ArrowHead, M as MermaidDocument, e as EditOp } from '../types-DYkjhzdz.cjs';
|
|
17
17
|
import { n as ChartSpec } from '../types-BRp-6zkY.cjs';
|
package/dist/canvas/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { R as Rect, C as CanvasNode, X as XYPosition, b as CanvasEdge, I as IncrementalLayoutOptions, S as Side, c as CanvasLayoutOptions, d as PlaceBesideOptions, T as TrajectoryFunction, F as FanOutTrajectoryOptions, N as NodeTransition, a as CanvasNodeStyle, e as ReflowDisplacementOptions, D as DirectionalDisplacementOptions, f as CanvasClipboardPayload, g as Position, P as Point } from '../types-BFkYA4eF.js';
|
|
2
2
|
export { h as CanvasDockingCallbacks, i as CollapseNodeOptions, j as DisplacementDirection, k as DockStrategy, E as ExplodeNodeOptions, l as ExplosionSnapshot, G as GraphDifferences, m as TrajectoryPoint } from '../types-BFkYA4eF.js';
|
|
3
|
-
import { C as Clock, h as AnimationValueType, g as AnimationValue, f as AnimationTrack, b as AnimationLoopMode, e as AnimationPlayerState, c as AnimationPlayer } from '../player-
|
|
4
|
-
export { A as ANIMATION_TIME_EPSILON, a as AnimationKeyframe, d as AnimationPlayerOptions, M as ManualClock, i as createAnimationPlayer, j as evaluateTrack, k as interpolateAnimationValue, l as isAnimationKeyframe, n as normalizeKeyframes, p as pageHidden, r as realClock, w as wrapAnimationTime } from '../player-
|
|
3
|
+
import { C as Clock, h as AnimationValueType, g as AnimationValue, f as AnimationTrack, b as AnimationLoopMode, e as AnimationPlayerState, c as AnimationPlayer } from '../player-DV4Jujdq.js';
|
|
4
|
+
export { A as ANIMATION_TIME_EPSILON, a as AnimationKeyframe, d as AnimationPlayerOptions, M as ManualClock, i as createAnimationPlayer, j as evaluateTrack, k as interpolateAnimationValue, l as isAnimationKeyframe, n as normalizeKeyframes, p as pageHidden, r as realClock, w as wrapAnimationTime } from '../player-DV4Jujdq.js';
|
|
5
5
|
import { b as CanvasNodeUpdate, N as NodeRectOptions, A as AlignEdge, c as AlignNodesOptions, D as DistributeAxis, a as DistributeMode, d as DistributeNodesOptions, S as SizeDimension, M as MatchSizeOptions, Z as ZOrderOperation, C as CanvasArrangeAction } from '../arrange-BPAXGdMm.js';
|
|
6
6
|
export { e as ArrangeShortcutBinding, f as DEFAULT_ARRANGE_SHORTCUTS, L as LOCKED_DATA_KEY, g as LOCKED_PREVIOUS_FLAGS_KEY, h as alignNodes, i as applyNodeUpdates, j as createNodeLookup, k as distributeNodes, l as getAbsolutePosition, m as getNodeRect, n as getNodeSize, o as invertNodeUpdates, p as isLocked, q as lockNodes, r as matchArrangeShortcut, s as matchSize, t as readStyleSize, u as reorderNodes, v as toggleLockNodes, w as unlockNodes, x as withStyleSize } from '../arrange-BPAXGdMm.js';
|
|
7
7
|
import { C as Command, M as MergedExecutionOptions } from '../types-DsiXGmjo.js';
|
|
@@ -10,8 +10,8 @@ export { A as AffineMatrix, h as BezierCommand, d as BezierContour, i as BezierP
|
|
|
10
10
|
import { S as StrokeJoin, a as StrokeCap } from '../pathfinder-CNtsbCRK.js';
|
|
11
11
|
export { D as DashedPath, d as DividePathsResult, O as OffsetPathOptions, e as OutlineStrokeOptions, f as PATHFINDER_OPERATIONS, g as PathBooleanOperation, h as PathBooleanResult, i as PathOperand, j as PathOperandInput, k as PathOpsError, l as PathOpsOptions, m as PathOpsReport, n as PathPiece, o as PathSelectResult, b as PathfinderOperation, p as PathfinderPiece, q as PathfinderResult, c as PathfinderShape, r as PlanarChain, s as PlanarFace, t as PlanarInput, P as PlanarMap, u as PlanarMapOptions, v as PlanarSplitEdge, w as PlanarSplitResult, x as SegmentIntersection, y as bezierPathArea, z as contourEnclosesArea, A as cutOutPiece, B as dashContours, C as dividePaths, E as excludePaths, F as interiorPoint, G as intersectPaths, H as normalizeBezierPath, I as offsetPath, J as outlineStroke, K as pathBoolean, L as pathBooleanSelect, M as pathfinder, N as planarSplit, Q as segmentIntersections, R as strokeOutlineRings, T as subtractPaths, U as unitePaths } from '../pathfinder-CNtsbCRK.js';
|
|
12
12
|
import { d as TokenModeContext, r as TokenType, o as TokenScope, f as TokenLiteral, c as TokenVariable, e as TokenResolution, T as TokenState } from '../model-C1zApQM8.js';
|
|
13
|
-
import { b as AnimationEasing } from '../easing-
|
|
14
|
-
export { A as ANIMATION_EASING_LABELS, a as ANIMATION_EASING_PRESETS, c as AnimationEasingPreset, C as CUBIC_BEZIER_PRESETS, d as CubicBezierEasing, E as ElasticEasing, S as
|
|
13
|
+
import { b as AnimationEasing } from '../easing-lM0Xo9Ni.js';
|
|
14
|
+
export { A as ANIMATION_EASING_LABELS, a as ANIMATION_EASING_PRESETS, c as AnimationEasingPreset, C as CUBIC_BEZIER_PRESETS, d as CubicBezierEasing, E as ElasticEasing, S as SPRING_PRESETS, e as SpringEasing, f as cubicBezierAt, g as easingFromInfluence, h as easingLabel, i as easingToCss, j as elasticAt, k as evaluateEasing, l as isAnimationEasing, p as parseCssEasing, r as resolveEasing, m as reverseCubicBezier, s as springAt, n as springSettleMs } from '../easing-lM0Xo9Ni.js';
|
|
15
15
|
export { O as OklabColor, f as formatOklab, m as mixColorsOklab, o as oklabToRgb, p as parseOklab, r as rgbToOklab } from '../color-E9pwm--w.js';
|
|
16
16
|
import { P as Point$1, G as GraphNode, D as DiagramFamily, a as DiagramGraph, b as DiagramMeta, c as GraphGroup, d as GraphEdge, E as EdgePattern, A as ArrowHead, M as MermaidDocument, e as EditOp } from '../types-DYkjhzdz.js';
|
|
17
17
|
import { n as ChartSpec } from '../types-BRp-6zkY.js';
|
package/dist/canvas/index.js
CHANGED
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
pageHidden,
|
|
170
170
|
realClock,
|
|
171
171
|
wrapAnimationTime
|
|
172
|
-
} from "../chunk-
|
|
172
|
+
} from "../chunk-JK6M6V7G.js";
|
|
173
173
|
import {
|
|
174
174
|
formatOklab,
|
|
175
175
|
mixColorsOklab,
|
|
@@ -184,6 +184,7 @@ import {
|
|
|
184
184
|
ANIMATION_EASING_LABELS,
|
|
185
185
|
ANIMATION_EASING_PRESETS,
|
|
186
186
|
CUBIC_BEZIER_PRESETS,
|
|
187
|
+
SPRING_PRESETS,
|
|
187
188
|
cubicBezierAt,
|
|
188
189
|
easingFromInfluence,
|
|
189
190
|
easingLabel,
|
|
@@ -193,8 +194,10 @@ import {
|
|
|
193
194
|
isAnimationEasing,
|
|
194
195
|
parseCssEasing,
|
|
195
196
|
resolveEasing,
|
|
196
|
-
|
|
197
|
-
|
|
197
|
+
reverseCubicBezier,
|
|
198
|
+
springAt,
|
|
199
|
+
springSettleMs
|
|
200
|
+
} from "../chunk-AGR4P4UZ.js";
|
|
198
201
|
|
|
199
202
|
// src/canvas/trajectory.ts
|
|
200
203
|
var defaultEasing = (t) => --t * t * t + 1;
|
|
@@ -11407,6 +11410,7 @@ export {
|
|
|
11407
11410
|
SHAPE_KINDS,
|
|
11408
11411
|
SHAPE_NODE_TYPE,
|
|
11409
11412
|
SHAPE_OPERATIONS,
|
|
11413
|
+
SPRING_PRESETS,
|
|
11410
11414
|
StreamingLayoutManager,
|
|
11411
11415
|
TOKEN_BINDINGS_DATA_KEY,
|
|
11412
11416
|
TOKEN_MODES_DATA_KEY,
|
|
@@ -11737,6 +11741,7 @@ export {
|
|
|
11737
11741
|
resolveMermaidStyles,
|
|
11738
11742
|
resolvePadding,
|
|
11739
11743
|
restoreCanvasMainComponent,
|
|
11744
|
+
reverseCubicBezier,
|
|
11740
11745
|
revertShapeCombination,
|
|
11741
11746
|
rgbToOklab,
|
|
11742
11747
|
ringSignedArea,
|
|
@@ -11778,6 +11783,7 @@ export {
|
|
|
11778
11783
|
snapToGrid,
|
|
11779
11784
|
splitSegment,
|
|
11780
11785
|
springAt,
|
|
11786
|
+
springSettleMs,
|
|
11781
11787
|
streamedDiagramText,
|
|
11782
11788
|
streamlinePoints,
|
|
11783
11789
|
strokeBoundingBox,
|