@pixerate/editor 0.108.0 → 0.109.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/animation/index.cjs +5 -5
- package/dist/animation/index.cjs.map +1 -1
- package/dist/animation/index.js +9 -9
- package/dist/animation-editor/index.cjs +59 -59
- package/dist/animation-editor/index.cjs.map +1 -1
- package/dist/animation-editor/index.d.cts +2 -1
- package/dist/animation-editor/index.d.ts +2 -1
- package/dist/animation-editor/index.js +29 -29
- package/dist/canvas/index.cjs +27 -27
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.js +11 -11
- package/dist/{chunk-2FGRTYJN.cjs → chunk-477UVMNR.cjs} +3 -3
- package/dist/{chunk-2FGRTYJN.cjs.map → chunk-477UVMNR.cjs.map} +1 -1
- package/dist/{chunk-T3QZ6S47.cjs → chunk-AZTZRLDI.cjs} +40 -2
- package/dist/chunk-AZTZRLDI.cjs.map +1 -0
- package/dist/{chunk-HUQ7EHVI.js → chunk-BLWCAQCW.js} +723 -1975
- package/dist/chunk-BLWCAQCW.js.map +1 -0
- package/dist/{chunk-G4BIYE6R.js → chunk-CFMWALBM.js} +39 -1
- package/dist/chunk-CFMWALBM.js.map +1 -0
- package/dist/{chunk-FRD3FUXI.cjs → chunk-D37BX2ZA.cjs} +2081 -460
- package/dist/chunk-D37BX2ZA.cjs.map +1 -0
- package/dist/chunk-JLYX4V57.cjs +2001 -0
- package/dist/chunk-JLYX4V57.cjs.map +1 -0
- package/dist/chunk-KB2YBCVS.js +2001 -0
- package/dist/chunk-KB2YBCVS.js.map +1 -0
- package/dist/{chunk-SOROZ2BF.js → chunk-RE77QYUF.js} +1938 -317
- package/dist/chunk-RE77QYUF.js.map +1 -0
- package/dist/{chunk-UTEVPQTS.cjs → chunk-W3GXSUSQ.cjs} +746 -1998
- package/dist/chunk-W3GXSUSQ.cjs.map +1 -0
- package/dist/{chunk-JK6M6V7G.js → chunk-Z3YWVUWT.js} +4 -4
- package/dist/{export-a9bnF7Cl.d.ts → export-BLPLaE6Z.d.ts} +417 -16
- package/dist/{export-JGWQEPJn.d.cts → export-DSUc4fQD.d.cts} +417 -16
- package/dist/image-editor/index.cjs +1527 -1001
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +73 -9
- package/dist/image-editor/index.d.ts +73 -9
- package/dist/image-editor/index.js +814 -288
- package/dist/image-editor/index.js.map +1 -1
- package/dist/paint-editor/index.cjs +56 -53
- package/dist/paint-editor/index.cjs.map +1 -1
- package/dist/paint-editor/index.d.cts +5 -2
- package/dist/paint-editor/index.d.ts +5 -2
- package/dist/paint-editor/index.js +6 -3
- package/dist/paint-editor/index.js.map +1 -1
- package/dist/raster/index.cjs +4 -2
- package/dist/raster/index.cjs.map +1 -1
- package/dist/raster/index.d.cts +3 -129
- package/dist/raster/index.d.ts +3 -129
- package/dist/raster/index.js +3 -1
- package/dist/{compositor-D92URMlm.d.cts → render-C-fO_mes.d.cts} +135 -1
- package/dist/{compositor-Kt_M4ruo.d.ts → render-OLIMk_v0.d.ts} +135 -1
- package/dist/{svg-SseJTIrA.d.ts → svg-D_cfkhlB.d.cts} +3 -629
- package/dist/{svg-ClVIG4T7.d.cts → svg-wIaKLrU0.d.ts} +3 -629
- package/dist/types-DtL_qLFz.d.ts +630 -0
- package/dist/types-DyQq-WPY.d.cts +630 -0
- package/dist/vector/index.cjs +563 -563
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +4 -2
- package/dist/vector/index.d.ts +4 -2
- package/dist/vector/index.js +69 -69
- package/dist/video-editor/index.cjs +3 -3
- package/dist/video-editor/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-DWGZUSES.cjs +0 -694
- package/dist/chunk-DWGZUSES.cjs.map +0 -1
- package/dist/chunk-FRD3FUXI.cjs.map +0 -1
- package/dist/chunk-G4BIYE6R.js.map +0 -1
- package/dist/chunk-HUQ7EHVI.js.map +0 -1
- package/dist/chunk-KKREERP2.js +0 -694
- package/dist/chunk-KKREERP2.js.map +0 -1
- package/dist/chunk-SOROZ2BF.js.map +0 -1
- package/dist/chunk-T3QZ6S47.cjs.map +0 -1
- package/dist/chunk-UTEVPQTS.cjs.map +0 -1
- /package/dist/{chunk-JK6M6V7G.js.map → chunk-Z3YWVUWT.js.map} +0 -0
package/dist/vector/index.d.cts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { n as Vec2$1, v as VectorSubpath, h as VectorBounds, y as VectorAnchor, w as VectorDocument, e as VectorNode, b as VectorPathNode, z as VectorAnchorType, r as VectorPaint, g as VectorGroupNode, A as VectorCornerKind, x as VectorWidthPoint, m as VectorGradient, t as VectorGradientStop, B as VectorViewport, C as VectorTransformHandle, D as VectorAnchorRef, E as VectorPathfinderOperation, F as VectorTool, G as VectorDefaults, H as VectorStyle, I as VectorHandleRef, J as VectorSegmentRef, K as VectorBlendOptions, L as VectorModifiers, M as VectorBlendMode, j as VectorFilterType, V as VectorEffectType, N as VectorAlign, O as VectorDistribute, P as VectorArrange, d as VectorBooleanOperation, Q as VectorMaskType, R as VectorMask, S as VectorAverageAxis, i as VectorWarpMesh, c as VectorFillRule, T as VectorArrowhead, U as VectorBlendSpacing, W as VectorGradientInterpolation, p as VectorGradientSpread, q as VectorGradientType, u as VectorStrokeAlign, X as VectorStrokeGradientMode, Y as VectorArrowAlign, f as VectorEffect, Z as VectorPaintLayer, _ as VectorStrokeLayer, l as VectorFilter, $ as VectorBlend, a0 as VectorMergeMode, a1 as VectorLineJoin, a as VectorEffectParamsMap, a2 as VectorStrokeSettings } from '../types-DyQq-WPY.cjs';
|
|
2
|
+
export { a3 as VECTOR_ARROWHEADS, a4 as VECTOR_BLEND_MODES, a5 as VECTOR_BLEND_SPACINGS, a6 as VECTOR_CORNER_KINDS, a7 as VECTOR_EFFECT_TYPES, a8 as VECTOR_FILTER_TYPES, a9 as VECTOR_GRADIENT_INTERPOLATIONS, aa as VECTOR_GRADIENT_SPREADS, ab as VECTOR_GRADIENT_TYPES, ac as VECTOR_MASK_TYPES, ad as VECTOR_MERGE_MODES, ae as VECTOR_PATHFINDER_OPERATIONS, af as VECTOR_STROKE_GRADIENT_MODES, ag as VECTOR_TOOLS, ah as VECTOR_TRANSFORM_HANDLES, ai as VectorCorner, k as VectorFilterParamsMap, o as VectorGradientUnits, aj as VectorLineCap, s as VectorMatrix, ak as VectorStrokeLayerKind, al as VectorWarpStyle } from '../types-DyQq-WPY.cjs';
|
|
3
3
|
import { P as Point } from '../types-BFkYA4eF.cjs';
|
|
4
4
|
import { a as BezierPathInput, A as AffineMatrix$1, B as BezierPath, c as BezierSegment } from '../bezier-BfwIbVTl.cjs';
|
|
5
5
|
export { S as SvgGradientDef } from '../bezier-BfwIbVTl.cjs';
|
|
6
|
+
import { a as VectorGradientHandle, V as VectorSvgExportOptions, b as VectorGradientPatch, c as VectorEnvelopeParams, d as VectorRenderFilter, e as VectorAppearanceShape, f as VectorFilterParamSpec, g as VectorEffectParamSpec, h as VectorRenderStrokeParts, i as VectorPaintDef } from '../svg-D_cfkhlB.cjs';
|
|
7
|
+
export { j as VECTOR_EFFECT_DEFAULTS, k as VECTOR_EFFECT_LABELS, l as VECTOR_EFFECT_PARAM_SPECS, m as VECTOR_FILTER_DEFAULTS, n as VECTOR_FILTER_LABELS, o as VECTOR_FILTER_MENU, p as VECTOR_FILTER_PARAM_SPECS, q as VECTOR_GRADIENT_MAX_PERIODS, r as VECTOR_GRADIENT_MIN_STOPS, s as VectorBooleanOperand, t as VectorFilterPrimitive, u as VectorGradientPoints, v as VectorGradientRamp, w as VectorGradientSvgOptions, x as VectorPaintSvgOptions, y as VectorRgba, z as VectorSvgImportOptions, A as VectorSvgPatternDef, B as VectorSvgWrapper, C as activeVectorEffects, D as activeVectorFilters, E as applyVectorCornersAttribute, F as applyVectorEffects, G as applyVectorGradientPatch, H as applyVectorGradientSpread, I as clearVectorLiveBooleanCache, J as convertVectorGradient, K as createVectorEffect, L as createVectorFilter, M as defaultVectorGradient, N as expandVectorAppearance, O as expandVectorAppearances, P as expandVectorGradientSpread, Q as expandVectorGradientStops, R as explicitVectorGradient, S as foldVectorBooleanOperands, T as gradientMidpointRemap, U as hasExplicitGradientGeometry, W as hasOwnVectorAppearance, X as hasVectorAppearance, Y as insertVectorGradientStop, Z as isCentredVectorGradient, _ as isVectorFilterType, $ as isVectorGradient, a0 as isVectorLiveBoolean, a1 as mapVectorGradient, a2 as mapVectorPaint, a3 as moveVectorGradientHandle, a4 as moveVectorGradientStop, a5 as normalizeVectorEffectParams, a6 as normalizeVectorFilterParams, a7 as parseSvgTransform, a8 as parseVectorColor, a9 as parseVectorSvg, aa as patternAttrs, ab as periodicVectorGradientStops, ac as pinVectorGradient, ad as removeVectorGradientStop, ae as reverseVectorGradient, af as samplePlainStops, ag as sampleVectorGradient, ah as sampleVectorGradientAt, ai as sampleVectorPaintDefAt, aj as sanitizeVectorEffects, ak as sanitizeVectorFilters, al as sanitizeVectorGradient, am as setVectorGradientVector, an as sortedVectorGradientStops, ao as spanVectorGradientStops, ap as transformVectorEffects, aq as transformVectorGradient, ar as transformVectorPaint, as as vectorAppearanceNodes, at as vectorAppearanceOutline, au as vectorAppearanceShapes, av as vectorBoxMatrix, aw as vectorChildAppearanceShapes, ax as vectorCornersAttribute, ay as vectorDocumentToSvg, az as vectorEffectInputBounds, aA as vectorEffectInputPaths, aB as vectorEnteredGroups, aC as vectorEnvelopeFrame, aD as vectorEnvelopeMap, aE as vectorEnvelopeMesh, aF as vectorFilterMarkup, aG as vectorFilterParamKeys, aH as vectorFilterReach, aI as vectorFilterSvg, aJ as vectorGradientArea, aK as vectorGradientAspect, aL as vectorGradientFocalParam, aM as vectorGradientHandles, aN as vectorGradientMatrix, aO as vectorGradientMidpointFromPosition, aP as vectorGradientMidpointPosition, aQ as vectorGradientNeedsExpansion, aR as vectorGradientParam, aS as vectorGradientPoints, aT as vectorGradientRamp, aU as vectorGradientSvgDefs, aV as vectorGradientTAt, aW as vectorGradientUnitsMatrix, aX as vectorLiveBooleanSteps, aY as vectorNodeEnvelope, aZ as vectorNodeFilterSvg, a_ as vectorNodeLocalPaintBounds, a$ as vectorOperandOperation, b0 as vectorPaintToSvg, b1 as vectorPathLocalBounds, b2 as vectorStrokeSvgParts, b3 as widthProfileFromAttribute, b4 as widthProfileToAttribute } from '../svg-D_cfkhlB.cjs';
|
|
6
8
|
import { H as HistoryManager } from '../HistoryManager-DeQQMBCj.cjs';
|
|
7
9
|
import { C as CommandSpec } from '../registry-CaR7LC6W.cjs';
|
|
8
10
|
import { S as StrokeJoin, a as StrokeCap, P as PlanarMap, b as PathfinderOperation, c as PathfinderShape } from '../pathfinder-BZL8aSu0.cjs';
|
package/dist/vector/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { n as Vec2$1, v as VectorSubpath, h as VectorBounds, y as VectorAnchor, w as VectorDocument, e as VectorNode, b as VectorPathNode, z as VectorAnchorType, r as VectorPaint, g as VectorGroupNode, A as VectorCornerKind, x as VectorWidthPoint, m as VectorGradient, t as VectorGradientStop, B as VectorViewport, C as VectorTransformHandle, D as VectorAnchorRef, E as VectorPathfinderOperation, F as VectorTool, G as VectorDefaults, H as VectorStyle, I as VectorHandleRef, J as VectorSegmentRef, K as VectorBlendOptions, L as VectorModifiers, M as VectorBlendMode, j as VectorFilterType, V as VectorEffectType, N as VectorAlign, O as VectorDistribute, P as VectorArrange, d as VectorBooleanOperation, Q as VectorMaskType, R as VectorMask, S as VectorAverageAxis, i as VectorWarpMesh, c as VectorFillRule, T as VectorArrowhead, U as VectorBlendSpacing, W as VectorGradientInterpolation, p as VectorGradientSpread, q as VectorGradientType, u as VectorStrokeAlign, X as VectorStrokeGradientMode, Y as VectorArrowAlign, f as VectorEffect, Z as VectorPaintLayer, _ as VectorStrokeLayer, l as VectorFilter, $ as VectorBlend, a0 as VectorMergeMode, a1 as VectorLineJoin, a as VectorEffectParamsMap, a2 as VectorStrokeSettings } from '../types-DtL_qLFz.js';
|
|
2
|
+
export { a3 as VECTOR_ARROWHEADS, a4 as VECTOR_BLEND_MODES, a5 as VECTOR_BLEND_SPACINGS, a6 as VECTOR_CORNER_KINDS, a7 as VECTOR_EFFECT_TYPES, a8 as VECTOR_FILTER_TYPES, a9 as VECTOR_GRADIENT_INTERPOLATIONS, aa as VECTOR_GRADIENT_SPREADS, ab as VECTOR_GRADIENT_TYPES, ac as VECTOR_MASK_TYPES, ad as VECTOR_MERGE_MODES, ae as VECTOR_PATHFINDER_OPERATIONS, af as VECTOR_STROKE_GRADIENT_MODES, ag as VECTOR_TOOLS, ah as VECTOR_TRANSFORM_HANDLES, ai as VectorCorner, k as VectorFilterParamsMap, o as VectorGradientUnits, aj as VectorLineCap, s as VectorMatrix, ak as VectorStrokeLayerKind, al as VectorWarpStyle } from '../types-DtL_qLFz.js';
|
|
3
3
|
import { P as Point } from '../types-BFkYA4eF.js';
|
|
4
4
|
import { a as BezierPathInput, A as AffineMatrix$1, B as BezierPath, c as BezierSegment } from '../bezier-DYBvLgUH.js';
|
|
5
5
|
export { S as SvgGradientDef } from '../bezier-DYBvLgUH.js';
|
|
6
|
+
import { a as VectorGradientHandle, V as VectorSvgExportOptions, b as VectorGradientPatch, c as VectorEnvelopeParams, d as VectorRenderFilter, e as VectorAppearanceShape, f as VectorFilterParamSpec, g as VectorEffectParamSpec, h as VectorRenderStrokeParts, i as VectorPaintDef } from '../svg-wIaKLrU0.js';
|
|
7
|
+
export { j as VECTOR_EFFECT_DEFAULTS, k as VECTOR_EFFECT_LABELS, l as VECTOR_EFFECT_PARAM_SPECS, m as VECTOR_FILTER_DEFAULTS, n as VECTOR_FILTER_LABELS, o as VECTOR_FILTER_MENU, p as VECTOR_FILTER_PARAM_SPECS, q as VECTOR_GRADIENT_MAX_PERIODS, r as VECTOR_GRADIENT_MIN_STOPS, s as VectorBooleanOperand, t as VectorFilterPrimitive, u as VectorGradientPoints, v as VectorGradientRamp, w as VectorGradientSvgOptions, x as VectorPaintSvgOptions, y as VectorRgba, z as VectorSvgImportOptions, A as VectorSvgPatternDef, B as VectorSvgWrapper, C as activeVectorEffects, D as activeVectorFilters, E as applyVectorCornersAttribute, F as applyVectorEffects, G as applyVectorGradientPatch, H as applyVectorGradientSpread, I as clearVectorLiveBooleanCache, J as convertVectorGradient, K as createVectorEffect, L as createVectorFilter, M as defaultVectorGradient, N as expandVectorAppearance, O as expandVectorAppearances, P as expandVectorGradientSpread, Q as expandVectorGradientStops, R as explicitVectorGradient, S as foldVectorBooleanOperands, T as gradientMidpointRemap, U as hasExplicitGradientGeometry, W as hasOwnVectorAppearance, X as hasVectorAppearance, Y as insertVectorGradientStop, Z as isCentredVectorGradient, _ as isVectorFilterType, $ as isVectorGradient, a0 as isVectorLiveBoolean, a1 as mapVectorGradient, a2 as mapVectorPaint, a3 as moveVectorGradientHandle, a4 as moveVectorGradientStop, a5 as normalizeVectorEffectParams, a6 as normalizeVectorFilterParams, a7 as parseSvgTransform, a8 as parseVectorColor, a9 as parseVectorSvg, aa as patternAttrs, ab as periodicVectorGradientStops, ac as pinVectorGradient, ad as removeVectorGradientStop, ae as reverseVectorGradient, af as samplePlainStops, ag as sampleVectorGradient, ah as sampleVectorGradientAt, ai as sampleVectorPaintDefAt, aj as sanitizeVectorEffects, ak as sanitizeVectorFilters, al as sanitizeVectorGradient, am as setVectorGradientVector, an as sortedVectorGradientStops, ao as spanVectorGradientStops, ap as transformVectorEffects, aq as transformVectorGradient, ar as transformVectorPaint, as as vectorAppearanceNodes, at as vectorAppearanceOutline, au as vectorAppearanceShapes, av as vectorBoxMatrix, aw as vectorChildAppearanceShapes, ax as vectorCornersAttribute, ay as vectorDocumentToSvg, az as vectorEffectInputBounds, aA as vectorEffectInputPaths, aB as vectorEnteredGroups, aC as vectorEnvelopeFrame, aD as vectorEnvelopeMap, aE as vectorEnvelopeMesh, aF as vectorFilterMarkup, aG as vectorFilterParamKeys, aH as vectorFilterReach, aI as vectorFilterSvg, aJ as vectorGradientArea, aK as vectorGradientAspect, aL as vectorGradientFocalParam, aM as vectorGradientHandles, aN as vectorGradientMatrix, aO as vectorGradientMidpointFromPosition, aP as vectorGradientMidpointPosition, aQ as vectorGradientNeedsExpansion, aR as vectorGradientParam, aS as vectorGradientPoints, aT as vectorGradientRamp, aU as vectorGradientSvgDefs, aV as vectorGradientTAt, aW as vectorGradientUnitsMatrix, aX as vectorLiveBooleanSteps, aY as vectorNodeEnvelope, aZ as vectorNodeFilterSvg, a_ as vectorNodeLocalPaintBounds, a$ as vectorOperandOperation, b0 as vectorPaintToSvg, b1 as vectorPathLocalBounds, b2 as vectorStrokeSvgParts, b3 as widthProfileFromAttribute, b4 as widthProfileToAttribute } from '../svg-wIaKLrU0.js';
|
|
6
8
|
import { H as HistoryManager } from '../HistoryManager-DWSLd6Tf.js';
|
|
7
9
|
import { C as CommandSpec } from '../registry-rVtFJjRM.js';
|
|
8
10
|
import { S as StrokeJoin, a as StrokeCap, P as PlanarMap, b as PathfinderOperation, c as PathfinderShape } from '../pathfinder-CNtsbCRK.js';
|
package/dist/vector/index.js
CHANGED
|
@@ -12,6 +12,39 @@ import {
|
|
|
12
12
|
solve8
|
|
13
13
|
} from "../chunk-GX332W2C.js";
|
|
14
14
|
import {
|
|
15
|
+
applyVectorCornersAttribute,
|
|
16
|
+
correspondMorphContours,
|
|
17
|
+
createVectorMorph,
|
|
18
|
+
evaluateVectorPathKeyframes,
|
|
19
|
+
interpolateMorphContours,
|
|
20
|
+
interpolateRigidMatrix,
|
|
21
|
+
interpolateVectorColor,
|
|
22
|
+
interpolateVectorPaint,
|
|
23
|
+
interpolateVectorPaths,
|
|
24
|
+
interpolateVectorStyle,
|
|
25
|
+
interpolateWidthProfiles,
|
|
26
|
+
morphContourToSubpath,
|
|
27
|
+
morphPathsCross,
|
|
28
|
+
parseSvgTransform,
|
|
29
|
+
parseVectorSvg,
|
|
30
|
+
refineMorphContour,
|
|
31
|
+
resampleGradientStops,
|
|
32
|
+
reverseMorphContour,
|
|
33
|
+
subpathToMorphContour,
|
|
34
|
+
turnMorphContour,
|
|
35
|
+
vectorCornersAttribute,
|
|
36
|
+
vectorDocumentToSvg,
|
|
37
|
+
vectorNodeFilterSvg,
|
|
38
|
+
vectorNodeLocalPaintBounds,
|
|
39
|
+
vectorPaintToSvg,
|
|
40
|
+
vectorPathLocalBounds,
|
|
41
|
+
vectorStrokeGradientDefs,
|
|
42
|
+
vectorStrokeSvgParts,
|
|
43
|
+
widthProfileFromAttribute,
|
|
44
|
+
widthProfileToAttribute
|
|
45
|
+
} from "../chunk-KB2YBCVS.js";
|
|
46
|
+
import {
|
|
47
|
+
IDENTITY_MATRIX,
|
|
15
48
|
KAPPA,
|
|
16
49
|
VECTOR_ARROWHEADS,
|
|
17
50
|
VECTOR_BLEND_MODES,
|
|
@@ -45,9 +78,12 @@ import {
|
|
|
45
78
|
VECTOR_WIDTH_PROFILE_MAX_POINTS,
|
|
46
79
|
VECTOR_WIDTH_PROFILE_MAX_SCALE,
|
|
47
80
|
VECTOR_WIDTH_SAME_T,
|
|
81
|
+
WARP_STYLES,
|
|
82
|
+
WARP_STYLE_LABELS,
|
|
48
83
|
activeVectorEffects,
|
|
49
84
|
activeVectorFilters,
|
|
50
|
-
|
|
85
|
+
applyMatrix,
|
|
86
|
+
applyMatrixLinear,
|
|
51
87
|
applyVectorEffects,
|
|
52
88
|
applyVectorGradientPatch,
|
|
53
89
|
applyVectorGradientSpread,
|
|
@@ -68,12 +104,12 @@ import {
|
|
|
68
104
|
cornerBisectorPoint,
|
|
69
105
|
cornerRadiusChange,
|
|
70
106
|
cornerSetback,
|
|
71
|
-
correspondMorphContours,
|
|
72
107
|
createVectorEffect,
|
|
73
108
|
createVectorFilter,
|
|
74
|
-
createVectorMorph,
|
|
75
109
|
dashIntervals,
|
|
110
|
+
decomposeRigid,
|
|
76
111
|
defaultVectorGradient,
|
|
112
|
+
dragWarpMeshPoint,
|
|
77
113
|
effectPathLength,
|
|
78
114
|
effectPathVertexCount,
|
|
79
115
|
effectiveStrokeAlign,
|
|
@@ -81,7 +117,7 @@ import {
|
|
|
81
117
|
eraseFromFill,
|
|
82
118
|
eraseFromOutline,
|
|
83
119
|
eraserRegion,
|
|
84
|
-
|
|
120
|
+
evalWarpMesh,
|
|
85
121
|
expandVectorAppearance,
|
|
86
122
|
expandVectorAppearances,
|
|
87
123
|
expandVectorCorners,
|
|
@@ -91,6 +127,7 @@ import {
|
|
|
91
127
|
explicitVectorGradient,
|
|
92
128
|
findVectorNode,
|
|
93
129
|
fitCornerRadius,
|
|
130
|
+
fitWarpMesh,
|
|
94
131
|
foldVectorBooleanOperands,
|
|
95
132
|
generateWidthProfile,
|
|
96
133
|
gradientMidpointRemap,
|
|
@@ -106,22 +143,19 @@ import {
|
|
|
106
143
|
hitTestVectorPaintLayer,
|
|
107
144
|
hitTestVectorPaintStack,
|
|
108
145
|
hitTestVectorStroke,
|
|
146
|
+
identityWarpMesh,
|
|
109
147
|
inferAnchorType,
|
|
110
148
|
insertAnchor,
|
|
111
149
|
insertVectorGradientStop,
|
|
112
150
|
insertWidthPoint,
|
|
113
|
-
|
|
114
|
-
interpolateRigidMatrix,
|
|
115
|
-
interpolateVectorColor,
|
|
116
|
-
interpolateVectorPaint,
|
|
117
|
-
interpolateVectorPaths,
|
|
118
|
-
interpolateVectorStyle,
|
|
119
|
-
interpolateWidthProfiles,
|
|
151
|
+
invertMatrix,
|
|
120
152
|
isCentredVectorGradient,
|
|
121
153
|
isClosedBezierShape,
|
|
122
154
|
isDrawnVectorPaintLayer,
|
|
155
|
+
isIdentityMatrix,
|
|
123
156
|
isPlainVectorPaintLayer,
|
|
124
157
|
isUniformWidthProfile,
|
|
158
|
+
isValidWarpMesh,
|
|
125
159
|
isVectorBlendMode,
|
|
126
160
|
isVectorFilterType,
|
|
127
161
|
isVectorGradient,
|
|
@@ -137,13 +171,15 @@ import {
|
|
|
137
171
|
mapVectorPaint,
|
|
138
172
|
mapVectorPoints,
|
|
139
173
|
mapVectorSubpaths,
|
|
174
|
+
mapWarpMeshPoints,
|
|
175
|
+
matrixAbout,
|
|
176
|
+
matrixRotation,
|
|
140
177
|
mergePaths,
|
|
141
178
|
mirrorWidthProfile,
|
|
142
|
-
morphContourToSubpath,
|
|
143
|
-
morphPathsCross,
|
|
144
179
|
moveAnchorHandle,
|
|
145
180
|
moveVectorGradientHandle,
|
|
146
181
|
moveVectorGradientStop,
|
|
182
|
+
multiplyMatrices,
|
|
147
183
|
nearestSegment,
|
|
148
184
|
nearestStrokePosition,
|
|
149
185
|
needsVectorPaintLayers,
|
|
@@ -154,9 +190,7 @@ import {
|
|
|
154
190
|
normalizeVectorFilterParams,
|
|
155
191
|
normalizeVectorPaintStacks,
|
|
156
192
|
offsetPaths,
|
|
157
|
-
parseSvgTransform,
|
|
158
193
|
parseVectorColor,
|
|
159
|
-
parseVectorSvg,
|
|
160
194
|
pathsCenter,
|
|
161
195
|
patternAttrs,
|
|
162
196
|
periodicVectorGradientStops,
|
|
@@ -165,17 +199,19 @@ import {
|
|
|
165
199
|
polylineBounds,
|
|
166
200
|
pressureWidthProfile,
|
|
167
201
|
puckerBloatPaths,
|
|
202
|
+
pullWarpMesh,
|
|
168
203
|
rectSubpath,
|
|
169
|
-
refineMorphContour,
|
|
170
204
|
removeAnchors,
|
|
171
205
|
removeVectorGradientStop,
|
|
206
|
+
removeWarpMeshSplitU,
|
|
207
|
+
removeWarpMeshSplitV,
|
|
172
208
|
removeWidthPoints,
|
|
173
209
|
repeatPaths,
|
|
174
|
-
|
|
175
|
-
reverseMorphContour,
|
|
210
|
+
resizeWarpMesh,
|
|
176
211
|
reverseSubpath,
|
|
177
212
|
reverseVectorGradient,
|
|
178
213
|
reverseWidthProfile,
|
|
214
|
+
rotateMatrix,
|
|
179
215
|
roundCornerPaths,
|
|
180
216
|
roundSubpaths,
|
|
181
217
|
samplePlainStops,
|
|
@@ -190,20 +226,23 @@ import {
|
|
|
190
226
|
sanitizeVectorStrokeSettings,
|
|
191
227
|
sanitizeVectorStrokes,
|
|
192
228
|
sanitizeWidthProfile,
|
|
229
|
+
scaleMatrix,
|
|
193
230
|
setAnchorCorner,
|
|
194
231
|
setSubpathCorners,
|
|
195
232
|
setVectorGradientVector,
|
|
196
233
|
setWidthPoint,
|
|
197
234
|
simplifyPolyline,
|
|
235
|
+
skewMatrix,
|
|
198
236
|
sortedVectorGradientStops,
|
|
199
237
|
spanVectorGradientStops,
|
|
200
238
|
splitIntoFaces,
|
|
239
|
+
splitWarpMeshU,
|
|
240
|
+
splitWarpMeshV,
|
|
201
241
|
starSubpath,
|
|
202
242
|
strokePositionPoint,
|
|
203
243
|
strokeWidthProfileOf,
|
|
204
244
|
subpathSegment,
|
|
205
245
|
subpathSegmentCount,
|
|
206
|
-
subpathToMorphContour,
|
|
207
246
|
subpathsToBezier,
|
|
208
247
|
taperWaveFactor,
|
|
209
248
|
transformVectorEffects,
|
|
@@ -211,10 +250,10 @@ import {
|
|
|
211
250
|
transformVectorNode,
|
|
212
251
|
transformVectorPaint,
|
|
213
252
|
translateAnchor,
|
|
253
|
+
translateMatrix,
|
|
214
254
|
trimIntervals,
|
|
215
255
|
trimPaths,
|
|
216
256
|
trimPathsIndividually,
|
|
217
|
-
turnMorphContour,
|
|
218
257
|
twistPaths,
|
|
219
258
|
unionBounds,
|
|
220
259
|
variableStrokeOutline,
|
|
@@ -228,8 +267,6 @@ import {
|
|
|
228
267
|
vectorChildAppearanceShapes,
|
|
229
268
|
vectorCornerAt,
|
|
230
269
|
vectorCorners,
|
|
231
|
-
vectorCornersAttribute,
|
|
232
|
-
vectorDocumentToSvg,
|
|
233
270
|
vectorEffectInputBounds,
|
|
234
271
|
vectorEffectInputPaths,
|
|
235
272
|
vectorEnteredGroups,
|
|
@@ -273,20 +310,15 @@ import {
|
|
|
273
310
|
vectorMeshOutline,
|
|
274
311
|
vectorNodeBounds,
|
|
275
312
|
vectorNodeEnvelope,
|
|
276
|
-
vectorNodeFilterSvg,
|
|
277
|
-
vectorNodeLocalPaintBounds,
|
|
278
313
|
vectorNodeRotation,
|
|
279
314
|
vectorNodeToBezier,
|
|
280
315
|
vectorOperandOperation,
|
|
281
316
|
vectorPaintLayerNodes,
|
|
282
|
-
vectorPaintToSvg,
|
|
283
317
|
vectorParentMatrix,
|
|
284
318
|
vectorPathData,
|
|
285
|
-
vectorPathLocalBounds,
|
|
286
319
|
vectorPathWorldBezier,
|
|
287
320
|
vectorRepeaterCopies,
|
|
288
321
|
vectorStacksHaveGradient,
|
|
289
|
-
vectorStrokeGradientDefs,
|
|
290
322
|
vectorStrokeLineArea,
|
|
291
323
|
vectorStrokeOutline,
|
|
292
324
|
vectorStrokeOutlinePath,
|
|
@@ -294,23 +326,28 @@ import {
|
|
|
294
326
|
vectorStrokeReach,
|
|
295
327
|
vectorStrokeSettings,
|
|
296
328
|
vectorStrokeStackReach,
|
|
297
|
-
vectorStrokeSvgParts,
|
|
298
329
|
vectorStrokes,
|
|
299
330
|
vectorTargetPaint,
|
|
300
331
|
vectorWorldMatrix,
|
|
301
332
|
walkVectorNodes,
|
|
333
|
+
warpMeshColumns,
|
|
334
|
+
warpMeshControlBounds,
|
|
335
|
+
warpMeshEditPoints,
|
|
336
|
+
warpMeshGridCurves,
|
|
337
|
+
warpMeshParamAt,
|
|
338
|
+
warpMeshRows,
|
|
339
|
+
warpPresetGrid,
|
|
340
|
+
warpPresetMesh,
|
|
302
341
|
widthProfileAt,
|
|
303
|
-
widthProfileFromAttribute,
|
|
304
342
|
widthProfileMaxScale,
|
|
305
343
|
widthProfilePreset,
|
|
306
344
|
widthProfilePresetId,
|
|
307
|
-
widthProfileToAttribute,
|
|
308
345
|
wigglePaths,
|
|
309
346
|
withVectorFills,
|
|
310
347
|
withVectorStrokes,
|
|
311
348
|
withVectorTargetPaint,
|
|
312
349
|
zigzagPaths
|
|
313
|
-
} from "../chunk-
|
|
350
|
+
} from "../chunk-BLWCAQCW.js";
|
|
314
351
|
import {
|
|
315
352
|
bezierPathBounds,
|
|
316
353
|
bezierPathToSvg,
|
|
@@ -329,51 +366,14 @@ import {
|
|
|
329
366
|
segmentTangent,
|
|
330
367
|
transformBezierPath
|
|
331
368
|
} from "../chunk-YCSFS3GK.js";
|
|
332
|
-
import {
|
|
333
|
-
IDENTITY_MATRIX,
|
|
334
|
-
WARP_STYLES,
|
|
335
|
-
WARP_STYLE_LABELS,
|
|
336
|
-
applyMatrix,
|
|
337
|
-
applyMatrixLinear,
|
|
338
|
-
decomposeRigid,
|
|
339
|
-
dragWarpMeshPoint,
|
|
340
|
-
evalWarpMesh,
|
|
341
|
-
fitWarpMesh,
|
|
342
|
-
identityWarpMesh,
|
|
343
|
-
invertMatrix,
|
|
344
|
-
isIdentityMatrix,
|
|
345
|
-
isValidWarpMesh,
|
|
346
|
-
mapWarpMeshPoints,
|
|
347
|
-
matrixAbout,
|
|
348
|
-
matrixRotation,
|
|
349
|
-
multiplyMatrices,
|
|
350
|
-
pullWarpMesh,
|
|
351
|
-
removeWarpMeshSplitU,
|
|
352
|
-
removeWarpMeshSplitV,
|
|
353
|
-
resizeWarpMesh,
|
|
354
|
-
rotateMatrix,
|
|
355
|
-
scaleMatrix,
|
|
356
|
-
skewMatrix,
|
|
357
|
-
splitWarpMeshU,
|
|
358
|
-
splitWarpMeshV,
|
|
359
|
-
translateMatrix,
|
|
360
|
-
warpMeshColumns,
|
|
361
|
-
warpMeshControlBounds,
|
|
362
|
-
warpMeshEditPoints,
|
|
363
|
-
warpMeshGridCurves,
|
|
364
|
-
warpMeshParamAt,
|
|
365
|
-
warpMeshRows,
|
|
366
|
-
warpPresetGrid,
|
|
367
|
-
warpPresetMesh
|
|
368
|
-
} from "../chunk-KKREERP2.js";
|
|
369
369
|
import {
|
|
370
370
|
HistoryManager
|
|
371
371
|
} from "../chunk-QVZZGT4X.js";
|
|
372
|
+
import "../chunk-AGR4P4UZ.js";
|
|
372
373
|
import "../chunk-ZRJMJIQU.js";
|
|
373
374
|
import {
|
|
374
375
|
hexToRgba
|
|
375
376
|
} from "../chunk-TGD52FEZ.js";
|
|
376
|
-
import "../chunk-AGR4P4UZ.js";
|
|
377
377
|
|
|
378
378
|
// src/vector/gradientTool.ts
|
|
379
379
|
var VECTOR_GRADIENT_STOP_GAP = 12;
|
|
@@ -6,10 +6,10 @@ var _chunkWAJQKWQUcjs = require('../chunk-WAJQKWQU.cjs');
|
|
|
6
6
|
var _chunkQKLRAA4Tcjs = require('../chunk-QKLRAA4T.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk477UVMNRcjs = require('../chunk-477UVMNR.cjs');
|
|
10
|
+
require('../chunk-2FHLHZAL.cjs');
|
|
10
11
|
require('../chunk-MR3Z4OQI.cjs');
|
|
11
12
|
require('../chunk-A6PHCAGX.cjs');
|
|
12
|
-
require('../chunk-2FHLHZAL.cjs');
|
|
13
13
|
|
|
14
14
|
// src/video-editor/types.ts
|
|
15
15
|
var VIDEO_FITS = ["contain", "cover", "fill", "none"];
|
|
@@ -4374,7 +4374,7 @@ var VideoEditorController = (_class7 = class {
|
|
|
4374
4374
|
this.readOnly = _nullishCoalesce(options.readOnly, () => ( false));
|
|
4375
4375
|
this.previewScale = checkPreviewScale(_nullishCoalesce(options.previewScale, () => ( "auto")));
|
|
4376
4376
|
this.onChange = options.onChange;
|
|
4377
|
-
this.player = new (0,
|
|
4377
|
+
this.player = new (0, _chunk477UVMNRcjs.AnimationPlayer)({ clock: options.clock, duration: () => videoProjectDuration(this.project), loop: "none" });
|
|
4378
4378
|
this.state = this.computeState();
|
|
4379
4379
|
this.connect();
|
|
4380
4380
|
}
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "../chunk-QVZZGT4X.js";
|
|
7
7
|
import {
|
|
8
8
|
AnimationPlayer
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-Z3YWVUWT.js";
|
|
10
|
+
import "../chunk-AGR4P4UZ.js";
|
|
10
11
|
import "../chunk-ZRJMJIQU.js";
|
|
11
12
|
import "../chunk-TGD52FEZ.js";
|
|
12
|
-
import "../chunk-AGR4P4UZ.js";
|
|
13
13
|
|
|
14
14
|
// src/video-editor/types.ts
|
|
15
15
|
var VIDEO_FITS = ["contain", "cover", "fill", "none"];
|